vendor: 79,848 bytes, line 1
1var PRODUCTION_MODE = true;!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(w,e){function t(e,t){return t.toUpperCase()}var n=[],T=w.document,c=n.slice,g=n.concat,a=n.push,i=n.indexOf,r={},o=r.toString,h=r.hasOwnProperty,v={},s="2.2.4",C=function(e,t){return new C.fn.init(e,t)},u=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,l=/^-ms-/,f=/-([\da-z])/gi;function p(e){var t=!!e&&"length"in e&&e.length,n=C.type(e);return"function"!==n&&!C.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}C.fn=C.prototype={jquery:s,constructor:C,selector:"",length:0,toArray:function(){return c.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:c.call(this)},pushStack:function(e){e=C.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,e},each:function(e){return C.each(this,e)},map:function(n){return this.pushStack(C.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},C.extend=C.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},s=1,a=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[s]||{},s++),"object"==typeof o||C.isFunction(o)||(o={}),s===a&&(o=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(t in e)i=o[t],n=e[t],o!==n&&(u&&n&&(C.isPlainObject(n)||(r=C.isArray(n)))?(i=r?(r=!1,i&&C.isArray(i)?i:[]):i&&C.isPlainObject(i)?i:{},o[t]=C.extend(u,i,n)):void 0!==n&&(o[t]=n));return o},C.extend({expando:"jQuery"+(s+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===C.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!C.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){if("object"!==C.type(e)||e.nodeType||C.isWindow(e))return!1;if(e.constructor&&!h.call(e,"constructor")&&!h.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(var t in e);return void 0===t||h.call(e,t)},isEmptyObject:function(e){for(var t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[o.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=C.trim(e))&&(1===e.indexOf("use strict")?((t=T.createElement("script")).text=e,T.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(l,"ms-").replace(f,t)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(p(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(u,"")},makeArray:function(e,t){t=t||[];return null!=e&&(p(Object(e))?C.merge(t,"string"==typeof e?[e]:e):a.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!=s&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)i=t(e[o],o,n),null!=i&&s.push(i);return g.apply([],s)},guid:1,proxy:function(e,t){var n,r;return"string"==typeof t&&(r=e[t],t=e,e=r),C.isFunction(e)?(n=c.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(c.call(arguments)))}).guid=e.guid=e.guid||C.guid++,r):void 0},now:Date.now,support:v}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=n[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){r["[object "+t+"]"]=t.toLowerCase()});var d=function(n){function f(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(65536+r):String.fromCharCode(r>>10|55296,1023&r|56320)}function t(){T()}var e,h,b,o,r,g,p,v,w,u,l,T,C,i,k,m,s,a,y,E="sizzle"+ +new Date,x=n.document,N=0,c=0,d=ie(),S=ie(),j=ie(),D=function(e,t){return e===t&&(l=!0),0},A={}.hasOwnProperty,q=[],L=q.pop,H=q.push,O=q.push,F=q.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",$=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),_=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),X=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp($),Y=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig");try{O.apply(q=F.call(x.childNodes),x.childNodes),q[x.childNodes.length].nodeType}catch(e){O={apply:q.length?function(e,t){H.apply(e,F.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function re(e,t,n,r){var i,o,s,a,u,l,c,f,p=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!r&&((t?t.ownerDocument||t:x)!==C&&T(t),t=t||C,k)){if(11!==d&&(l=Z.exec(e)))if(i=l[1]){if(9===d){if(!(s=t.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(p&&(s=p.getElementById(i))&&y(t,s)&&s.id===i)return n.push(s),n}else{if(l[2])return O.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&h.getElementsByClassName&&t.getElementsByClassName)return O.apply(n,t.getElementsByClassName(i)),n}if(h.qsa&&!j[e+" "]&&(!m||!m.test(e))){if(1!==d)p=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(te,"\\$&"):t.setAttribute("id",a=E),o=(c=g(e)).length,u=Y.test(a)?"#"+a:"[id='"+a+"']";o--;)c[o]=u+" "+pe(c[o]);f=c.join(","),p=ee.test(e)&&ce(t.parentNode)||t}if(f)try{return O.apply(n,p.querySelectorAll(f)),n}catch(e){}finally{a===E&&t.removeAttribute("id")}}}return v(e.replace(_,"$1"),t,n,r)}function ie(){var n=[];function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function oe(e){return e[E]=!0,e}function se(e){var t=C.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function ae(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(s){return oe(function(o){return o=+o,oe(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ce(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=re.support={},r=re.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},T=re.setDocument=function(e){var e=e?e.ownerDocument||e:x;return e!==C&&9===e.nodeType&&e.documentElement&&(i=(C=e).documentElement,k=!r(C),(e=C.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",t,!1):e.attachEvent&&e.attachEvent("onunload",t)),h.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=se(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=K.test(C.getElementsByClassName),h.getById=se(function(e){return i.appendChild(e).id=E,!C.getElementsByName||!C.getElementsByName(E).length}),h.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&k){e=t.getElementById(e);return e?[e]:[]}},b.filter.ID=function(e){var t=e.replace(ne,f);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(ne,f);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),b.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=h.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&k?t.getElementsByClassName(e):void 0},s=[],m=[],(h.qsa=K.test(C.querySelectorAll))&&(se(function(e){i.appendChild(e).innerHTML="<a id='"+E+"'></a><select id='"+E+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+E+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||m.push(".#.+[+~]")}),se(function(e){var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(h.matchesSelector=K.test(a=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector))&&se(function(e){h.disconnectedMatch=a.call(e,"div"),a.call(e,"[s!='']:x"),s.push("!=",$)}),m=m.length&&new RegExp(m.join("|")),s=s.length&&new RegExp(s.join("|")),e=K.test(i.compareDocumentPosition),y=e||K.test(i.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=e?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===x&&y(x,e)?-1:t===C||t.ownerDocument===x&&y(x,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return ue(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?ue(s[r],a[r]):s[r]===x?-1:a[r]===x?1:0}),C},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),t=t.replace(U,"='$1']"),h.matchesSelector&&k&&!j[t+" "]&&(!s||!s.test(t))&&(!m||!m.test(t)))try{var n=a.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<re(t,C,null,[e]).length},re.contains=function(e,t){return(e.ownerDocument||e)!==C&&T(e),y(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==C&&T(e);var n=b.attrHandle[t.toLowerCase()],n=n&&A.call(b.attrHandle,t.toLowerCase())?n(e,t,!k):void 0;return void 0!==n?n:h.attributes||!k?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!h.detectDuplicates,u=!h.sortStable&&e.slice(0),e.sort(D),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return u=null,e},o=re.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=re.selectors={cacheLength:50,createPseudo:oe,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,f),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||re.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=g(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=d[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&d(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=re.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1<e.indexOf(r):"$="===n?r&&e.slice(-r.length)===r:"~="===n?-1<(" "+e.replace(B," ")+" ").indexOf(r):"|="===n&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(h,e,t,g,v){var m="nth"!==h.slice(0,3),y="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,s,a,u,l=m!=y?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(m){for(;l;){for(s=e;s=s[l];)if(x?s.nodeName.toLowerCase()===f:1===s.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[y?c.firstChild:c.lastChild],y&&p){for(d=(a=(r=(i=(o=(s=c)[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===N&&r[1])&&r[2],s=a&&c.childNodes[a];s=++a&&s&&s[l]||(d=a=0)||u.pop();)if(1===s.nodeType&&++d&&s===e){i[h]=[N,a,d];break}}else if(!1===(d=p?a=(r=(i=(o=(s=e)[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===N&&r[1]:d))for(;(s=++a&&s&&s[l]||(d=a=0)||u.pop())&&((x?s.nodeName.toLowerCase()!==f:1!==s.nodeType)||!++d||(p&&((i=(o=s[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]=[N,d]),s!==e)););return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,s=b.pseudos[e]||b.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return s[E]?s(o):1<s.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?oe(function(e,t){for(var n,r=s(e,o),i=r.length;i--;)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return s(e,0,t)}):s}},pseudos:{not:oe(function(e){var r=[],i=[],a=p(e.replace(_,"$1"));return a[E]?oe(function(e,t,n,r){for(var i,o=a(e,null,r,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))}):function(e,t,n){return r[0]=e,a(r,null,n,i),r[0]=null,!i.pop()}}),has:oe(function(t){return function(e){return 0<re(t,e).length}}),contains:oe(function(t){return t=t.replace(ne,f),function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:oe(function(n){return Y.test(n||"")||re.error("unsupported lang: "+n),n=n.replace(ne,f).toLowerCase(),function(e){var t;do{if(t=k?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===i},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:le(function(){return[0]}),last:le(function(e,t){return[t-1]}),eq:le(function(e,t,n){return[n<0?n+t:n]}),even:le(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:le(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:le(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:le(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function fe(){}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function de(s,e,t){var a=e.dir,u=t&&"parentNode"===a,l=c++;return e.first?function(e,t,n){for(;e=e[a];)if(1===e.nodeType||u)return s(e,t,n)}:function(e,t,n){var r,i,o=[N,l];if(n){for(;e=e[a];)if((1===e.nodeType||u)&&s(e,t,n))return!0}else for(;e=e[a];)if(1===e.nodeType||u){if((i=(r=(i=e[E]||(e[E]={}))[e.uniqueID]||(i[e.uniqueID]={}))[a])&&i[0]===N&&i[1]===l)return o[2]=i[2];if((r[a]=o)[2]=s(e,t,n))return!0}}}function he(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function ge(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a<u;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),l&&t.push(a)));return s}function ve(d,h,g,v,m,e){return v&&!v[E]&&(v=ve(v)),m&&!m[E]&&(m=ve(m,e)),oe(function(e,t,n,r){var i,o,s,a=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)re(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:ge(c,a,d,n,r),p=g?m||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v)for(i=ge(p,u),v(i,[],n,r),o=i.length;o--;)(s=i[o])&&(p[u[o]]=!(f[u[o]]=s));if(e){if(m||d){if(m){for(i=[],o=p.length;o--;)(s=p[o])&&i.push(f[o]=s);m(null,p=[],i,r)}for(o=p.length;o--;)(s=p[o])&&-1<(i=m?P(e,s):a[o])&&(e[i]=!(t[i]=s))}}else p=ge(p===t?p.splice(l,p.length):p),m?m(null,t,p,r):O.apply(t,p)})}function me(v,m){function e(e,t,n,r,i){var o,s,a,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=N+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t===C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){for(s=0,t||o.ownerDocument===C||(T(o),n=!k);a=v[s++];)if(a(o,t||C,n)){r.push(o);break}i&&(N=h)}y&&((o=!a&&o)&&u--,e&&c.push(o))}if(u+=l,y&&l!==u){for(s=0;a=m[s++];)a(c,f,t,n);if(e){if(0<u)for(;l--;)c[l]||f[l]||(f[l]=L.call(r));f=ge(f)}O.apply(r,f),i&&!e&&0<f.length&&1<u+m.length&&re.uniqueSort(r)}return i&&(N=h,w=p),c}var y=0<m.length,x=0<v.length;return y?oe(e):e}return fe.prototype=b.filters=b.pseudos,b.setFilters=new fe,g=re.tokenize=function(e,t){var n,r,i,o,s,a,u,l=S[e+" "];if(l)return t?0:l.slice(0);for(s=e,a=[],u=b.preFilter;s;){for(o in n&&!(r=X.exec(s))||(r&&(s=s.slice(r[0].length)||s),a.push(i=[])),n=!1,(r=z.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(_," ")}),s=s.slice(n.length)),b.filter)!(r=G[o].exec(s))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?re.error(e):S(e,a).slice(0)},p=re.compile=function(e,t){var n,r=[],i=[],o=j[e+" "];if(!o){for(n=(t=t||g(e)).length;n--;)((o=function e(t){for(var r,n,i,o=t.length,s=b.relative[t[0].type],a=s||b.relative[" "],u=s?1:0,l=de(function(e){return e===r},a,!0),c=de(function(e){return-1<P(r,e)},a,!0),f=[function(e,t,n){return n=!s&&(n||t!==w)||((r=t).nodeType?l:c)(e,t,n),r=null,n}];u<o;u++)if(n=b.relative[t[u].type])f=[de(he(f),n)];else{if((n=b.filter[t[u].type].apply(null,t[u].matches))[E]){for(i=++u;i<o&&!b.relative[t[i].type];i++);return ve(1<u&&he(f),1<u&&pe(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(_,"$1"),n,u<i&&e(t.slice(u,i)),i<o&&e(t=t.slice(i)),i<o&&pe(t))}f.push(n)}return he(f)}(t[n]))[E]?r:i).push(o);(o=j(e,me(i,r))).selector=e}return o},v=re.select=function(e,t,n,r){var i,o,s,a,u,l="function"==typeof e&&e,c=!r&&g(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(s=o[0]).type&&h.getById&&9===t.nodeType&&k&&b.relative[o[1].type]){if(!(t=(b.find.ID(s.matches[0].replace(ne,f),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=G.needsContext.test(e)?0:o.length;i--&&(s=o[i],!b.relative[a=s.type]);)if((u=b.find[a])&&(r=u(s.matches[0].replace(ne,f),ee.test(o[0].type)&&ce(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&pe(o)))return O.apply(n,r),n;break}}return(l||p(e,c))(r,t,!k,n,!t||ee.test(e)&&ce(t.parentNode)||t),n},h.sortStable=E.split("").sort(D).join("")===E,h.detectDuplicates=!!l,T(),h.sortDetached=se(function(e){return 1&e.compareDocumentPosition(C.createElement("div"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ae("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ae("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||ae(R,function(e,t,n){return n?void 0:!0===e[t]?t.toLowerCase():(t=e.getAttributeNode(t))&&t.specified?t.value:null}),re}(w);C.find=d,C.expr=d.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=d.uniqueSort,C.text=d.getText,C.isXMLDoc=d.isXML,C.contains=d.contains;function m(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&C(e).is(n))break;r.push(e)}return r}function y(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var x=C.expr.match.needsContext,b=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,k=/^.[^:#\[\.,]*$/;function E(e,n,r){if(C.isFunction(n))return C.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return C.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(k.test(n))return C.filter(n,e,r);n=C.filter(n,e)}return C.grep(e,function(e){return-1<i.call(n,e)!==r})}C.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?C.find.matchesSelector(r,e)?[r]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t<n;t++)if(C.contains(i[t],this))return!0}));for(t=0;t<n;t++)C.find(e,i[t],r);return(r=this.pushStack(1<n?C.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(E(this,e||[],!1))},not:function(e){return this.pushStack(E(this,e||[],!0))},is:function(e){return!!E(this,"string"==typeof e&&x.test(e)?C(e):e||[],!1).length}});var N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(C.fn.init=function(e,t,n){if(!e)return this;if(n=n||S,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):C.isFunction(e)?void 0!==n.ready?n.ready(e):e(C):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),C.makeArray(e,this));if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:N.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:T,!0)),b.test(r[1])&&C.isPlainObject(t))for(var r in t)C.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(n=T.getElementById(r[2]))&&n.parentNode&&(this.length=1,this[0]=n),this.context=T,this.selector=e,this}).prototype=C.fn;var S=C(T),j=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],s=x.test(e)||"string"!=typeof e?C(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&C.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?C.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(C(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return m(e,"parentNode")},parentsUntil:function(e,t,n){return m(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return m(e,"nextSibling")},prevAll:function(e){return m(e,"previousSibling")},nextUntil:function(e,t,n){return m(e,"nextSibling",n)},prevUntil:function(e,t,n){return m(e,"previousSibling",n)},siblings:function(e){return y((e.parentNode||{}).firstChild,e)},children:function(e){return y(e.firstChild)},contents:function(e){return e.contentDocument||C.merge([],e.childNodes)}},function(r,i){C.fn[r]=function(e,t){var n=C.map(this,i,e);return(t="Until"!==r.slice(-5)?e:t)&&"string"==typeof t&&(n=C.filter(t,n)),1<this.length&&(D[r]||C.uniqueSort(n),j.test(r)&&n.reverse()),this.pushStack(n)}});var q,L=/\S+/g;function H(){T.removeEventListener("DOMContentLoaded",H),w.removeEventListener("load",H),C.ready()}C.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},C.each(e.match(L)||[],function(e,t){n[t]=!0}),n):C.extend({},r);function i(){for(a=r.once,s=o=!0;l.length;c=-1)for(t=l.shift();++c<u.length;)!1===u[c].apply(t[0],t[1])&&r.stopOnFalse&&(c=u.length,t=!1);r.memory||(t=!1),o=!1,a&&(u=t?[]:"")}var o,t,s,a,u=[],l=[],c=-1,f={add:function(){return u&&(t&&!o&&(c=u.length-1,l.push(t)),function n(e){C.each(e,function(e,t){C.isFunction(t)?r.unique&&f.has(t)||u.push(t):t&&t.length&&"string"!==C.type(t)&&n(t)})}(arguments),t&&!o&&i()),this},remove:function(){return C.each(arguments,function(e,t){for(var n;-1<(n=C.inArray(t,u,n));)u.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<C.inArray(e,u):0<u.length},empty:function(){return u=u&&[],this},disable:function(){return a=l=[],u=t="",this},disabled:function(){return!u},lock:function(){return a=l=[],t||(u=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),o||i()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!s}};return f},C.extend({Deferred:function(e){var o=[["resolve","done",C.Callbacks("once memory"),"resolved"],["reject","fail",C.Callbacks("once memory"),"rejected"],["notify","progress",C.Callbacks("memory")]],i="pending",s={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var i=arguments;return C.Deferred(function(r){C.each(o,function(e,t){var n=C.isFunction(i[e])&&i[e];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&C.isFunction(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this===s?r.promise():this,n?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?C.extend(e,s):s}},a={};return s.pipe=s.then,C.each(o,function(e,t){var n=t[2],r=t[3];s[t[1]]=n.add,r&&n.add(function(){i=r},o[1^e][2].disable,o[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?s:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){function t(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?c.call(arguments):e,r===i?l.notifyWith(n,r):--u||l.resolveWith(n,r)}}var i,n,r,o=0,s=c.call(arguments),a=s.length,u=1!==a||e&&C.isFunction(e.promise)?a:0,l=1===u?e:C.Deferred();if(1<a)for(i=new Array(a),n=new Array(a),r=new Array(a);o<a;o++)s[o]&&C.isFunction(s[o].promise)?s[o].promise().progress(t(o,n,i)).done(t(o,r,s)).fail(l.reject):--u;return u||l.resolveWith(r,s),l.promise()}}),C.fn.ready=function(e){return C.ready.promise().done(e),this},C.extend({isReady:!1,readyWait:1,holdReady:function(e){e?C.readyWait++:C.ready(!0)},ready:function(e){(!0===e?--C.readyWait:C.isReady)||((C.isReady=!0)!==e&&0<--C.readyWait||(q.resolveWith(T,[C]),C.fn.triggerHandler&&(C(T).triggerHandler("ready"),C(T).off("ready"))))}}),C.ready.promise=function(e){return q||(q=C.Deferred(),"complete"===T.readyState||"loading"!==T.readyState&&!T.documentElement.doScroll?w.setTimeout(C.ready):(T.addEventListener("DOMContentLoaded",H),w.addEventListener("load",H))),q.promise(e)},C.ready.promise();function O(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===C.type(n))for(a in i=!0,n)O(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,C.isFunction(r)||(s=!0),t=l?s?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(C(e),n)}):t))for(;a<u;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o}function F(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function P(){this.expando=C.expando+P.uid++}P.uid=1,P.prototype={register:function(e,t){t=t||{};return e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!F(e))return{};var t=e[this.expando];return t||(t={},F(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[t]=n;else for(r in t)i[r]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,C.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,o=e[this.expando];if(void 0!==o){if(void 0===t)this.register(e);else{n=(r=C.isArray(t)?t.concat(t.map(C.camelCase)):(i=C.camelCase(t),t in o?[t,i]:(r=i)in o?[r]:r.match(L)||[])).length;for(;n--;)delete o[r[n]]}void 0!==t&&!C.isEmptyObject(o)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!C.isEmptyObject(e)}};var R=new P,M=new P,I=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,W=/[A-Z]/g;function $(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(W,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:I.test(n)?C.parseJSON(n):n)}catch(e){}M.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return M.hasData(e)||R.hasData(e)},data:function(e,t,n){return M.access(e,t,n)},removeData:function(e,t){M.remove(e,t)},_data:function(e,t,n){return R.access(e,t,n)},_removeData:function(e,t){R.remove(e,t)}}),C.fn.extend({data:function(r,e){var t,n,i,o=this[0],s=o&&o.attributes;if(void 0!==r)return"object"==typeof r?this.each(function(){M.set(this,r)}):O(this,function(t){var e,n;return o&&void 0===t?void 0!==(e=M.get(o,r)||M.get(o,r.replace(W,"-$&").toLowerCase()))?e:(n=C.camelCase(r),void 0!==(e=M.get(o,n))?e:void 0!==(e=$(o,n,void 0))?e:void 0):(n=C.camelCase(r),void this.each(function(){var e=M.get(this,n);M.set(this,n,t),-1<r.indexOf("-")&&void 0!==e&&M.set(this,r,t)}))},null,e,1<arguments.length,null,!0);if(this.length&&(i=M.get(o),1===o.nodeType&&!R.get(o,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&(0===(n=s[t].name).indexOf("data-")&&(n=C.camelCase(n.slice(5)),$(o,n,i[n])));R.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){M.remove(this,e)})}}),C.extend({queue:function(e,t,n){var r;return e?(r=R.get(e,t=(t||"fx")+"queue"),n&&(!r||C.isArray(n)?r=R.access(e,t,C.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),r=n.length,i=n.shift(),o=C._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){C.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return R.get(e,n)||R.access(e,n,{empty:C.Callbacks("once memory").add(function(){R.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?C.queue(this[0],t):void 0===n?this:this.each(function(){var e=C.queue(this,t,n);C._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&C.dequeue(this,t)})},dequeue:function(e){return this.each(function(){C.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(s,[s])}var r,i=1,o=C.Deferred(),s=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=R.get(s[a],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});function B(e,t){return"none"===C.css(e=t||e,"display")||!C.contains(e.ownerDocument,e)}var s=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=new RegExp("^(?:([+-])=|)("+s+")([a-z%]*)$","i"),X=["Top","Right","Bottom","Left"];function z(e,t,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return C.css(e,t,"")},u=a(),l=n&&n[3]||(C.cssNumber[t]?"":"px"),c=(C.cssNumber[t]||"px"!==l&&+u)&&_.exec(C.css(e,t));if(c&&c[3]!==l)for(l=l||c[3],n=n||[],c=+u||1;C.style(e,t,(c/=o=o||".5")+l),o!==(o=a()/u)&&1!==o&&--s;);return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var U=/^(?:checkbox|radio)$/i,V=/<([\w:-]+)/,Y=/^$|\/(?:java|ecma)script/i,G={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Q(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&C.nodeName(e,t)?C.merge([e],n):n}function J(e,t){for(var n=0,r=e.length;n<r;n++)R.set(e[n],"globalEval",!t||R.get(t[n],"globalEval"))}G.optgroup=G.option,G.tbody=G.tfoot=G.colgroup=G.caption=G.thead,G.th=G.td;var K=/<|&#?\w+;/;function Z(e,t,n,r,i){for(var o,s,a,u,l,c=t.createDocumentFragment(),f=[],p=0,d=e.length;p<d;p++)if((o=e[p])||0===o)if("object"===C.type(o))C.merge(f,o.nodeType?[o]:o);else if(K.test(o)){for(s=s||c.appendChild(t.createElement("div")),a=(V.exec(o)||["",""])[1].toLowerCase(),a=G[a]||G._default,s.innerHTML=a[1]+C.htmlPrefilter(o)+a[2],l=a[0];l--;)s=s.lastChild;C.merge(f,s.childNodes),(s=c.firstChild).textContent=""}else f.push(t.createTextNode(o));for(c.textContent="",p=0;o=f[p++];)if(r&&-1<C.inArray(o,r))i&&i.push(o);else if(u=C.contains(o.ownerDocument,o),s=Q(c.appendChild(o),"script"),u&&J(s),n)for(l=0;o=s[l++];)Y.test(o.type||"")&&n.push(o);return c}n=T.createDocumentFragment().appendChild(T.createElement("div")),(d=T.createElement("input")).setAttribute("type","radio"),d.setAttribute("checked","checked"),d.setAttribute("name","t"),n.appendChild(d),v.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue;var ee=/^key/,te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ne=/^([^.]*)(?:\.(.+)|)/;function re(){return!0}function ie(){return!1}function oe(){try{return T.activeElement}catch(e){}}function se(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)se(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ie;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return C().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),e.each(function(){C.event.add(this,t,i,r,n)})}C.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h=R.get(t);if(h)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=C.guid++),(a=h.events)||(a=h.events={}),(s=h.handle)||(s=h.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(L)||[""]).length;u--;)f=d=(l=ne.exec(e[u])||[])[1],p=(l[2]||"").split(".").sort(),f&&(c=C.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,c=C.event.special[f]||{},l=C.extend({type:f,origType:d,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=a[f])||((d=a[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,r,p,s)||t.addEventListener&&t.addEventListener(f,s)),c.add&&(c.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),C.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,v=R.hasData(e)&&R.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(L)||[""]).length;l--;)if(d=g=(a=ne.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=C.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||C.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)C.event.remove(e,d+t[l],n,r,!0);C.isEmptyObject(u)&&R.remove(e,"handle events")}},dispatch:function(e){e=C.event.fix(e);var t,n,r,i,o,s=c.call(arguments),a=(R.get(this,"events")||{})[e.type]||[],u=C.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(o=C.event.handlers.call(this,e,a),t=0;(r=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(i.namespace)||(e.handleObj=i,e.data=i.data,void 0!==(i=((C.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,s))&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n<a;n++)void 0===r[i=(o=t[n]).selector+" "]&&(r[i]=o.needsContext?-1<C(i,this).index(u):C.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i=t.button;return null==e.pageX&&null!=t.clientX&&(n=(r=e.target.ownerDocument||T).documentElement,r=r.body,e.pageX=t.clientX+(n&&n.scrollLeft||r&&r.scrollLeft||0)-(n&&n.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||r&&r.scrollTop||0)-(n&&n.clientTop||r&&r.clientTop||0)),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},fix:function(e){if(e[C.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=te.test(i)?this.mouseHooks:ee.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new C.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=T),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==oe()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===oe()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&C.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return C.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){return this instanceof C.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?re:ie):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||C.now(),void(this[C.expando]=!0)):new C.Event(e,t)},C.Event.prototype={constructor:C.Event,isDefaultPrevented:ie,isPropagationStopped:ie,isImmediatePropagationStopped:ie,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=re,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=re,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=re,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){C.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||C.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),C.fn.extend({on:function(e,t,n,r){return se(this,e,t,n,r)},one:function(e,t,n,r){return se(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,C(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ie),this.each(function(){C.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var ae=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ue=/<script|<style|<link/i,le=/checked\s*(?:[^=]|=\s*.checked.)/i,ce=/^true\/(.*)/,fe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function pe(e,t){return C.nodeName(e,"table")&&C.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function de(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function he(e){var t=ce.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ge(e,t){var n,r,i,o,s,a;if(1===t.nodeType){if(R.hasData(e)&&(o=R.access(e),s=R.set(t,o),a=o.events))for(i in delete s.handle,s.events={},a)for(n=0,r=a[i].length;n<r;n++)C.event.add(t,i,a[i][n]);M.hasData(e)&&(e=M.access(e),e=C.extend({},e),M.set(t,e))}}function ve(n,r,i,o){r=g.apply([],r);var e,t,s,a,u,l,c=0,f=n.length,p=f-1,d=r[0],h=C.isFunction(d);if(h||1<f&&"string"==typeof d&&!v.checkClone&&le.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),ve(t,r,i,o)});if(f&&(t=(e=Z(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(s=C.map(Q(e,"script"),de)).length;c<f;c++)u=e,c!==p&&(u=C.clone(u,!0,!0),a&&C.merge(s,Q(u,"script"))),i.call(n[c],u,c);if(a)for(l=s[s.length-1].ownerDocument,C.map(s,he),c=0;c<a;c++)u=s[c],Y.test(u.type||"")&&!R.access(u,"globalEval")&&C.contains(l,u)&&(u.src?C._evalUrl&&C._evalUrl(u.src):C.globalEval(u.textContent.replace(fe,"")))}return n}function me(e,t,n){for(var r,i=t?C.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||C.cleanData(Q(r)),r.parentNode&&(n&&C.contains(r.ownerDocument,r)&&J(Q(r,"script")),r.parentNode.removeChild(r));return e}C.extend({htmlPrefilter:function(e){return e.replace(ae,"<$1></$2>")},clone:function(e,t,n){var r,i,o,s,a,u,l,c=e.cloneNode(!0),f=C.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(s=Q(c),r=0,i=(o=Q(e)).length;r<i;r++)a=o[r],u=s[r],l=void 0,"input"===(l=u.nodeName.toLowerCase())&&U.test(a.type)?u.checked=a.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=a.defaultValue);if(t)if(n)for(o=o||Q(e),s=s||Q(c),r=0,i=o.length;r<i;r++)ge(o[r],s[r]);else ge(e,c);return 0<(s=Q(c,"script")).length&&J(s,!f&&Q(e,"script")),c},cleanData:function(e){for(var t,n,r,i=C.event.special,o=0;void 0!==(n=e[o]);o++)if(F(n)){if(t=n[R.expando]){if(t.events)for(r in t.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,t.handle);n[R.expando]=void 0}n[M.expando]&&(n[M.expando]=void 0)}}}),C.fn.extend({domManip:ve,detach:function(e){return me(this,e,!0)},remove:function(e){return me(this,e)},text:function(e){return O(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return ve(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||pe(this,e).appendChild(e)})},prepend:function(){return ve(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=pe(this,e)).insertBefore(e,t.firstChild)})},before:function(){return ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(Q(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return O(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ue.test(e)&&!G[(V.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(Q(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return ve(this,arguments,function(e){var t=this.parentNode;C.inArray(this,n)<0&&(C.cleanData(Q(this)),t&&t.replaceChild(e,this))},n)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){C.fn[e]=function(e){for(var t,n=[],r=C(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),C(r[o])[s](t),a.apply(n,t.get());return this.pushStack(n)}});var ye,xe={HTML:"block",BODY:"block"};function be(e,t){e=C(t.createElement(e)).appendTo(t.body),t=C.css(e[0],"display");return e.detach(),t}function we(e){var t=T,n=xe[e];return n||("none"!==(n=be(e,t))&&n||((t=(ye=(ye||C("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=be(e,t),ye.detach()),xe[e]=n),n}function Te(e){var t=e.ownerDocument.defaultView;return(t=!t||!t.opener?w:t).getComputedStyle(e)}function Ce(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.apply(e,r||[]),t)e.style[i]=o[i];return r}var ke,Ee,Ne,Se,je,De,Ae=/^margin/,qe=new RegExp("^("+s+")(?!px)[a-z%]+$","i"),Le=T.documentElement;function He(){De.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",De.innerHTML="",Le.appendChild(je);var e=w.getComputedStyle(De);ke="1%"!==e.top,Se="2px"===e.marginLeft,Ee="4px"===e.width,De.style.marginRight="50%",Ne="4px"===e.marginRight,Le.removeChild(je)}function Oe(e,t,n){var r,i,o=e.style;return""!==(i=(n=n||Te(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==i||C.contains(e.ownerDocument,e)||(i=C.style(e,t)),n&&!v.pixelMarginRight()&&qe.test(i)&&Ae.test(t)&&(r=o.width,e=o.minWidth,t=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=r,o.minWidth=e,o.maxWidth=t),void 0!==i?i+"":i}function Fe(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}je=T.createElement("div"),(De=T.createElement("div")).style&&(De.style.backgroundClip="content-box",De.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===De.style.backgroundClip,je.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",je.appendChild(De),C.extend(v,{pixelPosition:function(){return He(),ke},boxSizingReliable:function(){return null==Ee&&He(),Ee},pixelMarginRight:function(){return null==Ee&&He(),Ne},reliableMarginLeft:function(){return null==Ee&&He(),Se},reliableMarginRight:function(){var e,t=De.appendChild(T.createElement("div"));return t.style.cssText=De.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",De.style.width="1px",Le.appendChild(je),e=!parseFloat(w.getComputedStyle(t).marginRight),Le.removeChild(je),De.removeChild(t),e}}));var Pe=/^(none|table(?!-c[ea]).+)/,Re={position:"absolute",visibility:"hidden",display:"block"},Me={letterSpacing:"0",fontWeight:"400"},Ie=["Webkit","O","Moz","ms"],We=T.createElement("div").style;function $e(e){if(e in We)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Ie.length;n--;)if((e=Ie[n]+t)in We)return e}function Be(e,t,n){var r=_.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function _e(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=C.css(e,n+X[o],!0,i)),r?("content"===n&&(s-=C.css(e,"padding"+X[o],!0,i)),"margin"!==n&&(s-=C.css(e,"border"+X[o]+"Width",!0,i))):(s+=C.css(e,"padding"+X[o],!0,i),"padding"!==n&&(s+=C.css(e,"border"+X[o]+"Width",!0,i)));return s}function Xe(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Te(e),s="border-box"===C.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=Oe(e,t,o))<0||null==i)&&(i=e.style[t]),qe.test(i))return i;r=s&&(v.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+_e(e,t,n||(s?"border":"content"),r,o)+"px"}function ze(e,t){for(var n,r,i,o=[],s=0,a=e.length;s<a;s++)(r=e[s]).style&&(o[s]=R.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&B(r)&&(o[s]=R.access(r,"olddisplay",we(r.nodeName)))):(i=B(r),"none"===n&&i||R.set(r,"olddisplay",i?n:C.css(r,"display"))));for(s=0;s<a;s++)(r=e[s]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}function Ue(e,t,n,r,i){return new Ue.prototype.init(e,t,n,r,i)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){e=Oe(e,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=C.camelCase(t),u=e.style;return t=C.cssProps[a]||(C.cssProps[a]=$e(a)||a),s=C.cssHooks[t]||C.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:u[t]:("string"===(o=typeof n)&&(i=_.exec(n))&&i[1]&&(n=z(e,t,i),o="number"),void(null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(C.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u[t]=n))))}},css:function(e,t,n,r){var i,o=C.camelCase(t);return t=C.cssProps[o]||(C.cssProps[o]=$e(o)||o),"normal"===(i=void 0===(i=(o=C.cssHooks[t]||C.cssHooks[o])&&"get"in o?o.get(e,!0,n):i)?Oe(e,t,r):i)&&t in Me&&(i=Me[t]),""===n||n?(t=parseFloat(i),!0===n||isFinite(t)?t||0:i):i}}),C.each(["height","width"],function(e,o){C.cssHooks[o]={get:function(e,t,n){return t?Pe.test(C.css(e,"display"))&&0===e.offsetWidth?Ce(e,Re,function(){return Xe(e,o,n)}):Xe(e,o,n):void 0},set:function(e,t,n){var r,i=n&&Te(e),i=n&&_e(e,o,n,"border-box"===C.css(e,"boxSizing",!1,i),i);return i&&(r=_.exec(t))&&"px"!==(r[3]||"px")&&(e.style[o]=t,t=C.css(e,o)),Be(0,t,i)}}}),C.cssHooks.marginLeft=Fe(v.reliableMarginLeft,function(e,t){return t?(parseFloat(Oe(e,"marginLeft"))||e.getBoundingClientRect().left-Ce(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),C.cssHooks.marginRight=Fe(v.reliableMarginRight,function(e,t){return t?Ce(e,{display:"inline-block"},Oe,[e,"marginRight"]):void 0}),C.each({margin:"",padding:"",border:"Width"},function(i,o){C.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+X[t]+o]=r[t]||r[t-2]||r[0];return n}},Ae.test(i)||(C.cssHooks[i+o].set=Be)}),C.fn.extend({css:function(e,t){return O(this,function(e,t,n){var r,i,o={},s=0;if(C.isArray(t)){for(r=Te(e),i=t.length;s<i;s++)o[t[s]]=C.css(e,t[s],!1,r);return o}return void 0!==n?C.style(e,t,n):C.css(e,t)},e,t,1<arguments.length)},show:function(){return ze(this,!0)},hide:function(){return ze(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){B(this)?C(this).show():C(this).hide()})}}),((C.Tween=Ue).prototype={constructor:Ue,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var e=Ue.propHooks[this.prop];return(e&&e.get?e:Ue.propHooks._default).get(this)},run:function(e){var t,n=Ue.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:Ue.propHooks._default).set(this),this}}).init.prototype=Ue.prototype,(Ue.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=C.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[C.cssProps[e.prop]]&&!C.cssHooks[e.prop]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Ue.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=Ue.prototype.init,C.fx.step={};var Ve,Ye,Ge=/^(?:toggle|show|hide)$/,Qe=/queueHooks$/;function Je(){return w.setTimeout(function(){Ve=void 0}),Ve=C.now()}function Ke(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=X[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Ze(e,t,n){for(var r,i=(et.tweeners[t]||[]).concat(et.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function et(i,e,t){var n,o,r=0,s=et.prefilters.length,a=C.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var e=Ve||Je(),e=Math.max(0,l.startTime+l.duration-e),t=1-(e/l.duration||0),n=0,r=l.tweens.length;n<r;n++)l.tweens[n].run(t);return a.notifyWith(i,[l,t,e]),t<1&&r?e:(a.resolveWith(i,[l]),!1)},l=a.promise({elem:i,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},t),originalProperties:e,originalOptions:t,startTime:Ve||Je(),duration:t.duration,tweens:[],createTween:function(e,t){e=C.Tween(i,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(e),e},stop:function(e){var t=0,n=e?l.tweens.length:0;if(o)return this;for(o=!0;t<n;t++)l.tweens[t].run(1);return e?(a.notifyWith(i,[l,1,0]),a.resolveWith(i,[l,e])):a.rejectWith(i,[l,e]),this}}),c=l.props;for(function(e,t){var n,r,i,o,s;for(n in e)if(r=C.camelCase(n),i=t[r],o=e[n],C.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),s=C.cssHooks[r],s&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<s;r++)if(n=et.prefilters[r].call(l,i,c,l.opts))return C.isFunction(n.stop)&&(C._queueHooks(l.elem,l.opts.queue).stop=C.proxy(n.stop,n)),n;return C.map(c,Ze,l),C.isFunction(l.opts.start)&&l.opts.start.call(i,l),C.fx.timer(C.extend(u,{elem:i,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}C.Animation=C.extend(et,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return z(n.elem,e,_.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,i=(e=C.isFunction(e)?(t=e,["*"]):e.match(L)).length;r<i;r++)n=e[r],et.tweeners[n]=et.tweeners[n]||[],et.tweeners[n].unshift(t)},prefilters:[function(t,e,n){var r,i,o,s,a,u,l,c=this,f={},p=t.style,d=t.nodeType&&B(t),h=R.get(t,"fxshow");for(r in n.queue||(null==(a=C._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,C.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(l=C.css(t,"display"))?R.get(t,"olddisplay")||we(t.nodeName):l)&&"none"===C.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),e)if(i=e[r],Ge.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;d=!0}f[r]=h&&h[r]||C.style(t,r)}else l=void 0;if(C.isEmptyObject(f))"inline"===("none"===l?we(t.nodeName):l)&&(p.display=l);else for(r in h?"hidden"in h&&(d=h.hidden):h=R.access(t,"fxshow",{}),o&&(h.hidden=!d),d?C(t).show():c.done(function(){C(t).hide()}),c.done(function(){for(var e in R.remove(t,"fxshow"),f)C.style(t,e,f[e])}),f)s=Ze(d?h[r]:0,r,c),r in h||(h[r]=s.start,d&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}],prefilter:function(e,t){t?et.prefilters.unshift(e):et.prefilters.push(e)}}),C.speed=function(e,t,n){var r=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||C.isFunction(e)&&e,duration:e,easing:n&&t||t&&!C.isFunction(t)&&t};return r.duration=C.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in C.fx.speeds?C.fx.speeds[r.duration]:C.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){C.isFunction(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(e,t,n,r){return this.filter(B).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=C.isEmptyObject(t),o=C.speed(e,n,r),r=function(){var e=et(this,C.extend({},t),o);(i||R.get(this,"finish"))&&e.stop(!0)};return r.finish=r,i||!1===o.queue?this.each(r):this.queue(o.queue,r)},stop:function(i,e,o){function s(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=C.timers,r=R.get(this);if(t)r[t]&&r[t].stop&&s(r[t]);else for(t in r)r[t]&&r[t].stop&&Qe.test(t)&&s(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||C.dequeue(this,i)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=R.get(this),n=t[s+"queue"],r=t[s+"queueHooks"],i=C.timers,o=n?n.length:0;for(t.finish=!0,C.queue(this,s,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===s&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),C.each(["toggle","show","hide"],function(e,r){var i=C.fn[r];C.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(Ke(r,!0),e,t,n)}}),C.each({slideDown:Ke("show"),slideUp:Ke("hide"),slideToggle:Ke("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){C.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(Ve=C.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),Ve=void 0},C.fx.timer=function(e){C.timers.push(e),e()?C.fx.start():C.timers.pop()},C.fx.interval=13,C.fx.start=function(){Ye=Ye||w.setInterval(C.fx.tick,C.fx.interval)},C.fx.stop=function(){w.clearInterval(Ye),Ye=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(r,e){return r=C.fx&&C.fx.speeds[r]||r,this.queue(e=e||"fx",function(e,t){var n=w.setTimeout(e,r);t.stop=function(){w.clearTimeout(n)}})},d=T.createElement("input"),n=T.createElement("select"),s=n.appendChild(T.createElement("option")),d.type="checkbox",v.checkOn=""!==d.value,v.optSelected=s.selected,n.disabled=!0,v.optDisabled=!s.disabled,(d=T.createElement("input")).value="t",d.type="radio",v.radioValue="t"===d.value;var tt,nt=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return O(this,C.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?C.prop(e,t,n):(1===o&&C.isXMLDoc(e)||(t=t.toLowerCase(),i=C.attrHooks[t]||(C.expr.match.bool.test(t)?tt:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=C.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&C.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(L);if(o&&1===e.nodeType)for(;n=o[i++];)r=C.propFix[n]||n,C.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),tt={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var o=nt[t]||C.find.attr;nt[t]=function(e,t,n){var r,i;return n||(i=nt[t],nt[t]=r,r=null!=o(e,t,n)?t.toLowerCase():null,nt[t]=i),r}});var rt=/^(?:input|select|textarea|button)$/i,it=/^(?:a|area)$/i;C.fn.extend({prop:function(e,t){return O(this,C.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(e)||(t=C.propFix[t]||t,i=C.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):rt.test(e.nodeName)||it.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(C.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this});var ot=/[\t\r\n\f]/g;function st(e){return e.getAttribute&&e.getAttribute("class")||""}C.fn.extend({addClass:function(t){var e,n,r,i,o,s,a=0;if(C.isFunction(t))return this.each(function(e){C(this).addClass(t.call(this,e,st(this)))});if("string"==typeof t&&t)for(e=t.match(L)||[];n=this[a++];)if(s=st(n),r=1===n.nodeType&&(" "+s+" ").replace(ot," ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s!==(s=C.trim(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,s,a=0;if(C.isFunction(t))return this.each(function(e){C(this).removeClass(t.call(this,e,st(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(L)||[];n=this[a++];)if(s=st(n),r=1===n.nodeType&&(" "+s+" ").replace(ot," ")){for(o=0;i=e[o++];)for(;-1<r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");s!==(s=C.trim(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i;return"boolean"==typeof t&&"string"==o?t?this.addClass(i):this.removeClass(i):C.isFunction(i)?this.each(function(e){C(this).toggleClass(i.call(this,e,st(this),t),t)}):this.each(function(){var e,t,n,r;if("string"==o)for(t=0,n=C(this),r=i.match(L)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!=o||((e=st(this))&&R.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==i&&R.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,r=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+st(t)+" ").replace(ot," ").indexOf(r))return!0;return!1}});var at=/\r/g,ut=/[\x20\t\r\n\f]+/g;C.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=C.isFunction(t),this.each(function(e){1===this.nodeType&&(null==(e=r?t.call(this,e,C(this).val()):t)?e="":"number"==typeof e?e+="":C.isArray(e)&&(e=C.map(e,function(e){return null==e?"":e+""})),(n=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):i?(n=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(at,""):null==e?"":e:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:C.trim(C.text(e)).replace(ut," ")}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type||r<0,o=i?null:[],s=i?r+1:n.length,a=r<0?s:i?r:0;a<s;a++)if(((t=n[a]).selected||a===r)&&(v.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!C.nodeName(t.parentNode,"optgroup"))){if(t=C(t).val(),i)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,o=C.makeArray(t),s=i.length;s--;)((r=i[s]).selected=-1<C.inArray(C.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){return C.isArray(t)?e.checked=-1<C.inArray(C(e).val(),t):void 0}},v.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var lt=/^(?:focusinfocus|focusoutblur)$/;C.extend(C.event,{trigger:function(e,t,n,r){var i,o,s,a,u,l,c=[n||T],f=h.call(e,"type")?e.type:e,p=h.call(e,"namespace")?e.namespace.split("."):[],d=o=n=n||T;if(3!==n.nodeType&&8!==n.nodeType&&!lt.test(f+C.event.triggered)&&(-1<f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),a=f.indexOf(":")<0&&"on"+f,(e=e[C.expando]?e:new C.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:C.makeArray(t,[e]),l=C.event.special[f]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!C.isWindow(n)){for(s=l.delegateType||f,lt.test(s+f)||(d=d.parentNode);d;d=d.parentNode)c.push(d),o=d;o===(n.ownerDocument||T)&&c.push(o.defaultView||o.parentWindow||w)}for(i=0;(d=c[i++])&&!e.isPropagationStopped();)e.type=1<i?s:l.bindType||f,(u=(R.get(d,"events")||{})[e.type]&&R.get(d,"handle"))&&u.apply(d,t),(u=a&&d[a])&&u.apply&&F(d)&&(e.result=u.apply(d,t),!1===e.result&&e.preventDefault());return e.type=f,r||e.isDefaultPrevented()||l._default&&!1!==l._default.apply(c.pop(),t)||!F(n)||a&&C.isFunction(n[f])&&!C.isWindow(n)&&((o=n[a])&&(n[a]=null),n[C.event.triggered=f](),C.event.triggered=void 0,o&&(n[a]=o)),e.result}},simulate:function(e,t,n){e=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(e,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?C.event.trigger(e,t,n,!0):void 0}}),C.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){C.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),C.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),v.focusin="onfocusin"in w,v.focusin||C.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){C.event.simulate(r,e.target,C.event.fix(e))}C.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=R.access(e,r);t||e.addEventListener(n,i,!0),R.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=R.access(e,r)-1;t?R.access(e,r,t):(e.removeEventListener(n,i,!0),R.remove(e,r))}}});var ct=w.location,ft=C.now(),pt=/\?/;C.parseJSON=function(e){return JSON.parse(e+"")},C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new w.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t};var dt=/#.*$/,ht=/([?&])_=[^&]*/,gt=/^(.*?):[ \t]*([^\r\n]*)$/gm,vt=/^(?:GET|HEAD)$/,mt=/^\/\//,yt={},xt={},bt="*/".concat("*"),wt=T.createElement("a");function Tt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(L)||[];if(C.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Ct(t,r,i,o){var s={},a=t===xt;function u(e){var n;return s[e]=!0,C.each(t[e]||[],function(e,t){t=t(r,i,o);return"string"!=typeof t||a||s[t]?a?!(n=t):void 0:(r.dataTypes.unshift(t),u(t),!1)}),n}return u(r.dataTypes[0])||!s["*"]&&u("*")}function kt(e,t){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r=r||{})[n]=t[n]);return r&&C.extend(!0,e,r),e}wt.href=ct.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":bt,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":C.parseJSON,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?kt(kt(e,C.ajaxSettings),t):kt(C.ajaxSettings,e)},ajaxPrefilter:Tt(yt),ajaxTransport:Tt(xt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var u,l,c,n,f,p,r,d=C.ajaxSetup({},t=t||{}),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?C(h):C.event,v=C.Deferred(),m=C.Callbacks("once memory"),y=d.statusCode||{},i={},o={},x=0,s="canceled",b={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!n)for(n={};t=gt.exec(c);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?c:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=o[n]=o[n]||e,i[e]=t),this},overrideMimeType:function(e){return x||(d.mimeType=e),this},statusCode:function(e){if(e)if(x<2)for(var t in e)y[t]=[y[t],e[t]];else b.always(e[b.status]);return this},abort:function(e){e=e||s;return u&&u.abort(e),a(0,e),this}};if(v.promise(b).complete=m.add,b.success=b.done,b.error=b.fail,d.url=((e||d.url||ct.href)+"").replace(dt,"").replace(mt,ct.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=C.trim(d.dataType||"*").toLowerCase().match(L)||[""],null==d.crossDomain){e=T.createElement("a");try{e.href=d.url,e.href=e.href,d.crossDomain=wt.protocol+"//"+wt.host!=e.protocol+"//"+e.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=C.param(d.data,d.traditional)),Ct(yt,d,t,b),2===x)return b;for(r in(p=C.event&&d.global)&&0==C.active++&&C.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!vt.test(d.type),l=d.url,d.hasContent||(d.data&&(l=d.url+=(pt.test(l)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=ht.test(l)?l.replace(ht,"$1_="+ft++):l+(pt.test(l)?"&":"?")+"_="+ft++)),d.ifModified&&(C.lastModified[l]&&b.setRequestHeader("If-Modified-Since",C.lastModified[l]),C.etag[l]&&b.setRequestHeader("If-None-Match",C.etag[l])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&b.setRequestHeader("Content-Type",d.contentType),b.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+bt+"; q=0.01":""):d.accepts["*"]),d.headers)b.setRequestHeader(r,d.headers[r]);if(d.beforeSend&&(!1===d.beforeSend.call(h,b,d)||2===x))return b.abort();for(r in s="abort",{success:1,error:1,complete:1})b[r](d[r]);if(u=Ct(xt,d,t,b)){if(b.readyState=1,p&&g.trigger("ajaxSend",[b,d]),2===x)return b;d.async&&0<d.timeout&&(f=w.setTimeout(function(){b.abort("timeout")},d.timeout));try{x=1,u.send(i,a)}catch(e){if(!(x<2))throw e;a(-1,e)}}else a(-1,"No Transport");function a(e,t,n,r){var i,o,s,a=t;2!==x&&(x=2,f&&w.clearTimeout(f),u=void 0,c=r||"",b.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s=s||i}o=o||s}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}(d,b,n)),s=function(e,t,n,r){var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if(a=i.split(" "),a[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(d,s,b,r),r?(d.ifModified&&((n=b.getResponseHeader("Last-Modified"))&&(C.lastModified[l]=n),(n=b.getResponseHeader("etag"))&&(C.etag[l]=n)),204===e||"HEAD"===d.type?a="nocontent":304===e?a="notmodified":(a=s.state,i=s.data,r=!(o=s.error))):(o=a,!e&&a||(a="error",e<0&&(e=0))),b.status=e,b.statusText=(t||a)+"",r?v.resolveWith(h,[i,a,b]):v.rejectWith(h,[b,a,o]),b.statusCode(y),y=void 0,p&&g.trigger(r?"ajaxSuccess":"ajaxError",[b,d,r?i:o]),m.fireWith(h,[b,a]),p&&(g.trigger("ajaxComplete",[b,d]),--C.active||C.event.trigger("ajaxStop")))}return b},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,i){C[i]=function(e,t,n,r){return C.isFunction(t)&&(r=r||n,n=t,t=void 0),C.ajax(C.extend({url:e,type:i,dataType:r,data:t,success:n},C.isPlainObject(e)&&e))}}),C._evalUrl=function(e){return C.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},C.fn.extend({wrapAll:function(t){var e;return C.isFunction(t)?this.each(function(e){C(this).wrapAll(t.call(this,e))}):(this[0]&&(e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return C.isFunction(n)?this.each(function(e){C(this).wrapInner(n.call(this,e))}):this.each(function(){var e=C(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=C.isFunction(t);return this.each(function(e){C(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){C.nodeName(this,"body")||C(this).replaceWith(this.childNodes)}).end()}}),C.expr.filters.hidden=function(e){return!C.expr.filters.visible(e)},C.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var Et=/%20/g,Nt=/\[\]$/,St=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;C.param=function(e,t){function n(e,t){t=C.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var r,i=[];if(void 0===t&&(t=C.ajaxSettings&&C.ajaxSettings.traditional),C.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){n(this.name,this.value)});else for(r in e)!function n(r,e,i,o){if(C.isArray(e))C.each(e,function(e,t){i||Nt.test(r)?o(r,t):n(r+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,o)});else if(i||"object"!==C.type(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o)}(r,e[r],t,n);return i.join("&").replace(Et,"+")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&Dt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!U.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:C.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}}),C.ajaxSettings.xhr=function(){try{return new w.XMLHttpRequest}catch(e){}};var At={0:200,1223:204},qt=C.ajaxSettings.xhr();v.cors=!!qt&&"withCredentials"in qt,v.ajax=qt=!!qt,C.ajaxTransport(function(i){var o,s;return v.cors||qt&&!i.crossDomain?{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=s=r.onload=r.onerror=r.onabort=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(At[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),s=r.onerror=o("error"),void 0!==r.onabort?r.onabort=s:r.onreadystatechange=function(){4===r.readyState&&w.setTimeout(function(){o&&s()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}:void 0}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(n){var r,i;if(n.crossDomain)return{send:function(e,t){r=C("<script>
1").prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),T.head.appendChild(r[0])},abort:function(){i&&i()}}});var Lt=[],Ht=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Lt.pop()||C.expando+"_"+ft++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(Ht.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ht.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=C.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ht,"$1"+r):!1!==e.jsonp&&(e.url+=(pt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||C.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=w[r],w[r]=function(){o=arguments},n.always(function(){void 0===i?C(w).removeProp(r):w[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Lt.push(r)),o&&C.isFunction(i)&&i(o[0]),o=i=void 0}),"script"):void 0}),C.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||T;var r=b.exec(e),n=!n&&[];return r?[t.createElement(r[1])]:(r=Z([e],t,n),n&&n.length&&C(n).remove(),C.merge([],r.childNodes))};var Ot=C.fn.load;function Ft(e){return C.isWindow(e)?e:9===e.nodeType&&e.defaultView}C.fn.load=function(e,t,n){if("string"!=typeof e&&Ot)return Ot.apply(this,arguments);var r,i,o,s=this,a=e.indexOf(" ");return-1<a&&(r=C.trim(e.slice(a)),e=e.slice(0,a)),C.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<s.length&&C.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?C("<div>").append(C.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.expr.filters.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(e,t,n){var r,i,o,s,a=C.css(e,"position"),u=C(e),l={};"static"===a&&(e.style.position="relative"),o=u.offset(),r=C.css(e,"top"),s=C.css(e,"left"),s=("absolute"===a||"fixed"===a)&&-1<(r+s).indexOf("auto")?(i=(a=u.position()).top,a.left):(i=parseFloat(r)||0,parseFloat(s)||0),null!=(t=C.isFunction(t)?t.call(e,n,C.extend({},o)):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+s),"using"in t?t.using.call(e,l):u.css(l)}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)});var e,n=this[0],r={top:0,left:0},i=n&&n.ownerDocument;return i?(e=i.documentElement,C.contains(e,n)?(r=n.getBoundingClientRect(),i=Ft(i),{top:r.top+i.pageYOffset-e.clientTop,left:r.left+i.pageXOffset-e.clientLeft}):r):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===C.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(r=!C.nodeName(e[0],"html")?e.offset():r).top+=C.css(e[0],"borderTopWidth",!0),r.left+=C.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-C.css(n,"marginTop",!0),left:t.left-r.left-C.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||Le})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;C.fn[t]=function(e){return O(this,function(e,t,n){var r=Ft(e);return void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n)},t,e,arguments.length)}}),C.each(["top","left"],function(e,n){C.cssHooks[n]=Fe(v.pixelPosition,function(e,t){return t?(t=Oe(e,n),qe.test(t)?C(e).position()[n]+"px":t):void 0})}),C.each({Height:"height",Width:"width"},function(o,s){C.each({padding:"inner"+o,content:s,"":"outer"+o},function(r,e){C.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return O(this,function(e,t,n){var r;return C.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?C.css(e,t,i):C.style(e,t,n,i)},s,n?e:void 0,n,null)}})}),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),C.fn.andSelf=C.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return C});var Pt=w.jQuery,Rt=w.$;return C.noConflict=function(e){return w.$===C&&(w.$=Rt),e&&w.jQuery===C&&(w.jQuery=Pt),C},e||(w.jQuery=w.$=C),C}); 2void 0===jQuery.migrateMute&&(jQuery.migrateMute=!0),function(c,r,i){function u(e){var t=r.console;n[e]||(n[e]=!0,c.migrateWarnings.push(e),t&&t.warn&&!c.migrateMute&&(t.warn("JQMIGRATE: "+e),c.migrateTrace&&t.trace&&t.trace()))}function e(e,t,r,n){if(Object.defineProperty)try{return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n),r},set:function(e){u(n),r=e}}),0}catch(e){}c._definePropertyBroken=!0,e[t]=r}c.migrateVersion="1.4.1";var n={};c.migrateWarnings=[],r.console&&r.console.log&&r.console.log("JQMIGRATE: Migrate is installed"+(c.migrateMute?"":" with logging active")+", version "+c.migrateVersion),c.migrateTrace===i&&(c.migrateTrace=!0),c.migrateReset=function(){n={},c.migrateWarnings.length=0},"BackCompat"===document.compatMode&&u("jQuery is not compatible with Quirks Mode");var s=c("<input/>",{size:1}).attr("size")&&c.attrFn,d=c.attr,o=c.attrHooks.value&&c.attrHooks.value.get||function(){return null},a=c.attrHooks.value&&c.attrHooks.value.set||function(){return i},l=/^(?:input|button)$/i,p=/^[238]$/,f=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,h=/^(?:checked|selected)$/i;e(c,"attrFn",s||{},"jQuery.attrFn is deprecated"),c.attr=function(e,t,r,n){var o=t.toLowerCase(),a=e&&e.nodeType;return n&&(d.length<4&&u("jQuery.fn.attr( props, pass ) is deprecated"),e&&!p.test(a)&&(s?t in s:c.isFunction(c.fn[t])))?c(e)[t](r):("type"===t&&r!==i&&l.test(e.nodeName)&&e.parentNode&&u("Can't change the 'type' of an input or button in IE 6/7/8"),!c.attrHooks[o]&&f.test(o)&&(c.attrHooks[o]={get:function(e,t){var r,n=c.prop(e,t);return!0===n||"boolean"!=typeof n&&(r=e.getAttributeNode(t))&&!1!==r.nodeValue?t.toLowerCase():i}
2,set:function(e,t,r){return!1===t?c.removeAttr(e,r):((t=c.propFix[r]||r)in e&&(e[t]=!0),e.setAttribute(r,r.toLowerCase())),r}},h.test(o)&&u("jQuery.fn.attr('"+o+"') might use property instead of attribute")),d.call(c,e,t,r))},c.attrHooks.value={get:function(e,t){var r=(e.nodeName||"").toLowerCase();return"button"===r?o.apply(this,arguments):("input"!==r&&"option"!==r&&u("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var r=(e.nodeName||"").toLowerCase();return"button"===r?a.apply(this,arguments):("input"!==r&&"option"!==r&&u("jQuery.fn.attr('value', val) no longer sets properties"),void(e.value=t))}};var t,v,g=c.fn.init,y=c.find,m=c.parseJSON,b=/^\s*</,w=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,j=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,x=/^([^<]*)(<[\w\W]+>)([^>]*)$/;for(v in c.fn.init=function(e,t,r){var n;return e&&"string"==typeof e&&!c.isPlainObject(t)&&(n=x.exec(c.trim(e)))&&n[0]&&(b.test(e)||u("$(html) HTML strings must start with '<' character"),n[3]&&u("$(html) HTML text after last tag is ignored"),"#"===n[0].charAt(0)&&(u("HTML string cannot start with a '#' character"),c.error("JQMIGRATE: Invalid selector string (XSS)")),t&&t.context&&t.context.nodeType&&(t=t.context),c.parseHTML)?g.call(this,c.parseHTML(n[2],t&&t.ownerDocument||t||document,!0),t,r):(n=g.apply(this,arguments),e&&e.selector!==i?(n.selector=e.selector,n.context=e.context):(n.selector="string"==typeof e?e:"",e&&(n.context=e.nodeType?e:t||document)),n)},c.fn.init.prototype=c.fn,c.find=function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&w.test(t))try{document.querySelector(t)}catch(e){t=t.replace(j,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{document.querySelector(t),u("Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},y)Object.prototype.hasOwnProperty.call(y,v)&&(c.find[v]=y[v]);c.parseJSON=function(e){return e?m.apply(this,arguments):(u("jQuery.parseJSON requires a valid JSON string"),null)},c.uaMatch=function(e){e=e.toLowerCase();e=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:e[1]||"",version:e[2]||"0"}},c.browser||($={},(t=c.uaMatch(navigator.userAgent)).browser&&($[t.browser]=!0,$.version=t.version),$.chrome?$.webkit=!0:$.webkit&&($.safari=!0),c.browser=$),e(c,"browser",c.browser,"jQuery.browser is deprecated"),c.boxModel=c.support.boxModel="CSS1Compat"===document.compatMode,e(c,"boxModel",c.boxModel,"jQuery.boxModel is deprecated"),e(c.support,"boxModel",c.support.boxModel,"jQuery.support.boxModel is deprecated"),c.sub=function(){function r(e,t){return new r.fn.init(e,t)}c.extend(!0,r,this),r.superclass=this,((r.fn=r.prototype=this()).constructor=r).sub=this.sub,r.fn.init=function(e,t){t=c.fn.init.call(this,e,t,n);return t instanceof r?t:r(t)},r.fn.init.prototype=r.fn;var n=r(document);return u("jQuery.sub() is deprecated"),r};var Q=!(c.fn.size=function(){return u("jQuery.fn.size() is deprecated; use the .length property"),this.length});c.swap&&c.each(["height","width","reliableMarginRight"],function(e,t){var r=c.cssHooks[t]&&c.cssHooks[t].get;r&&(c.cssHooks[t].get=function(){var e;return Q=!0,e=r.apply(this,arguments),Q=!1,e})}),c.swap=function(e,t,r,n){var o,a={};for(o in Q||u("jQuery.swap() is undocumented and deprecated"),t)a[o]=e.style[o],e.style[o]=t[o];for(o in n=r.apply(e,n||[]),t)e.style[o]=a[o];return n},c.ajaxSetup({converters:{"text json":c.parseJSON}});var k=c.fn.data;c.fn.data=function(e){var t,r,n=this[0];return!n||"events"!==e||1!==arguments.length||(t=c.data(n,e),r=c._data(n,e),t!==i&&t!==r||r===i)?k.apply(this,arguments):(u("Use of jQuery.fn.data('events') is deprecated"),r)};var M=/\/(java|ecma)script/i;c.clean||(c.clean=function(e,t,r,n){t=(t=!(t=t||document).nodeType&&t[0]||t).ownerDocument||t,u("jQuery.clean() is deprecated");var o,a,i,s=[];
2if(c.merge(s,c.buildFragment(e,t).childNodes),r)for(a=function(e){return!e.type||M.test(e.type)?n?n.push(e.parentNode?e.parentNode.removeChild(e):e):r.appendChild(e):void 0},o=0;null!=(i=s[o]);o++)c.nodeName(i,"script")&&a(i)||(r.appendChild(i),void 0!==i.getElementsByTagName&&(i=c.grep(c.merge([],i.getElementsByTagName("script")),a),s.splice.apply(s,[o+1,0].concat(i)),o+=i.length));return s});function C(e){return"string"!=typeof e||c.event.special.hover?e:(R.test(e)&&u("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),e&&e.replace(R,"mouseenter$1 mouseleave$1"))}var S=c.event.add,T=c.event.remove,N=c.event.trigger,H=c.fn.toggle,A=c.fn.live,L=c.fn.die,O=c.fn.load,$="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",F=new RegExp("\\b(?:"+$+")\\b"),R=/(?:^|\s)hover(\.\S+|)\b/;c.event.props&&"attrChange"!==c.event.props[0]&&c.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),c.event.dispatch&&e(c.event,"handle",c.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),c.event.add=function(e,t,r,n,o){e!==document&&F.test(t)&&u("AJAX events should be attached to document: "+t),S.call(this,e,C(t||""),r,n,o)},c.event.remove=function(e,t,r,n,o){T.call(this,e,C(t)||"",r,n,o)},c.each(["load","unload","error"],function(e,t){c.fn[t]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?O.apply(this,e):(u("jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this))}}),c.fn.toggle=function(r,e){if(!c.isFunction(r)||!c.isFunction(e))return H.apply(this,arguments);u("jQuery.fn.toggle(handler, handler...) is deprecated");function t(e){var t=(c._data(this,"lastToggle"+r.guid)||0)%a;return c._data(this,"lastToggle"+r.guid,1+t),e.preventDefault(),n[t].apply(this,arguments)||!1}var n=arguments,o=r.guid||c.guid++,a=0;for(t.guid=o;a<n.length;)n[a++].guid=o;return this.click(t)},c.fn.live=function(e,t,r){return u("jQuery.fn.live() is deprecated"),A?A.apply(this,arguments):(c(this.context).on(e,this.selector,t,r),this)},c.fn.die=function(e,t){return u("jQuery.fn.die() is deprecated"),L?L.apply(this,arguments):(c(this.context).off(e,this.selector||"**",t),this)},c.event.trigger=function(e,t,r,n){return r||F.test(e)||u("Global events are undocumented and deprecated"),N.call(this,e,t,r||document,n)},c.each($.split("|"),function(e,t){c.event.special[t]={setup:function(){var e=this;return e!==document&&(c.event.add(document,t+"."+c.guid,function(){c.event.trigger(t,Array.prototype.slice.call(arguments,1),e,!0)}),c._data(this,t,c.guid++)),!1},teardown:function(){return this!==document&&c.event.remove(document,t+"."+c._data(this,t)),!1}}}),c.event.special.ready={setup:function(){this===document&&u("'ready' event is deprecated")}};var E,J,B=c.fn.andSelf||c.fn.addBack,D=c.fn.find;c.fn.andSelf=function(){return u("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),B.apply(this,arguments)},c.fn.find=function(e){var t=D.apply(this,arguments);return t.context=this.context,t.selector=this.selector?this.selector+" "+e:e,t},c.Callbacks&&(E=c.Deferred,J=[["resolve","done",c.Callbacks("once memory"),c.Callbacks("once memory"),"resolved"],["reject","fail",c.Callbacks("once memory"),c.Callbacks("once memory"),"rejected"],["notify","progress",c.Callbacks("memory"),c.Callbacks("memory")]],c.Deferred=function(e){var a=E(),i=a.promise();return a.pipe=i.pipe=function(){var o=arguments;return u("deferred.pipe() is deprecated"),c.Deferred(function(n){c.each(J,function(e,t){var r=c.isFunction(o[e])&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&c.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()},a.isResolved=function(){return u("deferred.isResolved is deprecated"),"resolved"===a.state()},a.isRejected=function(){return u("deferred.isRejected is deprecated"),"rejected"===a.state()},e&&e.call(a,a),a})}(jQuery,window); 3!function(){function n(a){return function(n,t,r,e){t=b(t,e,4);var u=!k(n)&&m.keys(n),i=(u||n).length,o=0<a?0:i-1;return arguments.length<3&&(r=n[u?u[o]:o],o+=a),function(n,t,r,e,u,i){for(;0<=u&&u<i;u+=a){var o=e?e[u]:u;r=t(r,n[o],o,n)}return r}(n,t,r,u,o,i)}}function t(i){return function(n,t,r){t=x(t,r);for(var e=O(n),u=0<i?0:e-1;0<=u&&u<e;u+=i)if(t(n[u],u,n))return u;return-1}}function r(i,o,a){return function(n,t,r){var e=0,u=O(n);if("number"==typeof r)0<i?e=0<=r?r:Math.max(r+u,e):u=0<=r?Math.min(r+1,u):r+u+1;else if(a&&r&&u)return n[r=a(n,t)]===t?r:-1;
3if(t!=t)return 0<=(r=o(l.call(n,e,u),m.isNaN))?r+e:-1;for(r=0<i?e:u-1;0<=r&&r<u;r+=i)if(n[r]===t)return r;return-1}}function e(n,t){var r=M.length,e=n.constructor,u=m.isFunction(e)&&e.prototype||a,i="constructor";for(m.has(n,i)&&!m.contains(t,i)&&t.push(i);r--;)(i=M[r])in n&&n[i]!==u[i]&&!m.contains(t,i)&&t.push(i)}var u=this,i=u._,o=Array.prototype,a=Object.prototype,c=Function.prototype,f=o.push,l=o.slice,s=a.toString,p=a.hasOwnProperty,h=Array.isArray,v=Object.keys,y=c.bind,d=Object.create,g=function(){},m=function(n){return n instanceof m?n:this instanceof m?void(this._wrapped=n):new m(n)};"undefined"!=typeof exports?(exports="undefined"!=typeof module&&module.exports?module.exports=m:exports)._=m:u._=m,m.VERSION="1.8.3";var b=function(u,i,n){if(void 0===i)return u;switch(null==n?3:n){case 1:return function(n){return u.call(i,n)};case 2:return function(n,t){return u.call(i,n,t)};case 3:return function(n,t,r){return u.call(i,n,t,r)};case 4:return function(n,t,r,e){return u.call(i,n,t,r,e)}}return function(){return u.apply(i,arguments)}},x=function(n,t,r){return null==n?m.identity:m.isFunction(n)?b(n,t,r):m.isObject(n)?m.matcher(n):m.property(n)};m.iteratee=function(n,t){return x(n,t,1/0)};var _=function(c,f){return function(n){var t=arguments.length;if(t<2||null==n)return n;for(var r=1;r<t;r++)for(var e=arguments[r],u=c(e),i=u.length,o=0;o<i;o++){var a=u[o];f&&void 0!==n[a]||(n[a]=e[a])}return n}},j=function(n){if(!m.isObject(n))return{};if(d)return d(n);g.prototype=n;n=new g;return g.prototype=null,n},w=function(t){return function(n){return null==n?void 0:n[t]}},A=Math.pow(2,53)-1,O=w("length"),k=function(n){n=O(n);return"number"==typeof n&&0<=n&&n<=A};m.each=m.forEach=function(n,t,r){if(t=b(t,r),k(n))for(u=0,i=n.length;u<i;u++)t(n[u],u,n);else for(var e=m.keys(n),u=0,i=e.length;u<i;u++)t(n[e[u]],e[u],n);return n},m.map=m.collect=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=Array(u),o=0;o<u;o++){var a=e?e[o]:o;i[o]=t(n[a],a,n)}return i},m.reduce=m.foldl=m.inject=n(1),m.reduceRight=m.foldr=n(-1),m.find=m.detect=function(n,t,r){r=k(n)?m.findIndex(n,t,r):m.findKey(n,t,r);return void 0!==r&&-1!==r?n[r]:void 0},m.filter=m.select=function(n,e,t){var u=[];return e=x(e,t),m.each(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u},m.reject=function(n,t,r){return m.filter(n,m.negate(x(t)),r)},m.every=m.all=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(!t(n[o],o,n))return!1}return!0},m.some=m.any=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(t(n[o],o,n))return!0}return!1},m.contains=m.includes=m.include=function(n,t,r,e){return k(n)||(n=m.values(n)),0<=m.indexOf(n,t,r="number"!=typeof r||e?0:r)},m.invoke=function(n,r){var e=l.call(arguments,2),u=m.isFunction(r);return m.map(n,function(n){var t=u?r:n[r];return null==t?t:t.apply(n,e)})},m.pluck=function(n,t){return m.map(n,m.property(t))},m.where=function(n,t){return m.filter(n,m.matcher(t))},m.findWhere=function(n,t){return m.find(n,m.matcher(t))},m.max=function(n,e,t){var r,u,i=-1/0,o=-1/0;if(null==e&&null!=n)for(var a=0,c=(n=k(n)?n:m.values(n)).length;a<c;a++)r=n[a],i<r&&(i=r);else e=x(e,t),m.each(n,function(n,t,r){u=e(n,t,r),(o<u||u===-1/0&&i===-1/0)&&(i=n,o=u)});return i},m.min=function(n,e,t){var r,u,i=1/0,o=1/0;if(null==e&&null!=n)for(var a=0,c=(n=k(n)?n:m.values(n)).length;a<c;a++)(r=n[a])<i&&(i=r);else e=x(e,t),m.each(n,function(n,t,r){((u=e(n,t,r))<o||1/0===u&&1/0===i)&&(i=n,o=u)});return i},m.shuffle=function(n){for(var t,r=k(n)?n:m.values(n),e=r.length,u=Array(e),i=0;i<e;i++)(t=m.random(0,i))!==i&&(u[i]=u[t]),u[t]=r[i];return u},m.sample=function(n,t,r){return null==t||r?(n=!k(n)?m.values(n):n)[m.random(n.length-1)]:m.shuffle(n).slice(0,Math.max(0,t))},m.sortBy=function(n,e,t){return e=x(e,t),m.pluck(m.map(n,function(n,t,r){return{value:n,index:t,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")};c=function(i){return function(r,e,n){var u={};return e=x(e,n),m.each(r,function(n,t){t=e(n,t,r);i(u,n,t)}),u}};m.groupBy=c(function(n,t,r){m.has(n,r)?n[r].push(t):n[r]=[t]}),m.indexBy=c(function(n,t,r){n[r]=t}),m.countBy=c(function(n,t,r){m.has(n,r)?n[r]++:n[r]=1}),m.toArray=function(n){return n?m.isArray(n)?l.call(n):k(n)?m.map(n,m.identity):m.values(n):[]}
3,m.size=function(n){return null==n?0:(k(n)?n:m.keys(n)).length},m.partition=function(n,e,t){e=x(e,t);var u=[],i=[];return m.each(n,function(n,t,r){(e(n,t,r)?u:i).push(n)}),[u,i]},m.first=m.head=m.take=function(n,t,r){return null==n?void 0:null==t||r?n[0]:m.initial(n,n.length-t)},m.initial=function(n,t,r){return l.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))},m.last=function(n,t,r){return null==n?void 0:null==t||r?n[n.length-1]:m.rest(n,Math.max(0,n.length-t))},m.rest=m.tail=m.drop=function(n,t,r){return l.call(n,null==t||r?1:t)},m.compact=function(n){return m.filter(n,m.identity)};var F=function(n,t,r,e){for(var u=[],i=0,o=e||0,a=O(n);o<a;o++){var c=n[o];if(k(c)&&(m.isArray(c)||m.isArguments(c))){var f=0,l=(c=!t?F(c,t,r):c).length;for(u.length+=l;f<l;)u[i++]=c[f++]}else r||(u[i++]=c)}return u};m.flatten=function(n,t){return F(n,t,!1)},m.without=function(n){return m.difference(n,l.call(arguments,1))},m.uniq=m.unique=function(n,t,r,e){m.isBoolean(t)||(e=r,r=t,t=!1),null!=r&&(r=x(r,e));for(var u=[],i=[],o=0,a=O(n);o<a;o++){var c=n[o],f=r?r(c,o,n):c;t?(o&&i===f||u.push(c),i=f):r?m.contains(i,f)||(i.push(f),u.push(c)):m.contains(u,c)||u.push(c)}return u},m.union=function(){return m.uniq(F(arguments,!0,!0))},m.intersection=function(n){for(var t=[],r=arguments.length,e=0,u=O(n);e<u;e++){var i=n[e];if(!m.contains(t,i)){for(var o=1;o<r&&m.contains(arguments[o],i);o++);o===r&&t.push(i)}}return t},m.difference=function(n){var t=F(arguments,!0,!0,1);return m.filter(n,function(n){return!m.contains(t,n)})},m.zip=function(){return m.unzip(arguments)},m.unzip=function(n){for(var t=n&&m.max(n,O).length||0,r=Array(t),e=0;e<t;e++)r[e]=m.pluck(n,e);return r},m.object=function(n,t){for(var r={},e=0,u=O(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},m.findIndex=t(1),m.findLastIndex=t(-1),m.sortedIndex=function(n,t,r,e){for(var u=(r=x(r,e,1))(t),i=0,o=O(n);i<o;){var a=Math.floor((i+o)/2);r(n[a])<u?i=a+1:o=a}return i},m.indexOf=r(1,m.findIndex,m.sortedIndex),m.lastIndexOf=r(-1,m.findLastIndex),m.range=function(n,t,r){null==t&&(t=n||0,n=0),r=r||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),i=0;i<e;i++,n+=r)u[i]=n;return u};function S(n,t,r,e,u){return e instanceof t?(r=j(n.prototype),u=n.apply(r,u),m.isObject(u)?u:r):n.apply(r,u)}m.bind=function(n,t){if(y&&n.bind===y)return y.apply(n,l.call(arguments,1));if(!m.isFunction(n))throw new TypeError("Bind must be called on a function");function r(){return S(n,r,t,this,e.concat(l.call(arguments)))}var e=l.call(arguments,2);return r},m.partial=function(u){function i(){for(var n=0,t=o.length,r=Array(t),e=0;e<t;e++)r[e]=o[e]===m?arguments[n++]:o[e];for(;n<arguments.length;)r.push(arguments[n++]);return S(u,i,this,this,r)}var o=l.call(arguments,1);return i},m.bindAll=function(n){var t,r,e=arguments.length;if(e<=1)throw new Error("bindAll must be passed function names");for(t=1;t<e;t++)n[r=arguments[t]]=m.bind(n[r],n);return n},m.memoize=function(e,u){function i(n){var t=i.cache,r=""+(u?u.apply(this,arguments):n);return m.has(t,r)||(t[r]=e.apply(this,arguments)),t[r]}return i.cache={},i},m.delay=function(n,t){var r=l.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},m.defer=m.partial(m.delay,m,1),m.throttle=function(r,e,u){var i,o,a,c=null,f=0;u=u||{};function l(){f=!1===u.leading?0:m.now(),c=null,a=r.apply(i,o),c||(i=o=null)}return function(){var n=m.now();f||!1!==u.leading||(f=n);var t=e-(n-f);return i=this,o=arguments,t<=0||e<t?(c&&(clearTimeout(c),c=null),f=n,a=r.apply(i,o),c||(i=o=null)):c||!1===u.trailing||(c=setTimeout(l,t)),a}},m.debounce=function(t,r,e){function u(){var n=m.now()-c;n<r&&0<=n?i=setTimeout(u,r-n):(i=null,e||(f=t.apply(a,o),i||(a=o=null)))}var i,o,a,c,f;return function(){a=this,o=arguments,c=m.now();var n=e&&!i;return i=i||setTimeout(u,r),n&&(f=t.apply(a,o),a=o=null),f}},m.wrap=function(n,t){return m.partial(t,n)},m.negate=function(n){return function(){return!n.apply(this,arguments)}},m.compose=function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},m.after=function(n,t){return function(){return--n<1?t.apply(this,arguments):void 0}},m.before=function(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}},m.once=m.partial(m.before,2);var E=!{toString:null}.propertyIsEnumerable("toString"),M=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
3ing"];m.keys=function(n){if(!m.isObject(n))return[];if(v)return v(n);var t,r=[];for(t in n)m.has(n,t)&&r.push(t);return E&&e(n,r),r},m.allKeys=function(n){if(!m.isObject(n))return[];var t,r=[];for(t in n)r.push(t);return E&&e(n,r),r},m.values=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e},m.mapObject=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=u.length,o={},a=0;a<i;a++)o[e=u[a]]=t(n[e],e,n);return o},m.pairs=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},m.invert=function(n){for(var t={},r=m.keys(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t},m.functions=m.methods=function(n){var t,r=[];for(t in n)m.isFunction(n[t])&&r.push(t);return r.sort()},m.extend=_(m.allKeys),m.extendOwn=m.assign=_(m.keys),m.findKey=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=0,o=u.length;i<o;i++)if(t(n[e=u[i]],e,n))return e},m.pick=function(n,t,r){var e,u,i={},o=n;if(null==o)return i;m.isFunction(t)?(u=m.allKeys(o),e=b(t,r)):(u=F(arguments,!1,!1,1),e=function(n,t,r){return t in r},o=Object(o));for(var a=0,c=u.length;a<c;a++){var f=u[a],l=o[f];e(l,f,o)&&(i[f]=l)}return i},m.omit=function(n,t,r){var e;return t=m.isFunction(t)?m.negate(t):(e=m.map(F(arguments,!1,!1,1),String),function(n,t){return!m.contains(e,t)}),m.pick(n,t,r)},m.defaults=_(m.allKeys,!0),m.create=function(n,t){n=j(n);return t&&m.extendOwn(n,t),n},m.clone=function(n){return m.isObject(n)?m.isArray(n)?n.slice():m.extend({},n):n},m.tap=function(n,t){return t(n),n},m.isMatch=function(n,t){var r=m.keys(t),e=r.length;if(null==n)return!e;for(var u=Object(n),i=0;i<e;i++){var o=r[i];if(t[o]!==u[o]||!(o in u))return!1}return!0};var I=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;n instanceof m&&(n=n._wrapped),t instanceof m&&(t=t._wrapped);var u=s.call(n);if(u!==s.call(t))return!1;switch(u){case"[object RegExp]":case"[object String]":return""+n==""+t;case"[object Number]":return+n!=+n?+t!=+t:0==+n?1/+n==1/t:+n==+t;case"[object Date]":case"[object Boolean]":return+n==+t}var i="[object Array]"===u;if(!i){if("object"!=typeof n||"object"!=typeof t)return!1;var o=n.constructor,u=t.constructor;if(o!==u&&!(m.isFunction(o)&&o instanceof o&&m.isFunction(u)&&u instanceof u)&&"constructor"in n&&"constructor"in t)return!1}e=e||[];for(var a=(r=r||[]).length;a--;)if(r[a]===n)return e[a]===t;if(r.push(n),e.push(t),i){if((a=n.length)!==t.length)return!1;for(;a--;)if(!I(n[a],t[a],r,e))return!1}else{var c,f=m.keys(n),a=f.length;if(m.keys(t).length!==a)return!1;for(;a--;)if(c=f[a],!m.has(t,c)||!I(n[c],t[c],r,e))return!1}return r.pop(),e.pop(),!0};m.isEqual=function(n,t){return I(n,t)},m.isEmpty=function(n){return null==n||(k(n)&&(m.isArray(n)||m.isString(n)||m.isArguments(n))?0===n.length:0===m.keys(n).length)},m.isElement=function(n){return!(!n||1!==n.nodeType)},m.isArray=h||function(n){return"[object Array]"===s.call(n)},m.isObject=function(n){var t=typeof n;return"function"==t||"object"==t&&!!n},m.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){m["is"+t]=function(n){return s.call(n)==="[object "+t+"]"}}),m.isArguments(arguments)||(m.isArguments=function(n){return m.has(n,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(m.isFunction=function(n){return"function"==typeof n||!1}),m.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},m.isNaN=function(n){return m.isNumber(n)&&n!==+n},m.isBoolean=function(n){return!0===n||!1===n||"[object Boolean]"===s.call(n)},m.isNull=function(n){return null===n},m.isUndefined=function(n){return void 0===n},m.has=function(n,t){return null!=n&&p.call(n,t)},m.noConflict=function(){return u._=i,this},m.identity=function(n){return n},m.constant=function(n){return function(){return n}},m.noop=function(){},m.property=w,m.propertyOf=function(t){return null==t?function(){}:function(n){return t[n]}},m.matcher=m.matches=function(t){return t=m.extendOwn({},t),function(n){return m.isMatch(n,t)}},m.times=function(n,t,r){var e=Array(Math.max(0,n));t=b(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e},m.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},m.now=Date.now||function(){return(new Date).getTime()};_={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},h=m.invert(_),w=function(t){function r(n){return t[n]}var n="(?:"+m.keys(t).join("|")+")",e=RegExp(n),u=RegExp(n,"g");return function(n){return e.test(n=null==n?"":""+n)?n.replace(u,r):n}};m.escape=w(_),m.unescape=w(h),m.result=function(n,t,r){t=null==n?void 0:n[t];return m.isFunction(t=void 0===t?r:t)?t.call(n):t};var N=0;m.uniqueId=function(n){var t=++N+"";return n?n+t:t},m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};function B(n){return"\\"+R[n]}var T=/(.)^/,R={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},q=/\\|'|\r|\n|\u2028|\u2029/g;m.template=function(i,n,t){n=m.defaults({},n=!n&&t?t:n,m.templateSettings);var t=RegExp([(n.escape||T).source,(n.interpolate||T).source,(n.evaluate||T).source].join("|")+"|$","g"),o=0,a="__p+='";i.replace(t,function(n,t,r,e,u){return a+=i.slice(o,u).replace(q,B),o=u+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+(a=!n.variable?"with(obj||{}){\n"+a+"}\n":a)+"return __p;\n";try{var r=new Function(n.variable||"obj","_",a)}catch(n){throw n.source=a,n}t=function(n){return r.call(this,n,m)},n=n.variable||"obj";
3return t.source="function("+n+"){\n"+a+"}",t},m.chain=function(n){n=m(n);return n._chain=!0,n};function K(n,t){return n._chain?m(t).chain():t}m.mixin=function(r){m.each(m.functions(r),function(n){var t=m[n]=r[n];m.prototype[n]=function(){var n=[this._wrapped];return f.apply(n,arguments),K(this,t.apply(m,n))}})},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=o[t];m.prototype[t]=function(){var n=this._wrapped;return r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],K(this,n)}}),m.each(["concat","join","slice"],function(n){var t=o[n];m.prototype[n]=function(){return K(this,t.apply(this._wrapped,arguments))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSON=m.prototype.value,m.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return m})}.call(this); 4!function(r,p){"use strict";if(p.prototype.forEach||(p.prototype.forEach=function(t,r){if(null==this||"function"!=typeof t)throw new TypeError;for(var o=this,n=o.length,e=0;e<n;e++)e in o&&t.call(r,o[e],e,o)}),p.prototype.indexOf||(p.prototype.indexOf=function(t,r){if(null==this)throw new TypeError;var o=this.length;for(r=+r||0,1/0===Math.abs(r)?r=0:r<0&&((r+=o)<0&&(r=0));r<o;r++)if(this[r]===t)return r;return-1}),p.prototype.filter||(p.prototype.filter=function(n,e){var i=[];return this.forEach(function(t,r,o){n.call(e,t,r,o)&&i.push(t)},e),i}),Function.prototype.bind||(Function.prototype.bind=function(o){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");function t(){var t=this instanceof i&&o?this:o,r=n.concat(p.prototype.slice.call(arguments));return e.apply(t,r)}var n=p.prototype.slice.call(arguments,1),e=this,i=function(){};return i.prototype=this.prototype,t.prototype=new i,t}),r.keys||(r.keys=function(t){var r,o=[];for(r in t)t.hasOwnProperty(r)&&o.push(r);return o}),r.defineProperty)try{r.defineProperty({},"x",{})}catch(t){r.definePropertyPartial=!0}}(Object,Array); 5!function(s,n,t){"use strict";function a(n){return"[object Array]"===s.prototype.toString.call(n)}function l(n,t){return Array.prototype.slice.call(n,t)}function p(n,t,e){n&&v(function(){n.apply(e||null,t||[])})}function h(n){function t(){e||(e=!0,n.apply(null,arguments))}var e;return t.discard=function(){e=!0},t}function u(n,t,e){n=n.shift();return n&&(e&&e.discard(),p(t,[n]),1)}function f(n,t,e){e||(e=t,t=y);var r=h(e),e=o(function(t,e){p(n[t],[function(){var n=l(arguments);u(n,r)||(i[t]=n.shift(),e())}])},t),t=s.keys(n),i=a(n)?[]:{};e.unshift(t),e.on("drain",function(){r(null,i)})}function e(o,c){return function(e,n,r,t){2===arguments.length&&(r=n,n=y),3===arguments.length&&"number"!=typeof n&&(t=r,r=n,n=y);var i=s.keys(e),u=a(e)?[]:{};i.forEach(function(t){u[t]=function(n){r(e[t],n)}}),f(u,o||n,c?c(e,t):t)}}function r(n){return e(n,function(n,t){return function(n){t(n)}})}function i(n){return e(n,function(i,u){return function(n,e){function t(n,t){return!!e[t]}return n?void u(n):void u(null,a(e)?i.filter(t):(r={}
5,s.keys(i).forEach(function(n){t(0,n)&&(r[n]=i[n])}),r));var r}})}function d(e){var r={};return(e=e===t?{}:e).on=function(n,t){r[n]?r[n].push(t):r[n]=[t]},e.once=function(n,t){t._once=!0,e.on(n,t)},e.off=function(n,t){n=r[n];n&&n.splice(n.indexOf(t),1)},e.emit=function(){var t=l(arguments),n=t.shift(),e=r[n];if("error"===n&&!e)throw 1===t.length?t[0]:t;e&&(r[n]=e.filter(function(n){return p(n,t),!n._once}))},e}function o(t,n){function e(n){var e=n?"unshift":"push";return function(n,t){(a(n)?n:[n]).forEach(function(n){u[e]({t:n,done:t})}),p(r)}}function r(){var n;i||c!==y&&c<=o||(u.length?(o++,n=u.pop(),t(n.t,h(function(n){o--,p(n.done,l(arguments,1)),p(r)}.bind(null,n))),p(r)):0===o&&f.emit("drain"))}var i,u=[],o=0,c=n||1,f=d({push:e(!1),unshift:e(!0),pause:function(){i=!0},resume:function(){i=!1,p(r)},pending:u});return s.defineProperty&&!s.definePropertyPartial&&s.defineProperty(f,"length",{get:function(){return u.length}}),f}var c="undefined",y=1/0,m="function"==typeof setImmediate,v=typeof process!=c&&process.nextTick?m?setImmediate:process.nextTick:m?function(n){setImmediate(n)}:function(n){setTimeout(n,0)},m={curry:function(){var t=l(arguments),e=t.shift();return function(){var n=l(arguments);e.apply(e,t.concat(n))}},concurrent:f,series:function(n,t){f(n,1,t)},waterfall:function(i,n){!function e(){var r=h(n);return h(function(){var n=l(arguments),t=i.shift();t?u(n,r)||(n.push(e()),p(t,n)):p(r,arguments)})}()()},each:r(),map:e(),filter:i(),queue:o,emitter:d};m.each.series=r(1),m.map.series=e(1),m.filter.series=i(1),typeof module!=c&&module.exports?module.exports=m:n.contra=m}(Object,this); 6!function(e){var n,o;"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():(n=window.Cookies,(o=window.Cookies=e()).noConflict=function(){return window.Cookies=n,o})}(function(){function u(){for(var e=0,n={};e<arguments.length;e++){var o,t=arguments[e];for(o in t)n[o]=t[o]}return n}return function e(d){function f(e,n,o){var t,i;if(1<arguments.length){"number"==typeof(o=u({path:"/"},f.defaults,o)).expires&&((i=new Date).setMilliseconds(i.getMilliseconds()+864e5*o.expires),o.expires=i);try{t=JSON.stringify(n),/^[\{\[]/.test(t)&&(n=t)}catch(e){}return n=(n=encodeURIComponent(String(n))).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[e,"=",n,o.expires&&"; expires="+o.expires.toUTCString(),o.path&&"; path="+o.path,o.domain&&"; domain="+o.domain,o.secure?"; secure":""].join("")}e||(t={});for(var r=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,s=0;s<r.length;s++){var p=r[s].split("="),a=p[0].replace(c,decodeURIComponent);'"'===(p=p.slice(1).join("=")).charAt(0)&&(p=p.slice(1,-1));try{if(p=d&&d(p,a)||p.replace(c,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(e){}if(e===a){t=p;break}e||(t[a]=p)}catch(e){}}return t}return(f.get=f.set=f).getJSON=function(){return f.apply({json:!0},[].slice.call(arguments))},f.defaults={},f.remove=function(e,n){f(e,"",u(n,{expires:-1}))},f.withConverter=e,f}()}); 7var console;void 0!==console&&void 0!==console.log||(console={log:function(){}});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",this.hasPlaceholder="placeholder"in document.createElement("input")},searchString:function(i){for(var n=0;n<i.length;n++){var r=i[n].string,t=i[n].prop;if(this.versionSearchString=i[n].versionSearch||i[n].identity,r){if(-1!=r.indexOf(i[n].subString))return i[n].identity}else if(t)return i[n].identity}},searchVersion:function(i){var n=i.indexOf(this.versionSearchString);if(-1!=n)return parseFloat(i.substring(n+this.versionSearchString.length+1))},dataBrowser:[{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera",versionSearch:"Version"},{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,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:".NET",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.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.userAgent,subString:"iPhone",identity:"iDevice"},{string:navigator.userAgent,subString:"iPad",identity:"iDevice"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};BrowserDetect.init(); 8!function(t,r,n){function u(t,e){var i,o=r.createElement(t||"div");for(i in e)o[i]=e[i];return o}function p(t){for(var e=1,i=arguments.length;e<i;e++)t.appendChild(arguments[e]);return t}function o(t,e){var i,o,r=t.style;if(r[e]!==n)return e;for(e=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<s.length;o++)if(r[i=s[o]+e]!==n)return i}function c(t,e){for(var i in e)t.style[o(t,i)||i]=e[i];return t}function e(t){for(var e=1;e<arguments.length;e++){var i,o=arguments[e];for(i in o)t[i]===n&&(t[i]=o[i])}return t}function h(t){for(var e={x:t.offsetLeft,y:t.offsetTop};t=t.offsetParent;)e.x+=t.offsetLeft,e.y+=t.offsetTop;return e}function i(t){if(!this.spin)return new i(t);this.opts=e(t||{},i.defaults,l)}var y,a,s=["webkit","Moz","ms","O"],d={},m=(a=u("style"),p(r.getElementsByTagName("head")[0],a),a.sheet||a.styleSheet),l={lines:12,length:7,width:5,radius:10,rotate:0,color:"#000",speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"auto",left:"auto"};function f(t,e){return u("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',e)}i.defaults={},e(i.prototype,{spin:function(t){this.stop();var e,i,o,r,n,a,s,l=this,f=l.opts,p=l.el=c(u(0,{className:f.className}),{position:"relative",zIndex:f.zIndex}),d=f.radius+f.length+f.width;return t&&(t.insertBefore(p,t.firstChild||null),i=h(t),e=h(p),c(p,{left:("auto"==f.left?i.x-e.x+(t.offsetWidth>>
81):f.left+d)+"px",top:("auto"==f.top?i.y-e.y+(t.offsetHeight>>1):f.top+d)+"px"})),p.setAttribute("aria-role","progressbar"),l.lines(p,l.opts),y||(o=0,r=f.fps,n=r/f.speed,a=(1-f.opacity)/(n*f.trail/100),s=n/f.lines,function t(){o++;for(var e=f.lines;e;e--){var i=Math.max(1-(o+e*s)%n*a,f.opacity);l.opacity(p,f.lines-e,i,f)}l.timeout=l.el&&setTimeout(t,~~(1e3/r))}()),l},stop:function(){var t=this.el;return t&&(clearTimeout(this.timeout),t.parentNode&&t.parentNode.removeChild(t),this.el=n),this},lines:function(t,i){function e(t,e){return c(u(),{position:"absolute",width:i.length+i.width+"px",height:i.width+"px",background:t,boxShadow:e,transformOrigin:"left",transform:"rotate("+~~(360/i.lines*f+i.rotate)+"deg) translate("+i.radius+"px,0)",borderRadius:(i.width>>1)+"px"})}for(var o,r,n,a,s,l,f=0;f<i.lines;f++)s=c(u(),{position:"absolute",top:1+~(i.width/2)+"px",transform:i.hwaccel?"translate3d(0,0,0)":"",opacity:i.opacity,animation:y&&(o=i.opacity,r=i.trail,n=f,a=i.lines,l=s=void 0,s=["opacity",r,~~(100*o),n,a].join("-"),l=.01+n/a*100,n=Math.max(1-(1-o)/r*(100-l),o),a=y.substring(0,y.indexOf("Animation")).toLowerCase(),d[s]||(m.insertRule("@"+(a&&"-"+a+"-"||"")+"keyframes "+s+"{0%{opacity:"+n+"}"+l+"%{opacity:"+o+"}"+(.01+l)+"%{opacity:1}"+(l+r)%100+"%{opacity:"+o+"}100%{opacity:"+n+"}}",0),d[s]=1),s+" "+1/i.speed+"s linear infinite")}),i.shadow&&p(s,c(e("#000","0 0 4px #000"),{top:"2px"})),p(t,p(s,e(i.color,"0 0 1px rgba(0,0,0,.1)")));return t},opacity:function(t,e,i){e<t.childNodes.length&&(t.childNodes[e].style.opacity=i)}}),!o(a=c(u("group"),{behavior:"url(#default#VML)"}),"transform")&&a.adj?(m.addRule(".spin-vml","behavior:url(#default#VML)"),i.prototype.lines=function(t,o){function r(){return c(f("group",{coordsize:a+" "+a,coordorigin:-n+" "+-n}),{width:a,height:a})}function e(t,e,i){p(l,p(c(r(),{rotation:360/o.lines*t+"deg",left:~~e}),p(c(f("roundrect",{arcsize:1}),{width:n,height:o.width,left:o.radius,top:-o.width>>1,filter:i}),f("fill",{color:o.color,opacity:o.opacity}),f("stroke",{opacity:0}))))}var i,n=o.length+o.width,a=2*n,s=2*-(o.width+o.length)+"px",l=c(r(),{position:"absolute",top:s,left:s});if(o.shadow)for(i=1;i<=o.lines;i++)e(i,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(i=1;i<=o.lines;i++)e(i);return p(t,l)},i.prototype.opacity=function(t,e,i,o){t=t.firstChild;o=o.shadow&&o.lines||0,t&&e+o<t.childNodes.length&&((t=(t=(t=t.childNodes[e+o])&&t.firstChild)&&t.firstChild)&&(t.opacity=i))}):y=o(a,"animation"),t.Spinner=i}(window,document); 9Array.prototype.indexOf||(Array.prototype.indexOf=function(r,t){for(var e=t||0,n=this.length;e<n;e++)if(this[e]===r)return e;return-1}); 10!function(z){var w,e={className:"autosizejs",id:"autosizejs",append:"\n",callback:!1,resizeDelay:10,placeholder:!0},b=["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","textTransform","wordSpacing","textIndent","whiteSpace"],f=z('<textarea tabindex="-1"/>').data("autosize",!0)[0];f.style.cssText="position:absolute; top:-999px; left:0; right:auto; bottom:auto; border:0; padding: 0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; overflow:hidden; transition:none; -webkit-transition:none; -moz-transition:none;",(f.style.lineHeight="99px")===z(f).css("lineHeight")&&b.push("lineHeight"),f.style.lineHeight="",z.fn.autosize=function(p){return this.length?(p=z.extend({},e,p||{}),f.parentNode!==document.body&&z(document.body).append(f),this.each(function(){var i,a,e,n=this,s=z(n),r=0,l=z.isFunction(p.callback),t={height:n.style.height,overflow:n.style.overflow,overflowY:n.style.overflowY,wordWrap:n.style.wordWrap,resize:n.style.resize},o=s.width(),d=s.css("resize");function c(){var o,i=window.getComputedStyle?window.getComputedStyle(n,null):null;i?(o=parseFloat(i.width),"border-box"!==i.boxSizing&&"border-box"!==i.webkitBoxSizing&&"border-box"!==i.mozBoxSizing||z.each(["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],function(e,t){o-=parseFloat(i[t])})):o=s.width(),f.style.width=Math.max(o,0)+"px"}function h(){var e,t,o;w!==n?(o={},w=n,f.className=p.className,f.id=p.id,i=parseFloat(s.css("maxHeight")),z.each(b,function(e,t){o[t]=s.css(t)}),z(f).css(o).attr("wrap",s.attr("wrap")),c(),window.chrome&&(t=n.style.width,n.style.width="0px",n.offsetWidth,n.style.width=t)):c(),!n.value&&p.placeholder?f.value=s.attr("placeholder")||"":f.value=n.value,f.value+=p.append||"",f.style.overflowY=n.style.overflowY,e=parseFloat(n.style.height)||0,f.scrollTop=0,f.scrollTop=9e4,t=f.scrollTop,i&&i<t?(n.style.overflowY="scroll",t=i):(n.style.overflowY="hidden",t<a&&(t=a)),t+=r,.01<Math.abs(e-t)&&(n.style.height=t+"px",f.className=f.className,l&&p.callback.call(n,n),s.trigger("autosize.resized"))}function u(){clearTimeout(e),e=setTimeout(function(){var e=s.width();e!==o&&(o=e,h())},parseInt(p.resizeDelay,10))}s.data("autosize")||(s.data("autosize",!0),"border-box"!==s.css("box-sizing")&&"border-box"!==s.css("-moz-box-sizing")&&"border-box"!==s.css("-webkit-box-sizing")||(r=s.outerHeight()-s.height()),a=Math.max(parseFloat(s.css("minHeight"))-r||0,s.height()),s.css({overflow:"hidden",overflowY:"hidden",
10wordWrap:"break-word"}),"vertical"===d?s.css("resize","none"):"both"===d&&s.css("resize","horizontal"),"onpropertychange"in n?"oninput"in n?s.on("input.autosize keyup.autosize",h):s.on("propertychange.autosize",function(){"value"===event.propertyName&&h()}):s.on("input.autosize",h),!1!==p.resizeDelay&&z(window).on("resize.autosize",u),s.on("autosize.resize",h),s.on("autosize.resizeIncludeStyle",function(){w=null,h()}),s.on("autosize.destroy",function(){w=null,clearTimeout(e),z(window).off("resize",u),s.off("autosize").off(".autosize").css(t).removeData("autosize")}),h())})):this}}(jQuery||$); 11!function(t){t.fn.doc=function(){var n=this[0];if(t.nodeName(n,"iframe")){try{if(n.contentDocument)return n.contentDocument}catch(n){}try{if(n.contentWindow&&element.contentWindow.document)return n.contentWindow.document}catch(n){}try{if(n.document)return n.document}catch(n){}}return null}}(jQuery); 12!function(l){var i="resolver";function t(s,n,t,i,e,h){if(l.isFunction(t)){for(var a=[],o=0;o<s.length;o++){var r=s[o];a.push(n[r])}t.apply(null,[i].concat(a))}else if("string"==typeof t)switch(t){case"any":for(r in n)if(!0===n[r])return void e(i);h(i);case"all":for(r in n)if(!1===n[r])return void h(i);e(i)}}function e(s,n,t,i,e){this.element=s,this.$element=l(s),this.init(n,t,i,e)}e.prototype={init:function(s,n,t,i){this.onFn=t||function(s){s.show()},this.offFn=i||function(s){s.hide()},this.namesHash={},this.params=s||[],this.resolver=n||function(){return!1},this.reset()},set:function(s,n){if(l.isPlainObject(s)){for(k in s)null!=this.namesHash[k]&&(this.namesHash[k]=s[k]);t(this.params,this.namesHash,this.resolver,this.$element,this.onFn,this.offFn)}else null!=this.namesHash[s]&&(this.namesHash[s]=n=null==n?!0:n,t(this.params,this.namesHash,this.resolver,this.$element,this.onFn,this.offFn))},unset:function(s){null!=this.namesHash[s]&&(this.namesHash[s]=!1,t(this.params,this.namesHash,this.resolver,this.$element,this.onFn,this.offFn))},reset:function(){this.namesHash={};for(var s=0;s<this.params.length;s++)this.namesHash[this.params[s]]=!1;t(this.params,this.namesHash,this.resolver,this.$element,this.onFn,this.offFn)}},l.fn[i]=function(n){var n=arguments[0],t=2<=arguments.length?[].slice.call(arguments,1):[];return this.each(function(){var s;l.isPlainObject(n)?l.data(this,"plugin_"+i)||l.data(this,"plugin_"+i,new e(this,n.params,n.resolver,n.onFn,n.offFn)):"string"!=typeof n||null!=(s=l.data(this,"plugin_"+i))&&null!=s[n]&&s[n].apply(s,t)})}}(jQuery,(window,document)); 13!function(n){n.fn.visible=function(i){return i?n(this).show():n(this).hide()}}(jQuery); 14Number.prototype.toFileSize=function(){var t=this;return 1073741824<t?Math.round(t/1073741824*10)/10+"GB":1048576<t?Math.round(t/1048576*10)/10+"MB":1024<t?Math.round(t/1024)+"KB":t.toString()}; 15Number.prototype.secondsToWords=function(){function e(e){return 1<e?"s":""}var t=Math.floor(this),r=Math.floor(t/31536e3);if(r)return r+" year"+e(r);r=Math.floor((t%=31536e3)/86400);if(r)return r+" day"+e(r);r=Math.floor((t%=86400)/3600);if(r)return r+" hour"+e(r);r=Math.round((t%=3600)/60);if(r)return r+" minute"+e(r);t%=60;return t?t+" second"+e(t):"less than a second"},Number.prototype.toWords=function(){var s=["","thousand","million","billion","trillion"],a=["zero","one","two","three","four","five","six","seven","eight","nine"],h=["ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],l=["twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"];return function(e){var t=this.toString();if((t=t.replace(/[\, ]/g,""))!=parseFloat(t))return t;var r=t.indexOf(".");if(15<(r=-1==r?t.length:r))return"too big";for(var n=t.split(""),o="",i=0,f=0;f<r;f++)(r-f)%3==2?"1"==n[f]?(o+=h[Number(n[f+1])]+" ",f++,i=1):0!=n[f]&&(o+=l[n[f]-2]+" ",i=1):0!=n[f]&&(o+=a[n[f]]+" ",(r-f)%3==0&&(o+="hundred "),i=1),(r-f)%3==1&&(i&&(o+=s[(r-f-1)/3]+" "),i=0);if(r!=t.length){var u=t.length;o+="point ";for(f=r+1;f<u;f++)o+=a[n[f]]+" "}return o=o.replace(/\s+/g," "),o=e?o.charAt(0).toUpperCase()+o.slice(1):o}}(); 16String.prototype.splice=function(t,i,s){return this.slice(0,t)+s+this.slice(t+Math.abs(i))}; 17!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(e){var r,n={get:function(t){return o[r].get.apply(this,[t])},set:function(t,e){var n,i=parseInt(t),s=parseInt(e);return void 0===t?i=0:t<0&&(i=this[0].value.length+i),void 0!==e&&(n=0<=e?i+s:this[0].value.length+s),o[r].set.apply(this,[i,n]),this},setcursor:function(t){return this.textrange("set",t,0)},replace:function(t){return o[r].replace.apply(this,[String(t)]),this},insert:function(t){return this.textrange("replace",t)}},o={xul:{get:function(t){var e={position:this[0].selectionStart,start:this[0].selectionStart,end:this[0].selectionEnd,length:this[0].selectionEnd-this[0].selectionStart,text:this.val().substring(this[0].selectionStart,this[0].selectionEnd)};return void 0===t?e:e[t]},set:function(t,e){void 0===e&&(e=this[0].value.length),this[0].selectionStart=t,this[0].selectionEnd=e},replace:function(t){var e=this[0].selectionStart,n=this[0].selectionEnd,i=this.val();this.val(i.substring(0,e)+t+i.substring(n,i.length)),this[0].selectionStart=e,this[0].selectionEnd=e+t.length}},msie:{get:function(t){var e=document.selection.createRange();if(void 0===e){var n={position:0,start:0,end:this.val().length,length:this.val().length,text:this.val()};return void 0===t?n:n[t]}var i=0,s=0,r=this[0].value.length,o=this[0].value.replace(/\r\n/g,"\n"),a=this[0].createTextRange(),l=this[0].createTextRange();a.moveToBookmark(e.getBookmark()),l.collapse(!1),-1===a.compareEndPoints("StartToEnd",l)?(i=-a.moveStart("character",-r),i+=o.slice(0,i).split("\n").length-1,-1===a.compareEndPoints("EndToEnd",l)?(s=-a.moveEnd("character",-r),s+=o.slice(0,s).split("\n").length-1):s=r):s=i=r;n={position:i,start:i,end:s,length:r,text:e.text};return void 0===t?n:n[t]},set:function(t,e){var n=this[0].createTextRange();void 0!==n&&(void 0===e&&(e=this[0].value.length),t=t-(this[0].value.slice(0,t).split("\r\n").length-1),e=e-(this[0].value.slice(0,e).split("\r\n").length-1),n.collapse(!0),n.moveEnd("character",e),n.moveStart("character",t),n.select())},replace:function(t){document.selection.createRange().text=t}}};e.fn.textrange=function(t){return void 0===this[0]||"unknown"===(r=void 0===r?"selectionStart"in this[0]?"xul":document.selection?"msie":"unknown":r)?this:(document.activeElement!==this[0]&&this[0].focus(),void 0===t||"string"!=typeof t?n.get.apply(this):"function"==typeof n[t]?n[t].apply(this,Array.prototype.slice.call(arguments,1
17)):void e.error("Method "+t+" does not exist in jQuery.textrange"))}}); 18!function(X){var Y="left",j="right",C="up",Q="down",q="in",F="out",V="none",W="auto",z="horizontal",G="vertical",Z="all",B="start",J="move",K="end",$="cancel",ee="ontouchstart"in window,te="TouchSwipe";function a(e,i){var t=ee||!i.fallbackToMouseEvents,n=t?"touchstart":"mousedown",r=t?"touchmove":"mousemove",l=t?"touchend":"mouseup",a="touchcancel",s=0,u=null,o=0,c=0,h=0,p=1,d=0,f=X(e),w="start",g=0,v=null,S=0,b=0;try{f.bind(n,y),f.bind(a,T)}catch(e){X.error("events not supported "+n+","+a+" on jQuery.swipe")}function y(e){if(!0!==f.data(te+"_intouch")&&!(0<X(e.target).closest(i.excludedElements,f).length)){e=e.originalEvent;var t,n=ee?e.touches[0]:e;if(w=B,ee?g=e.touches.length:e.preventDefault(),d=u=null,h=c=o=s=0,p=1,v=function(){for(var e=[],t=0;t<=5;t++)e.push({start:{x:0,y:0},end:{x:0,y:0},delta:{x:0,y:0}});return e}(),!ee||g===i.fingers||i.fingers===Z||H()?(v[0].start.x=v[0].end.x=n.pageX,v[0].start.y=v[0].end.y=n.pageY,S=I(),2==g&&(v[1].start.x=v[1].end.x=e.touches[1].pageX,v[1].start.y=v[1].end.y=e.touches[1].pageY,c=h=D(v[0].start,v[1].start)),(i.swipeStatus||i.pinchStatus)&&(t=O(e,w))):(T(),t=!1),!1===t)return O(e,w=$),t;_(!0),f.bind(r,x),f.bind(l,E)}}function x(e){var t,n;e=e.originalEvent,w!==K&&w!==$&&(n=ee?e.touches[0]:e,v[0].end.x=(ee?e.touches[0]:n).pageX,v[0].end.y=(ee?e.touches[0]:n).pageY,b=I(),u=N(v[0].start,v[0].end),ee&&(g=e.touches.length),w=J,2==g&&(0==c?(v[1].start.x=e.touches[1].pageX,v[1].start.y=e.touches[1].pageY,c=h=D(v[0].start,v[1].start)):(v[1].end.x=e.touches[1].pageX,v[1].end.y=e.touches[1].pageY,h=D(v[0].end,v[1].end),d=A(v[0].end,v[1].end)),p=k(c,h)),g!==i.fingers&&i.fingers!==Z&&ee?O(e,w=$):(function(e,t){if(i.allowPageScroll===V||H())e.preventDefault();else{var n=i.allowPageScroll===W;switch(t){case Y:(i.swipeLeft&&n||!n&&i.allowPageScroll!=z)&&e.preventDefault();break;case j:(i.swipeRight&&n||!n&&i.allowPageScroll!=z)&&e.preventDefault();break;case C:(i.swipeUp&&n||!n&&i.allowPageScroll!=G)&&e.preventDefault();break;case Q:(i.swipeDown&&n||!n&&i.allowPageScroll!=G)&&e.preventDefault()}}}(e,u),s=L(v[0].start,v[0].end),o=P(v[0].start,v[0].end),(i.swipeStatus||i.pinchStatus)&&(t=O(e,w)),i.triggerOnTouchEnd||(n=!m(),!0===M()?t=O(e,w=K):n&&O(e,w=$))),!1===t&&O(e,w=$))}function E(e){if((e=e.originalEvent).touches&&0<e.touches.length)return!0;var t,n,a;e.preventDefault(),b=I(),0!=c&&(h=D(v[0].end,v[1].end),p=k(c,h),d=A(v[0].end,v[1].end)),s=L(v[0].start,v[0].end),u=N(v[0].start,v[0].end),o=b-S,i.triggerOnTouchEnd||!1===i.triggerOnTouchEnd&&w===J?(w=K,a=U()||!H(),t=g===i.fingers||i.fingers===Z||!ee,n=0!==v[0].end.x,t&&n&&a?(n=m(),!0!==(a=M())&&null!==a||!n?n&&!1!==a||O(e,w=$):O(e,w)):O(e,w=$)):w===J&&O(e,w=$),f.unbind(r,x,!1),f.unbind(l,E,!1),_(!1)}function T(){h=c=S=b=g=0,_(!(p=1))}function O(e,t){var n=void 0;if(i.swipeStatus&&(n=i.swipeStatus.call(f,e,t,u||null,s||0,o||0,g)),i.pinchStatus&&U()&&(n=i.pinchStatus.call(f,e,t,d||null,h||0,o||0,g,p)),t===$&&(!i.click||1!==g&&ee||!isNaN(s)&&0!==s||(n=i.click.call(f,e,e.target))),t==K){switch(i.swipe&&(n=i.swipe.call(f,e,u,s,o,g)),u){case Y:i.swipeLeft&&(n=i.swipeLeft.call(f,e,u,s,o,g));break;case j:i.swipeRight&&(n=i.swipeRight.call(f,e,u,s,o,g));break;case C:i.swipeUp&&(n=i.swipeUp.call(f,e,u,s,o,g));break;case Q:i.swipeDown&&(n=i.swipeDown.call(f,e,u,s,o,g))}switch(d){case q:i.pinchIn&&(n=i.pinchIn.call(f,e,d||null,h||0,o||0,g,p));break;case F:i.pinchOut&&(n=i.pinchOut.call(f,e,d||null,h||0,o||0,g,p))}}return t!==$&&t!==K||T(),n}function M(){return null!==i.threshold?s>=i.threshold:null}function m(){var e=!i.maxTimeThreshold||!(o>=i.maxTimeThreshold);return e}function P(){return b-S}function D(e,t){var n=Math.abs(e.x-t.x),t=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+t*t))}function k(e,t){return(t/e*1).toFixed(2)}function A(){return p<1?F:q}function L(e,t){return Math.round(Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)))}function N(e,t){var n,a,a=(a=(n=e).x-t.x,n=t.y-e.y,a=Math.atan2(n,a),a=(a=Math.round(180*a/Math.PI))<0?360-Math.abs(a):a);return a<=45&&0<=a||a<=360&&315<=a?Y:135<=a&&a<=225?j:45<a&&a<135?Q:C}function I(){return(new Date).getTime()}function R(){f.unbind(n,y),f.unbind(a,T),f.unbind(r,x),f.unbind(l,E),_(!1)}function H(){return i.pinchStatus||i.pinchIn||i.pinchOut}function U(){return d&&H()}function _(e){f.data(te+"_intouch",e=!0===e)}this.enable=function(){return f.bind(n,y),f.bind(a,T),f},this.disable=function(){return R(),f},this.destroy=function(){return R(),f.data(te,null),f}}X.fn.swipe=function(e){var t=X(this),n=t.data(te);if(n&&"string"==typeof e){if(n[e])return n[e].apply(this,Array.prototype.slice.call(arguments,1
18));X.error("Method "+e+" does not exist on jQuery.swipe")}else if(!(n||"object"!=typeof e&&e))return function(n){!n||void 0!==n.allowPageScroll||void 0===n.swipe&&void 0===n.swipeStatus||(n.allowPageScroll=V);n=n||{};return n=X.extend({},X.fn.swipe.defaults,n),this.each(function(){var e,t=X(this);(e=t.data(te))||(e=new a(this,n),t.data(te,e))})}.apply(this,arguments);return t},X.fn.swipe.defaults={fingers:1,threshold:75,maxTimeThreshold:null,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,triggerOnTouchEnd:!0,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"button, input, select, textarea, a, .noSwipe"},X.fn.swipe.phases={PHASE_START:B,PHASE_MOVE:J,PHASE_END:K,PHASE_CANCEL:$},X.fn.swipe.directions={LEFT:Y,RIGHT:j,UP:C,DOWN:Q,IN:q,OUT:F},X.fn.swipe.pageScroll={NONE:V,HORIZONTAL:z,VERTICAL:G,AUTO:W},X.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:Z}}(jQuery); 19!function(){function p(e){var s=" ";if(isNaN(parseInt(e)))s=e;else switch(e){case 1:s=" ";break;case 2:s=" ";break;case 3:s=" ";break;case 4:s=" ";break;case 5:s=" ";break;case 6:s=" ";break;case 7:s=" ";break;case 8:s=" ";break;case 9:s=" ";break;case 10:s=" ";break;case 11:s=" ";break;case 12:s=" "}var r=["\n"];for(ix=0;ix<100;ix++)r.push(r[ix]+s);return r}function e(){this.step=" ",this.shift=p(this.step)}e.prototype.xml=function(e,s){for(var r=e.replace(/>\s{0,}</g,"><").replace(/</g,"~::~<").replace(/\s*xmlns\:/g,"~::~xmlns:").replace(/\s*xmlns\=/g,"~::~xmlns=").split("~::~"),a=r.length,c=!1,t=0,n="",i=0,l=s?p(s):this.shift,i=0;i<a;i++)-1<r[i].search(/<!/)?(n+=l[t]+r[i],c=!0,(-1<r[i].search(/-->/)||-1<r[i].search(/\]>/)||-1<r[i].search(/!DOCTYPE/))&&(c=!1)):-1<r[i].search(/-->/)||-1<r[i].search(/\]>/)?(n+=r[i],c=!1):/^<\w/.exec(r[i-1])&&/^<\/\w/.exec(r[i])&&/^<[\w:\-\.\,]+/.exec(r[i-1])==/^<\/[\w:\-\.\,]+/.exec(r[i])[0].replace("/","")?(n+=r[i],c||t--):-1<r[i].search(/<\w/)&&-1==r[i].search(/<\//)&&-1==r[i].search(/\/>/)?n=c?n+r[i]:n+(l[t++]+r[i]):-1<r[i].search(/<\w/)&&-1<r[i].search(/<\//)?n=c?n+r[i]:n+(l[t]+r[i]):-1<r[i].search(/<\//)?n=c?n+r[i]:n+(l[--t]+r[i]):-1<r[i].search(/\/>/)?n=c?n+r[i]:n+(l[t]+r[i]):-1<r[i].search(/<\?/)||-1<r[i].search(/xmlns\:/)||-1<r[i].search(/xmlns\=/)?n+=l[t]+r[i]:n+=r[i];return"\n"==n[0]?n.slice(1):n},e.prototype.json=function(e,s){s=s||this.step;return"undefined"==typeof JSON?e:"string"==typeof e?JSON.stringify(JSON.parse(e),null,s):"object"==typeof e?JSON.stringify(e,null,s):e},e.prototype.css=function(e,s){for(var r=e.replace(/\s{1,}/g," ").replace(/\{/g,"{~::~").replace(/\}/g,"~::~}~::~").replace(/\;/g,";~::~").replace(/\/\*/g,"~::~/*").replace(/\*\//g,"*/~::~").replace(/~::~\s{0,}~::~/g,"~::~").split("~::~"),a=r.length,c=0,t="",n=0,i=s?p(s):this.shift,n=0;n<a;n++)/\{/.exec(r[n])?t+=i[c++]+r[n]:/\}/.exec(r[n])?t+=i[--c]+r[n]:(/\*\\/.exec(r[n]),t+=i[c]+r[n]);return t.replace(/^\n{1,}/,"")},window.vkbeautify=new e}(); 20COUNTRY_CODES=[{label:"United States",data:"US",alpha3:"USA"},{label:"Aaland Islands",data:"AX",alpha3:"ALA"},{label:"Afghanistan",data:"AF",alpha3:"AFG"},{label:"Albania",data:"AL",alpha3:"ALB"},{label:"Algeria",data:"DZ",alpha3:"DZA"},{label:"Andorra",data:"AD",alpha3:"AND"},{label:"Angola",data:"AO",alpha3:"AGO"},{label:"Anguilla",data:"AI",alpha3:"AIA"},{label:"Antarctica",data:"AQ",alpha3:"ATA"},{label:"Antigua & Barbuda",data:"AG",alpha3:"ATG"},{label:"Argentina",data:"AR",alpha3:"ARG"},{label:"Armenia",data:"AM",alpha3:"ARM"},{label:"Aruba",data:"AW",alpha3:"ABW"},{label:"Australia",data:"AU",alpha3:"AUS"},{label:"Austria",data:"AT",alpha3:"AUT"},{label:"Azerbaijan",data:"AZ",alpha3:"AZE"},{label:"Bahamas",data:"BS",alpha3:"BHS"},{label:"Bahrain",data:"BH",alpha3:"BHR"},{label:"Bangladesh",data:"BD",alpha3:"BGD"},{label:"Barbados",data:"BB",alpha3:"BRB"},{label:"Belarus",data:"BY",alpha3:"BLR"},{label:"Belgium",data:"BE",alpha3:"BEL"},{label:"Belize",data:"BZ",alpha3:"BLZ"},{label:"Benin",data:"BJ",alpha3:"BEN"},{label:"Bermuda",data:"BM",alpha3:"BMU"},{label:"Bhutan",data:"BT",alpha3:"BTN"},{label:"Bolivia",data:"BO",alpha3:"BOL"},{label:"Bonaire Sint Eustatius & Saba",data:"BQ",alpha3:"BES"},{label:"Bosnia & Herzegovina",data:"BA",alpha3:"BIH"},{label:"Botswana",data:"BW",alpha3:"BWA"},{label:"Bouvet Island",data:"BV",alpha3:"BVT"},{label:"Brazil",data:"BR",alpha3:"BRA"},{label:"Britain (UK)",data:"GB",alpha3:"GBR"},{label:"British Indian Ocean Territory",data:"IO",alpha3:"IOT"},{label:"Brunei",data:"BN",alpha3:"BRN"},{label:"Bulgaria",data:"BG",alpha3:"BGR"},{label:"Burkina Faso",data:"BF",alpha3:"BFA"}
20,{label:"Burundi",data:"BI",alpha3:"BDI"},{label:"Cambodia",data:"KH",alpha3:"KHM"},{label:"Cameroon",data:"CM",alpha3:"CMR"},{label:"Canada",data:"CA",alpha3:"CAN"},{label:"Cape Verde",data:"CV",alpha3:"CPV"},{label:"Cayman Islands",data:"KY",alpha3:"CYM"},{label:"Central African Rep.",data:"CF",alpha3:"CAF"},{label:"Chad",data:"TD",alpha3:"TCD"},{label:"Chile",data:"CL",alpha3:"CHL"},{label:"China",data:"CN",alpha3:"CHN"},{label:"Christmas Island",data:"CX",alpha3:"CXR"},{label:"Cocos (Keeling) Islands",data:"CC",alpha3:"CCK"},{label:"Colombia",data:"CO",alpha3:"COL"},{label:"Comoros",data:"KM",alpha3:"COM"},{label:"Congo (Dem. Rep.)",data:"CD",alpha3:"COD"},{label:"Congo (Rep.)",data:"CG",alpha3:"COG"},{label:"Cook Islands",data:"CK",alpha3:"COK"},{label:"Costa Rica",data:"CR",alpha3:"CRI"},{label:"Cote d'Ivoire",data:"CI",alpha3:"CIV"},{label:"Croatia",data:"HR",alpha3:"HRV"},{label:"Cuba",data:"CU",alpha3:"CUB"},{label:"Curacao",data:"CW",alpha3:"CUW"},{label:"Cyprus",data:"CY",alpha3:"CYP"},{label:"Czech Republic",data:"CZ",alpha3:"CZE"},{label:"Denmark",data:"DK",alpha3:"DNK"},{label:"Djibouti",data:"DJ",alpha3:"DJI"},{label:"Dominica",data:"DM",alpha3:"DMA"},{label:"Dominican Republic",data:"DO",alpha3:"DOM"},{label:"Timor-Leste",data:"TL",alpha3:"TLS"},{label:"Ecuador",data:"EC",alpha3:"ECU"},{label:"Egypt",data:"EG",alpha3:"EGY"},{label:"El Salvador",data:"SV",alpha3:"SLV"},{label:"Equatorial Guinea",data:"GQ",alpha3:"GNQ"},{label:"Eritrea",data:"ER",alpha3:"ERI"},{label:"Estonia",data:"EE",alpha3:"EST"},{label:"Ethiopia",data:"ET",alpha3:"ETH"},{label:"Falkland Islands",data:"FK",alpha3:"FLK"},{label:"Faroe Islands",data:"FO",alpha3:"FRO"},{label:"Fiji",data:"FJ",alpha3:"FJI"},{label:"Finland",data:"FI",alpha3:"FIN"},{label:"France",data:"FR",alpha3:"FRA"},{label:"French Guiana",data:"GF",alpha3:"GUF"},{label:"French Polynesia",data:"PF",alpha3:"PYF"},{label:"French Southern & Antarctic Lands",data:"TF",alpha3:"ATF"},{label:"Gabon",data:"GA",alpha3:"GAB"},{label:"Gambia",data:"GM",alpha3:"GMB"},{label:"Georgia",data:"GE",alpha3:"GEO"},{label:"Germany",data:"DE",alpha3:"DEU"},{label:"Ghana",data:"GH",alpha3:"GHA"},{label:"Gibraltar",data:"GI",alpha3:"GIB"},{label:"Greece",data:"GR",alpha3:"GRC"},{label:"Greenland",data:"GL",alpha3:"GRL"},{label:"Grenada",data:"GD",alpha3:"GRD"},{label:"Guadeloupe",data:"GP",alpha3:"GLP"},{label:"Guam",data:"GU",alpha3:"GUM"},{label:"Guatemala",data:"GT",alpha3:"GTM"},{label:"Guernsey",data:"GG",alpha3:"GGY"},{label:"Guinea",data:"GN",alpha3:"GIN"},{label:"Guinea-Bissau",data:"GW",alpha3:"GNB"},{label:"Guyana",data:"GY",alpha3:"GUY"},{label:"Haiti",data:"HT",alpha3:"HTI"},{label:"Heard Island & McDonald Islands",data:"HM",alpha3:"HMD"},{label:"Honduras",data:"HN",alpha3:"HND"},{label:"Hong Kong",data:"HK",alpha3:"HKG"},{label:"Hungary",data:"HU",alpha3:"HUN"},{label:"Iceland",data:"IS",alpha3:"ISL"},{label:"India",data:"IN",alpha3:"IND"},{label:"Indonesia",data:"ID",alpha3:"IDN"},{label:"Iran",data:"IR",alpha3:"IRN"},{label:"Iraq",data:"IQ",alpha3:"IRQ"},{label:"Ireland",data:"IE",alpha3:"IRL"},{label:"Isle of Man",data:"IM",alpha3:"IMN"},{label:"Israel",data:"IL",alpha3:"ISR"},{label:"Italy",data:"IT",alpha3:"ITA"},{label:"Jamaica",data:"JM",alpha3:"JAM"},{label:"Japan",data:"JP",alpha3:"JPN"},{label:"Jersey",data:"JE",alpha3:"JEY"},{label:"Jordan",data:"JO",alpha3:"JOR"},{label:"Kazakhstan",data:"KZ",alpha3:"KAZ"},{label:"Kenya",data:"KE",alpha3:"KEN"},{label:"Kiribati",data:"KI",alpha3:"KIR"},{label:"Korea (North)",data:"KP",alpha3:"PRK"},{label:"Korea (South)",data:"KR",alpha3:"KOR"},{label:"Kuwait",data:"KW",alpha3:"KWT"},{label:"Kyrgyzstan",data:"KG",alpha3:"KGZ"},{label:"Laos",data:"LA",alpha3:"LAO"},{label:"Latvia",data:"LV",alpha3:"LVA"},{label:"Lebanon",data:"LB",alpha3:"LBN"},{label:"Lesotho",data:"LS",alpha3:"LSO"},{label:"Liberia",data:"LR",alpha3:"LBR"},{label:"Libya",data:"LY",alpha3:"LBY"},{label:"Liechtenstein",data:"LI",alpha3:"LIE"},{label:"Lithuania",data:"LT",alpha3:"LTU"},{label:"Luxembourg",data:"LU",alpha3:"LUX"},{label:"Macau",data:"MO",alpha3:"MAC"},{label:"Macedonia",data:"MK",alpha3:"MKD"},{label:"Madagascar",data:"MG",alpha3:"MDG"},{label:"Malawi",data:"MW",alpha3:"MWI"},{label:"Malaysia",data:"MY",alpha3:"MYS"},{label:"Maldives",data:"MV",alpha3:"MDV"},{label:"Mali",data:"ML",alpha3:"MLI"},{label:"Malta",data:"MT",alpha3:"MLT"},{label:"Marshall Islands",data:"MH",alpha3:"MHL"},{label:"Martinique",data:"MQ",alpha3:"MTQ"},{label:"Mauritania",data:"MR",alpha3:"MRT"},{label:"Mauritius",data:"MU",alpha3:"MUS"},{label:"Mayotte",data:"YT",alpha3:"MYT"},{label:"Mexico",data:"MX",alpha3:"MEX"},{label:"Micronesia",data:"FM",alpha3:"FSM"},{label:"Moldova",data:"MD",alpha3:"MDA"},{label:"Monaco",data:"MC",alpha3:"MCO"},{label:"Mongolia",data:"MN",alpha3:"MNG"},{label:"Montenegro",data:"ME",alpha3:"MNE"},{label:"Montserrat",data:"MS",alpha3:"MSR"},{label:"Morocco",data:"MA",alpha3:"MAR"},{label:"Mozambique",data:"MZ",alpha3:"MOZ"},{label:"Myanmar (Burma)",data:"MM",alpha3:"MMR"},{label:"Namibia",data:"NA",alpha3:"NAM"},{label:"Nauru",data:"NR",alpha3:"NRU"},{label:"Nepal",data:"NP",alpha3:"NPL"},{label:"Netherlands",data:"NL",alpha3:"NLD"},{label:"New Caledonia",data:"NC",alpha3:"NCL"},{label:"New Zealand",data:"NZ",alpha3:"NZL"},{label:"Nicaragua",data:"NI",alpha3:"NIC"},{label:"Niger",data:"NE",alpha3:"NER"},{label:"Nigeria",data:"NG",alpha3:"NGA"},{label:"Niue",data:"NU",alpha3:"NIU"},{label:"Norfolk Island",data:"NF",alpha3:"NFK"},{label:"Northern Mariana Islands",data:"MP",alpha3:"MNP"},{label:"Norway",data:"NO",alpha3:"NOR"},{label:"Oman",data:"OM",alpha3:"OMN"},{label:"Pakistan",data:"PK",alpha3:"PAK"},{label:"Palau",data:"PW",alpha3:"PLW"},{label:"Palestine",data:"PS",alpha3:"PSE"},{label:"Panama",data:"PA",alpha3:"PAN"},{label:"Papua New Guinea",data:"PG",alpha3:"PNG"},{label:"Paraguay",data:"PY",alpha3:"PRY"},{label:"Peru",data:"PE",alpha3:"PER"},{label:"Philippines",data:"PH",alpha3:"PHL"},{label:"Pitcairn",data:"PN",alpha3:"PCN"},{label:"Poland",data:"PL",alpha3:"POL"},{label:"Portugal",data:"PT",alpha3:"PRT"},{label:"Puerto Rico",data:"PR",alpha3:"PRI"},{label:"Qatar",data:"QA",alpha3:"QAT"},{label:"Reunion",data:"RE",alpha3:"REU"},{label:"Romania",data:"RO",alpha3:"ROU"},{label:"Russia",data:"RU",alpha3:"RUS"},{label:"Rwanda",data:"RW",alpha3:"RWA"},{label:"Samoa (American)",data:"AS",alpha3:"ASM"},{label:"Samoa (western)",data:"WS",alpha3:"WSM"},{label:"San Marino",data:"SM",alpha3:"SMR"},{label:"Sao Tome & Principe",data:"ST",alpha3:"STP"},{label:"Saudi Arabia",data:"SA",alpha3:"SAU"},{label:"Senegal",data:"SN",alpha3:"SEN"},{label:"Serbia",data:"RS",alpha3:"SRB"},{label:"Seychelles",data:"SC",alpha3:"SYC"},{label:"Sierra Leone",data:"SL",alpha3:"SLE"},{label:"Singapore",data:"SG",alpha3:"SGP"},{label:"Sint Maarten",data:"SX",alpha3:"SXM"},{label:"Slovakia",data:"SK",alpha3:"SVK"},{label:"Slovenia",data:"SI",alpha3:"SVN"},{label:"Solomon Islands",data:"SB",alpha3:"SLB"},{label:"Somalia",data:"SO",alpha3:"SOM"},{label:"South Africa",data:"ZA",alpha3:"ZAF"},{label:"South Georgia & the South Sandwich Islands",data:"GS",alpha3:"SGS"},{label:"South Sudan",data:"SS",alpha3:"SSD"},{label:"Spain",data:"ES",alpha3:"ESP"},{label:"Sri Lanka",data:"LK",alpha3:"LKA"},{label:"St Barthelemy",data:"BL",alpha3:"BLM"},{label:"St Helena",data:"SH",alpha3:"SHN"},{label:"St Kitts & Nevis",data:"KN",alpha3:"KNA"},{label:"St Lucia",data:"LC",alpha3:"LCA"},{label:"St Martin (French part)",data:"MF",alpha3:"MAF"},{label:"St Pierre & Miquelon",data:"PM",alpha3:"SPM"},{label:"St Vincent",data:"VC",alpha3:"VCT"},{label:"Sudan",data:"SD",alpha3:"SDN"},{label:"Suriname",data:"SR",alpha3:"SUR"},{label:"Svalbard & Jan Mayen",data:"SJ",alpha3:"SJM"},{label:"Swaziland",data:"SZ",alpha3:"SWZ"},{label:"Sweden",data:"SE",alpha3:"SWE"},{label:"Switzerland",data:"CH",alpha3:"CHE"},{label:"Syria",data:"SY",alpha3:"SYR"},{label:"Taiwan",data:"TW",alpha3:"TWN"},{label:"Tajikistan",data:"TJ",alpha3:"TJK"},{label:"Tanzania",data:"TZ",alpha3:"TZA"},{label:"Thailand",data:"TH",alpha3:"THA"},{label:"Togo",data:"TG",alpha3:"TGO"},{label:"Tokelau",data:"TK",alpha3:"TKL"},{label:"Tonga",data:"TO",alpha3:"TON"},{label:"Trinidad & Tobago",data:"TT",alpha3:"TTO"},{label:"Tunisia",data:"TN",alpha3:"TUN"},{label:"Turkey",data:"TR",alpha3:"TUR"},{label:"Turkmenistan",data:"TM",alpha3:"TKM"},{label:"Turks & Caicos Is",data:"TC",alpha3:"TCA"},{label:"Tuvalu",data:"TV",alpha3:"TUV"},{label:"Uganda",data:"UG",alpha3:"UGA"},{label:"Ukraine",data:"UA",alpha3:"UKR"},{label:"United Arab Emirates",data:"AE",alpha3:"ARE"},{label:"Uruguay",data:"UY",alpha3:"URY"},{label:"US minor outlying islands",data:"UM",alpha3:"UMI"},{label:"Uzbekistan",data:"UZ",alpha3:"UZB"},{label:"Vanuatu",data:"VU",alpha3:"VUT"},{label:"Vatican City",data:"VA",alpha3:"VAT"},{label:"Venezuela",data:"VE",alpha3:"VEN"},{label:"Vietnam",data:"VN",alpha3:"VNM"},{label:"Virgin Islands (UK)",data:"VG",alpha3:"VGB"},{label:"Virgin Islands (US)",data:"VI",alpha3:"VIR"},{label:"Wallis & Futuna",data:"WF",alpha3:"WLF"},{label:"Western Sahara",data:"EH",alpha3:"ESH"},{label:"Yemen",data:"YE",alpha3:"YEM"},{label:"Zambia",data:"ZM",alpha3:"ZMB"},{label:"Zimbabwe",data:"ZW",alpha3:"ZWE"},{label:"Other",data:"ZZ",alpha3:"ZZZ"}]; 21REGION_CODES=[{label:"Alabama",data:"AL"},{label:"Alaska",data:"AK"},{label:"Arizona",data:"AZ"},{label:"Arkansas",data:"AR"},{label:"California",data:"CA"},{label:"Colorado",data:"CO"},{label:"Connecticut",data:"CT"},{label:"Delaware",data:"DE"},{label:"District of Columbia",data:"DC"},{label:"Florida",data:"FL"},{label:"Georgia",data:"GA"},{label:"Hawaii",data:"HI"},{label:"Idaho",data:"ID"},{label:"Illinois",data:"IL"},{label:"Indiana",data:"IN"},{label:"Iowa",data:"IA"},{label:"Kansas",data:"KS"},{label:"Kentucky",data:"KY"},{label:"Louisiana",data:"LA"},{label:"Maine",data:"ME"},{label:"Maryland",data:"MD"},{label:"Massachusetts",data:"MA"},{label:"Michigan",data:"MI"},{label:"Minnesota",data:"MN"},{label:"Mississippi",data:"MS"},{label:"Missouri",data:"MO"},{label:"Montana",data:"MT"},{label:"Nebraska",data:"NE"},{label:"Nevada",data:"NV"},{label:"New Hampshire",data:"NH"},{label:"New Jersey",data:"NJ"},{label:"New Mexico",data:"NM"},{label:"New York",data:"NY"},{label:"North Carolina",data:"NC"},{label:"North Dakota",data:"ND"},{label:"Ohio",data:"OH"},{label:"Oklahoma",data:"OK"},{label:"Oregon",data:"OR"},{label:"Pennsylvania",data:"PA"},{label:"Rhode Island",data:"RI"},{label:"South Carolina",data:"SC"},{label:"South Dakota",data:"SD"},{label:"Tennessee",data:"TN"},{label:"Texas",data:"TX"},{label:"Utah",data:"UT"},{label:"Vermont",data:"VT"},{label:"Virginia",data:"VA"},{label:"Washington",data:"WA"},{label:"West Virginia",data:"WV"},{label:"Wisconsin",data:"WI"},{label:"Wyoming",data:"WY"},{label:"American Samoa",data:"AS"},{label:"Federated States of Micronesia",data:"FM"},{label:"Guam",data:"GU"},{label:"Marshall Islands",data:"MH"},{label:"Northern Mariana Islands",data:"MP"},{label:"Palau",data:"PW"},{label:"Puerto Rico",data:"PR"},{label:"Virgin Islands",data:"VI"},{label:"Armed Forces Africa/Canada/Europe/Middle East",data:"AE"},{label:"Armed Forces Americas",data:"AA"},{label:"Armed Forces Pacific",data:"AP"}]; 22TIMEZONES=[{label:"(UTC -12:00) International Date Line West",zone:"Etc/GMT+12"},{label:"(UTC -11:00) Coordinated Universal Time-11",zone:"Etc/GMT+11"},{label:"(UTC -10:00) Hawaii",zone:"Pacific/Honolulu"}
22,{label:"(UTC -09:00) Alaska",zone:"America/Anchorage"},{label:"(UTC -08:00) Baja California",zone:"America/Santa_Isabel"},{label:"(UTC -08:00) Pacific Time (US & Canada)",zone:"America/Los_Angeles"},{label:"(UTC -07:00) Arizona",zone:"America/Phoenix"},{label:"(UTC -07:00) Chihuahua, La Paz, Mazatlan",zone:"America/Chihuahua"},{label:"(UTC -07:00) Mountain Time (US & Canada)",zone:"America/Denver"},{label:"(UTC -06:00) Central America",zone:"America/Guatemala"},{label:"(UTC -06:00) Central Time (US & Canada)",zone:"America/Chicago"},{label:"(UTC -06:00) Guadalajara, Mexico City, Monterrey",zone:"America/Mexico_City"},{label:"(UTC -06:00) Saskatchewan",zone:"America/Regina"},{label:"(UTC -05:00) Bogota, Lima, Quito",zone:"America/Bogota"},{label:"(UTC -05:00) Eastern Time (US & Canada)",zone:"America/New_York"},{label:"(UTC -05:00) Indiana (East)",zone:"America/Indiana/Indianapolis"},{label:"(UTC -04:30) Caracas",zone:"America/Caracas"},{label:"(UTC -04:00) Asuncion",zone:"America/Asuncion"},{label:"(UTC -04:00) Atlantic Time (Canada)",zone:"America/Halifax"},{label:"(UTC -04:00) Cuiaba",zone:"America/Cuiaba"},{label:"(UTC -04:00) Georgetown, La Paz, Manaus, San Juan",zone:"America/La_Paz"},{label:"(UTC -04:00) Santiago",zone:"America/Santiago"},{label:"(UTC -03:30) Newfoundland",zone:"America/St_Johns"},{label:"(UTC -03:00) Salvador",zone:"America/Bahia"},{label:"(UTC -03:00) Buenos Aires",zone:"America/Argentina/Buenos_Aires"},{label:"(UTC -03:00) Cayenne, Fortaleza",zone:"America/Cayenne"},{label:"(UTC -03:00) Greenland",zone:"America/Godthab"},{label:"(UTC -03:00) Montevideo",zone:"America/Montevideo"},{label:"(UTC -03:00) Brasilia",zone:"America/Sao_Paulo"},{label:"(UTC -02:00) Coordinated Universal Time-02",zone:"Etc/GMT+2"},{label:"(UTC -01:00) Azores",zone:"Atlantic/Azores"},{label:"(UTC -01:00) Cape Verde Islands",zone:"Atlantic/Cape_Verde"},{label:"(UTC) Casablanca",zone:"Africa/Casablanca"},{label:"(UTC) Monrovia, Reykjavik",zone:"Atlantic/Reykjavik"},{label:"(UTC) Coordinated Universal Time",zone:"Etc/GMT"},{label:"(UTC) Dublin, Edinburgh, Lisbon, London",zone:"Europe/London"},{label:"(UTC +01:00) West Central Africa",zone:"Africa/Lagos"},{label:"(UTC +01:00) Windhoek",zone:"Africa/Windhoek"},{label:"(UTC +01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna",zone:"Europe/Berlin"},{label:"(UTC +01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague",zone:"Europe/Budapest"},{label:"(UTC +01:00) Brussels, Copenhagen, Madrid, Paris",zone:"Europe/Paris"},{label:"(UTC +01:00) Sarajevo, Skopje, Warsaw, Zagreb",zone:"Europe/Warsaw"},{label:"(UTC +02:00) Cairo",zone:"Africa/Cairo"},{label:"(UTC +02:00) Harare, Pretoria",zone:"Africa/Johannesburg"},{label:"(UTC +02:00) Amman",zone:"Asia/Amman"},{label:"(UTC +02:00) Beirut",zone:"Asia/Beirut"},{label:"(UTC +02:00) Damascus",zone:"Asia/Damascus"},{label:"(UTC +02:00) Jerusalem",zone:"Asia/Jerusalem"},{label:"(UTC +02:00) Eastern Europe",zone:"Asia/Nicosia"},{label:"(UTC +02:00) Athens, Bucharest",zone:"Europe/Bucharest"},{label:"(UTC +02:00) Istanbul",zone:"Europe/Istanbul"},{label:"(UTC +02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius",zone:"Europe/Kiev"},{label:"(UTC +03:00) Nairobi",zone:"Africa/Nairobi"},{label:"(UTC +03:00) Baghdad",zone:"Asia/Baghdad"},{label:"(UTC +03:00) Kuwait, Riyadh",zone:"Asia/Riyadh"},{label:"(UTC +03:00) Kaliningrad, Minsk",zone:"Europe/Kaliningrad"},{label:"(UTC +03:30) Tehran",zone:"Asia/Tehran"},{label:"(UTC +04:00) Baku",zone:"Asia/Baku"},{label:"(UTC +04:00) Abu Dhabi, Muscat",zone:"Asia/Dubai"},{label:"(UTC +04:00) Tbilisi",zone:"Asia/Tbilisi"},{label:"(UTC +04:00) Yerevan",zone:"Asia/Yerevan"},{label:"(UTC +04:00) Moscow, St. Petersburg, Volgograd",zone:"Europe/Moscow"},{label:"(UTC +04:00) Port Louis",zone:"Indian/Mauritius"},{label:"(UTC +04:30) Kabul",zone:"Asia/Kabul"},{label:"(UTC +05:00) Islamabad, Karachi",zone:"Asia/Karachi"},{label:"(UTC +05:00) Tashkent",zone:"Asia/Tashkent"},{label:"(UTC +05:30) Chennai, Kolkata, Mumbai, New Delhi",zone:"Asia/Kolkata"},{label:"(UTC +05:30) Sri Jayawardenepura",zone:"Asia/Colombo"},{label:"(UTC +05:45) Kathmandu",zone:"Asia/Kathmandu"}
22,{label:"(UTC +06:00) Astana",zone:"Asia/Almaty"},{label:"(UTC +06:00) Dhaka",zone:"Asia/Dhaka"},{label:"(UTC +06:00) Ekaterinburg",zone:"Asia/Yekaterinburg"},{label:"(UTC +06:30) Myanmar Standard Time",zone:"Asia/Rangoon"},{label:"(UTC +07:00) Bangkok, Hanoi, Jakarta",zone:"Asia/Bangkok"},{label:"(UTC +07:00) Novosibirsk",zone:"Asia/Novosibirsk"},{label:"(UTC +08:00) Krasnoyarsk",zone:"Asia/Krasnoyarsk"},{label:"(UTC +08:00) Beijing, Chongqing, Hong Kong, Urumqi",zone:"Asia/Shanghai"},{label:"(UTC +08:00) Kuala Lumpur, Singapore",zone:"Asia/Singapore"},{label:"(UTC +08:00) Taipei",zone:"Asia/Taipei"},{label:"(UTC +08:00) Ulaanbaatar",zone:"Asia/Ulaanbaatar"},{label:"(UTC +08:00) Perth",zone:"Australia/Perth"},{label:"(UTC +09:00) Irkutsk",zone:"Asia/Irkutsk"},{label:"(UTC +09:00) Seoul",zone:"Asia/Seoul"},{label:"(UTC +09:00) Osaka, Sapporo, Tokyo",zone:"Asia/Tokyo"},{label:"(UTC +09:30) Adelaide",zone:"Australia/Adelaide"},{label:"(UTC +09:30) Darwin",zone:"Australia/Darwin"},{label:"(UTC +10:00) Yakutsk",zone:"Asia/Yakutsk"},{label:"(UTC +10:00) Brisbane",zone:"Australia/Brisbane"},{label:"(UTC +10:00) Hobart",zone:"Australia/Hobart"},{label:"(UTC +10:00) Canberra, Melbourne, Sydney",zone:"Australia/Sydney"},{label:"(UTC +10:00) Guam, Port Moresby",zone:"Pacific/Port_Moresby"},{label:"(UTC +11:00) Vladivostok",zone:"Asia/Vladivostok"},{label:"(UTC +11:00) Solomon Islands, New Caledonia",zone:"Pacific/Guadalcanal"},{label:"(UTC +12:00) Magadan",zone:"Asia/Magadan"},{label:"(UTC +12:00) Coordinated Universal Time+12",zone:"Etc/GMT-12"},{label:"(UTC +12:00) Auckland, Wellington",zone:"Pacific/Auckland"},{label:"(UTC +12:00) Fiji",zone:"Pacific/Fiji"},{label:"(UTC +13:00) Samoa",zone:"Pacific/Apia"},{label:"(UTC +13:00) Nuku''alofa",zone:"Pacific/Tongatapu"}]; 23!function(){"use strict";var root=this,timezoneJS={};"function"==typeof define&&define.amd?define(function(){return timezoneJS}):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=timezoneJS),exports.timezoneJS=timezoneJS):root.timezoneJS=timezoneJS,timezoneJS.VERSION="0.4.11";for(var ajax_lib=root.$||root.jQuery||root.Zepto,fleegix=root.fleegix,DAYS=timezoneJS.Days=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],MONTHS=timezoneJS.Months=["January","February","March","April","May","June","July","August","September","October","November","December"],SHORT_MONTHS={},SHORT_DAYS={},EXACT_DATE_TIME={},i=0;i<MONTHS.length;i++)SHORT_MONTHS[MONTHS[i].substr(0,3)]=i;for(i=0;i<DAYS.length;i++)SHORT_DAYS[DAYS[i].substr(0,3)]=i;var _arrIndexOf=Array.prototype.indexOf||function(e){if(null===this)throw new TypeError;var t=Object(this),i=t.length>>>0;if(0==i)return-1;var r=0;if(1<arguments.length&&((r=Number(arguments[1]))!=r?r=0:0!==r&&r!==1/0&&r!==-1/0&&(r=(0<r||-1)*Math.floor(Math.abs(r)))),i<=r)return-1;for(var n=0<=r?r:Math.max(i-Math.abs(r),0);n<i;n++)if(n in t&&t[n]===e)return n;return-1},_fixWidth=function(e,t){if("number"!=typeof e)throw"not a number: "+e;var i=1e3<e,r=e.toString(),n=r.length;if(i&&t<n)return r.substr(n-t,n);for(r=[r];n<t;)r.unshift("0"),n++;return r.join("")},_transport=function(i){if(i){if(!i.url)throw new Error("URL must be specified");if("async"in i||(i.async=!0),"undefined"==typeof window&&"function"==typeof require){var e=require("fs");return i.async?"function"!=typeof i.success?void 0:(i.error=i.error||console.error,e.readFile(i.url,"utf8",function(e,t){return e?i.error(e):i.success(t)})):e.readFileSync(i.url,"utf8")}if(!(fleegix&&void 0!==fleegix.xhr||ajax_lib&&void 0!==ajax_lib.ajax))throw new Error("Please use the Fleegix.js XHR module, jQuery ajax, Zepto ajax, or define your own transport mechanism for downloading zone files.");return i.async?fleegix&&fleegix.xhr?fleegix.xhr.send({url:i.url,method:"get",handleSuccess:i.success,handleErr:i.error}):ajax_lib.ajax({url:i.url,dataType:"text",method:"GET",error:i.error,success:i.success}):fleegix&&fleegix.xhr?fleegix.xhr.doReq({url:i.url,async:!1}):ajax_lib.ajax({url:i.url,async:!1,dataType:"text",method:"GET"}).responseText}};timezoneJS.Date=function(){if(this===timezoneJS)throw"timezoneJS.Date object must be constructed with 'new'";var e,t=Array.prototype.slice.apply(arguments),i=null,r=null,n=[];"string"==typeof(t="[object Array]"===Object.prototype.toString.call(t[0])?t[0]:t)[t.length-1]&&(e=Date.parse(t[t.length-1].replace(/GMT[\+\-]\d+/,"")),!isNaN(e)&&null!==e||(r=t.pop())
23);var s=!1;switch(t.length){case 0:i=new Date;break;case 1:i=new Date(t[0]),"string"==typeof t[0]&&-1==t[0].search(/[+-][0-9]{4}/)&&-1==t[0].search(/Z/)&&-1==t[0].search(/T/)&&(s=!0);break;case 2:i=new Date(t[0],t[1]),s=!0;break;default:for(var a=0;a<7;a++)n[a]=t[a]||0;i=new Date(n[0],n[1],n[2],n[3],n[4],n[5],n[6]),s=!0}this._useCache=!1,this._tzInfo={},this._day=0,this.year=0,this.month=0,this.date=0,this.hours=0,this.minutes=0,this.seconds=0,this.milliseconds=0,this.timezone=r||null,s?this.setFromDateObjProxy(i):this.setFromTimeProxy(i.getTime(),r)},timezoneJS.Date.prototype={getDate:function(){return this.date},getDay:function(){return this._day},getFullYear:function(){return this.year},getMonth:function(){return this.month},getYear:function(){return this.year-1900},getHours:function(){return this.hours},getMilliseconds:function(){return this.milliseconds},getMinutes:function(){return this.minutes},getSeconds:function(){return this.seconds},getUTCDate:function(){return this.getUTCDateProxy().getUTCDate()},getUTCDay:function(){return this.getUTCDateProxy().getUTCDay()},getUTCFullYear:function(){return this.getUTCDateProxy().getUTCFullYear()},getUTCHours:function(){return this.getUTCDateProxy().getUTCHours()},getUTCMilliseconds:function(){return this.getUTCDateProxy().getUTCMilliseconds()},getUTCMinutes:function(){return this.getUTCDateProxy().getUTCMinutes()},getUTCMonth:function(){return this.getUTCDateProxy().getUTCMonth()},getUTCSeconds:function(){return this.getUTCDateProxy().getUTCSeconds()},getTime:function(){return this._timeProxy+60*this.getTimezoneOffset()*1e3},getTimezone:function(){return this.timezone},getTimezoneOffset:function(){return this.getTimezoneInfo().tzOffset},getTimezoneAbbreviation:function(){return this.getTimezoneInfo().tzAbbr},getTimezoneInfo:function(){if(this._useCache)return this._tzInfo;var e=this.timezone?"Etc/UTC"===this.timezone||"Etc/GMT"===this.timezone?{tzOffset:0,tzAbbr:"UTC"}:timezoneJS.timezone.getTzInfo(this._timeProxy,this.timezone):{tzOffset:this.getLocalOffset(),tzAbbr:null};return this._tzInfo=e,this._useCache=!0,e},getUTCDateProxy:function(){var e=new Date(this._timeProxy);return e.setUTCMinutes(e.getUTCMinutes()+this.getTimezoneOffset()),e},setDate:function(e){return this.setAttribute("date",e),this.getTime()},setFullYear:function(e,t,i){return void 0!==i&&this.setAttribute("date",1),this.setAttribute("year",e),void 0!==t&&this.setAttribute("month",t),void 0!==i&&this.setAttribute("date",i),this.getTime()},setMonth:function(e,t){return this.setAttribute("month",e),void 0!==t&&this.setAttribute("date",t),this.getTime()},setYear:function(e){return 0<=(e=Number(e))&&e<=99&&(e+=1900),this.setUTCAttribute("year",e),this.getTime()},setHours:function(e,t,i,r){return this.setAttribute("hours",e),void 0!==t&&this.setAttribute("minutes",t),void 0!==i&&this.setAttribute("seconds",i),void 0!==r&&this.setAttribute("milliseconds",r),this.getTime()},setMinutes:function(e,t,i){return this.setAttribute("minutes",e),void 0!==t&&this.setAttribute("seconds",t),void 0!==i&&this.setAttribute("milliseconds",i),this.getTime()},setSeconds:function(e,t){return this.setAttribute("seconds",e),void 0!==t&&this.setAttribute("milliseconds",t),this.getTime()},setMilliseconds:function(e){return this.setAttribute("milliseconds",e),this.getTime()},setTime:function(e){if(isNaN(e))throw new Error("Units must be a number.");return this.setFromTimeProxy(e,this.timezone),this.getTime()},setUTCFullYear:function(e,t,i){return void 0!==i&&this.setUTCAttribute("date",1),this.setUTCAttribute("year",e),void 0!==t&&this.setUTCAttribute("month",t),void 0!==i&&this.setUTCAttribute("date",i),this.getTime()},setUTCMonth:function(e,t){return this.setUTCAttribute("month",e),void 0!==t&&this.setUTCAttribute("date",t),this.getTime()},setUTCDate:function(e){return this.setUTCAttribute("date",e),this.getTime()},setUTCHours:function(e,t,i,r){return this.setUTCAttribute("hours",e),void 0!==t&&this.setUTCAttribute("minutes",t),void 0!==i&&this.setUTCAttribute("seconds",i),void 0!==r&&this.setUTCAttribute("milliseconds",r),this.getTime()},setUTCMinutes:function(e,t,i){return this.setUTCAttribute("minutes",e),void 0!==t&&this.setUTCAttribute("seconds",t),void 0!==i&&this.setUTCAttribute("milliseconds",i),this.getTime()},setUTCSeconds:function(e,t){return this.setUTCAttribute("seconds",e),void 0!==t&&this.setUTCAttribute("milliseconds",t),this.getTime()},setUTCMilliseconds:function(e){return this.setUTCAttribute("milliseconds",e),this.getTime()},setFromDateObjProxy:function(e){this.year=e.getFullYear(),this.month=e.getMonth(),this.date=e.getDate(),this.hours=e.getHours(),this.minutes=e.getMinutes(),this.seconds=e.getSeconds(),this.milliseconds=e.getMilliseconds(),this._day=e.getDay(),this._dateProxy=e,this._timeProxy=Date.UTC(this.year,this.month,this.date,this.hours,this.minutes,this.seconds,this.milliseconds),this._useCache=!1},setFromTimeProxy:function(e,t){var i=new Date(e),t=t?timezoneJS.timezone.getTzInfo(e,t,!0).tzOffset:i.getTimezoneOffset();i.setTime(e+6e4*(i.getTimezoneOffset()-t)),this.setFromDateObjProxy(i)},setAttribute:function(e,t){if(isNaN(t))throw new Error("Units must be a number.");var i=this._dateProxy;i["set"+("year"===e?"FullYear":e.substr(0,1).toUpperCase()+e.substr(1))](t),this.setFromDateObjProxy(i)},setUTCAttribute:function(e,t){if(isNaN(t))throw new Error("Units must be a number.");var i="year"===e?"FullYear":e.substr(0,1).toUpperCase()+e.substr(1),e=this.getUTCDateProxy();e["setUTC"+i](t),e.setUTCMinutes(e.getUTCMinutes()-this.getTimezoneOffset()),this.setFromTimeProxy(e.getTime()+6e4*this.getTimezoneOffset(),this.timezone)},setTimezone:function(e){var t=this.getTimezoneInfo().tzOffset;this.timezone=e,this._useCache=!1,this.setUTCMinutes(this.getUTCMinutes()-this.getTimezoneInfo().tzOffset+t)},removeTimezone:function(){this.timezone=null,this._useCache=!1}
23,valueOf:function(){return this.getTime()},clone:function(){return this.timezone?new timezoneJS.Date(this.getTime(),this.timezone):new timezoneJS.Date(this.getTime())},toGMTString:function(){return this.toString("EEE, dd MMM yyyy HH:mm:ss Z","Etc/GMT")},toLocaleString:function(){},toLocaleDateString:function(){},toLocaleTimeString:function(){},toSource:function(){},toISOString:function(){return this.toString("yyyy-MM-ddTHH:mm:ss.SSS","Etc/UTC")+"Z"},toJSON:function(){return this.toISOString()},toDateString:function(){return this.toString("EEE MMM dd yyyy")},toTimeString:function(){return this.toString("H:mm k")},toString:function(e,t){var e=e=e||"yyyy-MM-dd HH:mm:ss",i=t?timezoneJS.timezone.getTzInfo(this.getTime(),t):this.getTimezoneInfo(),r=this;t&&(r=this.clone()).setTimezone(t);var n=r.getHours();return e.replace(/a+/g,function(){return"k"}).replace(/y+/g,function(e){return _fixWidth(r.getFullYear(),e.length)}).replace(/d+/g,function(e){return r.getDate()}).replace(/m+/g,function(e){return _fixWidth(r.getMinutes(),e.length)}).replace(/s+/g,function(e){return _fixWidth(r.getSeconds(),e.length)}).replace(/S+/g,function(e){return _fixWidth(r.getMilliseconds(),e.length)}).replace(/h+/g,function(e){return _fixWidth(n%12==0?12:n%12,e.length)}).replace(/M+/g,function(e){var t=r.getMonth(),e=e.length;return 3<e?timezoneJS.Months[t]:2<e?timezoneJS.Months[t].substring(0,e):1<e?_fixWidth(t+1,e):t+1}).replace(/k+/g,function(){var e=12<=n?"pm":"am";return n=n%12||12,e}).replace(/H+/g,function(e){return _fixWidth(n,e.length)}).replace(/E+/g,function(e){return DAYS[r.getDay()].substring(0,e.length)}).replace(/Z+/gi,function(){return i.tzAbbr})},toUTCString:function(){return this.toGMTString()},civilToJulianDayNumber:function(e,t,i){12<++t&&(r=parseInt(t/12,10),t%=12,e+=r),t<=2&&(--e,t+=12);var r=2-(r=Math.floor(e/100))+Math.floor(r/4);return Math.floor(365.25*(e+4716))+Math.floor(30.6001*(t+1))+i+r-1524},getLocalOffset:function(){return this._dateProxy.getTimezoneOffset()}},timezoneJS.timezone=new function(){var _this=this,regionMap={Etc:"etcetera",EST:"northamerica",MST:"northamerica",HST:"northamerica",EST5EDT:"northamerica",CST6CDT:"northamerica",MST7MDT:"northamerica",PST8PDT:"northamerica",America:"northamerica",Pacific:"australasia",Atlantic:"europe",Africa:"africa",Indian:"africa",Antarctica:"antarctica",Asia:"asia",Australia:"australasia",Europe:"europe",WET:"europe",CET:"europe",MET:"europe",EET:"europe"},regionExceptions={"Pacific/Honolulu":"northamerica","Atlantic/Bermuda":"northamerica","Atlantic/Cape_Verde":"africa","Atlantic/St_Helena":"africa","Indian/Kerguelen":"antarctica","Indian/Chagos":"asia","Indian/Maldives":"asia","Indian/Christmas":"australasia","Indian/Cocos":"australasia","America/Danmarkshavn":"europe","America/Scoresbysund":"europe","America/Godthab":"europe","America/Thule":"europe","Asia/Istanbul":"europe","Asia/Yekaterinburg":"europe","Asia/Omsk":"europe","Asia/Novosibirsk":"europe","Asia/Krasnoyarsk":"europe","Asia/Irkutsk":"europe","Asia/Yakutsk":"europe","Asia/Vladivostok":"europe","Asia/Sakhalin":"europe","Asia/Magadan":"europe","Asia/Kamchatka":"europe","Asia/Anadyr":"europe","Africa/Ceuta":"europe","America/Argentina/Buenos_Aires":"southamerica","America/Argentina/Salta":"southamerica","America/Argentina/San_Luis":"southamerica","America/Argentina/Cordoba":"southamerica","America/Argentina/Tucuman":"southamerica","America/Argentina/La_Rioja":"southamerica","America/Argentina/San_Juan":"southamerica","America/Argentina/Jujuy":"southamerica","America/Argentina/Catamarca":"southamerica","America/Argentina/Mendoza":"southamerica","America/Argentina/Rio_Gallegos":"southamerica","America/Argentina/Ushuaia":"southamerica","America/Aruba":"southamerica","America/La_Paz":"southamerica","America/Noronha":"southamerica","America/Belem":"southamerica","America/Fortaleza":"southamerica","America/Recife":"southamerica","America/Araguaina":"southamerica","America/Maceio":"southamerica","America/Bahia":"southamerica","America/Sao_Paulo":"southamerica","America/Campo_Grande":"southamerica","America/Cuiaba":"southamerica","America/Porto_Velho":"southamerica","America/Boa_Vista":"southamerica","America/Manaus":"southamerica","America/Eirunepe":"southamerica","America/Rio_Branco":"southamerica","America/Santiago":"southamerica","Pacific/Easter":"southamerica","America/Bogota":"southamerica","America/Curacao":"southamerica","America/Guayaquil":"southamerica","Pacific/Galapagos":"southamerica","Atlantic/Stanley":"southamerica","America/Cayenne":"southamerica","America/Guyana":"southamerica","America/Asuncion":"southamerica","America/Lima":"southamerica","Atlantic/South_Georgia":"southamerica","America/Paramaribo":"southamerica","America/Port_of_Spain":"southamerica","America/Montevideo":"southamerica","America/Caracas":"southamerica",GMT:"etcetera","Europe/Nicosia":"asia"};
23function invalidTZError(e){throw new Error("Timezone '"+e+"' is either incorrect, or not loaded in the timezone registry.")}function builtInLoadZoneFile(e,t){var i=_this.zoneFileBasePath+"/"+e+".txt";return t&&t.async?_this.transport({async:!0,url:i,success:function(e){return _this.parseZones(e)&&"function"==typeof t.callback&&t.callback()},error:function(){throw new Error("Error retrieving '"+i+"' zoneinfo files")}}):_this.parseZones(_this.transport({url:i,async:!1}))}function getRegionForTimezone(e){var t=regionExceptions[e];if(t)return t;if(t=e.split("/")[0],t=regionMap[t])return t;t=_this.zones[e];return"string"==typeof t?getRegionForTimezone(t):_this.loadedZones.backward?void invalidTZError(e):(_this.loadZoneFile("backward"),getRegionForTimezone(e))}function parseTimeString(e){e=e.match(/(\d+)(?::0*(\d*))?(?::0*(\d*))?([wsugz])?$/);return e[1]=parseInt(e[1],10),e[2]=e[2]?parseInt(e[2],10):0,e[3]=e[3]?parseInt(e[3],10):0,e.slice(1,5)}function processZone(e){if(e[3]){var t=parseInt(e[3],10),i=11,r=31;e[4]&&(i=SHORT_MONTHS[e[4].substr(0,3)],r=parseInt(e[5],10)||1);e=e[6]?parseTimeString(e[6]):[0,0,0];return[t,i,r,e[0],e[1],e[2]]}}function getZone(e,t){for(var i="number"==typeof e?e:new Date(e).getTime(),r=t,n=_this.zones[r];"string"==typeof n;)r=n,n=_this.zones[r];if(!n){if(!_this.loadedZones.backward)return _this.loadZoneFile("backward"),getZone(e,t);invalidTZError(r)}if(0===n.length)throw new Error("No Zone found for '"+t+"' on "+e);for(var s=n.length-1;0<=s;s--){var a=n[s];if(a[3]&&i>a[3])break}return n[s+1]}function getBasicOffset(e){var t=parseTimeString(e);return(t=("-"===e.charAt(0)?-1:1)*(1e3*(60*(60*t[0]+t[1])+t[2])))/60/1e3}function getAdjustedOffset(e,t){return-Math.ceil(t-e)}function getRule(e,t,s){var i="number"==typeof e?new Date(e):e,r=t[1],n=t[0],a=r.match(/^([0-9]):([0-9][0-9])$/);if(a)return[-1e6,"max","-","Jan",1,[0,0,0],60*parseInt(a[1],10)+parseInt(a[2],10),"-"];function o(e,t){var i,r,n,s=e[0],a=e[1],o=a[5];return EXACT_DATE_TIME[s]||(EXACT_DATE_TIME[s]={}),EXACT_DATE_TIME[s][a]?i=EXACT_DATE_TIME[s][a]:(isNaN(a[4])?(n="last"===a[4].substr(0,4)?(i=new Date(Date.UTC(s,SHORT_MONTHS[a[3]]+1,1,o[0]-24,o[1],o[2],0)),r=SHORT_DAYS[a[4].substr(4,3)],"<="):(i=new Date(Date.UTC(s,SHORT_MONTHS[a[3]],a[4].substr(5),o[0],o[1],o[2],0)),r=SHORT_DAYS[a[4].substr(0,3)],a[4].substr(3,2)),e=i.getUTCDay(),">="===n?i.setUTCDate(i.getUTCDate()+(r-e+(r<e?7:0))):i.setUTCDate(i.getUTCDate()+(r-e-(e<r?7:0)))):i=new Date(Date.UTC(s,SHORT_MONTHS[a[3]],a[4],o[0],o[1],o[2],0)),EXACT_DATE_TIME[s][a]=i),i=t?c(i,o[3],t):i}function u(e,t){for(var i=[],r=0;t&&r<t.length;r++)t[r][0]<=e&&(t[r][1]>=e||t[r][0]===e&&"only"===t[r][1]||"max"===t[r][1])&&i.push([e,t[r]]);return i}var c=function(e,t,i){var r=0;if("u"===t||"g"===t||"z"===t)r=0;else if("s"===t)r=n;else{if("w"!==t&&t)throw new Error("unknown type "+t);r=getAdjustedOffset(n,i[6])}return r*=6e4,new Date(e.getTime()+r)},e=function(e,t,i){var r,n;return e instanceof Date?i&&(e=c(e,s?"u":"w",i)):(r=e[0],n=e[1],e=!i&&EXACT_DATE_TIME[r]&&EXACT_DATE_TIME[r][n]?EXACT_DATE_TIME[r][n]:o(e,i)),t instanceof Date?i&&(t=c(t,s?"u":"w",i)):(r=t[0],n=t[1],t=!i&&EXACT_DATE_TIME[r]&&EXACT_DATE_TIME[r][n]?EXACT_DATE_TIME[r][n]:o(t,i)),(e=Number(e))-(t=Number(t))},t=i.getUTCFullYear(),a=u(t,_this.rules[r]);a.push(i),a.sort(e),_arrIndexOf.call(a,i)<2&&(a=a.concat(u(t-1,_this.rules[r]))).sort(e);r=_arrIndexOf.call(a,i);return 1<r&&e(i,a[r-1],a[r-2][1])<0?a[r-2][1]:0<r&&r<a.length-1&&0<e(i,a[r+1],a[r-1][1])?a[r+1][1]:0===r?null:a[r-1][1]}function getAbbreviation(e,t){var i=e[2];if(-1<i.indexOf("%s")){e=t?"-"===t[7]?"":t[7]:"S";return i.replace("%s",e)}return-1<i.indexOf("/")?i.split("/",2)[t&&t[6]?1:0]:i}this.zoneFileBasePath=null,this.zoneFiles=["africa","antarctica","asia","australasia","backward","etcetera","europe","northamerica","pacificnew","southamerica"],this.loadingSchemes={PRELOAD_ALL:"preloadAll",LAZY_LOAD:"lazyLoad",MANUAL_LOAD:"manualLoad"},this.getRegionForTimezone=getRegionForTimezone,this.loadingScheme=this.loadingSchemes.LAZY_LOAD,this.loadedZones={},this.zones={},this.rules={},this.init=function(e){var t,i,r={async:!0},n=this.loadingScheme===this.loadingSchemes.PRELOAD_ALL?this.zoneFiles:this.defaultZoneFile||"northamerica",s=0;for(i in e)r[i]=e[i];if("string"==typeof n)return this.loadZoneFile(n,r);t=r.callback,r.callback=function(){++s===n.length&&"function"==typeof t&&t()};for(var a=0;a<n.length;a++)this.loadZoneFile(n[a],r)},this.loadZoneFile=function(e,t){if(void 0===this.zoneFileBasePath)throw new Error("Please define a base path to your zone file directory -- timezoneJS.timezone.zoneFileBasePath.");if(!this.loadedZones[e])return this.loadedZones[e]=!0,builtInLoadZoneFile(e,t)}
23,this.loadZoneJSONData=function(url,sync){var processData=function(data){for(var z in data=eval("("+data+")"),data.zones)_this.zones[z]=data.zones[z];for(var r in data.rules)_this.rules[r]=data.rules[r]};return sync?processData(_this.transport({url:url,async:!1})):_this.transport({url:url,success:processData})},this.loadZoneDataFromObject=function(e){if(e){for(var t in e.zones)_this.zones[t]=e.zones[t];for(var i in e.rules)_this.rules[i]=e.rules[i]}},this.getAllZones=function(){var e,t=[];for(e in this.zones)t.push(e);return t.sort()},this.parseZones=function(e){for(var t,i,r=e.split("\n"),n=[],s=null,a=0;a<r.length;a++)if(3<(t=(t=(t=r[a]).match(/^\s/)?"Zone "+s+t:t).split("#")[0]).length)switch((n=t.split(/\s+/)).shift()){case"Zone":if(s=n.shift(),_this.zones[s]||(_this.zones[s]=[]),n.length<3)break;n.splice(3,n.length,processZone(n)),n[3]&&(n[3]=Date.UTC.apply(null,n[3])),n[0]=-getBasicOffset(n[0]),_this.zones[s].push(n);break;case"Rule":i=n.shift(),_this.rules[i]||(_this.rules[i]=[]),n[0]=parseInt(n[0],10),n[1]=parseInt(n[1],10)||n[1],n[5]=parseTimeString(n[5]),n[6]=getBasicOffset(n[6]),_this.rules[i].push(n);break;case"Link":if(_this.zones[n[1]])throw new Error("Error with Link "+n[1]+". Cannot create link of a preexisted zone.");isNaN(n[0])?_this.zones[n[1]]=n[0]:_this.zones[n[1]]=parseInt(n[0],10)}return!0},this.transport=_transport,this.getTzInfo=function(e,t,i){if(this.loadingScheme===this.loadingSchemes.LAZY_LOAD){var r=getRegionForTimezone(t);if(!r)throw new Error("Not a valid timezone ID.");this.loadedZones[r]||this.loadZoneFile(r)}r=getZone(e,t),t=r[0],i=getRule(e,r,i);return{tzOffset:t=i?getAdjustedOffset(t,i[6]):t,tzAbbr:getAbbreviation(r,i)}}}}.call("undefined"!=typeof window?window:this); 24var Markdown={};!function(){function t(e){return e}function n(e){return!1}function e(){}function S(){}e.prototype={chain:function(e,n){var r=this[e];if(!r)throw new Error("unknown hook "+e);this[e]=r===t?n:function(e){return n(r(e))}},set:function(e,n){if(!this[e])throw new Error("unknown hook "+e);this[e]=n},addNoop:function(e){this[e]=t},addFalse:function(e){this[e]=n}},Markdown.HookCollection=e,S.prototype={set:function(e,n){this["s_"+e]=n},get:function(e){return this["s_"+e]}},Markdown.Converter=function(){var u,g,f,s,r,t=this.hooks=new e;function a(e){return e=(e=(e=(e=(e=e.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b[^\r]*?\n<\/\2>[ \t]*(?=\n+))/gm,n)).replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math)\b[^\r]*?.*<\/\2>[ \t]*(?=\n+)\n)/gm,n)).replace(/\n[ ]{0,3}((<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,n)).replace(/\n\n[ ]{0,3}(<!(--(?:|(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>[ \t]*(?=\n{2,}))/g,n)).replace(/(?:\n\n)([ ]{0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,n)}function n(e,n){return n=(n=n.replace(/^\n+/,"")).replace(/\n+$/g,""),n="\n\n~K"+(f.push(n)-1)+"K\n\n"}function c(e,n){var r="<hr />\n";return e=p(e=(e=(e=(e=e.replace(/^(.+)[ \t]*\n=+[ \t]*\n+/gm,function(e,n){return"<h1>"+h(n)+"<h1>\n\n"}).replace(/^(.+)[ \t]*\n-+[ \t]*\n+/gm,function(e,n){return"<h2>"+h(n)+"</h2>\n\n"}).replace(/^(\#{1,6})[ \t]*(.+?)[ \t]*\#*\n+/gm,function(e,n,r){n=n.length;return"<h"+n+">"+h(r)+"</h"+n+">\n\n"})).replace(/^[ ]{0,2}([ ]?\*[ ]?){3,}[ \t]*$/gm,r)).replace(/^[ ]{0,2}([ ]?-[ ]?){3,}[ \t]*$/gm,r)).replace(/^[ ]{0,2}([ ]?_[ ]?){3,}[ \t]*$/gm,r)),r=e,e=r=(r=(r+="~0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=~0))/g,function(e,n,r){return"\n\n"+(n="<pre><code>"+(n=(n=(n=b(n=$(k(n)))).replace(/^\n+/g,"")).replace(/\n+$/g,""))+"\n</code></pre>")+"\n\n"+r})).replace(/~0/,""),e=function(e,n){for(var r=(e=(e=e.replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),t=[],a=/~K(\d+)K/,c=r.length,l=0;l<c;l++){var o=r[l];a.test(o)?t.push(o):/\S/.test(o)&&(o=(o=h(o)).replace(/^([ \t]*)/g,"<p>"),o+="</p>",t.push(o))}if(!n){c=t.length;for(l=0;l<c;l++)for(var p=!0;p;)p=!1,t[l]=t[l].replace(/~K(\d+)K/g,function(e,n){return p=!0,f[n]})}return t.join("\n\n")}(e=a(e=e.replace(/((^[ \t]*>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(e,n){return n=(n=(n=c(n=(n=(n=n.replace(/^[ \t]*>[ \t]?/gm,"~0")).replace(/~0/g,"")).replace(/^[ \t]+$/gm,""))).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,n){return n.replace(/^ /gm,"~0").replace(/~0/g,"")}),n=(n="<blockquote>\n"+n+"\n</blockquote>").replace(/(^\n+|\n+$)/g,""),"\n\n~K"+(f.push(n)-1)+"K\n\n"})),n),e=!s.allow_header_tags?(e=e.replace(/<h([1-6])>/g,"<span class='h$1'>")).replace(/<\/h[1-6]>/g,"</span>"):e}function h(e){return e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,n,r,t,a){return n+"<code>"+(t=(t=$(t=(t=t.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""))).replace(/:\/\//g,"~P"))+"</code>"}),e=e.replace(/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--(?:|(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>)/gi,function(e){return C(e.replace(/(.)<\/?code>(?=.)/g,"$1`"),"!"==e.charAt(1)?"\\`*_/":"\\`*_")}),e=e.replace(/\\(\\)/g,E).replace(/\\([`*_{}\[\]()>#+-.!])/g,E),e=e.replace(/(!\[(.*?)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,o).replace(/(!\[(.*?)\]\s?\([ \t]*()<?(\S+?)>?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,o),e=_(e=(e=function(e){e=e.replace(/(^|\s)(https?:\/\/|ftp:\/\/|www\.)([-A
24-Z0-9+&@#\/%?=~_|\[\]\(\)!:,\.;]*[-A-Z0-9+&@#\/%=~_|\[\]])($|\W)/gi,"$1<$2$3>$4");var n=function(e,n){return'<a href="'+n+'" target="_blank">'+t.plainLinkText(n)+"</a>"};return e=e.replace(/<((https?|ftp):[^'">\s]+)>/gi,n),n=function(e,n){return'<a href="http://'+n+'" target="_blank">'+t.plainLinkText(n)+"</a>"},e=(e=e.replace(/<((www\.)[^'">\s]+)>/gi,n)).replace(/<(?:mailto:)?(([-.\w]|\~E95E)+\@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,function(e,n){return'<a href="mailto:'+(n=v(n))+'" target="_blank">'+n+"</a>"})}(e=e.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,l).replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\]\([ \t]*()<?((?:\([^)]*\)|[^()\s])*?)>?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,l).replace(/(\[([^\[\]]+)\])()()()()()/g,l))).replace(/~P/g,"://")),e=(e=e.replace(/([\W_]|^)(\*\*|__)(?=\S)([^\r]*?\S[\*_]*)\2([\W_]|$)/g,"$1<strong>$3</strong>$4").replace(/([\W_]|^)(\*|_)(?=\S)([^\r\*_]*?\S)\2([\W_]|$)/g,"$1<em>$3</em>$4")).replace(/ +\n/g," <br>\n")}function l(e,n,r,t,a,c,l,o){null==o&&(o="");r=r.replace(/:\/\//g,"~P"),t=t.toLowerCase();if(""==a)if(a="#"+(t=""==t?r.toLowerCase().replace(/ ?\n/g," "):t),null!=u.get(t))a=u.get(t),null!=g.get(t)&&(o=g.get(t));else{if(!(-1<n.search(/\(\s*\)$/m)))return n;a=""}a="<a target='_blank' href=\""+(a=C(a=function(r){if(!r)return"";var t=r.length;return r.replace(x,function(e,n){return"~D"==e?"%24":":"!=e||n!=t-1&&!/[0-9\/]/.test(r.charAt(n+1))?"%"+e.charCodeAt(0).toString(16):":"})}(a),"*_"))+'"';return""!=o&&(a+=' title="'+(o=C(o=m(o),"*_"))+'"'),a+=">"+r+"</a>"}function m(e){return e.replace(/>/g,">").replace(/</g,"<").replace(/"/g,""")}function o(e,n,r,t,a,c,l,o){var p=n,n=r,r=t.toLowerCase(),t=a,a=o;if("youtube"==n){if(!s.allow_youtube)return"";o=function(e){for(found_expr=null,expressions=[/youtu\.be\/(.*)/i,/youtube\.com.*?[?&]v=([^&]*)/i],i=0;i<expressions.length;i++)expressions[i].test(e)&&(found_expr=expressions[i]);return null!=found_expr?found_expr.exec(e)[1]:null}(t);if(null!=o)return"<iframe src='https://www.youtube.com/embed/"+o+"?rel=0&wmode=transparent' width='640' height='360' frameborder='0' allowfullscreen></iframe>"}if(a=a||"",""==t){if(t="#"+(r=""==r?n.toLowerCase().replace(/ ?\n/g," "):r),null==u.get(r))return p;t=u.get(r),null!=g.get(r)&&(a=g.get(r))}n=C(m(n),"*_[]()"),t=C(t,"*_"),n='<img src="'+(t=!s.allow_insecure_images?t.replace("http:","https:"):t)+'" alt="'+n+'"';return n+=' title="'+(a=C(a=m(a),"*_"))+'"',n+=" />",s.allow_images?n:""}function p(e){e+="~0";var n=/^(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm;return e=(e=r?e.replace(n,function(e,n,r){r=-1<r.search(/[*+-]/g)?"ul":"ol",n=w(n,r);return n="<"+r+">"+(n=n.replace(/\s+$/,""))+"</"+r+">\n"}):e.replace(n=/(\n|^\n?)(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/g,function(e,n,r,t){t=-1<t.search(/[*+-]/g)?"ul":"ol";return n+"<"+t+">\n"+w(r,t)+"</"+t+">\n"})).replace(/~0/,"")}t.addNoop("plainLinkText"),t.addNoop("preConversion"),t.addNoop("postConversion"),this.makeHtml=function(e,n){if(e=(e=e||"").replace(/\<\/?\w*\>/g,function(e){return e.replace("<","<")}),u)throw new Error("Recursive call to converter.makeHtml");return u=new S,g=new S,f=[],r=0,s=n||{},e=a(e=(e=b(e="\n\n"+(e=(e=(e=(e=(e=t.preConversion(e)).replace(/~/g,"~T")).replace(/\$/g,"~D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n"))+"\n\n")).replace(/^[ \t]+$/gm,"")),e=(e=(e=v(e=c(e=e.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?(?=\s|$)[ \t]*\n?[ \t]*((\n*)["(](.+?)[")][ \t]*)?(?:\n+)/gm,function(e,n,r,t,a,c){return n=n.toLowerCase(),u.set(n,_(r)),a?t:(c&&g.set(n,c.replace(/"/g,""")),"")})))).replace(/~D/g,"$$")).replace(/~T/g,"~"),e=t.postConversion(e),f=g=u=null,e};var d={ol:"\\d+[.]",ul:"[*+-]"};function w(e,n){r++,e=e.replace(/\n{2,}$/,"\n"),e+="~0";var n=d[n],n=new RegExp("(^[ \\t]*)("+n+")[ \\t]+([^\\r]+?(\\n+))(?=(~0|\\1("+n+")[ \\t]+))","gm"),a=!1;return e=(e=e.replace(n,function(e,n,r,t){n=/\n\n$/.test(t),t=n||-1<t.search(/\n{2,}/)||a?c(k(t),!0):h(t=(t=p(k(t))).replace(/\n$/,""));return a=n,"<li>"+t+"</li>\n"})).replace(/~0/g,""),r--,e}
24function $(e){return e=C(e=(e=(e=e.replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">"),"*_{}[]\\",!1)}function _(e){return e=(e=e.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&")).replace(/<(?![a-z\/?\$!])/gi,"<")}function v(e){return e=e.replace(/~E(\d+)E/g,function(e,n){n=parseInt(n);return String.fromCharCode(n)})}function k(e){return e=(e=e.replace(/^(\t|[ ]{1,4})/gm,"~0")).replace(/~0/g,"")}function b(e){if(!/\t/.test(e))return e;var r,t=[" "," "," "," "],a=0;return e.replace(/[\n\t]/g,function(e,n){return"\n"===e?(a=n+1,e):(r=(n-a)%4,a=n+1,t[r])})}var x=/(?:["'*()[\]:]|~D)/g;function C(e,n,r){n="(["+n.replace(/([\[\]\\])/g,"\\$1")+"])";r&&(n="\\\\"+n);n=new RegExp(n,"g");return e=e.replace(n,E)}function E(e,n){return"~E"+n.charCodeAt(0)+"E"}}}(); 25!function(){window.FileProxy=class{constructor(c){this.cache=c,null==this.cache&&(this.cache={})}is_in_cache(c){return!(!this.cache[c]&&""!==this.cache[c])}get_file(c){return"undefined"!=typeof PRODUCTION_MODE&&null!==PRODUCTION_MODE||delete this.cache[c],this.is_in_cache(c)||this.load_into_cache(c),this.get_via_cache(c)}get_via_cache(c){return this.cache[c]}load_into_cache(e){if(this.cache[e]="","undefined"==typeof PRODUCTION_MODE||null===PRODUCTION_MODE)return $.ajax({async:!1,url:e,dataType:"text",success:c=>this.cache[e]=c})}}}.call(this); 26!function(){var e,j,t,o={};window.SR_RegisterTemplateFunction=function(e,t){return o[e]=t},window.ViewEngine=function(){var x,t,a,n,u,p,c,w,r,h,i,d,f,s,m,g,l;return g=/\<sr\:template\b[^>]*\/\>/gi,t=/class=[\"']?((?:.(?![\"']?\s+(?:\S+)=|[>\"']))+.)[\"']?/gi,r=/id=[\"']?((?:.(?![\"']?\s+(?:\S+)=|[>\"']))+.)[\"']?/gi,f=/^[_-]/,w=/^-/,i=/^[\.]{1,2}\//,l=0,s={},m={},x=function(e){var t;return null==e[0].view_namespace&&(0<(t=e.parent()).length?null!=t[0].view_namespace?e[0].view_namespace=`${t[0].view_namespace}:${l++}`:e[0].view_namespace=`${x(t)}:${l++}`:e[0].view_namespace=`${l++}`),e[0].view_namespace},a=function(e){return _.initial(e.split("/")).join("/")},d=function(e,t){var n;if(!i.test(t))return t;for(n=e;"../"===t.substr(0,3);)n=n.substr(0,n.lastIndexOf("/")),t=t.substr(3);return e!==n?n+"/"+t:"."===t[0]?t.replace(i,e+"/"):t},c=function(e){return 0<=e.search(g)},h=function(e){for(var t,n="",r="",i={},s=$(e)[0].attributes,l=0,o=s.length;l<o;l++)switch((t=s[l]).nodeName){case"path":n=t.nodeValue;break;case"ref":r=t.nodeValue;break;default:i[t.nodeName]=t.nodeValue}return{ref:r,path:n,args:i}},u=function(e){return n(t,e)},p=function(e){return n(r,e)},n=function(e,t){var o=[];return t.replace(e,function(e,t){for(var n,r=t.split(" "),i=[],s=0,l=r.length;s<l;s++)n=r[s],f.test(n)?i.push(o.push(n)):i.push(void 0);return i}),_.uniq(o)},class{constructor(e,t,n){null==e&&(e={}),this.base_template_dir=t=null==t?"app/views/":t,this.custom_paths={},this.missing_path=n,this.disable_cache="undefined"!=typeof NO_CACHE&&null!==NO_CACHE,this.file_proxy=new FileProxy(e),this.render_object={},this.mixin_render_default()}register_custom_path(e,t){return this.custom_paths[e]=t}get_full_path_from_name(e,t){var n;return 0===(e=e.toLowerCase()).indexOf("@")?((n=e.split("/"))[0]=this.custom_paths[n[0].substring(1)],`${n.join("/")}.${t}`):`${this.base_template_dir}${e}.${t}`}add_render_mixin(e){var t,n,r,i;for(n in e)this.render_object[n]=e[n];for(n in r=[],e.prototype)t=e.prototype.__lookupGetter__(n),i=e.prototype.__lookupSetter__(n),t||i?(t&&this.render_object.prototype.__defineGetter__(n,t),i?r.push(this.render_object.prototype.__defineSetter__(n,i)):r.push(void 0)):r.push(this.render_object.prototype[n]=e.prototype[n]);return r}mixin_render_default(e){var r=(e,t,n,r,i)=>{var s;return(t=null==t?{}:t)instanceof jQuery&&(n=t,t=null),s={html:function(e){return(null!=i?i.dom:void 0)===n&&console.log(`Render.place directly into own $dom is deprecated -- ${i.path}`),$(n).empty(),$(n).append(e)},append:function(e){return $(n).append(e)},prepend:function(e){return $(n).prepend(e)},after:function(e){return $(n).after(e)},before:function(e){return $(n).before(e)}},t=this.go(e,t,n[0].ownerDocument,null!=i?i.rootPath:void 0),s[r](t.dom),this.execute_template_tree(t)},i=(e,t)=>(t&&(e=d(t,e)),this.file_proxy.get_file(this.get_full_path_from_name(e,"html"))),t={after_and_execute:function(e,t,n){return r(e,t=null==t?{}:t,n,"after",this)},before_and_execute:function(e,t,n){return r(e,t=null==t?{}:t,n,"before",this)},append_and_execute:function(e,t,n){return r(e,t=null==t?{}:t,n,"append",this)},prepend_and_execute:function(e,t,n){return r(e,t=null==t?{}:t,n,"prepend",this)},place_and_execute:function(e,t,n){return r(e,t=null==t?{}:t,n,"html",this)},after:function(e,t,n){return r(e,t=null==t?{}:t,n,"after",this)},before:function(e,t,n){return r(e,t=null==t?{}:t,n,"before",this)},append:function(e,t,n){return r(e,t=null==t?{}:t,n,"append",this)},prepend:function(e,t,n){return r(e,t=null==t?{}:t,n,"prepend",this)},place:function(e,t,n){return r(e,t=null==t?{}:t,n,"html",this)},template:function(e,t){var n=_.extend({},t,o);return e=d(this.rootPath,e),s[e]&&!this.disable_cache||(t=i(e,this.rootPath),s[e]=_.template(t)),s[e](n)}};return this.add_render_mixin(t)}go(e,t,n,r){return null==t&&(t={}),r=this.get_template_set(e,r),this.render_template_tree(r,t,n)}get_template_set(n,e){var r,t,i,s,l,o;
26return e&&(n=d(e,n)),m[n]&&!this.disable_cache?m[n]:(e=this.get_full_path_from_name(n,"html"),null!=(e=this.file_proxy.get_file(e))&&e.length?(s=this.get_full_path_from_name(n,"js"),i=this.file_proxy.get_file(s)):null!=(o=this.missing_path)&&o.length&&(l=this.get_full_path_from_name(this.missing_path,"html"),e=`<!-- ${n} -->`+this.file_proxy.get_file(l)),s=u(e),o=p(e),c(e)&&(r=[],e=e.replace(g,e=>{var t=h(e),e=_.uniqueId();return r.push({template_set:this.get_template_set(t.path,a(n)),args:t.args,uid:e,ref:t.ref}),`<div class=\"__srtemplate_${e} __srtemplate ${t.cls}\"></div>`})),l=_.template(e),null!=i&&i.length&&(t=new Function(`//${n}\nwith(arguments[0]){${i}}`)),o={path:n,rootPath:a(n),html:e,js:i,compiled_html:l,compiled_js:t,class_attrs:s,id_attrs:o,children:r},m[n]=o)}render_template_tree(e,t,n){var r,i,s,l,o,a,u=e.compiled_html(t),p={dom:null!=n?$(u,n):$(u),args:t,children:[],template_set:e};if("undefined"!=typeof PRODUCTION_MODE&&null!==PRODUCTION_MODE||p.dom.attr("dev-title",e.path),0<(null!=(t=e.children)?t.length:void 0))for(s=l=0,o=(a=e.children).length;l<o;s=++l)r=a[s],(i=this.render_template_tree(r.template_set,r.args,n)).ref=r.ref,p.children.push(i),p.dom.find(`.__srtemplate_${r.uid}`).replaceWith(i.dom);return p}execute_template_tree(n,e){var t,r,i,s,l,o,a,u,p,c,h,d,f,m,g,v,$,b,y={};if(0<n.children.length)for(l=o=0,c=(m=n.children).length;o<c;l=++o)r=m[l],t=this.execute_template_tree(r,e),0<(null!=(g=r.ref)?g.length:void 0)&&(y[r.ref]=t);if(Topics.publish("before_dom_exec_scripts",{$dom:n.dom}),s={$dom:n.dom},n.template_set.compiled_js){for((f=function(){}).prototype=this.render_object,(b=new f).rootPath=n.template_set.rootPath,b.dom=n.dom,b.path=n.template_set.path,b.disable_cache=this.disable_cache,a={$dom:n.dom,context:s,args:n.args,params:e,Topics:{listen:function(e,t){return null==n.dom[0].topic_ns&&Topics.add_topic_ns(n.dom),Topics.listen(e,t,n.dom[0].topic_ns)},listen_once:function(e,t){return null==n.dom[0].topic_ns&&Topics.add_topic_ns(n.dom),Topics.listen(e,t,n.dom[0].topic_ns,!0)},publish:function(e,t){return Topics.publish(e,t)}},Render:b},u=0,h=(v=n.template_set.class_attrs).length;u<h;u++)a[`$${(i=v[u]).replace(w,"_")}`]=n.dom.find(`.${i}`);for(p=0,d=($=n.template_set.id_attrs).length;p<d;p++)a[`$${(i=$[p]).replace(w,"_")}`]=n.dom.find(`#${i}`);_.extend(a,y),n.template_set.compiled_js(a),f=x(n.dom),null!=(null!=(b=a.context)?b.dispose:void 0)&&(j[f]=a.context.dispose)}return Topics.publish("after_dom_exec_scripts",{$dom:n.dom}),s}}}.call(this),j={},e=function(e){for(var t,n=_.keys(j),r=[],i=0,s=n.length;i<s;i++)0<=(t=n[i]).indexOf(e)?(j[t](),r.push(delete j[t])):r.push(void 0);return r},t=jQuery.fn.empty,jQuery.fn.empty=function(){return this.each(function(){if(null!=this.view_namespace)return e(this.view_namespace)}),t.apply(this,arguments)},"Explorer"===BrowserDetect.browser&&7===BrowserDetect.version&&function(){jQuery.fn.html;jQuery.fn.html=function(){return jQuery.fn.empty.apply(this,arguments),jQuery.fn.append.apply(this,arguments)}}()}.call(this); 27!function(){var s,t=function(){class s{constructor(s){this.listeners=s,null==this.listeners&&(this.listeners={})}listen(s,t,e,n){var i;return null==e&&(e="global"),null==n&&(n=!1),null==(i=this.listeners)[s]&&(i[s]={}),null==(i=this.listeners[s])[e]&&(i[e]=[]),this.listeners[s][e].push({delete:n,cb:t})}publish(s,t){var e,n,i,l,r,h,u,o,c,p,a,f,d,y;if(!_.isArray(s)){if(d=[],this.listeners[s])for(l=0,u=(p=_.keys(this.listeners[s])).length;l<u;l++)if(c=p[l],null!=(null!=(a=this.listeners[s])?a[c]:void 0)&&0<this.listeners[s][c].length)for(i=r=0,o=(f=this.listeners[s][c]).length;r<o;i=++r)if(null!=(e=f[i])){if("undefined"!=typeof PRODUCTION_MODE&&null!==PRODUCTION_MODE)try{null!=e.cb&&d.push(e.cb(t))}catch(s){console.log(s)}else null!=e.cb&&d.push(e.cb(t));e.delete&&(this.listeners[s][c][i]=null)}return d}for(n=0,h=s.length;n<h;n++)y=s[n],this.publish(y,t)}unlisten_namespace(s){for(var t,e=_.keys(this.listeners),n=[],i=0,l=e.length;i<l;i++)t=e[i],n.push(delete this.listeners[t][s]);return n}has_listeners(s){return null!=this.listeners[s]}count_callbacks(){for(var s,t,e,n,i,l,r,h,u=0,o=_.keys(this.listeners),c=0,p=o.length;c<p;c++)for(h=o[c],s=0,e=(l=_.keys(this.listeners[h])).length;s<e;s++)for(i=l[s],t=0,n=(r=this.listeners[h][i]).length;t<n;t++)r[t],u++;return u}unlisten_namespace_starts_with(i){for(var l,r,s=_.keys(this.listeners),t=[],e=0,n=s.length;e<n;e++)r=s[e],t.push(function(){for(var s=_.keys(this.listeners[r]),t=[],e=0,n=s.length;e<n;e++)0<=(l=s[e]).indexOf(i)?t.push(delete this.listeners[r][l]):t.push(void 0);return t}.call(this));return t}add_topic_ns(s){var t;return null==s[0].topic_ns&&(0<(t=s.parent()).length?null!=t[0].topic_ns?s[0].topic_ns=`${t[0].topic_ns}:${Topics.topic_ns_counter++}`:s[0].topic_ns=`${Topics.add_topic_ns(t)}:${Topics.topic_ns_counter++}`:s[0].topic_ns=`${Topics.topic_ns_counter++}`),s[0].topic_ns}
27remove_marked_for_deletion(){for(var i,l,r,h,s=_.keys(this.listeners),t=[],e=0,n=s.length;e<n;e++)h=s[e],t.push(function(){for(var s=_.keys(this.listeners[h]),t=[],e=0,n=s.length;e<n;e++)r=s[e],t.push(function(){var s,t,e=this.listeners[h][r],n=[];for(l=s=0,t=e.length;s<t;l=++s)null!=(i=e[l])&&!0===i.delete?n.push(this.listeners[h][r][l]=null):n.push(void 0);return n}.call(this));return t}.call(this));return t}}return s.prototype.topic_ns_counter=0,s}.call(this);window.Topics=new t,s=jQuery.fn.empty,jQuery.fn.empty=function(){return this.each(function(){if(null!=this.topic_ns)return Topics.unlisten_namespace_starts_with(this.topic_ns)}),s.apply(this,arguments)}}.call(this); 28!function(){window.Router=class{constructor(e,s){var t;this.handle_route=this.handle_route.bind(this),this.should_callback=this.should_callback.bind(this),this.default_controller=s,null==this.default_controller&&(this.default_controller="Default"),this.last_processed_hash=this.process_hash(),!(this.has_called_callback=!1)===this.use_alternate_hash_updates()&&(t="",setInterval(()=>{if(window.location.hash!==t)return console.log("hash changed"),t=window.location.hash,this.should_callback(e)},50)),$(window).bind("hashchange",(s,t)=>((t=null==t?!1:t)&&(this.last_processed_hash.segments=[]),this.should_callback(e)))}handle_route(s,t,e){return _.isString(s.route)?this.process_routes(t.replace(s.matcher,s.route)).hash:_.isFunction(s.route)?(e=s.route(e),_.isString(e)?this.process_routes(t.replace(s.matcher,e)).hash:null):t}process_routes(s){for(var t,e,a=window.Router.routes,h=0,r=a.length;h<r;h++){if(e=a[h],_.isString(e.matcher)&&e.matcher===s)return{hash:this.handle_route(e,s,e.matcher),alias:e.alias};if(_.isRegExp(e.matcher)&&null!==(t=e.matcher.exec(s)))return{hash:this.handle_route(e,s,t),alias:e.alias}}return{hash:s=/^[^#]/.test(s)&&null!=s?`#${s}`:s,alias:!1}}should_callback(s){var t,e;if({hash:t,alias:e}=this.process_routes(window.location.hash),null!==t){if(window.location.hash===t||e)return this.current_hash=e=this.process_hash(t),Topics.publish("on_hash_change",window.location.hash),e.segments[0]!==this.last_processed_hash.segments[0]||e.segments[1]!==this.last_processed_hash.segments[1]||!1===this.has_called_callback?(s(e),this.has_called_callback=!0):Topics.publish("on_action_state_change",e),this.last_processed_hash=e;window.location.hash=t}}use_alternate_hash_updates(){return"Explorer"===BrowserDetect.browser&&7===BrowserDetect.version}process_hash(s){return null==s&&(s=window.location.hash),this.break_up_route(s)}get_current_hash(){return this.current_hash||this.process_hash()}break_up_route(s){var t=function(s){for(var t,e={},a=0,h=s.length;a<h;a++)t=s[a].split(/[:=]/),e[unescape(t[0])]=unescape(t[1]);return e},e=function(s){for(var t,e=[],a=0,h=s.length;a<h;a++)""!==(t=s[a])&&e.push(t);return e},a=(h=(s="/"===(s="#"===s.charAt(0)?s.substring(1):s).charAt(0)?s.substring(1):s).split("?"))[0],s=void 0===h[1]?null:h[1],h=e(a.match(/[^\/]*/g));return(a=null)!=s&&(a=t(e(s.match(/\w*[:=](\w|%|\.|\-)*/g)))),t=void 0===h[0]?this.default_controller:h[0],e=void 0===h[1]?"index":h[1],s=void 0===h[2]?null:h[2],h=_.flatten([t,e,s,h.slice(3)]),{controller:t=t.substr(0,1).toUpperCase()+t.substr(1).toLowerCase(),action:e=e.toLowerCase(),action_state:s,segments:h,parameters:a}}},window.Router.routes=[]}.call(this); 29!function(){window.PageHelpers={escape:function(e){return encodeURIComponent(e).replace("'","%27")},generate_hash:function(e,n){var t;return null==n&&(n={}),t=`#/${e}`,0<_.keys(n).length&&(t+="?",_.each(_.keys(n),function(e){return t+=`${PageHelpers.escape(e)}:${PageHelpers.escape(n[e])}/`})),t},go_to:function(e,n,t){return null==n&&(n={}),-1!==(t=null==t?0:t)&&$("body").scrollTop(t),window.location.hash=this.generate_hash(e,n),$(window).trigger("ie_hashchange")},go_to_noscroll:function(e,n){return this.go_to(e,n=null==n?{}:n,-1)},current_hash:function(){return window.SR_ApplicationController.router.get_current_hash()},rewrite_hash:function(e){return window.history.pushState(null,null,document.location.href.split("#")[0]+"#"+e)}}}.call(this); 30!function(){window.ApplicationController=class{constructor(i,e,t,n,a,l){this.display_route=this.display_route.bind(this),this.application_view_template=e,this.yield_div_id=t,null==i&&(i={}),null==this.application_view_template&&(this.application_view_template="application"),null==this.yield_div_id&&(this.yield_div_id="#application_yield"),null==n&&(n="Default"),null==a&&(a="app/views/"),this.router=new Router(this.display_route,n),this.view_engine=new ViewEngine(i,a,l),this.current_hash=null,window.SR_ApplicationController=this}run_action(i,e,t){e=this.view_engine.go(`controllers/${i}/${e}/${e}`);return this.place_and_unwrap(this.yield_div_id,e.dom),this.view_engine.execute_template_tree(e,t)}register_custom_view_path(i,e){return this.view_engine.register_custom_path(i,e)}display_route(i){return this.current_hash=i,Topics.publish("application_hash_change",i
30),this.run_action(i.controller,i.action,i.parameters)}add_page(i,e){return null==e&&(e=!1),this.router.add_route(`#${i.get_page_name()}`,i,e)}place_and_unwrap(i,e){return $(i).empty(),$(i).append(e)}start(){var i=this.view_engine.go(this.application_view_template);return this.place_and_unwrap("body",i.dom),this.view_engine.execute_template_tree(i),$(window).trigger("hashchange"),Topics.publish("on_application_started",!0)}}}.call(this); 31!function(){window.API=function(){class t{setup_creds(t){return $.ajaxSetup({username:t.username,password:t.password})}post_raw(t,e,i,s){var r,a,o,n,l=`<form style="display: none" action="${this.endpoint}/${t}/${e}" method="post">`,u=function(t,e){return l+=`<input type="hidden" name="${t}" value="${e}" />`},p=null!=i?i.args:void 0;for(a in p)if(n=p[a],$.isArray(n))for(r=0,o=n.length;r<o;r++)u(a,n[r]);else _.isDate(n)?u(a,n.toJSON()):u(a,n);if(l+="</form>",i=$(l),$("body").append(i),i[0].submit(),s)return s()}get(t,e,i,s,r){return 0<(this.delay||0)?setTimeout(()=>this._get(t,e,i,s,r),this.delay):this._get(t,e,i,s,r)}_get(t,e,i,s,r){var a=$.extend({},this.defaults,r);return Topics.publish("api_activity","get"),r=null==this.authentication_ticket?`${this.endpoint}/${t}/${e}`:`${this.endpoint}/${this.authentication_ticket}/${t}/${e}`,$.ajax({url:r,type:"GET",cache:!1,dataType:"json",data:i,xhrFields:{withCredentials:!0},timeout:null!=a.timeout?a.timeout:this.default_timeout||9e3,success:t=>this.handle_response(t,s,a),error:this.handle_error(t,e,i,s,"get",this.retry_queue,a)})}replay_calls(){for(var t,e,i=this.default_replay_timeout||5e3,s=i,r=this.retry_queue,a=0,o=r.length;a<o;a++)s<(t=null!=(e=r[a]).options.timeout?e.options.timeout:i)&&(s=t),t=$.extend({},this.defaults,e.options,{is_retry:!0,timeout:t}),"post"===e.method?this._post(e.controller,e.action,e.data,e.callback,t):"get"===e.method&&this._get(e.controller,e.action,e.data,e.callback,t);return this.replay_timeout=setTimeout(()=>this.check_replay_status(),s+300),!1}check_replay_status(){if(0!==this.retry_queue.length)return Topics.publish("retry_queue_failed")}post(t,e,i,s,r){return 0<(this.delay||0)?setTimeout(()=>this._post(t,e,i,s,r),this.delay):this._post(t,e,i,s,r)}_post(t,e,i,s,r){var a=$.extend({},this.defaults,r);return Topics.publish("api_activity","get"),r=null==this.authentication_ticket?`${this.endpoint}/${t}/${e}`:`${this.endpoint}/${this.authentication_ticket}/${t}/${e}`,$.ajax({url:r,type:"POST",headers:{"Cache-Control":"no-cache"},dataType:"json",data:JSON.stringify(i),xhrFields:{withCredentials:!0},contentType:"application/json; charset=utf-8",timeout:null!=a.timeout?a.timeout:this.default_timeout||9e3,tryCount:0,retryLimit:3,success:t=>this.handle_response(t,s,a),error:this.handle_error(t,e,i,s,"post",this.retry_queue,a)})}handle_response(t,e,i){switch(Topics.publish("api_activity","handle"),null!=(t=this.normalize_response(t))?t.responseCode:void 0){case"FAILURE":case"NOLOGIN":Topics.publish("api_error",t);break;default:Topics.publish("api_success")}return i.is_retry&&(this.retry_queue.shift(),0===this.retry_queue.length&&(Topics.publish("retry_queue_cleared"),clearTimeout(this.replay_timeout))),this.handle_callback(t,e)}handle_callback(t,e){var i,s,r,a;if(e&&t){if($.isArray(e)){for(a=[],s=0,r=e.length;s<r;s++)i=e[s],a.push(this.handle_callback(t,i));return a}return $.isFunction(e)?e(t):e.hasOwnProperty(t.responseCode)?e[t.responseCode](t):e.hasOwnProperty("ELSE")?e.ELSE(t):void 0}}handle_error(s,r,a,o,n,l,u){return function(t,e,i){Topics.publish("api_activity","handle"),Topics.publish("api_fail",{request:this,callback:o}),"abort"!==e&&t.readyState<4&&u.needs_replay&&!u.is_retry&&(l.push({method:n,controller:s,action:r,data:a,callback:o,options:u}),Topics.publish("on_connection_down",l))}}normalize_response(t){return null!=t?null!=t.ResponseCode||null!=t.MessageList||null!=t.Result?{responseCode:t.ResponseCode,messageList:t.MessageList,result:t.Result}:t:null}toJSONP(t){return null!=(t=t+t.indexOf(!1))?t:{"&callback=?":"?callback=?"}}normalize_date(t,e){var i,s,r,a,o,n;for($.isArray(t)||(t=[t]),$.isArray(e)||(e=[e]),i=0,a=t.length;i<a;i++)for(n=t[i],s=0,o=e.length;s<o;s++)r=e[s],null!=(null!=n?n[r]:void 0)&&(n[r]=this.parse_json_date(n[r]));return t}parse_json_date(t){return new Date(+t.replace(/\/Date\((\d+)\)\//,"$1"))}}return t.prototype.endpoint="",t.prototype.delay=0,t.prototype.default_timeout=9e3,t.prototype.default_replay_timeout=5e3,t.prototype.retry_queue=[],t.prototype.defaults={is_retry:!1,needs_replay:!0,timeout:null},t.prototype.authentication_ticket=null,t}.call(this)}.call(this); 32!function(){var o,t,e,s,a,i,r=[].indexOf;if("undefined"!=typeof PRODUCTION_MODE&&null!==PRODUCTION_MODE){try{i=window.console.log}catch(e){i=function(){}}a=[],o=!0,t=["info","debug","error"],e=function(e,...n){if(r.call(t,e)<0&&(n=arguments,e="info"),100<a.unshift({level:e,data:n})&&a.pop(),!1===o||"undefined"==typeof PRODUCTION_MODE||null===PRODUCTION_MODE)try{return i.apply(this,n)}catch(e){return $.noop()}},window.console.log=e,window.console.show_messages=function(){return i.apply(this,[a])},window.console.get_messages=function(){return a},window.console.turn_off_logger=function(){return o=!1},s=!1,$(document).bind("keydown.logger",function(n){var o,e,t,i,r,l,f,d,u,c;if(n.shiftKey&&n.ctrlKey&&(25===(u=n.keyCode)||89===u)){if(s)return $("#slideroom_logger").remove(),s=!1;for(l="",e=0,i=a.length;e<i;e++){for(d="",t=0,r=(c=(f=a[e]).data).length;t<r;t++){o=c[t];try{null!=o.nodeType?d+=`${o}, `:d+=`${JSON.stringify(o)}, `}catch(e){n=e,d+=`${o}, `}}l+=`-- ${f.level} -- ${d}\r\n`}return $("body").append(`<textarea id='slideroom_logger' style='position: fixed; z-index: 999999; top: 10px; left: 10px; width: 400px; height: 400px;'>${l}</textarea>`),s=!0}})}}.call(this); 33!function(){window.Validation=class{constructor(t,e,i){this.mark_element_for_error=this.mark_element_for_error.bind(this),this.add_class_to_parent=i,null==this.add_class_to_parent&&(this.add_class_to_parent=!1),this.missing=[],this.others=[],null!=t&&null!=e&&this.from_validation(t,e)}element_in_a_list(s){var t=function(t){for(var e=0,i=t.length;e<i;e++)if(t[e].element===s)return!0;return!1};return t(this.missing)||t(this.others)}get_lists(){return{missing:this.missing,others:this.others}}check_for_missing(t){var e,i,s,r,n=t=>{if(0===$.trim(t.element.val()).length)return this.add_missing(t.element,t.text)};if($.isArray(t)){for(r=[],e=0,s=t.length;e<s;e++)i=t[e],r.push(n(i));return r}return n(t)}check_for_validation(t){var e,i,s,r,n=t=>(console.log("isFunction",$.isFunction(t.expression)),(!$.isFunction(t.expression)||t.expression())&&(!1!==$.isFunction(t.expression)||t.expression.test(t.element.val()))?void 0:this.add_invalid(t.element,t.text,t.format));if($.isArray(t)){for(r=[],e=0,s=t.length;e<s;e++)i=t[e],r.push(n(i));return r}return n(t)}mark_element_for_error(t){if(t.addClass("error"),this.add_class_to_parent)return t.parent().addClass("error")}
33add_missing(t,e){if(!this.element_in_a_list(t))return this.missing.push({element:t,text:e}),this.mark_element_for_error(t)}add_invalid(t,e,i){if(!this.element_in_a_list(t))return this.others.push({element:t,text:e,format:i}),this.mark_element_for_error(t)}should_display(){return 0<this.missing.length||0<this.others.length}from_validation(t,e){var i,s,r,n,l,a,o,h,_;if(null!=t&&null!=e){for(s=0,l=(o=t.missing).length;s<l;s++)e[i=o[s]]&&this.add_missing(e[i].element,e[i].text);for(_=[],n=0,a=(h=t.invalid).length;n<a;n++)e[(r=h[n]).field]?_.push(this.add_invalid(e[r.field].element,e[r.field].text,r.format)):_.push(void 0);return _}}}}.call(this); 34!function(){var t=!1,e=!1,a=function(n){return window._gaq.push(n)},o=function(){var n,e;return window._gaq=[],(n=document.createElement("script")).type="text/javascript",n.async=!0,n.src="https://ssl.google-analytics.com/ga.js",(e=document.getElementsByTagName("script")[0]).parentNode.insertBefore(n,e),t=!0},r=function(n){if(!e)return t||o(),a(["secondary._setAccount",n]),a(["secondary._setDomainName",window.location.hostname]),a(["secondary._trackPageview","/"]),e=!0},c=function(){return window.dataLayer.push(arguments)},i=function(n){return c("config",n)},n=function(){var n,e;if(window.dataLayer=window.dataLayer||[],c("js",new Date),(n=document.createElement("script")).async=!0,n.src="https://www.googletagmanager.com/gtag/js",(e=document.getElementsByTagName("script")[0]).parentNode.insertBefore(n,e),null!=(e=window.GA4_TRACKING_CODE)&&e.length)return i(window.GA4_TRACKING_CODE)},s=function(n){return(0===n.indexOf("G-")?i:r)(n)},d=function(n){if(e)return a(["secondary._trackPageview","/"])};Topics.listen("on_application_started",n),Topics.listen("do_register_secondary_tracking_code",s),Topics.listen("on_hash_change",d)}.call(this); 35!function(){window.Util={rx_LINEFEED:/(\r\n)|\n|\r/g,rx_EMAILVALID:/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}
35{\'?]+)*@((?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,63}$/i,rx_URLVALID:/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/,PARSE_ENCODE:1,PARSE_LINKIFY:2,internal:{html_encode_div:$("<div>")[0],scripts_loaded:{}},cookies_enabled:function(){var t=function(n,t,e){var r,i;return null==t&&(t="test"),i="",null!=e&&((r=new Date).setTime(r.getTime()+24*e*60*60*1e3),i=`; expires=${r.toGMTString()}`),document.cookie=`${n}=${t}${i}; path=/`},n=function(n){for(var t,e=document.cookie.split(";"),r=0,i=e.length;r<i;r++){for(t=e[r];" "===t.charAt(0);)t=t.substring(1,t.length);if(0===t.indexOf(`${n}=`))return t.substring(n.length+1,t.length)}return null},e=function(n){return t(n,"",-1)},r=!1;return t("test"),null!==n("test")&&(r=!0,e("test")),"localhost"===(e=null!=(e=window.location)?e.hostname:void 0)||""===e||r},get_app_prefix:function(){return window.location.protocol+"//"+window.location.host+_.initial(window.location.pathname.split("/")).join("/")+"/"},pluralize:function(n,t,e){return 1===e?n:t},linkify:function(n){return n=n.replace(new RegExp('(href[\\s]*=[\\s]*"?)?((?:(?:https?|ftp|file)://|www.|ftp.)[-A-Z0-9+&@#/%=~_|$?!:;,.]*[A-Z0-9+&@#/%=~_|$])',"gi"),function(n,t,e){return t?n:`<a href='${n=!/^https?:\/\//.test(n=e)?"http://"+n:n}' target='_blank'>${Util.truncate(e,180)}</a>`})},parse_text:function(n,t){return t=t||0,n=n||"",n=$.trim(n),t&Util.PARSE_ENCODE&&(n=Util.html_encode(n)),t&Util.PARSE_LINKIFY&&(n=Util.linkify(n)),n=Util.replace_line_feeds(n)},replace_line_feeds:function(n,t){return null==t&&(t="<br />"),null!=n?n.replace(Util.rx_LINEFEED,t):void 0},truncate:function(n,t,e){return null==t&&(t=20),null==n?"":(null!=(n=null!=e&&$.isFunction(e)?e(n):n)?n.length:void 0)>t?`${n.substr(0,t)}...`:n},html_encode:function(n){return Util.internal.html_encode_div.innerText=Util.internal.html_encode_div.textContent=n||"",Util.internal.html_encode_div.innerHTML},xml_pretty_print:function(n){return vkbeautify.xml(n)},endsWith:function(n,t){return n.match(t+"$")==t},prevent_form_submission:function(){return $(document).on("submit","form",function(n){return n.stopPropagation(),!1})},is_similar:function(n,t,e){var r,i,o,l;if(n===t)return!0;if((e=null==e?!1:e)&&(null===n||""===n||$.isArray(n)&&0===n.length)&&(null===t||""===t||$.isArray(t)&&0===t.length))return!0;if(!(n instanceof Object&&t instanceof Object))return!1;if(n.constructor!==t.constructor)return!1;if($.isArray(n)){if(n.length!==t.length)return!1;for(r=i=0,o=n.length;i<o;r=++i)if(l=n[r],!this.is_similar(l,t[r],e))return!1}else for(l in n)if(n.hasOwnProperty(l)){if(!t.hasOwnProperty(l))return!1;if(n[l]!==t[l]&&(!e||null!==n[l]&&""!==n[l]||null!==t[l]&&""!==t[l])&&!(n[l]instanceof("undefined"!=typeof timezoneJS&&null!==timezoneJS?timezoneJS.Date:void 0)&&t[l]instanceof("undefined"!=typeof timezoneJS&&null!==timezoneJS?timezoneJS.Date:void 0)&&n[l]._timeProxy===t[l]._timeProxy)){if("object"!=typeof n[l])return!1;if(!this.is_similar(n[l],t[l],e))return!1}}return!0},is_date_like:function(n){var t,e=/^(\d{1,2})[\/\.-](\d{1,2})[\/\.-]((\d{4})|(\d{2}))$/.exec(n);return!!(e&&4<=e.length)&&(t=parseInt(e[3],10),n=parseInt(e[1],10),e=parseInt(e[2],10),1<=n&&n<=12&&1<=e&&e<=31&&!isNaN(new Date(t,n-1,e)))},is_number_like:function(n){return null!=/^[-+]?\d+(.\d+)?$/.exec(n)},is_potential_ceeb_code:function(n){return null!=/^(\d{4})(\d{2})?$/.exec(n)},hex2rgb:function(n){return{r:(n=parseInt(-1<n.indexOf("#")?n.substring(1):n,16))>>16,g:(65280&n)>>8,b:255&n}},expand_hex:function(n){return"string"!=typeof n?null:3===(n=n.toLowerCase().replace(/[^A-F0-9]/gi,"")).length?n[0]+n[0]+n[1]+n[1]+n[2]+n[2]:n},trim_to_null:function(n){return"string"==typeof n&&""===(n=$.trim(n))?null:n},load_script:function(e,r){var n=/^https?/.test(e)?e:`${Global.asset_dir()}js/${e}`;this.internal.scripts_loaded[e]?$.isFunction(r)&&r():$.getScript(n,(n,t)=>{"success"===t&&(this.internal.scripts_loaded[e]=!0,$.isFunction(r)&&r())})},load_stylesheet_once:function(e){var r=!1;$("link[href]").each(function(n,t){if(t.href===e)return r=!0}),r||$("head").append(`<link rel='stylesheet' href='${e}'>`)},make_$:function(n){return $.extend({},$(),n)},fancy_join:function(n,t,e){var r=n.length;return r<2?n.join(t):n.slice(0,r-1).join(t)+(e||t)+n[r-1]},have_touch_events:function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)},fancy_sort:function(n,t,e,r,i){var o,l,u;switch(null==r&&(r=!0),null==i&&(i=!0),u=n,l=$.isFunction(t)?t:function(n){return n[t]},e){case"date":o=r&&i?9007199254740992:-9007199254740992,u=_.sortBy(n,function(n){n=l(n);return n=null!=n?n.getTime():o,n=!r?-n:n});break;case"number":o=r&&i?9007199254740992:-9007199254740992,u=_.sortBy(n,function(n){n=l(n);return n=null!=n?n:o,n=!r?-n:n});break;
35case"string":o=r&&i?"zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz":"",u=_.sortBy(n,function(n){n=null!=(n=l(n))?n.toString().toUpperCase():void 0;return n=0<(null!=n?n.length:void 0)?n:o}),r||u.reverse()}return u},end_of_day:"23:59:59",truncate_option:function(n,t){var e;$(n).find("option").each(function(n,t){var e=$(t).data("original_text");if(null!=e)return $(t).text(e)}),(n=(e=$(n).find("option:selected")).text()).length>t+1&&(e.data("original_text",n),e.text(Util.truncate(n,t)))},needs_inline_uploader:"Firefox"===BrowserDetect.browser&&3.6===BrowserDetect.version||"Safari"===BrowserDetect.browser&&BrowserDetect.version<6,can_display_pdf:function(){var n,t,e,r,i=!1;if("Explorer"===BrowserDetect.browser&&BrowserDetect.version<=9||"iDevice"===BrowserDetect.OS)return!1;for(n=0,t=(r="undefined"!=typeof navigator&&null!==navigator?navigator.plugins:void 0).length;n<t;n++)"webkit built-in pdf"!==(e=r[n].name.toLowerCase())&&"chrome pdf viewer"!==e&&"adobe acrobat"!==e||(i=!0);return i}(),format_rating:function(n){return null!=n&&n.toString().match(/\./)?Number(parseFloat(n).toFixed(2)):n},format_currency:function(n){var t=Math.abs(n).toFixed(2).replace(/\B(?=(\d{3})+(?!\d))/g,",");return n<0?"($"+t+")":"$"+t},format_address:function(n,t,e,r,i,o,l){var u;return null==l&&(l="\n"),u=[],null!=n&&n.length&&u.push(n),null!=t&&t.length&&u.push(t),t=[],null!=e&&e.length&&t.push(e),null!=r&&r.length&&null!=i&&i.length?t.push(r+" "+i):null!=r&&r.length?t.push(r):null!=i&&i.length&&t.push(i),o&&(COUNTRY_CODES&&(i=_.find(COUNTRY_CODES,function(n){return n.data===o}),o=i.label||o),t.push(o)),t.length&&u.push(t.join(", ")),u.join(l)},get_filename_extension:function(n){n=/\.([^\.\?\/]+)(?:[\?#]|$)/i.exec(n);return null!=n&&n.length?"."+n[1].toLowerCase():null}},jQuery.group=function(n){var t=$();return $.each(n,function(){return t=t.add(this)}),t},jQuery.fn.toggleVisibility=function(n){return $(this).css("visibility",n?"visible":"hidden")},"undefined"!=typeof Markdown&&null!==Markdown&&(Util.markdown=new Markdown.Converter,Util.markdownHtml=function(n,t){var e={div_wrapper:!0};return _.extend(e,t),n=Util.markdown.makeHtml(n,e),e.div_wrapper?"<div class='slideroom_markdown'>"+n+"</div>":n})}.call(this); 36!function(){var i={lines:25,length:0,radius:15,trail:70,opacity:0,speed:3},e={lines:20,length:0,radius:8,trail:40,opacity:0,speed:3},n=function(n){if(null!=n)return n instanceof $?SpinUtil.stop(n):SpinUtil.stop(n.$el,{content:n.content})},t=function(n){null!=n&&(n instanceof $?l({$el:n,content:"Saving"}):n.$el&&l(n))},l=function(n){SpinUtil.spin(n.$el,_.extend({},e,{position:"right",lane:"inside",delay:200,color:n.$el.hasClass("blue")?"#fff":"#6E7E8E"},n,{content:n.content}))},o=function(n){if(null!=n)return n instanceof $?SpinUtil.stop(n):SpinUtil.stop(n.$el,{content:n.content})};Topics.listen("do_content_busy",function(n){var t;return null!=n&&n instanceof $?SpinUtil.spin(n,_.extend({},i,{delay:200,position:"center"})):null!=n&&n.$el?(t="small"===n.size?e:i,SpinUtil.spin(n.$el,_.extend({},t,{position:"center",delay:200},n))):void 0}),Topics.listen("do_content_done",n),Topics.listen("do_button_busy",t),Topics.listen("do_button_done",o)}.call(this); 37!function(){Topics.listen("do_focus",function(t){var n;return null!=n&&n.removeAttr("tabindex"),(n=$(t)).attr("tabindex","-1").focus()})}.call(this); 38!function(){var t=null,l=null,o=0,n=function(n){if(n)return t=$(n),l=$("<ul class='_notifications' />"),t.append(l)},i=function(n,i){if(null==i&&(i=3e3),t)return n=$(`<li>${n}</li>`),l.prepend(n),0===o&&t.addClass("-growling"),o++,setTimeout(function(){if(--o<=0)return o=0,t.removeClass("-growling"),setTimeout(function(){return l.empty()},500)},i)};Topics.listen("do_notify",i),Topics.listen("do_long_notify",function(n){return i(n.html,n.duration)}),null==window.AppUtil&&(window.AppUtil={}),window.AppUtil.initialize_growl=n}.call(this); 39!function(){var o=[].indexOf,i=function(i,l,n){var s,e,p,t,a;if(null==l&&(l=[]),null==n&&(n=[]),i){for(a=[],e=0,p=l.length;e<p;e++)s=`-deny_${t=l[e]}`,0<=o.call(n,t)?a.push(i.removeClass(s)):a.push(i.addClass(s));return a}};null==window.AppUtil&&(window.AppUtil={}),window.AppUtil.initialize_inverse_permissions=i}.call(this); 40!function(){var n=function(n,t,i){return 1===i?n:t}
40,t=function(n,t){return null==t&&(t="MM/dd/yyyy"),null==n?"":n.toString(t)},i=function(n,t,i){return null==t&&(t=20),null==i&&(i="..."),null==n?"":(null!=n?n.length:void 0)>t?`${n.substr(0,t)}${i}`:n},l=function(){return window.SR_RegisterTemplateFunction("pluralize",n),window.SR_RegisterTemplateFunction("format_date",t),window.SR_RegisterTemplateFunction("trim",i)};null==window.AppUtil&&(window.AppUtil={}),window.AppUtil.initialize_template_functions=l}.call(this); 41!function(){var i=null,n=$("<div class='_busy_overlay' style='display: none; position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; background-color: grey; opacity: 0.01; z-index: 99998;' />"),o=$("<div class='_busy_overlay_dark' style='display: none; position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; background-color: black; opacity: 0.5; z-index: 99999;' />"),t=function(t){return t.append(n),t.append(o)},e=function(){return clearTimeout(i),n.fadeOut("fast"),o.fadeOut("fast")},a=function(t){return 0<=(t=null==t?5:t)&&(i=setTimeout(function(){return o.fadeIn("fast")},1e3*t)),n.fadeIn("fast")};n.click(function(t){return t.preventDefault(),t.stopPropagation()}),o.click(function(t){return t.preventDefault(),t.stopPropagation()}),Topics.listen("do_ui_disable",a),Topics.listen("do_ui_enable",e),null==window.AppUtil&&(window.AppUtil={}),window.AppUtil.initialize_ui_disable=t}.call(this); 42!function(){window.CheckboxGroup=class{constructor(t,e,n){this.selector=t,this.$context=e,this.datatype=n,null==this.$context&&(this.$context=$(document)),null==this.datatype&&(this.datatype="string")}val(t){var e=this.$get();return null!=t?(e.val($.isArray(t)?t:[t]),e.filter(":checked").trigger("change"),e):"int"===this.datatype?_.map(e.filter(":checked"),function(t){return parseInt(t.value)}):_.map(e.filter(":checked"),function(t){return t.value})}$get(){return this.$context.find(this.selector)}}}.call(this); 43!function(){window.FormBinding=class{constructor(e){this.fields=e,this.setup_labels(),this.setup_names()}setup_clear_error_event(e){return e.change(function(){return $(this).removeClass("formee-error")})}setup_labels(){var e,t,l,n,r=this.fields;for(t in r)null!=(n=r[t]).$element&&(this.setup_clear_error_event(n.$element),(l=(e=$(n.$element)).closest("form").find("label[for="+e.attr("id")+"]")).length||(e.is("[type=text],[type=password],textarea,select")?l=e.prev("label"):e.is("[type=checkbox]")?l=e.next("label"):e.is("[type=radio]")&&(e.is(":not([id])")&&e.attr("id",e.attr("name")+"_"+e.attr("value")+Math.floor(100*Math.random())),l=e.next("label")),$(l).attr("for",e.attr("id"))),n.$label=n.$label||l)}setup_names(){var e,t,l=this.fields;for(e in l)null==(t=l[e]).name&&(t.name=$.trim(t.$label.text().replace("*","")))}to_view(e){var t,l,n,r,i;if(null!=e)for(t in n=this.fields)l=n[t],i=this.get_model_value(e,t),"date"===(r=l.type)||"tzdate"===r?l.$element.val(null!=i?i.toString(l.format||"MM/dd/yyyy"):""):"function"==typeof(r=l.$element).is&&r.is("[type=checkbox]")?l.$element.prop("checked",i||!1):"int"===l.type?l.$element.val((null!=i?i.toString():void 0)||(null!=(r=l.default)?r.toString():void 0)||""):"boolean"===l.type?l.$element.val(null!=i?i.toString():""):l.$element.val(null!=i?i:""),BrowserDetect.hasPlaceholder||l.$element.trigger("change")}to_read_only_view(e){var t,l,n,r=this.fields;for(t in r)l=r[t],n=this.get_model_value(e,t),l.$element.text(null!=n?n:"")}get_form_value(e){var t,l=Util.trim_to_null(e.$element.val());return"function"==typeof(t=e.$element).is&&t.is("[type=checkbox]")?e.$element.is(":checked"):"int"===e.type?/^[0-9]+$/.test(l)?parseInt(l,10):null:"boolean"===e.type?"true"===l.toString().toLowerCase():"float"===e.type?/^\-?[0-9]+(\.[0-9]*)?$/.test(l)?parseFloat(l):null:"date"===e.type?null===l?null:new Date(l):"tzdate"===e.type?(t=_.isFunction(e.timezone)?e.timezone():e.timezone,e=l+(null!=e.time?" "+e.time:""),null===l?null:new timezoneJS.Date(e,t)):l}get_model_value(e,t){for(var l=e,n=t.split("."),r=0,i=n.length;r<i;r++)if(null==(l=l[n[r]]))return null;return l}set_model_value(e,t,l){for(var n,r,i=t.split("."),a=[],o=n=0,s=i.length;n<s;o=++n)r=i[o],o<i.length-1?(null==e[r]&&(e[r]={}),a.push(e=e[r])):a.push(e[r]=l);return a}to_model(){var e,t,l={},n=this.fields;for(e in n)t=n[e],this.set_model_value(l,e,this.get_form_value(t));return l}}}.call(this); 44!function(){window.RadioGroup=function(n,e){var t;return null==e&&(e=$(document)),t=function(){return e.find(n)},{selector:n,$context:e,val:function(n){var e=t();return null!=n?(e.val([n]),e.filter(":checked").trigger("change"),e):e.filter(":checked").val()},$get:t}}}.call(this); 45!function(){window.Dropdown={close_all:function(){return Topics.publish("on_dropdowns_close"),$(".__dropdown.-open").each(function(){var o=$(this).data("dropdown_data");if(null!=o&&o.on_close)return o.on_close()}),$(".__dropdown.-open, .__dropdown_button.-open").removeClass("-open")},close_all_but:function(t){return Topics.publish("on_dropdowns_close"),$(".__dropdown.-open, .__dropdown_button.-open").each(function(){var o,n=$(this);if(n.attr("data-dropdown_id")!==t&&(n.removeClass("-open"),null!=(o=n.data("dropdown_data"))&&o.on_close))return o.on_close()})},setup:function(n){var o,t,e=n.button,l=n.menu;if(n=$.extend({},{align:"right",type:"replace",menu_close_on_click:!0},n),null!=l&&null!=e&&!l.hasClass("__dropdown"))return t=_.uniqueId("dropdown"),l.addClass("__dropdown"),l.data("dropdown_data",n),"left"===n.align&&(l.css("right","0"),l.css("left","auto")),e.addClass("__dropdown_button"),l.attr("data-dropdown_id",t),e.attr("data-dropdown_id",t),o=function(o){if
45(!0===n.menu_close_on_click&&window.Dropdown.close_all(),"replace"===n.type)return e.text($(this).text())},l.find("a").click(o),l.on("click","a",o),e.click(function(){return window.Dropdown.close_all_but(t),l.toggleClass("-open"),e.toggleClass("-open"),l.hasClass("-open")?null!=n.on_open&&n.on_open():null!=n.on_close&&n.on_close(),!1}),!1===n.menu_close_on_click&&l.click(function(o){return o.stopPropagation(),o.preventDefault(),!1}),l.click(function(o){return o.stopPropagation()})}},Topics.listen("on_application_started",function(){return $("body,html").click(function(o){if(!o.isPropagationStopped())return window.Dropdown.close_all()}),$(document).bind("keyup",function(o){if(27===o.keyCode&&!o.isPropagationStopped())return window.Dropdown.close_all()})})}.call(this); 46!function(){window.SpinUtil={defaults:{delay:0,lines:7,length:2,width:2,radius:2,color:"#000",speed:1,trail:30,shadow:!1,hwaccel:!0,position:"center",lane:"outside",padding:3,content:null},spin:function(s,t){var e,n,c={};return $.extend(c,this.defaults),$.extend(c,t),s=$(s),null!=(null!=(e=s.data()||{})?e.spinner:void 0)&&(e.spinner.stop(),delete e.spinner),n=function(){var t,e,n=(s.outerWidth(!1)-s.width())/2,r=(s.outerHeight(!1)-s.height())/2,i=c.radius+c.length+c.width,l=-n,u=s.width()+n-1,a=-r,o=s.height()+r;return c.position=function(){switch(c.position){case"center":return"center center";case"top":return"top center";case"left":return"center left";case"bottom":return"bottom center";case"right":return"center right";default:return c.position}}(),r=c.position.split(" "),e=r[0],t=1<r.length?r[1]:null,c.left=function(){switch(t){case"left":switch(c.lane){case"center":return l-i;case"outside":return l-c.padding-2*i;default:return l+c.padding}break;case"right":switch(c.lane){case"center":return u-i;case"outside":return u+c.padding;default:return u-c.padding-2*i}break;default:return"auto"}}(),c.top=function(){switch(e){case"top":switch(c.lane){case"center":return a-i;case"outside":return a-c.padding-2*i;default:return a+c.padding}break;case"bottom":switch(c.lane){case"center":return o-i;case"outside":return o+c.padding;default:return o-c.padding-2*i}break;default:return"auto"}}()},null!=c.content&&(null==e.content&&(e.content=s.html()),s.html(c.content)),null!=(null!=e?e.spin_timer:void 0)&&clearTimeout(e.spin_timer),e.spin_timer=setTimeout(function(){return n(),e.spinner=new Spinner(c).spin(s[0])},c.delay)},stop:function(t,e){var n;return null!=(null!=(n=(t=$(t)).data()||{})?n.spin_timer:void 0)&&clearTimeout(n.spin_timer),null!=(null!=n?n.spinner:void 0)&&(n.spinner.stop(),delete n.spinner),null!=(null!=e?e.content:void 0)?t.html(e.content):null!=(null!=n?n.content:void 0)?t.html(n.content):void 0}}}.call(this); 47!function(){var t=function(t,e,o){return o.top<=e&&e<=o.top+o.height},e=function(t,e,o){t=o.left<=t&&t<=o.left+o.width;return o.top<=e&&e<=o.top+o.height&&t},s=function(t){return t[0].unselectable=!0,t.find("*").not(".force_selectable *").each(function(t,e){if(1===e.nodeType)return e.unselectable=!0})},a=function(t){var e,o,i;return t.clientX=(null!=(e=t.originalEvent.touches)&&null!=(o=e[0])?o.clientX:void 0)||t.clientX,t.clientY=(null!=(o=t.originalEvent.touches)&&null!=(i=o[0])?i.clientY:void 0)||t.clientY},o=window.DocumentTouch&&document instanceof DocumentTouch,r="ontouchstart"in window||o,h=$(window),l=null,_=t=>{var e,o=t=>()=>h.scrollTop(h.scrollTop()+t),i=h.height(),n=r?100:20,t=(t=(null!=(e=t.originalEvent.touches)?e[0]:void 0)||t).clientY;if(clearInterval(l),t<n||i-n<t)return i=r?2:10,t<n&&(i*=-1),l=setInterval(o(i),2)};window.VerticalSort=class{constructor(t){this.evaluate_can_drag=this.evaluate_can_drag.bind(this),this.setup=this.setup.bind(this),this.proxy=this.proxy.bind(this),this.unbind_events=this.unbind_events.bind(this),this.bind_events=this.bind_events.bind(this),this.offset_dragging_element=this.offset_dragging_element.bind(this),this.normalize_map=this.normalize_map.bind(this),this.overlay_map=this.overlay_map.bind(this),this.build_map=this.build_map.bind(this),this.drop_location_process=this.drop_location_process.bind(this),this.compute_y_thresh=this.compute_y_thresh.bind(this),this.on_mouse_move=this.on_mouse_move.bind(this),this.closest_mouse_move=this.closest_mouse_move.bind(this),this.normal_mouse_move=this.normal_mouse_move.bind(this),this.on_mouse_down_timeout=this.on_mouse_down_timeout.bind(this),this.on_mouse_down=this.on_mouse_down.bind(this),this.on_mouse_up=this.on_mouse_up.bind(this),this.options={namespace:"vertical_sort",container:null,drag_selectors:[".drag"],target_selectors:[".drag"],dragging_class:"dragging",marker:$("<div class='marker' />"),track:!1,grip_selector:null,before_only:!1,insert_container:null,insert_selectors:null,left_offset:0,drag_item_cho
47oser:"normal",map_grip:!1,beforestart:function(t,e){},oncanceled:function(t){},onstart:function(t,e){},ondrop:function(t,e){},onhover:function(t,e,o){},can_drag:function(){return!0}},$.extend(this.options,t),this.setup(),this.unbind_events(),this.bind_events()}evaluate_can_drag(){var t=null==this.options.can_drag||this.options.can_drag();return this.can_drag&&t}setup(){return this.start_timeout=null,this.temp_namespace=this.options.namespace+"__temp",this.time_before_drag_start=250,this.dont_map_class="__dont_map",this.window=$(document),this.drag_map=[],this.dragging_element=null,this.can_drag=!0,this.drop_location={operation:"",$element:null},this.box_function=this.options.track?t:e,this.offset_x=0,this.offset_y=0,this.window.off(`.${this.options.namespace}`),this.window.on(`mouseup.${this.options.namespace} touchend.${this.options.namespace}`,()=>{var t;if(null!=this.start_timeout)return"function"==typeof(t=this.options).oncanceled&&t.oncanceled(),clearTimeout(this.start_timeout),this.start_timeout=null})}proxy(o){return function(t){var e=$(this);return a(t),o(t,e)}}unbind_events(){var t=this.options.namespace;if(this.options.container.find(this.options.drag_selectors.join(",")).unbind(`.${t} .${this.temp_namespace}`),null!=this.options.insert_container&&null!=this.options.insert_selectors)return this.options.insert_container.find(this.options.insert_selectors.join(",")).unbind(`.${t} .${this.temp_namespace}`)}bind_events(){var t,e,o,i,n=(t,e,o)=>{var i;if(null==o&&(o="sort"),i=`mousedown.${this.options.namespace} touchstart.${this.options.namespace}`,t.find(e.join(",")).bind(i,this.proxy(this.on_mouse_down_timeout(o))),!r)return t.find(e.join(",")).each(function(){return s($(this))})};if({container:t,drag_selectors:e}=this.options,{insert_container:o,insert_selectors:i}=this.options,n(t,e,"sort"),null!=o&&null!=i)return n(o,i,"insert")}offset_dragging_element(t,e){var o,i;return this.options.track?(i=e,(i=(o=this.max_y-this.window.scrollTop())<i?o:i)<(o=this.min_y-this.window.scrollTop())&&(i=o),null!=(o=this.dragging_element)?o.css({top:i,left:null}):void 0):null!=(i=this.dragging_element)?i.css({top:e,left:t+this.options.left_offset}):void 0}normalize_map(){for(var t,e=null,o=this.drag_map,i=[],n=0,s=o.length;n<s;n++)t=o[n],null!=e&&e.top+e.height<t.top&&(e.height=t.top-e.top),i.push(e=t);return i}overlay_map(){var t,e,o,i,n,s=$("body");for(s.find(".___map_overlay").remove(),n=[],e=0,o=(i=this.drag_map).length;e<o;e++)t=i[e],n.push(s.append(`<div class='___map_overlay' style='position: fixed; border: 1px red solid; top:${t.top}px; left: ${t.left}px; width: ${t.width}px; height: ${t.height}px;'></div>`));return n}build_map(){var t,e,o,i,n,s,r,a,h,l,_,p;for(this.drag_map=[],e=this.options.target_selectors.join(","),h=`:not(.${this.options.dragging_class}, .${this.dont_map_class})`,s=n=0,a=(o=this.options.container.find(e+h)).length;n<a;s=++n)i=o[s],l=t=$(i),{top:_,left:r}=(l=this.options.map_grip?t.find(this.options.grip_selector):l).offset(),[p,i]=[l.outerWidth(),l.outerHeight()],l=i,0===s&&(this.min_y=_,_-=100,i+=100),s>=o.length-1&&(this.max_y=_+i,i+=100),this.drag_map.push({$el:t,top:_,left:r,width:p,height:i,original_height:l});return this.normalize_map()}drop_location_process(t){var e;return"before"===(e=this.drop_location.operation)||"after"===e?this.drop_location.$element[this.drop_location.operation](t):t.remove()}compute_y_thresh(t,e){return 1===this.drag_map.length?t.top+t.height/2:t.original_height!==t.height?0===e?t.top+t.height:t.top+t.original_height:t.top+(t.height-10)}on_mouse_move(r){return t=>{var e,o,i,n,s;if(null==r&&(r="sort"),null!=this.dragging_element){try{t.preventDefault(),t.stopPropagation()}catch(t){}return _(t),a(t),{clientX:e,clientY:o,pageX:n,pageY:s}=t,o+=this.window.scrollTop(),i=e-this.offset_x,t=o-this.offset_y-this.window.scrollTop(),this.offset_dragging_element(i,t),"closest"!==this.options.drag_item_cho
47oser?this.normal_mouse_move(e,o,r):this.closest_mouse_move(e,o,r)}}}closest_mouse_move(t,e,o){for(var i,n,s,r,a,h,l=null,_=99999,p=this.drag_map,c=r=0,u=p.length;r<u;c=++r)a=p[c],s=Math.abs(e-a.top),n=Math.abs(e-(a.top+a.height)),(n=Math.min(s,n))<_&&(l=a,i=c,_=n);return h=this.compute_y_thresh(l,i),this.drop_location.operation=h<e?"after":"before",this.drop_location.$element=l.$el,"function"==typeof(h=this.options).onhover&&h.onhover(this.dragging_element,this.drop_location.$element,o),this.drop_location_process(this.options.marker)}normal_mouse_move(t,e,o){for(var i,n,s,r=this.drag_map,a=[],h=i=0,l=r.length;i<l;h=++i){if(n=r[h],this.box_function(t,e,n)){this.dragging_element.removeClass("remove"),s=this.compute_y_thresh(n,h),s=!this.options.before_only&&s<e?"after":"before",this.drop_location.operation=s,this.drop_location.$element=n.$el,"function"==typeof(n=this.options).onhover&&n.onhover(this.dragging_element,this.drop_location.$element,o),this.drop_location_process(this.options.marker);break}"insert"===o?(this.options.marker.remove(),a.push(this.drop_location.operation="remove")):a.push(void 0)}return a}on_mouse_down_timeout(n){return(t,e)=>{var o,i;if(null==n&&(n="sort"),2!==(i=t.which)&&3!==i&&!1!==this.evaluate_can_drag())return"function"==typeof(o=this.options).beforestart&&o.beforestart(e,n),this.build_map(),i=t.target||t.srcElement||t.originalTarget,o=!0,null!=this.options.grip_selector&&(o=0<$(i).closest(this.options.grip_selector).length),1===this.drag_map.length&&"sort"===n?(o&&(t.preventDefault(),t.stopPropagation()),void("function"==typeof(i=this.options).oncanceled&&i.oncanceled(e,n))):null==this.options.grip_selector||o?(t.preventDefault(),t.stopPropagation(),this.start_timeout?void 0:this.start_timeout=setTimeout(()=>this.on_mouse_down(t,e,n),this.time_before_drag_start)):void("function"==typeof(o=this.options).oncanceled&&o.oncanceled(e,n))}}on_mouse_down(t,e,o){var i,n,s;switch(null==o&&(o="sort"),this.start_timeout=null,s=t.target||t.srcElement||t.originalTarget,this.offset_x=t.offsetX||0,this.offset_y=t.offsetY||0,s!==e[0]&&(this.offset_x+=s.offsetLeft||0),o){case"sort":e.addClass(this.options.dragging_class),e.find("*").addClass(this.dont_map_class),this.dragging_element=e;break;case"insert":i=e.clone(!0).addClass(this.options.dragging_class),this.options.insert_container.first().append(i),this.dragging_element=i}return"function"==typeof(n=this.options).onstart&&n.onstart(this.dragging_element,o),this.build_map(),s=this.on_mouse_move(o),this.window.on(`touchmove.${this.temp_namespace} mousemove.${this.temp_namespace}`,s),this.window.on(`mouseup.${this.temp_namespace} touchend.${this.temp_namespace}`,this.proxy(this.on_mouse_up(o))),{clientX:n,clientY:o}=t,this.offset_dragging_element(n,o),s(t)}on_mouse_up(i){return(t,e)=>{var o;return clearInterval(l),l=null,r&&(t.preventDefault(),t.stopPropagation()),this.dragging_element.removeClass(this.options.dragging_class),this.dragging_element.find("*").removeClass(this.dont_map_class),this.window.off(`.${this.temp_namespace}`),this.dragging_element.css({top:"",left:"",position:""}),this.drop_location_process(this.dragging_element),o=function(){return"remove"!==this.drop_location.operation?i:"remove"}.call(this),this.options.marker.remove(),"function"==typeof(t=this.options).ondrop&&t.ondrop(this.dragging_element,o),this.dragging_element=null}}}}.call(this); 48!function(){$.fn.textarea_helper=function(t){var h=$.extend({autosize:!0,counter:!0},t),c=function(t,n,e,a){t=t.val().replace(/\r(?!\n)|\n(?!\r)/g,"\r\n").length;n.html(t+a+" characters"),n.toggleClass("-highlight",e<t)};return this.each(function(){var t,n,e,a,r=$(this);h.autosize&&r.autosize(),h.counter&&(e=r.attr("maxlength"),a=Math.round(.9*e),n=0<e?"/"+e:"",t=$(`._char_count[for='${this.id}']`),r.on("keyup change",function(){c(r,t,a,n)}),c(r,t,a,n))})}}.call(this); 49!function(){var o=[],n=function(n){return o.push({hash:window.location.hash,name:n})},t=function(){if(0<o.length)return o.pop()},i=function(n){var i;if(0<o.length)return i=_.last(o),n.html(i.name),n.unbind("click").click(function(){return Topics.has_listeners("do_when_clean")?Topics.publish("do_when_clean",function(){return window.location.hash=i.hash,t()}):(window.location.hash=i.hash,t()),!1})};Topics.listen("do_pop_navigation",t),Topics.listen("do_push_navigation",n),Topics.listen("do_setup_back_navigation",i)}.call(this); 50!function(){var l=[].indexOf,t=function(){class t{constructor(t){this.custom=this.custom.bind(this),this.get_value=this.get_value.bind(this),this.not_missing=this.not_missing.bind(this),this.all_if_any=this.all_if_any.bind(this),this.is_later=this.is_later.bind(this),this.is_number=this.is_number.bind(this),this.is_integer=this.is_integer.bind(this),this.is_decimal=this.is_decimal.bind(this),this.is_email_address=this.is_email_address.bind(this),this.is_date=this.is_date.bind(this),this.is_url=this.is_url.bind(this),this.is_ftp=this.is_ftp.bind(this),this.is_https=this.is_https.bind(this),this.in_range=this.in_range.bind(this),this.is_length=this.is_length.bind(this),this.is_password=this.is_password.bind(this),this.standard_invali
50d_format=this.standard_invalid_format.bind(this),this.result=t,null==this.result&&(this.result=[]),this.is_valid=!(0<this.result.length)}add_error(t,s,i){return null==i&&(i="custom"),this.is_valid=!1,this.result.push({name:s,type:i,message:t})}custom(t,s,i,r,e){var n,a,o,u,h;for(null==r&&(r="custom"),u=[],a=0,o=(s=!$.isArray(s)?[s]:s).length;a<o;a++)n=s[a],!(null!=(h=this.get_value(t,n))&&""!==h)||($.isFunction(i)?i(h):"boolean"==typeof i?i:i.test(`${h}`))?u.push(void 0):u.push(this.add_error(e,n,r));return u}get_value(t,s){for(var i=t,r=s.split("."),e=0,n=r.length;e<n;e++)if(null==(i=i[r[e]]))return null;return i}not_missing(t,s){for(var i,r,e=[],n=0,a=(s=!$.isArray(s)?[s]:s).length;n<a;n++)i=s[n],null==(r=this.get_value(t,i))||""===$.trim(r)?e.push(this.add_error("%f is required.",i,"missing")):e.push(void 0);return e}all_if_any(s,t,i){var r,e,n,a,o,u,h,_;if(null==i&&(i=[]),$.isArray(t)||(t=[t]),$.isArray(i)||(i=[i]),a=this,!(_=t.map(function(t){return a.get_value(s,t)})).every(function(t){return null==t||""===t})){for(u=[],e=n=0,o=t.length-1;0<=o?n<=o:o<=n;e=0<=o?++n:--n)r=t[e],null!=(h=_[e])&&""!==$.trim(h)||0<=l.call(i,r)?u.push(void 0):u.push(this.add_error("%f is required.",r,"missing"));return u}}is_later(t,s,i,r){s=this.get_value(t,s),t=this.get_value(t,i);if(new Date(t)<new Date(s))return this.add_error(r,i,"custom")}is_number(t,s){return this.custom(t,s,function(t){return"number"==typeof t&&!isNaN(t)},"custom","%f is not a number.")}is_integer(t,s){return this.custom(t,s,this.rx_INTEGER,"custom","%f is not a valid integer.")}is_decimal(t,s){return this.custom(t,s,this.rx_DECIMAL,"custom","%f is not a valid decimal.")}is_email_address(t,s){return this.custom(t,s,this.rx_EMAILVALID,"custom","%f is not a valid email address.")}is_date(t,s){return this.custom(t,s,t=>this.rx_DATEVALID.test(t.toString("MM/dd/yyyy")),"custom","%f is not a valid date.")}is_url(t,s){return this.custom(t,s,t=>this.rx_URLVALID.test(t)||-1<t.indexOf("localhost"),"custom","%f is not a valid url.")}is_ftp(t,s){return this.custom(t,s,this.rx_FTPVALID,"custom","%f is not a valid ftp hostname.")}is_https(t,s){return this.custom(t,s,this.rx_HTTPSVALID,"custom","%f is not a valid https url.")}in_range(t,s,i,r){return null!=i&&null!=r?this.custom(t,s,function(t){return i<=t&&t<=r},"custom",`%f must be between ${i} and ${r}.`):null!=i?this.custom(t,s,function(t){return i<=t},"custom",`%f must be at least ${i}.`):null!=r?this.custom(t,s,function(t){return t<=r},"custom",`%f may not exceed ${r}.`):void 0}is_length(t,s,i,r){return 0<i&&0<r?this.custom(t,s,new RegExp(`^[\\s\\S]{${i},${r}}$`),"custom",`%f must be between ${i} and ${r} characters long.`):0<i?this.custom(t,s,new RegExp(`^[\\s\\S]{${i}}`),"custom",`%f must be at least ${i} characters long.`):0<r?this.custom(t,s,new RegExp(`^[\\s\\S]{0,${r}}$`),"custom",`%f may not be more than ${r} characters long.`):void 0}is_password(t,s,i,r){return this.custom(t,s,t=>{var s=0;return this._rx_password_lowercase.test(t)&&s++,this._rx_password_uppercase.test(t)&&s++,this._rx_password_number.test(t)&&s++,this._rx_password_symbol.test(t)&&s++,r<=s&&(null!=t?t.length:void 0)>=i},"custom","%f does not meet password requirements.")}standard_invalid_format(t){return{responseCode:"INVALID",messageList:[],result:{validation_result:this.result}}}}return t.prototype.rx_EMAILVALID=/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}
50{\'?]+)*@((?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,63}$/i,t.prototype.rx_DATEVALID=/^\d{1,2}[\/\-]\d{1,2}[\/\-]\d{4}$/,t.prototype.rx_URLVALID=/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,10}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/,t.prototype.rx_HTTPSVALID=/(https:\/\/)(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/,t.prototype.rx_FTPVALID=/((sftp|ftp):\/\/)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/,t.prototype.rx_INTEGER=/^-?\d{1,14}$/,t.prototype.rx_DECIMAL=/^-?\d{0,14}?(\.\d{1,4})?$/,t.prototype._rx_password_lowercase=/[a-z]/,t.prototype._rx_password_uppercase=/[A-Z]/,t.prototype._rx_password_number=/[0-9]/,t.prototype._rx_password_symbol=/[!@#$%^&*+-]/,t}.call(this);window.ModelValidation=t}.call(this); 51!function(){var l=function(e,t){return $.ajax({url:e,dataType:"jsonp",jsonpCallback:_.uniqueId("externalCallback"),success:function(e){return t(e,!1)},error:function(){return t(null,!0)},timeout:2e3})},o=function(e,t){return $.ajax({url:e,success:function(e){return t(e,!1)},error:function(){return t(null,!0)},timeout:2e3})},r=function(e,t){for(var r,n=0,l=e.length;n<l;n++)if((r=e[n]).test(t))return r;return null},n=function(e,t){e=r(e,t);return null!=e?e.exec(t)[1]:void 0},t=function(t,e,r){return Topics&&Topics.listeners.do_lengthen_url?Topics.publish("do_lengthen_url",{url:e,callback:function(e){return r(n(t,e))}}):r(null)},e=function(){class e{constructor(){this.get_detail=this.get_detail.bind(this)}test(e){return r(this.expressions,e)}resolve_key_and_url(e,r){return/skfb.ly/.test(e)?t(this.expressions,e,function(e,t){return r({key:e,url:t})}):r({key:n(this.expressions,e),url:e})}get_detail(r,e,t,n){var l=function(e,t){if(!(t=null!=t&&t)&&!e.error)return e={title:e.title,thumb:e.thumbnail_url,username:e.author_name,key:r,source:"sketchfab",can_embed:!0,embed_html:e.html,permalink:`https://sketchfab.com/models/${r}`,restricted:!1,type:5},n(!1,e);n(!0,null)};return $.ajax({url:`https://sketchfab.com/oembed?url=https://sketchfab.com/models/${r}`,dataType:"json",success:function(e){return l(e,!1)},error:function(e,t,r){return l(null,!0)},timeout:2e3})}}return e.prototype.source="sketchfab",e.prototype.expressions=[/skfb.ly/,/sketchfab\.com\/models\/([^?&]+)/i,/sketchfab\.com\/3d-models\/.*-([^\/?&]+)/i],e}.call(this),u=function(){class e{constructor(){this.get_detail_fallback=this.get_detail_fallback.bind(this),this.get_detail=this.get_detail.bind(this)}test(e){return r(this.expressions,e)}resolve_key_and_url(e,t){return t({key:n(this.expressions,e),url:e})}get_detail_fallback(t,r,e,n){return r="https://www.youtube.com/watch?v="+t,$.getJSON("https://www.youtube.com/oembed",{format:"json",url:r},function(e){return console.log("get_detail_fallback_response",e),null==e.error?(e={type:1,key:t,title:e.title,thumb:e.thumbnail_url,source:"youtube",can_embed:!0,restricted:!1,username:e.author_name,duration:null,permalink:r},console.log("get_detail_fallback_result",e),n(!1,e)):void n(!0,null)})}get_detail(e,t,r,n){return this.get_detail_fallback(e,t,r,n)}get_duration(e){e=e.match(/P((([0-9]*\.?[0-9]*)Y)?(([0-9]*\.?[0-9]*)M)?(([0-9]*\.?[0-9]*)W)?(([0-9]*\.?[0-9]*)D)?)?(T(([0-9]*\.?[0-9]*)H)?(([0-9]*\.?[0-9]*)M)?(([0-9]*\.?[0-9]*)S)?)?/);return 60*(parseFloat(e[12])||0)*60+60*(parseFloat(e[14])||0)+(parseFloat(e[16])||0)}}return e.prototype.source="youtube",e.prototype.expressions=[/youtu\.be\/(.*)/i,/youtube\.com.*?[?&]v=([^&]*)/i],e}.call(this),s=function(){class e{constructor(){this.get_detail=this.get_detail.bind(this)}test(e){return r(this.expressions,e)}resolve_key_and_url(e,t){return t({key:n(this.expressions,e),url:e})}get_detail(r,e,t,n){return l(`https://vimeo.com/api/v2/video/${r}.json`,function(e,t=!1){return t?void n(!0,null):(e="nowhere"!==(t=e[0]).embed_privacy,t={title:t.title,thumb:t.thumbnail_large.replace("http:","https:"),username:t.user_name,duration:t.duration,key:r,source:"vimeo",can_embed:e,restricted:!1,permalink:t.url,type:1},n(!1,t))})}}return e.prototype.source="vimeo",e.prototype.expressions=[/vimeo\.com\/(\d+)/i],e}.call(this),i=function(){class e{constructor(){this.get_detail=this.get_detail.bind(this)}test(e){return r(this.expressions,e)}resolve_key_and_url(e,t){for(var r=null,n=this.expressions,l=0,o=n.length;l<o;l++)if(n[l].test(e)){r=e;break}return t({key:r,url:e})}get_detail(e,t,r,n){e=null!=t?`https://api.soundcloud.com/resolve.json?url=${t=!/^https?\:\/\//i.test(t)?"http://"+t:t}&client_id=${this.client_id}`:`https://api.soundcloud.com/tracks/${e}.json?client_id=${this.client_id}`;return o(e,function(e,t){return(t=null!=t&&t)?void n(!0,null):(e={title:e.title,thumb:(null!=(t=e.artwork_url)?t.replace("http:","https:"):void 0)||`${Global.asset_dir()}images/soundcloud.jpg`,username:e.user.username,duration:Math.floor(e.duration/1e3),key:e.id,source:"soundcloud",can_embed:!0===e.streamable,restricted:!1,permalink:e.permalink_url,type:2},n(!1,e))})}}return e.prototype.source="soundcloud",e.prototype.client_id="52f9f2fa5a6ce897f873f2ea550fa30d",e.prototype.expressions=[/soundcloud\.com\/([^\/]*)\/(.+)/i],e}.call(this),a=[],c=[new u,new s,new i,new e],d=(e,t,r)=>a.push({source:e,key:t,data:r}),p=(e,t)=>{for(var r,n=null,l=0,o=a.length;l<o;l++)if((r=a[l]).source===e&&r.key===t){n=r;break}return n},e=function(e){var t,r,n,l,o;
51if({url:o,source:l,key:e,preferred_thumb_size:n,callback:t}=e,r=h(l)||f(o))return null!=e?m(r,e,o,n,t):r.resolve_key_and_url(o,function(e){if(null!=(null!=e?e.key:void 0))return m(r,e.key,e.url,n,t)});"function"==typeof t&&t(!0,null)},h=function(t){return _.find(c,function(e){return e.source===t})},f=function(t){return _.find(c,function(e){return e.test(t)})},m=function(r,n,l,o,u){var e=p(r.source,n);return e?(console.log("get_detail_cached",e),void("function"==typeof u&&u(!1,e))):r.get_detail(n,l,o,function(e,t){return e||null!=t&&t.error?null!=r.get_detail_fallback?r.get_detail_fallback(n,l,o,function(e,t){return console.log("get_detail_fallback_callback",e,t),e?"function"==typeof u?u(!0,null):void 0:(console.log("get_detail_put_in_cache",r.source,n,t),d(r.source,""+n,t),m(r,n,l,o,u))}):"function"==typeof u?u(!0,null):void 0:(console.log("get_detail_put_in_cache",r.source,n,t),d(r.source,""+n,t),m(r,n,l,o,u))})};Topics.listen("do_get_external_details",e)}.call(this); 52!function(){var s,a,u,e,d,o,l,p,n,t,c,f=jQuery,m={confirmation:!1,confirmation_id:null,popover:!1,popover_id_stack:[],fullscreen:!1,modal:!1,old_body_height:null,close_when_clean:!1};f(document).bind("keyup.modal_key_events",function(o){if(27===o.keyCode)return m.confirmation?u(m.confirmation_id):m.popover?e():m.fullscreen?f.fullscreen_close():m.modal?f.modal_close():void 0}),p={on_close:null},f.modal_close=function(o){null==o&&(o=!0),m.close_when_clean?Topics.publish("do_when_clean",function(){return n(o)}):n(o)},f.modal_cancel=function(){n(!0)},n=function(o){var e;Topics.publish("on_modal_close"),m.modal=!1,null!=p.on_close&&o&&(p.on_close(),p.on_close=null),null!=m.old_body_height&&(f("body").height("100%"),m.old_body_height=null),f("html").removeClass("no_scroll"),f("html .application").removeClass("noprint"),e=f("#global_modal"),f(document).unbind(".modal"),"iDevice"===BrowserDetect.OS&&Global.SIMPLE_IOS_MODALS?(e.hide().empty().remove(),setTimeout(function(){return Topics.publish("do_toggle_app_visible",!0)},30)):(e.removeClass("-modal_visible"),setTimeout(function(){return e.empty().remove()},300))},f.modal_popup=function(o){var e,l,n,t,c,r,i;m.modal=!0,f("html .application").addClass("noprint"),n=f("body"),0===f("#global_modal").length&&n.append(`<div id="global_modal" class="global_modal ${BrowserDetect.browser} ${BrowserDetect.OS}"> 53 <div class="content_wrapper" role="dialog"> 54 <div class="content" tabindex="0" /> 55 <button class="screen-reader-only" id="tab_looper">Back to top</button> 56 </div> 57</div>`),(l=f("#global_modal")).addClass(o.class_name),c=l.find(".content"),l.find(".close"),i=(e=l.find(".content_wrapper")).outerWidth()-e.width(),c.html(o.content).click(function(o){return Topics.publish("on_modal_content_click"),o.stopPropagation()}),null!=(c=(n=c.children().first()).attr("data-width"))&&c.length?e.css({width:c}):null!=o.width?e.css({width:o.width}):"static"===e.css("position")&&e.css({width:n.innerWidth()+i}),l.find("#tab_looper").focus(function(){return f("#global_modal .content").focus()}),l.unbind("click"),r=function(o){if(27===o.keyCode)return f.modal_close(!0)},f(document).unbind(".modal"),f(document).bind("keyup_bubble.modal",function(o,e){return r(e)}),null!=o.on_close_callback&&(p.on_close=o.on_close_callback),m.close_when_clean=o.close_when_clean,null!=o.close_on_overlay_click&&o.close_on_overlay_click&&setTimeout(function(){return l.click(function(){return Topics.publish("on_modal_overlay_click"),f.modal_close()})},500),t=o.after||null,"iDevice"===BrowserDetect.OS&&Global.SIMPLE_IOS_MODALS?(Topics.publish("do_toggle_app_visible",!1),setTimeout(function(){return f("html").addClass("no_scroll"),l.addClass("-modal_visible"),null!=t&&t.apply(f("#global_modal .content")),window.scrollTo(0,0)},50)):(f("html").addClass("no_scroll"),null!=t&&t.apply(f("#global_modal .content")),setTimeout(function(){return l.addClass("-modal_visible")},20))},u=function(o){return m.confirmation=!1,m.confirmation_id=null,f(`#${o}`).fadeOut("fast",function(){return f(this).remove()})},c=function(o,e){for(var l,n,t,c,r=function(){return u(o)},i=[],s=0,a=e.length;s<a;s++)l=e[s],t=l.type||"button",n=c="",(n=f(`<${t} ${c="a"===t?"href='#'":c} class='${n="button"===t?"btn":n} ${l.class}'>${l.text}</${t}>`)).click(r),n.click(function(o){return function(){if(null!=o.callback&&o.callback(),"a"===t)return!1}}(l)),i.push(f(`#${o} .buttons`).append(n));return i},o=function(o,e){var l=_.uniqueId("confirmation_modal_");return m.confirmation=!0,o=`<div id="${m.confirmation_id=l}" class="global_modal"> 58 <div role="dialog" class="confirmation_modal content_wrapper"> 59 <div class="message">${o}</div> 60 <div class="buttons" /> 61 <button class="screen-reader-only" id="tab_looper">Back to top</button> 62 </div> 63</div>`,f("body").append(o),c(l,e),f(`#${l} #tab_looper`).focus(function(){return f(`#${l} .message`).focus()}),setTimeout(function(){return f(`#${l}`).addClass("-modal_visible"),Topics.publish("do_focus",f(`#${l} .message`))},20)},t=function(o,e,l,n){var t,c,r=window.SR_ApplicationController.view_engine,i=_.uniqueId("popover_modal_");return m.popover=!0,m.popover_id_stack.push(i),c=r.go(o,e,null,this.rootPath),o=(t=f(`<div id="${i}" class="popover_modal"> 64 <div class="_overlay popover_overlay"></div> 65 <div class="_box popover_box"> 66 <div class="_content popover_content"></div> 67 <button class="_tab_looper screen-reader-only">Back to top</button> 68 </div> 69</div>`)).find("._box"),e=t.find("._content"),f(`#${i} ._tab_looper`).focus(function(){return f(`#${i} ._view`).focus()}),null!=(null!=n?n.overlay_close:void 0)&&!n.overlay_close||(o.click(function(o){return o.stopPropagation()}),t.click(function(){return Topics.publish("on_modal_overlay_click"),d(i)})),f("body").append(t),e.append(c.dom),r.execute_template_tree(c),r=f(window),c=null!=(null!=n?n.gutter:void 0)?n.gutter:25,c={l:r.scrollLeft()+c,t:r.scrollTop()+c,r:r.scrollLeft()+r.width()-1-c,b:r.scrollTop()+r.height()-1-c},l?(t.removeClass("-full"),l=a(o,l),l=s(c,l),o.css("left",l.l),o.css("top",l.t),o.css("position","absolute")):(t.addClass("-full"),o.css("left",(r.width()-o.outerWidth())/2),o.css("top",(r.height()-o.outerHeight())/2.5),o.css("position","fixed")),null!=n&&n.scrollTo&&(n=$_popover_div.offset().top,n=Math.max(0,n-100),f("html, body").animate({scrollTop:n},250)),setTimeout(function(){return f(`#${i}`).addClass("-visible"),Topics.publish("do_focus",f(`#${i} ._view`))},20)},a=function(o,e){var l={w:o.outerWidth(),h:o.outerHeight()},o=e.offset(),e={w:e.outerWidth(),h:e.outerHeight()},o={l:o.left,r:o.left+e.w-1,t:o.top,b:o.top+e.h-1,cx:o.left+e.w/2,cy:o.top+e.h/2},e={l:o.l-l.w,r:o.r+l.w,t:o.t-l.h,b:o.b+l.h},o={l:o.cx-l.w/2,r:o.cx+l.w/2-1};return 0<e.t?(o.t=e.t,o.b=e.t+l.h-1):(o.t=e.b-l.h+1,o.b=e.b),s(e,o)},s=function(o,e){var l=e.r-e.l,n=e.b-e.t,t=o.b-o.t,c={};return e.l<o.l?(c.l=o.l,c.r=o.l+l):e.r>o.r?(c.l=o.r-l,c.r=o.r):(c.l=e.l,c.r=e.r),t<n||e.t<o.t?(c.t=o.t,c.b=o.t+n):e.b>o.b?(c.t=o.b-n,c.b=o.b):(c.t=e.t,c.b=e.b),c},d=function(o){f(`#${o}`).removeClass("-visible"),setTimeout(function(){return f(`#${o}`).hide().remove()},300)},e=function(){var o=m.popover_id_stack.pop();if(m.popover=0<m.popover_id_stack.length,null!=o)return d(o)},f.popover_close=function(){return e()},f.popover_close_all=function(){for(var o,e=m.popover_id_stack,l=0,n=e.length;l<n;l++)o=e[l],d(o);return m.popover_id_stack=[]},l={on_close:null},f.fullscreen_close=function(){var o;return f("body").removeClass("-fullscreen"),null!=l.on_close&&!0===m.fullscreen&&l.on_close(),m.fullscreen=!1,f("#fullscreen").css({overflow:"hidden"}),f(document).unbind(".fullscreen"),o=function(){return f("#fullscreen").empty(),f("#fullscreen").remove()},"iDevice"===BrowserDetect.OS?o():f("#fullscreen").fadeOut(o)},f.fullscreen=function(o){var e;if(m.fullscreen=!0,null!=o.on_close&&(l.on_close=o.on_close),e=f("body"),0===f("#fullscreen").length&&e.append("<div id='fullscreen'><div class='content' role='dialog' tabindex='0' /><div style='clear: both;'> <button class='screen-reader-only' id='tab_looper' /> </div></div>"),f("#fullscreen .content").html(o.content),e.addClass("-fullscreen"),"iDevice"===BrowserDetect.OS?f("#fullscreen").show():f("#fullscreen").fadeIn(),f("#fullscreen #tab_looper").focus(function(){return f("#fullscreen .content").focus()}),f(document).unbind(".fullscreen"),null!=(o=o.after||null))return o.apply(f("#fullscreen"))},Topics.listen("on_application_started",function(){var s=window.SR_ApplicationController.view_engine;return s.add_render_mixin({confirmation:o}),s.add_render_mixin({popover:t}),s.add_render_mixin({fullscreen:function(o,e,l){var n=s.go(o,e,null,this.rootPath);return f.fullscreen({content:n.dom,after:function(){return s.execute_template_tree(n)},on_close:null!=e?e.on_close:void 0})}}),s.add_render_mixin({modal:function(o,e,l,n,t,c,r){var i;return null==t&&(t=!1),null==c&&(c=!1),(i=s.go(o,e,null,this.rootPath)).context={},f.modal_popup({content:i.dom,width:n,on_close_callback:(null!=l?l.on_close_callback:void 0)||null,after:function(){return s.execute_template_tree(i)},close_on_overlay_click:t,close_when_clean:c,class_name:r})}}),s.add_render_mixin({window:function(o,e){var l=window.open();return l.document.open(),l.document.write("<html><body></body></html>"),l.document.close(),e=s.go(o,e,l.document,this.rootPath),f("body",l.document).html(e.dom),s.execute_template_tree(e)}})})}.call(this); 70!function(){var t=/\/Date\((\d+)\)\//,u=function(e,n){var l;return!isNaN(Date.parse("2015-12-29T18:06:17.747+00:00"))||(l=e.split("+")[0].split(".")[0].replace(/-/g,"/").replace("T"," "),isNaN(Date.parse(l))||(e=l)),t.test(e)?null!=n?new timezoneJS.Date(+e.replace(t,"$1"),n):new timezoneJS.Date(+e.replace(t,"$1")):null!=n?new timezoneJS.Date(e,n):new timezoneJS.Date(e)},e=function(e,n,l){var t,a,i,r,o,s;if(e)for($.isArray(e)||(e=[e]),$.isArray(n)||(n=[n]),t=0,r=e.length;t<r;t++)for(s=e[t],a=0,o=n.length;a<o;a++)i=n[a],null!=(null!=s?s[i]:void 0)&&(s[i]=u(s[i],l));return e};null==window.Model&&(window.Model={}),window.Model.Util={normalize_date:e}}.call(this); 71!function(){null==window.Constant&&(window.Constant={}),window.Constant.AccountLockTypeCode={NONE:0,TEMPORARY:1,RESETREQUIRED:2,ADMINISTRATIVE:3}}.call(this); 72!function(){null==window.Constant&&(window.Constant={}),window.Constant.BoxStatusTypeCode={NONE:0,READY:1,SENT:2,COMPLETE:3,ERROR:4}}.call(this); 73!function(){null==window.Constant&&(window.Constant={}),window.Constant.CloseReasonTypeCode={Competition:0,ExpiredNeed:1,Features:2,Pricing:3,CustomerSupport:4,Unknown:5,Other:6}}.call(this); 74!function(){null==window.Constant&&(window.Constant={}),window.Constant.CustomFormTypeCode={APPLICANT:0,RECOMMENDER:1}}.call(this); 75!function(){null==window.Constant&&(window.Constant={}),window.Constant.MediaStatusTypeCode={NEW:0,UPLOADED:1,UPLOAD_FAILED:2,PROCESSED:3,ERROR:4,INFECTED:5}}.call(this); 76!function(){null==window.Constant&&(window.Constant={}),window.Constant.ProcessStatusTypeCode={NONE:0,PENDING:1,PROCESSED:2,ERROR:3,INFECTED:4}}.call(this); 77!function(){null==window.Constant&&(window.Constant={}),window.Constant.QuestionTypeCode={SHORTTEXT:1,LONGTEXT:2,RADIOBUTTON:3,DROPDOWN:4,CHECKBOX:5,CHECKBOXLIST:6,FILE:7,DATE:8,CEEBCODE:9,EMAILADDRESS:10,PHONENUMBER:11,URL:12,NUMBER:13,SCALE:14,TABLE:15,ALL:99}}.call(this); 78!function(){null==window.Constant&&(window.Constant={}),window.Constant.SystemPricingPlans={TRIAL:"Trial",BASIC:"Basic",STANDARD:"Standard",ADVANCED:"Advanced"},window.Constant.SystemPricingPlanFees={TRIAL:0,BASIC:1200,STANDARD:2600,ADVANCED:5800}}.call(this); 79!function(){var n,o=function(n){return!1},e=function(n){return!1},i=function(n){return!1},t=function(n){return!1},r=function(n){return!1},u=function(n){return!1},s=function(n){return`https://view-api.box.com/1/sessions/${n}/view?theme=dark`};null==window.Model&&(window.Model={}),null==(n=window.Model).Common&&(n.Common={}),window.Model.Common.BoxNet={is_complete:t,is_error:r,is_sent:i,is_ready:e,is_candidate:o,can_box_view:u,get_view_session_url:s}}.call(this); 80!function(){var a,c,e;null==window.Model&&(window.Model={}),null==(e=window.Model).Common&&(e.Common={}),c=function(e,n){return null!=e&&null!=n&&(n=n.split("|"),_.contains(n,e))},a=function(e,n){var r,t,s,u;if(null==e)return!1;if(!(0<(u=e.split("|")).length))return!1;for(t=0,s=u.length;t<s;t++)if(r=u[t],!_.contains(n,r))return!0;return!1},e=function(e,n,r,t,s){var u;switch(null==s&&(s=[]),e){case"**":return!0;case"=.":return null!=t&&""!==t;case"!.":return null==t||""===t}if(!(0<(null!=t?t.length:void 0)))return!1;switch(n=null!=n?n.toLowerCase():void 0,t=null!=t?t.toLowerCase():void 0,s=_.map(s,function(e){return null!=e?e.toLowerCase():void 0}),r){case Constant.QuestionTypeCode.DATE:switch(Util.is_date_like(n)&&(n=new Date(n).getTime()),Util.is_date_like(t)&&(t=new Date(t).getTime()),e){case"==":return n===t;case"!=":return n!==t;case"<":return t<n;case">":return n<t;case"<=":return t<=n;case">=":return n<=t}break;case Constant.QuestionTypeCode.CEEBCODE:switch(u=t.split("|"),e){case"==":return n===u[0];case"!=":return n!==u[0];case"~":return-1<t.indexOf(n)}break;case Constant.QuestionTypeCode.NUMBER:case Constant.QuestionTypeCode.SCALE:switch($.isNumeric(n)&&(n=parseFloat(n)),$.isNumeric(t)&&(t=parseFloat(t)),e){case"==":return t===n;case"!=":return t!==n;case"<":return t<n;case">":return n<t;case"<=":return t<=n;case">=":return n<=t}break;default:switch(e){case"<":return t<n;case">":return n<t;case"<=":return t<=n;case">=":return n<=t;case"==":return t===n;case"!=":return t!==n;case"^":return 0===t.indexOf(n);case"$":return-1!==t.indexOf(n,t.length-n.length);case"~":return-1!==t.indexOf(n);case"=*":return c(n,t);case"!*":return!c(n,t);case"=~":return a(t,s);case"!~":return!a(t,s)}}return!1},window.Model.Common.Condition={evaluate:e}}.call(this); 81!function(){var n,d=function(n,e,t){for(var o,i,u,l,s,r,m,d,Q,a,C,I,c=[],p=0,w=n.length;p<w;p++)null!=(l=n[p]).Question&&c.push(l);if(null!=t)switch(a=null!=e&&(null!=(C=e[`${t.Question.CustomFormQuestionId}`])&&C.Answer)?null!=e&&null!=(I=e[`${t.Question.CustomFormQuestionId}`])?I.Answer:void 0:null,t.Question.ConditionMode){case 1:null!=(i=_.find(n,function(n){return null!=n.Condition&&Model.Common.Condition.evaluate(n.Condition.Operator,n.Condition.Argument,t.Question.QuestionTypeCode||t.Question.QuestionType,a,_.map(t.Question.AnswerOptionList,function(n){return n.Label||n.AnswerLabel}))}))&&(c=c.concat(i.ItemList));break;case 0:for(1<(Q=_.filter(n,function(n){return null!=n.Condition&&Model.Common.Condition.evaluate(n.Condition.Operator,n.Condition.Argument,t.Question.QuestionTypeCode||t.Question.QuestionType,a,_.map(t.Question.AnswerOptionList,function(n){return n.Label||n.AnswerLabel}))})).length&&"**"===Q[Q.length-1].Condition.Operator&&Q.splice(Q.length-1,1),s=0,m=Q.length;s<m;s++)o=Q[s],c=c.concat(o.ItemList);for(u=r=0,d=c.length;r<d;u=++r)(l=c[u]).Ordinal=u,l.QuestionNumber=t.QuestionNumber+`.${u+1}`}return c},Q=function(n,e,t){var o,i,u,l,s,r,m;if(null!=n){for(m=[],i=l=0,s=n.length;l<s;i=++l)u=n[i],null!=t&&null!=e&&e[`${t.Question.CustomFormQuestionId}`],r={ItemId:u.ItemId,CustomFormItemId:u.CustomFormItemId,ItemType:u.ItemType,ItemList:[],IsDeleted:u.IsDeleted,Ordinal:i},null!=u.Question&&(r.QuestionNumber=u.QuestionNumber,r.Question=_.extend({},u.Question),null!=e&&(r.Question.Answer=e[`${u.Question.CustomFormQuestionId}`])),null!=u.ItemList&&0<u.ItemList.length&&null!=(o=d(u.ItemList,e,null!=r.Question?r:t))&&0<o.length&&(r.ItemList=Q(o,e,null!=r.Question?r:t)),m.push(r);return m}};null==window.Model&&(window.Model={}),null==(n=window.Model).Common&&(n.Common={}),window.Model.Common.Form={get_resolved_items:Q}}.call(this); 82!function(){var e;null==window.Model&&(window.Model={}),null==(e=window.Model).Common&&(e.Common={}),window.Model.Common.Question={validate:function(e,n,t){var o,a,i,s=new ModelValidation;switch(e.QuestionType){case Constant.QuestionTypeCode.DATE:return"function"==typeof t?t(Util.is_date_like(n.Answer),"Please enter a valid date in the format mm/dd/yyyy."):void 0;case Constant.QuestionTypeCode.CEEBCODE:return!(0<(null!=n?n.Answer.length:void 0))||"0000"!==(a=n.Answer.split("|"))[0]||3===a.length&&0!==a[1].length&&0!==a[2].length?"function"==typeof t?t(!0):void 0:(s.add_error("School name and location are required.","CEEB Code"),"function"==typeof t?t(!1,"Please enter the school name and location."):void
82 0);case Constant.QuestionTypeCode.EMAILADDRESS:return s.is_email_address(n,["Answer"]),"function"==typeof t?t(s.is_valid,"Please enter a valid email address."):void 0;case Constant.QuestionTypeCode.NUMBER:if(null==(o=_.find(e.Options,function(e){return"NumberType"===e.Name})))return s.is_decimal(n,["Answer"]),"function"==typeof t?t(s.is_valid,"Please enter a valid number."):void 0;switch(o.Value){case"integer":return s.is_integer(n,["Answer"]),t(s.is_valid,"Please enter a valid whole number.");case"decimal":return s.is_decimal(n,["Answer"]),"function"==typeof t?t(s.is_valid,"Please enter a valid decimal number."):void 0}break;case Constant.QuestionTypeCode.URL:return s.is_url(n,["Answer"]),"function"==typeof t?t(s.is_valid,"Please enter a valid URL."):void 0;case Constant.QuestionTypeCode.PHONENUMBER:throw new Error("Phone numbers must be validated by individual apps");case Constant.QuestionTypeCode.FILE:return(i=n.ProcessStatus)!==Constant.ProcessStatusTypeCode.ERROR&&i!==Constant.ProcessStatusTypeCode.INFECTED||s.add_error(`There is a problem with ${n.Answer}. Please check the file and try again.`),"function"==typeof t?t(s.is_valid):void 0;case Constant.QuestionTypeCode.TABLE:return a=e.Options.MinRowCount,o=e.Options.MaxRowCount,(i=this.get_table_question_answer_values(e,n.Answer)).length<a?s.add_error(`At least ${a} rows are required.`):i.length>o&&s.add_error(`A maximum of ${o} rows are allowed.`),"function"==typeof t?t(s.is_valid,0<s.result.length?s.result[0].message:null):void 0;default:return"function"==typeof t?t(!0):void 0}},normalize:function(e){var n,t,o,a;if(e){for(a=[],n=0,t=e.length;n<t;n++)switch((o=e[n]).QuestionType){case Constant.QuestionTypeCode.DATE:a.push(o.MaxLength=10);break;case Constant.QuestionTypeCode.EMAILADDRESS:a.push(o.MaxLength=256);break;case Constant.QuestionTypeCode.PHONE:a.push(o.MaxLength=20);break;default:a.push(void 0)}return a}},format_ceeb_school_location:function(e){return null!=e.State&&""!==e.State?`${e.City}, ${e.State}, ${e.Country}`:`${e.City}, ${e.Country}`},get_table_question_answer_values:function(e,n){for(var t,o=[],a=n.trim().split(/\n|<br[^>]*>/gi),i=0,s=a.length;i<s;i++)t=a[i],o.push(t.split("|"));return o}}}.call(this);(function() { function addCss(s) { var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = s; document.head.appendChild(css); } window.clientVersion = "4"; var version = window.__CLIENT_MANIFEST.Versions[window.clientVersion]; var loaded = 0; var cdnPrefix = window.__CDN_PREFIX || ""; $.ajaxSetup({cache: true}); for (var i = 0; i < version.JSFiles.length; i++) { $.getScript(cdnPrefix + version.JSFiles[i]).done(function() { loaded += 1; if (loaded >= version.JSFiles.length) { var application = new ApplicationController(VIEW_CACHE, "application", "#application_yield", version.DefaultController, "v" + window.clientVersion + "/views/", version.MissingViewPath); application.register_custom_view_path("common", "../common/views"); application.start(); } }); } for (var i = 0; i < version.CSSFiles.length; i++) { addCss(cdnPrefix + version.CSSFiles[i]); } })();
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.