PageSourceSearch

https://www.nysdcp.com/rsc/pre-auth-refresh/assets/scripts/vendor.min.js

js nysdcp.com collected 2026-09-28 05:55:36 UTC 402,487 bytes, 1 lines download raw bytes

vendor: 5,956 bytes, line 1
1!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){"use strict";function g(t){return null!=t&&t===t.window}var e=[],n=Object.getPrototypeOf,a=e.slice,m=e.flat?function(t){return e.flat.call(t)}:function(t){return e.concat.apply([],t)},l=e.push,o=e.indexOf,i={},s=i.toString,v=i.hasOwnProperty,r=v.toString,u=r.call(Object),y={},b=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},x=_.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var i,o,s=(n=n||x).createElement("script");if(s.text=t,e)for(i in c)(o=e[i]||e.getAttribute&&e.getAttribute(i))&&s.setAttribute(i,o);n.head.appendChild(s).parentNode.removeChild(s)}function p(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?i[s.call(t)]||"object":typeof t}var h="3.5.0",k=function(t,e){return new k.fn.init(t,e)};function d(t){var e=!!t&&"length"in t&&t.length,n=p(t);return!b(t)&&!g(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}k.fn=k.prototype={jquery:h,constructor:k,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){t=k.merge(this.constructor(),t);return t.prevObject=this,t},each:function(t){return k.each(this,t)},map:function(n){return this.pushStack(k.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(k.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:e.sort,splice:e.splice},k.extend=k.fn.extend=function(){var t,e,n,i,o,s=arguments[0]||{},r=1,a=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[r]||{},r++),"object"==typeof s||b(s)||(s={}),r===a&&(s=this,r--);r<a;r++)if(null!=(t=arguments[r]))for(e in t)n=t[e],"__proto__"!==e&&s!==n&&(l&&n&&(k.isPlainObject(n)||(i=Array.isArray(n)))?(o=s[e],o=i&&!Array.isArray(o)?[]:i||k.isPlainObject(o)?o:{},i=!1,s[e]=k.extend(l,o,n)):void 0!==n&&(s[e]=n));return s},k.extend({expando:"jQuery"+(h+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){return!(!t||"[object Object]"!==s.call(t))&&(!(t=n(t))||"function"==typeof(t=v.call(t,"constructor")&&t.constructor)&&r.call(t)===u)},isEmptyObject:function(t){for(var e in t)return!1;return!0},globalEval:function(t,e,n){w(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(d(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){e=e||[];return null!=t&&(d(Object(t))?k.merge(e,"string"==typeof t?[t]:t):l.call(e,t)),e},inArray:function(t,e,n){return null==e?-1:o.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,s=t.length,r=!n;o<s;o++)!e(t[o],o)!=r&&i.push(t[o]);return i},map:function(t,e,n){var i,o,s=0,r=[];if(d(t))for(i=t.length;s<i;s++)null!=(o=e(t[s],s,n))&&r.push(o);else for(s in t)null!=(o=e(t[s],s,n))&&r.push(o);return m(r)},guid:1,support:y}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=e[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){i["[object "+e+"]"]=e.toLowerCase()});var f=function(n){function h(t,e){return t="0x"+t.slice(1)-65536,e||(t<0?String.fromCharCode(65536+t):String.fromCharCode(t>>10|55296,1023&t|56320))}function i(){_()}var t,f,w,s,o,p,d,g,C,l,u,_,x,r,k,m,a,c,v,$="sizzle"+ +new Date,y=n.document,T=0,b=0,E=lt(),S=lt(),A=lt(),F=lt(),D=function(t,e){return t===e&&(u=!0),0},P={}.hasOwnProperty,e=[],z=e.pop,O=e.push,N=e.push,I=e.slice,R=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",j="[\\x20\\t\\r\\n\\f]",M="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+j+"*("+M+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+j+"*\\]",H=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",q=new RegExp(j+"+","g"),W=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g"),U=new RegExp("^"+j+"*,"+j+"*"),K=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),V=new RegExp(j+"|>"),G=new RegExp(H),Q=new RegExp("^"+M+"$"),Y={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+H),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("^(?:"+L+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,tt=/^[^{]+\{\s*\[native \w/,et=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,nt=/[+~]/,it=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),ot=/([\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},rt=yt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(e=I.call(y.childNodes),y.childNodes),e[y.childNodes.length].nodeType}
vendor: 14,661 bytes, line 1
1catch(t){N={apply:e.length?function(t,e){O.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(e,t,n,i){var o,s,r,a,l,u,c,h=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!i&&(_(t),t=t||x,k)){if(11!==d&&(l=et.exec(e)))if(o=l[1]){if(9===d){if(!(r=t.getElementById(o)))return n;if(r.id===o)return n.push(r),n}else if(h&&(r=h.getElementById(o))&&v(t,r)&&r.id===o)return n.push(r),n}else{if(l[2])return N.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&f.getElementsByClassName&&t.getElementsByClassName)return N.apply(n,t.getElementsByClassName(o)),n}if(f.qsa&&!F[e+" "]&&(!m||!m.test(e))&&(1!==d||"object"!==t.nodeName.toLowerCase())){if(c=e,h=t,1===d&&(V.test(e)||K.test(e))){for((h=nt.test(e)&&gt(t.parentNode)||t)===t&&f.scope||((a=t.getAttribute("id"))?a=a.replace(ot,st):t.setAttribute("id",a=$)),s=(u=p(e)).length;s--;)u[s]=(a?"#"+a:":scope")+" "+vt(u[s]);c=u.join(",")}try{return N.apply(n,h.querySelectorAll(c)),n}catch(t){F(e,!0)}finally{a===$&&t.removeAttribute("id")}}}return g(e.replace(W,"$1"),t,n,i)}function lt(){var n=[];function i(t,e){return n.push(t+" ")>w.cacheLength&&delete i[n.shift()],i[t+" "]=e}return i}function ut(t){return t[$]=!0,t}function ct(t){var e=x.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ht(t,e){for(var n=t.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=e}function dt(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(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&rt(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function pt(r){return ut(function(s){return s=+s,ut(function(t,e){for(var n,i=r([],t.length,s),o=i.length;o--;)t[n=i[o]]&&(t[n]=!(e[n]=t[n]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in f=at.support={},o=at.isXML=function(t){var e=t.namespaceURI,t=(t.ownerDocument||t).documentElement;return!X.test(e||t&&t.nodeName||"HTML")},_=at.setDocument=function(t){var e,t=t?t.ownerDocument||t:y;return t!=x&&9===t.nodeType&&t.documentElement&&(r=(x=t).documentElement,k=!o(x),y!=x&&(e=x.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",i,!1):e.attachEvent&&e.attachEvent("onunload",i)),f.scope=ct(function(t){return r.appendChild(t).appendChild(x.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),f.attributes=ct(function(t){return t.className="i",!t.getAttribute("className")}),f.getElementsByTagName=ct(function(t){return t.appendChild(x.createComment("")),!t.getElementsByTagName("*").length}),f.getElementsByClassName=tt.test(x.getElementsByClassName),f.getById=ct(function(t){return r.appendChild(t).id=$,!x.getElementsByName||!x.getElementsByName($).length}),f.getById?(w.filter.ID=function(t){var e=t.replace(it,h);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&k){t=e.getElementById(t);return t?[t]:[]}}):(w.filter.ID=function(t){var e=t.replace(it,h);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&k){var n,i,o,s=e.getElementById(t);if(s){if((n=s.getAttributeNode("id"))&&n.value===t)return[s];for(o=e.getElementsByName(t),i=0;s=o[i++];)if((n=s.getAttributeNode("id"))&&n.value===t)return[s]}return[]}}),w.find.TAG=f.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):f.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,s=e.getElementsByTagName(t);if("*"!==t)return s;for(;n=s[o++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=f.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&k)return e.getElementsByClassName(t)},a=[],m=[],(f.qsa=tt.test(x.querySelectorAll))&&(ct(function(t){var e;r.appendChild(t).innerHTML="<a id='"+$+"'></a><select id='"+$+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+j+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+j+"*(?:value|"+L+")"),t.querySelectorAll("[id~="+$+"-]").length||m.push("~="),(e=x.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+$+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ct(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=x.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+j+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),r.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(f.matchesSelector=tt.test(c=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.oMatchesSelector||r.msMatchesSelector))&&ct(function(t){f.disconnectedMatch=c.call(t,"*"),c.call(t,"[s!='']:x"),a.push("!=",H)}),m=m.length&&new RegExp(m.join("|")),a=a.length&&new RegExp(a.join("|")),e=tt.test(r.compareDocumentPosition),v=e||tt.test(r.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}: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 u=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!f.sortDetached&&e.compareDocumentPosition(t)===n?t==x||t.ownerDocument==y&&v(y,t)?-1:e==x||e.ownerDocument==y&&v(y,e)?1:l?R(l,t)-R(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return u=!0,0;var n,i=0,o=t.parentNode,s=e.parentNode,r=[t],a=[e];if(!o||!s)return t==x?-1:e==x?1:o?-1:s?1:l?R(l,t)-R(l,e):0;if(o===s)return dt(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?dt(r[i],a[i]):r[i]==y?-1:a[i]==y?1:0}),x},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(_(t),f.matchesSelector&&k&&!F[e+" "]&&(!a||!a.test(e))&&(!m||!m.test(e)))try{var n=c.call(t,e);if(n||f.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){F(e,!0)}return 0<at(e,x,null,[t]).length},at.contains=function(t,e){return(t.ownerDocument||t)!=x&&_(t),v(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=x&&_(t);var n=w.attrHandle[e.toLowerCase()],n=n&&P.call(w.attrHandle,e.toLowerCase())?n(t,e,!k):void 0;return void 0!==n?n:f.attributes||!k?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},at.escape=function(t){return(t+"").replace(ot,st)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,n=[],i=0,o=0;if(u=!f.detectDuplicates,l=!f.sortStable&&t.slice(0),t.sort(D),u){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return l=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},(w=at.selectors={cacheLength:50,createPseudo:ut,match:Y,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(it,h),t[3]=(t[3]||t[4]||t[5]||"").replace(it,h),"~="===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 Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&G.test(n)&&(e=p(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(it,h).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=E[t+" "];return e||(e=new RegExp("(^|"+j+")"+t+"("+j+"|$)"))&&E(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(t){t=at.attr(t,e);return null==t?"!="===n:!n||(t+="","="===n?t===i:"!="===n?t!==i:"^="===n?i&&0===t.indexOf(i):"*="===n?i&&-1<t.indexOf(i):"$="===n?i&&t.slice(-i.length)===i:"~="===n?-1<(" "+t.replace(q," ")+" ").indexOf(i):"|="===n&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,t,e,g,m){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),b="of-type"===t;return 1===g&&0===m?function(t){return!!t.parentNode}:function(t,e,n){var i,o,s,r,a,l,u=v!=y?"nextSibling":"previousSibling",c=t.parentNode,h=b&&t.nodeName.toLowerCase(),d=!n&&!b,f=!1;if(c){if(v){for(;u;){for(r=t;r=r[u];)if(b?r.nodeName.toLowerCase()===h:1===r.nodeType)return!1;l=u="only"===p&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&d){for(f=(a=(i=(o=(s=(r=c)[$]||(r[$]={}))[r.uniqueID]||(s[r.uniqueID]={}))[p]||[])[0]===T&&i[1])&&i[2],r=a&&c.childNodes[a];r=++a&&r&&r[u]||(f=a=0)||l.pop();)if(1===r.nodeType&&++f&&r===t){o[p]=[T,a,f];break}}else if(!1===(f=d?a=(i=(o=(s=(r=t)[$]||(r[$]={}))[r.uniqueID]||(s[r.uniqueID]={}))[p]||[])[0]===T&&i[1]:f))for(;(r=++a&&r&&r[u]||(f=a=0)||l.pop())&&((b?r.nodeName.toLowerCase()!==h:1!==r.nodeType)||!++f||(d&&((o=(s=r[$]||(r[$]={}))[r.uniqueID]||(s[r.uniqueID]={}))[p]=[T,f]),r!==t)););return(f-=m)===g||f%g==0&&0<=f/g}}},PSEUDO:function(t,s){var e,r=w.pseudos[t]||w.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return r[$]?r(s):1<r.length?(e=[t,t,"",s],w.setFilters.hasOwnProperty(t.toLowerCase())?ut(function(t,e){for(var n,i=r(t,s),o=i.length;o--;)t[n=R(t,i[o])]=!(e[n]=i[o])}):function(t){return r(t,0,e)}):r}},pseudos:{not:ut(function(t){var i=[],o=[],a=d(t.replace(W,"$1"));return a[$]?ut(function(t,e,n,i){for(var o,s=a(t,null,i,[]),r=t.length;r--;)(o=s[r])&&(t[r]=!(e[r]=o))}):function(t,e,n){return i[0]=t,a(i,null,n,o),i[0]=null,!o.pop()}}),has:ut(function(e){return function(t){return 0<at(e,t).length}}),contains:ut(function(e){return e=e.replace(it,h),function(t){return-1<(t.textContent||s(t)).indexOf(e)}}),lang:ut(function(n){return Q.test(n||"")||at.error("unsupported lang: "+n),n=n.replace(it,h).toLowerCase(),function(t){var e;do{if(e=k?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===r},focus:function(t){return t===x.activeElement&&(!x.hasFocus||x.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:ft(!1),disabled:ft(!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!w.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return J.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(t=t.getAttribute("type"))||"text"===t.toLowerCase())},first:pt(function(){return[0]}),last:pt(function(t,e){return[e-1]}),eq:pt(function(t,e,n){return[n<0?n+e:n]}),even:pt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:pt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:pt(function(t,e,n){for(var i=n<0?n+e:e<n?e:n;0<=--i;)t.push(i);return t}),gt:pt(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})w.pseudos[t]=function(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}(t);function mt(){}function vt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function yt(r,t,e){var a=t.dir,l=t.next,u=l||a,c=e&&"parentNode"===u,h=b++;return t.first?function(t,e,n){for(;t=t[a];)if(1===t.nodeType||c)return r(t,e,n);return!1}:function(t,e,n){var i,o,s=[T,h];if(n){for(;t=t[a];)if((1===t.nodeType||c)&&r(t,e,n))return!0}else for(;t=t[a];)if(1===t.nodeType||c)if(i=(o=t[$]||(t[$]={}))[t.uniqueID]||(o[t.uniqueID]={}),l&&l===t.nodeName.toLowerCase())t=t[a]||t;else{if((o=i[u])&&o[0]===T&&o[1]===h)return s[2]=o[2];if((i[u]=s)[2]=r(t,e,n))return!0}return!1}}function bt(o){return 1<o.length?function(t,e,n){for(var i=o.length;i--;)if(!o[i](t,e,n))return!1;return!0}:o[0]}function wt(t,e,n,i,o){for(var s,r=[],a=0,l=t.length,u=null!=e;a<l;a++)(s=t[a])&&(n&&!n(s,i,o)||(r.push(s),u&&e.push(a)));return r}function Ct(f,p,g,m,v,t){return m&&!m[$]&&(m=Ct(m)),v&&!v[$]&&(v=Ct(v,t)),ut(function(t,e,n,i){var o,s,r,a=[],l=[],u=e.length,c=t||function(t,e,n){for(var i=0,o=e.length;i<o;i++)at(t,e[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),h=!f||!t&&p?c:wt(c,a,f,n,i),d=g?v||(t?f:u||m)?[]:e:h;if(g&&g(h,d,n,i),m)for(o=wt(d,l),m(o,[],n,i),s=o.length;s--;)(r=o[s])&&(d[l[s]]=!(h[l[s]]=r));if(t){if(v||f){if(v){for(o=[],s=d.length;s--;)(r=d[s])&&o.push(h[s]=r);v(null,d=[],o,i)}for(s=d.length;s--;)(r=d[s])&&-1<(o=v?R(t,r):a[s])&&(t[o]=!(e[o]=r))}}else d=wt(d===e?d.splice(u,d.length):d),v?v(null,e,d,i):N.apply(e,d)})}function _t(m,v){function t(t,e,n,i,o){var s,r,a,l=0,u="0",c=t&&[],h=[],d=C,f=t||b&&w.find.TAG("*",o),p=T+=null==d?1:Math.random()||.1,g=f.length;for(o&&(C=e==x||e||o);u!==g&&null!=(s=f[u]);u++){if(b&&s){for(r=0,e||s.ownerDocument==x||(_(s),n=!k);a=m[r++];)if(a(s,e||x,n)){i.push(s);break}
vendor: 5,821 bytes, line 1
1o&&(T=p)}y&&((s=!a&&s)&&l--,t&&c.push(s))}if(l+=u,y&&u!==l){for(r=0;a=v[r++];)a(c,h,e,n);if(t){if(0<l)for(;u--;)c[u]||h[u]||(h[u]=z.call(i));h=wt(h)}N.apply(i,h),o&&!t&&0<h.length&&1<l+v.length&&at.uniqueSort(i)}return o&&(T=p,C=d),c}var y=0<v.length,b=0<m.length;return y?ut(t):t}return mt.prototype=w.filters=w.pseudos,w.setFilters=new mt,p=at.tokenize=function(t,e){var n,i,o,s,r,a,l,u=S[t+" "];if(u)return e?0:u.slice(0);for(r=t,a=[],l=w.preFilter;r;){for(s in n&&!(i=U.exec(r))||(i&&(r=r.slice(i[0].length)||r),a.push(o=[])),n=!1,(i=K.exec(r))&&(n=i.shift(),o.push({value:n,type:i[0].replace(W," ")}),r=r.slice(n.length)),w.filter)!(i=Y[s].exec(r))||l[s]&&!(i=l[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),r=r.slice(n.length));if(!n)break}return e?r.length:r?at.error(t):S(t,a).slice(0)},d=at.compile=function(t,e){var n,i=[],o=[],s=A[t+" "];if(!s){for(n=(e=e||p(t)).length;n--;)((s=function t(e){for(var i,n,o,s=e.length,r=w.relative[e[0].type],a=r||w.relative[" "],l=r?1:0,u=yt(function(t){return t===i},a,!0),c=yt(function(t){return-1<R(i,t)},a,!0),h=[function(t,e,n){return n=!r&&(n||e!==C)||((i=e).nodeType?u:c)(t,e,n),i=null,n}];l<s;l++)if(n=w.relative[e[l].type])h=[yt(bt(h),n)];else{if((n=w.filter[e[l].type].apply(null,e[l].matches))[$]){for(o=++l;o<s&&!w.relative[e[o].type];o++);return Ct(1<l&&bt(h),1<l&&vt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(W,"$1"),n,l<o&&t(e.slice(l,o)),o<s&&t(e=e.slice(o)),o<s&&vt(e))}h.push(n)}return bt(h)}(e[n]))[$]?i:o).push(s);(s=A(t,_t(o,i))).selector=t}return s},g=at.select=function(t,e,n,i){var o,s,r,a,l,u="function"==typeof t&&t,c=!i&&p(t=u.selector||t);if(n=n||[],1===c.length){if(2<(s=c[0]=c[0].slice(0)).length&&"ID"===(r=s[0]).type&&9===e.nodeType&&k&&w.relative[s[1].type]){if(!(e=(w.find.ID(r.matches[0].replace(it,h),e)||[])[0]))return n;u&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=Y.needsContext.test(t)?0:s.length;o--&&(r=s[o],!w.relative[a=r.type]);)if((l=w.find[a])&&(i=l(r.matches[0].replace(it,h),nt.test(s[0].type)&&gt(e.parentNode)||e))){if(s.splice(o,1),!(t=i.length&&vt(s)))return N.apply(n,i),n;break}}return(u||d(t,c))(i,e,!k,n,!e||nt.test(t)&&gt(e.parentNode)||e),n},f.sortStable=$.split("").sort(D).join("")===$,f.detectDuplicates=!!u,_(),f.sortDetached=ct(function(t){return 1&t.compareDocumentPosition(x.createElement("fieldset"))}),ct(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ht("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),f.attributes&&ct(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ht("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ct(function(t){return null==t.getAttribute("disabled")})||ht(L,function(t,e,n){if(!n)return!0===t[e]?e.toLowerCase():(e=t.getAttributeNode(e))&&e.specified?e.value:null}),at}(_);k.find=f,k.expr=f.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=f.uniqueSort,k.text=f.getText,k.isXMLDoc=f.isXML,k.contains=f.contains,k.escapeSelector=f.escape;function C(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&k(t).is(n))break;i.push(t)}return i}function $(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}var T=k.expr.match.needsContext;function E(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var S=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function A(t,n,i){return b(n)?k.grep(t,function(t,e){return!!n.call(t,e,t)!==i}):n.nodeType?k.grep(t,function(t){return t===n!==i}):"string"!=typeof n?k.grep(t,function(t){return-1<o.call(n,t)!==i}):k.filter(n,t,i)}k.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?k.find.matchesSelector(i,t)?[i]:[]:k.find.matches(t,k.grep(e,function(t){return 1===t.nodeType}))},k.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(k(t).filter(function(){for(e=0;e<i;e++)if(k.contains(o[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)k.find(t,o[e],n);return 1<i?k.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&&T.test(t)?k(t):t||[],!1).length}});var F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(t,e,n){if(!t)return this;if(n=n||D,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):b(t)?void 0!==n.ready?n.ready(t):t(k):k.makeArray(t,this);if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:F.exec(t))||!i[1]&&e)return(!e||e.jquery?e||n:this.constructor(e)).find(t);if(i[1]){if(e=e instanceof k?e[0]:e,k.merge(this,k.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:x,!0)),S.test(i[1])&&k.isPlainObject(e))for(var i in e)b(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(t=x.getElementById(i[2]))&&(this[0]=t,this.length=1),this}).prototype=k.fn;var D=k(x),P=/^(?:parents|prev(?:Until|All))/,z={children:!0,contents:!0,next:!0,prev:!0};function O(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}k.fn.extend({has:function(t){var e=k(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(k.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,o=this.length,s=[],r="string"!=typeof t&&k(t);if(!T.test(t))for(;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(r?-1<r.index(n):1===n.nodeType&&k.find.matchesSelector(n,t))){s.push(n);break}return this.pushStack(1<s.length?k.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?o.call(k(t),this[0]):o.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1}
vendor: 5,111 bytes, line 1
1,add:function(t,e){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),k.each({parent:function(t){t=t.parentNode;return t&&11!==t.nodeType?t:null},parents:function(t){return C(t,"parentNode")},parentsUntil:function(t,e,n){return C(t,"parentNode",n)},next:function(t){return O(t,"nextSibling")},prev:function(t){return O(t,"previousSibling")},nextAll:function(t){return C(t,"nextSibling")},prevAll:function(t){return C(t,"previousSibling")},nextUntil:function(t,e,n){return C(t,"nextSibling",n)},prevUntil:function(t,e,n){return C(t,"previousSibling",n)},siblings:function(t){return $((t.parentNode||{}).firstChild,t)},children:function(t){return $(t.firstChild)},contents:function(t){return null!=t.contentDocument&&n(t.contentDocument)?t.contentDocument:(E(t,"template")&&(t=t.content||t),k.merge([],t.childNodes))}},function(i,o){k.fn[i]=function(t,e){var n=k.map(this,o,t);return(e="Until"!==i.slice(-5)?t:e)&&"string"==typeof e&&(n=k.filter(e,n)),1<this.length&&(z[i]||k.uniqueSort(n),P.test(i)&&n.reverse()),this.pushStack(n)}});var N=/[^\x20\t\r\n\f]+/g;function I(t){return t}function R(t){throw t}function L(t,e,n,i){var o;try{t&&b(o=t.promise)?o.call(t).done(e).fail(n):t&&b(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}k.Callbacks=function(i){var t,n;i="string"==typeof i?(t=i,n={},k.each(t.match(N)||[],function(t,e){n[e]=!0}),n):k.extend({},i);function o(){for(a=a||i.once,r=s=!0;u.length;c=-1)for(e=u.shift();++c<l.length;)!1===l[c].apply(e[0],e[1])&&i.stopOnFalse&&(c=l.length,e=!1);i.memory||(e=!1),s=!1,a&&(l=e?[]:"")}var s,e,r,a,l=[],u=[],c=-1,h={add:function(){return l&&(e&&!s&&(c=l.length-1,u.push(e)),function n(t){k.each(t,function(t,e){b(e)?i.unique&&h.has(e)||l.push(e):e&&e.length&&"string"!==p(e)&&n(e)})}(arguments),e&&!s&&o()),this},remove:function(){return k.each(arguments,function(t,e){for(var n;-1<(n=k.inArray(e,l,n));)l.splice(n,1),n<=c&&c--}),this},has:function(t){return t?-1<k.inArray(t,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=u=[],l=e="",this},disabled:function(){return!l},lock:function(){return a=u=[],e||s||(l=e=""),this},locked:function(){return!!a},fireWith:function(t,e){return a||(e=[t,(e=e||[]).slice?e.slice():e],u.push(e),s||o()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!r}};return h},k.extend({Deferred:function(t){var s=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var o=arguments;return k.Deferred(function(i){k.each(s,function(t,e){var n=b(o[e[4]])&&o[e[4]];a[e[1]](function(){var t=n&&n.apply(this,arguments);t&&b(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[e[0]+"With"](this,n?[t]:arguments)})}),o=null}).promise()},then:function(e,n,i){var l=0;function u(o,s,r,a){return function(){function t(){var t,e;if(!(o<l)){if((t=r.apply(n,i))===s.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,b(e)?a?e.call(t,u(l,s,I,a),u(l,s,R,a)):(l++,e.call(t,u(l,s,I,a),u(l,s,R,a),u(l,s,I,s.notifyWith))):(r!==I&&(n=void 0,i=[t]),(a||s.resolveWith)(n,i))}}var n=this,i=arguments,e=a?t:function(){try{t()}catch(t){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(t,e.stackTrace),l<=o+1&&(r!==R&&(n=void 0,i=[t]),s.rejectWith(n,i))}};o?e():(k.Deferred.getStackHook&&(e.stackTrace=k.Deferred.getStackHook()),_.setTimeout(e))}}return k.Deferred(function(t){s[0][3].add(u(0,t,b(i)?i:I,t.notifyWith)),s[1][3].add(u(0,t,b(e)?e:I)),s[2][3].add(u(0,t,b(n)?n:R))}).promise()},promise:function(t){return null!=t?k.extend(t,r):r}},a={};return k.each(s,function(t,e){var n=e[2],i=e[5];r[e[1]]=n.add,i&&n.add(function(){o=i},s[3-t][2].disable,s[3-t][3].disable,s[0][2].lock,s[0][3].lock),n.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=n.fireWith}),r.promise(a),t&&t.call(a,a),a},when:function(t){function e(e){return function(t){o[e]=this,s[e]=1<arguments.length?a.call(arguments):t,--n||r.resolveWith(o,s)}}var n=arguments.length,i=n,o=Array(i),s=a.call(arguments),r=k.Deferred();if(n<=1&&(L(t,r.done(e(i)).resolve,r.reject,!n),"pending"===r.state()||b(s[i]&&s[i].then)))return r.then();for(;i--;)L(s[i],e(i),r.reject);return r.promise()}});var j=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(t,e){_.console&&_.console.warn&&t&&j.test(t.name)&&_.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},k.readyException=function(t){_.setTimeout(function(){throw t})};var M=k.Deferred();function B(){x.removeEventListener("DOMContentLoaded",B),_.removeEventListener("load",B),k.ready()}
vendor: 11,048 bytes, line 1
1k.fn.ready=function(t){return M.then(t).catch(function(t){k.readyException(t)}),this},k.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--k.readyWait:k.isReady)||(k.isReady=!0)!==t&&0<--k.readyWait||M.resolveWith(x,[k])}}),k.ready.then=M.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?_.setTimeout(k.ready):(x.addEventListener("DOMContentLoaded",B),_.addEventListener("load",B));var H=function(t,e,n,i,o,s,r){var a=0,l=t.length,u=null==n;if("object"===p(n))for(a in o=!0,n)H(t,e,a,n[a],!0,s,r);else if(void 0!==i&&(o=!0,b(i)||(r=!0),e=u?r?(e.call(t,i),null):(u=e,function(t,e,n){return u.call(k(t),n)}):e))for(;a<l;a++)e(t[a],n,r?i:i.call(t[a],a,e(t[a],n)));return o?t:u?e.call(t):l?e(t[0],n):s},q=/^-ms-/,W=/-([a-z])/g;function U(t,e){return e.toUpperCase()}function K(t){return t.replace(q,"ms-").replace(W,U)}function V(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}function G(){this.expando=k.expando+G.uid++}G.uid=1,G.prototype={cache:function(t){var e=t[this.expando];return e||(e=Object.create(null),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,o=this.cache(t);if("string"==typeof e)o[K(e)]=n;else for(i in e)o[K(i)]=e[i];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][K(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(K):(e=K(e))in i?[e]:e.match(N)||[]).length;for(;n--;)delete i[e[n]]}void 0!==e&&!k.isEmptyObject(i)||(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){t=t[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var Q=new G,Y=new G,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function Z(t,e,n){var i,o;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(J,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:X.test(o)?JSON.parse(o):o)}catch(t){}Y.set(t,e,n)}else n=void 0;return n}k.extend({hasData:function(t){return Y.hasData(t)||Q.hasData(t)},data:function(t,e,n){return Y.access(t,e,n)},removeData:function(t,e){Y.remove(t,e)},_data:function(t,e,n){return Q.access(t,e,n)},_removeData:function(t,e){Q.remove(t,e)}}),k.fn.extend({data:function(n,t){var e,i,o,s=this[0],r=s&&s.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){Y.set(this,n)}):H(this,function(t){var e;return s&&void 0===t?void 0!==(e=Y.get(s,n))||void 0!==(e=Z(s,n))?e:void 0:void this.each(function(){Y.set(this,n,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(o=Y.get(s),1===s.nodeType&&!Q.get(s,"hasDataAttrs"))){for(e=r.length;e--;)r[e]&&0===(i=r[e].name).indexOf("data-")&&(i=K(i.slice(5)),Z(s,i,o[i]));Q.set(s,"hasDataAttrs",!0)}return o},removeData:function(t){return this.each(function(){Y.remove(this,t)})}}),k.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,k.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=k.queue(t,e),i=n.length,o=n.shift(),s=k._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete s.stop,o.call(t,function(){k.dequeue(t,e)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Q.get(t,n)||Q.access(t,n,{empty:k.Callbacks("once memory").add(function(){Q.remove(t,[e+"queue",n])})})}}),k.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?k.queue(this[0],e):void 0===n?this:this.each(function(){var t=k.queue(this,e,n);k._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&k.dequeue(this,e)})},dequeue:function(t){return this.each(function(){k.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--o||s.resolveWith(r,[r])}var i,o=1,s=k.Deferred(),r=this,a=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(i=Q.get(r[a],t+"queueHooks"))&&i.empty&&(o++,i.empty.add(n));return n(),s.promise(e)}});var tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+tt+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],it=x.documentElement,ot=function(t){return k.contains(t.ownerDocument,t)},st={composed:!0};it.getRootNode&&(ot=function(t){return k.contains(t.ownerDocument,t)||t.getRootNode(st)===t.ownerDocument});var rt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&ot(t)&&"none"===k.css(t,"display")};function at(t,e,n,i){var o,s,r=20,a=i?function(){return i.cur()}:function(){return k.css(t,e,"")},l=a(),u=n&&n[3]||(k.cssNumber[e]?"":"px"),c=t.nodeType&&(k.cssNumber[e]||"px"!==u&&+l)&&et.exec(k.css(t,e));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;r--;)k.style(t,e,c+u),(1-s)*(1-(s=a()/l||.5))<=0&&(r=0),c/=s;c*=2,k.style(t,e,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=o)),o}var lt={};function ut(t,e){for(var n,i,o,s,r,a=[],l=0,u=t.length;l<u;l++)(i=t[l]).style&&(n=i.style.display,e?("none"===n&&(a[l]=Q.get(i,"display")||null,a[l]||(i.style.display="")),""===i.style.display&&rt(i)&&(a[l]=(r=s=void 0,s=(o=i).ownerDocument,r=o.nodeName,(o=lt[r])||(s=s.body.appendChild(s.createElement(r)),o=k.css(s,"display"),s.parentNode.removeChild(s),"none"===o&&(o="block"),lt[r]=o)))):"none"!==n&&(a[l]="none",Q.set(i,"display",n)));for(l=0;l<u;l++)null!=a[l]&&(t[l].style.display=a[l]);return t}k.fn.extend({show:function(){return ut(this,!0)},hide:function(){return ut(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){rt(this)?k(this).show():k(this).hide()})}});var ct=/^(?:checkbox|radio)$/i,ht=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,dt=/^$|^module$|\/(?:java|ecma)script/i;h=x.createDocumentFragment().appendChild(x.createElement("div")),(f=x.createElement("input")).setAttribute("type","radio"),f.setAttribute("checked","checked"),f.setAttribute("name","t"),h.appendChild(f),y.checkClone=h.cloneNode(!0).cloneNode(!0).lastChild.checked,h.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!h.cloneNode(!0).lastChild.defaultValue,h.innerHTML="<option></option>",y.option=!!h.lastChild;var ft={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 pt(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&E(t,e)?k.merge([t],n):n}function gt(t,e){for(var n=0,i=t.length;n<i;n++)Q.set(t[n],"globalEval",!e||Q.get(e[n],"globalEval"))}ft.tbody=ft.tfoot=ft.colgroup=ft.caption=ft.thead,ft.th=ft.td,y.option||(ft.optgroup=ft.option=[1,"<select multiple='multiple'>","</select>"]);var mt=/<|&#?\w+;/;function vt(t,e,n,i,o){for(var s,r,a,l,u,c=e.createDocumentFragment(),h=[],d=0,f=t.length;d<f;d++)if((s=t[d])||0===s)if("object"===p(s))k.merge(h,s.nodeType?[s]:s);else if(mt.test(s)){for(r=r||c.appendChild(e.createElement("div")),a=(ht.exec(s)||["",""])[1].toLowerCase(),a=ft[a]||ft._default,r.innerHTML=a[1]+k.htmlPrefilter(s)+a[2],u=a[0];u--;)r=r.lastChild;k.merge(h,r.childNodes),(r=c.firstChild).textContent=""}else h.push(e.createTextNode(s));for(c.textContent="",d=0;s=h[d++];)if(i&&-1<k.inArray(s,i))o&&o.push(s);else if(l=ot(s),r=pt(c.appendChild(s),"script"),l&&gt(r),n)for(u=0;s=r[u++];)dt.test(s.type||"")&&n.push(s);return c}var yt=/^key/,bt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,wt=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function _t(){return!1}function xt(t,e){return t===function(){try{return x.activeElement}catch(t){}}()==("focus"===e)}function kt(t,e,n,i,o,s){var r,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)kt(t,a,n,i,e[a],s);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=_t;else if(!o)return t;return 1===s&&(r=o,(o=function(t){return k().off(t),r.apply(this,arguments)}).guid=r.guid||(r.guid=k.guid++)),t.each(function(){k.event.add(this,e,o,i,n)})}function $t(t,o,s){s?(Q.set(t,o,!1),k.event.add(t,o,{namespace:!1,handler:function(t){var e,n,i=Q.get(this,o);if(1&t.isTrigger&&this[o]){if(i.length)(k.event.special[o]||{}).delegateType&&t.stopPropagation();else if(i=a.call(arguments),Q.set(this,o,i),e=s(this,o),this[o](),i!==(n=Q.get(this,o))||e?Q.set(this,o,!1):n={},i!==n)return t.stopImmediatePropagation(),t.preventDefault(),n.value}else i.length&&(Q.set(this,o,{value:k.event.trigger(k.extend(i[0],k.Event.prototype),i.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Q.get(t,o)&&k.event.add(t,o,Ct)}k.event={global:{},add:function(e,t,n,i,o){var s,r,a,l,u,c,h,d,f,p=Q.get(e);if(V(e))for(n.handler&&(n=(s=n).handler,o=s.selector),o&&k.find.matchesSelector(it,o),n.guid||(n.guid=k.guid++),(a=p.events)||(a=p.events=Object.create(null)),(r=p.handle)||(r=p.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(N)||[""]).length;l--;)h=f=(u=wt.exec(t[l])||[])[1],d=(u[2]||"").split(".").sort(),h&&(c=k.event.special[h]||{},h=(o?c.delegateType:c.bindType)||h,c=k.event.special[h]||{},u=k.extend({type:h,origType:f,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:d.join(".")},s),(f=a[h])||((f=a[h]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,i,d,r)||e.addEventListener&&e.addEventListener(h,r)),c.add&&(c.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),k.event.global[h]=!0)},remove:function(t,e,n,i,o){var s,r,a,l,u,c,h,d,f,p,g,m=Q.hasData(t)&&Q.get(t);if(m&&(l=m.events)){for(u=(e=(e||"").match(N)||[""]).length;u--;)if(f=g=(a=wt.exec(e[u])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=k.event.special[f]||{},d=l[f=(i?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=d.length;s--;)c=d[s],!o&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(d.splice(s,1),c.selector&&d.delegateCount--,h.remove&&h.remove.call(t,c));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||k.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)k.event.remove(t,f+e[u],n,i,!0);k.isEmptyObject(l)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,s,r=new Array(arguments.length),a=k.event.fix(t),l=(Q.get(this,"events")||Object.create(null))[a.type]||[],t=k.event.special[a.type]||{};for(r[0]=a,e=1;e<arguments.length;e++)r[e]=arguments[e];if(a.delegateTarget=this,!t.preDispatch||!1!==t.preDispatch.call(this,a)){for(s=k.event.handlers.call(this,a,l),e=0;(i=s[e++])&&!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!a.isImmediatePropagationStopped();
vendor: 3,420 bytes, line 1
1)a.rnamespace&&!1!==o.namespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(o=((k.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,r))&&!1===(a.result=o)&&(a.preventDefault(),a.stopPropagation()));return t.postDispatch&&t.postDispatch.call(this,a),a.result}},handlers:function(t,e){var n,i,o,s,r,a=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&1<=t.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(s=[],r={},n=0;n<l;n++)void 0===r[o=(i=e[n]).selector+" "]&&(r[o]=i.needsContext?-1<k(o,this).index(u):k.find(o,this,null,[u]).length),r[o]&&s.push(i);s.length&&a.push({elem:u,handlers:s})}return u=this,l<e.length&&a.push({elem:u,handlers:e.slice(l)}),a},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:b(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(t){return t[k.expando]?t:new k.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){t=this||t;return ct.test(t.type)&&t.click&&E(t,"input")&&$t(t,"click",Ct),!1},trigger:function(t){t=this||t;return ct.test(t.type)&&t.click&&E(t,"input")&&$t(t,"click"),!0},_default:function(t){t=t.target;return ct.test(t.type)&&t.click&&E(t,"input")&&Q.get(t,"click")||E(t,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},k.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},k.Event=function(t,e){if(!(this instanceof k.Event))return new k.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Ct:_t,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&&k.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:_t,isPropagationStopped:_t,isImmediatePropagationStopped:_t,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Ct,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Ct,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Ct,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},k.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:function(t){var e=t.button;return null==t.which&&yt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&bt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(t,e){k.event.special[t]={setup:function(){return $t(this,t,xt),!1},trigger:function(){return $t(this,t),!0},delegateType:e}}
vendor: 10,817 bytes, line 1
1),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,o){k.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return n&&(n===this||k.contains(this,n))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=o),e}}}),k.fn.extend({on:function(t,e,n,i){return kt(this,t,e,n,i)},one:function(t,e,n,i){return kt(this,t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,k(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=_t),this.each(function(){k.event.remove(this,t,n,e)});for(o in t)this.off(o,e,t[o]);return this}});var Tt=/<script|<style|<link/i,Et=/checked\s*(?:[^=]|=\s*.checked.)/i,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function At(t,e){return E(t,"table")&&E(11!==e.nodeType?e:e.firstChild,"tr")&&k(t).children("tbody")[0]||t}function Ft(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Dt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,e){var n,i,o,s;if(1===e.nodeType){if(Q.hasData(t)&&(s=Q.get(t).events))for(o in Q.remove(e,"handle events"),s)for(n=0,i=s[o].length;n<i;n++)k.event.add(e,o,s[o][n]);Y.hasData(t)&&(t=Y.access(t),t=k.extend({},t),Y.set(e,t))}}function zt(n,i,o,s){i=m(i);var t,e,r,a,l,u,c=0,h=n.length,d=h-1,f=i[0],p=b(f);if(p||1<h&&"string"==typeof f&&!y.checkClone&&Et.test(f))return n.each(function(t){var e=n.eq(t);p&&(i[0]=f.call(this,t,e.html())),zt(e,i,o,s)});if(h&&(e=(t=vt(i,n[0].ownerDocument,!1,n,s)).firstChild,1===t.childNodes.length&&(t=e),e||s)){for(a=(r=k.map(pt(t,"script"),Ft)).length;c<h;c++)l=t,c!==d&&(l=k.clone(l,!0,!0),a&&k.merge(r,pt(l,"script"))),o.call(n[c],l,c);if(a)for(u=r[r.length-1].ownerDocument,k.map(r,Dt),c=0;c<a;c++)l=r[c],dt.test(l.type||"")&&!Q.access(l,"globalEval")&&k.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?k._evalUrl&&!l.noModule&&k._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):w(l.textContent.replace(St,""),l,u))}return n}function Ot(t,e,n){for(var i,o=e?k.filter(e,t):t,s=0;null!=(i=o[s]);s++)n||1!==i.nodeType||k.cleanData(pt(i)),i.parentNode&&(n&&ot(i)&&gt(pt(i,"script")),i.parentNode.removeChild(i));return t}k.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,o,s,r,a,l,u,c=t.cloneNode(!0),h=ot(t);if(!(y.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||k.isXMLDoc(t)))for(r=pt(c),i=0,o=(s=pt(t)).length;i<o;i++)a=s[i],l=r[i],u=void 0,"input"===(u=l.nodeName.toLowerCase())&&ct.test(a.type)?l.checked=a.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=a.defaultValue);if(e)if(n)for(s=s||pt(t),r=r||pt(c),i=0,o=s.length;i<o;i++)Pt(s[i],r[i]);else Pt(t,c);return 0<(r=pt(c,"script")).length&&gt(r,!h&&pt(t,"script")),c},cleanData:function(t){for(var e,n,i,o=k.event.special,s=0;void 0!==(n=t[s]);s++)if(V(n)){if(e=n[Q.expando]){if(e.events)for(i in e.events)o[i]?k.event.remove(n,i):k.removeEvent(n,i,e.handle);n[Q.expando]=void 0}n[Y.expando]&&(n[Y.expando]=void 0)}}}),k.fn.extend({detach:function(t){return Ot(this,t,!0)},remove:function(t){return Ot(this,t)},text:function(t){return H(this,function(t){return void 0===t?k.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 zt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||At(this,t).appendChild(t)})},prepend:function(){return zt(this,arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=At(this,t)).insertBefore(t,e.firstChild)})},before:function(){return zt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return zt(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&&(k.cleanData(pt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return k.clone(this,t,e)})},html:function(t){return H(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&&!Tt.test(t)&&!ft[(ht.exec(t)||["",""])[1].toLowerCase()]){t=k.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(k.cleanData(pt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=[];return zt(this,arguments,function(t){var e=this.parentNode;k.inArray(this,n)<0&&(k.cleanData(pt(this)),e&&e.replaceChild(t,this))},n)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,r){k.fn[t]=function(t){for(var e,n=[],i=k(t),o=i.length-1,s=0;s<=o;s++)e=s===o?this:this.clone(!0),k(i[s])[r](e),l.apply(n,e.get());return this.pushStack(n)}});function Nt(t,e,n){var i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in n=n.call(t),e)t.style[i]=o[i];return n}var It,Rt,Lt,jt,Mt,Bt,Ht,qt,Wt=new RegExp("^("+tt+")(?!px)[a-z%]+$","i"),Ut=function(t){var e=t.ownerDocument.defaultView;return(e=!e||!e.opener?_:e).getComputedStyle(t)},Kt=new RegExp(nt.join("|"),"i");function Vt(){var t;qt&&(Ht.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",qt.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",it.appendChild(Ht).appendChild(qt),t=_.getComputedStyle(qt),It="1%"!==t.top,Bt=12===Gt(t.marginLeft),qt.style.right="60%",jt=36===Gt(t.right),Rt=36===Gt(t.width),qt.style.position="absolute",Lt=12===Gt(qt.offsetWidth/3),it.removeChild(Ht),qt=null)}function Gt(t){return Math.round(parseFloat(t))}function Qt(t,e,n){var i,o,s=t.style;return(n=n||Ut(t))&&(""!==(o=n.getPropertyValue(e)||n[e])||ot(t)||(o=k.style(t,e)),!y.pixelBoxStyles()&&Wt.test(o)&&Kt.test(e)&&(i=s.width,t=s.minWidth,e=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=i,s.minWidth=t,s.maxWidth=e)),void 0!==o?o+"":o}function Yt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}Ht=x.createElement("div"),(qt=x.createElement("div")).style&&(qt.style.backgroundClip="content-box",qt.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===qt.style.backgroundClip,k.extend(y,{boxSizingReliable:function(){return Vt(),Rt},pixelBoxStyles:function(){return Vt(),jt},pixelPosition:function(){return Vt(),It},reliableMarginLeft:function(){return Vt(),Bt},scrollboxSize:function(){return Vt(),Lt},reliableTrDimensions:function(){var t,e,n;return null==Mt&&(t=x.createElement("table"),n=x.createElement("tr"),e=x.createElement("div"),t.style.cssText="position:absolute;left:-11111px",n.style.height="1px",e.style.height="9px",it.appendChild(t).appendChild(n).appendChild(e),n=_.getComputedStyle(n),Mt=3<parseInt(n.height),it.removeChild(t)),Mt}}));var Xt=["Webkit","Moz","ms"],Jt=x.createElement("div").style,Zt={};function te(t){var e=k.cssProps[t]||Zt[t];return e||(t in Jt?t:Zt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Xt.length;n--;)if((t=Xt[n]+e)in Jt)return t}(t)||t)}var ee=/^(none|table(?!-c[ea]).+)/,ne=/^--/,ie={position:"absolute",visibility:"hidden",display:"block"},oe={letterSpacing:"0",fontWeight:"400"};function se(t,e,n){var i=et.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function re(t,e,n,i,o,s){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+=k.css(t,n+nt[r],!0,o)),i?("content"===n&&(l-=k.css(t,"padding"+nt[r],!0,o)),"margin"!==n&&(l-=k.css(t,"border"+nt[r]+"Width",!0,o))):(l+=k.css(t,"padding"+nt[r],!0,o),"padding"!==n?l+=k.css(t,"border"+nt[r]+"Width",!0,o):a+=k.css(t,"border"+nt[r]+"Width",!0,o));return!i&&0<=s&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-l-a-.5))||0),l}function ae(t,e,n){var i=Ut(t),o=(!y.boxSizingReliable()||n)&&"border-box"===k.css(t,"boxSizing",!1,i),s=o,r=Qt(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(Wt.test(r)){if(!n)return r;r="auto"}return(!y.boxSizingReliable()&&o||!y.reliableTrDimensions()&&E(t,"tr")||"auto"===r||!parseFloat(r)&&"inline"===k.css(t,"display",!1,i))&&t.getClientRects().length&&(o="border-box"===k.css(t,"boxSizing",!1,i),(s=a in t)&&(r=t[a])),(r=parseFloat(r)||0)+re(t,e,n||(o?"border":"content"),s,i,r)+"px"}function le(t,e,n,i,o){return new le.prototype.init(t,e,n,i,o)}k.extend({cssHooks:{opacity:{get:function(t,e){if(e){t=Qt(t,"opacity");return""===t?"1":t}}}},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 o,s,r,a=K(e),l=ne.test(e),u=t.style;if(l||(e=te(a)),r=k.cssHooks[e]||k.cssHooks[a],void 0===n)return r&&"get"in r&&void 0!==(o=r.get(t,!1,i))?o:u[e];"string"===(s=typeof n)&&(o=et.exec(n))&&o[1]&&(n=at(t,e,o),s="number"),null!=n&&n==n&&("number"!==s||l||(n+=o&&o[3]||(k.cssNumber[a]?"":"px")),y.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),r&&"set"in r&&void 0===(n=r.set(t,n,i))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,i){var o,s=K(e);return ne.test(e)||(e=te(s)),"normal"===(o=void 0===(o=(s=k.cssHooks[e]||k.cssHooks[s])&&"get"in s?s.get(t,!0,n):o)?Qt(t,e,i):o)&&e in oe&&(o=oe[e]),""===n||n?(e=parseFloat(o),!0===n||isFinite(e)?e||0:o):o}}),k.each(["height","width"],function(t,a){k.cssHooks[a]={get:function(t,e,n){if(e)return!ee.test(k.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ae(t,a,n):Nt(t,ie,function(){return ae(t,a,n)})},set:function(t,e,n){var i,o=Ut(t),s=!y.scrollboxSize()&&"absolute"===o.position,r=(s||n)&&"border-box"===k.css(t,"boxSizing",!1,o),n=n?re(t,a,n,r,o):0;return r&&s&&(n-=Math.ceil(t["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(o[a])-re(t,a,"border",!1,o)-.5)),n&&(i=et.exec(e))&&"px"!==(i[3]||"px")&&(t.style[a]=e,e=k.css(t,a)),se(0,e,n)}}}),k.cssHooks.marginLeft=Yt(y.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Qt(t,"marginLeft"))||t.getBoundingClientRect().left-Nt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(o,s){k.cssHooks[o+s]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[o+nt[e]+s]=i[e]||i[e-2]||i[0];return n}}
vendor: 4,354 bytes, line 1
1,"margin"!==o&&(k.cssHooks[o+s].set=se)}),k.fn.extend({css:function(t,e){return H(this,function(t,e,n){var i,o,s={},r=0;if(Array.isArray(e)){for(i=Ut(t),o=e.length;r<o;r++)s[e[r]]=k.css(t,e[r],!1,i);return s}return void 0!==n?k.style(t,e,n):k.css(t,e)},t,e,1<arguments.length)}}),(k.Tween=le).prototype={constructor:le,init:function(t,e,n,i,o,s){this.elem=t,this.prop=n,this.easing=o||k.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=s||(k.cssNumber[n]?"":"px")},cur:function(){var t=le.propHooks[this.prop];return(t&&t.get?t:le.propHooks._default).get(this)},run:function(t){var e,n=le.propHooks[this.prop];return this.options.duration?this.pos=e=k.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:le.propHooks._default).set(this),this}},le.prototype.init.prototype=le.prototype,le.propHooks={_default:{get:function(t){return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(t=k.css(t.elem,t.prop,""))&&"auto"!==t?t:0},set:function(t){k.fx.step[t.prop]?k.fx.step[t.prop](t):1!==t.elem.nodeType||!k.cssHooks[t.prop]&&null==t.elem.style[te(t.prop)]?t.elem[t.prop]=t.now:k.style(t.elem,t.prop,t.now+t.unit)}}},le.propHooks.scrollTop=le.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},k.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},k.fx=le.prototype.init,k.fx.step={};var ue,ce,he=/^(?:toggle|show|hide)$/,de=/queueHooks$/;function fe(){ce&&(!1===x.hidden&&_.requestAnimationFrame?_.requestAnimationFrame(fe):_.setTimeout(fe,k.fx.interval),k.fx.tick())}function pe(){return _.setTimeout(function(){ue=void 0}),ue=Date.now()}function ge(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)o["margin"+(n=nt[i])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function me(t,e,n){for(var i,o=(ve.tweeners[e]||[]).concat(ve.tweeners["*"]),s=0,r=o.length;s<r;s++)if(i=o[s].call(n,e,t))return i}function ve(o,t,e){var n,s,i=0,r=ve.prefilters.length,a=k.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var t=ue||pe(),t=Math.max(0,u.startTime+u.duration-t),e=1-(t/u.duration||0),n=0,i=u.tweens.length;n<i;n++)u.tweens[n].run(e);return a.notifyWith(o,[u,e,t]),e<1&&i?t:(i||a.notifyWith(o,[u,1,0]),a.resolveWith(o,[u]),!1)},u=a.promise({elem:o,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},e),originalProperties:t,originalOptions:e,startTime:ue||pe(),duration:e.duration,tweens:[],createTween:function(t,e){t=k.Tween(o,u.opts,t,e,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(t),t},stop:function(t){var e=0,n=t?u.tweens.length:0;if(s)return this;for(s=!0;e<n;e++)u.tweens[e].run(1);return t?(a.notifyWith(o,[u,1,0]),a.resolveWith(o,[u,t])):a.rejectWith(o,[u,t]),this}}),c=u.props;for(!function(t,e){var n,i,o,s,r;for(n in t)if(o=e[i=K(n)],s=t[n],Array.isArray(s)&&(o=s[1],s=t[n]=s[0]),n!==i&&(t[i]=s,delete t[n]),(r=k.cssHooks[i])&&"expand"in r)for(n in s=r.expand(s),delete t[i],s)n in t||(t[n]=s[n],e[n]=o);else e[i]=o}(c,u.opts.specialEasing);i<r;i++)if(n=ve.prefilters[i].call(u,o,c,u.opts))return b(n.stop)&&(k._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return k.map(c,me,u),b(u.opts.start)&&u.opts.start.call(o,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),k.fx.timer(k.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u}k.Animation=k.extend(ve,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return at(n.elem,t,et.exec(e),n),n}]},tweener:function(t,e){for(var n,i=0,o=(t=b(t)?(e=t,["*"]):t.match(N)).length;i<o;i++)n=t[i],ve.tweeners[n]=ve.tweeners[n]||[],ve.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,o,s,r,a,l,u,c="width"in e||"height"in e,h=this,d={},f=t.style,p=t.nodeType&&rt(t),g=Q.get(t,"fxshow");for(i in n.queue||(null==(r=k._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--,k.queue(t,"fx").length||r.empty.fire()})})),e)if(o=e[i],he.test(o)){if(delete e[i],s=s||"toggle"===o,o===(p?"hide":"show")){if("show"!==o||
vendor: 5,565 bytes, line 1
1!g||void 0===g[i])continue;p=!0}d[i]=g&&g[i]||k.style(t,i)}if((l=!k.isEmptyObject(e))||!k.isEmptyObject(d))for(i in c&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(u=g&&g.display)&&(u=Q.get(t,"display")),"none"===(c=k.css(t,"display"))&&(u?c=u:(ut([t],!0),u=t.style.display||u,c=k.css(t,"display"),ut([t]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===k.css(t,"float")&&(l||(h.done(function(){f.display=u}),null==u&&(c=f.display,u="none"===c?"":c)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,d)l||(g?"hidden"in g&&(p=g.hidden):g=Q.access(t,"fxshow",{display:u}),s&&(g.hidden=!p),p&&ut([t],!0),h.done(function(){for(i in p||ut([t]),Q.remove(t,"fxshow"),d)k.style(t,i,d[i])})),l=me(p?g[i]:0,i,h),i in g||(g[i]=l.start,p&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ve.prefilters.unshift(t):ve.prefilters.push(t)}}),k.speed=function(t,e,n){var i=t&&"object"==typeof t?k.extend({},t):{complete:n||!n&&e||b(t)&&t,duration:t,easing:n&&e||e&&!b(e)&&e};return k.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in k.fx.speeds?i.duration=k.fx.speeds[i.duration]:i.duration=k.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){b(i.old)&&i.old.call(this),i.queue&&k.dequeue(this,i.queue)},i},k.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(e,t,n,i){var o=k.isEmptyObject(e),s=k.speed(t,n,i),i=function(){var t=ve(this,k.extend({},e),s);(o||Q.get(this,"finish"))&&t.stop(!0)};return i.finish=i,o||!1===s.queue?this.each(i):this.queue(s.queue,i)},stop:function(o,t,s){function r(t){var e=t.stop;delete t.stop,e(s)}return"string"!=typeof o&&(s=t,t=o,o=void 0),t&&this.queue(o||"fx",[]),this.each(function(){var t=!0,e=null!=o&&o+"queueHooks",n=k.timers,i=Q.get(this);if(e)i[e]&&i[e].stop&&r(i[e]);else for(e in i)i[e]&&i[e].stop&&de.test(e)&&r(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=o&&n[e].queue!==o||(n[e].anim.stop(s),t=!1,n.splice(e,1));!t&&s||k.dequeue(this,o)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var t,e=Q.get(this),n=e[r+"queue"],i=e[r+"queueHooks"],o=k.timers,s=n?n.length:0;for(e.finish=!0,k.queue(this,r,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===r&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),k.each(["toggle","show","hide"],function(t,i){var o=k.fn[i];k.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(ge(i,!0),t,e,n)}}),k.each({slideDown:ge("show"),slideUp:ge("hide"),slideToggle:ge("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){k.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),k.timers=[],k.fx.tick=function(){var t,e=0,n=k.timers;for(ue=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||k.fx.stop(),ue=void 0},k.fx.timer=function(t){k.timers.push(t),k.fx.start()},k.fx.interval=13,k.fx.start=function(){ce||(ce=!0,fe())},k.fx.stop=function(){ce=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(i,t){return i=k.fx&&k.fx.speeds[i]||i,t=t||"fx",this.queue(t,function(t,e){var n=_.setTimeout(t,i);e.stop=function(){_.clearTimeout(n)}})},h=x.createElement("input"),tt=x.createElement("select").appendChild(x.createElement("option")),h.type="checkbox",y.checkOn=""!==h.value,y.optSelected=tt.selected,(h=x.createElement("input")).value="t",h.type="radio",y.radioValue="t"===h.value;var ye,be=k.expr.attrHandle;k.fn.extend({attr:function(t,e){return H(this,k.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){k.removeAttr(this,t)})}}),k.extend({attr:function(t,e,n){var i,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?k.prop(t,e,n):(1===s&&k.isXMLDoc(t)||(o=k.attrHooks[e.toLowerCase()]||(k.expr.match.bool.test(e)?ye:void 0)),void 0!==n?null===n?void k.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):!(o&&"get"in o&&null!==(i=o.get(t,e)))&&null==(i=k.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!y.radioValue&&"radio"===e&&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,o=e&&e.match(N);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),ye={set:function(t,e,n){return!1===e?k.removeAttr(t,n):t.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(t,e){var r=be[e]||k.find.attr;be[e]=function(t,e,n){var i,o,s=e.toLowerCase();return n||(o=be[s],be[s]=i,i=null!=r(t,e,n)?s:null,be[s]=o),i}});var we=/^(?:input|select|textarea|button)$/i,Ce=/^(?:a|area)$/i;function _e(t){return(t.match(N)||[]).join(" ")}function xe(t){return t.getAttribute&&t.getAttribute("class")||""}function ke(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(N)||[]}k.fn.extend({prop:function(t,e){return H(this,k.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[k.propFix[t]||t]})}}),k.extend({prop:function(t,e,n){var i,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&k.isXMLDoc(t)||(e=k.propFix[e]||e,o=k.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=k.find.attr(t,"tabindex");
vendor: 8,542 bytes, line 1
1return e?parseInt(e,10):we.test(t.nodeName)||Ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(k.propHooks.selected={get:function(t){t=t.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(t){t=t.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(e){var t,n,i,o,s,r,a=0;if(b(e))return this.each(function(t){k(this).addClass(e.call(this,t,xe(this)))});if((t=ke(e)).length)for(;n=this[a++];)if(r=xe(n),i=1===n.nodeType&&" "+_e(r)+" "){for(s=0;o=t[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(r=_e(i))&&n.setAttribute("class",r)}return this},removeClass:function(e){var t,n,i,o,s,r,a=0;if(b(e))return this.each(function(t){k(this).removeClass(e.call(this,t,xe(this)))});if(!arguments.length)return this.attr("class","");if((t=ke(e)).length)for(;n=this[a++];)if(r=xe(n),i=1===n.nodeType&&" "+_e(r)+" "){for(s=0;o=t[s++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");r!==(r=_e(i))&&n.setAttribute("class",r)}return this},toggleClass:function(o,e){var s=typeof o,r="string"==s||Array.isArray(o);return"boolean"==typeof e&&r?e?this.addClass(o):this.removeClass(o):b(o)?this.each(function(t){k(this).toggleClass(o.call(this,t,xe(this),e),e)}):this.each(function(){var t,e,n,i;if(r)for(e=0,n=k(this),i=ke(o);t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else void 0!==o&&"boolean"!=s||((t=xe(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",!t&&!1!==o&&Q.get(this,"__className__")||""))})},hasClass:function(t){for(var e,n=0,i=" "+t+" ";e=this[n++];)if(1===e.nodeType&&-1<(" "+_e(xe(e))+" ").indexOf(i))return!0;return!1}});var $e=/\r/g;k.fn.extend({val:function(e){var n,t,i,o=this[0];return arguments.length?(i=b(e),this.each(function(t){1===this.nodeType&&(null==(t=i?e.call(this,t,k(this).val()):e)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=k.map(t,function(t){return null==t?"":t+""})),(n=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,t,"value")||(this.value=t))})):o?(n=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in n&&void 0!==(t=n.get(o,"value"))?t:"string"==typeof(t=o.value)?t.replace($e,""):null==t?"":t:void 0}}),k.extend({valHooks:{option:{get:function(t){var e=k.find.attr(t,"value");return null!=e?e:_e(k.text(t))}},select:{get:function(t){for(var e,n=t.options,i=t.selectedIndex,o="select-one"===t.type,s=o?null:[],r=o?i+1:n.length,a=i<0?r:o?i:0;a<r;a++)if(((e=n[a]).selected||a===i)&&!e.disabled&&(!e.parentNode.disabled||!E(e.parentNode,"optgroup"))){if(e=k(e).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,i,o=t.options,s=k.makeArray(e),r=o.length;r--;)((i=o[r]).selected=-1<k.inArray(k.valHooks.option.get(i),s))&&(n=!0);return n||(t.selectedIndex=-1),s}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<k.inArray(k(t).val(),e)}},y.checkOn||(k.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),y.focusin="onfocusin"in _;function Te(t){t.stopPropagation()}var Ee=/^(?:focusinfocus|focusoutblur)$/;k.extend(k.event,{trigger:function(t,e,n,i){var o,s,r,a,l,u,c,h=[n||x],d=v.call(t,"type")?t.type:t,f=v.call(t,"namespace")?t.namespace.split("."):[],p=c=s=n=n||x;if(3!==n.nodeType&&8!==n.nodeType&&!Ee.test(d+k.event.triggered)&&(-1<d.indexOf(".")&&(d=(f=d.split(".")).shift(),f.sort()),a=d.indexOf(":")<0&&"on"+d,(t=t[k.expando]?t:new k.Event(d,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=f.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:k.makeArray(e,[t]),u=k.event.special[d]||{},i||!u.trigger||!1!==u.trigger.apply(n,e))){if(!i&&!u.noBubble&&!g(n)){for(r=u.delegateType||d,Ee.test(r+d)||(p=p.parentNode);p;p=p.parentNode)h.push(p),s=p;s===(n.ownerDocument||x)&&h.push(s.defaultView||s.parentWindow||_)}for(o=0;(p=h[o++])&&!t.isPropagationStopped();)c=p,t.type=1<o?r:u.bindType||d,(l=(Q.get(p,"events")||Object.create(null))[t.type]&&Q.get(p,"handle"))&&l.apply(p,e),(l=a&&p[a])&&l.apply&&V(p)&&(t.result=l.apply(p,e),!1===t.result&&t.preventDefault());return t.type=d,i||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),e)||!V(n)||a&&b(n[d])&&!g(n)&&((s=n[a])&&(n[a]=null),k.event.triggered=d,t.isPropagationStopped()&&c.addEventListener(d,Te),n[d](),t.isPropagationStopped()&&c.removeEventListener(d,Te),k.event.triggered=void 0,s&&(n[a]=s)),t.result}},simulate:function(t,e,n){t=k.extend(new k.Event,n,{type:t,isSimulated:!0});k.event.trigger(t,null,e)}}),k.fn.extend({trigger:function(t,e){return this.each(function(){k.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return k.event.trigger(t,e,n,!0)}}),y.focusin||k.each({focus:"focusin",blur:"focusout"},function(n,i){function o(t){k.event.simulate(i,t.target,k.event.fix(t))}k.event.special[i]={setup:function(){var t=this.ownerDocument||this.document||this,e=Q.access(t,i);e||t.addEventListener(n,o,!0),Q.access(t,i,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this.document||this,e=Q.access(t,i)-1;e?Q.access(t,i,e):(t.removeEventListener(n,o,!0),Q.remove(t,i))}}});var Se=_.location,Ae={guid:Date.now()},Fe=/\?/;k.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new _.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+t),e};var De=/\[\]$/,Pe=/\r?\n/g,ze=/^(?:submit|button|image|reset|file)$/i,Oe=/^(?:input|select|textarea|keygen)/i;k.param=function(t,e){function n(t,e){e=b(e)?e():e,o[o.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==e?"":e)}var i,o=[];if(null==t)return"";if(Array.isArray(t)||t.jquery&&!k.isPlainObject(t))k.each(t,function(){n(this.name,this.value)});else for(i in t)!function n(i,t,o,s){if(Array.isArray(t))k.each(t,function(t,e){o||De.test(i)?s(i,e):n(i+"["+("object"==typeof e&&null!=e?t:"")+"]",e,o,s)});else if(o||"object"!==p(t))s(i,t);else for(var e in t)n(i+"["+e+"]",t[e],o,s)}(i,t[i],e,n);return o.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=k.prop(this,"elements");return t?k.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!k(this).is(":disabled")&&Oe.test(this.nodeName)&&!ze.test(t)&&(this.checked||!ct.test(t))}).map(function(t,e){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,function(t){return{name:e.name,value:t.replace(Pe,"\r\n")}}):{name:e.name,value:n.replace(Pe,"\r\n")}}).get()}});var Ne=/%20/g,Ie=/#.*$/,Re=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,je=/^(?:GET|HEAD)$/,Me=/^\/\//,Be={},He={},qe="*/".concat("*"),We=x.createElement("a");function Ue(s){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,o=t.toLowerCase().match(N)||[];if(b(e))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(s[n]=s[n]||[]).unshift(e)):(s[n]=s[n]||[]).push(e)}}function Ke(e,i,o,s){var r={},a=e===He;function l(t){var n;return r[t]=!0,k.each(e[t]||[],function(t,e){e=e(i,o,s);return"string"!=typeof e||a||r[e]?a?!(n=e):void 0:(i.dataTypes.unshift(e),l(e),!1)}),n}return l(i.dataTypes[0])||!r["*"]&&l("*")}function Ve(t,e){var n,i,o=k.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i=i||{})[n]=e[n]);return i&&k.extend(!0,t,i),t}We.href=Se.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Se.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Se.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qe,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":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ve(Ve(t,k.ajaxSettings),e):Ve(k.ajaxSettings,t)},ajaxPrefilter:Ue(Be),ajaxTransport:Ue(He),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var l,u,c,n,h,i,d,f,o,p=k.ajaxSetup({}
vendor: 13,178 bytes, line 1
1,e),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?k(g):k.event,v=k.Deferred(),y=k.Callbacks("once memory"),b=p.statusCode||{},s={},r={},a="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(d){if(!n)for(n={};e=Le.exec(c);)n[e[1].toLowerCase()+" "]=(n[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=n[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return d?c:null},setRequestHeader:function(t,e){return null==d&&(t=r[t.toLowerCase()]=r[t.toLowerCase()]||t,s[t]=e),this},overrideMimeType:function(t){return null==d&&(p.mimeType=t),this},statusCode:function(t){if(t)if(d)w.always(t[w.status]);else for(var e in t)b[e]=[b[e],t[e]];return this},abort:function(t){t=t||a;return l&&l.abort(t),C(0,t),this}};if(v.promise(w),p.url=((t||p.url||Se.href)+"").replace(Me,Se.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(N)||[""],null==p.crossDomain){i=x.createElement("a");try{i.href=p.url,i.href=i.href,p.crossDomain=We.protocol+"//"+We.host!=i.protocol+"//"+i.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=k.param(p.data,p.traditional)),Ke(Be,p,e,w),d)return w;for(o in(f=k.event&&p.global)&&0==k.active++&&k.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!je.test(p.type),u=p.url.replace(Ie,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ne,"+")):(t=p.url.slice(u.length),p.data&&(p.processData||"string"==typeof p.data)&&(u+=(Fe.test(u)?"&":"?")+p.data,delete p.data),!1===p.cache&&(u=u.replace(Re,"$1"),t=(Fe.test(u)?"&":"?")+"_="+Ae.guid+++t),p.url=u+t),p.ifModified&&(k.lastModified[u]&&w.setRequestHeader("If-Modified-Since",k.lastModified[u]),k.etag[u]&&w.setRequestHeader("If-None-Match",k.etag[u])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+qe+"; q=0.01":""):p.accepts["*"]),p.headers)w.setRequestHeader(o,p.headers[o]);if(p.beforeSend&&(!1===p.beforeSend.call(g,w,p)||d))return w.abort();if(a="abort",y.add(p.complete),w.done(p.success),w.fail(p.error),l=Ke(He,p,e,w)){if(w.readyState=1,f&&m.trigger("ajaxSend",[w,p]),d)return w;p.async&&0<p.timeout&&(h=_.setTimeout(function(){w.abort("timeout")},p.timeout));try{d=!1,l.send(s,C)}catch(t){if(d)throw t;C(-1,t)}}else C(-1,"No Transport");function C(t,e,n,i){var o,s,r,a=e;d||(d=!0,h&&_.clearTimeout(h),l=void 0,c=i||"",w.readyState=0<t?4:0,i=200<=t&&t<300||304===t,n&&(r=function(t,e,n){for(var i,o,s,r,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)s=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){s=o;break}r=r||o}s=s||r}if(s)return s!==l[0]&&l.unshift(s),n[s]}(p,w,n)),!i&&-1<k.inArray("script",p.dataTypes)&&(p.converters["text script"]=function(){}),r=function(t,e,n,i){var o,s,r,a,l,u={},c=t.dataTypes.slice();if(c[1])for(r in t.converters)u[r.toLowerCase()]=t.converters[r];for(s=c.shift();s;)if(t.responseFields[s]&&(n[t.responseFields[s]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=c.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(r=u[l+" "+s]||u["* "+s]))for(o in u)if(a=o.split(" "),a[1]===s&&(r=u[l+" "+a[0]]||u["* "+a[0]])){!0===r?r=u[o]:!0!==u[o]&&(s=a[0],c.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 "+s}}}return{state:"success",data:e}}(p,r,w,i),i?(p.ifModified&&((n=w.getResponseHeader("Last-Modified"))&&(k.lastModified[u]=n),(n=w.getResponseHeader("etag"))&&(k.etag[u]=n)),204===t||"HEAD"===p.type?a="nocontent":304===t?a="notmodified":(a=r.state,o=r.data,i=!(s=r.error))):(s=a,!t&&a||(a="error",t<0&&(t=0))),w.status=t,w.statusText=(e||a)+"",i?v.resolveWith(g,[o,a,w]):v.rejectWith(g,[w,a,s]),w.statusCode(b),b=void 0,f&&m.trigger(i?"ajaxSuccess":"ajaxError",[w,p,i?o:s]),y.fireWith(g,[w,a]),f&&(m.trigger("ajaxComplete",[w,p]),--k.active||k.event.trigger("ajaxStop")))}return w},getJSON:function(t,e,n){return k.get(t,e,n,"json")},getScript:function(t,e){return k.get(t,void 0,e,"script")}}),k.each(["get","post"],function(t,o){k[o]=function(t,e,n,i){return b(e)&&(i=i||n,n=e,e=void 0),k.ajax(k.extend({url:t,type:o,dataType:i,data:e,success:n},k.isPlainObject(t)&&t))}}),k.ajaxPrefilter(function(t){for(var e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),k._evalUrl=function(t,e,n){return k.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){k.globalEval(t,e,n)}})},k.fn.extend({wrapAll:function(t){return this[0]&&(b(t)&&(t=t.call(this[0])),t=k(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(n){return b(n)?this.each(function(t){k(this).wrapInner(n.call(this,t))}):this.each(function(){var t=k(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=b(e);return this.each(function(t){k(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(t){return!k.expr.pseudos.visible(t)},k.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new _.XMLHttpRequest}catch(t){}};var Ge={0:200,1223:204},Qe=k.ajaxSettings.xhr();y.cors=!!Qe&&"withCredentials"in Qe,y.ajax=Qe=!!Qe,k.ajaxTransport(function(o){var s,r;if(y.cors||Qe&&!o.crossDomain)return{send:function(t,e){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)i.setRequestHeader(n,t[n]);s=function(t){return function(){s&&(s=r=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===t?i.abort():"error"===t?"number"!=typeof i.status?e(0,"error"):e(i.status,i.statusText):e(Ge[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=s(),r=i.onerror=i.ontimeout=s("error"),void 0!==i.onabort?i.onabort=r:i.onreadystatechange=function(){4===i.readyState&&_.setTimeout(function(){s&&r()})},s=s("abort");try{i.send(o.hasContent&&o.data||null)}catch(t){if(s)throw t}},abort:function(){s&&s()}}}),k.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),k.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 k.globalEval(t),t}}}),k.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),k.ajaxTransport("script",function(n){var i,o;if(n.crossDomain||n.scriptAttrs)return{send:function(t,e){i=k("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(t){i.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),x.head.appendChild(i[0])},abort:function(){o&&o()}}});var Ye=[],Xe=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ye.pop()||k.expando+"_"+Ae.guid++;return this[t]=!0,t}}),k.ajaxPrefilter("json jsonp",function(t,e,n){var i,o,s,r=!1!==t.jsonp&&(Xe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xe.test(t.data)&&"data");if(r||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=b(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,r?t[r]=t[r].replace(Xe,"$1"+i):!1!==t.jsonp&&(t.url+=(Fe.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||k.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=_[i],_[i]=function(){s=arguments},n.always(function(){void 0===o?k(_).removeProp(i):_[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Ye.push(i)),s&&b(o)&&o(s[0]),s=o=void 0}),"script"}),y.createHTMLDocument=((h=x.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===h.childNodes.length),k.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(y.createHTMLDocument?((i=(e=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,e.head.appendChild(i)):e=x),i=!n&&[],(n=S.exec(t))?[e.createElement(n[1])]:(n=vt([t],e,i),i&&i.length&&k(i).remove(),k.merge([],n.childNodes)));var i},k.fn.load=function(t,e,n){var i,o,s,r=this,a=t.indexOf(" ");return-1<a&&(i=_e(t.slice(a)),t=t.slice(0,a)),b(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),0<r.length&&k.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){s=arguments,r.html(i?k("<div>").append(k.parseHTML(t)).find(i):t)}).always(n&&function(t,e){r.each(function(){n.apply(this,s||[t.responseText,e,t])})}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,function(t){return e===t.elem}).length},k.offset={setOffset:function(t,e,n){var i,o,s,r,a=k.css(t,"position"),l=k(t),u={};"static"===a&&(t.style.position="relative"),s=l.offset(),i=k.css(t,"top"),r=k.css(t,"left"),r=("absolute"===a||"fixed"===a)&&-1<(i+r).indexOf("auto")?(o=(a=l.position()).top,a.left):(o=parseFloat(i)||0,parseFloat(r)||0),null!=(e=b(e)?e.call(t,n,k.extend({},s)):e).top&&(u.top=e.top-s.top+o),null!=e.left&&(u.left=e.left-s.left+r),"using"in e?e.using.call(t,u):("number"==typeof u.top&&(u.top+="px"),"number"==typeof u.left&&(u.left+="px"),l.css(u))}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){k.offset.setOffset(this,e,t)});var t,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],o={top:0,left:0};if("fixed"===k.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"===k.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((o=k(t).offset()).top+=k.css(t,"borderTopWidth",!0),o.left+=k.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-k.css(i,"marginTop",!0),left:e.left-o.left-k.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===k.css(t,"position");)t=t.offsetParent;return t||it})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var s="pageYOffset"===o;k.fn[e]=function(t){return H(this,function(t,e,n){var i;return g(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===n?i?i[o]:t[e]:void(i?i.scrollTo(s?i.pageXOffset:n,s?n:i.pageYOffset):t[e]=n)},e,t,arguments.length)}}),k.each(["top","left"],function(t,n){k.cssHooks[n]=Yt(y.pixelPosition,function(t,e){if(e)return e=Qt(t,n),Wt.test(e)?k(t).position()[n]+"px":e})}),k.each({Height:"height",Width:"width"},function(r,a){k.each({padding:"inner"+r,content:a,"":"outer"+r},function(i,s){k.fn[s]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),o=i||(!0===t||!0===e?"margin":"border");return H(this,function(t,e,n){var i;return g(t)?0===s.indexOf("outer")?t["inner"+r]:t.document.documentElement["client"+r]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+r],i["scroll"+r],t.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?k.css(t,e,o):k.style(t,e,n,o)},a,n?t:void 0,n)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){k.fn[e]=function(t){return this.on(e,t)}}),k.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)}}),k.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,n){k.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}});var Je=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(t,e){var n,i;if("string"==typeof e&&(i=t[e],e=t,t=i),b(t))return n=a.call(arguments,2),(i=function(){return t.apply(e||this,n.concat(a.call(arguments)))}).guid=t.guid=t.guid||k.guid++,i},k.holdReady=function(t){t?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=E,k.isFunction=b,k.isWindow=g,k.camel
1Case=K,k.type=p,k.now=Date.now,k.isNumeric=function(t){var e=k.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},k.trim=function(t){return null==t?"":(t+"").replace(Je,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return k});var Ze=_.jQuery,tn=_.$;return k.noConflict=function(t){return _.$===k&&(_.$=tn),t&&_.jQuery===k&&(_.jQuery=Ze),k},void 0===t&&(_.jQuery=_.$=k),k}),function(r){"use strict";var a={version:"6.3.1",_plugins:{},_uuids:[],rtl:function(){return"rtl"===r("html").attr("dir")},plugin:function(t,e){var n=e||l(t),e=i(n);this._plugins[e]=this[n]=t},registerPlugin:function(t,e){e=e?i(e):l(t.constructor).toLowerCase();t.uuid=this.GetYoDigits(6,e),t.$element.attr("data-"+e)||t.$element.attr("data-"+e,t.uuid),t.$element.data("zfPlugin")||t.$element.data("zfPlugin",t),t.$element.trigger("init.zf."+e),this._uuids.push(t.uuid)},unregisterPlugin:function(t){var e,n=i(l(t.$element.data("zfPlugin").constructor));for(e in this._uuids.splice(this._uuids.indexOf(t.uuid),1),t.$element.removeAttr("data-"+n).removeData("zfPlugin").trigger("destroyed.zf."+n),t)t[e]=null},reInit:function(t){var e,n=t instanceof r;try{n?t.each(function(){r(this).data("zfPlugin")._init()}):(e=this,{object:function(t){t.forEach(function(t){t=i(t),r("[data-"+t+"]").foundation("_init")})},string:function(){t=i(t),r("[data-"+t+"]").foundation("_init")},undefined:function(){this.object(Object.keys(e._plugins))}}[typeof t](t))}catch(t){console.error(t)}finally{return t}},GetYoDigits:function(t,e){return t=t||6,Math.round(Math.pow(36,t+1)-Math.random()*Math.pow(36,t)).toString(36).slice(1)+(e?"-"+e:"")},reflow:function(n,t){void 0===t?t=Object.keys(this._plugins):"string"==typeof t&&(t=[t]);var o=this;r.each(t,function(t,e){var i=o._plugins[e];r(n).find("[data-"+e+"]").addBack("[data-"+e+"]").each(function(){var t=r(this),n={};if(t.data("zfPlugin"))console.warn("Tried to initialize "+e+" on an element that already has a Foundation plugin.");else{t.attr("data-options")&&t.attr("data-options").split(";").forEach(function(t,e){t=t.split(":").map(function(t){return t.trim()});t[0]&&(n[t[0]]=function(t){{if("true"===t)return!0;if("false"===t)return!1;if(!isNaN(+t))return parseFloat(t)}return t}(t[1]))});try{t.data("zfPlugin",new i(r(this),n))}catch(t){console.error(t)}finally{return}}})})},getFnName:l,transitionend:function(t){var e,n,i={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend"},o=document.createElement("div");for(n in i)void 0!==o.style[n]&&(e=i[n]);return e||(e=setTimeout(function(){t.triggerHandler("transitionend",[t])},1),"transitionend")}};function l(t){if(void 0!==Function.prototype.name)return(void 0===t.prototype?t:t.prototype).constructor.name;t=/function\s([^(]{1,})\(/.exec(t.toString());return t&&1<t.length?t[1].trim():""}function i(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}a.util={throttle:function(n,i){var o=null;return function(){var t=this,e=arguments;null===o&&(o=setTimeout(function(){n.apply(t,e),o=null},i))}}},window.Foundation=a,r.fn.foundation=function(n){var t=typeof n,e=r("meta.foundation-mq"),i=r(".no-js");if(e.length||r('<meta class="foundation-mq">').appendTo(document.head),i.length&&i.removeClass("no-js"),"undefined"==t)a.MediaQuery._init(),a.reflow(this);else{if("string"!=t)throw new TypeError("We're sorry, "+t+" is not a valid parameter. You must use a string representing the method you wish to invoke.");var o=Array.prototype.slice.call(arguments,1),s=this.data("zfPlugin");if(void 0===s||void 0===s[n])throw new ReferenceError("We're sorry, '"+n+"' is not an available method for "+(s?l(s):"this element")+".");1===this.length?s[n].apply(s,o):this.each(function(t,e){s[n].apply(r(e).data("zfPlugin"),o)})}return this},function(){Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var i,t=["webkit","moz"],e=0;e<t.length&&!window.requestAnimationFrame;++e){var n=t[e];window.requestAnimationFrame=window[n+"RequestAnimationFrame"],window.cancelAnimationFrame=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]}!/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)&&window.requestAnimationFrame&&window.cancelAnimationFrame||(i=0,window.requestAnimationFrame=function(t){var e=Date.now(),n=Math.max(i+16,e);return setTimeout(function(){t(i=n)},n-e)},window.cancelAnimationFrame=clearTimeout),window.performance&&window.performance.now||(window.performance={start:Date.now(),now:function(){return Date.now()-this.start}})}(),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");function e(){}function n(){return o.apply(this instanceof e?this:t,i.concat(Array.prototype.slice.call(arguments)))}
1var i=Array.prototype.slice.call(arguments,1),o=this;return this.prototype&&(e.prototype=this.prototype),n.prototype=new e,n})}(jQuery),function(){function l(t,e){if((t=t.length?t[0]:t)===window||t===document)throw new Error("I'm sorry, Dave. I'm afraid I can't do that.");var n=t.getBoundingClientRect(),i=t.parentNode.getBoundingClientRect(),o=document.body.getBoundingClientRect(),s=window.pageYOffset,t=window.pageXOffset;return{width:n.width,height:n.height,offset:{top:n.top+s,left:n.left+t},parentDims:{width:i.width,height:i.height,offset:{top:i.top+s,left:i.left+t}},windowDims:{width:o.width,height:o.height,offset:{top:s,left:t}}}}Foundation.Box={ImNotTouchingYou:function(t,e,n,i){var o,s,r,t=l(t);{var a;a=e?(a=l(e),s=t.offset.top+t.height<=a.height+a.offset.top,o=t.offset.top>=a.offset.top,r=t.offset.left>=a.offset.left,t.offset.left+t.width<=a.width+a.offset.left):(s=t.offset.top+t.height<=t.windowDims.height+t.windowDims.offset.top,o=t.offset.top>=t.windowDims.offset.top,r=t.offset.left>=t.windowDims.offset.left,t.offset.left+t.width<=t.windowDims.width)}t=[s,o,r,a];if(n)return r===a==!0;if(i)return o===s==!0;return-1===t.indexOf(!1)},GetDimensions:l,GetOffsets:function(t,e,n,i,o,s){var r=l(t),a=e?l(e):null;switch(n){case"top":return{left:Foundation.rtl()?a.offset.left-r.width+a.width:a.offset.left,top:a.offset.top-(r.height+i)};case"left":return{left:a.offset.left-(r.width+o),top:a.offset.top};case"right":return{left:a.offset.left+a.width+o,top:a.offset.top};case"center top":return{left:a.offset.left+a.width/2-r.width/2,top:a.offset.top-(r.height+i)};case"center bottom":return{left:s?o:a.offset.left+a.width/2-r.width/2,top:a.offset.top+a.height+i};case"center left":return{left:a.offset.left-(r.width+o),top:a.offset.top+a.height/2-r.height/2};case"center right":return{left:a.offset.left+a.width+o+1,top:a.offset.top+a.height/2-r.height/2};case"center":return{left:r.windowDims.offset.left+r.windowDims.width/2-r.width/2,top:r.windowDims.offset.top+r.windowDims.height/2-r.height/2};case"reveal":return{left:(r.windowDims.width-r.width)/2,top:r.windowDims.offset.top+i};case"reveal full":return{left:r.windowDims.offset.left,top:r.windowDims.offset.top};case"left bottom":return{left:a.offset.left,top:a.offset.top+a.height+i};case"right bottom":return{left:a.offset.left+a.width+o-r.width,top:a.offset.top+a.height+i};default:return{left:Foundation.rtl()?a.offset.left-r.width+a.width:a.offset.left+o,top:a.offset.top+a.height+i}}}}}(jQuery),function(i){var n={9:"TAB",13:"ENTER",27:"ESCAPE",32:"SPACE",37:"ARROW_LEFT",38:"ARROW_UP",39:"ARROW_RIGHT",40:"ARROW_DOWN"},o={},t={keys:function(t){var e,n={};for(e in t)n[t[e]]=t[e];return n}(n),parseKey:function(t){var e=(e=n[t.which||t.keyCode]||String.fromCharCode(t.which).toUpperCase()).replace(/\W+/,"");return t.shiftKey&&(e="SHIFT_"+e),t.ctrlKey&&(e="CTRL_"+e),e=(e=t.altKey?"ALT_"+e:e).replace(/_$/,"")},handleKey:function(t,e,n){e=o[e],t=this.parseKey(t);if(!e)return console.warn("Component not defined!");(t=n[(void 0===e.ltr?e:Foundation.rtl()?i.extend({},e.ltr,e.rtl):i.extend({},e.rtl,e.ltr))[t]])&&"function"==typeof t?(t=t.apply(),!n.handled&&"function"!=typeof n.handled||n.handled(t)):!n.unhandled&&"function"!=typeof n.unhandled||n.unhandled()},findFocusable:function(t){return!!t&&t.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter(function(){return!(!i(this).is(":visible")||i(this).attr("tabindex")<0)})},register:function(t,e){o[t]=e},trapFocus:function(t){var e=Foundation.Keyboard.findFocusable(t),n=e.eq(0),i=e.eq(-1);t.on("keydown.zf.trapfocus",function(t){t.target===i[0]&&"TAB"===Foundation.Keyboard.parseKey(t)?(t.preventDefault(),n.focus()):t.target===n[0]&&"SHIFT_TAB"===Foundation.Keyboard.parseKey(t)&&(t.preventDefault(),i.focus())})},releaseFocus:function(t){t.off("keydown.zf.trapfocus")}};Foundation.Keyboard=t}(jQuery),function(o){var t={queries:[],current:"",_init:function(){var t,e,n,i=o(".foundation-mq").css("font-family");for(n in e={},t="string"==typeof(i=i)&&(i=i.trim().slice(1,-1))?e=i.split("&").reduce(function(t,e){var n=e.replace(/\+/g," ").split("="),e=n[0],n=n[1],e=decodeURIComponent(e),n=void 0===n?null:decodeURIComponent(n);return t.hasOwnProperty(e)?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n,t},{}):e)t.hasOwnProperty(n)&&this.queries.push({name:n,value:"only screen and (min-width: "+t[n]+")"});this.current=this._getCurrentSize(),this._watcher()},atLeast:function(t){t=this.get(t);return!!t&&window.matchMedia(t).matches},is:function(t){return 1<(t=t.trim().split(" ")).length&&"only"===t[1]?t[0]===this._getCurrentSize():this.atLeast(t[0])},get:function(t){for(var e in this.queries)if(this.queries.hasOwnProperty(e)){e=this.queries[e];if(t===e.name)return e.value}return null},_getCurrentSize:function(){for(var t,e=0;e<this.queries.length;e++){var n=this.queries[e];window.matchMedia(n.value).matches&&(t=n)}return"object"==typeof t?t.name:t},_watcher:function(){var n=this;o(window).on("resize.zf.mediaquery",function(){var t=n._getCurrentSize(),e=n.current;t!==e&&(n.current=t,o(window).trigger("changed.zf.mediaquery",[t,e]))})}};Foundation.MediaQuery=t,window.matchMedia||(window.matchMedia=function(){"use strict";var e,t,n,i=window.styleMedia||window.media;
1return i||(e=document.createElement("style"),t=document.getElementsByTagName("script")[0],n=null,e.type="text/css",e.id="matchmediajs-test",t&&t.parentNode&&t.parentNode.insertBefore(e,t),n="getComputedStyle"in window&&window.getComputedStyle(e,null)||e.currentStyle,i={matchMedium:function(t){t="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return e.styleSheet?e.styleSheet.cssText=t:e.textContent=t,"1px"===n.width}}),function(t){return{matches:i.matchMedium(t||"all"),media:t||"all"}}}()),Foundation.MediaQuery=t}(jQuery),function(a){var l=["mui-enter","mui-leave"],u=["mui-enter-active","mui-leave-active"],t={animateIn:function(t,e,n){i(!0,t,e,n)},animateOut:function(t,e,n){i(!1,t,e,n)}};function i(t,e,n,i){var o,s;function r(){e[0].style.transitionDuration=0,e.removeClass(o+" "+s+" "+n)}(e=a(e).eq(0)).length&&(o=t?l[0]:l[1],s=t?u[0]:u[1],r(),e.addClass(n).css("transition","none"),requestAnimationFrame(function(){e.addClass(o),t&&e.show()}),requestAnimationFrame(function(){e[0].offsetWidth,e.css("transition","").addClass(s)}),e.one(Foundation.transitionend(e),function(){t||e.hide();r(),i&&i.apply(e)}))}Foundation.Move=function(n,i,o){var s,r,a=null;if(0===n)return o.apply(i),void i.trigger("finished.zf.animate",[i]).triggerHandler("finished.zf.animate",[i]);s=window.requestAnimationFrame(function t(e){r=e-(a=a||e),o.apply(i),r<n?s=window.requestAnimationFrame(t,i):(window.cancelAnimationFrame(s),i.trigger("finished.zf.animate",[i]).triggerHandler("finished.zf.animate",[i]))})},Foundation.Motion=t}(jQuery),function(r){var t={Feather:function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"zf";t.attr("role","menubar");var e=t.find("li").attr({role:"menuitem"}),i="is-"+n+"-submenu",o=i+"-item",s="is-"+n+"-submenu-parent";e.each(function(){var t=r(this),e=t.children("ul");e.length&&(t.addClass(s).attr({"aria-haspopup":!0,"aria-label":t.children("a:first").text()}),"drilldown"===n&&t.attr({"aria-expanded":!1}),e.addClass("submenu "+i).attr({"data-submenu":"",role:"menu"}),"drilldown"===n&&e.attr({"aria-hidden":!0})),t.parent("[data-submenu]").length&&t.addClass("is-submenu-item "+o)})},Burn:function(t,e){var n="is-"+e+"-submenu",i=n+"-item",e="is-"+e+"-submenu-parent";t.find(">li, .menu, .menu > li").removeClass(n+" "+i+" "+e+" is-submenu-item submenu is-active").removeAttr("data-submenu").css("display","")}};Foundation.Nest=t}(jQuery),function(o){Foundation.Timer=function(e,t,n){var i,o,s=this,r=t.duration,a=Object.keys(e.data())[0]||"timer",l=-1;this.isPaused=!1,this.restart=function(){l=-1,clearTimeout(o),this.start()},this.start=function(){this.isPaused=!1,clearTimeout(o),l=l<=0?r:l,e.data("paused",!1),i=Date.now(),o=setTimeout(function(){t.infinite&&s.restart(),n&&"function"==typeof n&&n()},l),e.trigger("timerstart.zf."+a)},this.pause=function(){this.isPaused=!0,clearTimeout(o),e.data("paused",!0);var t=Date.now();l-=t-i,e.trigger("timerpaused.zf."+a)}},Foundation.onImagesLoaded=function(t,e){var n=t.length;function i(){0===--n&&e()}0===n&&e(),t.each(function(){var t;this.complete||4===this.readyState||"complete"===this.readyState?i():(t=o(this).attr("src"),o(this).attr("src",t+(0<=t.indexOf("?")?"&":"?")+(new Date).getTime()),o(this).one("load",function(){i()}))})}}(jQuery),function(i){var o,s,r,a=!(i.spotSwipe={version:"1.0.0",enabled:"ontouchstart"in document.documentElement,preventDefault:!1,moveThreshold:75,timeThreshold:200});function l(){this.removeEventListener("touchmove",e),this.removeEventListener("touchend",l),a=!1}function e(t){var e,n;i.spotSwipe.preventDefault&&t.preventDefault(),a&&(e=t.touches[0].pageX,t.touches[0].pageY,e=o-e,r=(new Date).getTime()-s,(n=Math.abs(e)>=i.spotSwipe.moveThreshold&&r<=i.spotSwipe.timeThreshold?0<e?"left":"right":n)&&(t.preventDefault(),l.call(this),i(this).trigger("swipe",n).trigger("swipe"+n)))}function t(t){1==t.touches.length&&(o=t.touches[0].pageX,t.touches[0].pageY,a=!0,s=(new Date).getTime(),this.addEventListener("touchmove",e,!1),this.addEventListener("touchend",l,!1))}i.event.special.swipe={setup:function(){this.addEventListener&&this.addEventListener("touchstart",t,!1)}},i.each(["left","up","down","right"],function(){i.event.special["swipe"+this]={setup:function(){i(this).on("swipe",i.noop)}}})}(jQuery),function(i){i.fn.addTouch=function(){this.each(function(t,e){i(e).bind("touchstart touchmove touchend touchcancel",function(){n(event)})});var n=function(t){var e,n=t.changedTouches[0],t={touchstart:"mousedown",touchmove:"mou
1semove",touchend:"mouseup"}[t.type];"MouseEvent"in window&&"function"==typeof window.MouseEvent?e=new window.MouseEvent(t,{bubbles:!0,cancelable:!0,screenX:n.screenX,screenY:n.screenY,clientX:n.clientX,clientY:n.clientY}):(e=document.createEvent("MouseEvent")).initMouseEvent(t,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),n.target.dispatchEvent(e)}}}(jQuery),function(u){function t(e,n){e.data(n).split(" ").forEach(function(t){u("#"+t)["close"===n?"trigger":"triggerHandler"](n+".zf.trigger",[e])})}var c=function(){for(var t=["WebKit","Moz","O","Ms",""],e=0;e<t.length;e++)if(t[e]+"MutationObserver"in window)return window[t[e]+"MutationObserver"];return!1}();function e(){var e,n,i,o,s,r,t,a,l;!function(){if(c){var t=document.querySelectorAll("[data-resize], [data-scroll], [data-mutate]");if(t.length)for(var e=0;e<=t.length-1;e++)new c(n).observe(t[e],{attributes:!0,childList:!0,characterData:!1,subtree:!0,attributeFilter:["data-events","style"]})}function n(t){var e=u(t[0].target);switch(t[0].type){case"attributes":"scroll"===e.attr("data-events")&&"data-events"===t[0].attributeName&&e.triggerHandler("scrollme.zf.trigger",[e,window.pageYOffset]),"resize"===e.attr("data-events")&&"data-events"===t[0].attributeName&&e.triggerHandler("resizeme.zf.trigger",[e]),"style"===t[0].attributeName&&(e.closest("[data-mutate]").attr("data-events","mutate"),e.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[e.closest("[data-mutate]")]));break;case"childList":e.closest("[data-mutate]").attr("data-events","mutate"),e.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[e.closest("[data-mutate]")]);break;default:return!1}}}(),n=void 0,(i=u("[data-resize]")).length&&u(window).off("resize.zf.trigger").on("resize.zf.trigger",function(t){n&&clearTimeout(n),n=setTimeout(function(){c||i.each(function(){u(this).triggerHandler("resizeme.zf.trigger")}),i.attr("data-events","resize")},e||10)}),s=void 0,(r=u("[data-scroll]")).length&&u(window).off("scroll.zf.trigger").on("scroll.zf.trigger",function(t){s&&clearTimeout(s),s=setTimeout(function(){c||r.each(function(){u(this).triggerHandler("scrollme.zf.trigger")}),r.attr("data-events","scroll")},o||10)}),(l=u("[data-mutate]")).length&&c&&l.each(function(){u(this).triggerHandler("mutateme.zf.trigger")}),a=u("[data-yeti-box]"),l=["dropdown","tooltip","reveal"],t&&("string"==typeof t?l.push(t):"object"==typeof t&&"string"==typeof t[0]?l.concat(t):console.error("Plugin names must be strings")),a.length&&(l=l.map(function(t){return"closeme.zf."+t}).join(" "),u(window).off(l).on(l,function(t,e){t=t.namespace.split(".")[0];u("[data-"+t+"]").not('[data-yeti-box="'+e+'"]').each(function(){var t=u(this);t.triggerHandler("close.zf.trigger",[t])})}))}u(document).on("click.zf.trigger","[data-open]",function(){t(u(this),"open")}),u(document).on("click.zf.trigger","[data-close]",function(){u(this).data("close")?t(u(this),"close"):u(this).trigger("close.zf.trigger")}),u(document).on("click.zf.trigger","[data-toggle]",function(){u(this).data("toggle")?t(u(this),"toggle"):u(this).trigger("toggle.zf.trigger")}),u(document).on("close.zf.trigger","[data-closable]",function(t){t.stopPropagation();t=u(this).data("closable");""!==t?Foundation.Motion.animateOut(u(this),t,function(){u(this).trigger("closed.zf")}):u(this).fadeOut().trigger("closed.zf")}),u(document).on("focus.zf.trigger blur.zf.trigger","[data-toggle-focus]",function(){var t=u(this).data("toggle-focus");u("#"+t).triggerHandler("toggle.zf.trigger",[u(this)])}),u(window).on("load",function(){e()}),Foundation.IHearYou=e}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(l){var t=(_createClass(n,[{key:"_init",value:function(){this.$inputs=this.$element.find("input, textarea, select"),this._events()}},{key:"_events",value:function(){var e=this;this.$element.off(".abide").on("reset.zf.abide",function(){e.resetForm()}).on("submit.zf.abide",function(){return e.validateForm()}),"fieldChange"===this.options.validateOn&&this.$inputs.off("change.zf.abide").on("change.zf.abide",function(t){e.validateInput(l(t.target))}),this.options.liveValidate&&this.$inputs.off("input.zf.abide").on("input.zf.abide",function(t){e.validateInput(l(t.target))}),this.options.validateOnBlur&&this.$inputs.off("blur.zf.abide").on("blur.zf.abide",function(t){e.validateInput(l(t.target))})}},{key:"_reflow",value:function(){this._init()}},{key:"requiredCheck",value:function(t){if(!t.attr("required"))return!0;var e=!0;switch(t[0].type){case"checkbox":e=t[0].checked;break;case"select":case"select-one":case"select-multiple":var n=t.find("option:selected");n.length&&n.val()||(e=!1);break;default:t.val()&&t.val().length||(e=!1)}return e}},{key:"findFormError",value:function(t){var e=t.siblings(this.options.formErrorSelector);return e=!e.length?t.parent().find(this.options.formErrorSelector):e}},{key:"findLabel",value:function(t){var e=t[0].id,e=this.$element.find('label[for="'+e+'"]');return e.length?e:t.closest("label")}},{key:"findRadioLabels",value:function(t){var i=this,t=t.map(function(t,e){var n=e.id,n=i.$element.find('label[for="'+n+'"]');return(n=!n.length?l(e).closest("label"):n)[0]});return l(t)}},{key:"addErrorClasses",value:function(t){var e=this.findLabel(t),n=this.findFormError(t);e.length&&e.addClass(this.options.labelErrorClass),n.length&&n.addClass(this.options.formErrorClass),t.addClass(this.options.inputErrorClass).attr("data-invalid","")}},{key:"removeRadioErrorClasses",value:function(t){var e=this.$element.find(':radio[name="'+t+'"]'),n=this.findRadioLabels(e),t=this.findFormError(e);n.length&&n.removeClass(this.options.labelErrorClass),t.length&&t.removeClass(this.options.formErrorClass),e.removeClass(this.options.inputErrorClass).removeAttr("data-invalid")}},{key:"removeErrorClasses",value:function(t){if("radio"==t[0].type)return this.removeRadioErrorClasses(t.attr("name"));var e=this.findLabel(t),n=this.findFormError(t);e.length&&e.removeClass(this.options.labelErrorClass),n.length&&n.removeClass(this.options.formErrorClass),t.removeClass(this.options.inputErrorClass).removeAttr("data-invalid")}},{key:"validateInput",value:function(t){var e=this,n=this.requiredCheck(t),i=!1,o=!0,s=t.attr("data-validator"),r=!0;
1if(t.is("[data-abide-ignore]")||t.is('[type="hidden"]')||t.is("[disabled]"))return!0;switch(t[0].type){case"radio":i=this.validateRadio(t.attr("name"));break;case"checkbox":i=n;break;case"select":case"select-one":case"select-multiple":i=n;break;default:i=this.validateText(t)}var a,s=-1===[n,i,o=s?this.matchValidation(t,s,t.attr("required")):o,r=t.attr("data-equalto")?this.options.validators.equalTo(t):r].indexOf(!1),o=(s?"valid":"invalid")+".zf.abide";return!s||(r=this.$element.find('[data-equalto="'+t.attr("id")+'"]')).length&&(a=e,r.each(function(){l(this).val()&&a.validateInput(l(this))})),this[s?"removeErrorClasses":"addErrorClasses"](t),t.trigger(o,[t]),s}},{key:"validateForm",value:function(){var t=[],e=this;this.$inputs.each(function(){t.push(e.validateInput(l(this)))});var n=-1===t.indexOf(!1);return this.$element.find("[data-abide-error]").css("display",n?"none":"block"),this.$element.trigger((n?"formvalid":"forminvalid")+".zf.abide",[this.$element]),n}},{key:"validateText",value:function(t,e){e=e||t.attr("pattern")||t.attr("type");var n=t.val(),i=!1;return n.length?i=this.options.patterns.hasOwnProperty(e)?this.options.patterns[e].test(n):e===t.attr("type")||new RegExp(e).test(n):t.prop("required")||(i=!0),i}},{key:"validateRadio",value:function(t){var t=this.$element.find(':radio[name="'+t+'"]'),n=!1,i=!1;return t.each(function(t,e){l(e).attr("required")&&(i=!0)}),(n=!i?!0:n)||t.each(function(t,e){l(e).prop("checked")&&(n=!0)}),n}},{key:"matchValidation",value:function(e,t,n){var i=this;return n=!!n,-1===t.split(" ").map(function(t){return i.options.validators[t](e,n,e.parent())}).indexOf(!1)}},{key:"resetForm",value:function(){var t=this.$element,e=this.options;l("."+e.labelErrorClass,t).not("small").removeClass(e.labelErrorClass),l("."+e.inputErrorClass,t).not("small").removeClass(e.inputErrorClass),l(e.formErrorSelector+"."+e.formErrorClass).removeClass(e.formErrorClass),t.find("[data-abide-error]").css("display","none"),l(":input",t).not(":button, :submit, :reset, :hidden, :radio, :checkbox, [data-abide-ignore]").val("").removeAttr("data-invalid"),l(":input:radio",t).not("[data-abide-ignore]").prop("checked",!1).removeAttr("data-invalid"),l(":input:checkbox",t).not("[data-abide-ignore]").prop("checked",!1).removeAttr("data-invalid"),t.trigger("formreset.zf.abide",[t])}},{key:"destroy",value:function(){var t=this;this.$element.off(".abide").find("[data-abide-error]").css("display","none"),this.$inputs.off(".abide").each(function(){t.removeErrorClasses(l(this))}),Foundation.unregisterPlugin(this)}}]),n);function n(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,n),this.$element=t,this.options=l.extend({},n.defaults,this.$element.data(),e),this._init(),Foundation.registerPlugin(this,"Abide")}t.defaults={validateOn:"fieldChange",labelErrorClass:"is-invalid-label",inputErrorClass:"is-invalid-input",formErrorSelector:".form-error",formErrorClass:"is-visible",liveValidate:!1,validateOnBlur:!1,patterns:{alpha:/^[a-zA-Z]+$/,alpha_numeric:/^[a-zA-Z0-9]+$/,integer:/^[-+]?\d+$/,number:/^[-+]?\d*(?:[\.\,]\d+)?$/,card:/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,cvv:/^([0-9]){3,4}$/,email:/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/,url:/^(https?|ftp|file|ssh):\/\/(((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,8}$/,datetime:/^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,date:/(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,time:/^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,dateISO:/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,month_day_year:/^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,day_month_year:/^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/,color:/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/}
1,validators:{equalTo:function(t,e,n){return l("#"+t.attr("data-equalto")).val()===t.val()}}},Foundation.plugin(t,"Abide")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(s){var t=(_createClass(n,[{key:"_init",value:function(){this.$element.attr("role","tablist"),this.$tabs=this.$element.children("[data-accordion-item]"),this.$tabs.each(function(t,e){var n=s(e),i=n.children("[data-tab-content]"),o=i[0].id||Foundation.GetYoDigits(6,"accordion"),e=e.id||o+"-label";n.find("a:first").attr({"aria-controls":o,role:"tab",id:e,"aria-expanded":!1,"aria-selected":!1}),i.attr({role:"tabpanel","aria-labelledby":e,"aria-hidden":!0,id:o})});var t=this.$element.find(".is-active").children("[data-tab-content]");t.length&&this.down(t,!0),this._events()}},{key:"_events",value:function(){var i=this;this.$tabs.each(function(){var e=s(this),n=e.children("[data-tab-content]");n.length&&e.children("a").off("click.zf.accordion keydown.zf.accordion").on("click.zf.accordion",function(t){t.preventDefault(),i.toggle(n)}).on("keydown.zf.accordion",function(t){Foundation.Keyboard.handleKey(t,"Accordion",{toggle:function(){i.toggle(n)},next:function(){var t=e.next().find("a").focus();i.options.multiExpand||t.trigger("click.zf.accordion")},previous:function(){var t=e.prev().find("a").focus();i.options.multiExpand||t.trigger("click.zf.accordion")},handled:function(){t.preventDefault(),t.stopPropagation()}})})})}},{key:"toggle",value:function(t){t.parent().hasClass("is-active")?this.up(t):this.down(t)}},{key:"down",value:function(t,e){var n=this;t.attr("aria-hidden",!1).parent("[data-tab-content]").addBack().parent().addClass("is-active"),this.options.multiExpand||e||(e=this.$element.children(".is-active").children("[data-tab-content]")).length&&this.up(e.not(t)),t.slideDown(this.options.slideSpeed,function(){n.$element.trigger("down.zf.accordion",[t])}),s("#"+t.attr("aria-labelledby")).attr({"aria-expanded":!0,"aria-selected":!0})}},{key:"up",value:function(t){var e=t.parent().siblings(),n=this;(this.options.allowAllClosed||e.hasClass("is-active"))&&t.parent().hasClass("is-active")&&(t.slideUp(n.options.slideSpeed,function(){n.$element.trigger("up.zf.accordion",[t])}),t.attr("aria-hidden",!0).parent().removeClass("is-active"),s("#"+t.attr("aria-labelledby")).attr({"aria-expanded":!1,"aria-selected":!1}))}},{key:"destroy",value:function(){this.$element.find("[data-tab-content]").stop(!0).slideUp(0).css("display",""),this.$element.find("a").off(".zf.accordion"),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=s.extend({},n.defaults,this.$element.data(),e),this._init(),Foundation.registerPlugin(this,"Accordion"),Foundation.Keyboard.register("Accordion",{ENTER:"toggle",SPACE:"toggle",ARROW_DOWN:"next",ARROW_UP:"previous"})}t.defaults={slideSpeed:250,multiExpand:!1,allowAllClosed:!1},Foundation.plugin(t,"Accordion")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(a){var t=(_createClass(n,[{key:"_init",value:function(){this.$element.find("[data-submenu]").not(".is-active").slideUp(0),this.$element.attr({role:"menu","aria-multiselectable":this.options.multiOpen}),this.$menuLinks=this.$element.find(".is-accordion-submenu-parent"),this.$menuLinks.each(function(){var t=this.id||Foundation.GetYoDigits(6,"acc-menu-link"),e=a(this),n=e.children("[data-submenu]"),i=n[0].id||Foundation.GetYoDigits(6,"acc-menu"),o=n.hasClass("is-active");e.attr({"aria-controls":i,"aria-expanded":o,role:"menuitem",id:t}),n.attr({"aria-labelledby":t,"aria-hidden":!o,role:"menu",id:i})});
1var t,e=this.$element.find(".is-active");e.length&&(t=this,e.each(function(){t.down(a(this))})),this._events()}},{key:"_events",value:function(){var r=this;this.$element.find("li").each(function(){var e=a(this).children("[data-submenu]");e.length&&a(this).children("a").off("click.zf.accordionMenu").on("click.zf.accordionMenu",function(t){t.preventDefault(),r.toggle(e)})}).on("keydown.zf.accordionmenu",function(e){var n,i,o=a(this),s=o.parent("ul").children("li"),t=o.children("[data-submenu]");s.each(function(t){a(this).is(o)&&(n=s.eq(Math.max(0,t-1)).find("a").first(),i=s.eq(Math.min(t+1,s.length-1)).find("a").first(),a(this).children("[data-submenu]:visible").length&&(i=o.find("li:first-child").find("a").first()),a(this).is(":first-child")?n=o.parents("li").first().find("a").first():n.parents("li").first().children("[data-submenu]:visible").length&&(n=n.parents("li").find("li:last-child").find("a").first()),a(this).is(":last-child")&&(i=o.parents("li").first().next("li").find("a").first()))}),Foundation.Keyboard.handleKey(e,"AccordionMenu",{open:function(){t.is(":hidden")&&(r.down(t),t.find("li").first().find("a").first().focus())},close:function(){t.length&&!t.is(":hidden")?r.up(t):o.parent("[data-submenu]").length&&(r.up(o.parent("[data-submenu]")),o.parents("li").first().find("a").first().focus())},up:function(){return n.focus(),!0},down:function(){return i.focus(),!0},toggle:function(){o.children("[data-submenu]").length&&r.toggle(o.children("[data-submenu]"))},closeAll:function(){r.hideAll()},handled:function(t){t&&e.preventDefault(),e.stopImmediatePropagation()}})})}},{key:"hideAll",value:function(){this.up(this.$element.find("[data-submenu]"))}},{key:"showAll",value:function(){this.down(this.$element.find("[data-submenu]"))}},{key:"toggle",value:function(t){t.is(":animated")||(t.is(":hidden")?this.down(t):this.up(t))}},{key:"down",value:function(t){var e=this;this.options.multiOpen||this.up(this.$element.find(".is-active").not(t.parentsUntil(this.$element).add(t))),t.addClass("is-active").attr({"aria-hidden":!1}).parent(".is-accordion-submenu-parent").attr({"aria-expanded":!0}),t.slideDown(e.options.slideSpeed,function(){e.$element.trigger("down.zf.accordionMenu",[t])})}},{key:"up",value:function(t){var e=this;t.slideUp(e.options.slideSpeed,function(){e.$element.trigger("up.zf.accordionMenu",[t])}),t.find("[data-submenu]").slideUp(0).addBack().attr("aria-hidden",!0).parent(".is-accordion-submenu-parent").attr("aria-expanded",!1)}},{key:"destroy",value:function(){this.$element.find("[data-submenu]").slideDown(0).css("display",""),this.$element.find("a").off("click.zf.accordionMenu"),Foundation.Nest.Burn(this.$element,"accordion"),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=a.extend({},n.defaults,this.$element.data(),e),Foundation.Nest.Feather(this.$element,"accordion"),this._init(),Foundation.registerPlugin(this,"AccordionMenu"),Foundation.Keyboard.register("AccordionMenu",{ENTER:"toggle",SPACE:"toggle",ARROW_RIGHT:"open",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"close",ESCAPE:"closeAll"})}t.defaults={slideSpeed:250,multiOpen:!0},Foundation.plugin(t,"AccordionMenu")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(r){var t=(_createClass(n,[{key:"_init",value:function(){this.$submenuAnchors=this.$element.find("li.is-drilldown-submenu-parent").children("a"),this.$submenus=this.$submenuAnchors.parent("li").children("[data-submenu]"),this.$menuItems=this.$element.find("li").not(".js-drilldown-back").attr("role","menuitem").find("a"),this.$element.attr("data-mutate",this.$element.attr("data-drilldown")||Foundation.GetYoDigits(6,"drilldown")),this._prepareMenu(),this._registerEvents(),this._keyboardEvents()}},{key:"_prepareMenu",value:function(){var n=this;this.$submenuAnchors.each(function(){var t=r(this),e=t.parent();n.options.parentLink&&t.clone().prependTo(e.children("[data-submenu]")).wrap('<li class="is-submenu-parent-item is-submenu-item is-drilldown-submenu-item" role="menu-item"></li>'),t.data("savedHref",t.attr("href")).removeAttr("href").attr("tabindex",0),t.children("[data-submenu]").attr({"aria-hidden":!0,tabindex:0,role:"menu"}),n._events(t)}),this.$submenus.each(function(){var t=r(this);if(!t.find(".js-drilldown-back").length)switch(n.options.backButtonPosition){case"bottom":t.append(n.options.backButton);break;
1case"top":t.prepend(n.options.backButton);break;default:console.error("Unsupported backButtonPosition value '"+n.options.backButtonPosition+"'")}n._back(t)}),this.$submenus.addClass("invisible"),this.options.autoHeight||this.$submenus.addClass("drilldown-submenu-cover-previous"),this.$element.parent().hasClass("is-drilldown")||(this.$wrapper=r(this.options.wrapper).addClass("is-drilldown"),this.options.animateHeight&&this.$wrapper.addClass("animate-height"),this.$element.wrap(this.$wrapper)),this.$wrapper=this.$element.parent(),this.$wrapper.css(this._getMaxDims())}},{key:"_resize",value:function(){this.$wrapper.css({"max-width":"none","min-height":"none"}),this.$wrapper.css(this._getMaxDims())}},{key:"_events",value:function(n){var i=this;n.off("click.zf.drilldown").on("click.zf.drilldown",function(t){var e;r(t.target).parentsUntil("ul","li").hasClass("is-drilldown-submenu-parent")&&(t.stopImmediatePropagation(),t.preventDefault()),i._show(n.parent("li")),i.options.closeOnClick&&(e=r("body")).off(".zf.drilldown").on("click.zf.drilldown",function(t){t.target===i.$element[0]||r.contains(i.$element[0],t.target)||(t.preventDefault(),i._hideAll(),e.off(".zf.drilldown"))})}),this.$element.on("mutateme.zf.trigger",this._resize.bind(this))}},{key:"_registerEvents",value:function(){this.options.scrollTop&&(this._bindHandler=this._scrollTop.bind(this),this.$element.on("open.zf.drilldown hide.zf.drilldown closed.zf.drilldown",this._bindHandler))}},{key:"_scrollTop",value:function(){var t=this,e=""!=t.options.scrollTopElement?r(t.options.scrollTopElement):t.$element,e=parseInt(e.offset().top+t.options.scrollTopOffset);r("html, body").stop(!0).animate({scrollTop:e},t.options.animationDuration,t.options.animationEasing,function(){this===r("html")[0]&&t.$element.trigger("scrollme.zf.drilldown")})}},{key:"_keyboardEvents",value:function(){var t=this;this.$menuItems.add(this.$element.find(".js-drilldown-back > a, .is-submenu-parent-item > a")).on("keydown.zf.drilldown",function(e){var n,i,o=r(this),s=o.parent("li").parent("ul").children("li").children("a");s.each(function(t){r(this).is(o)&&(n=s.eq(Math.max(0,t-1)),i=s.eq(Math.min(t+1,s.length-1)))}),Foundation.Keyboard.handleKey(e,"Drilldown",{next:function(){if(o.is(t.$submenuAnchors))return t._show(o.parent("li")),o.parent("li").one(Foundation.transitionend(o),function(){o.parent("li").find("ul li a").filter(t.$menuItems).first().focus()}),!0},previous:function(){return t._hide(o.parent("li").parent("ul")),o.parent("li").parent("ul").one(Foundation.transitionend(o),function(){setTimeout(function(){o.parent("li").parent("ul").parent("li").children("a").first().focus()},1)}),!0},up:function(){return n.focus(),!o.is(t.$element.find("> li:first-child > a"))},down:function(){return i.focus(),!o.is(t.$element.find("> li:last-child > a"))},close:function(){o.is(t.$element.find("> li > a"))||(t._hide(o.parent().parent()),o.parent().parent().siblings("a").focus())},open:function(){return o.is(t.$menuItems)?o.is(t.$submenuAnchors)?(t._show(o.parent("li")),o.parent("li").one(Foundation.transitionend(o),function(){o.parent("li").find("ul li a").filter(t.$menuItems).first().focus()}),!0):void 0:(t._hide(o.parent("li").parent("ul")),o.parent("li").parent("ul").one(Foundation.transitionend(o),function(){setTimeout(function(){o.parent("li").parent("ul").parent("li").children("a").first().focus()},1)}),!0)},handled:function(t){t&&e.preventDefault(),e.stopImmediatePropagation()}})})}},{key:"_hideAll",value:function(){var e=this.$element.find(".is-drilldown-submenu.is-active").addClass("is-closing");this.options.autoHeight&&this.$wrapper.css({height:e.parent().closest("ul").data("calcHeight")}),e.one(Foundation.transitionend(e),function(t){e.removeClass("is-active is-closing")}),this.$element.trigger("closed.zf.drilldown")}},{key:"_back",value:function(e){var n=this;e.off("click.zf.drilldown"),e.children(".js-drilldown-back").on("click.zf.drilldown",function(t){t.stopImmediatePropagation(),n._hide(e);t=e.parent("li").parent("ul").parent("li");t.length&&n._show(t)})}},{key:"_menuLinkEvents",value:function(){var e=this;this.$menuItems.not(".is-drilldown-submenu-parent").off("click.zf.drilldown").on("click.zf.drilldown",function(t){setTimeout(function(){e._hideAll()},0)})}},{key:"_show",value:function(t){this.options.autoHeight&&this.$wrapper.css({height:t.children("[data-submenu]").data("calcHeight")}),t.attr("aria-expanded",!0),t.children("[data-submenu]").addClass("is-active").removeClass("invisible").attr("aria-hidden",!1),this.$element.trigger("open.zf.drilldown",[t])}},{key:"_hide",value:function(t){this.options.autoHeight&&this.$wrapper.css({height:t.parent().closest("ul").data("calcHeight")});t.parent("li").attr("aria-expanded",!1),t.attr("aria-hidden",!0).addClass("is-closing"),t.addClass("is-closing").one(Foundation.transitionend(t),function(){t.removeClass("is-active is-closing"),t.blur().addClass("invisible")}),t.trigger("hide.zf.drilldown",[t])}},{key:"_getMaxDims",value:function(){var e=0,n={},i=this;return this.$submenus.add(this.$element).each(function(){r(this).children("li").length;var t=Foundation.Box.GetDimensions(this).height;e=e<t?t:e,i.options.autoHeight&&(r(this).data("calcHeight",t),r(this).hasClass("is-drilldown-submenu")||(n.height=t))}),this.options.autoHeight||(n["min-height"]=e+"px"),n["max-width"]=this.$element[0].getBoundingClientRect().width+"px",n}},{key:"destroy",value:function(){this.options.scrollTop&&this.$element.off(".zf.drilldown",this._bindHandler),this._hideAll(),this.$element.off("mutateme.zf.trigger"),Foundation.Nest.Burn(this.$element,"drilldown"),this.$element.unwrap().find(".js-drilldown-back, .is-submenu-parent-item").remove().end().find(".is-active, .is-closing, .is-drilldown-submenu").removeClass("is-active is-closing is-drilldown-submenu").end().find("[data-submenu]").removeAttr("aria-hidden tabindex role"),this.$submenuAnchors.each(function(){r(this).off(".zf.drilldown")}),this.$submenus.removeClass("drilldown-submenu-cover-previous"),this.$element.find("a").each(function(){var t=r(this);t.removeAttr("tabindex"),t.data("savedHref")&&t.attr("href",t.data("savedHref")).removeData("savedHref")}),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=r.extend({},n.defaults,this.$element.data(),e),Foundation.Nest.Feather(this.$element,"drilldown"),this._init(),Foundation.registerPlugin(this,"Drilldown"),Foundation.Keyboard.register("Drilldown",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close",TAB:"down",SHIFT_TAB:"up"})}t.defaults={backButton:'<li class="js-drilldown-back"><a tabindex="0">Back</a></li>',backButtonPosition:"top",wrapper:"<div></div>",parentLink:!1,closeOnClick:!1,autoHeight:!1,animateHeight:!1,scrollTop:!1,scrollTopElement:"",scrollTopOffset:0,animationDuration:500,animationEasing:"swing"},Foundation.plugin(t,"Drilldown")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(i){var t=(_createClass(n,[{key:"_init",value:function(){var t=this.$element.attr("id");this.$anchor=i('[data-toggle="'+t+'"]').length?i('[data-toggle="'+t+'"]'):i('[data-open="'+t+'"]'),this.$anchor.attr({"aria-controls":t,"data-is-focus":!1,"data-yeti-box":t,"aria-haspopup":!0,"aria-expanded":!1}),this.options.parentClass?this.$parent=this.$element.parents("."+this.options.parentClass):this.$parent=null,this.options.positionClass=this.getPositionClass(),this.counter=4,this.usedPositions=[],this.$element.attr({"aria-hidden":"true","data-yeti-box":t,"data-resize":t,"aria-labelledby":this.$anchor[0].id||Foundation.GetYoDigits(6,"dd-anchor")}),this._events()}},{key:"getPositionClass",value:function(){var t=(t=this.$element[0].className.match(/(top|left|right|bottom)/g))?t[0]:"",e=/float-(\S+)/.exec(this.$anchor[0].className);return(e=e?e[1]:"")?e+" "+t:t}},{key:"_reposition",value:function(t){this.usedPositions.push(t||"bottom"),!t&&this.usedPositions.indexOf("top")<0?this.$element.addClass("top"):"top"===t&&this.usedPositions.indexOf("bottom")<0?this.$element.removeClass(t):"left"===t&&this.usedPositions.indexOf("right")<0?this.$element.removeClass(t).addClass("right"):"right"===t&&this.usedPositions.indexOf("left")<0?this.$element.removeClass(t).addClass("left"):!t&&-1<this.usedPositions.indexOf("top")&&this.usedPositions.indexOf("left")<0?this.$element.addClass("left"):"top"===t&&-1<this.usedPositions.indexOf("bottom")&&this.usedPositions.indexOf("left")<0?this.$element.removeClass(t).addClass("left"):("left"===t&&-1<this.usedPositions.indexOf("right")&&this.usedPositions.indexOf("bottom")<0||"right"===t&&-1<this.usedPositions.indexOf("left")&&this.usedPositions.indexOf("bottom"),this.$element.removeClass(t)),this.classChanged=!0,this.counter--}},{key:"_setPosition",value:function(){if("false"===this.$anchor.attr("aria-expanded"))return!1;var t=this.getPositionClass(),e=Foundation.Box.GetDimensions(this.$element);Foundation.Box.GetDimensions(this.$anchor),"height"==("top"==("left"===t||"right"===t?"left":"top")?"height":"width")?this.options.vOffset:this.options.hOffset;if(e.width>=e.windowDims.width||!this.counter&&!Foundation.Box.ImNotTouchingYou(this.$element,this.$parent)){var n=e.windowDims.width,i=0;return this.$parent&&(i=(e=Foundation.Box.GetDimensions(this.$parent)).offset.left,e.width<n&&(n=e.width)),this.$element.offset(Foundation.Box.GetOffsets(this.$element,this.$anchor,"center bottom",this.options.vOffset,this.options.hOffset+i,!0)).css({width:n-2*this.options.hOffset,height:"auto"}),!(this.classChanged=!0)}for(this.$element.offset(Foundation.Box.GetOffsets(this.$element,this.$anchor,t,this.options.vOffset,this.options.hOffset));!Foundation.Box.ImNotTouchingYou(this.$element,this.$parent,!0)&&this.counter;)this._reposition(t),this._setPosition()}},{key:"_events",value:function(){var n=this;this.$element.on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":this.close.bind(this),"toggle.zf.trigger":this.toggle.bind(this),"resizeme.zf.trigger":this._setPosition.bind(this)}),this.options.hover&&(this.$anchor.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown",function(){var t=i("body").data();void 0!==t.whatinput&&"mouse"!==t.whatinput||(clearTimeout(n.timeout),n.timeout=setTimeout(function(){n.open(),n.$anchor.data("hover",!0)},n.options.hoverDelay))}).on("mouseleave.zf.dropdown",function(){clearTimeout(n.timeout),n.timeout=setTimeout(function(){n.close(),n.$anchor.data("hover",!1)},n.options.hoverDelay)}),this.options.hoverPane&&this.$element.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown",function(){clearTimeout(n.timeout)}).on("mouseleave.zf.dropdown",function(){clearTimeout(n.timeout),n.timeout=setTimeout(function(){n.close(),n.$anchor.data("hover",!1)},n.options.hoverDelay)})),this.$anchor.add(this.$element).on("keydown.zf.dropdown",function(t){var e=i(this);Foundation.Keyboard.findFocusable(n.$element);Foundation.Keyboard.handleKey(t,"Dropdown",{open:function(){e.is(n.$anchor)&&(n.open(),n.$element.attr("tabindex",-1).focus(),t.preventDefault())},close:function(){n.close(),n.$anchor.focus()}})})}},{key:"_addBodyHandler",value:function(){var e=i(document.body).not(this.$element),n=this;e.off("click.zf.dropdown").on("click.zf.dropdown",function(t){n.$anchor.is(t.target)||n.$anchor.find(t.target).length||n.$element.find(t.target).length||(n.close(),e.off("click.zf.dropdown"))})}},{key:"open",value:function(){var t;this.$element.trigger("closeme.zf.dropdown",this.$element.attr("id")),this.$anchor.addClass("hover").attr({"aria-expanded":!0}),this._setPosition(),this.$element.addClass("is-open").attr({"aria-hidden":!1}),!this.options.autoFocus||(t=Foundation.Keyboard.findFocusable(this.$element)).length&&t.eq(0).focus(),this.options.closeOnClick&&this._addBodyHandler(),this.options.trapFocus&&Foundation.Keyboard.trapFocus(this.$element),this.$element.trigger("show.zf.dropdown",[this.$element])}},{key:"close",value:function(){if(!this.$element.hasClass("is-open"))return!1;var t;this.$element.removeClass("is-open").attr({"aria-hidden":!0}),this.$anchor.removeClass("hover").attr("aria-expanded",!1),this.classChanged&&((t=this.getPositionClass())&&this.$element.removeClass(t),this.$element.addClass(this.options.positionClass).css({height:"",width:""}),this.classChanged=!1,this.counter=4,this.usedPositions.length=0),this.$element.trigger("hide.zf.dropdown",[this.$element]),this.options.trapFocus&&Foundation.Keyboard.releaseFocus(this.$element)}},{key:"toggle",value:function(){this.$element.hasClass("is-open")?this.$anchor.data("hover")||this.close():this.open()}},{key:"destroy",value:function(){this.$element.off(".zf.trigger").hide(),this.$anchor.off(".zf.dropdown"),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=i.extend({},n.defaults,this.$element.data(),e),this._init(),Foundation.registerPlugin(this,"Dropdown"),Foundation.Keyboard.register("Dropdown",{ENTER:"open",SPACE:"open",ESCAPE:"close"})}t.defaults={parentClass:null,hoverDelay:250,hover:!1,hoverPane:!1,vOffset:1,hOffset:1,positionClass:"",trapFocus:!1,autoFocus:!1,closeOnClick:!1},Foundation.plugin(t,"Dropdown")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(d){var t=(_createClass(n,[{key:"_init",value:function(){var t=this.$element.find("li.is-dropdown-submenu-parent");this.$element.children(".is-dropdown-submenu-parent").children(".is-dropdown-submenu").addClass("first-sub"),this.$menuItems=this.$element.find('[role="menuitem"]'),this.$tabs=this.$element.children('[role="menuitem"]'),this.$tabs.find("ul.is-dropdown-submenu").addClass(this.options.verticalClass),this.$element.hasClass(this.options.rightClass)||"right"===this.options.alignment||Foundation.rtl()||this.$element.parents(".top-bar-right").is("*")?(this.options.alignment="right",t.addClass("opens-left")):t.addClass("opens-right"),this.changed=!1,this._events()}},{key:"_isVertical",value:function(){return"block"===this.$tabs.css("display")}},{key:"_events",value:function(){var h=this,s="ontouchstart"in window||void 0!==window.ontouchstart,r="is-dropdown-submenu-parent";(this.options.clickOpen||s)&&this.$menuItems.on("click.zf.dropdownmenu touchstart.zf.dropdownmenu",function(t){var e=d(t.target).parentsUntil("ul","."+r),n=e.hasClass(r),i="true"===e.attr("data-is-click"),o=e.children(".is-dropdown-submenu");n&&(i?!h.options.closeOnClick||!h.options.clickOpen&&!s||h.options.forceFollow&&s||(t.stopImmediatePropagation(),t.preventDefault(),h._hide(e)):(t.preventDefault(),t.stopImmediatePropagation(),h._show(o),e.add(e.parentsUntil(h.$element,"."+r)).attr("data-is-click",!0)))}),h.options.closeOnClickInside&&this.$menuItems.on("click.zf.dropdownmenu",function(t){d(this).hasClass(r)||h._hide()}),this.options.disableHover||this.$menuItems.on("mouseenter.zf.dropdownmenu",function(t){var e=d(this);e.hasClass(r)&&(clearTimeout(e.data("_delay")),e.data("_delay",setTimeout(function(){h._show(e.children(".is-dropdown-submenu"))},h.options.hoverDelay)))}).on("mouseleave.zf.dropdownmenu",function(t){var e=d(this);if(e.hasClass(r)&&h.options.autoclose){if("true"===e.attr("data-is-click")&&h.options.clickOpen)return!1;clearTimeout(e.data("_delay")),e.data("_delay",setTimeout(function(){h._hide(e)},h.options.closingTime))}}),this.$menuItems.on("keydown.zf.dropdownmenu",function(e){var n,i,o=d(e.target).parentsUntil("ul",'[role="menuitem"]'),t=-1<h.$tabs.index(o),s=t?h.$tabs:o.siblings("li").add(o);s.each(function(t){d(this).is(o)&&(n=s.eq(t-1),i=s.eq(t+1))});function r(){o.is(":last-child")||(i.children("a:first").focus(),e.preventDefault())}function a(){n.children("a:first").focus(),e.preventDefault()}f
1unction l(){var t=o.children("ul.is-dropdown-submenu");t.length&&(h._show(t),o.find("li > a:first").focus(),e.preventDefault())}function u(){var t=o.parent("ul").parent("li");t.children("a:first").focus(),h._hide(t),e.preventDefault()}var c={open:l,close:function(){h._hide(h.$element),h.$menuItems.find("a:first").focus(),e.preventDefault()},handled:function(){e.stopImmediatePropagation()}};t?h._isVertical()?Foundation.rtl()?d.extend(c,{down:r,up:a,next:u,previous:l}):d.extend(c,{down:r,up:a,next:l,previous:u}):Foundation.rtl()?d.extend(c,{next:a,previous:r,down:l,up:u}):d.extend(c,{next:r,previous:a,down:l,up:u}):Foundation.rtl()?d.extend(c,{next:u,previous:l,down:r,up:a}):d.extend(c,{next:l,previous:u,down:r,up:a}),Foundation.Keyboard.handleKey(e,"DropdownMenu",c)})}},{key:"_addBodyHandler",value:function(){var e=d(document.body),n=this;e.off("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu").on("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu",function(t){n.$element.find(t.target).length||(n._hide(),e.off("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu"))})}},{key:"_show",value:function(n){var t=this.$tabs.index(this.$tabs.filter(function(t,e){return 0<d(e).find(n).length})),e=n.parent("li.is-dropdown-submenu-parent").siblings("li.is-dropdown-submenu-parent");this._hide(e,t),n.css("visibility","hidden").addClass("js-dropdown-active").parent("li.is-dropdown-submenu-parent").addClass("is-active");var i=Foundation.Box.ImNotTouchingYou(n,null,!0);i||(e="left"===this.options.alignment?"-right":"-left",(t=n.parent(".is-dropdown-submenu-parent")).removeClass("opens"+e).addClass("opens-"+this.options.alignment),Foundation.Box.ImNotTouchingYou(n,null,!0)||t.removeClass("opens-"+this.options.alignment).addClass("opens-inner"),this.changed=!0),n.css("visibility",""),this.options.closeOnClick&&this._addBodyHandler(),this.$element.trigger("show.zf.dropdownmenu",[n])}},{key:"_hide",value:function(t,n){var e=t&&t.length?t:void 0!==n?this.$tabs.not(function(t,e){return t===n}):this.$element;(e.hasClass("is-active")||0<e.find(".is-active").length)&&(e.find("li.is-active").add(e).attr({"data-is-click":!1}).removeClass("is-active"),e.find("ul.js-dropdown-active").removeClass("js-dropdown-active"),(this.changed||e.find("opens-inner").length)&&(t="left"===this.options.alignment?"right":"left",e.find("li.is-dropdown-submenu-parent").add(e).removeClass("opens-inner opens-"+this.options.alignment).addClass("opens-"+t),this.changed=!1),this.$element.trigger("hide.zf.dropdownmenu",[e]))}},{key:"destroy",value:function(){this.$menuItems.off(".zf.dropdownmenu").removeAttr("data-is-click").removeClass("is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner"),d(document.body).off(".zf.dropdownmenu"),Foundation.Nest.Burn(this.$element,"dropdown"),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=d.extend({},n.defaults,this.$element.data(),e),Foundation.Nest.Feather(this.$element,"dropdown"),this._init(),Foundation.registerPlugin(this,"DropdownMenu"),Foundation.Keyboard.register("DropdownMenu",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close"})}t.defaults={disableHover:!1,autoclose:!0,hoverDelay:50,clickOpen:!1,closingTime:500,alignment:"left",closeOnClick:!0,closeOnClickInside:!0,verticalClass:"vertical",rightClass:"align-right",forceFollow:!0},Foundation.plugin(t,"DropdownMenu")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(c){var t=(_createClass(n,[{key:"_init",value:function(){var t=this.$element.attr("data-equalizer")||"",e=this.$element.find('[data-equalizer-watch="'+t+'"]');this.$watched=e.length?e:this.$element.find("[data-equalizer-watch]"),this.$element.attr("data-resize",t||Foundation.GetYoDigits(6,"eq")),this.$element.attr("data-mutate",t||Foundation.GetYoDigits(6,"eq")),this.hasNested=0<this.$element.find("[data-equalizer]").length,this.isNested=0<this.$element.parentsUntil(document.body,"[data-equalizer]").length,this.isOn=!1,this._bindHandler={onResizeMeBound:this._onResizeMe.bind(this),onPostEqualizedBound:this._onPostEqualized.bind(this)};var n,t=this.$element.find("img");this.options.equalizeOn?(n=this._checkMQ(),c(window).on("changed.zf.mediaquery",this._checkMQ.bind(this))):this._events(),(void 0!==n&&!1===n||void 0===n)&&(t.length?Foundation.onImagesLoaded(t,this._reflow.bind(this)):this._reflow())}},{key:"_pauseEvents",value:function(){this.isOn=!1,this.$element.off({".zf.equal
1izer":this._bindHandler.onPostEqualizedBound,"resizeme.zf.trigger":this._bindHandler.onResizeMeBound,"mutateme.zf.trigger":this._bindHandler.onResizeMeBound})}},{key:"_onResizeMe",value:function(t){this._reflow()}},{key:"_onPostEqualized",value:function(t){t.target!==this.$element[0]&&this._reflow()}},{key:"_events",value:function(){this._pauseEvents(),this.hasNested?this.$element.on("postequalized.zf.equalizer",this._bindHandler.onPostEqualizedBound):(this.$element.on("resizeme.zf.trigger",this._bindHandler.onResizeMeBound),this.$element.on("mutateme.zf.trigger",this._bindHandler.onResizeMeBound)),this.isOn=!0}},{key:"_checkMQ",value:function(){var t=!Foundation.MediaQuery.is(this.options.equalizeOn);return t?this.isOn&&(this._pauseEvents(),this.$watched.css("height","auto")):this.isOn||this._events(),t}},{key:"_killswitch",value:function(){}},{key:"_reflow",value:function(){if(!this.options.equalizeOnStack&&this._isStacked())return this.$watched.css("height","auto"),!1;this.options.equalizeByRow?this.getHeightsByRow(this.applyHeightByRow.bind(this)):this.getHeights(this.applyHeight.bind(this))}},{key:"_isStacked",value:function(){return!this.$watched[0]||!this.$watched[1]||this.$watched[0].getBoundingClientRect().top!==this.$watched[1].getBoundingClientRect().top}},{key:"getHeights",value:function(t){for(var e=[],n=0,i=this.$watched.length;n<i;n++)this.$watched[n].style.height="auto",e.push(this.$watched[n].offsetHeight);t(e)}},{key:"getHeightsByRow",value:function(t){var e=this.$watched.length?this.$watched.first().offset().top:0,n=[],i=0;n[i]=[];for(var o=0,s=this.$watched.length;o<s;o++){this.$watched[o].style.height="auto";var r=c(this.$watched[o]).offset().top;r!=e&&(n[++i]=[],e=r),n[i].push([this.$watched[o],this.$watched[o].offsetHeight])}for(var a=0,l=n.length;a<l;a++){var u=c(n[a]).map(function(){return this[1]}).get(),u=Math.max.apply(null,u);n[a].push(u)}t(n)}},{key:"applyHeight",value:function(t){t=Math.max.apply(null,t);this.$element.trigger("preequalized.zf.equalizer"),this.$watched.css("height",t),this.$element.trigger("postequalized.zf.equalizer")}},{key:"applyHeightByRow",value:function(t){this.$element.trigger("preequalized.zf.equalizer");for(var e=0,n=t.length;e<n;e++){var i=t[e].length,o=t[e][i-1];if(i<=2)c(t[e][0][0]).css({height:"auto"});else{this.$element.trigger("preequalizedrow.zf.equalizer");for(var s=0,r=i-1;s<r;s++)c(t[e][s][0]).css({height:o});this.$element.trigger("postequalizedrow.zf.equalizer")}}this.$element.trigger("postequalized.zf.equalizer")}},{key:"destroy",value:function(){this._pauseEvents(),this.$watched.css("height","auto"),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=c.extend({},n.defaults,this.$element.data(),e),this._init(),Foundation.registerPlugin(this,"Equalizer")}t.defaults={equalizeOnStack:!1,equalizeByRow:!1,equalizeOn:""},Foundation.plugin(t,"Equalizer")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(o){var t=(_createClass(r,[{key:"_init",value:function(){this._addBreakpoints(),this._generateRules(),this._reflow()}},{key:"_events",value:function(){var t=this;o(window).on("resize.zf.interchange",Foundation.util.throttle(function(){t._reflow()},50))}},{key:"_reflow",value:function(){var t,e,n;for(e in this.rules)this.rules.hasOwnProperty(e)&&(n=this.rules[e],window.matchMedia(n.query).matches&&(t=n));t&&this.replace(t.path)}},{key:"_addBreakpoints",value:function(){for(var t in Foundation.MediaQuery.queries)Foundation.MediaQuery.queries.hasOwnProperty(t)&&(t=Foundation.MediaQuery.queries[t],r.SPECIAL_QUERIES[t.name]=t.value)}},{key:"_generateRules",value:function(t){var e,n,i,o=[],s=this.options.rules||this.$element.data("interchange");for(e in s="string"==typeof s?s.match(/\[.*?\]/g):s)s.hasOwnProperty(e)&&(n=(i=s[e].slice(1,-1).split(", ")).slice(0,-1).join(""),i=i[i.length-1],r.SPECIAL_QUERIES[i]&&(i=r.SPECIAL_QUERIES[i]),o.push({path:n,query:i}));this.rules=o}},{key:"replace",value:function(e){var n,i;this.currentPath!==e&&(i="replaced.zf.interchange","IMG"===(n=this).$element[0].nodeName?this.$element.attr("src",e).on("load",function(){n.currentPath=e}).trigger(i):e.match(/\.(gif|jpg|jpeg|png|svg|tiff)([?#].*)?/i)?this.$element.css({"background-image":"url("+e+")"}).trigger(i):o.get(e,function(t){n.$element.html(t).trigger(i),o(t).foundation(),n.currentPath=e}))}},{key:"destroy",value:function(){}}]),r);function r(t,e){_classCallCheck(this,r),this.$element=t,this.options=o.extend({},r.defaults,e),this.rules=[],this.currentPath="",this._init(),this._events(),Foundation.registerPlugin(this,"Interchange")}t.defaults={rules:null},t.SPECIAL_QUERIES={landscape:"screen and (orientation: landscape)",portrait:"screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)"},Foundation.plugin(t,"Interchange")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(i){var t=(_createClass(n,[{key:"_init",value:function(){var t=this.$element[0].id||Foundation.GetYoDigits(6,"magellan");this.$targets=i("[data-magellan-target]"),this.$links=this.$element.find("a"),this.$element.attr({"data-resize":t,"data-scroll":t,id:t}),this.$active=i(),this.scrollPos=parseInt(window.pageYOffset,10),this._events()}},{key:"calcPoints",value:function(){var n=this,t=document.body,e=document.documentElement;this.points=[],this.winHeight=Math.round(Math.max(window.innerHeight,e.clientHeight)),this.docHeight=Math.round(Math.max(t.scrollHeight,t.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight)),this.$targets.each(function(){var t=i(this),e=Math.round(t.offset().top-n.options.threshold);t.targetPoint=e,n.points.push(e)})}},{key:"_events",value:function(){var e=this;i("html, body"),e.options.animationDuration,e.options.animationEasing;i(window).one("load",function(){e.options.deepLinking&&location.hash&&e.scrollToLoc(location.hash),e.calcPoints(),e._updateActive()}),this.$element.on({"resizeme.zf.trigger":this.reflow.bind(this),"scrollme.zf.trigger":this._updateActive.bind(this)}).on("click.zf.magellan",'a[href^="#"]',function(t){t.preventDefault();t=this.getAttribute("href");e.scrollToLoc(t)}),i(window).on("popstate",function(t){e.options.deepLinking&&e.scrollToLoc(window.location.hash)})}},{key:"scrollToLoc",value:function(t){if(!i(t).length)return!1;this._inTransition=!0;var e=this,t=Math.round(i(t).offset().top-this.options.threshold/2-this.options.barOffset);i("html, body").stop(!0).animate({scrollTop:t},this.options.animationDuration,this.options.animationEasing,function(){e._inTransition=!1,e._updateActive()})}},{key:"reflow",value:function(){this.calcPoints(),this._updateActive()}},{key:"_updateActive",value:function(){var n,i,o,t,e;this._inTransition||(t=(n=parseInt(window.pageYOffset,10))+this.winHeight===this.docHeight?this.points.length-1:n<this.points[0]?void 0:(i=this.scrollPos<n,(e=(o=this).points.filter(function(t,e){return i?t-o.options.barOffset<=n:t-o.options.barOffset-o.options.threshold<=n})).length?e.length-1:0),this.$active.removeClass(this.options.activeClass),this.$active=this.$links.filter('[href="#'+this.$targets.eq(t).data("magellan-target")+'"]').addClass(this.options.activeClass),this.options.deepLinking&&(e="",(e=null!=t?this.$active[0].getAttribute("href"):e)!==window.location.hash&&(window.history.pushState?window.history.pushState(null,null,e):window.location.hash=e)),this.scrollPos=n,this.$element.trigger("update.zf.magellan",[this.$active]))}},{key:"destroy",value:function(){var t;this.$element.off(".zf.trigger .zf.magellan").find("."+this.options.activeClass).removeClass(this.options.activeClass),this.options.deepLinking&&(t=this.$active[0].getAttribute("href"),window.location.hash.replace(t,"")),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=i.extend({},n.defaults,this.$element.data(),e),this._init(),this.calcPoints(),Foundation.registerPlugin(this,"Magellan")}t.defaults={animationDuration:500,animationEasing:"linear",threshold:50,activeClass:"active",deepLinking:!1,barOffset:0},Foundation.plugin(t,"Magellan")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(i){var t=(_createClass(n,[{key:"_init",value:function(){var t,e=this.$element.attr("id");this.$element.attr("aria-hidden","true"),this.$element.addClass("is-transition-"+this.options.transition),this.$triggers=i(document).find('[data-open="'+e+'"], [data-close="'+e+'"], [data-toggle="'+e+'"]').attr("aria-expanded","fal
1se").attr("aria-controls",e),!0===this.options.contentOverlay&&(t=document.createElement("div"),e="fixed"===i(this.$element).css("position")?"is-overlay-fixed":"is-overlay-absolute",t.setAttribute("class","js-off-canvas-overlay "+e),this.$overlay=i(t),("is-overlay-fixed"==e?i("body"):this.$element.siblings("[data-off-canvas-content]")).append(this.$overlay)),this.options.isRevealed=this.options.isRevealed||new RegExp(this.options.revealClass,"g").test(this.$element[0].className),!0===this.options.isRevealed&&(this.options.revealOn=this.options.revealOn||this.$element[0].className.match(/(reveal-for-medium|reveal-for-large)/g)[0].split("-")[2],this._setMQChecker()),!0==!this.options.transitionTime&&(this.options.transitionTime=1e3*parseFloat(window.getComputedStyle(i("[data-off-canvas]")[0]).transitionDuration))}},{key:"_events",value:function(){this.$element.off(".zf.trigger .zf.offcanvas").on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":this.close.bind(this),"toggle.zf.trigger":this.toggle.bind(this),"keydown.zf.offcanvas":this._handleKeyboard.bind(this)}),!0===this.options.closeOnClick&&(this.options.contentOverlay?this.$overlay:i("[data-off-canvas-content]")).on({"click.zf.offcanvas":this.close.bind(this)})}},{key:"_setMQChecker",value:function(){var t=this;i(window).on("changed.zf.mediaquery",function(){Foundation.MediaQuery.atLeast(t.options.revealOn)?t.reveal(!0):t.reveal(!1)}).one("load.zf.offcanvas",function(){Foundation.MediaQuery.atLeast(t.options.revealOn)&&t.reveal(!0)})}},{key:"reveal",value:function(t){var e=this.$element.find("[data-close]");t?(this.close(),this.isRevealed=!0,this.$element.attr("aria-hidden","false"),this.$element.off("open.zf.trigger toggle.zf.trigger"),e.length&&e.hide()):(this.isRevealed=!1,this.$element.attr("aria-hidden","true"),this.$element.on({"open.zf.trigger":this.open.bind(this),"toggle.zf.trigger":this.toggle.bind(this)}),e.length&&e.show())}},{key:"_stopScrolling",value:function(t){return!1}},{key:"_recordScrollable",value:function(t){var e=this;e.scrollHeight!==e.clientHeight&&(0===e.scrollTop&&(e.scrollTop=1),e.scrollTop===e.scrollHeight-e.clientHeight&&(e.scrollTop=e.scrollHeight-e.clientHeight-1)),e.allowUp=0<e.scrollTop,e.allowDown=e.scrollTop<e.scrollHeight-e.clientHeight,e.lastY=t.originalEvent.pageY}},{key:"_stopScrollPropagation",value:function(t){var e=t.pageY<this.lastY,n=!e;this.lastY=t.pageY,e&&this.allowUp||n&&this.allowDown?t.stopPropagation():t.preventDefault()}},{key:"open",value:function(t,e){var n;this.$element.hasClass("is-open")||this.isRevealed||(n=this,e&&(this.$lastTrigger=e),"top"===this.options.forceTo?window.scrollTo(0,0):"bottom"===this.options.forceTo&&window.scrollTo(0,document.body.scrollHeight),n.$element.addClass("is-open"),this.$triggers.attr("aria-expanded","true"),this.$element.attr("aria-hidden","false").trigger("opened.zf.offcanvas"),!1===this.options.contentScroll&&(i("body").addClass("is-off-canvas-open").on("touchmove",this._stopScrolling),this.$element.on("touchstart",this._recordScrollable),this.$element.on("touchmove",this._stopScrollPropagation)),!0===this.options.contentOverlay&&this.$overlay.addClass("is-visible"),!0===this.options.closeOnClick&&!0===this.options.contentOverlay&&this.$overlay.addClass("is-closable"),!0===this.options.autoFocus&&this.$element.one(Foundation.transitionend(this.$element),function(){n.$element.find("a, button").eq(0).focus()}),!0===this.options.trapFocus&&(this.$element.siblings("[data-off-canvas-content]").attr("tabindex","-1"),Foundation.Keyboard.trapFocus(this.$element)))}},{key:"close",value:function(t){this.$element.hasClass("is-open")&&!this.isRevealed&&(this.$element.removeClass("is-open"),this.$element.attr("aria-hidden","true").trigger("closed.zf.offcanvas"),!1===this.options.contentScroll&&(i("body").removeClass("is-off-canvas-open").off("touchmove",this._stopScrolling),this.$element.off("touchstart",this._recordScrollable),this.$element.off("touchmove",this._stopScrollPropagation)),!0===this.options.contentOverlay&&this.$overlay.removeClass("is-visible"),!0===this.options.closeOnClick&&!0===this.options.contentOverlay&&this.$overlay.removeClass("is-closable"),this.$triggers.attr("aria-expanded","fal
1se"),!0===this.options.trapFocus&&(this.$element.siblings("[data-off-canvas-content]").removeAttr("tabindex"),Foundation.Keyboard.releaseFocus(this.$element)))}},{key:"toggle",value:function(t,e){this.$element.hasClass("is-open")?this.close(t,e):this.open(t,e)}},{key:"_handleKeyboard",value:function(t){var e=this;Foundation.Keyboard.handleKey(t,"OffCanvas",{close:function(){return e.close(),e.$lastTrigger.focus(),!0},handled:function(){t.stopPropagation(),t.preventDefault()}})}},{key:"destroy",value:function(){this.close(),this.$element.off(".zf.trigger .zf.offcanvas"),this.$overlay.off(".zf.offcanvas"),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=i.extend({},n.defaults,this.$element.data(),e),this.$lastTrigger=i(),this.$triggers=i(),this._init(),this._events(),Foundation.registerPlugin(this,"OffCanvas"),Foundation.Keyboard.register("OffCanvas",{ESCAPE:"close"})}t.defaults={closeOnClick:!0,contentOverlay:!0,contentScroll:!0,transitionTime:0,transition:"push",forceTo:null,isRevealed:!1,revealOn:null,autoFocus:!0,revealClass:"reveal-for-",trapFocus:!1},Foundation.plugin(t,"OffCanvas")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(s){var t=(_createClass(n,[{key:"_init",value:function(){this._reset(),this.$wrapper=this.$element.find("."+this.options.containerClass),this.$slides=this.$element.find("."+this.options.slideClass);var t=this.$element.find("img"),e=this.$slides.filter(".is-active"),n=this.$element[0].id||Foundation.GetYoDigits(6,"orbit");this.$element.attr({"data-resize":n,id:n}),e.length||this.$slides.eq(0).addClass("is-active"),this.options.useMUI||this.$slides.addClass("no-motionui"),t.length?Foundation.onImagesLoaded(t,this._prepareForOrbit.bind(this)):this._prepareForOrbit(),this.options.bullets&&this._loadBullets(),this._events(),this.options.autoPlay&&1<this.$slides.length&&this.geoSync(),this.options.accessible&&this.$wrapper.attr("tabindex",0)}},{key:"_loadBullets",value:function(){this.$bullets=this.$element.find("."+this.options.boxOfBullets).find("button")}},{key:"geoSync",value:function(){var t=this;this.timer=new Foundation.Timer(this.$element,{duration:this.options.timerDelay,infinite:!1},function(){t.changeSlide(!0)}),this.timer.start()}},{key:"_prepareForOrbit",value:function(){this._setWrapperHeight()}},{key:"_setWrapperHeight",value:function(t){var e,n=0,i=0,o=this;this.$slides.each(function(){e=this.getBoundingClientRect().height,s(this).attr("data-slide",i),o.$slides.filter(".is-active")[0]!==o.$slides.eq(i)[0]&&s(this).css({position:"relative",display:"none"}),n=n<e?e:n,i++}),i===this.$slides.length&&(this.$wrapper.css({height:n}),t&&t(n))}},{key:"_setSlideHeight",value:function(t){this.$slides.each(function(){s(this).css("max-height",t)})}},{key:"_events",value:function(){var i=this;this.$element.off(".resizeme.zf.trigger").on({"resizeme.zf.trigger":this._prepareForOrbit.bind(this)}),1<this.$slides.length&&(this.options.swipe&&this.$slides.off("swipeleft.zf.orbit swiperight.zf.orbit").on("swipeleft.zf.orbit",function(t){t.preventDefault(),i.changeSlide(!0)}).on("swiperight.zf.orbit",function(t){t.preventDefault(),i.changeSlide(!1)}),this.options.autoPlay&&(this.$slides.on("click.zf.orbit",function(){i.$element.data("clickedOn",!i.$element.data("clickedOn")),i.timer[i.$element.data("clickedOn")?"pause":"start"]()}),this.options.pauseOnHover&&this.$element.on("mouseenter.zf.orbit",function(){i.timer.pause()}).on("mouseleave.zf.orbit",function(){i.$element.data("clickedOn")||i.timer.start()})),this.options.navButtons&&this.$element.find("."+this.options.nextClass+", ."+this.options.prevClass).attr("tabindex",0).on("click.zf.orbit touchend.zf.orbit",function(t){t.preventDefault(),i.changeSlide(s(this).hasClass(i.options.nextClass))}),this.options.bullets&&this.$bullets.on("click.zf.orbit touchend.zf.orbit",function(){if(/is-active/g.test(this.className))return!1;var t=s(this).data("slide"),e=t>i.$slides.filter(".is-active").data("slide"),n=i.$slides.eq(t);i.changeSlide(e,n,t)}),this.options.accessible&&this.$wrapper.add(this.$bullets).on("keydown.zf.orbit",function(t){Foundation.Keyboard.handleKey(t,"Orbit",{next:function(){i.changeSlide(!0)},previous:function(){i.changeSlide(!1)},handled:function(){s(t.target).is(i.$bullets)&&i.$bullets.filter(".is-active").focus()}})}))}},{key:"_reset",value:function(){void 0!==this.$slides&&1<this.$slides.length&&(this.$element.off(".zf.orbit").find("*").off(".zf.orbit"),this.options.autoPlay&&this.timer.restart(),this.$slides.each(function(t){s(t).removeClass("is-active is-active is-in").removeAttr("aria-live").hide()}),this.$slides.first().addClass("is-active").show(),this.$element.trigger("slidechange.zf.orbit",[this.$slides.first()]),this.options.bullets&&this._updateBullets(0))}},{key:"changeSlide",value:function(t,e,n){if(this.$slides){var i=this.$slides.filter(".is-active").eq(0);if(/mui/g.test(i[0].className))return!1;var o=this.$slides.first(),s=this.$slides.last(),r=t?"Right":"Left",a=t?"Left":"Right",l=this,u=e||(t?!this.options.infiniteWrap||i.next("."+this.options.slideClass).length?i.next("."+this.options.slideClass):o:!this.options.infiniteWrap||i.prev("."+this.options.slideClass).length?i.prev("."+this.options.slideClass):s);u.length&&(this.$element.trigger("beforeslidechange.zf.orbit",[i,u]),this.options.bullets&&(n=n||this.$slides.index(u),this._updateBullets(n)),this.options.useMUI&&!this.$element.is(":hidden")?(Foundation.Motion.animateIn(u.addClass("is-active").css({position:"absolute",top:0}),this.options["animInFrom"+r],function(){u.css({position:"relative",display:"block"}).attr("aria-live","polite")}),Foundation.Motion.animateOut(i.removeClass("is-active"),this.options["animOutTo"+a],function(){i.removeAttr("aria-live"),l.options.autoPlay&&!l.timer.isPaused&&l.timer.restart()})):(i.removeClass("is-active is-in").removeAttr("aria-live").hide(),u.addClass("is-active is-in").attr("aria-live","polite").show(),this.options.autoPlay&&!this.timer.isPaused&&this.timer.restart()),this.$element.trigger("slidechange.zf.orbit",[u]))}}},{key:"_updateBullets",value:function(t){var e=this.$element.find("."+this.options.boxOfBullets).find(".is-active").removeClass("is-active").blur().find("span:last").detach();this.$bullets.eq(t).addClass("is-active").append(e)}},{key:"destroy",value:function(){this.$element.off(".zf.orbit").find("*").off(".zf.orbit").end().hide(),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=s.extend({},n.defaults,this.$element.data(),e),this._init(),Foundation.registerPlugin(this,"Orb
1it"),Foundation.Keyboard.register("Orbit",{ltr:{ARROW_RIGHT:"next",ARROW_LEFT:"previous"},rtl:{ARROW_LEFT:"next",ARROW_RIGHT:"previous"}})}t.defaults={bullets:!0,navButtons:!0,animInFromRight:"slide-in-right",animOutToRight:"slide-out-right",animInFromLeft:"slide-in-left",animOutToLeft:"slide-out-left",autoPlay:!0,timerDelay:5e3,infiniteWrap:!0,swipe:!0,pauseOnHover:!0,accessible:!0,containerClass:"orbit-container",slideClass:"orbit-slide",boxOfBullets:"orbit-bullets",nextClass:"orbit-next",prevClass:"orbit-previous",useMUI:!0},Foundation.plugin(t,"Orbit")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(s){var t=(_createClass(n,[{key:"_init",value:function(){if("string"==typeof this.rules){for(var t={},e=this.rules.split(" "),n=0;n<e.length;n++){var i=e[n].split("-"),o=1<i.length?i[0]:"small",i=1<i.length?i[1]:i[0];null!==r[i]&&(t[o]=r[i])}this.rules=t}s.isEmptyObject(this.rules)||this._checkMediaQueries(),this.$element.attr("data-mutate",this.$element.attr("data-mutate")||Foundation.GetYoDigits(6,"responsive-menu"))}},{key:"_events",value:function(){var t=this;s(window).on("changed.zf.mediaquery",function(){t._checkMediaQueries()})}},{key:"_checkMediaQueries",value:function(){var e,n=this;s.each(this.rules,function(t){Foundation.MediaQuery.atLeast(t)&&(e=t)}),e&&(this.currentPlugin instanceof this.rules[e].plugin||(s.each(r,function(t,e){n.$element.removeClass(e.cssClass)}),this.$element.addClass(this.rules[e].cssClass),this.currentPlugin&&this.currentPlugin.destroy(),this.currentPlugin=new this.rules[e].plugin(this.$element,{})))}},{key:"destroy",value:function(){this.currentPlugin.destroy(),s(window).off(".zf.ResponsiveMenu"),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=s(t),this.rules=this.$element.data("responsive-menu"),this.currentMq=null,this.currentPlugin=null,this._init(),this._events(),Foundation.registerPlugin(this,"ResponsiveMenu")}t.defaults={};var r={dropdown:{cssClass:"dropdown",plugin:Foundation._plugins["dropdown-menu"]||null},drilldown:{cssClass:"drilldown",plugin:Foundation._plugins.drilldown||null},accordion:{cssClass:"accordion-menu",plugin:Foundation._plugins["accordion-menu"]||null}};Foundation.plugin(t,"ResponsiveMenu")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(n){var t=(_createClass(i,[{key:"_init",value:function(){var t,e=this.$element.data("responsive-toggle");e||console.error("Your tab bar needs an ID of a Menu as the value of data-tab-bar."),this.$targetMenu=n("#"+e),this.$toggler=this.$element.find("[data-toggle]").filter(function(){var t=n(this).data("toggle");return t===e||""===t}),this.options=n.extend({},this.options,this.$targetMenu.data()),this.options.animate&&(t=this.options.animate.split(" "),this.animationIn=t[0],this.animationOut=t[1]||null),this._update()}},{key:"_events",value:function(){this._updateMqHandler=this._update.bind(this),n(window).on("changed.zf.mediaquery",this._updateMqHandler),this.$toggler.on("click.zf.responsiveToggle",this.toggleMenu.bind(this))}},{key:"_update",value:function(){Foundation.MediaQuery.atLeast(this.options.hideFor)?(this.$element.hide(),this.$targetMenu.show()):(this.$element.show(),this.$targetMenu.hide())}},{key:"toggleMenu",value:function(){var t=this;Foundation.MediaQuery.atLeast(this.options.hideFor)||(this.options.animate?this.$targetMenu.is(":hidden")?Foundation.Motion.animateIn(this.$targetMenu,this.animationIn,function(){t.$element.trigger("toggled.zf.responsiveToggle"),t.$targetMenu.find("[data-mutate]").triggerHandler("mutateme.zf.trigger")}):Foundation.Motion.animateOut(this.$targetMenu,this.animationOut,function(){t.$element.trigger("toggled.zf.responsiveToggle")}):(this.$targetMenu.toggle(0),this.$targetMenu.find("[data-mutate]").trigger("mutateme.zf.trigger"),this.$element.trigger("toggled.zf.responsiveToggle")))}},{key:"destroy",value:function(){this.$element.off(".zf.responsiveToggle"),this.$toggler.off(".zf.responsiveToggle"),n(window).off("changed.zf.mediaquery",this._updateMqHandler),Foundation.unregisterPlugin(this)}}]),i);function i(t,e){_classCallCheck(this,i),this.$element=n(t),this.options=n.extend({},i.defaults,this.$element.data(),e),this._init(),this._events(),Foundation.registerPlugin(this,"ResponsiveToggle")}t.defaults={hideFor:"medium",animate:!1},Foundation.plugin(t,"ResponsiveToggle")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(o){var t=(_createClass(n,[{key:"_init",value:function(){this.id=this.$element.attr("id"),this.isActive=!1,this.cached={mq:Foundation.MediaQuery.current},this.isMobile=/iP(ad|hone|od).*OS/.test(window.navigator.userAgent)||/Android/.test(window.navigator.userAgent),this.$anchor=o('[data-open="'+this.id+'"]').length?o('[data-open="'+this.id+'"]'):o('[data-toggle="'+this.id+'"]'),this.$anchor.attr({"aria-controls":this.id,"aria-haspopup":!0,tabindex:0}),(this.options.fullScreen||this.$element.hasClass("full"))&&(this.options.fullScreen=!0,this.options.overlay=!1),this.options.overlay&&!this.$overlay&&(this.$overlay=this._makeOverlay(this.id)),this.$element.attr({role:"dialog","aria-hidden":!0,"data-yeti-box":this.id,"data-resize":this.id}),this.$overlay?this.$element.detach().appendTo(this.$overlay):(this.$element.detach().appendTo(o(this.options.appendTo)),this.$element.addClass("without-overlay")),this._events(),this.options.deepLink&&window.location.hash==="#"+this.id&&o(window).one("load.zf.reveal",this.open.bind(this))}},{key:"_makeOverlay",value:function(){return o("<div></div>").addClass("reveal-overlay").appendTo(this.options.appendTo)}},{key:"_updatePosition",value:function(){var t=this.$element.outerWidth(),e=o(window).width(),n=this.$element.outerHeight(),i=o(window).height(),t="auto"===this.options.hOffset?parseInt((e-t)/2,10):parseInt(this.options.hOffset,10),n="auto"===this.options.vOffset?i<n?parseInt(Math.min(100,i/10),10):parseInt((i-n)/4,10):parseInt(this.options.vOffset,10);this.$element.css({top:n+"px"}),this.$overlay&&"auto"===this.options.hOffset||(this.$element.css({left:t+"px"}),this.$element.css({margin:"0px"}))}},{key:"_events",value:function(){var n=this,i=this;this.$element.on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":function(t,e){if(t.target===i.$element[0]||o(t.target).parents("[data-closable]")[0]===e)return n.close.apply(n)},"toggle.zf.trigger":this.toggle.bind(this),"resizeme.zf.trigger":function(){i._updatePosition()}}
1),this.$anchor.length&&this.$anchor.on("keydown.zf.reveal",function(t){13!==t.which&&32!==t.which||(t.stopPropagation(),t.preventDefault(),i.open())}),this.options.closeOnClick&&this.options.overlay&&this.$overlay.off(".zf.reveal").on("click.zf.reveal",function(t){t.target!==i.$element[0]&&!o.contains(i.$element[0],t.target)&&o.contains(document,t.target)&&i.close()}),this.options.deepLink&&o(window).on("popstate.zf.reveal:"+this.id,this._handleState.bind(this))}},{key:"_handleState",value:function(t){window.location.hash!=="#"+this.id||this.isActive?this.close():this.open()}},{key:"open",value:function(){var t,e=this;this.options.deepLink&&(t="#"+this.id,window.history.pushState?window.history.pushState(null,null,t):window.location.hash=t),this.isActive=!0,this.$element.css({visibility:"hidden"}).show().scrollTop(0),this.options.overlay&&this.$overlay.css({visibility:"hidden"}).show(),this._updatePosition(),this.$element.hide().css({visibility:""}),this.$overlay&&(this.$overlay.css({visibility:""}).hide(),this.$element.hasClass("fast")?this.$overlay.addClass("fast"):this.$element.hasClass("slow")&&this.$overlay.addClass("slow")),this.options.multipleOpened||this.$element.trigger("closeme.zf.reveal",this.id);var n=this;function i(){n.isMobile?(n.originalScrollPos||(n.originalScrollPos=window.pageYOffset),o("html, body").addClass("is-reveal-open")):o("body").addClass("is-reveal-open")}this.options.animationIn?(e.options.overlay&&Foundation.Motion.animateIn(e.$overlay,"fade-in"),Foundation.Motion.animateIn(e.$element,e.options.animationIn,function(){e.$element&&(e.focusableElements=Foundation.Keyboard.findFocusable(e.$element),n.$element.attr({"aria-hidden":!1,tabindex:-1}).focus(),i(),Foundation.Keyboard.trapFocus(n.$element))})):(this.options.overlay&&this.$overlay.show(0),this.$element.show(this.options.showDelay)),this.$element.attr({"aria-hidden":!1,tabindex:-1}).focus(),Foundation.Keyboard.trapFocus(this.$element),this.$element.trigger("open.zf.reveal"),i(),setTimeout(function(){e._extraHandlers()},0)}},{key:"_extraHandlers",value:function(){var n=this;this.$element&&(this.focusableElements=Foundation.Keyboard.findFocusable(this.$element),this.options.overlay||!this.options.closeOnClick||this.options.fullScreen||o("body").on("click.zf.reveal",function(t){t.target!==n.$element[0]&&!o.contains(n.$element[0],t.target)&&o.contains(document,t.target)&&n.close()}),this.options.closeOnEsc&&o(window).on("keydown.zf.reveal",function(t){Foundation.Keyboard.handleKey(t,"Reveal",{close:function(){n.options.closeOnEsc&&(n.close(),n.$anchor.focus())}})}),this.$element.on("keydown.zf.reveal",function(e){var t=o(this);Foundation.Keyboard.handleKey(e,"Reveal",{open:function(){n.$element.find(":focus").is(n.$element.find("[data-close]"))?setTimeout(function(){n.$anchor.focus()},1):t.is(n.focusableElements)&&n.open()},close:function(){n.options.closeOnEsc&&(n.close(),n.$anchor.focus())},handled:function(t){t&&e.preventDefault()}})}))}},{key:"close",value:function(){if(!this.isActive||!this.$element.is(":visible"))return!1;var t=this;function e(){t.isMobile?(o("html, body").removeClass("is-reveal-open"),t.originalScrollPos&&(o("body").scrollTop(t.originalScrollPos),t.originalScrollPos=null)):o("body").removeClass("is-reveal-open"),Foundation.Keyboard.releaseFocus(t.$element),t.$element.attr("aria-hidden",!0),t.$element.trigger("closed.zf.reveal")}this.options.animationOut?(this.options.overlay?Foundation.Motion.animateOut(this.$overlay,"fade-out",e):e(),Foundation.Motion.animateOut(this.$element,this.options.animationOut)):(this.options.overlay?this.$overlay.hide(0,e):e(),this.$element.hide(this.options.hideDelay)),this.options.closeOnEsc&&o(window).off("keydown.zf.reveal"),!this.options.overlay&&this.options.closeOnClick&&o("body").off("click.zf.reveal"),this.$element.off("keydown.zf.reveal"),this.options.resetOnClose&&this.$element.html(this.$element.html()),this.isActive=!1,t.options.deepLink&&(window.history.replaceState?window.history.replaceState("",document.title,window.location.href.replace("#"+this.id,"")):window.location.hash="")}},{key:"toggle",value:function(){this.isActive?this.close():this.open()}},{key:"destroy",value:function(){this.options.overlay&&(this.$element.appendTo(o(this.options.appendTo)),this.$overlay.hide().off().remove()),this.$element.hide().off(),this.$anchor.off(".zf"),o(window).off(".zf.reveal:"+this.id
1),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=o.extend({},n.defaults,this.$element.data(),e),this._init(),Foundation.registerPlugin(this,"Reveal"),Foundation.Keyboard.register("Reveal",{ENTER:"open",SPACE:"open",ESCAPE:"close"})}t.defaults={animationIn:"",animationOut:"",showDelay:0,hideDelay:0,closeOnClick:!0,closeOnEsc:!0,multipleOpened:!1,vOffset:"auto",hOffset:"auto",fullScreen:!1,btmOffsetPct:10,overlay:!0,resetOnClose:!1,deepLink:!1,appendTo:"body"},Foundation.plugin(t,"Reveal")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(c){var t=(_createClass(n,[{key:"_init",value:function(){this.inputs=this.$element.find("input"),this.handles=this.$element.find("[data-slider-handle]"),this.$handle=this.handles.eq(0),this.$input=this.inputs.length?this.inputs.eq(0):c("#"+this.$handle.attr("aria-controls")),this.$fill=this.$element.find("[data-slider-fill]").css(this.options.vertical?"height":"width",0);(this.options.disabled||this.$element.hasClass(this.options.disabledClass))&&(this.options.disabled=!0,this.$element.addClass(this.options.disabledClass)),this.inputs.length||(this.inputs=c().add(this.$input),this.options.binding=!0),this._setInitAttr(0),this.handles[1]&&(this.options.doubleSided=!0,this.$handle2=this.handles.eq(1),this.$input2=1<this.inputs.length?this.inputs.eq(1):c("#"+this.$handle2.attr("aria-controls")),this.inputs[1]||(this.inputs=this.inputs.add(this.$input2)),this._setInitAttr(1)),this.setHandles(),this._events()}},{key:"setHandles",value:function(){var t=this;this.handles[1]?this._setHandlePos(this.$handle,this.inputs.eq(0).val(),!0,function(){t._setHandlePos(t.$handle2,t.inputs.eq(1).val(),!0)}):this._setHandlePos(this.$handle,this.inputs.eq(0).val(),!0)}},{key:"_reflow",value:function(){this.setHandles()}},{key:"_pctOfBar",value:function(t){var e=(t-this.options.start)/(this.options.end-this.options.start);switch(this.options.positionValueFunction){case"pow":e=this._logTransform(e);break;case"log":e=this._powTransform(e)}return e.toFixed(2)}},{key:"_value",value:function(t){switch(this.options.positionValueFunction){case"pow":t=this._powTransform(t);break;case"log":t=this._logTransform(t)}return(this.options.end-this.options.start)*t+this.options.start}},{key:"_logTransform",value:function(t){return e=this.options.nonLinearBase,t=t*(this.options.nonLinearBase-1)+1,Math.log(t)/Math.log(e);var e}},{key:"_powTransform",value:function(t){return(Math.pow(this.options.nonLinearBase,t)-1)/(this.options.nonLinearBase-1)}},{key:"_setHandlePos",value:function(t,e,n,i){var o,s,r,a,l,u,c,h,d,f;this.$element.hasClass(this.options.disabledClass)||((e=parseFloat(e))<this.options.start?e=this.options.start:e>this.options.end&&(e=this.options.end),(o=this.options.doubleSided)&&(e=0===this.handles.index(t)?(s=parseFloat(this.$handle2.attr("aria-valuenow")))<=e?s-this.options.step:e:e<=(d=parseFloat(this.$handle.attr("aria-valuenow")))?d+this.options.step:e),this.options.vertical&&!n&&(e=this.options.end-e),d=(r=this).options.vertical,a=d?"height":"width",l=d?"top":"left",n=t[0].getBoundingClientRect()[a],d=this.$element[0].getBoundingClientRect()[a],u=this._pctOfBar(e),c=((d-n)*u/d*100).toFixed(this.options.decimal),e=parseFloat(e.toFixed(this.options.decimal)),h={},this._setValues(t,e),o&&(d=~~(n/d*100),0===this.handles.index(t)?(h[l]=c+"%",f=parseFloat(this.$handle2[0].style[l])-c+d,i&&"function"==typeof i&&i()):(i=parseFloat(this.$handle[0].style[l]),f=c-(isNaN(i)?(this.options.initialStart-this.options.start)/((this.options.end-this.options.start)/100):i)+d),h["min-"+a]=f+"%"),this.$element.one("finished.zf.animate",function(){r.$element.trigger("moved.zf.slider",[t])}),f=this.$element.data("dragging")?1e3/60:this.options.moveTime,Foundation.Move(f,t,function(){isNaN(c)?t.css(l,100*u+"%"):t.css(l,c+"%"),r.options.doubleSided?r.$fill.css(h):r.$fill.css(a,100*u+"%")}),clearTimeout(r.timeout),r.timeout=setTimeout(function(){r.$element.trigger("changed.zf.slider",[t])},r.options.changedDelay))}},{key:"_setInitAttr",value:function(t){var e=0===t?this.options.initialStart:this.options.initialEnd,n=this.inputs.eq(t).attr("id")||Foundation.GetYoDigits(6,"slider");this.inputs.eq(t).attr({id:n,max:this.options.end,min:this.options.start,step:this.options.step}),this.inputs.eq(t).val(e),this.handles.eq(t).attr({role:"slider","aria-controls":n,"aria-valuemax":this.options.end,"aria-valuemin":this.options.start,"aria-valuenow":e,"aria-orientation":this.options.vertical?"vertical":"horizontal",tabindex:0})}},{key:"_setValues",value:function(t,e){var n=this.options.doubleSided?this.handles.index(t):0;this.inputs.eq(n).val(e),t.attr("aria-valuenow",e)}},{key:"_handleEvent",value:function(t,e,n){var i,o,s,r,a,l,u;n?(u=this._adjustValue(null,n),i=!0):(t.preventDefault(),o=(a=this.options.vertical)?"height":"width",s=a?"top":"left",r=a?t.pageY:t.pageX,this.$handle[0].getBoundingClientRect()[o],l=this.$element[0].getBoundingClientRect()[o],n=a?c(window).scrollTop():c(window).scrollLeft(),a=this.$element.offset()[s],t.clientY===t.pageY&&(r+=n),l=(a=(a=r-a)<0?0:l<a?l:a)/l,u=this._value(l),Foundation.rtl()&&!this.options.vertical&&(u=this.options.end-u),u=this._adjustValue(null,u),i=!1,e=e||(h(this.$handle,s,a,o)<=h(this.$handle2,s,a,o)?this.$handle:this.$handle2)),this._setHandlePos(e,u,i)}},{key:"_adjustValue",value:function(t,e){var n=this.options.step,i=parseFloat(n/2),o=t?parseFloat(t.attr("aria-valuenow")):e,t=o%n,e=o-t;return 0==t?o:o=e+i<=o?e+n:e}},{key:"_events",value:function(){this._eventsForHandle(this.$handle),this.handles[1]&&this._eventsForHandle(this.$handle2)}},{key:"_eventsForHandle",value:function(e){var n,i,s=this;this.inputs.off("change.zf.slider").on("change.zf.slider",function(t){var e=s.inputs.index(c(this));s._handleEvent(t,s.handles.eq(e),c(this).val())}),this.options.clickSelect&&this.$element.off("click.zf.slider").on("click.zf.slider",function(t){return!s.$element.data("dragging")&&void(c(t.target).is("[data-sli
1der-handle]")||(s.options.doubleSided?s._handleEvent(t):s._handleEvent(t,s.$handle)))}),this.options.draggable&&(this.handles.addTouch(),i=c("body"),e.off("mousedown.zf.slider").on("mousedown.zf.slider",function(t){e.addClass("is-dragging"),s.$fill.addClass("is-dragging"),s.$element.data("dragging",!0),n=c(t.currentTarget),i.on("mousemove.zf.slider",function(t){t.preventDefault(),s._handleEvent(t,n)}).on("mouseup.zf.slider",function(t){s._handleEvent(t,n),e.removeClass("is-dragging"),s.$fill.removeClass("is-dragging"),s.$element.data("dragging",!1),i.off("mousemove.zf.slider mouseup.zf.slider")})}).on("selectstart.zf.slider touchmove.zf.slider",function(t){t.preventDefault()})),e.off("keydown.zf.slider").on("keydown.zf.slider",function(t){var e,n=c(this),i=s.options.doubleSided?s.handles.index(n):0,o=parseFloat(s.inputs.eq(i).val());Foundation.Keyboard.handleKey(t,"Slider",{decrease:function(){e=o-s.options.step},increase:function(){e=o+s.options.step},decrease_fast:function(){e=o-10*s.options.step},increase_fast:function(){e=o+10*s.options.step},handled:function(){t.preventDefault(),s._setHandlePos(n,e,!0)}})})}},{key:"destroy",value:function(){this.handles.off(".zf.slider"),this.inputs.off(".zf.slider"),this.$element.off(".zf.slider"),clearTimeout(this.timeout),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=c.extend({},n.defaults,this.$element.data(),e),this._init(),Foundation.registerPlugin(this,"Slider"),Foundation.Keyboard.register("Slider",{ltr:{ARROW_RIGHT:"increase",ARROW_UP:"increase",ARROW_DOWN:"decrease",ARROW_LEFT:"decrease",SHIFT_ARROW_RIGHT:"increase_fast",SHIFT_ARROW_UP:"increase_fast",SHIFT_ARROW_DOWN:"decrease_fast",SHIFT_ARROW_LEFT:"decrease_fast"},rtl:{ARROW_LEFT:"increase",ARROW_RIGHT:"decrease",SHIFT_ARROW_LEFT:"increase_fast",SHIFT_ARROW_RIGHT:"decrease_fast"}})}function h(t,e,n,i){return Math.abs(t.position()[e]+t[i]()/2-n)}t.defaults={start:0,end:100,step:1,initialStart:0,initialEnd:100,binding:!1,clickSelect:!0,vertical:!1,draggable:!0,disabled:!1,doubleSided:!1,decimal:2,moveTime:200,disabledClass:"disabled",invertVertical:!1,changedDelay:500,nonLinearBase:5,positionValueFunction:"linear"},Foundation.plugin(t,"Slider")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(a){var t=(_createClass(n,[{key:"_init",value:function(){var t=this.$element.parent("[data-sticky-container]"),e=this.$element[0].id||Foundation.GetYoDigits(6,"sticky"),n=this;t.length||(this.wasWrapped=!0),this.$container=t.length?t:a(this.options.container).wrapInner(this.$element),this.$container.addClass(this.options.containerClass),this.$element.addClass(this.options.stickyClass).attr({"data-resize":e}),this.scrollCount=this.options.checkEvery,this.isStuck=!1,a(window).one("load.zf.sticky",function(){n.containerHeight="none"==n.$element.css("display")?0:n.$element[0].getBoundingClientRect().height,n.$container.css("height",n.containerHeight),n.elemHeight=n.containerHeight,""!==n.options.anchor?n.$anchor=a("#"+n.options.anchor):n._parsePoints(),n._setSizes(function(){var t=window.pageYOffset;n._calc(!1,t),n.isStuck||n._removeSticky(!(t>=n.topPoint))}),n._events(e.split("-").reverse().join("-"))})}},{key:"_parsePoints",value:function(){for(var t,e,n,i=[""==this.options.topAnchor?1:this.options.topAnchor,""==this.options.btmAnchor?document.documentElement.scrollHeight:this.options.btmAnchor],o={},s=0,r=i.length;s<r&&i[s];s++)"number"==typeof i[s]?n=i[s]:(t=i[s].split(":"),n=(e=a("#"+t[0])).offset().top,t[1]&&"bottom"===t[1].toLowerCase()&&(n+=e[0].getBoundingClientRect().height)),o[s]=n;this.points=o}},{key:"_events",value:function(n){var i=this,o=this.scrollListener="scroll.zf."+n;this.isOn||(this.canStick&&(this.isOn=!0,a(window).off(o).on(o,function(t){0===i.scrollCount?(i.scrollCount=i.options.checkEvery,i._setSizes(function(){i._calc(!1,window.pageYOffset)})):(i.scrollCount--,i._calc(!1,window.pageYOffset))})),this.$element.off("resizeme.zf.trigger").on("resizeme.zf.trigger",function(t,e){i._setSizes(function(){i._calc(!1),i.canStick?i.isOn||i._events(n):i.isOn&&i._pauseListeners(o)})}))}},{key:"_pauseListeners",value:function(t){this.isOn=!1,a(window).off(t),this.$element.trigger("pause.zf.sticky")}},{key:"_calc",value:function(t,e){if(t&&this._setSizes(),!this.canStick)return this.isStuck&&this._removeSticky(!0),!1;(e=e||window.pageYOffset)>=this.topPoint?e<=this.bottomPoint?this.isStuck||this._setSticky():this.isStuck&&this._removeSticky(!1):this.isStuck&&this._removeSticky(!0)}},{key:"_setSticky",value:function(){var t=this,e=this.options.stickTo,n="top"===e?"marginTop":"marginBottom",i="top"===e?"bottom":"top",o={};o[n]=this.options[n]+"em",o[e]=0,o[i]="auto",this.isStuck=!0,this.$element.removeClass("is-anchored is-at-"+i).addClass("is-stuck is-at-"+e).css(o).trigger("sticky.zf.stuckto:"+e),this.$element.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){t._setSizes()})}},{key:"_removeSticky",value:function(t){var e=this.options.stickTo,n="top"===e,i={},o=(this.points?this.points[1]-this.points[0]:this.anchorHeight)-this.elemHeight,s=t?"top":"bottom";i[n?"marginTop":"marginBottom"]=0,i.bottom="auto",i.top=t?0:o,this.isStuck=!1,this.$element.removeClass("is-stuck is-at-"+e).addClass("is-anchored is-at-"+s).css(i).trigger("sticky.zf.unstuckfrom:"+s)}},{key:"_setSizes",value:function(t){this.canStick=Foundation.MediaQuery.is(this.options.stickyOn),this.canStick||t&&"function"==typeof t&&t();var e=this.$container[0].getBoundingClientRect().width,n=window.getComputedStyle(this.$container[0]),i=parseInt(n["padding-left"],10),n=parseInt(n["padding-right"],10);this.$anchor&&this.$anchor.length?this.anchorHeight=this.$anchor[0].getBoundingClientRect().height:this._parsePoints(),this.$element.css({"max-width":e-i-n+"px"});i=this.$element[0].getBoundingClientRect().height||this.containerHeight;"none"==this.$element.css("display")&&(i=0),this.containerHeight=i,this.$container.css({height:i}),this.elemHeight=i,this.isStuck||this.$element.hasClass("is-at-bottom")&&(n=(this.points?this.points[1]-this.$container.offset().top:this.anchorHeight)-this.elemHeight,this.$element.css("top",n)),this._setBreakPoints(i,function(){t&&"function"==typeof t&&t()})}},{key:"_setBreakPoints",value:function(t,e){if(!this.canStick){if(!e||"function"!=typeof e)return!1;e()}var n=l(this.options.marginTop),i=l(this.options.marginBottom),o=this.points?this.points[0]:this.$anchor.offset().top,s=this.points?this.points[1]:o+this.anchorHeight,r=window.innerHeight;"top"===this.options.stickTo?(o-=n,s-=t+n):"bottom"===this.options.stickTo&&(o-=r-(t+i),s-=r-i),this.topPoint=o,this.bottomPoint=s,e&&"function"==typeof e&&e()}},{key:"destroy",value:function(){this._removeSticky(!0),this.$element.removeClass(this.options.stickyClass+" is-anchored is-at-top").css({height:"",top:"",bottom:"","max-width":""}).off("resizeme.zf.trigger"),this.$anchor&&this.$anchor.length&&this.$anchor.off("change.zf.sticky"),a(window).off(this.scrollListener),this.wasWrapped?this.$element.unwrap():this.$container.removeClass(this.options.containerClass).css({height:""}),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=a.extend({},n.defaults,this.$element.data(),e),this._init(),Foundation.registerPlugin(this,"Sticky")}function l(t){return parseInt(window.getComputedStyle(document.body,null).fontSize,10)*t}
1t.defaults={container:"<div data-sticky-container></div>",stickTo:"top",anchor:"",topAnchor:"",btmAnchor:"",marginTop:1,marginBottom:1,stickyOn:"medium",stickyClass:"sticky",containerClass:"sticky-container",checkEvery:-1},Foundation.plugin(t,"Sticky")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(a){var t=(_createClass(n,[{key:"_init",value:function(){var t,i=this,r=this;this.$element.attr({role:"tablist"}),this.$tabTitles=this.$element.find("."+this.options.linkClass),this.$tabContent=a('[data-tabs-content="'+this.$element[0].id+'"]'),this.$tabTitles.each(function(){var t=a(this),e=t.find("a"),n=t.hasClass(""+r.options.linkActiveClass),i=e[0].hash.slice(1),o=e[0].id||i+"-label",s=a("#"+i);t.attr({role:"presentation"}),e.attr({role:"tab","aria-controls":i,"aria-selected":n,id:o}),s.attr({role:"tabpanel","aria-hidden":!n,"aria-labelledby":o}),n&&r.options.autoFocus&&a(window).load(function(){a("html, body").animate({scrollTop:t.offset().top},r.options.deepLinkSmudgeDelay,function(){e.focus()})})}),this.options.matchHeight&&((t=this.$tabContent.find("img")).length?Foundation.onImagesLoaded(t,this._setHeight.bind(this)):this._setHeight()),this._checkDeepLink=function(){var t,e,n=window.location.hash;!n.length||(t=i.$element.find('[href="'+n+'"]')).length&&(i.selectTab(a(n),!0),i.options.deepLinkSmudge&&(e=i.$element.offset(),a("html, body").animate({scrollTop:e.top},i.options.deepLinkSmudgeDelay)),i.$element.trigger("deeplink.zf.tabs",[t,a(n)]))},this.options.deepLink&&this._checkDeepLink(),this._events()}},{key:"_events",value:function(){this._addKeyHandler(),this._addClickHandler(),this._setHeightMqHandler=null,this.options.matchHeight&&(this._setHeightMqHandler=this._setHeight.bind(this),a(window).on("changed.zf.mediaquery",this._setHeightMqHandler)),this.options.deepLink&&a(window).on("popstate",this._checkDeepLink)}},{key:"_addClickHandler",value:function(){var e=this;this.$element.off("click.zf.tabs").on("click.zf.tabs","."+this.options.linkClass,function(t){t.preventDefault(),t.stopPropagation(),e._handleTabChange(a(this))})}},{key:"_addKeyHandler",value:function(){var s=this;this.$tabTitles.off("keydown.zf.tabs").on("keydown.zf.tabs",function(t){var e,n,i,o;9!==t.which&&(e=a(this),(n=e.parent("ul").children("li")).each(function(t){a(this).is(e)&&(o=s.options.wrapOnKeys?(i=0===t?n.last():n.eq(t-1),t===n.length-1?n.first():n.eq(t+1)):(i=n.eq(Math.max(0,t-1)),n.eq(Math.min(t+1,n.length-1))))}),Foundation.Keyboard.handleKey(t,"Tabs",{open:function(){e.find('[role="tab"]').focus(),s._handleTabChange(e)},previous:function(){i.find('[role="tab"]').focus(),s._handleTabChange(i)},next:function(){o.find('[role="tab"]').focus(),s._handleTabChange(o)},handled:function(){t.stopPropagation(),t.preventDefault()}}))})}},{key:"_handleTabChange",value:function(t,e){var n,i;t.hasClass(""+this.options.linkActiveClass)?this.options.activeCollapse&&(this._collapseTab(t),this.$element.trigger("collapse.zf.tabs",[t])):(n=this.$element.find("."+this.options.linkClass+"."+this.options.linkActiveClass),i=t.find('[role="tab"]')[0].hash,i=this.$tabContent.find(i),this._collapseTab(n),this._openTab(t),this.options.deepLink&&!e&&(e=t.find("a").attr("href"),this.options.updateHistory?history.pushState({},"",e):history.replaceState({},"",e)),this.$element.trigger("change.zf.tabs",[t,i]),i.find("[data-mutate]").trigger("mutateme.zf.trigger"))}},{key:"_openTab",value:function(t){var e=t.find('[role="tab"]'),n=e[0].hash,n=this.$tabContent.find(n);t.addClass(""+this.options.linkActiveClass),e.attr({"aria-selected":"true"}),n.addClass(""+this.options.panelActiveClass).attr({"aria-hidden":"false"})}},{key:"_collapseTab",value:function(t){t=t.removeClass(""+this.options.linkActiveClass).find('[role="tab"]').attr({"aria-selected":"false"});a("#"+t.attr("aria-controls")).removeClass(""+this.options.panelActiveClass).attr({"aria-hidden":"true"})}},{key:"selectTab",value:function(t,e){t="object"==typeof t?t[0].id:t;t.indexOf("#")<0&&(t="#"+t);t=this.$tabTitles.find('[href="'+t+'"]').parent("."+this.options.linkClass);this._handleTabChange(t,e)}},{key:"_setHeight",value:function(){var i=0,o=this;this.$tabContent.find("."+this.options.panelClass).css("height","").each(function(){var t=a(this),e=t.hasClass(""+o.options.panelActiveClass);e||t.css({visibility:"hidden",display:"block"});var n=this.getBoundingClientRect().height;e||t.css({visibility:"",display:""}),i=i<n?n:i}).css("height",i+"px")}},{key:"destroy",value:function(){this.$element.find("."+this.options.linkClass).off(".zf.tabs").hide().end().find("."+this.options.panelClass).hide(),this.options.matchHeight&&null!=this._setHeightMqHandler&&a(window).off("changed.zf.mediaquery",this._setHeightMqHandler),this.options.deepLink&&a(window).off("popstate",this._checkDeepLink),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=t,this.options=a.extend({},n.defaults,this.$element.data(),e),this._init(),Foundation.registerPlugin(this,"Tabs"),Foundation.Keyboard.register("Tabs",{ENTE
1R:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"previous",ARROW_DOWN:"next",ARROW_LEFT:"previous"})}t.defaults={deepLink:!1,deepLinkSmudge:!1,deepLinkSmudgeDelay:300,updateHistory:!1,autoFocus:!1,wrapOnKeys:!0,matchHeight:!1,activeCollapse:!1,linkClass:"tabs-title",linkActiveClass:"is-active",panelClass:"tabs-panel",panelActiveClass:"is-active"},Foundation.plugin(t,"Tabs")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(n){var t=(_createClass(i,[{key:"_init",value:function(){this.options.animate?(t=this.options.animate.split(" "),this.animationIn=t[0],this.animationOut=t[1]||null):(t=this.$element.data("toggler"),this.className="."===t[0]?t.slice(1):t);var t=this.$element[0].id;n('[data-open="'+t+'"], [data-close="'+t+'"], [data-toggle="'+t+'"]').attr("aria-controls",t),this.$element.attr("aria-expanded",!this.$element.is(":hidden"))}},{key:"_events",value:function(){this.$element.off("toggle.zf.trigger").on("toggle.zf.trigger",this.toggle.bind(this))}},{key:"toggle",value:function(){this[this.options.animate?"_toggleAnimate":"_toggleClass"]()}},{key:"_toggleClass",value:function(){this.$element.toggleClass(this.className);var t=this.$element.hasClass(this.className);t?this.$element.trigger("on.zf.toggler"):this.$element.trigger("off.zf.toggler"),this._updateARIA(t),this.$element.find("[data-mutate]").trigger("mutateme.zf.trigger")}},{key:"_toggleAnimate",value:function(){var t=this;this.$element.is(":hidden")?Foundation.Motion.animateIn(this.$element,this.animationIn,function(){t._updateARIA(!0),this.trigger("on.zf.toggler"),this.find("[data-mutate]").trigger("mutateme.zf.trigger")}):Foundation.Motion.animateOut(this.$element,this.animationOut,function(){t._updateARIA(!1),this.trigger("off.zf.toggler"),this.find("[data-mutate]").trigger("mutateme.zf.trigger")})}},{key:"_updateARIA",value:function(t){this.$element.attr("aria-expanded",!!t)}},{key:"destroy",value:function(){this.$element.off(".zf.toggler"),Foundation.unregisterPlugin(this)}}]),i);function i(t,e){_classCallCheck(this,i),this.$element=t,this.options=n.extend({},i.defaults,t.data(),e),this.className="",this._init(),this._events(),Foundation.registerPlugin(this,"Toggler")}t.defaults={animate:!1},Foundation.plugin(t,"Toggler")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(n){var t=(_createClass(i,[{key:"_init",value:function(){var t=this.$element.attr("aria-describedby")||Foundation.GetYoDigits(6,"tooltip");this.options.positionClass=this.options.positionClass||this._getPositionClass(this.$element),this.options.tipText=this.options.tipText||this.$element.attr("title"),this.template=this.options.template?n(this.options.template):this._buildTemplate(t),(this.options.allowHtml?this.template.appendTo(document.body).html(this.options.tipText):this.template.appendTo(document.body).text(this.options.tipText)).hide(),this.$element.attr({title:"","aria-describedby":t,"data-yeti-box":t,"data-toggle":t,"data-resize":t}).addClass(this.options.triggerClass),this.usedPositions=[],this.counter=4,this.classChanged=!1,this._events()}},{key:"_getPositionClass",value:function(t){if(!t)return"";t=t[0].className.match(/\b(top|left|right)\b/g);return t=t?t[0]:""}},{key:"_buildTemplate",value:function(t){var e=(this.options.tooltipClass+" "+this.options.positionClass+" "+this.options.templateClasses).trim();return n("<div></div>").addClass(e).attr({role:"tooltip","aria-hidden":!0,"data-is-active":!1,"data-is-focus":!1,id:t})}},{key:"_reposition",value:function(t){this.usedPositions.push(t||"bottom"),!t&&this.usedPositions.indexOf("top")<0?this.template.addClass("top"):"top"===t&&this.usedPositions.indexOf("bottom")<0?this.template.removeClass(t):"left"===t&&this.usedPositions.indexOf("right")<0?this.template.removeClass(t).addClass("right"):"right"===t&&this.usedPositions.indexOf("left")<0?this.template.removeClass(t).addClass("left"):!t&&-1<this.usedPositions.indexOf("top")&&this.usedPositions.indexOf("left")<0?this.template.addClass("left"):"top"===t&&-1<this.usedPositions.indexOf("bottom")&&this.usedPositions.indexOf("left")<0?this.template.removeClass(t).addClass("left"):("left"===t&&-1<this.usedPositions.indexOf("right")&&this.usedPositions.indexOf("bottom")<0||"right"===t&&-1<this.usedPositions.indexOf("left")&&this.usedPositions.indexOf("bottom"),this.template.removeClass(t)),this.classChanged=!0,this.counter--}},{key:"_setPosition",value:function(){var t=this._getPositionClass(this.template),e=Foundation.Box.GetDimensions(this.template),n=Foundation.Box.GetDimensions(this.$element);"height"==("top"==("left"===t||"right"===t?"left":"top")?"height":"width")?this.options.vOffset:this.options.hOffset;if(e.width>=e.windowDims.width||!this.counter&&!Foundation.Box.ImNotTouchingYou(this.template))return this.template.offset(Foundation.Box.GetOffsets(this.template,this.$element,"center bottom",this.options.vOffset,this.options.hOffset,!0)).css({width:n.windowDims.width-2*this.options.hOffset,height:"auto"}),!1;for(this.template.offset(Foundation.Box.GetOffsets(this.template,this.$element,"center "+(t||"bottom"),this.options.vOffset,this.options.hOffset));!Foundation.Box.ImNotTouchingYou(this.template)&&this.counter;)this._reposition(t),this._setPosition()}},{key:"show",value:function(){if("all"!==this.options.showOn&&!Foundation.MediaQuery.is(this.options.showOn))return!1;this.template.css("visibility","hidden").show(),this._setPosition(),this.$element.trigger("closeme.zf.tooltip",this.template.attr("id")),this.template.attr({"data-is-active":!0,"aria-hidden":!1}),this.isActive=!0,this.template.stop().hide().css("visibility","").fadeIn(this.options.fadeInDuration,function(){}),this.$element.trigger("show.zf.tooltip")}},{key:"hide",value:function(){var t=this;this.template.stop().attr({"aria-hidden":!0,"data-is-active":!1}).fadeOut(this.options.fadeOutDuration,function(){t.isActive=!1,t.isClick=!1,t.classChanged&&(t.template.removeClass(t._getPositionClass(t.template)).addClass(t.o
1ptions.positionClass),t.usedPositions=[],t.counter=4,t.classChanged=!1)}),this.$element.trigger("hide.zf.tooltip")}},{key:"_events",value:function(){var e=this,n=(this.template,!1);this.options.disableHover||this.$element.on("mouseenter.zf.tooltip",function(t){e.isActive||(e.timeout=setTimeout(function(){e.show()},e.options.hoverDelay))}).on("mouseleave.zf.tooltip",function(t){clearTimeout(e.timeout),n&&(!e.isClick||e.options.clickOpen)||e.hide()}),this.options.clickOpen?this.$element.on("mousedown.zf.tooltip",function(t){t.stopImmediatePropagation(),e.isClick||(e.isClick=!0,!e.options.disableHover&&e.$element.attr("tabindex")||e.isActive||e.show())}):this.$element.on("mousedown.zf.tooltip",function(t){t.stopImmediatePropagation(),e.isClick=!0}),this.options.disableForTouch||this.$element.on("tap.zf.tooltip touchend.zf.tooltip",function(t){e.isActive?e.hide():e.show()}),this.$element.on({"close.zf.trigger":this.hide.bind(this)}),this.$element.on("focus.zf.tooltip",function(t){return n=!0,e.isClick?(e.options.clickOpen||(n=!1),!1):void e.show()}).on("focusout.zf.tooltip",function(t){n=!1,e.isClick=!1,e.hide()}).on("resizeme.zf.trigger",function(){e.isActive&&e._setPosition()})}},{key:"toggle",value:function(){this.isActive?this.hide():this.show()}},{key:"destroy",value:function(){this.$element.attr("title",this.template.text()).off(".zf.trigger .zf.tooltip").removeClass("has-tip top right left").removeAttr("aria-describedby aria-haspopup data-disable-hover data-resize data-toggle data-tooltip data-yeti-box"),this.template.remove(),Foundation.unregisterPlugin(this)}}]),i);function i(t,e){_classCallCheck(this,i),this.$element=t,this.options=n.extend({},i.defaults,this.$element.data(),e),this.isActive=!1,this.isClick=!1,this._init(),Foundation.registerPlugin(this,"Tooltip")}t.defaults={disableForTouch:!1,hoverDelay:200,fadeInDuration:150,fadeOutDuration:150,disableHover:!1,templateClasses:"",tooltipClass:"tooltip",triggerClass:"has-tip",showOn:"small",template:"",tipText:"",touchCloseText:"Tap to close.",clickOpen:!0,positionClass:"",vOffset:10,hOffset:12,allowHtml:!1},Foundation.plugin(t,"Tooltip")}(jQuery);var _createClass=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}(),DecorationsT,JobT,SourceSpansT;function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(u){var t=(_createClass(n,[{key:"_init",value:function(){if("string"==typeof this.rules){for(var t={},e=this.rules.split(" "),n=0;n<e.length;n++){var i=e[n].split("-"),o=1<i.length?i[0]:"small",i=1<i.length?i[1]:i[0];null!==r[i]&&(t[o]=r[i])}this.rules=t}this._getAllOptions(),u.isEmptyObject(this.rules)||this._checkMediaQueries()}},{key:"_getAllOptions",value:function(){for(var t in this.allOptions={},r)if(r.hasOwnProperty(t)){var e=r[t];try{var n,i,o=u("<ul></ul>"),s=new e.plugin(o,this.options);for(n in s.options)s.options.hasOwnProperty(n)&&"zfPlugin"!==n&&(i=s.options[n],this.allOptions[n]=i);s.destroy()}catch(t){}}}},{key:"_events",value:function(){var t=this;u(window).on("changed.zf.mediaquery",function(){t._checkMediaQueries()})}},{key:"_checkMediaQueries",value:function(){var e,n=this;u.each(this.rules,function(t){Foundation.MediaQuery.atLeast(t)&&(e=t)}),e&&(this.currentPlugin instanceof this.rules[e].plugin||(u.each(r,function(t,e){n.$element.removeClass(e.cssClass)}),this.$element.addClass(this.rules[e].cssClass),this.currentPlugin&&(!this.currentPlugin.$element.data("zfPlugin")&&this.storezfData&&this.currentPlugin.$element.data("zfPlugin",this.storezfData),this.currentPlugin.destroy()),this._handleMarkup(this.rules[e].cssClass),this.currentPlugin=new this.rules[e].plugin(this.$element,{}),this.storezfData=this.currentPlugin.$element.data("zfPlugin")))}},{key:"_handleMarkup",value:function(t){var e,s,r,a,l,n=this,i="accordion",o=u("[data-tabs-content="+this.$element.attr("id")+"]");(i=o.length?"tabs":i)!==t&&(e=n.allOptions.linkClass||"tabs-title",s=n.allOptions.panelClass||"tabs-p
1anel",this.$element.removeAttr("role"),r=this.$element.children("."+e+",[data-accordion-item]").removeClass(e).removeClass("accordion-item").removeAttr("data-accordion-item"),a=r.children("a").removeClass("accordion-title"),"tabs"===i?(o=o.children("."+s).removeClass(s).removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby")).children("a").removeAttr("role").removeAttr("aria-controls").removeAttr("aria-selected"):o=r.children("[data-tab-content]").removeClass("accordion-content"),o.css({display:"",visibility:""}),r.css({display:"",visibility:""}),"accordion"===t?o.each(function(t,e){u(e).appendTo(r.get(t)).addClass("accordion-content").attr("data-tab-content","").removeClass("is-active").css({height:""}),u("[data-tabs-content="+n.$element.attr("id")+"]").after('<div id="tabs-placeholder-'+n.$element.attr("id")+'"></div>').remove(),r.addClass("accordion-item").attr("data-accordion-item",""),a.addClass("accordion-title")}):"tabs"===t&&(l=u("[data-tabs-content="+n.$element.attr("id")+"]"),(t=u("#tabs-placeholder-"+n.$element.attr("id"))).length?(l=u('<div class="tabs-content"></div>').insertAfter(t).attr("data-tabs-content",n.$element.attr("id")),t.remove()):l=u('<div class="tabs-content"></div>').insertAfter(n.$element).attr("data-tabs-content",n.$element.attr("id")),o.each(function(t,e){var n=u(e).appendTo(l).addClass(s),i=a.get(t).hash.slice(1),o=u(e).attr("id")||Foundation.GetYoDigits(6,"accordion");i!==o&&(""!==i?u(e).attr("id",i):(i=o,u(e).attr("id",i),u(a.get(t)).attr("href",u(a.get(t)).attr("href").replace("#","")+"#"+i))),u(r.get(t)).hasClass("is-active")&&n.addClass("is-active")}),r.addClass(e)))}},{key:"destroy",value:function(){this.currentPlugin&&this.currentPlugin.destroy(),u(window).off(".zf.ResponsiveAccordionTabs"),Foundation.unregisterPlugin(this)}}]),n);function n(t,e){_classCallCheck(this,n),this.$element=u(t),this.options=u.extend({},this.$element.data(),e),this.rules=this.$element.data("responsive-accordion-tabs"),this.currentMq=null,this.currentPlugin=null,this.$element.attr("id")||this.$element.attr("id",Foundation.GetYoDigits(6,"responsiveaccordiontabs")),this._init(),this._events(),Foundation.registerPlugin(this,"ResponsiveAccordionTabs")}t.defaults={};var r={tabs:{cssClass:"tabs",plugin:Foundation._plugins.tabs||null},accordion:{cssClass:"accordion",plugin:Foundation._plugins.accordion||null}};Foundation.plugin(t,"ResponsiveAccordionTabs")}(jQuery);var IN_GLOBAL_SCOPE=!1,HACK_TO_FIX_JS_INCLUDE_PL,PR,prettyPrintOne,prettyPrint;window.PR_SHOULD_USE_CONTINUATION=!0,function(){var E=window,t=["break,continue,do,else,for,if,return,while"],e=[u=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],n=[u,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],i=[u,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,de
1scending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],o=[u,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",r=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],a=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],l=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],u=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,c="str",h="com",d="pun",T="pln",S="src";function f(t){for(var u=0,c=!1,e=!1,n=0,i=t.length;n<i;++n)if((r=t[n]).ignoreCase)e=!0;else if(/[a-z]/i.test(r.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){e=!(c=!0);break}var o={b:8,t:9,n:10,v:11,f:12,r:13};function h(t){var e=t.charCodeAt(0);if(92!==e)return e;var n=t.charAt(1);return(e=o[n])||("0"<=n&&n<="7"?parseInt(t.substring(1),8):"u"===n||"x"===n?parseInt(t.substring(2),16):t.charCodeAt(1))}function d(t){if(t<32)return(t<16?"\\x0":"\\x")+t.toString(16);t=String.fromCharCode(t);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function s(t){for(var e=t.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),n=e.length,i=[],o=0,s=0;o<n;++o)"("===(a=e[o])?++s:"\\"===a.charAt(0)&&(r=+a.substring(1))&&(r<=s?i[r]=-1:e[o]=d(r));for(o=1;o<i.length;++o)-1===i[o]&&(i[o]=++u);for(var r,o=0,s=0;o<n;++o)"("===(a=e[o])?i[++s]||(e[o]="(?:"):"\\"===a.charAt(0)&&(r=+a.substring(1))&&r<=s&&(e[o]="\\"+i[r]);for(o=0;o<n;++o)"^"===e[o]&&"^"!==e[o+1]&&(e[o]="");if(t.ignoreCase&&c)for(o=0;o<n;++o){var a,l=(a=e[o]).charAt(0);2<=a.length&&"["===l?e[o]=function(t){var e=t.substring(1,t.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],t="^"===e[0],i=["["];t&&i.push("^");for(var o=t?1:0,s=e.length;o<s;++o){var r,a=e[o];/\\[bdsw]/i.test(a)?i.push(a):(a=h(a),o+2<s&&"-"===e[o+1]?(r=h(e[o+2]),o+=2):r=a,n.push([a,r]),r<65||122<a||(r<65||90<a||n.push([32|Math.max(65,a),32|Math.min(r,90)]),r<97||122<a||n.push([-33&Math.max(97,a),-33&Math.min(r,122)])))}n.sort(function(t,e){return t[0]-e[0]||e[1]-t[1]});for(var l=[],u=[],o=0;o<n.length;++o)(c=n[o])[0]<=u[1]+1?u[1]=Math.max(u[1],c[1]):l.push(u=c);for(o=0;o<l.length;++o){var c=l[o];i.push(d(c[0])),c[1]>c[0]&&(c[1]+1>c[0]&&i.push("-"),i.push(d(c[1])))}return i.push("]"),i.join("")}(a):"\\"!==l&&(e[o]=a.replace(/[a-zA-Z]/g,function(t){t=t.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"}))}return e.join("")}for(var r,a=[],n=0,i=t.length;n<i;++n){if((r=t[n]).global||r.multiline)throw new Error(""+r);a.push("(?:"+s(r)+")")}return new RegExp(a.join("|"),e?"gi":"g")}function p(t,s){var r=/(?:^|\s)nocode(?:\s|$)/,a=[],l=0,u=[],c=0;return function t(e){var n=e.nodeType;if(1==n){if(!r.test(e.className)){for(var i=e.firstChild;i;i=i.nextSibling)t(i);var o=e.nodeName.toLowerCase();"br"!==o&&"li"!==o||(a[c]="\n",u[c<<1]=l++,u[c++<<1|1]=e)}}else 3!=n&&4!=n||(n=e.nodeValue).length&&(n=s?n.replace(/\r\n?/g,"\n"):n.replace(/[ \t\r\n]+/g," "),a[c]=n,u[c<<1]=l,l+=n.length,u[c++<<1|1]=e)}(t),{sourceCode:a.join("").replace(/\n$/,""),spans:u}}function A(t,e,n,i,o){n&&(i(e={sourceNode:t,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:e,decorations:null}),o.push.apply(o,e.decorations))}var F=/\S/;function g(c,C){var _,x={};!function(){for(var t=c.concat(C),e=[],n={},i=0,o=t.length;i<o;++i){var s=t[i],r=s[3];if(r)for(var a=r.length;0<=--a;)x[r.charAt(a)]=s;var l=s[1],u=""+l;n.hasOwnProperty(u)||(e.push(l),n[u]=null)}e.push(/[\0-\uffff]/),_=f(e)}();var k=C.length,$=function(t){for(var e=t.sourceCode,n=t.basePos,i=t.sourceNode,o=[n,T],s=0,r=e.match(_)||[],a={},l=0,u=r.length;l<u;++l){var c,h=r[l],d=a[h],f=void 0;if("string"==typeof d)c=!1;else{var p=x[h.charAt(0)];if(p)f=h.match(p[1]),d=p[0];else{for(var g=0;g<k;++g)if(p=C[g],f=h.match(p[1])){d=p[0];break}f||(d=T)}!(c=5<=d.length&&"lang-"===d.substring(0,5))||f&&"string"==typeof f[1]||(c=!1,d=S),c||(a[h]=d)}var m,v,y,b,w=s;s+=h.length,c?(m=f[1],y=(v=h.indexOf(m))+m.length,f[2]&&(v=(y=h.length-f[2].length)-m.length),b=d.substring(5),A(i,n+w,h.substring(0,v),$,o),A(i,n+w+v,m,P(b,m),o),A(i,n+w+y,h.substring(y),$,o)):o.push(n+w,d)}t.decorations=o};return $}function m(t){var e=[],n=[];t.tripleQuotedStrings?e.push([c,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):t.multiLineStrings?e.push([c,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):e.push([c,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),t.verbatimStrings&&n.push([c,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var i=t.hashComments;i&&(t.cStyleComments?(1<i?e.push([h,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):e.push([h,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push([c,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):e.push([h,/^#[^\r\n]*/,null,"#"])),t.cStyleComments&&(n.push([h,/^\/\/[^\r\n]*/,null]),n.push([h,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));i=t.regexLiterals;i&&(o="/(?=[^/*"+(i=1<i?"":"\n\r")+"])(?:[^/\\x5B\\x5C"+i+"]|\\x5C"+(o=i?".":"[\\S\\s]")+"|\\x5B(?:[^\\x5C\\x5D"+i+"]|\\x5C"+o+")*(?:\\x5D|$))+/",n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("
1+o+")")]));var o=t.types;o&&n.push(["typ",o]);o=(""+t.keywords).replace(/^ | $/g,"");o.length&&n.push(["kwd",new RegExp("^(?:"+o.replace(/[\s,]+/g,"|")+")\\b"),null]),e.push([T,/^\s+/,null," \r\n\t "]);o="^.[^\\s\\w.$@'\"`/\\\\]*";return t.regexLiterals&&(o+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[T,/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[T,/^\\[\s\S]?/,null],[d,new RegExp(o),null]),g(e,n)}function D(t,e,r){for(var a=/(?:^|\s)nocode(?:\s|$)/,l=/\r\n?|\n/,u=t.ownerDocument,n=u.createElement("li");t.firstChild;)n.appendChild(t.firstChild);var i=[n];function c(t){for(;!t.nextSibling;)if(!(t=t.parentNode))return;for(var e,n=function t(e,n){var i=n?e.cloneNode(!1):e,n=e.parentNode;if(n){var o=t(n,1),s=e.nextSibling;o.appendChild(i);for(var r=s;r;r=s)s=r.nextSibling,o.appendChild(r)}return i}(t.nextSibling,0);(e=n.parentNode)&&1===e.nodeType;)n=e;i.push(n)}for(var o=0;o<i.length;++o)!function t(e){var n,i,o=e.nodeType;if(1!=o||a.test(e.className))3!=o&&4!=o||!r||(i=(n=e.nodeValue).match(l))&&(o=n.substring(0,i.index),e.nodeValue=o,(i=n.substring(i.index+i[0].length))&&e.parentNode.insertBefore(u.createTextNode(i),e.nextSibling),c(e),o||e.parentNode.removeChild(e));else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var s=e.firstChild;s;s=s.nextSibling)t(s)}(i[o]);e===(0|e)&&i[0].setAttribute("value",e);var s=u.createElement("ol");s.className="linenums";for(var h=Math.max(0,e-1|0)||0,o=0,d=i.length;o<d;++o)(n=i[o]).className="L"+(o+h)%10,n.firstChild||n.appendChild(u.createTextNode(" ")),s.appendChild(n);t.appendChild(s)}t=m({keywords:[e,i,n,o,s,r,a,l],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});var v={};function y(t,e){for(var n=e.length;0<=--n;){var i=e[n];v.hasOwnProperty(i)?E.console&&console.warn("cannot override language handler %s",i):v[i]=t}}function P(t,e){return t&&v.hasOwnProperty(t)||(t=/^\s*</.test(e)?"default-markup":"default-code"),v[t]}function z(t){var e=t.langExtension;try{var n=p(t.sourceNode,t.pre),i=n.sourceCode;t.sourceCode=i,t.spans=n.spans,t.basePos=0,P(e,i)(t),function(t){var e,n,i=(i=/\bMSIE\s(\d+)/.exec(navigator.userAgent))&&+i[1]<=8,o=/\n/g,s=t.sourceCode,r=s.length,a=0,l=t.spans,u=l.length,c=0,h=t.decorations,d=0;for(h[m=h.length]=r,n=e=0;n<m;)h[n]!==h[n+2]?(h[e++]=h[n++],h[e++]=h[n++]):n+=2;for(m=e,n=e=0;n<m;){for(var f=h[n],p=h[n+1],g=n+2;g+2<=m&&h[g+1]===p;)g+=2;h[e++]=f,h[e++]=p,n=g}var m=h.length=e,v=t.sourceNode,t="";v&&(t=v.style.display,v.style.display="none");try{for(;c<u;){l[c];var y,b,w,C,_=l[c+2]||r,x=h[d+2]||r,g=Math.min(_,x),k=l[c+1];1!==k.nodeType&&(y=s.substring(a,g))&&(i&&(y=y.replace(o,"\r")),k.nodeValue=y,(w=(b=k.ownerDocument).createElement("span")).className=h[d+1],(C=k.parentNode).replaceChild(w,k),w.appendChild(k),a<_&&(l[c+1]=k=b.createTextNode(s.substring(g,_)),C.insertBefore(k,w.nextSibling))),_<=(a=g)&&(c+=2),x<=a&&(d+=2)}}finally{v&&(v.style.display=t)}}(t)}catch(t){E.console&&console.log(t&&t.stack||t)}}function b(t,e,n){var i=n||!1,n=e||null,e=document.createElement("div");return e.innerHTML="<pre>"+t+"</pre>",e=e.firstChild,i&&D(e,i,!0),z({langExtension:n,numberLines:i,sourceNode:e,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),e.innerHTML}function w(g,t){var e=t||document.body,m=e.ownerDocument||document;function n(t){return e.getElementsByTagName(t)}for(var i=[n("pre"),n("code"),n("xmp")],v=[],o=0;o<i.length;++o)for(var s=0,r=i[o].length;s<r;++s)v.push(i[o][s]);var i=null,y=Date;y.now||(y={now:function(){return+new Date}});var b=0,w=/\blang(?:uage)?-([\w.]+)(?!\S)/,C=/\bprettyprint\b/,_=/\bprettyprinted\b/,x=/pre|xmp/i,k=/^code$/i,$=/^(?:pre|code|xmp)$/i,T={};!function t(){for(var e=E.PR_SHOULD_USE_CONTINUATION?y.now()+250:1/0;b<v.length&&y.now()<e;b++){for(var n=v[b],i=T,o=n;o=o.previousSibling;){var s=o.nodeType,r=(7===s||8===s)&&o.nodeValue;if(r?!/^\??prettify\b/.test(r):3!==s||/\S/.test(o.nodeValue))break;if(r){i={},r.replace(/\b(\w+)=([\w:.%+-]+)/g,function(t,e,n){i[e]=n});break}}var a=n.className;if((i!==T||C.test(a))&&!_.test(a)){for(var l,u,c,h,d=!1,f=n.parentNode;f;f=f.parentNode){var p=f.tagName;if($.test(p)&&f.className&&C.test(f.className)){d=!0;break}}
1d||(n.className+=" prettyprinted",u=(u=i.lang)||(u=!(u=a.match(w))&&(l=function(t){for(var e=void 0,n=t.firstChild;n;n=n.nextSibling)var i=n.nodeType,e=1===i?e?t:n:3===i&&F.test(n.nodeValue)?t:e;return e===t?void 0:e}(n))&&k.test(l.tagName)?l.className.match(w):u)&&u[1],c=x.test(n.tagName)?1:(h=n.currentStyle,c=m.defaultView,(h=h?h.whiteSpace:c&&c.getComputedStyle?c.getComputedStyle(n,null).getPropertyValue("white-space"):0)&&"pre"===h.substring(0,3)),(h=(h="true"===(h=i.linenums)||+h)?h:!!(h=a.match(/\blinenums\b(?::(\d+))?/))&&(!h[1]||!h[1].length||+h[1]))&&D(n,h,c),z({langExtension:u,sourceNode:n,numberLines:h,pre:c,sourceCode:null,basePos:null,spans:null,decorations:null}))}}b<v.length?E.setTimeout(t,250):"function"==typeof g&&g()}()}y(t,["default-code"]),y(g([],[[T,/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],[h,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[d,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),y(g([[T,/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[d,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),y(g([],[["atv",/^[\s\S]+/]]),["uq.val"]),y(m({keywords:e,hashComments:!0,cStyleComments:!0,types:u}),["c","cc","cpp","cxx","cyc","m"]),y(m({keywords:"null,true,false"}),["json"]),y(m({keywords:i,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:u}),["cs"]),y(m({keywords:n,cStyleComments:!0}),["java"]),y(m({keywords:l,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),y(m({keywords:r,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),y(m({keywords:s,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),y(m({keywords:a,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),y(m({keywords:o,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),y(m({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),y(g([],[[c,/^[\s\S]+/]]),["regex"]);var C=E.PR={createSimpleLexer:g,registerLangHandler:y,sourceDecorator:m,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:h,PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:T,PR_PUNCTUATION:d,PR_SOURCE:S,PR_STRING:c,PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:IN_GLOBAL_SCOPE?E.prettyPrintOne=b:prettyPrintOne=b,prettyPrint:prettyPrint=IN_GLOBAL_SCOPE?E.prettyPrint=w:w};"function"==typeof(o=E.define)&&o.amd&&o("google-code-prettify",[],function(){return C})}(),function(l,n,i,a){function u(t,e){this.settings=null,this.options=l.extend({},u.Defaults,e),this.$element=l(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(t,e){this._handlers[e]=l.proxy(this[e],this)},this)),l.each(u.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(u.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}u.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:n,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},u.Width={Default:"default",Inner:"inner",Outer:"outer"},u.Type={Event:"event",State:"state"},u.Plugins={},u.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,e={width:"auto","margin-left":i?e:"","margin-right":i?"":e};n||this.$stage.children().css(e),t.css=e}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,o=!this.settings.autoWidth,s=[];for(t.items={merge:!1,width:e};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,t.items.merge=1<n||t.items.merge,s[i]=o?e*n:this._items[i].width();this._widths=s}},{filter:["items","settings"],run:function(){var t=[],e=this._items,n=this.settings,i=Math.max(2*n.items,4),o=2*Math.ceil(e.length/2),s=n.loop&&e.length?n.rewind?i:Math.max(i,o):0,r="",a="";for(s/=2;0<s;)t.push(this.normalize(t.length/2,!0)),r+=e[t[t.length-1]][0].outerHTML,t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),a=e[t[t.length-1]][0].outerHTML+a,--s;
vendor: 41,693 bytes, line 1
1this._clones=t,l(r).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t,e,n=this.settings.rtl?1:-1,i=this._clones.length+this._items.length,o=-1,s=[];++o<i;)t=s[o-1]||0,e=this._widths[this.relative(o)]+this.settings.margin,s.push(t+e*n);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,t={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(t)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],i.eq(e).css(t.css);else n&&(t.css.width=t.items.width,i.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var t,e,n=this.settings.rtl?1:-1,i=2*this.settings.stagePadding,o=this.coordinates(this.current())+i,s=o+this.width()*n,r=[],a=0,l=this._coordinates.length;a<l;a++)t=this._coordinates[a-1]||0,e=Math.abs(this._coordinates[a])+i*n,(this.op(t,"<=",o)&&this.op(t,">",s)||this.op(e,"<",o)&&this.op(e,">",s))&&r.push(a);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+r.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],u.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},u.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return l(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},u.prototype.initialize=function(){var t,e;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,e=this.$element.children(e).width(),t.length&&e<=0&&this.preloadAutoWidthImages(t)),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},u.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},u.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,n=-1,i=null;t?(l.each(t,function(t){t<=e&&n<t&&(n=Number(t))}),"function"==typeof(i=l.extend({},this.options,t[n])).stagePadding&&(i.stagePadding=i.stagePadding()),delete i.responsive,i.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):i=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=n,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},u.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},u.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},u.prototype.update=function(){for(var t=0,e=this._pipe.length,n=l.proxy(function(t){return this[t]},this._invalidated),i={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,n).length)&&this._pipe[t].run(i),t++;this._invalidated={},this.is("valid")||this.enter("valid")},u.prototype.width=function(t){switch(t=t||u.Width.Default){case u.Width.Inner:case u.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},u.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},u.prototype.onThrottledResize=function(){n.clearTimeout(this.resizeTimer),this.resizeTimer=n.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},u.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},u.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(n,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},u.prototype.onDragStart=function(t){var e=null;3!==t.which&&(e=l.support.transform?{x:(e=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===e.length?12:4],y:e[16===e.length?13:5]}:(e=this.$stage.position(),{x:this.settings.rtl?e.left+this.$stage.width()-this.width()+this.settings.margin:e.left,y:e.top}),this.is("animating")&&(l.support.transform?this.animate(e.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(t.target),this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this.pointer(t),l(i).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(i).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));l(i).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(e.x)<Math.abs(e.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},u.prototype.onDragMove=function(t){var e,n=null,i=null,o=this.difference(this._drag.pointer,this.pointer(t)),s=this.difference(this._drag.stage.start,o);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(n=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-n,s.x=((s.x-n)%i+i)%i+n):(n=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),e=this.settings.pullDrag?-1*o.x/5:0,s.x=Math.max(Math.min(s.x,n+e),i+e)),this._drag.stage.current=s,this.animate(s.x))},u.prototype.onDragEnd=function(t){var e=this.difference(this._drag.pointer,this.pointer(t)),n=this._drag.stage.current,t=0<e.x^this.settings.rtl?"left":"right";l(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==e.x?t:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=t,(3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},u.prototype.closest=function(n,i){var o=-1,s=this.width(),r=this.coordinates();return this.settings.freeDrag||l.each(r,l.proxy(function(t,e){return"left"===i&&e-30<n&&n<e+30?o=t:"right"===i&&e-s-30<n&&n<e-s+30?o=t+1:this.op(n,"<",e)&&this.op(n,">",r[t+1]!==a?r[t+1]:e-s)&&(o="left"===i?t+1:t),-1===o},this)),this.settings.loop||(this.op(n,">",r[this.minimum()])?o=n=this.minimum():this.op(n,"<",r[this.maximum()])&&(o=n=this.maximum())),o},u.prototype.animate=function(t){var e=0<this.speed();this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},u.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},u.prototype.current=function(t){return t===a?this._current:0===this._items.length?a:(t=this.normalize(t),this._current!==t&&((e=this.trigger("change",{property:{name:"position",value:t}})).data!==a&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})),this._current);var e},u.prototype.invalidate=function(t){return"string"===l.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),l.map(this._invalidated,function(t,e){return e})},u.prototype.reset=function(t){(t=this.normalize(t))!==a&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},u.prototype.normalize=function(t,e){var n=this._items.length,e=e?0:this._clones.length;return!this.isNumeric(t)||n<1?t=a:(t<0||n+e<=t)&&(t=((t-e/2)%n+n)%n+e/2),t},u.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},u.prototype.maximum=function(t){var e,n,i,o=this.settings,s=this._coordinates.length;if(o.loop)s=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){if(e=this._items.length)for(n=this._items[--e].width(),i=this.$element.width();e--&&!(i<(n+=this._items[e].width()+this.settings.margin)););s=e+1}else s=o.center?this._items.length-1:this._items.length-o.items;return t&&(s-=this._clones.length/2),Math.max(s,0)},u.prototype.minimum=function(t){return t?0:this._clones.length/2},u.prototype.items=function(t){return t===a?this._items.slice():(t=this.normalize(t,!0),this._items[t])},u.prototype.mergers=function(t){return t===a?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},u.prototype.clones=function(n){function i(t){return t%2==0?o+t/2:e-(t+1)/2}var e=this._clones.length/2,o=e+this._items.length;return n===a?l.map(this._clones,function(t,e){return i(e)}):l.map(this._clones,function(t,e){return t===n?i(e):null})},u.prototype.speed=function(t){return t!==a&&(this._speed=t),this._speed},u.prototype.coordinates=function(t){var e,n=1,i=t-1;return t===a?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,i=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[i]||0))/2*n):e=this._coordinates[i]||0,e=Math.ceil(e))},u.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},u.prototype.to=function(t,e){var n,i=this.current(),o=t-this.relative(i),s=(0<o)-(o<0),r=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>r/2&&(o+=-1*s*r),(n=(((t=i+o)-a)%r+r)%r+a)!==t&&n-o<=l&&0<n-o&&(i=n-o,t=n,this.reset(i))):t=this.settings.rewind?(t%(l+=1)+l)%l:Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update()},u.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},u.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},u.prototype.onTransitionEnd=function(t){if(t!==a&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},u.prototype.viewport=function(){var t;return this.options.responsiveBaseElement!==n?t=l(this.options.responsiveBaseElement).width():n.innerWidth?t=n.innerWidth:i.documentElement&&i.documentElement.clientWidth?t=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),t},u.prototype.replace=function(t){this.$stage.empty(),this._items=[],t=t&&(t instanceof jQuery?t:l(t)),(t=this.settings.nestedItemSelector?t.find("."+this.settings.nestedItemSelector):t).filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},u.prototype.add=function(t,e){var n=this.relative(this._current);e=e===a?this._items.length:this.normalize(e,!0),t=t instanceof jQuery?t:l(t),this.trigger("add",{content:t,position:e}),t=this.prepare(t),0===this._items.length||e===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[e-1].after(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},u.prototype.remove=function(t){(t=this.normalize(t,!0))!==a&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},u.prototype.preloadAutoWidthImages=function(t){t.each(l.proxy(function(t,e){this.enter("pre-loading"),e=l(e),l(new Image).one("load",l.proxy(function(t){e.attr("src",t.target.src),e.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))},u.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(i).off(".owl.core"),!1!==this.settings.responsive&&(n.clearTimeout(this.resizeTimer),this.off(n,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[t].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},u.prototype.op=function(t,e,n){var i=this.settings.rtl;switch(e){case"<":return i?n<t:t<n;case">":return i?t<n:n<t;case">=":return i?t<=n:n<=t;case"<=":return i?n<=t:t<=n}},u.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},u.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},u.prototype.trigger=function(t,e,n,i,o){var s={item:{count:this._items.length,index:this.current()}},r=l.camelCase(l.grep(["on",t,n],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",n||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:u.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[r]&&this.settings[r].call(this,a)),a},u.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===a&&(this._states.current[e]=0),this._states.current[e]++},this))},u.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},u.prototype.register=function(n){var e;n.type===u.Type.Event?(l.event.special[n.name]||(l.event.special[n.name]={}),l.event.special[n.name].owl||(e=l.event.special[n.name]._default,l.event.special[n.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1<t.namespace.indexOf("owl"):e.apply(this,arguments)},l.event.special[n.name].owl=!0)):n.type===u.Type.State&&(this._states.tags[n.name]?this._states.tags[n.name]=this._states.tags[n.name].concat(n.tags):this._states.tags[n.name]=n.tags,this._states.tags[n.name]=l.grep(this._states.tags[n.name],l.proxy(function(t,e){return l.inArray(t,this._states.tags[n.name])===e},this)))},u.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},u.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},u.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||n.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},u.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},u.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},l.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=l(this),n=t.data("owl.carousel");n||(n=new u(this,"object"==typeof e&&e),t.data("owl.carousel",n),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){n.register({type:u.Type.Event,name:e}),n.$element.on(e+".owl.carousel.core",l.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),n[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},n))})),"string"==typeof e&&"_"!==e.charAt(0)&&n[e].apply(n,i)})},l.fn.owlCarousel.Constructor=u}(window.Zepto||window.jQuery,window,document),function(e,n){var i=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={autoRefresh:!0,autoRefreshInterval:500},i.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=n.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},i.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},i.prototype.destroy=function(){var t,e;for(t in n.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=i}(window.Zepto||window.jQuery,window,document),function(a,o){var e=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var e=this._core.settings,n=e.center&&Math.ceil(e.items/2)||e.items,i=e.center&&-1*n||0,o=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+i,s=this._core.clones().length,r=a.proxy(function(t,e){this.load(e)},this);for(0<e.lazyLoadEager&&(n+=e.lazyLoadEager,e.loop&&(o-=e.lazyLoadEager,n++));i++<n;)this.load(s/2+this._core.relative(o)),s&&a.each(this._core.clones(this._core.relative(o)),r),o++}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1,lazyLoadEager:0},e.prototype.load=function(t){var e=this._core.$stage.children().eq(t),t=e&&e.find(".owl-lazy");!t||-1<a.inArray(e.get(0),this._loaded)||(t.each(a.proxy(function(t,e){var n=a(e),i=1<o.devicePixelRatio&&n.attr("data-src-retina")||n.attr("data-src")||n.attr("data-srcset");this._core.trigger("load",{element:n,url:i},"lazy"),n.is("img")?n.one("load.owl.lazy",a.proxy(function(){n.css("opacity",1),this._core.trigger("loaded",{element:n,url:i},"lazy")},this)).attr("src",i):n.is("source")?n.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:n,url:i},"lazy")},this)).attr("srcset",i):((e=new Image).onload=a.proxy(function(){n.css({"background-image":'url("'+i+'")',opacity:"1"}),this._core.trigger("loaded",{element:n,url:i},"lazy")},this),e.src=i)},this)),this._loaded.push(e.get(0)))},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(o,n){var i=function(t){this._core=t,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=o.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var e=this;o(n).on("load",function(){e._core.settings.autoHeight&&e.update()}),o(n).resize(function(){e._core.settings.autoHeight&&(null!=e._intervalId&&clearTimeout(e._intervalId),e._intervalId=setTimeout(function(){e.update()},250))})};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var t=this._core._current,e=t+this._core.settings.items,n=this._core.settings.lazyLoad,t=this._core.$stage.children().toArray().slice(t,e),i=[],e=0;o.each(t,function(t,e){i.push(o(e).height())}),(e=Math.max.apply(null,i))<=1&&n&&this._previousHeight&&(e=this._previousHeight),this._previousHeight=e,this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||window.jQuery,window,document),function(c,e){var n=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":c.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":c.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":c.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":c.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":c.proxy(function(t){var e;!t.namespace||(e=c(t.content).find(".owl-video")).length&&(e.css("display","none"),this.fetch(e,c(t.content)))},this)},this._core.options=c.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",c.proxy(function(t){this.play(t)},this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var n=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",i=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),o=t.attr("data-width")||this._core.settings.videoWidth,s=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if(-1<(i=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))n="youtube";else if(-1<i[3].indexOf("vimeo"))n="vimeo";else{if(!(-1<i[3].indexOf("vzaar")))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[r]={type:n,id:i,width:o,height:s},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},n.prototype.thumbnail=function(e,t){function n(t){i=u.lazyLoad?c("<div/>",{class:"owl-video-tn "+l,srcType:t}):c("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+t+")"}),e.after(i),e.after('<div class="owl-video-play-icon"></div>')}var i,o,s=t.width&&t.height?"width:"+t.width+"px;height:"+t.height+"px;":"",r=e.find("img"),a="src",l="",u=this._core.settings;if(e.wrap(c("<div/>",{class:"owl-video-wrapper",style:s})),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length)return n(r.attr(a)),r.remove(),!1;"youtube"===t.type?(o="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",n(o)):"vimeo"===t.type?c.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,n(o)}}):"vzaar"===t.type&&c.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,n(o)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(t){var e=c(t.target).closest("."+this._core.settings.itemClass),n=this._videos[e.attr("data-video")],i=n.width||"100%",o=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),(t=c('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",o),t.attr("width",i),"youtube"===n.type?t.attr("src","//www.youtube.com/embed/"+n.id+"?autoplay=1&rel=0&v="+n.id):"vimeo"===n.type?t.attr("src","//player.vimeo.com/video/"+n.id+"?autoplay=1"):"vzaar"===n.type&&t.attr("src","//view.vzaar.com/"+n.id+"/player?autoplay=true"),c(t).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&c(t).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},c.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,(window,document)),function(r){var e=function(t){this.core=t,this.core.options=r.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":r.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":r.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){var t,e,n,i,o,s;1===this.core.settings.items&&r.support.animation&&r.support.transition&&(this.core.speed(0),e=r.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut,this.core.current()!==this.previous&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(r.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s)),o&&i.one(r.support.animation.end,e).addClass("animated owl-animated-in").addClass(o)))},e.prototype.clear=function(t){r(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},r.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,(window,document)),function(i,o,e){var n=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":i.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":i.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":i.proxy(function(t,e,n){t.namespace&&this.play(e,n)},this),"stop.owl.autoplay":i.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=i.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype._next=function(t){this._call=o.setTimeout(i.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(t,e){var n;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,n=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):o.clearTimeout(this._call),this._time+=this.read()%t-n,this._timeout=t,this._call=o.setTimeout(i.proxy(this._next,this,e),t-n)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,o.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,o.clearTimeout(this._call))},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(o){"use strict";var e=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+o(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":o.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=o.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var t,n=this._core.settings;for(t in this._controls.$relative=(n.navContainer?o(n.navContainer):o("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=o("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",o.proxy(function(t){this.prev(n.navSpeed)},this)),this._controls.$next=o("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",o.proxy(function(t){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[o('<button role="button">').addClass(n.dotClass).append(o("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?o(n.dotsContainer):o("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",o.proxy(function(t){var e=(o(t.target).parent().is(this._controls.$absolute)?o(t.target):o(t.target).parent()).index();t.preventDefault(),this.to(e,n.dotsSpeed)},this)),this._overrides)this._core[t]=o.proxy(this[t],this)},e.prototype.destroy=function(){var t,e,n,i,o=this._core.settings;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&o.navContainer?this._controls[e].html(""):this._controls[e].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.prototype.update=function(){var t,e,n=this._core.clones().length/2,i=n+this._core.items().length,o=this._core.maximum(!0),s=this._core.settings,r=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=n,e=0;t<i;t++){if(r<=e||0===e){if(this._pages.push({start:Math.min(o,t-n),end:t-n+r-1}),Math.min(o,t-n)===o)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},e.prototype.draw=function(){var t=this._core.settings,e=this._core.items().length<=t.items,n=this._core.relative(this._core.current()),i=t.loop||t.rewind;this._controls.$relative.toggleClass("disabled",!t.nav||e),t.nav&&(this._controls.$previous.toggleClass("disabled",!i&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!i&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!t.dots||e),t.dots&&(e=this._pages.length-this._controls.$absolute.children().length,t.dotsData&&0!=e?this._controls.$absolute.html(this._templates.join("")):0<e?this._controls.$absolute.append(new Array(1+e).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(o.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(t){var e=this._core.settings;t.page={index:o.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotsData?1:e.dotsEach||e.items)}},e.prototype.current=function(){var n=this._core.relative(this._core.current());return o.grep(this._pages,o.proxy(function(t,e){return t.start<=n&&t.end>=n},this)).pop()},e.prototype.getPosition=function(t){var e,n,i=this._core.settings;return"page"==i.slideBy?(e=o.inArray(this.current(),this._pages),n=this._pages.length,t?++e:--e,e=this._pages[(e%n+n)%n].start):(e=this._core.relative(this._core.current()),n=this._core.items().length,t?e+=i.slideBy:e-=i.slideBy),e},e.prototype.next=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},e.prototype.prev=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},e.prototype.to=function(t,e,n){!n&&this._pages.length?(n=this._pages.length,o.proxy(this._overrides.to,this._core)(this._pages[(t%n+n)%n].start,e)):o.proxy(this._overrides.to,this._core)(t,e)},o.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,(window,document)),function(i,o){"use strict";var e=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":i.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&i(o).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":i.proxy(function(t){var e;!t.namespace||(e=i(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[e]=t.content)},this),"changed.owl.carousel":i.proxy(function(t){var n;t.namespace&&"position"===t.property.name&&(n=this._core.items(this._core.relative(this._core.current())),(t=i.map(this._hashes,function(t,e){return t===n?e:null}).join())&&o.location.hash.slice(1)!==t&&(o.location.hash=t))},this)},this._core.options=i.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),i(o).on("hashchange.owl.navigation",i.proxy(function(t){var e=o.location.hash.substring(1),n=this._core.$stage.children(),e=this._hashes[e]&&n.index(this._hashes[e]);void 0!==e&&e!==this._core.current()&&this._core.to(this._core.relative(e),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var t,e;for(t in i(o).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(o,s){var r=o("<support>").get(0).style,a="Webkit Moz O ms".split(" "),t={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},e=function(){return!!l("transform")},n=function(){return!!l("perspective")},i=function(){return!!l("animation")};function l(t,n){var i=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return o.each((t+" "+a.join(e+" ")+e).split(" "),function(t,e){if(r[e]!==s)return i=!n||e,!1}),i}function u(t){return l(t,!0)}!function(){return!!l("transition")}()||(o.support.transition=new String(u("transition")),o.support.transition.end=t.transition.end[o.support.transition]),i()&&(o.support.animation=new String(u("animation")),o.support.animation.end=t.animation.end[o.support.animation]),e()&&(o.support.transform=new String(u("transform")),o.support.transform3d=n())}(window.Zepto||window.jQuery,(window,void document)),function(){var h={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:e,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:e,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:e,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};function l(t){this.tokens=[],this.tokens.links={},this.options=t||f.defaults,this.rules=h.normal,this.options.gfm&&(this.options.tables?this.rules=h.tables:this.rules=h.gfm)}
vendor: 13,076 bytes, line 1
1h.bullet=/(?:[*+-]|\d+\.)/,h.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,h.item=t(h.item,"gm")(/bull/g,h.bullet)(),h.list=t(h.list)(/bull/g,h.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+h.def.source+")")(),h.blockquote=t(h.blockquote)("def",h.def)(),h._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",h.html=t(h.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,h._tag)(),h.paragraph=t(h.paragraph)("hr",h.hr)("heading",h.heading)("lheading",h.lheading)("blockquote",h.blockquote)("tag","<"+h._tag)("def",h.def)(),h.normal=d({},h),h.gfm=d({},h.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),h.gfm.paragraph=t(h.paragraph)("(?!","(?!"+h.gfm.fences.source.replace("\\1","\\2")+"|"+h.list.source.replace("\\1","\\3")+"|")(),h.tables=d({},h.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),l.rules=h,l.lex=function(t,e){return new l(e).lex(t)},l.prototype.lex=function(t){return t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g,"    ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(t,!0)},l.prototype.token=function(t,e,n){for(var i,o,s,r,a,l,u,c,t=t.replace(/^ +$/gm,"");t;)if((o=this.rules.newline.exec(t))&&(t=t.substring(o[0].length),1<o[0].length&&this.tokens.push({type:"space"})),o=this.rules.code.exec(t))t=t.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(e&&(o=this.rules.nptable.exec(t))){for(t=t.substring(o[0].length),a={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},u=0;u<a.align.length;u++)/^ *-+: *$/.test(a.align[u])?a.align[u]="right":/^ *:-+: *$/.test(a.align[u])?a.align[u]="center":/^ *:-+ *$/.test(a.align[u])?a.align[u]="left":a.align[u]=null;for(u=0;u<a.cells.length;u++)a.cells[u]=a.cells[u].split(/ *\| */);this.tokens.push(a)}else if(o=this.rules.lheading.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(o=this.rules.hr.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,e,!0),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(t)){for(t=t.substring(o[0].length),s=o[2],this.tokens.push({type:"list_start",ordered:1<s.length}),i=!1,c=(o=o[0].match(this.rules.item)).length,u=0;u<c;u++)l=(a=o[u]).length,~(a=a.replace(/^ *([*+-]|\d+\.) +/,"")).indexOf("\n ")&&(l-=a.length,a=this.options.pedantic?a.replace(/^ {1,4}/gm,""):a.replace(new RegExp("^ {1,"+l+"}","gm"),"")),this.options.smartLists&&u!==c-1&&(s===(r=h.bullet.exec(o[u+1])[0])||1<s.length&&1<r.length||(t=o.slice(u+1).join("\n")+t,u=c-1)),r=i||/\n\n(?!\s*$)/.test(a),u!==c-1&&(i="\n"===a.charAt(a.length-1),r=r||i),this.tokens.push({type:r?"loose_item_start":"list_item_start"}),this.token(a,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(t))t=t.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(!n&&e&&(o=this.rules.def.exec(t)))t=t.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(e&&(o=this.rules.table.exec(t))){for(t=t.substring(o[0].length),a={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},u=0;u<a.align.length;u++)/^ *-+: *$/.test(a.align[u])?a.align[u]="right":/^ *:-+: *$/.test(a.align[u])?a.align[u]="center":/^ *:-+ *$/.test(a.align[u])?a.align[u]="left":a.align[u]=null;for(u=0;u<a.cells.length;u++)a.cells[u]=a.cells[u].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(a)}else if(e&&(o=this.rules.paragraph.exec(t)))t=t.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0));return this.tokens};var n={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:e,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:e,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};function i(t,e){if(this.options=e||f.defaults,this.links=t,this.rules=n.normal,this.renderer=this.options.renderer||new o,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=n.breaks:this.rules=n.gfm:this.options.pedantic&&(this.rules=n.pedantic)}function o(t){this.options=t||{}}function u(t){this.tokens=[],this.token=null,this.options=t||f.defaults,this.options.renderer=this.options.renderer||new o,this.renderer=this.options.renderer,this.renderer.options=this.options}function c(t,e){return t.replace(e?/&/g:/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function t(i,o){return i=i.source,o=o||"",function t(e,n){return e?(n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),i=i.replace(e,n),t):new RegExp(i,o)}}function e(){}function d(t){for(var e,n,i=1;i<arguments.length;i++)for(n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function f(t,n,i){if(i||"function"==typeof n){i||(i=n,n=null);var o,s=(n=d({},f.defaults,n||{})).highlight,e=0;try{o=l.lex(t,n)}catch(t){return i(t)}function r(e){if(e)return n.highlight=s,i(e);var t;try{t=u.parse(o,n)}catch(t){e=t}return n.highlight=s,e?i(e):i(null,t)}var a=o.length;if(!s||s.length<3)return r();if(delete n.highlight,!a)return r();for(;e<o.length;e++)!function(n){"code"!==n.type?--a||r():s(n.text,n.lang,function(t,e){return t?r(t):null==e||e===n.text?--a||r():(n.text=e,n.escaped=!0,void(--a||r()))})}(o[e])}else try{return n=n&&d({},f.defaults,n),u.parse(l.lex(t,n),n)}catch(t){if(t.message+="\nPlease report this to https://github.com/chjj/marked.",(n||f.defaults).silent)return"<p>An error occured:</p><pre>"+c(t.message+"",!0)+"</pre>";throw t}}n._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,n._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,n.link=t(n.link)("inside",n._inside)("href",n._href)(),n.reflink=t(n.reflink)("inside",n._inside)(),n.normal=d({},n),n.pedantic=d({},n.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),n.gfm=d({},n.normal,{escape:t(n.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:t(n.text)("]|","~]|")("|","|https?://|")()}),n.breaks=d({},n.gfm,{br:t(n.br)("{2,}","*")(),text:t(n.gfm.text)("{2,}","*")()}),i.rules=n,i.output=function(t,e,n){return new i(e,n).output(t)},i.prototype.output=function(t){for(var e,n,i,o,s="";t;)if(o=this.rules.escape.exec(t))t=t.substring(o[0].length),s+=o[1];else if(o=this.rules.autolink.exec(t))t=t.substring(o[0].length),i="@"===o[2]?(n=":"===o[1].charAt(6)?this.mangle(o[1].substring(7)):this.mangle(o[1]),this.mangle("mailto:")+n):n=c(o[1]),s+=this.renderer.link(i,null,n);else if(this.inLink||!(o=this.rules.url.exec(t))){if(o=this.rules.tag.exec(t))!this.inLink&&/^<a /i.test(o[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(o[0])&&(this.inLink=!1),t=t.substring(o[0].length),s+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):c(o[0]):o[0];else if(o=this.rules.link.exec(t))t=t.substring(o[0].length),this.inLink=!0,s+=this.outputLink(o,{href:o[2],title:o[3]}),this.inLink=!1;else if((o=this.rules.reflink.exec(t))||(o=this.rules.nolink.exec(t)))t=t.substring(o[0].length),e=(o[2]||o[1]).replace(/\s+/g," "),(e=this.links[e.toLowerCase()])&&e.href?(this.inLink=!0,s+=this.outputLink(o,e),this.inLink=!1):(s+=o[0].charAt(0),t=o[0].substring(1)+t);else if(o=this.rules.strong.exec(t))t=t.substring(o[0].length),s+=this.renderer.strong(this.output(o[2]||o[1]));else if(o=this.rules.em.exec(t))t=t.substring(o[0].length),s+=this.renderer.em(this.output(o[2]||o[1]));else if(o=this.rules.code.exec(t))t=t.substring(o[0].length),s+=this.renderer.codespan(c(o[2],!0));else if(o=this.rules.br.exec(t))t=t.substring(o[0].length),s+=this.renderer.br();else if(o=this.rules.del.exec(t))t=t.substring(o[0].length),s+=this.renderer.del(this.output(o[1]));else if(o=this.rules.text.exec(t))t=t.substring(o[0].length),s+=this.renderer.text(c(this.smartypants(o[0])));else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0))}else t=t.substring(o[0].length),i=n=c(o[1]),s+=this.renderer.link(i,null,n);return s},i.prototype.outputLink=function(t,e){var n=c(e.href),e=e.title?c(e.title):null;return"!"!==t[0].charAt(0)?this.renderer.link(n,e,this.output(t[1])):this.renderer.image(n,e,c(t[1]))},i.prototype.smartypants=function(t){return this.options.smartypants?t.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):t},i.prototype.mangle=function(t){if(!this.options.mangle)return t;for(var e,n="",i=t.length,o=0;o<i;o++)e=t.charCodeAt(o),n+="&#"+(e=.5<Math.random()?"x"+e.toString(16):e)+";";return n},o.prototype.code=function(t,e,n){var i;return!this.options.highlight||null!=(i=this.options.highlight(t,e))&&i!==t&&(n=!0,t=i),e?'<pre><code class="'+this.options.langPrefix+c(e,!0)+'">'+(n?t:c(t,!0))+"\n</code></pre>\n":"<pre><code>"+(n?t:c(t,!0))+"\n</code></pre>"},o.prototype.blockquote=function(t){return"<blockquote>\n"+t+"</blockquote>\n"},o.prototype.html=function(t){return t},o.prototype.heading=function(t,e,n){return"<h"+e+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+t+"</h"+e+">\n"},o.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},o.prototype.list=function(t,e){e=e?"ol":"ul";return"<"+e+">\n"+t+"</"+e+">\n"},o.prototype.listitem=function(t){return"<li>"+t+"</li>\n"},o.prototype.paragraph=function(t){return"<p>"+t+"</p>\n"},o.prototype.table=function(t,e){return"<table>\n<thead>\n"+t+"</thead>\n<tbody>\n"+e+"</tbody>\n</table>\n"},o.prototype.tablerow=function(t){return"<tr>\n"+t+"</tr>\n"},o.prototype.tablecell=function(t,e){var n=e.header?"th":"td";return(e.align?"<"+n+' style="text-align:'+e.align+'">':"<"+n+">")+t+"</"+n+">\n"},o.prototype.strong=function(t){return"<strong>"+t+"</strong>"},o.prototype.em=function(t){return"<em>"+t+"</em>"},o.prototype.codespan=function(t){return"<code>"+t+"</code>"},o.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},o.prototype.del=function(t){return"<del>"+t+"</del>"},o.prototype.link=function(t,e,n){if(this.options.sanitize){try{var i=decodeURIComponent(t.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""})).replace(/[^\w:]/g,"").toLowerCase()}catch(t){return""}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:"))return""}var o='<a href="'+t+'"';return e&&(o+=' title="'+e+'"'),o+=">"+n+"</a>"},o.prototype.image=function(t,e,n){n='<img src="'+t+'" alt="'+n+'"';return e&&(n+=' title="'+e+'"'),n+=this.options.xhtml?"/>":">"},o.prototype.text=function(t){return t},u.parse=function(t,e,n){return new u(e).parse(t)},u.prototype.parse=function(t){this.inline=new i(t.links,this.options,this.renderer),this.tokens=t.reverse();for(var e="";this.next();)e+=this.tok();return e},u.prototype.next=function(){return this.token=this.tokens.pop()},u.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},u.prototype.parseText=function(){for(var t=this.token.text;"text"===this.peek().type;)t+="\n"+this.next().text;return this.inline.output(t)},u.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();
1case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":for(var t,e,n="",i="",o="",s=0;s<this.token.header.length;s++)this.token.align[s],o+=this.renderer.tablecell(this.inline.output(this.token.header[s]),{header:!0,align:this.token.align[s]});for(n+=this.renderer.tablerow(o),s=0;s<this.token.cells.length;s++){for(t=this.token.cells[s],o="",e=0;e<t.length;e++)o+=this.renderer.tablecell(this.inline.output(t[e]),{header:!1,align:this.token.align[e]});i+=this.renderer.tablerow(o)}return this.renderer.table(n,i);case"blockquote_start":for(i="";"blockquote_end"!==this.next().type;)i+=this.tok();return this.renderer.blockquote(i);case"list_start":for(var i="",r=this.token.ordered;"list_end"!==this.next().type;)i+=this.tok();return this.renderer.list(i,r);case"list_item_start":for(i="";"list_item_end"!==this.next().type;)i+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(i);case"loose_item_start":for(i="";"list_item_end"!==this.next().type;)i+=this.tok();return this.renderer.listitem(i);case"html":r=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(r);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},e.exec=e,f.options=f.setOptions=function(t){return d(f.defaults,t),f},f.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new o,xhtml:!1},f.Parser=u,f.parser=u.parse,f.Renderer=o,f.Lexer=l,f.lexer=l.lex,f.InlineLexer=i,f.inlineLexer=i.output,f.parse=f,"undefined"!=typeof module&&"object"==typeof exports?module.exports=f:"function"==typeof define&&define.amd?define(function(){return f}):this.marked=f}.call(function(){return this||("undefined"!=typeof window?window:global)}()),function(){"use strict";var e=0,s={};function n(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=n.Adapter.extend({},n.defaults,t),this.element=this.options.element,this.adapter=new n.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=n.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=n.Context.findOrCreateByElement(this.options.context),n.offsetAliases[this.options.offset]&&(this.options.offset=n.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),s[this.key]=this,e+=1}n.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},n.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},n.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete s[this.key]},n.prototype.disable=function(){return this.enabled=!1,this},n.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},n.prototype.next=function(){return this.group.next(this)},n.prototype.previous=function(){return this.group.previous(this)},n.invokeAll=function(t){var e,n=[];for(e in s)n.push(s[e]);for(var i=0,o=n.length;i<o;i++)n[i][t]()},n.destroyAll=function(){n.invokeAll("destroy")},n.disableAll=function(){n.invokeAll("disable")},n.enableAll=function(){n.invokeAll("enable")},n.refreshAll=function(){n.Context.refreshAll()},n.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},n.viewportWidth=function(){return document.documentElement.clientWidth},n.adapters=[],n.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},n.offsetAliases={"bottom-in-view":function(){return this.context.
1innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=n}(),function(){"use strict";function e(t){window.setTimeout(t,1e3/60)}var n=0,i={},f=window.Waypoint,t=window.onload;function o(t){this.element=t,this.Adapter=f.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,n+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}o.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},o.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete i[this.key])},o.prototype.createThrottledResizeHandler=function(){var t=this;function e(){t.handleResize(),t.didResize=!1}this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,f.requestAnimationFrame(e))})},o.prototype.createThrottledScrollHandler=function(){var t=this;function e(){t.handleScroll(),t.didScroll=!1}this.adapter.on("scroll.waypoints",function(){t.didScroll&&!f.isTouch||(t.didScroll=!0,f.requestAnimationFrame(e))})},o.prototype.handleResize=function(){f.Context.refreshAll()},o.prototype.handleScroll=function(){var t,e,n={},i={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(t in i){var o,s=i[t],r=s.newScroll>s.oldScroll?s.forward:s.backward;for(o in this.waypoints[t]){var a=this.waypoints[t][o],l=s.oldScroll<a.triggerPoint,u=s.newScroll>=a.triggerPoint;(l&&u||!l&&!u)&&(a.queueTrigger(r),n[a.group.id]=a.group)}}for(e in n)n[e].flushTriggers();this.oldScroll={x:i.horizontal.newScroll,y:i.vertical.newScroll}},o.prototype.innerHeight=function(){return this.element==this.element.window?f.viewportHeight():this.adapter.innerHeight()},o.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},o.prototype.innerWidth=function(){return this.element==this.element.window?f.viewportWidth():this.adapter.innerWidth()},o.prototype.destroy=function(){var t,e=[];for(t in this.waypoints)for(var n in this.waypoints[t])e.push(this.waypoints[t][n]);for(var i=0,o=e.length;i<o;i++)e[i].destroy()},o.prototype.refresh=function(){var t,e,n=this.element==this.element.window,i=n?void 0:this.adapter.offset(),o={};for(e in this.handleScroll(),t={horizontal:{contextOffset:n?0:i.left,contextScroll:n?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:n?0:i.top,contextScroll:n?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s,r=t[e];for(s in this.waypoints[e]){var a,l=this.waypoints[e][s],u=l.options.offset,c=l.triggerPoint,h=0,d=null==c;l.element!==l.element.window&&(h=l.adapter.offset()[r.offsetProp]),"function"==typeof u?u=u.apply(l):"string"==typeof u&&(u=parseFloat(u),-1<l.options.offset.indexOf("%")&&(u=Math.ceil(r.contextDimension*u/100))),a=r.contextScroll-r.contextOffset,l.triggerPoint=h+a-u,a=c<r.oldScroll,u=l.triggerPoint>=r.oldScroll,c=!a&&!u,!d&&(a&&u)?(l.queueTrigger(r.backward),o[l.group.id]=l.group):(!d&&c||d&&r.oldScroll>=l.triggerPoint)&&(l.queueTrigger(r.forward),o[l.group.id]=l.group)}}return f.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},o.findOrCreateByElement=function(t){return o.findByElement(t)||new o(t)},o.refreshAll=function(){for(var t in i)i[t].refresh()},o.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){t&&t(),o.refreshAll()},f.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},f.Context=o}(),function(){"use strict";function r(t,e){return t.triggerPoint-e.triggerPoint}function a(t,e){return e.triggerPoint-t.triggerPoint}var e={vertical:{},horizontal:{}},n=window.Waypoint;function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),e[this.axis][this.name]=this}i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],r
1ight:[]}},i.prototype.flushTriggers=function(){for(var t in this.triggerQueues){var e=this.triggerQueues[t],n="up"===t||"left"===t;e.sort(n?a:r);for(var i=0,o=e.length;i<o;i+=1){var s=e[i];!s.options.continuous&&i!==e.length-1||s.trigger([t])}}this.clearTriggerQueues()},i.prototype.next=function(t){this.waypoints.sort(r);t=n.Adapter.inArray(t,this.waypoints);return t===this.waypoints.length-1?null:this.waypoints[t+1]},i.prototype.previous=function(t){this.waypoints.sort(r);t=n.Adapter.inArray(t,this.waypoints);return t?this.waypoints[t-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){t=n.Adapter.inArray(t,this.waypoints);-1<t&&this.waypoints.splice(t,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return e[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";var n=window.jQuery,t=window.Waypoint;function i(t){this.$element=n(t)}n.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,e){i.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}}),n.each(["extend","inArray","isEmptyObject"],function(t,e){i[e]=n[e]}),t.adapters.push({name:"jquery",Adapter:i}),t.Adapter=i}(),function(){"use strict";var o=window.Waypoint;function t(i){return function(){var e=[],n=arguments[0];return i.isFunction(arguments[0])&&((n=i.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var t=i.extend({},n,{element:this});"string"==typeof t.context&&(t.context=i(this).closest(t.context)[0]),e.push(new o(t))}),e}}window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}();var Hashtable=function(n){var l="function",i="string";if("undefined"==typeof encodeURIComponent||Array.prototype.splice===n||Object.prototype.hasOwnProperty===n)return null;function o(t){return typeof t==i?t:""+t}function s(t){var e;return typeof t==i?t:typeof t.hashCode==l?typeof(e=t.hashCode())==i?e:s(e):o(t)}function e(t,e){return t.equals(e)}function r(t,e){return typeof e.equals==l?e.equals(t):t===e}function t(e){return function(t){if(null===t)throw new Error("null is not a valid "+e);if(t===n)throw new Error(e+" must not be undefined")}}var h=t("key"),d=t("value");function f(t,e,n,i){this[0]=t,this.entries=[],this.addEntry(e,n),null!==i&&(this.getEqualityFunction=function(){return i})}function a(o){return function(t){for(var e,n=this.entries.length,i=this.getEqualityFunction(t);n--;)if(i(t,(e=this.entries[n])[0]))switch(o){case 0:return!0;case 1:return e;case 2:return[n,e[1]]}return!1}}function u(s){return function(t){for(var e=t.length,n=0,i=this.entries,o=i.length;n<o;++n)t[e+n]=i[n][s]}}function p(t,e){e=t[e];return e&&e instanceof f?e:null}function c(){var r=[],a={},l={replaceDuplicateKey:!0,hashCode:s,equals:null},t=arguments[0],e=arguments[1];e!==n?(l.hashCode=t,l.equals=e):t!==n&&function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}(l,t);var u=l.hashCode,c=l.equals;this.properties=l,this.put=function(t,e){h(t),d(e);var n,i=u(t),o=null,s=p(a,i);return s?(n=s.getEntryForKey(t))?(l.replaceDuplicateKey&&(n[0]=t),o=n[1],n[1]=e):s.addEntry(t,e):(s=new f(i,t,e,c),r.push(s),a[i]=s),o},this.get=function(t){h(t);var e=u(t),e=p(a,e);if(e){t=e.getEntryForKey(t);if(t)return t[1]}return null},this.containsKey=function(t){h(t);var e=u(t),e=p(a,e);return!!e&&e.containsKey(t)},this.containsValue=function(t){d(t);for(var e=r.length;e--;)if(r[e].containsValue(t))return!0;return!1},this.clear=function(){r.length=0,a={}},this.isEmpty=function(){return!r.length};t=function(n){return function(){for(var t=[],e=r.length;e--;)r[e][n](t);return t}};this.keys=t("keys"),this.values=t("values"),this.entries=t("getEntries"),this.remove=function(t){h(t);var e=u(t),n=null,i=p(a,e);return i&&null!==(n=i.removeEntryForKey(t))&&0==i.entries.length&&(i=function(t,e){for(var n=t.length;n--;)if(e===t[n][0])return n;return null}(r,e),r.splice(i,1),delete a[e]),n},this.size=function(){for(var t=0,e=r.length;e--;)t+=r[e].entries.length;return t}}return f.prototype={getEqualityFunction:function(t){return typeof t.equals==l?e:r},getEntryForKey:a(1),getEntryAndIndexForKey:a(2),removeEntryForKey:function(t){t=this.getEntryAndIndexForKey(t);return t?(this.entries.splice(t[0],1),t[1]):null},addEntry:function(t,e){this.entries.push([t,e])},keys:u(0),values:u(1),getEntries:function(t){for(var e=t.length,n=0,i=this.entries,o=i.length;n<o;++n)t[e+n]=i[n].slice(0)},containsKey:a(0),containsValue:function(t){for(var e=this.entries,n=e.length;n--;)if(t===e[n][1])return!0;return!1}},(c.prototype={each:function(t){for(var e,n=this.entries(),i=n.length;i--;)t((e=n[i])[0],e[1])},equals:function(t){var e,n,i,o=this.size();if(o!=t.size())return!1;for(e=this.keys();o--;)if(n=e[o],null===(i=t.get(n))||i!==this.get(n))return!1;return!0},putAll:function(t,e){for(var n,i,o,s=t.entries(),r=s.length,a=typeof e==l;r--;)n=(i=s[r])[0],i=i[1],a&&(o=this.get(n))&&(i=e(n,o,i)),this.put(n,i)},clone:function(){var t=new c(this.properties);return t.putAll(this),t}}).toQueryString=function(){for(var t,e=this.entries(),n=e.length,i=[];n--;)t=e[n],i[n]=encodeURIComponent(o(t[0]))+"="+encodeURIComponent(o(t[1]));return i.join("&")},c}();function startsWith(t,e){return 0===t.indexOf(e)}function DomDataCollection(t){var f=this;function p(){}f.config={recursion_level:1,collection_mode:"partial",functionsToExclude:[],function_list_size:1024,json_script:t||"json2.js"},f.emptyDomData=function(){f.dom_data={functions:{names:[],excluded:{size:0,count:0},truncated:!1},inputs:[],iFrames:[],scripts:[],collection_status:DomDataCollection.NotStarted}},f.startInspection=function(){var e=!1,t=!0;if(BrowserDetect.init(),"Explorer"!==BrowserDetect.browser)try{f.inspectJSFunctions(),t=!1}catch(t){e=e||!0}else f.dom_data.functions=[],void 0!==f.dom_data.functions&&void 0!==f.dom_data.functions.names||(f.dom_data.functions={names:[],excluded:{size:0,count:0},truncated:!1});try{f.inspectFrames(),t=!1}catch(t){e=e||!0}try{f.inspectScripts(),t=!1}catch(t){e=e||!0}try{f.inspectInputFields(),t=!1}catch(t){e=e||!0}
1f.dom_data.collection_status=e?t?DomDataCollection.Fail:DomDataCollection.Partial:DomDataCollection.Success,"Explorer"!==BrowserDetect.browser&&f.handleSizeLimit()},f.domDataAsJSON=function(){return stripIllegalChars(JSON.stringify(f.dom_data))},f.recursiveGetAllFunctionNamesUnderElement=function(t,e,n){var i,o=f.config,s=o.recursion_level,r=o.collection_mode;void 0!==f.dom_data.functions&&void 0!==f.dom_data.functions.names||(f.dom_data.functions={names:[],excluded:{size:0,count:0},truncated:!1});var a,l=f.dom_data.functions,u=l.excluded;for(a in e)try{var c,h=e[a],d=""+h;prefix=0<t.length?t+".":"",i=prefix+a,"function"==typeof h&&(f.functionShouldBeCollected(h,a)?(c=l.names)[c.length]=i:"partial"==r&&(u.size+=d.length,u.count++)),n+1<s?f.recursiveGetAllFunctionNamesUnderElement(i,h,n+1):l.names.sort()}catch(t){window.console||(window.console={},window.console.info=p,window.console.log=p,window.console.warn=p,window.console.error=p),console&&console.log&&console.log("error counting functions: "+t.toString())}};var n=new Hashtable;f.initFunctionsToExclude=function(){n&&n.clear();for(var t=f.config.functionsToExclude,e=t.length;e--;)n.put(t[e],"")},f.functionShouldBeCollected=function(t,e){return"full"==f.config.collection_mode||(0===n.size()&&f.initFunctionsToExclude(),!n.containsKey(e))},f.inspectJSFunctions=function(){f.dom_data.functions=[],f.recursiveGetAllFunctionNamesUnderElement("",window,0)},f.handleSizeLimit=function(){var t=f.dom_data,e=f.config,n=e.function_list_size,i=t.functions;i.names.sort();var o=JSON.stringify(t);n<0&&(n=0);var s=0;if("full"!=e.colllection_mode&&o.length>n){for(var e=i.names,r=e.toString(),a=o.length-JSON.stringify(e).length+"[]".length,l=!1,u=e.length;!l;)1e3==s++&&(l=!0),lastComma=r.lastIndexOf(","),0<=lastComma&&0<u?(quotation_marks=2*u,a+lastComma+quotation_marks>n?(r=r.substring(0,lastComma-1),u--):l=!0):l=!0;1<u?(i.truncated=!0,i.names=i.names.slice(0,u-1)):(f.emptyDomData(),(t=f.dom_data).collection_status=DomDataCollection.Partial),t.functions.truncated=!0}},f.inspectFrames=function(){f.countElements("iframe")},f.countElements=function(t){var e=document.getElementsByTagName(t);void 0===f.dom_data.iFrames&&(f.dom_data.iFrames=[]);var n=f.dom_data.iFrames,o=n.length;for(i=0;i<e.length;i++)n[o+i]=""+e[i].src;n.sort()},f.inspectScripts=function(){var t=document.getElementsByTagName("script");f.dom_data.scripts=[];for(var e=0;e<t.length;e++)f.dom_data.scripts[e]=t[e].text.length},f.collectFields=function(t){var e=document.getElementsByTagName(t);void 0===f.dom_data.inputs&&(f.dom_data.inputs=[]);for(var n=f.dom_data.inputs,i=n.length,o=e.length;o--;){var s=e[o],r=s.name,s=s.id;element_name=r&&0<r.length?r:s&&0<s.length?s:"NO_NAME",n[i+o]=element_name}n.sort()},f.inspectInputFields=function(){f.collectFields("input"),f.collectFields("textarea"),f.collectFields("select"),f.collectFields("button")},loadJSON=function(){var t,e;window.JSON||(t=document.getElementsByTagName("head")[0],(e=document.createElement("script")).type="text/javascript",e.src=f.config.json_script,t.appendChild(e))},f.emptyDomData(),loadJSON()}function IE_FingerPrint(){this.deviceprint_browser=function(){var e=navigator.userAgent.toLowerCase();return t=e+SEP+navigator.appVersion+SEP+navigator.platform,t+=SEP+navigator.appMinorVersion+SEP+navigator.cpuClass+SEP+navigator.browserLanguage,t+=SEP+ScriptEngineBuildVersion(),t},this.deviceprint_software=function(){var t="",e=!0;try{document.body.addBehavior("#default#clientCaps");var n=a.length;for(i=0;i<n;i++){var o=activeXDetect(a[i]),s=r[i];o?!0===e?(t+=s+PAIR+o,e=!1):t+=SEP+s+PAIR+o:(t+="",e=!1)}}catch(t){}return t};var r=["abk","wnt","aol","arb","chs","cht","dht","dhj","dan","dsh","heb","ie5","icw","ibe","iec","ieh","iee","jap","krn","lan","swf","shw","msn","wmp","obp","oex","net","pan","thi","tks","uni","vtc","vnm","mvm","vbs","wfd"],a=["7790769C-0471-11D2-AF11-00C04FA35D02","89820200-ECBD-11CF-8B85-00AA005B4340","47F67D00-9E55-11D1-BAEF-00C04FC2D130","76C19B38-F0C8-11CF-87CC-0020AFEECF20","76C19B34-F0C8-11CF-87CC-0020AFEECF20","76C19B33-F0C8-11CF-87CC-0020AFEECF20","9381D8F2-0288-11D0-9501-00AA00B911A5","4F216970-C90C-11D1-B5C7-0000F8051515","283807B5-2C60-11D0-A31D-00AA00B92C03","44BBA848-CC51-11CF-AAFA-00AA00B6015C","76C19B36-F0C8-11CF-87CC-0020AFEECF20","89820200-ECBD-11CF-8B85-00AA005B4383","5A8D6EE0-3E18-11D0-821E-444553540000","630B1DA0-B465-11D1-9948-00C04F98BBC9","08B0E5C0-4FCB-11CF-AAA5-00401C608555","45EA75A0-A269-11D1-B5BF-0000F8051515","DE5AED00-A4BF-11D1-9948-00C04F98BBC9","76C19B30-F0C8-11CF-87CC-0020AFEECF20","76C19B31-F0C8-11CF-87CC-0020AFEECF20","76C19B50-F0C8-11CF-87CC-0020AFEECF20","D27CDB6E-AE6D-11CF-96B8-444553540000","2A202491-F00D-11CF-87CC-0020AFEECF20","5945C046-LE7D-LLDL-BC44-00C04FD912BE","22D6F312-B0F6-11D0-94AB-0080C74C7E95","3AF36230-A269-11D1-B5BF-0000F8051515","44BBA840-CC51-11CF-AAFA-00AA00B6015C","44BBA842-CC51-11CF-AAFA-00AA00B6015B","76C19B32-F0C8-11CF-87CC-0020AFEECF20","76C19B35-F0C8-11CF-87CC-0020AFEECF20","CC2A9BA0-3BDD-11D0-821E-444553540000","3BF42070-B3B1-11D1-B5C5-0000F8051515","10072CEC-8CC1-11D1-986E-00A0C955B42F","76C19B37-F0C8-11CF-87CC-0020AFEECF20","08B0E5C0-4FCB-11CF-AAA5-00401C608500","4F645220-306D-11D2-995D-00C04F98BBC9","73FA19D0-2D75-11D2-995D-00C04F98BBC9"]}function Mozilla_FingerPrint(){}function Opera_FingerPrint(){}function Timer(){this.startTime=(new Date).getTime()}function randrange(t,e){var n=e-t;if(n<=0)throw new Exception("max must be larger than min");for(var i=Math.ceil(Math.log2(n)/8),o=Math.pow(256,i),s=new Uint8Array(i);;){window.crypto.getRandomValues(s);for(var r=0,a=0;a<i;a++)r=(r<<8)+s[a];if(r+n-r%n<o)return t+r%n}}function detectIE(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(0<e)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(0<t.indexOf("Trident/")){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}n=t.indexOf("Edge/");return 0<n&&parseInt(t.substring(n+5,t.indexOf(".",n)),10)}function getRandomPort(){return 0!=detectIE()?Math.floor(6e4*Math.random()+4e3):randrange(4e3,6e4)}DomDataCollection.Success=0,DomDataCollection.Fail=1,DomDataCollection.Partial=2,DomDataCollection.NotStarted=3,IE_FingerPrint.prototype=new FingerPrint,Mozilla_FingerPrint.prototype=new FingerPrint,Opera_FingerPrint.prototype=new FingerPrint,Timer.prototype.start=function(){this.startTime=(new Date).getTime()},Timer.prototype.duration=function(){return(new Date).getTime()-this.startTime};var ProxyCollector={};function BlackberryLocationCollector(){var o=this,e=null;this.getGeolocationWatchId=function(){return e};var s=null;this.getGeolocationLastPosition=function(){return s};var r=4;this.getGeolocationStatusCode=function(){return r};
1var a={aidMode:2,timeout:180,relevancy:120,expiration:48,alertDebug:!(this.getGeolocationErrorMessage=function(){return""})},l=-1,u=0;this.getInvokeCount=function(){return u},this.handleBlackBerryLocationTimeout=function(){-1!=l&&(o.stopWatch(),r=3,0===u&&0!==a.aidMode&&(u++,o.startLocationWatch()))},this.handlePosition=function(){clearTimeout(l);var t,e,n,i=!(l=-1);0===blackberry.location.latitude&&0===blackberry.location.longitude?(a.alertDebug&&alert("Got empty position"),null===s&&(r=2)):(t=null,t=blackberry.location.timestamp?getTimestampInMillis(blackberry.location.timestamp):(new Date).getTime(),(n=(new Date).getTime())-t<=60*a.expiration*60*1e3?null===s||t>s.timestamp?(e=null===s?0:s.timestamp,a.alertDebug&&alert("Saved new position. New timestamp: "+t+" Old: "+e),s={timestamp:t,coords:{latitude:blackberry.location.latitude,longitude:blackberry.location.longitude}},r=0):a.alertDebug&&alert("New position is not saved. New timestamp: "+t+" Old: "+s.timestamp):a.alertDebug&&alert("New position is not saved. It is expired: "+1e3*(n-t)*60*60+" hours old")),null!==s&&(i=(n=(new Date).getTime())-s.timestamp<1e3*a.relevancy),o.stopWatch(),a.alertDebug&&alert("Relevant position? "+i),(0!==u||0===a.aidMode)&&i||(u++,o.startLocationWatch())},this.init=function(t,e,n,i){0<=t&&t<=2&&(a.aidMode=t),null!==e&&90<=e&&e<=300&&(a.timeout=e),null!==n&&60<=n&&n<=240&&(a.relevancy=n),null!==i&&24<=i&&i<=60&&(a.expiration=i)},this.startLocationWatch=function(){0===u?blackberry.location.setAidMode(0):blackberry.location.setAidMode(a.aidMode);var t=1e3*a.timeout;return l=setTimeout("geoLocator.handleBlackBerryLocationTimeout()",t),blackberry.location.onLocationUpdate(o.handlePosition),blackberry.location.refreshLocation(),e=1,!0},this.stopWatch=function(){try{blackberry.location.removeLocationUpdate(o.handlePosition)}catch(t){}e=-2},this.generateGeolocationJSONStruct=function(){var t,e=null;return e=null!==s?(t=convertTimestampToGMT(s.timestamp),{GeoLocationInfo:[{Status:r,Longitude:s.coords.longitude,Latitude:s.coords.latitude,Timestamp:t}]}):{GeoLocationInfo:[{Status:r}]},JSON.stringify(e)}}function detectFields(){var t=document.getElementsByTagName("form"),e=t.length,n=[];n.push("url="+window.location.href);for(var i=0;i<e;i++){n.push("form="+t[i].name);for(var o,s=(o=t[i].getElementsByTagName("input")).length,r=0;r<s;r++)"hidden"!=o[r].type&&n.push("input="+o[r].name)}return n.join("|")}ProxyCollector.internalIP="127.0.0.1",ProxyCollector.externalIP,ProxyCollector.internalPingTime,ProxyCollector.externalPingTime,ProxyCollector.setInternalPingTime=function(t){ProxyCollector.internalPingTime=t},ProxyCollector.setExternalPingTime=function(t){ProxyCollector.externalPingTime=t},ProxyCollector.PROXY_DETECTION_TIMEOUT=5e3,ProxyCollector.TIMEOUT_CHECK_FREQUENCY=1e3,ProxyCollector.isTimedOut=function(t,e,n){_timer=new Timer,e-_timer.duration()<=0&&(void 0===ProxyCollector.internalPingTime&&new RegExp("internalPingTime").test(t)||void 0===ProxyCollector.externalPingTime&&new RegExp("externalPingTime").test(t))?(t.call(this,-1),n.abort()):(void 0===ProxyCollector.internalPingTime&&new RegExp("internalPingTime").test(t)||void 0===ProxyCollector.externalPingTime&&new RegExp("externalPingTime").test(t))&&setTimeout(function(){ProxyCollector.isTimedOut(t,e-(_timer.duration()+ProxyCollector.TIMEOUT_CHECK_FREQUENCY),n)},ProxyCollector.TIMEOUT_CHECK_FREQUENCY)},ProxyCollector.doAjax=function(t,e){var n,i=document.location.protocol;if("http:"==i||"https:"==i?n=i+"//"+t+":"+getRandomPort()+"/NonExistentImage"+getRandomPort()+".gif":(e.call(this,-1),o.abort()),window.XDomainRequest){o=new window.XDomainRequest,r=new Timer;try{o.timeout=ProxyCollector.PROXY_DETECTION_TIMEOUT,o.ontimeout=function(){e.call(this,-1),o.abort()},o.onprogress=function(){e.call(this,r.duration()),o.abort()},o.onerror=function(){e.call(this,r.duration()),o.abort()},o.open("GET",n,!0),o.send()}catch(t){ProxyCollector.doAjaxViaImage(e,n)}}else{var o,s="ontimeout"in(o=new XMLHttpRequest),r=new Timer;try{o.onreadystatechange=function(){4==o.readyState&&(void 0===ProxyCollector.internalPingTime&&new RegExp("internalPingTime").test(e)||void 0===ProxyCollector.externalPingTime&&new RegExp("externalPingTime").test(e))&&e.call(this,r.duration())},o.timeout=ProxyCollector.PROXY_DETECTION_TIMEOUT,o.ontimeout=function(){e.call(this,-1),o.abort()},o.open("GET",n,!0),o.send(),s||ProxyCollector.isTimedOut(e,ProxyCollector.PROXY_DETECTION_TIMEOUT-r.duration(),o)}catch(t){ProxyCollector.doAjaxViaImage(e,n)}}},ProxyCollector.doAjaxViaImage=function(t,e){var n=new Image,i=new Timer;n.onerror=function(){t.call(this,i.duration())},n.src=e},ProxyCollector.collect=function(){ProxyCollector.doAjax(ProxyCollector.externalIP,ProxyCollector.setExternalPingTime),"object"==typeof XDomainRequest?ProxyCollector.externalPingTime||forceIE89Synchronicity():ProxyCollector.doAjax(ProxyCollector.internalIP,ProxyCollector.setInternalPingTime)},forceIE89Synchronicity=function(){ProxyCollector.externalPingTime?ProxyCollector.doAjax(ProxyCollector.internalIP,ProxyCollector.setInternalPingTime):setTimeout(forceIE89Synchronicity,100)},ProxyCollector.isValidIPAddress=function(t){if(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(t)){var e=t.split(".");if(0==parseInt(parseFloat(e[0])))return!1;for(var n=0;n<e.length;
1n++)if(255<parseInt(parseFloat(e[n])))return!1;return!0}return!1},ProxyCollector.initProxyCollection=function(){ProxyCollector.isValidIPAddress(ProxyCollector.externalIP)&&ProxyCollector.isValidIPAddress(ProxyCollector.internalIP)&&ProxyCollector.collect()};var SEP="|",PAIR="=",DEV="~";function FingerPrint(){var l=new Hashtable;l.put("npnul32","def"),l.put("npqtplugin6","qt6"),l.put("npqtplugin5","qt5"),l.put("npqtplugin4","qt4"),l.put("npqtplugin3","qt3"),l.put("npqtplugin2","qt2"),l.put("npqtplugin","qt1"),l.put("nppdf32","pdf"),l.put("NPSWF32","swf"),l.put("NPJava11","j11"),l.put("NPJava12","j12"),l.put("NPJava13","j13"),l.put("NPJava32","j32"),l.put("NPJava14","j14"),l.put("npoji600","j61"),l.put("NPJava131_16","j16"),l.put("NPOFFICE","mso"),l.put("npdsplay","wpm"),l.put("npwmsdrm","drm"),l.put("npdrmv2","drn"),l.put("nprjplug","rjl"),l.put("nppl3260","rpl"),l.put("nprpjplug","rpv"),l.put("npchime","chm"),l.put("npCortona","cor"),l.put("np32dsw","dsw"),l.put("np32asw","asw"),l.put("internal-pdf-viewer","pdf"),l.put("mhjfbmdgcfjbbpaeojofohoefgiehjai","pdf"),l.put("internal-nacl-plugin","nacl"),l.put("widevinecdmadapter","dll"),l.put("Flash","flash"),l.put("npctrl","dll"),this.deviceprint_version=function(){return"3.7_1"},this.deviceprint_browser=function(){return navigator.userAgent.toLowerCase()+SEP+navigator.appVersion+SEP+navigator.platform},this.deviceprint_software=function(){var t="",e=!0,n="",o=navigator.plugins,s=navigator.mimeTypes;if(0<o.length){var r,a=o.length;for(i=0;i<a;i++)plugin=o[i],r=stripFullPath(plugin.filename,"Plugins","."),!0===e?e=(l.containsKey(r)?n+=l.get(r):n="",!1):n+=l.containsKey(r)?SEP+l.get(r):"";t=stripIllegalChars(n)}else if(0<s.length)for(i=0;i<s.length;i++)mimeType=s[i],!0===e?e=(t+=l.containsKey(mimeType)?l.get(mimeType)+PAIR+mimeType:"unknown"+PAIR+mimeType,!1):l.containsKey(mimeType)?t+=SEP+l.get(mimeType)+PAIR+mimeType:n+="";return t},this.deviceprint_display=function(){var t="";return self.screen&&(t+=screen.colorDepth+SEP+screen.width+SEP+screen.height+SEP+screen.availHeight),t},this.deviceprint_all_software=function(){var t="",e=!0,n=navigator.plugins,o=n.length;if(0<o){var s="",r="";for(i=0;i<o;i++)r=stripFullPath(r=n[i].filename,"Plugins","."),!0===e?(s+=r,e=!1):s+=SEP+r;t=stripIllegalChars(s)}return t},this.deviceprint_timezone=function(){var t=(new Date).getTimezoneOffset()/60*-1;return(new Date).deviceprint_dst()&&t--,t},Date.prototype.deviceprint_stdTimezoneOffset=function(){var t=new Date(this.getFullYear(),0,1),e=new Date(this.getFullYear(),6,1);return Math.max(t.getTimezoneOffset(),e.getTimezoneOffset())},Date.prototype.deviceprint_dst=function(){return this.getTimezoneOffset()<this.deviceprint_stdTimezoneOffset()},this.deviceprint_language=function(){var t=navigator.language,e=navigator.browserLanguage,n=navigator.systemLanguage,i=navigator.userLanguage,e=void 0!==t?"lang"+PAIR+t+SEP:void 0!==e?"lang"+PAIR+e+SEP:"lang"+PAIR+SEP;return e+=void 0!==n?"syslang"+PAIR+n+SEP:"syslang"+PAIR+SEP,e+=void 0!==i?"userlang"+PAIR+i:"userlang"+PAIR},this.deviceprint_java=function(){return navigator.javaEnabled()?1:0},this.deviceprint_cookie=function(){var t=navigator.cookieEnabled?1:0;return void 0!==navigator.cookieEnabled||t||(document.cookie="testcookie",t=-1!==document.cookie.indexOf("testcookie")?1:0),t},this.deviceprint_appName=function(){var t=navigator.appName;return void 0!==t?t:""},this.deviceprint_appCodeName=function(){var t=navigator.appCodeName;return void 0!==t?t:""},this.deviceprint_online=function(){var t=navigator.onLine;return void 0!==t?t:""},this.deviceprint_opsProfile=function(){var t=navigator.opsProfile;return null!=t?t:""},this.deviceprint_userProfile=function(){var t=navigator.userProfile;return null!=t?t:""},this.deviceprint_screen_availWidth=function(){var t=screen.availWidth;return void 0!==t?t:""},this.deviceprint_screen_pixelDepth=function(){var t=screen.pixelDepth;return void 0!==t?t:""},this.deviceprint_screen_bufferDepth=function(){var t=screen.bufferDepth;return void 0!==t?t:""},this.deviceprint_screen_deviceXDPI=function(){var t=screen.deviceXDPI;return void 0!==t?t:""},this.deviceprint_screen_deviceYDPI=function(){var t=screen.deviceYDPI;return void 0!==t?t:""},this.deviceprint_screen_logicalXDPI=function(){var t=screen.logicalXDPI;return void 0!==t?t:""},this.deviceprint_screen_logicalYDPI=function(){var t=screen.logicalYDPI;return void 0!==t?t:""},this.deviceprint_screen_fontSmoothingEnabled=function(){var t=screen.fontSmoothingEnabled;return void 0!==t?t:""},this.deviceprint_screen_updateInterval=function(){var t=screen.updateInterval;return void 0!==t?t:""},this.deviceprint_ping_in=function(){return ProxyCollector&&ProxyCollector.internalPingTime?ProxyCollector.internalPingTime:""},this.deviceprint_ping_ex=function(){return ProxyCollector&&ProxyCollector.externalPingTime?ProxyCollector.externalPingTime:""}}function urlEncode(t){return encodeURIComponent(t).replace(/\~/g,"%7E").replace(/\!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\'/g,"%27").replace(/\-/g,"%2D").replace(/\_/g,"%5F").replace(/\./g,"%2E")}function encode_deviceprint(){return urlEncode(add_deviceprint())}function decode_deviceprint(){return decodeURIComponent(urlEncode(encode_deviceprint))}function post_deviceprint(){return document.forms[0].pm_fp.value=encode_deviceprint(),!0}function post_fingerprints(t){t.deviceprint.value=encode_deviceprint()}function add_deviceprint(){switch(BrowserDetect.init(),BrowserDetect.browser){case"Explorer":var t=detectIE(),e=new IE_FingerPrint;e=new(10<t?FingerPrint:IE_FingerPrint);break;case"Firefox":e=new Mozilla_FingerPrint;break;case"Opera":e=new Opera_FingerPrint;break;case"Edge":e=new(10<(t=detectIE())?FingerPrint:IE_FingerPrint);break;default:e=new FingerPrint}var n="version="+e.deviceprint_version()+"&pm_fpua="+e.deviceprint_browser()+"&pm_fpsc="+e.deviceprint_display()+"&pm_fpsw="+e.deviceprint_software()+"&pm_fptz="+e.deviceprint_timezone()+"&pm_fpln="+e.deviceprint_language()+"&pm_fpjv="+e.deviceprint_java()+"&pm_fpco="+e.deviceprint_cookie();return n=(n=(n=(n=n+"&pm_fpasw="+e.deviceprint_all_software())+"&pm_fpan="+e.deviceprint_appName()+"&pm_fpacn="+e.deviceprint_appCodeName()+"&pm_fpol="+e.deviceprint_online()+"&pm_fposp="+e.deviceprint_opsProfile()+"&pm_fpup="+e.deviceprint_userProfile()+"&pm_fpsaw="+e.deviceprint_screen_availWidth()+"&pm_fpspd="+e.deviceprint_screen_pixelDepth()+"&pm_fpsbd="+e.deviceprint_screen_bufferDepth()+"&pm_fpsdx="+e.deviceprint_screen_deviceXDPI()+"&pm_fpsdy="+e.deviceprint_screen_deviceYDPI()+"&pm_fpslx="+e.deviceprint_screen_logicalXDPI()+"&pm_fpsly="+e.deviceprint_screen_logicalYDPI()+"&pm_fpsfse="+e.deviceprint_screen_fontSmoothingEnabled()+"&pm_fpsui="+e.deviceprint_screen_updateInterval())+"&pm_os="+BrowserDetect.OS+"&pm_brmjv="+parseInt(BrowserDetect.version,10)+"&pm_br="+BrowserDetect.browser)+"&pm_inpt="+e.deviceprint_ping_in()+"&pm_expt="+e.deviceprint_ping_ex()}function form_add_data(t,e,n){return t&&0<t.length?t+="&":t="",t+=e+"="+escape(n.toString())}function form_add_deviceprint(t,e,n){return t=form_add_data(t,e+"d",n)}function detectIE(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(0<e)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(0<t.indexOf("Trident/")){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}n=t.indexOf("Edge/");return 0<n&&parseInt(t.substring(n+5,t.indexOf(".",n)),10)}var HTML5="HTML5",BLACKBERRY="blackberry",UNDEFINED="undefined",GEO_LOCATION_DEFAULT_STRUCT='{"GeoLocationInfo":[{"Status":4}]}',geoLocator=null,geoLocatorStatus=!1;function detectDeviceCollectionAPIMode(){return typeof navigator.geolocation!=UNDEFINED?HTML5:typeof window.blackberry!=UNDEFINED&&blackberry.location.GPSSupported?BLACKBERRY:UNDEFINED}function init(t,e,n,i,o){var s=detectDeviceCollectionAPIMode();return s==HTML5?((geoLocator=new HTML5LocationCollector).init(t,e,n,i),!0):s==BLACKBERRY&&((geoLocator=new BlackberryLocationCollector).init(o,e,n,i),!0)}function startCollection(t,e,n,i,o){return!!(geoLocatorStatus=init(t,e,n,i,o))&&geoLocator.startLocationWatch()}function stopCollection(){geoLocatorStatus&&geoLocator.stopWatch()}function getGeolocationStruct(){return geoLocatorStatus?geoLocator.generateGeolocationJSONStruct():GEO_LOCATION_DEFAULT_STRUCT}function HTML5LocationCollector(){var n=this,e=-1;this.getGeolocationWatchId=function(){return e};var i=null;this.getGeolocationLastPosition=function(){return i};var o=4;this.getGeolocationStatusCode=function(){return o};var s="";this.getGeolocationErrorMessage=function(){return s};var r={accuracy:100,timeout:180,relevancy:120,expiration:48};this.getGeolocationConfig=function(){return r},this.startLocationWatch=function(){var t={enableHighAccuracy:!0,timeout:1e3*r.timeout,maximumAge:r.expiration};return navigator.geolocation?(e=navigator.geolocation.watchPosition(this.handlePosition,this.handleError,t),!0):!(o=4)},this.init=function(t,e,n,i){null!==t&&0<=t&&t<=200&&(r.accuracy=t),null!==e&&90<=e&&e<=300&&(r.timeout=e),null!==n&&60<=n&&n<=240&&(r.relevancy=n),null!==i&&24<=i&&i<=60&&(r.expiration=i)},this.handlePosition=function(t){var e=(new Date).getTime();e-getTimestampInMillis(t.timestamp)<=60*r.expiration*60*1e3&&(null===i||t.timestamp>i.timestamp||t.coords.accuracy<i.coords.accuracy)&&(i=t,o=0),null!==i&&e-i.timestamp<=1e3*r.relevancy&&i.coords.accuracy<=r.accuracy&&n.stopWatch()},this.generateGeolocationJSONStruct=function(){var t,e=null;return e=null!==i?(t=convertTimestampToGMT(i.timestamp),{GeoLocationInfo:[{Status:o,Longitude:i.coords.longitude,Latitude:i.coords.latitude,Altitude:Math.round(i.coords.altitude),HorizontalAccuracy:Math.round(i.coords.accuracy),AltitudeAccuracy:Math.round(i.coords.altitudeAccuracy),Heading:Math.round(i.coords.heading),Speed:Math.round(i.coords.speed),Timestamp:t}]}):{GeoLocationInfo:[{Status:o}]},JSON.stringify(e)},this.handleError=function(t){switch(t.code){case t.TIMEOUT:n.stopWatch(),o=3;break;case t.POSITION_UNAVAILABLE:o=2,s=t.message;break;case t.PERMISSION_DENIED:o=1;break;case t.UNKNOWN_ERROR:o=2,s=t.message}},this.stopWatch=function(){navigator.geolocation.clearWatch(e),e=-2}}var TimestampCollector=function(){var i,n,o,s,r=1,a="";window.onfocus=function(){n=!0}
1,window.onblur=function(){n=!1};function l(){var t=i;!function(){for(;;)if(0==(new Date).getUTCMilliseconds())return}();var e=new Date;e.getSeconds()%t==0&&(e=c(e,n,o()),u(e))}var u=function(t){var e;t&&t.userLoginName?window.XMLHttpRequest&&window.JSON&&((e=new XMLHttpRequest).open("POST",s),0!=r&&(r=2),e.setRequestHeader("Content-Type","application/json"),e.send(JSON.stringify(t)),e.onloadend=function(){204==e.status?r=0:0!=r&&(r=3),"undefined"!=typeof debugCollection&&debugCollection&&(console.log(JSON.stringify(t)),console.log("browserEvent returned with status code:"+r))}):"undefined"!=typeof debugCollection&&debugCollection&&console.log("User did not provide any user login name, reporting aborted.")},c=function(t,e,n){var i={};return i.deviceId=a,i.jsTime=t,i.userLoginName=n,i.url=window.location.href,i.activeWindow=e,i};return{startEventReporting:function(t,e,n){a=encode_deviceprint(),o=t,s=e,1!=(i=n)&&2!=i&&5!=i&&10!=i&&(i=5),setInterval(l,995)},actualRestSending:u,getStatus:function(){return r}}}(),UIEventCollector=function(){var y=null,b=null,w=null,n=null,i=["output_size_limit"];function e(t){if(n={output_size_limit:1024,collection_mode:"partial"},t)for(p in t)if(void 0!==p._config){for(var e=i.length-1;0<=e;e--)i[e]!=p||(found=!0);n[p]=t[p]}w=!1,b=function(){var t=(document.createEvent?document.createEvent("Event"):document.createEventObject()).timeStamp||new Date;2100<(t=new Date(t)).getYear()&&(t=new Date(t/1e3));return t=t.getTime()}(),y={elements:new UIElementList,events:[],collection_status:0,toString:function(){return"RecordedData: {elements: "+this.elements+", events: "+this.events+"}"}},u()}function C(){for(var t=function(){for(var t=[],e=document.getElementsByTagName("input"),n=0,i=e.length;n<i;n++){var o=e[n];s(o)&&t.push(o)}return t}(),e=0,n=t.length;e<n;e++)o(t[e])}function s(t){if(t.tagName&&"input"==t.tagName.toLowerCase()){t=t.getAttribute("type");if("text"==t||"checkbox"==t||"checkbox"==t)return 1}}function o(t){var e=null,n=y.elements,i=(n.size(),d(t));return y.elements.containsKey(i)?e=n.get(i):((e=new InteractionElement).id(i),e.type(h(t)),e.length(t.value?t.value.length:0),n.put(e)),e}function r(t){var e=t||window.event,n=l(e);return s(n)&&((t=o(n)).incrementEventCount(),(n=new RSAUIEvent).index(t.index()),n.type(c(e)),e=function(t){var e;t.timeStamp&&0!==t.timeStamp?(e=t.timeStamp,2100<new Date(e).getYear()&&(e/=1e3)):e=(new Date).getTime();return e}(e),n.offset(e-b),y.events.push(n)),!0}function a(t){t=t||window.event;return function(t){if("keydown"==t.type){var e=t.which||t.charCode||t.keyCode;if(("undefined"!=typeof KeyboardEvent&&e==KeyboardEvent.DOM_VK_V||118==e||86==e)&&(t.ctrlKey||t.metaKey))return!0}return!1}(t)?r({target:l(t),type:"paste"}):r(t)}function l(t){return t.target||t.srcElement}function u(){var t=r,e=document;e.addEventListener?(e.addEventListener("keydown",a,!1),e.addEventListener("paste",t,!1),e.addEventListener("focus",t,!0),e.addEventListener("blur",t,!0)):e.attachEvent&&(e.onkeydown=a,e.onfocusin=t,e.onfocusout=t)}function c(t){return"keydown"==t.type?RSAUIEvent.KeyDown:"submit"==t.type?RSAUIEvent.Submit:"paste"==t.type?RSAUIEvent.Paste:"focus"==t.type||"focusin"==t.type?RSAUIEvent.Focus:"blur"==t.type||"focusout"==t.type?RSAUIEvent.Blur:RSAUIEvent.Unknown}function h(t){return t.nodeName+(t.type?":"+t.type:"")}function d(t){return t.id||t.name||t.nodeName}
1return e(),u(),{addElement:o,getEventType:c,getEventCode:function(t){return(t=t)==RSAUIEvent.KeyDown?"keydown":t==RSAUIEvent.Submit?"submit":t==RSAUIEvent.Focus?"focus":t==RSAUIEvent.Blur?"blur":t==RSAUIEvent.Paste?"paste":"unknown"},getRecordedData:function(){return y},getElementType:h,getElementId:d,initEventCollection:function(t){e(t)},getConfig:function(){return n},serialize:function(){!function(){C();for(var t=y.elements,e=t.size();1<=e;e--){var n=t.getByIndex(e),i=n.id(),o=document.getElementById(i);o||0<(i=document.getElementsByName(i)).length&&(o=i[0]),o&&o.value&&n.length(o.value.length)}}();for(var t=this.getRecordedData(),e=t.elements,n=TimestampCollector.getStatus(),i=[],o=0;o<e.length;o++)i[o]=!1;var s=t.events,t=t.collection_status,r="partial"==this.getConfig().collection_mode,a=this.getConfig().output_size_limit,l=s.length,u=2*"@".length,n=b+","+t+","+n;u+=1,u+=",".length,u+=n.length;for(var c="",h=e.size();0<h;h--){var d=e.getByIndex(h),f=d.serialize()+";";if(c.length,r&&u+c.length+f.length>a){w=!0;break}null==d.type().match("INPUT:checkbox")&&0<d.length()&&0==d.eventCount()&&(c=f+c)}u+=c.length;for(var p="";l--;){var g=s[l],m=g.index(),v=g.serialize()+";",f=e.getByIndex(m).serialize()+";",g=v.length;if(i[m]||(g+=f.length),p.length,r&&u+p.length+g>a){w=!0;break}i[m]||(c=f+c,u+=f.length),i[m]=!0,p=v+p}return(c=0<c.length?c.substring(0,c.length-1):c)+"@"+(p=0<p.length?p.substring(0,p.length-1):p)+"@"+(w?1:0)+","+n}}}();function RSAUIEvent(){var e=this===window?{}:this;e.index=function(t){if(0===arguments.length)return e._index;e._index=t},e.offset=function(t){if(0===arguments.length)return e._offset;e._offset=t},e.type=function(t){if(0===arguments.length)return e._type;e._type=t},e.serialize=function(){return e.index()+","+e.type()+",0"},e.toString=function(){return"UIEvent: [index: "+e.index()+", type: "+e.type()+", offset: "+e.offset()+"]"}}function InteractionElement(){var e=this===window?{}:this;e._eventCount=0,e.id=function(t){if(0===arguments.length)return e._id;e._id=t},e.index=function(t){if(0===arguments.length)return e._index;e._index=t},e.length=function(t){if(0===arguments.length)return e._length;e._length=t},e.type=function(t){if(0===arguments.length)return e._type;e._type=t},e.incrementEventCount=function(){e._eventCount++},e.eventCount=function(){return e._eventCount},e.serialize=function(){var t=e.index();return e.index()+","+t+","+e.type()+","+e.length()},e.toString=function(){return"InteractionElement: [id: "+e.id()+", index: "+e.index()+", length: "+e.length()+", type: "+e.type()+"]"}}function UIElementList(){var t=this===window?{}:this,n=new Hashtable,i=new Hashtable;t.get=function(t){return n.get(t)},t.getByIndex=function(t){return i.get(t)},t.containsKey=function(t){return n.containsKey(t)},t.indexByKey=function(t){return get(t).index()},t.size=function(){return n.size()},t.put=function(t){var e=t.id();n.containsKey(e)||(n.put(e,t),e=n.size(),t.index(e),i.put(e,t))},t.toString=function(){return"[size: "+n.size()+", names: ["+n+"], indexes: ["+i+"]]"}}function activeXDetect(t){var e=null;try{e=document.body.getComponentVersion("{"+t+"}","ComponentID")}catch(t){}return null!==e&&e}function stripIllegalChars(e){t="";for(var n=(e=e.toLowerCase()).length,i=0;i<n;i++){var o=e.charAt(i);"\n"!=o&&"/"!=o&&"\\"!=o?t+=o:"\n"==o&&(t+="n")}return t}function stripFullPath(t,e,n){var i=e,e=n,n=t,t=n.lastIndexOf(i);0<=t&&(filenameLen=n.length,n=n.substring(t+i.length,filenameLen));e=n.indexOf(e);return n=0<=e?n.slice(0,e):n}RSAUIEvent.Unknown=0,RSAUIEvent.KeyDown=1,RSAUIEvent.Submit=2,RSAUIEvent.Focus=3,RSAUIEvent.Blur=4,RSAUIEvent.Paste=5;var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"an unknown browser",this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version",this.OS=this.searchString(this.dataOS)||"an unknown OS"},searchString:function(t){for(var e=t.length,n=0;n<e;n++){var i=t[n],o=i.string,s=i.prop,r=i.identity;if(this.versionSearchString=i.versionSearch||r,o){if(-1!==o.toLowerCase().indexOf(i.subString.toLowerCase()))return r}else if(s)return r}},searchVersion:function(t){var e=t.toLowerCase().indexOf(this.versionSearchString.toLowerCase());if(-1!==e){e=t.substring(e+this.versionSearchString.length);return 0!==e.indexOf(" ")&&0!==e.indexOf("/")&&0!==e.indexOf(":")||(e=e.substring(1)),parseFloat(e)}},dataBrowser:[{string:navigator.userAgent,subString:"edge",identity:"Edge"},{string:navigator.userAgent.toLowerCase(),subString:"opera",identity:"Opera",versionSearch:"version"},{string:navigator.userAgent,subString:"OPR",versionSearch:"OPR/",identity:"Opera"},{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.userAgent,subString:"CriOS",versionSearch:"CriOS/",identity:"Chrome"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{string:navigator.userAgent,subString:"mobile safari",identity:"Mobile Safari",versionSearch:"mobile safari"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent.toLocaleLowerCase(),subString:"blackberry",identity:"BlackBerry",versionSearch:"0/"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Trident",identity:"Explorer",versionSearch:"rv"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.userAgent,subString:"BlackBerry",identity:"BlackBerry"},{string:navigator.userAgent.toLowerCase(),subString:"android",identity:"Android"},{string:navigator.userAgent,subString:"Symbian",identity:"Symbian"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.userAgent,subString:"iPhone",identity:"iPhone/iPod"},{string:navigator.platform,subString:"Linux",identity:"Linux"},{string:navigator.userAgent,subString:"Windows CE",identity:"Windows CE"},{string:navigator.platform,subString:"Win",identity:"Windows"}]};function convertTimestampToGMT(t){var e=t;return t instanceof Date||(e=new Date(t)),offsetFromGmt=6e4*e.getTimezoneOffset(),e.getTime()+offsetFromGmt}function getTimestampInMillis(t){var e=t;return e=t instanceof Date?t.getTime():e}function debug(t){}!function(kt){var t,$t=this||(0,eval)("this"),Tt=$t.document,Et=$t.navigator,St=$t.jQuery,At=$t.JSON;
vendor: 30,192 bytes, line 1
1St||"undefined"==typeof jQuery||(St=jQuery),t=function(t,i){function n(t,e){return(null===t||typeof t in b)&&t===e}function s(t,e){var n;return function(){n=n||S.a.setTimeout(function(){n=kt,t()},e)}}function r(t,e){var n;return function(){clearTimeout(n),n=S.a.setTimeout(t,e)}}function u(t,e){e&&"change"!==e?"beforeChange"===e?this.pc(t):this.gb(t,e):this.qc(t)}function o(t,e){null!==e&&e.s&&e.s()}function a(t,e){var n=this.qd,i=n[F];i.ra||(this.Qb&&this.mb[e]?(n.uc(e,t,this.mb[e]),this.mb[e]=null,--this.Qb):i.I[e]||n.uc(e,t,i.J?{da:t}:n.$c(t)),t.Ja&&t.gd())}var l,c,h,d,e,f,p,g,m,S=void 0!==t?t:{};function v(){if(p)for(var t,e=p,n=0;m<p;)if(t=f[m++]){if(e<m){if(5e3<=++n){m=p,S.a.Gc(Error("'Too much recursion' after processing "+n+" task groups."));break}e=p}try{t()}catch(t){S.a.Gc(t)}}}function y(){v(),m=p=f.length=0}S.b=function(t,e){for(var n=t.split("."),i=S,o=0;o<n.length-1;o++)i=i[n[o]];i[n[n.length-1]]=e},S.L=function(t,e,n){t[e]=n},S.version="3.5.1",S.b("version",S.version),S.options={deferUpdates:!1,useOnlyNativeEvents:!1,foreachHidesDestroyed:!1},S.a=function(){function h(t,e){for(var n in t)s.call(t,n)&&e(n,t[n])}function t(t,e){if(e)for(var n in e)s.call(e,n)&&(t[n]=e[n]);return t}function e(t,e){return t.__proto__=e,t}function o(t,e,n,i){var o=t[e].match(d)||[];S.a.D(n.match(d),function(t){S.a.Na(o,t,i)}),t[e]=o.join(" ")}var s=Object.prototype.hasOwnProperty,n={__proto__:[]}instanceof Array,i="function"==typeof Symbol,r={},a={};r[Et&&/Firefox\/2/i.test(Et.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"],r.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" "),h(r,function(t,e){if(e.length)for(var n=0,i=e.length;n<i;n++)a[e[n]]=t});var l,u={propertychange:!0},c=Tt&&function(){for(var t=3,e=Tt.createElement("div"),n=e.getElementsByTagName("i");e.innerHTML="\x3c!--[if gt IE "+ ++t+"]><i></i><![endif]--\x3e",n[0];);return 4<t?t:kt}(),d=/\S+/g;return{Jc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],D:function(t,e,n){for(var i=0,o=t.length;i<o;i++)e.call(n,t[i],i,t)},A:"function"==typeof Array.prototype.indexOf?function(t,e){return Array.prototype.indexOf.call(t,e)}:function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},Lb:function(t,e,n){for(var i=0,o=t.length;i<o;i++)if(e.call(n,t[i],i,t))return t[i];return kt},Pa:function(t,e){e=S.a.A(t,e);0<e?t.splice(e,1):0===e&&t.shift()},wc:function(t){var e=[];return t&&S.a.D(t,function(t){S.a.A(e,t)<0&&e.push(t)}),e},Mb:function(t,e,n){var i=[];if(t)for(var o=0,s=t.length;o<s;o++)i.push(e.call(n,t[o],o));return i},jb:function(t,e,n){var i=[];if(t)for(var o=0,s=t.length;o<s;o++)e.call(n,t[o],o)&&i.push(t[o]);return i},Nb:function(t,e){if(e instanceof Array)t.push.apply(t,e);else for(var n=0,i=e.length;n<i;n++)t.push(e[n]);return t},Na:function(t,e,n){var i=S.a.A(S.a.bc(t),e);i<0?n&&t.push(e):n||t.splice(i,1)},Ba:n,extend:t,setPrototypeOf:e,Ab:n?e:t,P:h,Ga:function(t,e,n){if(!t)return t;var i,o={};for(i in t)s.call(t,i)&&(o[i]=e.call(n,t[i],i,t));return o},Tb:function(t){for(;t.firstChild;)S.removeNode(t.firstChild)},Yb:function(t){for(var e=((t=S.a.la(t))[0]&&t[0].ownerDocument||Tt).createElement("div"),n=0,i=t.length;n<i;n++)e.appendChild(S.oa(t[n]));return e},Ca:function(t,e){for(var n=0,i=t.length,o=[];n<i;n++){var s=t[n].cloneNode(!0);o.push(e?S.oa(s):s)}return o},va:function(t,e){if(S.a.Tb(t),e)for(var n=0,i=e.length;n<i;n++)t.appendChild(e[n])},Xc:function(t,e){var n=t.nodeType?[t]:t;if(0<n.length){for(var i=n[0],o=i.parentNode,s=0,r=e.length;s<r;s++)o.insertBefore(e[s],i);for(s=0,r=n.length;s<r;s++)S.removeNode(n[s])}},Ua:function(t,e){if(t.length){for(e=8===e.nodeType&&e.parentNode||e;t.length&&t[0].parentNode!==e;)t.splice(0,1);for(;1<t.length&&t[t.length-1].parentNode!==e;)t.length--;if(1<t.length){var n=t[0],i=t[t.length-1];for(t.length=0;n!==i;)t.push(n),n=n.nextSibling;t.push(i)}}return t},Zc:function(t,e){c<7?t.setAttribute("selected",e):t.selected=e},Db:function(t){return null===t||t===kt?"":t.trim?t.trim():t.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ud:function(t,e){return t=t||"",!(e.length>t.length)&&t.substring(0,e.length)===e},vd:function(t,e){if(t===e)return!0;if(11===t.nodeType)return!1;if(e.contains)return e.contains(1!==t.nodeType?t.parentNode:t);if(e.compareDocumentPosition)return 16==(16&e.compareDocumentPosition(t));for(;t&&t!=e;)t=t.parentNode;return!!t},Sb:function(t){return S.a.vd(t,t.ownerDocument.documentElement)},kd:function(t){return!!S.a.Lb(t,S.a.Sb)},R:function(t){return t&&t.tagName&&t.tagName.toLowerCase()},Ac:function(t){return S.onError?function(){try{return t.apply(this,arguments)}catch(t){throw S.onError&&S.onError(t),t}}:t},setTimeout:function(t,e){return setTimeout(S.a.Ac(t),e)},Gc:function(t){setTimeout(function(){throw S.onError&&S.onError(t),t},0)},B:function(e,t,n){var i=S.a.Ac(n);if(n=u[t],S.options.useOnlyNativeEvents||n||!St)if(n||"function"!=typeof e.addEventListener){if(void 0===e.attachEvent)throw Error("Browser doesn't support addEventListener or attachEvent");function o(t){i.call(e,t)}var s="on"+t;e.attachEvent(s,o),S.a.K.za(e,function(){e.detachEvent(s,o)})}else e.addEventListener(t,i,!1);else l=l||("function"==typeof St(e).on?"on":"bind"),St(e)[l](t,i)},Fb:function(t,e){if(!t||!t.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var n=!("input"!==S.a.R(t)||!t.type||"click"!=e.toLowerCase())&&("checkbox"==(n=t.type)||"radio"==n);if(S.options.useOnlyNativeEvents||!St||n)if("function"==typeof Tt.createEvent){if("function"!=typeof t.dispatchEvent)throw Error("The supplied element doesn't support dispatchEvent");(n=Tt.createEvent(a[e]||"HTMLEvents")).initEvent(e,!0,!0,$t,0,0,0,0,0,!1,!1,!1,!1,0,t),t.dispatchEvent(n)}else if(n&&t.click)t.click();else{if(void 0===t.fireEvent)throw Error("Browser doesn't support triggering events");t.fireEvent("on"+e)}else St(t).trigger(e)},f:function(t){return S.O(t)?t():t},bc:function(t){return S.O(t)?t.v():t},Eb:function(e,t,n){var i;t&&("object"==typeof e.classList?(i=e.classList[n?"add":"remove"],S.a.D(t.match(d),function(t){i.call(e.classList,t)})):"string"==typeof e.className.baseVal?o(e.className,"baseVal",t,n):o(e,"className",t,n))},Bb:function(t,e){var n=S.a.f(e);null!==n&&n!==kt||(n="");e=S.h.firstChild(t);!e||3!=e.nodeType||S.h.nextSibling(e)?S.h.va(t,[t.ownerDocument.createTextNode(n)]):e.data=n,S.a.Ad(t)},Yc:function(t,e){if(t.name=e,c<=7)try{var n=t.name.replace(/[&<>'"]/g,function(t){return"&#"+t.charCodeAt(0)+";"});t.mergeAttributes(Tt.createElement("<input name='"+n+"'/>"),!1)}catch(t){}},Ad:function(t){9<=c&&((t=1==t.nodeType?t:t.parentNode).style&&(t.style.zoom=t.style.zoom))},wd:function(t){var e;c&&(e=t.style.width,t.style.width=0,t.style.width=e)},Pd:function(t,e){t=S.a.f(t),e=S.a.f(e);for(var n=[],i=t;i<=e;i++)n.push(i);return n},la:function(t){for(var e=[],n=0,i=t.length;n<i;n++)e.push(t[n]);return e},Da:function(t){return i?Symbol(t):t},Zd:6===c,$d:7===c,W:c,Lc:function(t,e){for(var n=S.a.la(t.getElementsByTagName("input")).concat(S.a.la(t.getElementsByTagName("textarea"))),i="string"==typeof e?function(t){return t.name===e}:function(t){return e.test(t.name)},o=[],s=n.length-1;0<=s;s--)i(n[s])&&o.push(n[s]);return o},Nd:function(t){return"string"==typeof t&&(t=S.a.Db(t))?At&&At.parse?At.parse(t):new Function("return "+t)():null},hc:function(t,e,n){if(!At||!At.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return At.stringify(S.a.f(t),e,n)},Od:function(t,e,n){var i=(n=n||{}).params||{},o=n.includeFields||this.Jc,s=t;if("object"==typeof t&&"form"===S.a.R(t))for(var s=t.action,r=o.length-1;0<=r;r--)for(var a=S.a.Lc(t,o[r]),l=a.length-1;0<=l;l--)i[a[l].name]=a[l].value;e=S.a.f(e);var u,c=Tt.createElement("form");for(u in c.style.display="none",c.action=s,c.method="post",e)t=Tt.createElement("input"),t.type="hidden",t.name=u,t.value=S.a.hc(S.a.f(e[u])),c.appendChild(t);h(i,function(t,e){var n=Tt.createElement("input");n.type="hidden",n.name=t,n.value=e,c.appendChild(n)}),Tt.body.appendChild(c),n.submitter?n.submitter(c):c.submit(),setTimeout(function(){c.parentNode.removeChild(c)},0)}}}(),S.b("utils",S.a),S.b("utils.arrayForEach",S.a.D),S.b("utils.arrayFirst",S.a.Lb),S.b("utils.arrayFilter",S.a.jb),S.b("utils.arrayGetDistinctValues",S.a.wc),S.b("utils.arrayIndexOf",S.a.A),S.b("utils.arrayMap",S.a.Mb),S.b("utils.arrayPushAll",S.a.Nb),S.b("utils.arrayRemoveItem",S.a.Pa),S.b("utils.cloneNodes",S.a.Ca),S.b("utils.createSymbolOrString",S.a.Da),S.b("utils.extend",S.a.extend),S.b("utils.fieldsIncludedWithJsonPost",S.a.Jc),S.b("utils.getFormFields",S.a.Lc),S.b("utils.objectMap",S.a.Ga),S.b("utils.peekObservable",S.a.bc),S.b("utils.postJson",S.a.Od),S.b("utils.parseJson",S.a.Nd),S.b("utils.registerEventHandler",S.a.B),S.b("utils.stringifyJson",S.a.hc),S.b("utils.range",S.a.Pd),S.b("utils.toggleDomNodeCssClass",S.a.Eb),S.b("utils.triggerEvent",S.a.Fb),S.b("utils.unwrapObservable",S.a.f),S.b("utils.objectForEach",S.a.P),S.b("utils.addOrRemoveItem",S.a.Na),S.b("utils.setTextContent",S.a.Bb),S.b("unwrap",S.a.f),Function.prototype.bind||(Function.prototype.bind=function(e){var n=this;if(1===arguments.length)return function(){return n.apply(e,arguments)};var i=Array.prototype.slice.call(arguments,1);return function(){var t=i.slice(0);return t.push.apply(t,arguments),n.apply(e,t)}}),S.a.g=new function(){var i,o=0,s="__ko__"+(new Date).getTime(),r={},t=S.a.W?(i=function(t,e){var n=t[s];if(!n||"null"===n||!r[n]){if(!e)return kt;n=t[s]="ko"+o++,r[n]={}}return r[n]},function(t){var e=t[s];return!!e&&(delete r[e],!(t[s]=null))}):(i=function(t,e){var n=t[s];return n=!n&&e?t[s]={}:n},function(t){return!!t[s]&&(delete t[s],!0)});return{get:function(t,e){t=i(t,!1);return t&&t[e]},set:function(t,e,n){(t=i(t,n!==kt))&&(t[e]=n)},Ub:function(t,e,n){return(t=i(t,!0))[e]||(t[e]=n)},clear:t,Z:function(){return o+++s}}},S.b("utils.domData",S.a.g),S.b("utils.domData.clear",S.a.g.clear),S.a.K=new function(){function i(t,e){var n=S.a.g.get(t,r);return n===kt&&e&&(n=[],S.a.g.set(t,r,n)),n}function s(t){if(e=i(t,!1))for(var e=e.slice(0),n=0;n<e.length;n++)e[n](t);S.a.g.clear(t),S.a.K.cleanExternalData(t),a[t.nodeType]&&o(t.childNodes,!0)}function o(t,e){for(var n,i=[],o=0;o<t.length;o++)if((!e||8===t[o].nodeType)&&(s(i[i.length]=n=t[o]),t[o]!==n))for(;o--&&-1==S.a.A(i,t[o]););}var r=S.a.g.Z(),e={1:!0,8:!0,9:!0},a={1:!0,9:!0};return{za:function(t,e){if("function"!=typeof e)throw Error("Callback must be a function");i(t,!0).push(e)},yb:function(t,e){var n=i(t,!1);n&&(S.a.Pa(n,e),0==n.length&&S.a.g.set(t,r,kt))},oa:function(t){return S.u.G(function(){e[t.nodeType]&&(s(t),a[t.nodeType]&&o(t.getElementsByTagName("*")))}),t},removeNode:function(t){S.oa(t),t.parentNode&&t.parentNode.removeChild(t)},cleanExternalData:function(t){St&&"function"==typeof St.cleanData&&St.cleanData([t])}}},S.oa=S.a.K.oa,S.removeNode=S.a.K.removeNode,S.b("cleanNode",S.oa),S.b("removeNode",S.removeNode),S.b("utils.domNodeDisposal",S.a.K),S.b("utils.domNodeDisposal.addDisposeCallback",S.a.K.za),S.b("utils.domNodeDisposal.removeDisposeCallback",S.a.K.yb),l=[0,"",""],c={thead:t=[1,"<table>","</table>"],tbody:t,tfoot:t,tr:[2,"<table><tbody>","</tbody></table>"],td:t=[3,"<table><tbody><tr>","</tr></tbody></table>"],th:t,option:t=[1,"<select multiple='multiple'>","</select>"],optgroup:t},h=S.a.W<=8,S.a.ua=function(t,e){var n;if(St){if(St.parseHTML)n=St.parseHTML(t,e)||[];else if((n=St.clean([t],e))&&n[0]){for(var i=n[0];i.parentNode&&11!==i.parentNode.nodeType;)i=i.parentNode;i.parentNode&&i.parentNode.removeChild(i)}}else{var i=(n=!(n=e)?Tt:n).parentWindow||n.defaultView||$t,o=S.a.Db(t).toLowerCase(),s=n.createElement("div"),e=(o=o.match(/^(?:\x3c!--.*?--\x3e\s*?)*?<([a-z]+)[\s>]/))&&c[o[1]]||l,o=e[0];for(e="ignored<div>"+e[1]+t+e[2]+"</div>","function"==typeof i.innerShiv?s.appendChild(i.innerShiv(e)):(h&&n.body.appendChild(s),s.innerHTML=e,h&&s.parentNode.removeChild(s));o--;)s=s.lastChild;n=S.a.la(s.lastChild.childNodes)}return n},S.a.Md=function(t,e){e=S.a.ua(t,e);return e.length&&e[0].parentElement||S.a.Yb(e)},S.a.fc=function(t,e){if(S.a.Tb(t),null!==(e=S.a.f(e))&&e!==kt)if("string"!=typeof e&&(e=e.toString()),St)St(t).html(e);else for(var n=S.a.ua(e,t.ownerDocument),i=0;i<n.length;i++)t.appendChild(n[i])},S.b("utils.parseHtmlFragment",S.a.ua),S.b("utils.setHtml",S.a.fc),S.aa=(d={},{Xb:function(t){if("function"!=typeof t)throw Error("You can only pass a function to ko.memoization.memoize()");var e=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return d[e]=t,"\x3c!--[ko_memo:"+e+"]--\x3e"},bd:function(t,e){var n=d[t];if(n===kt)throw Error("Couldn't find any memo with ID "+t+". Perhaps it's already been unmemoized.");try{return n.apply(null,e||[]),!0}finally{delete d[t]}},cd:function(t,e){var n=[];!function t(e,n){if(e)if(8==e.nodeType)null!=(i=S.aa.Uc(e.nodeValue))&&n.push({ud:e,Kd:i});else if(1==e.nodeType)for(var i=0,o=e.childNodes,s=o.length;i<s;i++)t(o[i],n)}(t,n);for(var i=0,o=n.length;i<o;i++){var s=n[i].ud,r=[s];e&&S.a.Nb(r,e),S.aa.bd(n[i].Kd,r),s.nodeValue="",s.parentNode&&s.parentNode.removeChild(s)}},Uc:function(t){return(t=t.match(/^\[ko_memo\:(.*?)\]$/))?t[1]:null}}),S.b("memoization",S.aa),S.b("memoization.memoize",S.aa.Xb),S.b("memoization.unmemoize",S.aa.bd),S.b("memoization.parseMemoText",S.aa.Uc),S.b("memoization.unmemoizeDomNodeAndDescendants",S.aa.cd),S.na=(f=[],g=1,m=p=0,{scheduler:at=$t.MutationObserver?(at=y,e=Tt.createElement("div"),new MutationObserver(at).observe(e,{attributes:!0}),function(){e.classList.toggle("foo")}):Tt&&"onreadystatechange"in Tt.createElement("script")?function(t){var e=Tt.createElement("script");e.onreadystatechange=function(){e.onreadystatechange=null,Tt.documentElement.removeChild(e),e=null,t()},Tt.documentElement.appendChild(e)}:function(t){setTimeout(t,0)},zb:function(t){return p||S.na.scheduler(y),f[p++]=t,g++},cancel:function(t){m<=(t-=g-p)&&t<p&&(f[t]=null)},resetForTesting:function(){var t=p-m;return m=p=f.length=0,t},Sd:v}),S.b("tasks",S.na),S.b("tasks.schedule",S.na.zb),S.b("tasks.runEarly",S.na.Sd),S.Ta={throttle:function(e,n){e.throttleEvaluation=n;var i=null;return S.$({read:e,write:function(t){clearTimeout(i),i=S.a.setTimeout(function(){e(t)},n)}})},rateLimit:function(t,e){var n,i,o;"number"==typeof e?n=e:(n=e.timeout,i=e.method),t.Hb=!1,o="function"==typeof i?i:"notifyWhenChangesStop"==i?r:s,t.ub(function(t){return o(t,n,e)})},deferred:function(i,t){if(!0!==t)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");i.Hb||(i.Hb=!0,i.ub(function(t){var e,n=!1;return function(){if(!n){S.na.cancel(e),e=S.na.zb(t);try{n=!0,i.notifySubscribers(kt,"dirty")}finally{n=!1}}}}))},notify:function(t,e){t.equalityComparer="always"==e?null:n}};var b={undefined:1,boolean:1,number:1,string:1};S.b("extenders",S.Ta),S.ic=function(t,e,n){this.da=t,this.lc=e,this.mc=n,this.Ib=!1,this.fb=this.Jb=null,S.L(this,"dispose",this.s),S.L(this,"disposeWhenNodeIsRemoved",this.l)},S.ic.prototype.s=function(){this.Ib||(this.fb&&S.a.K.yb(this.Jb,this.fb),this.Ib=!0,this.mc(),this.da=this.lc=this.mc=this.Jb=this.fb=null)},S.ic.prototype.l=function(t){this.Jb=t,S.a.K.za(t,this.fb=this.s.bind(this))},S.T=function(){S.a.Ab(this,x),x.qb(this)};var w,C,_,x={qb:function(t){t.U={change:[]},t.sc=1},subscribe:function(t,e,n){var i=this;n=n||"change";var o=new S.ic(i,e?t.bind(e):t,function(){S.a.Pa(i.U[n],o),i.hb&&i.hb(n)});return i.Qa&&i.Qa(n),i.U[n]||(i.U[n]=[]),i.U[n].push(o),o},notifySubscribers:function(t,e){if("change"===(e=e||"change")&&this.Gb(),this.Wa(e)){var n="change"===e&&this.ed||this.U[e].slice(0);try{S.u.xc();for(var i,o=0;i=n[o];++o)i.Ib||i.lc(t)}finally{S.u.end()}}},ob:function(){return this.sc},Dd:function(t){return this.ob()!==t},Gb:function(){++this.sc},ub:function(t){var n,e,i,o,s,r=this,a=S.O(r);r.gb||(r.gb=r.notifySubscribers,r.notifySubscribers=u);var l=t(function(){r.Ja=!1,a&&o===r&&(o=r.nc?r.nc():r());var t=e||s&&r.sb(i,o);s=e=n=!1,t&&r.gb(i=o)});r.qc=function(t,e){e&&r.Ja||(s=!e),r.ed=r.U.change.slice(0),r.Ja=n=!0,o=t,l()},r.pc=function(t){n||(i=t,r.gb(t,"beforeChange"))},r.rc=function(){s=!0},r.gd=function(){r.sb(i,r.v(!0))&&(e=!0)}},Wa:function(t){return this.U[t]&&this.U[t].length},Bd:function(t){if(t)return this.U[t]&&this.U[t].length||0;var n=0;return S.a.P(this.U,function(t,e){"dirty"!==t&&(n+=e.length)}),n},sb:function(t,e){return!this.equalityComparer||!this.equalityComparer(t,e)},toString:function(){return"[object Object]"},extend:function(t){var n=this;return t&&S.a.P(t,function(t,e){t=S.Ta[t];"function"==typeof t&&(n=t(n,e)||n)}),n}};function k(t){C.push(w),w=t}function $(){w=C.pop()}S.L(x,"init",x.qb),S.L(x,"subscribe",x.subscribe),S.L(x,"extend",x.extend),S.L(x,"getSubscriptionsCount",x.Bd),S.a.Ba&&S.a.setPrototypeOf(x,Function.prototype),S.T.fn=x,S.Qc=function(t){return null!=t&&"function"==typeof t.subscribe&&"function"==typeof t.notifySubscribers},S.b("subscribable",S.T),S.b("isSubscribable",S.Qc),S.S=S.u=(C=[],_=0,{xc:k,end:$,cc:function(t){if(w){if(!S.Qc(t))throw Error("Only subscribable things can act as dependencies");w.od.call(w.pd,t,t.fd||(t.fd=++_))}},G:function(t,e,n){try{return k(),t.apply(e,n||[])}finally{$()}},qa:function(){if(w)return w.o.qa()},Va:function(){if(w)return w.o.Va()},Ya:function(){if(w)return w.Ya},o:function(){if(w)return w.o}}),S.b("computedContext",S.S),S.b("computedContext.getDependenciesCount",S.S.qa),S.b("computedContext.getDependencies",S.S.Va),S.b("computedContext.isInitial",S.S.Ya),S.b("computedContext.registerDependency",S.S.cc),S.b("ignoreDependencies",S.Yd=S.u.G);var T=S.a.Da("_latestValue");S.ta=function(t){function e(){return 0<arguments.length?(e.sb(e[T],arguments[0])&&(e.ya(),e[T]=arguments[0],e.xa()),this):(S.u.cc(e),e[T])}return e[T]=t,S.a.Ba||S.a.extend(e,S.T.fn),S.T.fn.qb(e),S.a.Ab(e,E),S.options.deferUpdates&&S.Ta.deferred(e,!0),e};var E={equalityComparer:n,v:function(){return this[T]},xa:function(){this.notifySubscribers(this[T],"spectate"),this.notifySubscribers(this[T])},ya:function(){this.notifySubscribers(this[T],"beforeChange")}};S.a.Ba&&S.a.setPrototypeOf(E,S.T.fn);var A=S.ta.Ma="__ko_proto__";E[A]=S.ta,S.O=function(t){if((t="function"==typeof t&&t[A])&&t!==E[A]&&t!==S.o.fn[A])throw Error("Invalid object that looks like an observable; possibly from another Knockout instance");return!!t},S.Za=function(t){return"function"==typeof t&&(t[A]===E[A]||t[A]===S.o.fn[A]&&t.Nc)},S.b("observable",S.ta),S.b("isObservable",S.O),S.b("isWriteableObservable",S.Za),S.b("isWritableObservable",S.Za),S.b("observable.fn",E),S.L(E,"peek",E.v),S.L(E,"valueHasMutated",E.xa),S.L(E,"valueWillMutate",E.ya),S.Ha=function(t){if("object"!=typeof(t=t||[])||!("length"in t))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return t=S.ta(t),S.a.Ab(t,S.Ha.fn),t.extend({trackArrayChanges:!0})},S.Ha.fn={remove:function(e){for(var t=this.v(),n=[],i="function"!=typeof e||S.O(e)?function(t){return t===e}:e,o=0;o<t.length;o++){var s=t[o];if(i(s)){if(0===n.length&&this.ya(),t[o]!==s)throw Error("Array modified during remove; cannot remove item");n.push(s),t.splice(o,1),o--}}return n.length&&this.xa(),n},removeAll:function(e){if(e!==kt)return e?this.remove(function(t){return 0<=S.a.A(e,t)}):[];var t=this.v(),n=t.slice(0);return this.ya(),t.splice(0,t.length),this.xa(),n},destroy:function(e){var t=this.v(),n="function"!=typeof e||S.O(e)?function(t){return t===e}:e;this.ya();for(var i=t.length-1;0<=i;i--){var o=t[i];n(o)&&(o._destroy=!0)}this.xa()},destroyAll:function(e){return e===kt?this.destroy(function(){return!0}):e?this.destroy(function(t){return 0<=S.a.A(e,t)}):[]},indexOf:function(t){var e=this();return S.a.A(e,t)},replace:function(t,e){t=this.indexOf(t);0<=t&&(this.ya(),this.v()[t]=e,this.xa())},sorted:function(t){var e=this().slice(0);return t?e.sort(t):e.sort()},reversed:function(){return this().slice(0).reverse()}},S.a.Ba&&S.a.setPrototypeOf(S.Ha.fn,S.ta.fn),S.a.D("pop push reverse shift sort splice unshift".split(" "),function(n){S.Ha.fn[n]=function(){var t=this.v();this.ya(),this.zc(t,n,arguments);var e=t[n].apply(t,arguments);return this.xa(),e===t?this:e}}),S.a.D(["slice"],function(e){S.Ha.fn[e]=function(){var t=this();return t[e].apply(t,arguments)}}),S.Pc=function(t){return S.O(t)&&"function"==typeof t.remove&&"function"==typeof t.push},S.b("observableArray",S.Ha),S.b("isObservableArray",S.Pc),S.Ta.trackArrayChanges=function(n,t){var h,d,i,o,f,s,r,e;n.Ob={},t&&"object"==typeof t&&S.a.extend(n.Ob,t),n.Ob.sparse=!0,n.zc||(h=!1,d=null,f=0,r=n.Qa,e=n.hb,n.Qa=function(t){function e(){var t,e;f&&(t=[].concat(n.v()||[]),n.Wa("arrayChange")&&(e=d=!d||1<f?S.a.Pb(s,t,n.Ob):d),s=t,d=null,f=0,e&&e.length&&n.notifySubscribers(e,"arrayChange"))}r&&r.call(n,t),"arrayChange"===t&&(h?e():(h=!0,o=n.subscribe(function(){++f},null,"spectate"),s=[].concat(n.v()||[]),d=null,i=n.subscribe(e)))},n.hb=function(t){e&&e.call(n,t),"arrayChange"!==t||n.Wa("arrayChange")||(i&&i.s(),o&&o.s(),o=i=null,h=!1,s=kt)},n.zc=function(t,e,n){function i(t,e,n){return o[o.length]={status:t,value:e,index:n}}if(h&&!f){var o=[],s=t.length,r=n.length,a=0;switch(e){case"push":a=s;case"unshift":for(e=0;e<r;e++)i("added",n[e],a+e);break;case"pop":a=s-1;case"shift":s&&i("deleted",t[a],a);break;case"splice":e=Math.min(Math.max(0,n[0]<0?s+n[0]:n[0]),s);for(var s=1===r?s:Math.min(e+(n[1]||0),s),r=e+r-2,a=Math.max(s,r),l=[],u=[],c=2;e<a;++e,++c)e<s&&u.push(i("deleted",t[e],e)),e<r&&l.push(i("added",n[c],e));S.a.Kc(u,l);break;default:return}d=o}})};var F=S.a.Da("_state");S.o=S.$=function(t,e,n){function i(){if(0<arguments.length){if("function"!=typeof o)throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return o.apply(s.nb,arguments),this}return s.ra||S.u.cc(i),(s.ka||s.J&&i.Xa())&&i.ha(),s.X}if("object"==typeof t?n=t:(n=n||{},t&&(n.read=t)),"function"!=typeof n.read)throw Error("Pass a function that returns the value of the ko.computed");var o=n.write,s={X:kt,sa:!0,ka:!0,rb:!1,jc:!1,ra:!1,wb:!1,J:!1,Wc:n.read,nb:e||n.owner,l:n.disposeWhenNodeIsRemoved||n.l||null,Sa:n.disposeWhen||n.Sa,Rb:null,I:{},V:0,Ic:null};return i[F]=s,i.Nc="function"==typeof o,S.a.Ba||S.a.extend(i,S.T.fn),S.T.fn.qb(i),S.a.Ab(i,D),n.pure?(s.wb=!0,s.J=!0,S.a.extend(i,P)):n.deferEvaluation&&S.a.extend(i,z),S.options.deferUpdates&&S.Ta.deferred(i,!0),s.l&&(s.jc=!0,s.l.nodeType||(s.l=null)),s.J||n.deferEvaluation||i.ha(),s.l&&i.ja()&&S.a.K.za(s.l,s.Rb=function(){i.s()}),i};var D={equalityComparer:n,qa:function(){return this[F].V},Va:function(){var n=[];return S.a.P(this[F].I,function(t,e){n[e.Ka]=e.da}),n},Vb:function(e){if(!this[F].V)return!1;var t=this.Va();return-1!==S.a.A(t,e)||!!S.a.Lb(t,function(t){return t.Vb&&t.Vb(e)})},uc:function(t,e,n){if(this[F].wb&&e===this)throw Error("A 'pure' computed must not be called recursively");(this[F].I[t]=n).Ka=this[F].V++,n.La=e.ob()},Xa:function(){var t,e,n=this[F].I;for(t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&(e=n[t],this.Ia&&e.da.Ja||e.da.Dd(e.La)))return!0},Jd:function(){this.Ia&&!this[F].rb&&this.Ia(!1)},ja:function(){var t=this[F];return t.ka||0<t.V},Rd:function(){this.Ja?this[F].ka&&(this[F].sa=!0):this.Hc()},$c:function(t){if(t.Hb){var e=t.subscribe(this.Jd,this,"dirty"),n=t.subscribe(this.Rd,this);return{da:t,s:function(){e.s(),n.s()}}}return t.subscribe(this.Hc,this)},Hc:function(){var t=this,e=t.throttleEvaluation;e&&0<=e?(clearTimeout(this[F].Ic),this[F].Ic=S.a.setTimeout(function(){t.ha(!0)},e)):t.Ia?t.Ia(!0):t.ha(!0)},ha:function(t){var e=this[F],n=e.Sa,i=!1;if(!e.rb&&!e.ra){if(e.l&&!S.a.Sb(e.l)||n&&n()){if(!e.jc)return void this.s()}else e.jc=!1;e.rb=!0;try{i=this.zd(t)}finally{e.rb=!1}return i}},zd:function(t){var e=this[F],n=!1,i=e.wb?kt:!e.V,n={qd:this,mb:e.I,Qb:e.V};S.u.xc({pd:n,od:a,o:this,Ya:i}),e.I={},e.V=0;var o=this.yd(e,n);return(n=e.V?this.sb(e.X,o):(this.s(),!0))&&(e.J?this.Gb():this.notifySubscribers(e.X,"beforeChange"),e.X=o,this.notifySubscribers(e.X,"spectate"),!e.J&&t&&this.notifySubscribers(e.X),this.rc&&this.rc()),i&&this.notifySubscribers(e.X,"awake"),n},yd:function(t,e){try{var n=t.Wc;return t.nb?n.call(t.nb):n()}finally{S.u.end(),e.Qb&&!t.J&&S.a.P(e.mb,o),t.sa=t.ka=!1}},v:function(t){var e=this[F];return(e.ka&&(t||!e.V)||e.J&&this.Xa())&&this.ha(),e.X},ub:function(t){S.T.fn.ub.call(this,t),this.nc=function(){return this[F].J||(this[F].sa?this.ha():this[F].ka=!1),this[F].X},this.Ia=function(t){this.pc(this[F].X),this[F].ka=!0,t&&(this[F].sa=!0),this.qc(this,!t)}},s:function(){var t=this[F];!t.J&&t.I&&S.a.P(t.I,function(t,e){e.s&&e.s()}),t.l&&t.Rb&&S.a.K.yb(t.l,t.Rb),t.I=kt,t.V=0,t.ra=!0,t.sa=!1,t.ka=!1,t.J=!1,t.l=kt,t.Sa=kt,t.Wc=kt,this.Nc||(t.nb=kt)}},P={Qa:function(t){var n,o=this,s=o[F];!s.ra&&s.J&&"change"==t&&(s.J=!1,s.sa||o.Xa()?(s.I=null,s.V=0,o.ha()&&o.Gb()):(n=[],S.a.P(s.I,function(t,e){n[e.Ka]=t}),S.a.D(n,function(t,e){var n=s.I[t],i=o.$c(n.da);i.Ka=e,i.La=n.La,s.I[t]=i}),o.Xa()&&o.ha()&&o.Gb()),s.ra||o.notifySubscribers(s.X,"awake"))},hb:function(t){var n=this[F];n.ra||"change"!=t||this.Wa("change")||(S.a.P(n.I,function(t,e){e.s&&(n.I[t]={da:e.da,Ka:e.Ka,La:e.La},e.s())}),n.J=!0,this.notifySubscribers(kt,"asleep"))},ob:function(){var t=this[F];return t.J&&(t.sa||this.Xa())&&this.ha(),S.T.fn.ob.call(this)}},z={Qa:function(t){"change"!=t&&"beforeChange"!=t||this.v()}};S.a.Ba&&S.a.setPrototypeOf(D,S.T.fn);var O,N,I,R,L,j,M,B,H,q,W,U,K,V,G,Q=S.ta.Ma;function Y(i,o,s){if(s=s||new X,"object"!=typeof(i=o(i))||null===i||i===kt||i instanceof RegExp||i instanceof Date||i instanceof String||i instanceof Number||i instanceof Boolean)return i;var r=i instanceof Array?[]:{};return s.save(i,r),function(t,e){if(t instanceof Array){for(var n=0;n<t.length;n++)e(n);"function"==typeof t.toJSON&&e("toJSON")}else for(n in t)e(n)}(i,function(t){var e=o(i[t]);switch(typeof e){case"boolean":case"number":case"string":case"function":r[t]=e;break;case"object":case"undefined":var n=s.get(e);r[t]=n!==kt?n:Y(e,o,s)}}),r}function X(){this.keys=[],this.values=[]}function J(t){123===(t=S.a.Db(t)).charCodeAt(0)&&(t=t.slice(1,-1));var e,n=[],i=(t+="\n,").match(I),o=[],s=0;if(1<i.length){for(var r,a=0;r=i[a];++a){var l=r.charCodeAt(0);if(44===l){if(s<=0){n.push(e&&o.length?{key:e,value:o.join("")}:{unknown:e||o.join("")}),e=s=0,o=[];continue}}else if(58===l){if(!s&&!e&&1===o.length){e=o.pop();continue}}else{if(47===l&&1<r.length&&(47===r.charCodeAt(1)||42===r.charCodeAt(1)))continue;47===l&&a&&1<r.length?(l=i[a-1].match(R))&&!L[l[0]]&&(i=(t=t.substr(t.indexOf(r)+1)).match(I),a=-1,r="/"):40===l||123===l||91===l?++s:41===l||125===l||93===l?--s:e||o.length||34!==l&&39!==l||(r=r.slice(1,-1))}o.push(r)}if(0<s)throw Error("Unbalanced parentheses, braces, or brackets")}return n}function Z(t){return 8==t.nodeType&&B.test(M?t.text:t.nodeValue)}function tt(t){return 8==t.nodeType&&H.test(M?t.text:t.nodeValue)}function et(t,e){for(var n=t,i=1,o=[];n=n.nextSibling;){if(tt(n)&&(S.a.g.set(n,W,!0),0===--i))return o;o.push(n),Z(n)&&i++}if(!e)throw Error("Cannot find closing comment tag to match: "+t.nodeValue);return null}function nt(t,e){e=et(t,e);return e?(0<e.length?e[e.length-1]:t).nextSibling:null}function it(n,t){var i,o,s,r=Object.prototype.hasOwnProperty.call(K,n)?K[n]:U;r?r.subscribe(t):((r=K[n]=new S.T).subscribe(t),s=function(t,e){e=!(!e||!e.synchronous);V[n]={definition:t,Gd:e},delete K[n],i||e?r.notifySubscribers(t):S.na.zb(function(){r.notifySubscribers(t)})},ot("getConfig",[o=n],function(e){e?ot("loadComponent",[o,e],function(t){s(t,e)}):s(null,null)}),i=!0)}function ot(e,n,i,o){var t=(o=o||S.j.loaders.slice(0)).shift();if(t){var s=t[e];if(s){var r=!1;if(s.apply(t,n.concat(function(t){r?i(null):null!==t?i(t):ot(e,n,i,o)}))!==U&&(r=!0,!t.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.")}else ot(e,n,i,o)}else i(null)}D[Q]=S.o,S.Oc=function(t){return"function"==typeof t&&t[Q]===D[Q]},S.Fd=function(t){return S.Oc(t)&&t[F]&&t[F].wb},S.b("computed",S.o),S.b("dependentObservable",S.o),S.b("isComputed",S.Oc),S.b("isPureComputed",S.Fd),S.b("computed.fn",D),S.L(D,"peek",D.v),S.L(D,"dispose",D.s),S.L(D,"isActive",D.ja),S.L(D,"getDependenciesCount",D.qa),S.L(D,"getDependencies",D.Va),S.xb=function(t,e){return"function"==typeof t?S.o(t,e,{pure:!0}):((t=S.a.extend({},t)).pure=!0,S.o(t,e))},S.b("pureComputed",S.xb),S.ad=function(t){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return Y(t,function(t){for(var e=0;S.O(t)&&e<10;e++)t=t();return t})},S.toJSON=function(t,e,n){return t=S.ad(t),S.a.hc(t,e,n)},X.prototype={constructor:X,save:function(t,e){var n=S.a.A(this.keys,t);0<=n?this.values[n]=e:(this.keys.push(t),this.values.push(e))},get:function(t){return 0<=(t=S.a.A(this.keys,t))?this.values[t]:kt}},S.b("toJS",S.ad),S.b("toJSON",S.toJSON),S.Wd=function(i,t,o){function e(e){var t=S.xb(i,o).extend({ma:"always"}),n=t.subscribe(function(t){t&&(n.s(),e(t))});return t.notifySubscribers(t.v()),n}return"function"!=typeof Promise||t?e(t.bind(o)):new Promise(e)},S.b("when",S.Wd),S.w={M:function(t){switch(S.a.R(t)){case"option":return!0===t.__ko__hasDomDataOptionValue__?S.a.g.get(t,S.c.options.$b):!(S.a.W<=7)||t.getAttributeNode("value")&&t.getAttributeNode("value").specified?t.value:t.text;case"select":return 0<=t.selectedIndex?S.w.M(t.options[t.selectedIndex]):kt;default:return t.value}},cb:function(t,e,n){switch(S.a.R(t)){case"option":"string"==typeof e?(S.a.g.set(t,S.c.options.$b,kt),"__ko__hasDomDataOptionValue__"in t&&delete t.__ko__hasDomDataOptionValue__,t.value=e):(S.a.g.set(t,S.c.options.$b,e),t.__ko__hasDomDataOptionValue__=!0,t.value="number"==typeof e?e:"");break;case"select":""!==e&&null!==e||(e=kt);for(var i,o=-1,s=0,r=t.options.length;s<r;++s)if((i=S.w.M(t.options[s]))==e||""===i&&e===kt){o=s;break}
1(n||0<=o||e===kt&&1<t.size)&&(t.selectedIndex=o,6===S.a.W&&S.a.setTimeout(function(){t.selectedIndex=o},0));break;default:null!==e&&e!==kt||(e=""),t.value=e}}},S.b("selectExtensions",S.w),S.b("selectExtensions.readValue",S.w.M),S.b("selectExtensions.writeValue",S.w.cb),S.m=(O=["true","false","null","undefined"],N=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,I=RegExp("\"(?:\\\\.|[^\"])*\"|'(?:\\\\.|[^'])*'|`(?:\\\\.|[^`])*`|/\\*(?:[^*]|\\*+[^*/])*\\*+/|//.*\n|/(?:\\\\.|[^/])+/w*|[^\\s:,/][^,\"'`{}()/:[\\]]*[^\\s,\"'`{}()/:[\\]]|[^\\s]","g"),R=/[\])"'A-Za-z0-9_$]+$/,L={in:1,return:1,typeof:1},{Ra:[],wa:j={},ac:J,vb:function(t,e){function o(t,e){var n;if(!l){var i=S.getBindingHandler(t);if(i&&i.preprocess&&!(e=i.preprocess(e,t,o)))return;(i=j[t])&&(n=e,i=n=!(0<=S.a.A(O,n))&&(null!==(i=n.match(N))&&(i[1]?"Object("+i[1]+")"+i[2]:n))),i&&r.push("'"+("string"==typeof j[t]?j[t]:t)+"':function(_z){"+n+"=_z}")}a&&(e="function(){return "+e+" }"),s.push("'"+t+"':"+e)}var s=[],r=[],a=(e=e||{}).valueAccessors,l=e.bindingParams,t="string"==typeof t?J(t):t;return S.a.D(t,function(t){o(t.key||t.unknown,t.value)}),r.length&&o("_ko_property_writers","{"+r.join(",")+" }"),s.join(",")},Id:function(t,e){for(var n=0;n<t.length;n++)if(t[n].key==e)return!0;return!1},eb:function(t,e,n,i,o){t&&S.O(t)?!S.Za(t)||o&&t.v()===i||t(i):(t=e.get("_ko_property_writers"))&&t[n]&&t[n](i)}}),S.b("expressionRewriting",S.m),S.b("expressionRewriting.bindingRewriteValidators",S.m.Ra),S.b("expressionRewriting.parseObjectLiteral",S.m.ac),S.b("expressionRewriting.preProcessBindings",S.m.vb),S.b("expressionRewriting._twoWayBindings",S.m.wa),S.b("jsonExpressionRewriting",S.m),S.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",S.m.vb),M=Tt&&"\x3c!--test--\x3e"===Tt.createComment("test").text,B=M?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,H=M?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,q={ul:!0,ol:!0},W="__ko_matchedEndComment__",S.h={ea:{},childNodes:function(t){return Z(t)?et(t):t.childNodes},Ea:function(t){if(Z(t))for(var e=0,n=(t=S.h.childNodes(t)).length;e<n;e++)S.removeNode(t[e]);else S.a.Tb(t)},va:function(t,e){if(Z(t)){S.h.Ea(t);for(var n=t.nextSibling,i=0,o=e.length;i<o;i++)n.parentNode.insertBefore(e[i],n)}else S.a.va(t,e)},Vc:function(t,e){var n;Z(t)?(n=t.nextSibling,t=t.parentNode):n=t.firstChild,n?e!==n&&t.insertBefore(e,n):t.appendChild(e)},Wb:function(t,e,n){n?(n=n.nextSibling,Z(t)&&(t=t.parentNode),n?e!==n&&t.insertBefore(e,n):t.appendChild(e)):S.h.Vc(t,e)},firstChild:function(t){if(Z(t))return!t.nextSibling||tt(t.nextSibling)?null:t.nextSibling;if(t.firstChild&&tt(t.firstChild))throw Error("Found invalid end comment, as the first child of "+t);return t.firstChild},nextSibling:function(t){if((t=Z(t)?nt(t):t).nextSibling&&tt(t.nextSibling)){var e=t.nextSibling;if(tt(e)&&!S.a.g.get(e,W))throw Error("Found end comment without a matching opening comment, as child of "+t);return null}return t.nextSibling},Cd:Z,Vd:function(t){return(t=(M?t.text:t.nodeValue).match(B))?t[1]:null},Sc:function(t){if(q[S.a.R(t)]){var e=t.firstChild;if(e)do{if(1===e.nodeType){var n,i=e.firstChild,o=null;if(i)do{}while(o?o.push(i):Z(i)?(n=nt(i,!0))?i=n:o=[i]:tt(i)&&(o=[i]),i=i.nextSibling);if(i=o)for(o=e.nextSibling,n=0;n<i.length;n++)o?t.insertBefore(i[n],o):t.appendChild(i[n])}}while(e=e.nextSibling)}}},S.b("virtualElements",S.h),S.b("virtualElements.allowedBindings",S.h.ea),S.b("virtualElements.emptyNode",S.h.Ea),S.b("virtualElements.insertAfter",S.h.Wb),S.b("virtualElements.prepend",S.h.Vc),S.b("virtualElements.setDomNodeChildren",S.h.va),S.ga=function(){this.nd={}},S.a.extend(S.ga.prototype,{nodeHasBindings:function(t){switch(t.nodeType){case 1:return null!=t.getAttribute("data-bind")||S.j.getComponentNameForNode(t);case 8:return S.h.Cd(t);default:return!1}},getBindings:function(t,e){var n=(n=this.getBindingsString(t,e))?this.parseBindingsString(n,e,t):null;return S.j.tc(n,t,e,!1)},getBindingAccessors:function(t,e){var n=(n=this.getBindingsString(t,e))?this.parseBindingsString(n,e,t,{valueAccessors:!0}):null;return S.j.tc(n,t,e,!0)},getBindingsString:function(t){switch(t.nodeType){case 1:return t.getAttribute("data-bind");case 8:return S.h.Vd(t);default:return null}},parseBindingsString:function(e,t,n,i){try{var o,s,r=this.nd,a=e+(i&&i.valueAccessors||"");return(s=r[a])||(o="with($context){with($data||{}){return{"+S.m.vb(e,i)+"}}}",o=new Function("$context","$element",o),s=r[a]=o),s(t,n)}catch(t){throw t.message="Unable to parse bindings.\nBindings value: "+e+"\nMessage: "+t.message,t}}}),S.ga.instance=new S.ga,S.b("bindingProvider",S.ga),function(){function i(t){var e=(t=S.a.g.get(t,C))&&t.N;e&&(t.N=null,e.Tc())}function o(t,e,n){this.node=t,this.yc=e,this.kb=[],this.H=!1,e.N||S.a.K.za(t,i),n&&n.N&&(n.N.kb.push(t),this.Kb=n)}function s(t){return function(){return t}}function v(t){return t()}function r(n){return S.a.Ga(S.u.G(n),function(t,e){return function(){return n()[e]}})}function y(t,e){return r(this.getBindings.bind(this,t,e))}function a(t,e){var n=S.h.firstChild(e);if(n){var i,o=S.ga.instance,s=o.preprocessNode;if(s){for(;i=n;)n=S.h.nextSibling(i),s.call(o,i);n=S.h.firstChild(e)}for(;i=n;)n=S.h.nextSibling(i),l(t,i)}S.i.ma(e,S.i.H)}function l(t,e){var n=t,i=1===e.nodeType;i&&S.h.Sc(e),(n=i||S.ga.instance.nodeHasBindings(e)?u(e,null,t).bindingContextForDescendants:n)&&!h[S.a.R(e)]&&a(n,e)}
1function u(o,t,e){var s,n,i,r,a=S.a.g.Ub(o,C,{}),l=a.hd;if(!t){if(l)throw Error("You cannot apply bindings multiple times to the same element.");a.hd=!0}l||(a.context=e),a.Zb||(a.Zb={}),t&&"function"!=typeof t?s=t:(n=S.ga.instance,i=n.getBindingAccessors||y,r=S.$(function(){return(s=t?t(e,o):i.call(n,o,e))&&(e[b]&&e[b](),e[w]&&e[w]()),s},null,{l:o}),s&&r.ja()||(r=null));var u,c,h,d,f,p,g,m=e;return s&&(c=function(){return S.a.Ga(r?r():s,v)},h=r?function(t){return function(){return v(r()[t])}}:function(t){return s[t]},c.get=function(t){return s[t]&&h(t)()},c.has=function(t){return t in s},S.i.H in s&&S.i.subscribe(o,S.i.H,function(){var t,e=(0,s[S.i.H])();!e||(t=S.h.childNodes(o)).length&&e(t,S.Ec(t[0]))}),S.i.pa in s&&(m=S.i.Cb(o,e),S.i.subscribe(o,S.i.pa,function(){var t=(0,s[S.i.pa])();t&&S.h.firstChild(o)&&t(o)})),d=s,f=[],p={},g=[],S.a.P(d,function e(t){var n;p[t]||((n=S.getBindingHandler(t))&&(n.after&&(g.push(t),S.a.D(n.after,function(t){if(d[t]){if(-1!==S.a.A(g,t))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+g.join(", "));e(t)}}),g.length--),f.push({key:t,Mc:n})),p[t]=!0)}),a=f,S.a.D(a,function(t){var e=t.Mc.init,n=t.Mc.update,i=t.key;if(8===o.nodeType&&!S.h.ea[i])throw Error("The binding '"+i+"' cannot be used with virtual elements");try{"function"==typeof e&&S.u.G(function(){var t=e(o,h(i),c,m.$data,m);if(t&&t.controlsDescendantBindings){if(u!==kt)throw Error("Multiple bindings ("+u+" and "+i+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");u=i}}),"function"==typeof n&&S.$(function(){n(o,h(i),c,m.$data,m)},null,{l:o})}catch(t){throw t.message='Unable to process binding "'+i+": "+s[i]+'"\nMessage: '+t.message,t}})),{shouldBindDescendants:a=u===kt,bindingContextForDescendants:a&&m}}function c(t,e){return t&&t instanceof S.fa?t:new S.fa(t,kt,kt,e)}var b=S.a.Da("_subscribable"),d=S.a.Da("_ancestorBindingInfo"),w=S.a.Da("_dataDependency");S.c={};var h={script:!0,textarea:!0,template:!0};S.getBindingHandler=function(t){return S.c[t]};var f={};S.fa=function(t,n,i,o,e){function s(){var t=c?u():u,e=S.a.f(t);return n?(S.a.extend(a,n),d in n&&(a[d]=n[d])):(a.$parents=[],a.$root=e,a.ko=S),a[b]=r,l?e=a.$data:(a.$rawData=t,a.$data=e),i&&(a[i]=e),o&&o(a,n,e),n&&n[b]&&!S.S.o().Vb(n[b])&&n[b](),h&&(a[w]=h),a.$data}var r,a=this,l=t===f,u=l?kt:t,c="function"==typeof u&&!S.O(u),h=e&&e.dataDependency;e&&e.exportDependencies?s():((r=S.xb(s)).v(),r.ja()?r.equalityComparer=null:a[b]=kt)},S.fa.prototype.createChildContext=function(e,n,i,t){if(!t&&n&&"object"==typeof n&&(n=(t=n).as,i=t.extend),n&&t&&t.noChildContext){var o="function"==typeof e&&!S.O(e);return new S.fa(f,this,null,function(t){i&&i(t),t[n]=o?e():e},t)}return new S.fa(e,this,n,function(t,e){t.$parentContext=e,t.$parent=e.$data,t.$parents=(e.$parents||[]).slice(0),t.$parents.unshift(t.$parent),i&&i(t)},t)},S.fa.prototype.extend=function(e,t){return new S.fa(f,this,null,function(t){S.a.extend(t,"function"==typeof e?e(t):e)},t)};var C=S.a.g.Z();o.prototype.Tc=function(){this.Kb&&this.Kb.N&&this.Kb.N.sd(this.node)},o.prototype.sd=function(t){S.a.Pa(this.kb,t),!this.kb.length&&this.H&&this.Cc()},o.prototype.Cc=function(){this.H=!0,this.yc.N&&!this.kb.length&&(this.yc.N=null,S.a.K.yb(this.node,i),S.i.ma(this.node,S.i.pa),this.Tc())},S.i={H:"childrenComplete",pa:"descendantsComplete",subscribe:function(t,e,n,i,o){var s=S.a.g.Ub(t,C,{});return s.Fa||(s.Fa=new S.T),o&&o.notifyImmediately&&s.Zb[e]&&S.u.G(n,i,[t]),s.Fa.subscribe(n,i,e)},ma:function(t,e){var n=S.a.g.get(t,C);if(n&&(n.Zb[e]=!0,n.Fa&&n.Fa.notifySubscribers(t,e),e==S.i.H))if(n.N)n.N.Cc();else if(n.N===kt&&n.Fa&&n.Fa.Wa(S.i.pa))throw Error("descendantsComplete event not supported for bindings on this node")},Cb:function(t,e){var n=S.a.g.Ub(t,C,{});return n.N||(n.N=new o(t,n,e[d])),e[d]==n?e:e.extend(function(t){t[d]=n})}},S.Td=function(t){return(t=S.a.g.get(t,C))&&t.context},S.ib=function(t,e,n){return 1===t.nodeType&&S.h.Sc(t),u(t,e,c(n))},S.ld=function(t,e,n){return n=c(n),S.ib(t,(i=n,t=t,"function"==typeof(e=e)?r(e.bind(null,i,t)):S.a.Ga(e,s)),n);var i},S.Oa=function(t,e){1!==e.nodeType&&8!==e.nodeType||a(c(t),e)},S.vc=function(t,e,n){if(!St&&$t.jQuery&&(St=$t.jQuery),arguments.length<2){if(!(e=Tt.body))throw Error("ko.applyBindings: could not find document.body; has the document been loaded?")}else if(!e||1!==e.nodeType&&8!==e.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");l(c(t,n),e)},S.Dc=function(t){return!t||1!==t.nodeType&&8!==t.nodeType?kt:S.Td(t)},S.Ec=function(t){return(t=S.Dc(t))?t.$data:kt},S.b("bindingHandlers",S.c),S.b("bindingEvent",S.i),S.b("bindingEvent.subscribe",S.i.subscribe),S.b("bindingEvent.startPossiblyAsyncContentBinding",S.i.Cb),S.b("applyBindings",S.vc),S.b("applyBindingsToDescendants",S.Oa),S.b("applyBindingAccessorsToNode",S.ib),S.b("applyBindingsToNode",S.ld),S.b("
1contextFor",S.Dc),S.b("dataFor",S.Ec)}(),K={},V={},S.j={get:function(t,e){var n=Object.prototype.hasOwnProperty.call(V,t)?V[t]:U;n?n.Gd?S.u.G(function(){e(n.definition)}):S.na.zb(function(){e(n.definition)}):it(t,e)},Bc:function(t){delete V[t]},oc:ot},S.j.loaders=[],S.b("components",S.j),S.b("components.get",S.j.get),S.b("components.clearCachedDefinition",S.j.Bc),function(){function o(t){switch(S.a.R(t)){case"script":return S.a.ua(t.text);case"textarea":return S.a.ua(t.value);case"template":if(s(t.content))return S.a.Ca(t.content.childNodes)}return S.a.Ca(t.childNodes)}function s(t){return $t.DocumentFragment?t instanceof DocumentFragment:t&&11===t.nodeType}function h(t,e,n){"string"==typeof e.require?i||$t.require?(i||$t.require)([e.require],function(t){t&&"object"==typeof t&&t.Xd&&t.default&&(t=t.default),n(t)}):t("Uses require, but no AMD loader is present"):n(e)}function r(e){return function(t){throw Error("Component '"+e+"': "+t)}}var n={};S.j.register=function(t,e){if(!e)throw Error("Invalid configuration for "+t);if(S.j.tb(t))throw Error("Component "+t+" is already registered");n[t]=e},S.j.tb=function(t){return Object.prototype.hasOwnProperty.call(n,t)},S.j.unregister=function(t){delete n[t],S.j.Bc(t)},S.j.Fc={getConfig:function(t,e){e(S.j.tb(t)?n[t]:null)},loadComponent:function(l,t,u){var c=r(l);h(c,t,function(t){function e(){0==--a&&s(r)}var n,i,o,s,r,a;n=l,i=c,s=u,r={},a=2,t=(o=t).template,o=o.viewModel,t?h(i,t,function(t){S.j.oc("loadTemplate",[n,t],function(t){r.template=t,e()})}):e(),o?h(i,o,function(t){S.j.oc("loadViewModel",[n,t],function(t){r[d]=t,e()})}):e()})},loadTemplate:function(t,e,n){var i;t=r(t),"string"==typeof e?n(S.a.ua(e)):e instanceof Array?n(e):s(e)?n(S.a.la(e.childNodes)):e.element?(e=e.element,($t.HTMLElement?e instanceof HTMLElement:e&&e.tagName&&1===e.nodeType)?n(o(e)):"string"==typeof e?(i=Tt.getElementById(e))?n(o(i)):t("Cannot find element with ID "+e):t("Unknown element type: "+e)):t("Unknown template value: "+e)},loadViewModel:function(t,e,n){!function t(e,n,i){var o;"function"==typeof n?i(function(t){return new n(t)}):"function"==typeof n[d]?i(n[d]):"instance"in n?(o=n.instance,i(function(){return o})):"viewModel"in n?t(e,n.viewModel,i):e("Unknown viewModel value: "+n)}(r(t),e,n)}};var d="createViewModel";S.b("components.register",S.j.register),S.b("components.isRegistered",S.j.tb),S.b("components.unregister",S.j.unregister),S.b("components.defaultLoader",S.j.Fc),S.j.loaders.push(S.j.Fc),S.j.dd=n}(),function(){S.j.getComponentNameForNode=function(t){var e=S.a.R(t);if(S.j.tb(e)&&(-1!=e.indexOf("-")||"[object HTMLUnknownElement]"==""+t||S.a.W<=8&&t.tagName===e))return e},S.j.tc=function(t,e,n,i){if(1===e.nodeType){var o=S.j.getComponentNameForNode(e);if(o){if((t=t||{}).component)throw Error('Cannot use the "component" binding on a custom element matching a component');var s={name:o,params:function(n,t){if(e=n.getAttribute("params")){var e=r.parseBindingsString(e,t,n,{valueAccessors:!0,bindingParams:!0}),e=S.a.Ga(e,function(t){return S.o(t,null,{l:n})}),t=S.a.Ga(e,function(e){var t=e.v();return e.ja()?S.o({read:function(){return S.a.f(e())},write:S.Za(t)&&function(t){e()(t)},l:n}):t});return Object.prototype.hasOwnProperty.call(t,"$raw")||(t.$raw=e),t}return{$raw:{}}}(e,n)};t.component=i?function(){return s}:s}}return t};var e,n,r=new S.ga;S.a.W<9&&(S.j.register=(n=S.j.register,function(t){return n.apply(this,arguments)}),Tt.createDocumentFragment=(e=Tt.createDocumentFragment,function(){var t=e();S.j.dd;return t}))}(),G=0,S.c.component={init:function(c,e,t,n,i){function h(){var t=d&&d.dispose;"function"==typeof t&&t.call(d),p&&p.s(),f=d=p=null}var d,f,p,g=S.a.la(S.h.childNodes(c));return S.h.Ea(c),S.a.K.za(c,h),S.o(function(){var r,a,t=S.a.f(e());if("string"==typeof t?r=t:(r=S.a.f(t.name),a=S.a.f(t.params)),!r)throw Error("No component name specified");var l=S.i.Cb(c,i),u=f=++G;S.j.get(r,function(t){if(f===u){if(h(),!t)throw Error("Unknown component '"+r+"'");!function(t,e,n){if(!(e=e.template))throw Error("Component '"+t+"' has no template");t=S.a.Ca(e),S.h.va(n,t)}(r,t,c);var e=(i=a,o={element:c,templateNodes:g}
1,(s=(n=t).createViewModel)?s.call(n,i,o):i);t=l.createChildContext(e,{extend:function(t){t.$component=e,t.$componentTemplateNodes=g}}),e&&e.koDescendantsComplete&&(p=S.i.subscribe(c,S.i.pa,e.koDescendantsComplete,e)),d=e,S.Oa(t,c)}var n,i,o,s})},null,{l:c}),{controlsDescendantBindings:!0}}},S.h.ea.component=!0;var st={class:"className",for:"htmlFor"};function rt(t,f,p){S.c[t]={init:function(o,s,t,e,r){var a,l,u,c,n,h,d={};return f&&(e=t.get("as"),n=t.get("noChildContext"),d={as:e,noChildContext:n,exportDependencies:h=!(e&&n)}),c=(u="render"==t.get("completeOn"))||t.has(S.i.pa),S.o(function(){var t,e=S.a.f(s()),n=!p!=!e,i=!l;!h&&n===a||(c&&(r=S.i.Cb(o,r)),n&&(f&&!h||(d.dataDependency=S.S.o()),t=f?r.createChildContext("function"==typeof e?e:s,d):S.S.qa()?r.extend(null,d):r),i&&S.S.qa()&&(l=S.a.Ca(S.h.childNodes(o),!0)),n?(i||S.h.va(o,S.a.Ca(l)),S.Oa(t,o)):(S.h.Ea(o),u||S.i.ma(o,S.i.H)),a=n)},null,{l:o}),{controlsDescendantBindings:!0}}},S.m.Ra[t]=!1,S.h.ea[t]=!0}S.c.attr={update:function(o,t){t=S.a.f(t())||{};S.a.P(t,function(t,e){e=S.a.f(e);var n=t.indexOf(":"),n="lookupNamespaceURI"in o&&0<n&&o.lookupNamespaceURI(t.substr(0,n)),i=!1===e||null===e||e===kt;i?n?o.removeAttributeNS(n,t):o.removeAttribute(t):e=e.toString(),S.a.W<=8&&t in st?(t=st[t],i?o.removeAttribute(t):o[t]=e):i||(n?o.setAttributeNS(n,t,e):o.setAttribute(t,e)),"name"===t&&S.a.Yc(o,i?"":e)})}},S.c.checked={after:["value","attr"],init:function(s,r,a){function t(){var t,e,n,i=s.checked,o=h();S.S.Ya()||!i&&(f||S.S.qa())||(t=S.u.G(r),l?(e=u?t.v():t,(n=c)!==(c=o)?i&&(S.a.Na(e,o,!0),S.a.Na(e,n,!1)):S.a.Na(e,o,i),u&&S.Za(t)&&t(e)):(d&&(o===kt?o=i:i||(o=kt)),S.m.eb(t,a,"checked",o,!0)))}var e,l,u,n,c,h=S.xb(function(){return a.has("checkedValue")?S.a.f(a.get("checkedValue")):n?a.has("value")?S.a.f(a.get("value")):s.value:void 0}),d="checkbox"==s.type,f="radio"==s.type;(d||f)&&(e=r(),l=d&&S.a.f(e)instanceof Array,u=!(l&&e.push&&e.splice),n=f||l,c=l?h():kt,f&&!s.name&&S.c.uniqueName.init(s,function(){return!0}),S.o(t,null,{l:s}),S.a.B(s,"click",t),S.o(function(){var t=S.a.f(r()),e=h();l?(s.checked=0<=S.a.A(t,e),c=e):s.checked=d&&e===kt?!!t:h()===t},null,{l:s}),e=kt)}},S.m.wa.checked=!0,S.c.checkedValue={update:function(t,e){t.value=S.a.f(e())}},S.c.class={update:function(t,e){e=S.a.Db(S.a.f(e()));S.a.Eb(t,t.__ko__cssValue,!1),t.__ko__cssValue=e,S.a.Eb(t,e,!0)}},S.c.css={update:function(n,t){var e=S.a.f(t());null!==e&&"object"==typeof e?S.a.P(e,function(t,e){e=S.a.f(e),S.a.Eb(n,t,e)}):S.c.class.update(n,t)}},S.c.enable={update:function(t,e){e=S.a.f(e());e&&t.disabled?t.removeAttribute("disabled"):e||t.disabled||(t.disabled=!0)}},S.c.disable={update:function(t,e){S.c.enable.update(t,function(){return!S.a.f(e())})}},S.c.event={init:function(t,s,r,a,l){var e=s()||{};S.a.P(e,function(o){"string"==typeof o&&S.a.B(t,o,function(t){var e,n=s()[o];if(n){try{var i=S.a.la(arguments);a=l.$data,i.unshift(a),e=n.apply(a,i)}finally{!0!==e&&(t.preventDefault?t.preventDefault():t.returnValue=!1)}!1===r.get(o+"Bubble")&&(t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation())}})})}},S.c.foreach={Rc:function(n){return function(){var t=n(),e=S.a.bc(t);return e&&"number"!=typeof e.length?(S.a.f(t),{foreach:e.data,as:e.as,noChildContext:e.noChildContext,includeDestroyed:e.includeDestroyed,afterAdd:e.afterAdd,beforeRemove:e.beforeRemove,afterRender:e.afterRender,beforeMove:e.beforeMove,afterMove:e.afterMove,templateEngine:S.ba.Ma}):{foreach:t,templateEngine:S.ba.Ma}}},init:function(t,e){return S.c.template.init(t,S.c.foreach.Rc(e))},update:function(t,e,n,i,o){return S.c.template.update(t,S.c.foreach.Rc(e),n,i,o)}},S.m.Ra.foreach=!1,S.h.ea.foreach=!0,S.c.hasfocus={init:function(i,o,s){function t(t){i.__ko_hasfocusUpdating=!0;var e,n=i.ownerDocument;if("activeElement"in n){try{e=n.activeElement}catch(t){e=n.body}t=e===i}n=o(),S.m.eb(n,s,"hasfocus",t,!0),i.__ko_hasfocusLastValue=t,i.__ko_hasfocusUpdating=!1}var e=t.bind(null,!0),n=t.bind(null,!1);S.a.B(i,"focus",e),S.a.B(i,"focusin",e),S.a.B(i,"blur",n),S.a.B(i,"focusout",n),i.__ko_hasfocusLastValue=!1},update:function(t,e){e=!!S.a.f(e());t.__ko_hasfocusUpdating||t.__ko_hasfocusLastValue===e||(e?t.focu
vendor: 4,652 bytes, line 1
1s():t.blur(),!e&&t.__ko_hasfocusLastValue&&t.ownerDocument.body.focus(),S.u.G(S.a.Fb,null,[t,e?"focusin":"focusout"]))}},S.m.wa.hasfocus=!0,S.c.hasFocus=S.c.hasfocus,S.m.wa.hasFocus="hasfocus",S.c.html={init:function(){return{controlsDescendantBindings:!0}},update:function(t,e){S.a.fc(t,e())}},rt("if"),rt("ifnot",!1,!0),rt("with",!0),S.c.let={init:function(t,e,n,i,o){return e=o.extend(e),S.Oa(e,t),{controlsDescendantBindings:!0}}},S.h.ea.let=!0;var at,lt,ut,ct,ht,dt,ft,pt,gt,mt,vt,yt,bt,wt,Ct={};function _t(t,e,n,i){t=S.m.ac(t);for(var o=S.m.Ra,s=0;s<t.length;s++){var r=t[s].key;if(Object.prototype.hasOwnProperty.call(o,r)){var a=o[r];if("function"==typeof a){if(r=a(t[s].value))throw Error(r)}else if(!a)throw Error("This template engine does not support the '"+r+"' binding within its templates")}}return n="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+S.m.vb(t,{valueAccessors:!0})+" } })()},'"+n.toLowerCase()+"')",i.createJavaScriptEvaluatorBlock(n)+e}function xt(t,e,n,i,o){for(var s,r,a,l,u=Math.min,c=Math.max,h=[],d=t.length,f=e.length,p=f-d||1,g=d+f+1,m=0;m<=d;m++)for(a=r,h.push(r=[]),l=u(f,m+p),s=c(0,m-1);s<=l;s++)r[s]=s?m?t[m-1]===e[s-1]?a[s-1]:u(a[s]||g,r[s-1]||g)+1:s+1:m+1;for(u=[],c=[],p=[],m=d,s=f;m||s;)f=h[m][s]-1,s&&f===h[m][s-1]?c.push(u[u.length]={status:n,value:e[--s],index:s}):m&&f===h[m-1][s]?p.push(u[u.length]={status:i,value:t[--m],index:m}):(--s,--m,o.sparse||u.push({status:"retained",value:e[s]}));return S.a.Kc(p,c,!o.dontLimitMoves&&10*d),u.reverse()}S.c.options={init:function(t){if("select"!==S.a.R(t))throw Error("options binding applies only to SELECT elements");for(;0<t.length;)t.remove(0);return{controlsDescendantBindings:!0}},update:function(i,t,o){function e(){return S.a.jb(i.options,function(t){return t.selected})}function s(t,e,n){var i=typeof e;return"function"==i?e(t):"string"==i?t[e]:n}function n(t,e){var n;f&&u?S.i.ma(i,S.i.H):d.length&&(n=0<=S.a.A(d,S.w.M(e[0])),S.a.Zc(e[0],n),f&&!n&&S.u.G(S.a.Fb,null,[i,"change"]))}var r=i.multiple,a=0!=i.length&&r?i.scrollTop:null,l=S.a.f(t()),u=o.get("valueAllowUnset")&&o.has("value"),c=o.get("optionsIncludeDestroyed");t={};var h,d=[];u||(r?d=S.a.Mb(e(),S.w.M):0<=i.selectedIndex&&d.push(S.w.M(i.options[i.selectedIndex]))),l&&(void 0===l.length&&(l=[l]),h=S.a.jb(l,function(t){return c||t===kt||null===t||!S.a.f(t._destroy)}),!o.has("optionsCaption")||null!==(l=S.a.f(o.get("optionsCaption")))&&l!==kt&&h.unshift(Ct));var f=!1;t.beforeRemove=function(t){i.removeChild(t)},l=n,o.has("optionsAfterRender")&&"function"==typeof o.get("optionsAfterRender")&&(l=function(t,e){n(0,e),S.u.G(o.get("optionsAfterRender"),null,[e[0],t!==Ct?t:kt])}),S.a.ec(i,h,function(t,e,n){return n.length&&(d=!u&&n[0].selected?[S.w.M(n[0])]:[],f=!0),e=i.ownerDocument.createElement("option"),t===Ct?(S.a.Bb(e,o.get("optionsCaption")),S.w.cb(e,kt)):(n=s(t,o.get("optionsValue"),t),S.w.cb(e,S.a.f(n)),t=s(t,o.get("optionsText"),n),S.a.Bb(e,t)),[e]},t,l),u||(r?d.length&&e().length<d.length:d.length&&0<=i.selectedIndex?S.w.M(i.options[i.selectedIndex])!==d[0]:d.length||0<=i.selectedIndex)&&S.u.G(S.a.Fb,null,[i,"change"]),(u||S.S.Ya())&&S.i.ma(i,S.i.H),S.a.wd(i),a&&20<Math.abs(a-i.scrollTop)&&(i.scrollTop=a)}},S.c.options.$b=S.a.g.Z(),S.c.selectedOptions={init:function(i,o,n){function t(){var t=o(),e=[];S.a.D(i.getElementsByTagName("option"),function(t){t.selected&&e.push(S.w.M(t))}),S.m.eb(t,n,"selectedOptions",e)}function e(){var n=S.a.f(o()),t=i.scrollTop;n&&"number"==typeof n.length&&S.a.D(i.getElementsByTagName("option"),function(t){var e=0<=S.a.A(n,S.w.M(t));t.selected!=e&&S.a.Zc(t,e)}),i.scrollTop=t}if("select"!=S.a.R(i))throw Error("selectedOptions binding applies only to SELECT elements");var s;S.i.subscribe(i,S.i.H,function(){s?t():(S.a.B(i,"change",t),s=S.o(e,null,{l:i}))},null,{notifyImmediately:!0})},update:function(){}},S.m.wa.selectedOptions=!0,S.c.style={update:function(i,t){t=S.a.f(t()||{});S.a.P(t,function(t,e){var n;null!==(e=S.a.f(e))&&e!==kt&&!1!==e||(e=""),St?St(i).css(t,e):/^--/.test(t)?i.style.setProperty(t,e):(t=t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()}),n=i.style[t],(i.style[t]=e)===n||i.style[t]!=n||isNaN(e)||(i.style[t]=e+"px"))})}},S.c.submit={init:function(i,o,t,e,s){if("function"!=typeof o())throw Error("The value for a submit binding must be a function");S.a.B(i,"submit",function(t){var e,n=o();try{e=n.call(s.$data,i)}finally{!0!==e&&(t.preventDefault?t.preventDefault():t.returnValue=!1)}})}},S.c.text={init:function(){return{controlsDescendantBindings:!0}},update:function(t,e){S.a.Bb(t,e())}},S.h.ea.text=!0,$t&&$t.navigator&&(t=function(t){if(t)return parseFloat(t[1])}
1,at=$t.navigator.userAgent,(lt=$t.opera&&$t.opera.version&&parseInt($t.opera.version()))||(dt=t(at.match(/Edge\/([^ ]+)$/)))||t(at.match(/Chrome\/([^ ]+)/))||(ut=t(at.match(/Version\/([^ ]+) Safari/)))||(ct=t(at.match(/Firefox\/([^ ]+)/)))||(ht=S.a.W||t(at.match(/MSIE ([^ ]+)/)))||(ht=t(at.match(/rv:([^ )]+)/)))),8<=ht&&ht<10&&(ft=S.a.g.Z(),pt=S.a.g.Z(),gt=function(t){var e=this.activeElement;(e=e&&S.a.g.get(e,pt))&&e(t)},mt=function(t,e){var n=t.ownerDocument;S.a.g.get(n,ft)||(S.a.g.set(n,ft,!0),S.a.B(n,"selectionchange",gt)),S.a.g.set(t,pt,e)}),S.c.textInput={init:function(n,i,e){function t(t,e){S.a.B(n,t,e)}function o(){r||(a=n.value,r=S.a.setTimeout(s,4))}function s(){clearTimeout(r),a=r=kt;var t=n.value;l!==t&&(l=t,S.m.eb(i(),e,"textInput",t))}var r,a,l=n.value,u=9==S.a.W?o:s,c=!1;ht&&t("keypress",s),ht<11&&t("propertychange",function(t){c||"value"!==t.propertyName||u(t)}),8==ht&&(t("keyup",s),t("keydown",s)),mt&&(mt(n,u),t("dragend",o)),(!ht||9<=ht)&&t("input",u),ut<5&&"textarea"===S.a.R(n)?(t("keydown",o),t("paste",o),t("cut",o)):lt<11?t("keydown",o):ct<4?(t("DOMAutoComplete",s),t("dragdrop",s),t("drop",s)):dt&&"number"===n.type&&t("keydown",o),t("change",s),t("blur",s),S.o(function t(){var e=S.a.f(i());null!==e&&e!==kt||(e=""),a!==kt&&e===a?S.a.setTimeout(t,4):n.value!==e&&(c=!0,n.value=e,c=!1,l=n.value)},null,{l:n})}},S.m.wa.textInput=!0,S.c.textinput={preprocess:function(t,e,n){n("textInput",t)}},S.c.uniqueName={init:function(t,e){e()&&(e="ko_unique_"+ ++S.c.uniqueName.rd,S.a.Yc(t,e))}},S.c.uniqueName.rd=0,S.c.using={init:function(t,e,n,i,o){var s;return n.has("as")&&(s={as:n.get("as"),noChildContext:n.get("noChildContext")}),e=o.createChildContext(e,s),S.Oa(e,t),{controlsDescendantBindings:!0}}},S.h.ea.using=!0,S.c.value={init:function(n,i,o){var t,e,s,r,a,l,u,c=S.a.R(n),h="input"==c;!h||"checkbox"!=n.type&&"radio"!=n.type?(t=[],e=o.get("valueUpdate"),s=!1,r=null,e&&(t="string"==typeof e?[e]:S.a.wc(e),S.a.Pa(t,"change")),a=function(){r=null,s=!1;var t=i(),e=S.w.M(n);S.m.eb(t,o,"value",e)},!S.a.W||!h||"text"!=n.type||"off"==n.autocomplete||n.form&&"off"==n.form.autocomplete||-1!=S.a.A(t,"propertychange")||(S.a.B(n,"propertychange",function(){s=!0}),S.a.B(n,"focus",function(){s=!1}),S.a.B(n,"blur",function(){s&&a()})),S.a.D(t,function(t){var e=a;S.a.Ud(t,"after")&&(e=function(){r=S.w.M(n),S.a.setTimeout(a,0)},t=t.substring(5)),S.a.B(n,t,e)}),l=h&&"file"==n.type?function(){var t=S.a.f(i());null===t||t===kt||""===t?n.value="":S.u.G(a)}:function(){var t=S.a.f(i()),e=S.w.M(n);null!==r&&t===r?S.a.setTimeout(l,0):t===e&&e!==kt||("select"===c?(e=o.get("valueAllowUnset"),S.w.cb(n,t,e),e||t===S.w.M(n)||S.u.G(a)):S.w.cb(n,t))},"select"===c?S.i.subscribe(n,S.i.H,function(){u?(o.get("valueAllowUnset")?l:a)():(S.a.B(n,"change",a),u=S.o(l,null,{l:n}))},null,{notifyImmediately:!0}):(S.a.B(n,"change",a),S.o(l,null,{l:n}))):S.ib(n,{checkedValue:i})},update:function(){}},S.m.wa.value=!0,S.c.visible={update:function(t,e){var n=S.a.f(e()),e="none"!=t.style.display;n&&!e?t.style.display="":!n&&e&&(t.style.display="none")}},S.c.hidden={update:function(t,e){S.c.visible.update(t,function(){return!S.a.f(e())})}},S.c.click={init:function(t,e,n,i,o){return S.c.event.init.call(this,t,function(){var t={};return t.click=e(),t},n,i,o)}},S.ca=function(){},S.ca.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource")},S.ca.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock")},S.ca.prototype.makeTemplateSource=function(t,e){if("string"==typeof t){e=(e=e||Tt).getElementById(t);if(!e)throw Error("Cannot find template with ID "+t);return new S.C.F(e)}if(1==t.nodeType||8==t.nodeType)return new S.C.ia(t);throw Error("Unknown template type: "+t)},S.ca.prototype.renderTemplate=function(t,e,n,i){return t=this.makeTemplateSource(t,i),this.renderTemplateSource(t,e,n,i)},S.ca.prototype.isTemplateRewritten=function(t,e){return!1===this.allowTemplateRewriting||this.makeTemplateSource(t,e).data("isRewritten")},S.ca.prototype.rewriteTemplate=function(t,e,n){e=e((t=this.makeTemplateSource(t,n)).text()),t.text(e),t.data("isRewritten",!0)},S.b("templateEngine",S.ca),S.kc=(vt=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>
1]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,yt=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g,{xd:function(t,e,n){e.isTemplateRewritten(t,n)||e.rewriteTemplate(t,function(t){return S.kc.Ld(t,e)},n)},Ld:function(t,s){return t.replace(vt,function(t,e,n,i,o){return _t(o,e,n,s)}).replace(yt,function(t,e){return _t(e,"\x3c!-- ko --\x3e","#comment",s)})},md:function(n,i){return S.aa.Xb(function(t,e){t=t.nextSibling;t&&t.nodeName.toLowerCase()===i&&S.ib(t,n,e)})}}),S.b("__tr_ambtns",S.kc.md),function(){S.C={},S.C.F=function(t){var e;(this.F=t)&&(e=S.a.R(t),this.ab="script"===e?1:"textarea"===e?2:"template"==e&&t.content&&11===t.content.nodeType?3:4)},S.C.F.prototype.text=function(){var t=1===this.ab?"text":2===this.ab?"value":"innerHTML";if(0==arguments.length)return this.F[t];var e=arguments[0];"innerHTML"==t?S.a.fc(this.F,e):this.F[t]=e};var e=S.a.g.Z()+"_";S.C.F.prototype.data=function(t){if(1===arguments.length)return S.a.g.get(this.F,e+t);S.a.g.set(this.F,e+t,arguments[1])};var o=S.a.g.Z();S.C.F.prototype.nodes=function(){var t=this.F;if(0==arguments.length){var e,n=S.a.g.get(t,o)||{},i=n.lb||(3===this.ab?t.content:4===this.ab?t:kt);return i&&!n.jd||(e=this.text())&&e!==n.bb&&(i=S.a.Md(e,t.ownerDocument),S.a.g.set(t,o,{lb:i,bb:e,jd:!0})),i}n=arguments[0],this.ab!==kt&&this.text(""),S.a.g.set(t,o,{lb:n})},S.C.ia=function(t){this.F=t},S.C.ia.prototype=new S.C.F,S.C.ia.prototype.constructor=S.C.ia,S.C.ia.prototype.text=function(){if(0==arguments.length){var t=S.a.g.get(this.F,o)||{};return t.bb===kt&&t.lb&&(t.bb=t.lb.innerHTML),t.bb}S.a.g.set(this.F,o,{bb:arguments[0]})},S.b("templateSources",S.C),S.b("templateSources.domElement",S.C.F),S.b("templateSources.anonymousTemplate",S.C.ia)}(),function(){function i(t,e,n){var i;for(e=S.h.nextSibling(e);t&&(i=t)!==e;)n(i,t=S.h.nextSibling(i))}function d(t,e){if(t.length){var o=t[0],s=t[t.length-1],n=o.parentNode,r=S.ga.instance,a=r.preprocessNode;if(a){if(i(o,s,function(t,e){var n=t.previousSibling,i=a.call(r,t);i&&(t===o&&(o=i[0]||e),t===s&&(s=i[i.length-1]||n))}),t.length=0,!o)return;o===s?t.push(o):(t.push(o,s),S.a.Ua(t,n))}i(o,s,function(t){1!==t.nodeType&&8!==t.nodeType||S.vc(e,t)}),i(o,s,function(t){1!==t.nodeType&&8!==t.nodeType||S.aa.cd(t,[e])}),S.a.Ua(t,n)}}function l(t){return t.nodeType?t:0<t.length?t[0]:null}function f(t,e,n,i,o){o=o||{};var s=(t&&l(t)||n||{}).ownerDocument,r=o.templateEngine||u;if(S.kc.xd(n,r,s),"number"!=typeof(n=r.renderTemplate(n,i,o,s)).length||0<n.length&&"number"!=typeof n[0].nodeType)throw Error("Template engine must return an array of DOM nodes");switch(s=!1,e){case"replaceChildren":S.h.va(t,n),s=!0;break;case"replaceNode":S.a.Xc(t,n),s=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+e)}return s&&(d(n,i),o.afterRender&&S.u.G(o.afterRender,null,[n,i[o.as||"$data"]]),"replaceChildren"==e&&S.i.ma(t,S.i.H)),n}function p(t,e,n){return S.O(t)?t():"function"==typeof t?t(e,n):t}var u;S.gc=function(t){if(t!=kt&&!(t instanceof S.ca))throw Error("templateEngine must inherit from ko.templateEngine");u=t},S.dc=function(n,i,o,s,r){if(((o=o||{}).templateEngine||u)==kt)throw Error("Set a template engine before calling renderTemplate");if(r=r||"replaceChildren",s){var a=l(s);return S.$(function(){var t=i&&i instanceof S.fa?i:new S.fa(i,null,null,null,{exportDependencies:!0}),e=p(n,t.$data,t),t=f(s,r,e,t,o);"replaceNode"==r&&(a=l(s=t))},null,{Sa:function(){return!a||!S.a.Sb(a)},l:a&&"replaceNode"==r?a.parentNode:a})}return S.aa.Xb(function(t){S.dc(n,i,o,t,"replaceNode")})},S.Qd=function(n,e,i,o,s){function r(t,e){S.u.G(S.a.ec,null,[o,t,l,i,a,e]),S.i.ma(o,S.i.H)}function a(t,e){d(e,u),i.afterRender&&i.afterRender(e,t),u=null}function l(t,e){u=s.createChildContext(t,{as:c,noChildContext:i.noChildContext,extend:function(t){t.$index=e,c&&(t[c+"Index"]=e)}});t=p(n,t,u);return f(o,"ignoreTargetNode",t,u,i)}var u,c=i.as,h=!1===i.includeDestroyed||S.options.foreachHidesDestroyed&&!i.includeDestroyed;if(h||i.beforeRemove||!S.Pc(e))return S.$(function(){var t=S.a.f(e)||[];void 0===t.length&&(t=[t]),r(t=h?S.a.jb(t,function(t){return t===kt||null===t||!S.a.f(t._destroy)}):t)},null,{l:o});r(e.v());var t=e.subscribe(function(t){r(e(),t)},null,"arrayChange");return t.l(o),t};var r=S.a.g.Z(),o=S.a.g.Z();S.c.template={init:function(t,e){e=S.a.f(e());if("string"==typeof e||"name"in e)S.h.Ea(t);else if("nodes"in e){if(e=e.nodes||[],S.O(e))throw Error('The "nodes" option must be a plain, non-observable array.');var n=e[0]&&e[0].parentNode;n&&S.a.g.get(n,o)||(n=S.a.Yb(e),S.a.g.set(n,o,!0)),new S.C.ia(t).nodes(n)}else{if(!(0<(e=S.h.childNodes(t)).length))throw Error("Anonymous template defined, but no template content was provided");n=S.a.Yb(e),new S.C.ia(t).nodes(n)}return{controlsDescendantBindings:!0}},update:function(t,e,n,i,o){var s=e();
vendor: 4,061 bytes, line 1
1n=!0,i=null,"string"==typeof(e=S.a.f(s))?e={}:(s="name"in e?e.name:t,(n=(n="if"in e?S.a.f(e.if):n)&&"ifnot"in e?!S.a.f(e.ifnot):n)&&!s&&(n=!1)),"foreach"in e?i=S.Qd(s,n&&e.foreach||[],e,t,o):n?(n=o,"data"in e&&(n=o.createChildContext(e.data,{as:e.as,noChildContext:e.noChildContext,exportDependencies:!0})),i=S.dc(s,n,e,t)):S.h.Ea(t),o=i,(e=S.a.g.get(t,r))&&"function"==typeof e.s&&e.s(),S.a.g.set(t,r,!o||o.ja&&!o.ja()?kt:o)}},S.m.Ra.template=function(t){return 1==(t=S.m.ac(t)).length&&t[0].unknown||S.m.Id(t,"name")?null:"This template engine does not support anonymous templates nested within its templates"},S.h.ea.template=!0}(),S.b("setTemplateEngine",S.gc),S.b("renderTemplate",S.dc),S.a.Kc=function(t,e,n){if(t.length&&e.length)for(var i,o,s,r,a=i=0;(!n||a<n)&&(s=t[i]);++i){for(o=0;r=e[o];++o)if(s.value===r.value){s.moved=r.index,r.moved=s.index,e.splice(o,1),a=o=0;break}a+=o}},S.a.Pb=function(t,e,n){return n="boolean"==typeof n?{dontLimitMoves:n}:n||{},(t=t||[]).length<(e=e||[]).length?xt(t,e,"added","deleted",n):xt(e,t,"deleted","added",n)},S.b("utils.compareArrays",S.a.Pb),bt=S.a.g.Z(),wt=S.a.g.Z(),S.a.ec=function(e,t,n,i,o,s){function r(t){u={Aa:t,pb:S.ta(v++)},g.push(u),p||_.push(u)}function a(t){u=f[t],v!==u.pb.v()&&C.push(u),u.pb(v++),S.a.Ua(u.Y,e),g.push(u)}function l(e,n){if(e)for(var i=0,t=n.length;i<t;i++)S.a.D(n[i].Y,function(t){e(t,i,n[i].Aa)})}void 0===(t=t||[]).length&&(t=[t]),i=i||{};var u,c,h,d,f=S.a.g.get(e,bt),p=!f,g=[],m=0,v=0,y=[],b=[],w=[],C=[],_=[],x=0;if(p)S.a.D(t,r);else{(!s||f&&f._countWaitingForRemove)&&(E=S.a.Mb(f,function(t){return t.Aa}),s=S.a.Pb(E,t,{dontLimitMoves:i.dontLimitMoves,sparse:!0}));for(var k,$,T,E=0;k=s[E];E++)switch($=k.moved,T=k.index,k.status){case"deleted":for(;m<T;)a(m++);$===kt&&((u=f[m]).$&&(u.$.s(),u.$=kt),S.a.Ua(u.Y,e).length&&(i.beforeRemove&&(g.push(u),x++,u.Aa===wt?u=null:w.push(u)),u&&y.push.apply(y,u.Y))),m++;break;case"added":for(;v<T;)a(m++);$!==kt?(b.push(g.length),a($)):r(k.value)}for(;v<t.length;)a(m++);g._countWaitingForRemove=x}S.a.g.set(e,bt,g),l(i.beforeMove,C),S.a.D(y,i.beforeRemove?S.oa:S.removeNode);try{d=e.ownerDocument.activeElement}catch(t){}if(b.length)for(;(E=b.shift())!=kt;){for(u=g[E],c=kt;E;)if((h=g[--E].Y)&&h.length){c=h[h.length-1];break}for(t=0;m=u.Y[t];c=m,t++)S.h.Wb(e,m,c)}for(E=0;u=g[E];E++){for(u.Y||S.a.extend(u,function(e,n,i,o,s){var r=[],t=S.$(function(){var t=n(i,s,S.a.Ua(r,e))||[];0<r.length&&(S.a.Xc(r,t),o&&S.u.G(o,null,[i,t,s])),r.length=0,S.a.Nb(r,t)},null,{l:e,Sa:function(){return!S.a.kd(r)}});return{Y:r,$:t.ja()?t:kt}}(e,n,u.Aa,o,u.pb)),t=0;m=u.Y[t];c=m,t++)S.h.Wb(e,m,c);!u.Ed&&o&&(o(u.Aa,u.Y,u.pb),u.Ed=!0,c=u.Y[u.Y.length-1])}for(d&&e.ownerDocument.activeElement!=d&&d.focus(),l(i.beforeRemove,w),E=0;E<w.length;++E)w[E].Aa=wt;l(i.afterMove,C),l(i.afterAdd,_)},S.b("utils.setDomNodeChildrenFromArrayMapping",S.a.ec),S.ba=function(){this.allowTemplateRewriting=!1},S.ba.prototype=new S.ca,S.ba.prototype.constructor=S.ba,S.ba.prototype.renderTemplateSource=function(t,e,n,i){return(e=S.a.W<9||!t.nodes?null:t.nodes())?S.a.la(e.cloneNode(!0).childNodes):(t=t.text(),S.a.ua(t,i))},S.ba.Ma=new S.ba,S.gc(S.ba.Ma),S.b("nativeTemplateEngine",S.ba),function(){S.$a=function(){var s=this.Hd=function(){if(!St||!St.tmpl)return 0;try{if(0<=St.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(t){}return 1}();this.renderTemplateSource=function(t,e,n,i){if(i=i||Tt,n=n||{},s<2)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var o=t.data("precompiled");return o||(o=t.text()||"",o=St.template(null,"{{ko_with $item.koBindingContext}}"+o+"{{/ko_with}}"),t.data("precompiled",o)),t=[e.$data],e=St.extend({koBindingContext:e},n.templateOptions),(e=St.tmpl(o,t,e)).appendTo(i.createElement("div")),St.fragments={},e},this.createJavaScriptEvaluatorBlock=function(t){return"{{ko_code ((function() { return "+t+" })()) }}"},this.addTemplate=function(t,e){Tt.write("<script type='text/html' id='"+t+"'>"+e+"<\/script>")},0<s&&(St.tmpl.tag.ko_code={open:"__.push($1 || '');"}
1,St.tmpl.tag.ko_with={open:"with($1) {",close:"} "})},S.$a.prototype=new S.ca,S.$a.prototype.constructor=S.$a;var t=new S.$a;0<t.Hd&&S.gc(t),S.b("jqueryTmplTemplateEngine",S.$a)}()},"function"==typeof define&&define.amd?define(["exports","require"],t):"object"==typeof exports&&"object"==typeof module?t(module.exports||exports):t($t.ko={})}(),function(o){"use strict";function s(t,e){this.$element=o(t),this.options=o.extend({},o.fn.typeahead.defaults,e),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=o(this.options.menu),this.shown=!1,this.listen()}s.prototype={constructor:s,select:function(){var t=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(t)).change(),this.hide()},updater:function(t){return t},show:function(){var t=o.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:t.top+t.height,left:t.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var e;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(e=o.isFunction(this.source)?this.source(this.query,o.proxy(this.process,this)):this.source)?this.process(e):this},process:function(t){var e=this;return t=o.grep(t,function(t){return e.matcher(t)}),(t=this.sorter(t)).length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(t){return~t.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(t){for(var e,n=[],i=[],o=[];e=t.shift();)(e.toLowerCase().indexOf(this.query.toLowerCase())?~e.indexOf(this.query)?i:o:n).push(e);return n.concat(i,o)},highlighter:function(t){var e=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return t.replace(new RegExp("("+e+")","ig"),function(t,e){return"<strong>"+e+"</strong>"})},render:function(t){var n=this;return(t=o(t).map(function(t,e){return(t=o(n.options.item).attr("data-value",e)).find("a").html(n.highlighter(e)),t[0]})).first().addClass("active"),this.$menu.html(t),this},next:function(t){var e=this.$menu.find(".active").removeClass("active").next();(e=!e.length?o(this.$menu.find("li")[0]):e).addClass("active")},prev:function(t){var e=this.$menu.find(".active").removeClass("active").prev();(e=!e.length?this.$menu.find("li").last():e).addClass("active")},listen:function(){this.$element.on("focus",o.proxy(this.focus,this)).on("blur",o.proxy(this.blur,this)).on("keypress",o.proxy(this.keypress,this)).on("keyup",o.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",o.proxy(this.keydown,this)),this.$menu.on("click",o.proxy(this.click,this)).on("mouseenter","li",o.proxy(this.mouseenter,this)).on("mouseleave","li",o.proxy(this.mouseleave,this))},eventSupported:function(t){var e=t in this.$element;return e||(this.$element.setAttribute(t,"return;"),e="function"==typeof this.$element[t]),e},move:function(t){if(this.shown){switch(t.keyCode){case 9:case 13:case 27:t.preventDefault();break;case 38:t.preventDefault(),this.prev();break;case 40:t.preventDefault(),this.next()}t.stopPropagation()}},keydown:function(t){this.suppressKeyPressRepeat=~o.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(t){this.suppressKeyPressRepeat||this.move(t)},keyup:function(t){switch(t.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}t.stopPropagation(),t.preventDefault()},focus:function(t){this.focused=!0},blur:function(t){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(t){t.stopPropagation(),t.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(t){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),o(t.currentTarget).addClass("active")},mouseleave:function(t){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var t=o.fn.typeahead;o.fn.typeahead=function(i){return this.each(function(){var t=o(this),e=t.data("typeahead"),n="object"==typeof i&&i;e||t.data("typeahead",e=new s(this,n)),"string"==typeof i&&e[i]()})},o.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},o.fn.typeahead.Constructor=s,o.fn.typeahead.noConflict=function(){return o.fn.typeahead=t,this},o(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var e=o(this);e.data("typeahead")||e.typeahead(e.data())})}(window.jQuery);

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.