mailcatcher 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d55ed5f9b9d7ae94f7fc71297726c6ba3d800eb6ff95f3cb15ae33dfbb278a9e
4
- data.tar.gz: cfb1fb234b49b9b7e0bd98a6513406494d36b179f80ac3d92b09cf2f6dc29420
3
+ metadata.gz: 5dad3d6d6d69ec716d04e4c45f68005d1e0653b0184c2dcdd07f781d7bcfee28
4
+ data.tar.gz: df15e7ec89932cb7e017e51fbb840460b65ef32870c4e42d9e5e743e060ba41d
5
5
  SHA512:
6
- metadata.gz: 2c8fd76e50fe31dfb042fb8abe59b50485df2e52f06813f2651d2acd41aeca3a4ede8ffc375a02d4cad1ba50af89028f022dc38ed78a6cdaddd2bd0ad2f9cee7
7
- data.tar.gz: 218dfdc17255c5a86a4674742831b134ca9fdb5147e19db3ae1b6dac6a251dcfb8a8abbe9b8475bbab20b95bef248cfe40b06dc233218a1169e8873a83451338
6
+ metadata.gz: c96abaf84b5bf1f681b40293c19d00c078c85627b3350afbcd74ca94dce273b0240526773a777228693dd841111b238943448e2c99a41c625b0bd673259daf27
7
+ data.tar.gz: ebddd9615c1dbf7a80932042dde6b0fef1a4e4d58b19b9cf851b3fda9ed6d51b214f1dd34fcf370d5587b1064e96e0a19995793fe013c31c23b19b175faa426b
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -85,7 +85,7 @@ A fairly RESTful URL schema means you can download a list of messages in JSON fr
85
85
  ## Caveats
86
86
 
87
87
  * Mail processing is fairly basic but easily modified. If something doesn't work for you, fork and fix it or [file an issue][mailcatcher-issues] and let me know. Include the whole message you're having problems with.
88
- * The interface is very basic and has not been tested on many browsers yet.
88
+ * Encodings are difficult. MailCatcher does not completely support utf-8 straight over the wire, you must use a mail library which encodes things properly based on SMTP server capabilities.
89
89
 
90
90
  ## TODO
91
91
 
@@ -1,3 +1,3 @@
1
1
  module MailCatcher
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
@@ -1,5 +1,5 @@
1
- window.Modernizr=function(e,t,r){function n(e){h.cssText=e}function i(e,t){return typeof e===t}var o,a,s="2.7.1",l={},u=!0,c=t.documentElement,d="modernizr",f=t.createElement(d),h=f.style,p=({}.toString,{}),m=[],g=m.slice,y={}.hasOwnProperty;for(var v in a=i(y,"undefined")||i(y.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return y.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function b(r){var i=this;if("function"!=typeof i)throw new TypeError;var o=g.call(arguments,1),a=function(){if(this instanceof a){var e=function(){};e.prototype=i.prototype;var t=new e,n=i.apply(t,o.concat(g.call(arguments)));return Object(n)===n?n:t}return i.apply(r,o.concat(g.call(arguments)))};return a}),p)a(p,v)&&(o=v.toLowerCase(),l[o]=p[v](),m.push((l[o]?"":"no-")+o));return l.addTest=function(e,t){if("object"==typeof e)for(var n in e)a(e,n)&&l.addTest(n,e[n]);else{if(e=e.toLowerCase(),l[e]!==r)return l;t="function"==typeof t?t():t,void 0!==u&&u&&(c.className+=" "+(t?"":"no-")+e),l[e]=t}return l},n(""),f=null,function(e,a){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function s(){var e=v.elements;return"string"==typeof e?e.split(" "):e}function l(e){var t=y[e[m]];return t||(t={},g++,e[m]=g,y[g]=t),t}function r(e,t,n){return t||(t=a),c?t.createElement(e):(n||(n=l(t)),!(r=n.cache[e]?n.cache[e].cloneNode():p.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||h.test(e)||r.tagUrn?r:n.frag.appendChild(r));var r}function t(e,t){if(e||(e=a),c)return e.createDocumentFragment();for(var n=(t=t||l(e)).frag.cloneNode(),r=0,i=s(),o=i.length;r<o;r++)n.createElement(i[r]);return n}function i(t,n){n.cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return v.shivMethods?r(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/[\w\-]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(v,n.frag)}function o(e){e||(e=a);var t=l(e);return!v.shivCSS||u||t.hasCSS||(t.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),c||i(e,t),e}var u,c,d="3.7.0",f=e.html5||{},h=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,m="_html5shiv",g=0,y={};!function(){try{var e=a.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,c=1==e.childNodes.length||function(){a.createElement("a");var e=a.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){c=u=!0}}();var v={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:d,shivCSS:!1!==f.shivCSS,supportsUnknownElements:c,shivMethods:!1!==f.shivMethods,type:"default",shivDocument:o,createElement:r,createDocumentFragment:t};e.html5=v,o(a)}(this,t),l._version=s,c.className=c.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(u?" js "+m.join(" "):""),l}(0,this.document),function(_,I){function v(){return!1}function t(){return!0}function r(e,t,n){return n[0].type=e,S.event.handle.apply(t,n)}function n(e){var t,n,r,i,o,a,s,l,u,c,d,f,h=[],p=[],m=S.data(this,this.nodeType?"events":"__events__");if("function"==typeof m&&(m=m.events),e.liveFired!==this&&m&&m.live&&(!e.button||"click"!==e.type)){e.namespace&&(d=new RegExp("(^|\\.)"+e.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),e.liveFired=this;var g=m.live.slice(0);for(s=0;s<g.length;s++)(o=g[s]).origType.replace(M,"")===e.type?p.push(o.selector):g.splice(s--,1);for(l=0,u=(i=S(e.target).closest(p,e.currentTarget)).length;l<u;l++)for(c=i[l],s=0;s<g.length;s++)o=g[s],c.selector!==o.selector||d&&!d.test(o.namespace)||(a=c.elem,r=null,"mouseenter"!==o.preType&&"mouseleave"!==o.preType||(e.type=o.preType,r=S(e.relatedTarget).closest(o.selector)[0]),r&&r===a||h.push({elem:a,handleObj:o,level:c.level}));for(l=0,u=h.length;l<u&&(i=h[l],!(n&&i.level>n));l++)e.currentTarget=i.elem,e.data=i.handleObj.data,e.handleObj=i.handleObj,(!1===(f=i.handleObj.origHandler.apply(i.elem,arguments))||e.isPropagationStopped())&&(n=i.level,!1===f&&(t=!1));return t}}function m(e,t){return(e&&"*"!==e?e+".":"")+t.replace(C,"`").replace(O,"&")}function i(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function o(e,n,r){if(S.isFunction(n))return S.grep(e,function(e,t){return!!n.call(e,t,e)===r});if(n.nodeType)return S.grep(e,function(e){return e===n===r});if("string"==typeof n){var t=S.grep(e,function(e){return 1===e.nodeType});if(G.test(n))return S.filter(n,t,!r);n=S.filter(n,t)}return S.grep(e,function(e){return 0<=S.inArray(e,n)===r})}function d(e){return S.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function a(o,e){var a=0;e.each(function(){if(this.nodeName===(o[a]&&o[a].nodeName)){var e=S.data(o[a++]),t=S.data(this,e),n=e&&e.events;if(n)for(var r in delete t.handle,t.events={},n)for(var i in n[r])S.event.add(this,r,n[r][i],n[r][i].data)}})}function f(e,t){t.src?S.ajax({url:t.src,async:!1,dataType:"script"}):S.globalEval(t.text||t.textContent||t.innerHTML||""),t.parentNode&&t.parentNode.removeChild(t)}function s(e,t,n){var r="width"===t?he:pe,i="width"===t?e.offsetWidth:e.offsetHeight;return"border"===n||S.each(r,function(){n||(i-=parseFloat(S.css(e,"padding"+this))||0),"margin"===n?i+=parseFloat(S.css(e,"margin"+this))||0:i-=parseFloat(S.css(e,"border"+this+"Width"))||0}),i}function l(n,e,r,i){S.isArray(e)&&e.length?S.each(e,function(e,t){r||xe.test(n)?i(n,t):l(n+"["+("object"==typeof t||S.isArray(t)?e:"")+"]",t,r,i)}):r||null==e||"object"!=typeof e?i(n,e):S.isEmptyObject(e)?i(n,""):S.each(e,function(e,t){l(n+"["+e+"]",t,r,i)})}function u(e,t){var n={};return S.each(_e.concat.apply([],_e.slice(0,t)),function(){n[this]=e}),n}function h(e){if(!Oe[e]){var t=S("<"+e+">").appendTo("body"),n=t.css("display");t.remove(),"none"!==n&&""!==n||(n="block"),Oe[e]=n}return Oe[e]}function p(e){return S.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var R=_.document,S=function(){function n(){if(!d.isReady){try{R.documentElement.doScroll("left")}catch(e){return void setTimeout(n,1)}d.ready()}}var a,e,r,d=function(e,t){return new d.fn.init(e,t)},t=_.jQuery,i=_.$,s=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,o=/\S/,l=/\s/,u=/^\s+/,c=/\s+$/,f=/\W/,h=/\d/,p=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,m=/^[\],:{}\s]*$/,g=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,y=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,v=/(?:^|:|,)(?:\s*\[)+/g,b=/(webkit)[ \/]([\w.]+)/,T=/(opera)(?:.*version)?[ \/]([\w.]+)/,x=/(msie) ([\w.]+)/,E=/(mozilla)(?:.*? rv:([\w.]+))?/,D=navigator.userAgent,S=!1,w=[],N=Object.prototype.toString,M=Object.prototype.hasOwnProperty,L=Array.prototype.push,C=Array.prototype.slice,O=String.prototype.trim,k=Array.prototype.indexOf,F={};return d.fn=d.prototype={init:function(e,t){var n,r,i,o;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!t&&R.body)return this.context=R,this[0]=R.body,this.selector="body",this.length=1,this;if("string"!=typeof e)return d.isFunction(e)?a.ready(e):(e.selector!==I&&(this.selector=e.selector,this.context=e.context),d.makeArray(e,this));if(!(n=s.exec(e))||!n[1]&&t)return t||f.test(e)?!t||t.jquery?(t||a).find(e):d(t).find(e):(this.selector=e,e=(this.context=R).getElementsByTagName(e),d.merge(this,e));if(n[1])return o=t?t.ownerDocument||t:R,(i=p.exec(e))?d.isPlainObject(t)?(e=[R.createElement(i[1])],d.fn.attr.call(e,t,!0)):e=[o.createElement(i[1])]:e=((i=d.buildFragment([n[1]],[o])).cacheable?i.fragment.cloneNode(!0):i.fragment).childNodes,d.merge(this,e);if((r=R.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return a.find(e);this.length=1,this[0]=r}return this.context=R,this.selector=e,this},selector:"",jquery:"1.4.3",length:0,size:function(){return this.length},toArray:function(){return C.call(this,0)},get:function(e){return null==e?this.toArray():e<0?this.slice(e)[0]:this[e]},pushStack:function(e,t,n){var r=d();return d.isArray(e)?L.apply(r,e):d.merge(r,e),r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return d.each(this,e,t)},ready:function(e){return d.bindReady(),d.isReady?e.call(R,d):w&&w.push(e),this},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(C.apply(this,arguments),"slice",C.call(arguments).join(","))},map:function(n){return this.pushStack(d.map(this,function(e,t){return n.call(e,t,e)}))},end:function(){return this.prevObject||d(null)},push:L,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(e,t){var n,r,i,o,a,s=e||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=t||{},l=2),"object"==typeof s||d.isFunction(s)||(s={}),u===l&&(s=this,--l);l<u;l++)if(null!=(n=arguments[l]))for(r in n)i=s[r],s!==(o=n[r])&&(c&&o&&(d.isPlainObject(o)||(a=d.isArray(o)))?(a?(a=!1,clone=i&&d.isArray(i)?i:[]):clone=i&&d.isPlainObject(i)?i:{},s[r]=d.extend(c,clone,o)):o!==I&&(s[r]=o));return s},d.extend({noConflict:function(e){return _.$=i,e&&(_.jQuery=t),d},isReady:!1,readyWait:1,ready:function(e){if(!0===e&&d.readyWait--,!d.readyWait||!0!==e&&!d.isReady){if(!R.body)return setTimeout(d.ready,1);if((d.isReady=!0)!==e&&0<--d.readyWait)return;if(w){for(var t,n=0;t=w[n++];)t.call(R,d);w=null}d.fn.triggerHandler&&d(R).triggerHandler("ready")}},bindReady:function(){if(!S){if(S=!0,"complete"===R.readyState)return setTimeout(d.ready,1);if(R.addEventListener)R.addEventListener("DOMContentLoaded",r,!1),_.addEventListener("load",d.ready,!1);else if(R.attachEvent){R.attachEvent("onreadystatechange",r),_.attachEvent("onload",d.ready);var e=!1;try{e=null==_.frameElement}catch(t){}R.documentElement.doScroll&&e&&n()}}},isFunction:function(e){return"function"===d.type(e)},isArray:Array.isArray||function(e){return"array"===d.type(e)},isWindow:function(e){return e&&"object"==typeof e&&"setInterval"in e},isNaN:function(e){return null==e||!h.test(e)||isNaN(e)},type:function(e){return null==e?String(e):F[N.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==d.type(e)||e.nodeType||d.isWindow(e))return!1;if(e.constructor&&!M.call(e,"constructor")&&!M.call(e.constructor.prototype,"isPrototypeOf"))return!1;var t;for(t in e);return t===I||M.call(e,t)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw e},parseJSON:function(e){return"string"==typeof e&&e?(e=d.trim(e),m.test(e.replace(g,"@").replace(y,"]").replace(v,""))?_.JSON&&_.JSON.parse?_.JSON.parse(e):new Function("return "+e)():void d.error("Invalid JSON: "+e)):null},noop:function(){},globalEval:function(e){if(e&&o.test(e)){var t=R.getElementsByTagName("head")[0]||R.documentElement,n=R.createElement("script");n.type="text/javascript",d.support.scriptEval?n.appendChild(R.createTextNode(e)):n.text=e,t.insertBefore(n,t.firstChild),t.removeChild(n)}},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,t,n){var r,i=0,o=e.length,a=o===I||d.isFunction(e);if(n)if(a){for(r in e)if(!1===t.apply(e[r],n))break}else for(;i<o&&!1!==t.apply(e[i++],n););else if(a){for(r in e)if(!1===t.call(e[r],r,e[r]))break}else for(var s=e[0];i<o&&!1!==t.call(s,i,s);s=e[++i]);return e},trim:O?function(e){return null==e?"":O.call(e)}:function(e){return null==e?"":e.toString().replace(u,"").replace(c,"")},makeArray:function(e,t){var n=t||[];if(null!=e){var r=d.type(e);null==e.length||"string"===r||"function"===r||"regexp"===r||d.isWindow(e)?L.call(n,e):d.merge(n,e)}return n},inArray:function(e,t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},merge:function(e,t){var n=e.length,r=0;if("number"==typeof t.length)for(var i=t.length;r<i;r++)e[n++]=t[r];else for(;t[r]!==I;)e[n++]=t[r++];return e.length=n,e},grep:function(e,t,n){var r=[];n=!!n;for(var i=0,o=e.length;i<o;i++)n!==!!t(e[i],i)&&r.push(e[i]);return r},map:function(e,t,n){for(var r,i=[],o=0,a=e.length;o<a;o++)null!=(r=t(e[o],o,n))&&(i[i.length]=r);return i.concat.apply([],i)},guid:1,proxy:function(e,t,n){return 2===arguments.length&&("string"==typeof t?(e=(n=e)[t],t=I):t&&!d.isFunction(t)&&(n=t,t=I)),!t&&e&&(t=function(){return e.apply(n||this,arguments)}),e&&(t.guid=e.guid=e.guid||t.guid||d.guid++),t},access:function(e,t,n,r,i,o){var a=e.length;if("object"==typeof t){for(var s in t)d.access(e,s,t[s],r,i,n);return e}if(n===I)return a?i(e[0],t):I;r=!o&&r&&d.isFunction(n);for(var l=0;l<a;l++)i(e[l],t,r?n.call(e[l],l,i(e[l],t)):n,o);return e},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();var t=b.exec(e)||T.exec(e)||x.exec(e)||e.indexOf("compatible")<0&&E.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},browser:{}}),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){F["[object "+t+"]"]=t.toLowerCase()}),(e=d.uaMatch(D)).browser&&(d.browser[e.browser]=!0,d.browser.version=e.version),d.browser.webkit&&(d.browser.safari=!0),k&&(d.inArray=function(e,t){return k.call(t,e)}),l.test("\xa0")||(u=/^[\s\xA0]+/,c=/[\s\xA0]+$/),a=d(R),R.addEventListener?r=function(){R.removeEventListener("DOMContentLoaded",r,!1),d.ready()}:R.attachEvent&&(r=function(){"complete"===R.readyState&&(R.detachEvent("onreadystatechange",r),d.ready())}),_.jQuery=_.$=d}();!function(){S.support={};var e=R.documentElement,t=R.createElement("script"),n=R.createElement("div"),r="script"+S.now();n.style.display="none",n.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var i=n.getElementsByTagName("*"),o=n.getElementsByTagName("a")[0],a=R.createElement("select"),s=a.appendChild(R.createElement("option"));if(i&&i.length&&o){S.support={leadingWhitespace:3===n.firstChild.nodeType,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/red/.test(o.getAttribute("style")),hrefNormalized:"/a"===o.getAttribute("href"),opacity:/^0.55$/.test(o.style.opacity),cssFloat:!!o.style.cssFloat,checkOn:"on"===n.getElementsByTagName("input")[0].value,optSelected:s.selected,optDisabled:!1,checkClone:!1,scriptEval:!1,noCloneEvent:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},a.disabled=!0,S.support.optDisabled=!s.disabled,t.type="text/javascript";try{t.appendChild(R.createTextNode("window."+r+"=1;"))}catch(c){}e.insertBefore(t,e.firstChild),_[r]&&(S.support.scriptEval=!0,delete _[r]),e.removeChild(t),n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",function d(){S.support.noCloneEvent=!1,n.detachEvent("onclick",d)}),n.cloneNode(!0).fireEvent("onclick")),(n=R.createElement("div")).innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var l=R.createDocumentFragment();l.appendChild(n.firstChild),S.support.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,S(function(){var e=R.createElement("div");e.style.width=e.style.paddingLeft="1px",R.body.appendChild(e),S.boxModel=S.support.boxModel=2===e.offsetWidth,"zoom"in e.style&&(e.style.display="inline",e.style.zoom=1,S.support.inlineBlockNeedsLayout=2===e.offsetWidth,e.style.display="",e.innerHTML="<div style='width:4px;'></div>",S.support.shrinkWrapBlocks=2!==e.offsetWidth),e.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var t=e.getElementsByTagName("td");S.support.reliableHiddenOffsets=0===t[0].offsetHeight,t[0].style.display="",t[1].style.display="none",S.support.reliableHiddenOffsets=S.support.reliableHiddenOffsets&&0===t[0].offsetHeight,e.innerHTML="",R.body.removeChild(e).style.display="none",e=t=null});var u=function(e){var t=R.createElement("div"),n=(e="on"+e)in t;return n||(t.setAttribute(e,"return;"),n="function"==typeof t[e]),t=null,n};S.support.submitBubbles=u("submit"),S.support.changeBubbles=u("change"),e=t=n=i=o=null}}(),S.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var c={},g=/^(?:\{.*\}|\[.*\])$/;S.extend({cache:{},uuid:0,expando:"jQuery"+S.now(),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},data:function(e,t,n){if(S.acceptData(e)){var r,i=(e=e==_?c:e).nodeType,o=i?e[S.expando]:null,a=S.cache;if(!i||o||"string"!=typeof t||n!==I)return i?o||(e[S.expando]=o=++S.uuid):a=e,"object"==typeof t?i?a[o]=S.extend(a[o],t):S.extend(a,t):i&&!a[o]&&(a[o]={}),r=i?a[o]:a,n!==I&&(r[t]=n),"string"==typeof t?r[t]:r}},removeData:function(e,t){if(S.acceptData(e)){var n=(e=e==_?c:e).nodeType,r=n?e[S.expando]:e,i=S.cache,o=n?i[r]:r;if(t)o&&(delete o[t],n&&S.isEmptyObject(o)&&S.removeData(e));else if(n&&S.support.deleteExpando)delete e[S.expando];else if(e.removeAttribute)e.removeAttribute(S.expando);else if(n)delete i[r];else for(var a in e)delete e[a]}},acceptData:function(e){if(e.nodeName){var t=S.noData[e.nodeName.toLowerCase()];if(t)return!(!0===t||e.getAttribute("classid")!==t)}return!0}}),S.fn.extend({data:function(n,r){if(void 0===n)return this.length?S.data(this[0]):null;if("object"==typeof n)return this.each(function(){S.data(this,n)});var i=n.split(".");if(i[1]=i[1]?"."+i[1]:"",r!==I)return this.each(function(){var e=S(this),t=[i[0],r];e.triggerHandler("setData"+i[1]+"!",t),S.data(this,n,r),e.triggerHandler("changeData"+i[1]+"!",t)});var e=this.triggerHandler("getData"+i[1]+"!",[i[0]]);if(e===I&&this.length&&(e=S.data(this[0],n))===I&&1===this[0].nodeType)if("string"==typeof(e=this[0].getAttribute("data-"+n)))try{e="true"===e||"false"!==e&&("null"===e?null:S.isNaN(e)?g.test(e)?S.parseJSON(e):e:parseFloat(e))}catch(t){}else e=I;return e===I&&i[1]?this.data(i[0]):e},removeData:function(e){return this.each(function(){S.removeData(this,e)})}}),S.extend({queue:function(e,t,n){if(e){t=(t||"fx")+"queue";var r=S.data(e,t);return n?(!r||S.isArray(n)?r=S.data(e,t,S.makeArray(n)):r.push(n),r):r||[]}},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.shift();"inprogress"===r&&(r=n.shift()),r&&("fx"===t&&n.unshift("inprogress"),r.call(e,function(){S.dequeue(e,t)}))}}),S.fn.extend({queue:function(t,n){return"string"!=typeof t&&(n=t,t="fx"),n===I?S.queue(this[0],t):this.each(function(){var e=S.queue(this,t,n);"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},delay:function(t,n){return t=S.fx&&S.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(){var e=this;setTimeout(function(){S.dequeue(e,n)},t)})},clearQueue:function(e){return this.queue(e||"fx",[])}});var y=/[\n\t]/g,b=/\s+/,T=/\r/g,x=/^(?:href|src|style)$/,E=/^(?:button|input)$/i,D=/^(?:button|input|object|select|textarea)$/i,w=/^a(?:rea)?$/i,N=/^(?:radio|checkbox)$/i;S.fn.extend({attr:function(e,t){return S.access(this,e,t,!0,S.attr)},removeAttr:function(e){return this.each(function(){S.attr(this,e,""),1===this.nodeType&&this.removeAttribute(e)})},addClass:function(n){if(S.isFunction(n))return this.each(function(e){var t=S(this);t.addClass(n.call(this,e,t.attr("class")))});if(n&&"string"==typeof n)for(var e=(n||"").split(b),t=0,r=this.length;t<r;t++){var i=this[t];if(1===i.nodeType)if(i.className){for(var o=" "+i.className+" ",a=i.className,s=0,l=e.length;s<l;s++)o.indexOf(" "+e[s]+" ")<0&&(a+=" "+e[s]);i.className=S.trim(a)}else i.className=n}return this},removeClass:function(n){if(S.isFunction(n))return this.each(function(e){var t=S(this);t.removeClass(n.call(this,e,t.attr("class")))});if(n&&"string"==typeof n||n===I)for(var e=(n||"").split(b),t=0,r=this.length;t<r;t++){var i=this[t];if(1===i.nodeType&&i.className)if(n){for(var o=(" "+i.className+" ").replace(y," "),a=0,s=e.length;a<s;a++)o=o.replace(" "+e[a]+" "," ");i.className=S.trim(o)}else i.className=""}return this},toggleClass:function(o,a){var s=typeof o,l="boolean"==typeof a;return S.isFunction(o)?this.each(function(e){var t=S(this);t.toggleClass(o.call(this,e,t.attr("class"),a),a)}):this.each(function(){if("string"===s)for(var e,t=0,n=S(this),r=a,i=o.split(b);e=i[t++];)r=l?r:!n.hasClass(e),n[r?"addClass":"removeClass"](e);else"undefined"!==s&&"boolean"!==s||(this.className&&S.data(this,"__className__",this.className),this.className=this.className||!1===o?"":S.data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(-1<(" "+this[n].className+" ").replace(y," ").indexOf(t))return!0;return!1},val:function(i){if(!arguments.length){var e=this[0];if(e){if(S.nodeName(e,"option")){var t=e.attributes.value;return!t||t.specified?e.value:e.text}if(S.nodeName(e,"select")){var n=e.selectedIndex,r=[],o=e.options,a="select-one"===e.type;if(n<0)return null;for(var s=a?n:0,l=a?n+1:o.length;s<l;s++){var u=o[s];if(u.selected&&(S.support.optDisabled?!u.disabled:null===u.getAttribute("disabled"))&&(!u.parentNode.disabled||!S.nodeName(u.parentNode,"optgroup"))){if(i=S(u).val(),a)return i;r.push(i)}}return r}return N.test(e.type)&&!S.support.checkOn?null===e.getAttribute("value")?"on":e.value:(e.value||"").replace(T,"")}return I}var c=S.isFunction(i);return this.each(function(e){var t=S(this),n=i;if(1===this.nodeType)if(c&&(n=i.call(this,e,t.val())),null==n?n="":"number"==typeof n?n+="":S.isArray(n)&&(n=S.map(n,function(e){return null==e?"":e+""})),S.isArray(n)&&N.test(this.type))this.checked=0<=S.inArray(t.val(),n);else if(S.nodeName(this,"select")){var r=S.makeArray(n);S("option",this).each(function(){this.selected=0<=S.inArray(S(this).val(),r)}),r.length||(this.selectedIndex=-1)}else this.value=n})}}),S.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,t,n,r){if(!e||3===e.nodeType||8===e.nodeType)return I;if(r&&t in S.attrFn)return S(e)[t](n);var i=1!==e.nodeType||!S.isXMLDoc(e),o=n!==I;if(t=i&&S.props[t]||t,1===e.nodeType){var a=x.test(t);if("selected"===t&&!S.support.optSelected){var s=e.parentNode;s&&(s.selectedIndex,s.parentNode&&s.parentNode.selectedIndex)}if((t in e||e[t]!==I)&&i&&!a){if(o&&("type"===t&&E.test(e.nodeName)&&e.parentNode&&S.error("type property can't be changed"),null===n?1===e.nodeType&&e.removeAttribute(t):e[t]=n),S.nodeName(e,"form")&&e.getAttributeNode(t))return e.getAttributeNode(t).nodeValue;if("tabIndex"!==t)return e[t];var l=e.getAttributeNode("tabIndex");return l&&l.specified?l.value:D.test(e.nodeName)||w.test(e.nodeName)&&e.href?0:I}if(!S.support.style&&i&&"style"===t)return o&&(e.style.cssText=""+n),e.style.cssText;if(o&&e.setAttribute(t,""+n),!e.attributes[t]&&e.hasAttribute&&!e.hasAttribute(t))return I;var u=!S.support.hrefNormalized&&i&&a?e.getAttribute(t,2):e.getAttribute(t);return null===u?I:u}}});var M=/\.(.*)$/,L=/^(?:textarea|input|select)$/i,C=/\./g,O=/ /g,k=/[^\w\s.|`]/g,F=function(e){return e.replace(k,"\\$&")},A={focusin:0,focusout:0};S.event={add:function(e,t,n,r){if(3!==e.nodeType&&8!==e.nodeType){var i,o;S.isWindow(e)&&e!==_&&!e.frameElement&&(e=_),!1===n&&(n=v),n.handler&&(n=(i=n).handler),n.guid||(n.guid=S.guid++);var a=S.data(e);if(a){var s=e.nodeType?"events":"__events__",l=a[s],u=a.handle;"function"==typeof l?(u=l.handle,l=l.events):l||(e.nodeType||(a[s]=a=function(){}),a.events=l={}),u||(a.handle=u=function(){return void 0===S||S.event.triggered?I:S.event.handle.apply(u.elem,arguments)}),u.elem=e,t=t.split(" ");for(var c,d,f=0;c=t[f++];){o=i?S.extend({},i):{handler:n,data:r},-1<c.indexOf(".")?(c=(d=c.split(".")).shift(),o.namespace=d.slice(0).sort().join(".")):(d=[],o.namespace=""),o.type=c,o.guid||(o.guid=n.guid);var h=l[c],p=S.event.special[c]||{};h||(h=l[c]=[],p.setup&&!1!==p.setup.call(e,r,d,u)||(e.addEventListener?e.addEventListener(c,u,!1):e.attachEvent&&e.attachEvent("on"+c,u))),p.add&&(p.add.call(e,o),o.handler.guid||(o.handler.guid=n.guid)),h.push(o),S.event.global[c]=!0}e=null}}},global:{},remove:function(e,t,n,r){if(3!==e.nodeType&&8!==e.nodeType){!1===n&&(n=v);var i,o,a,s,l,u,c,d,f,h=0,p=e.nodeType?"events":"__events__",m=S.data(e),g=m&&m[p];if(m&&g)if("function"==typeof g&&(g=(m=g).events),t&&t.type&&(n=t.handler,t=t.type),!t||"string"==typeof t&&"."===t.charAt(0))for(i in t=t||"",g)S.event.remove(e,i+t);else{for(t=t.split(" ");i=t[h++];)if(d=null,s=[],(a=(f=i).indexOf(".")<0)||(i=(s=i.split(".")).shift(),l=new RegExp("(^|\\.)"+S.map(s.slice(0).sort(),F).join("\\.(?:.*\\.)?")+"(\\.|$)")),c=g[i])if(n){for(u=S.event.special[i]||{},o=r||0;o<c.length&&(d=c[o],n.guid!==d.guid||((a||l.test(d.namespace))&&(null==r&&c.splice(o--,1),u.remove&&u.remove.call(e,d)),null==r));o++);(0===c.length||null!=r&&1===c.length)&&(u.teardown&&!1!==u.teardown.call(e,s)||S.removeEvent(e,i,m.handle),null,delete g[i])}else for(o=0;o<c.length;o++)d=c[o],(a||l.test(d.namespace))&&(S.event.remove(e,f,d.handler,o),c.splice(o--,1));if(S.isEmptyObject(g)){var y=m.handle;y&&(y.elem=null),delete m.events,delete m.handle,"function"==typeof m?S.removeData(e,p):S.isEmptyObject(m)&&S.removeData(e)}}}},trigger:function(e,t,n,r){var i=e.type||e;if(!r){if(e="object"==typeof e?e[S.expando]?e:S.extend(S.Event(i),e):S.Event(i),0<=i.indexOf("!")&&(e.type=i=i.slice(0,-1),e.exclusive=!0),n||(e.stopPropagation(),S.event.global[i]&&S.each(S.cache,function(){this.events&&this.events[i]&&S.event.trigger(e,t,this.handle.elem)})),!n||3===n.nodeType||8===n.nodeType)return I;e.result=I,e.target=n,(t=S.makeArray(t)).unshift(e)}var o=(e.currentTarget=n).nodeType?S.data(n,"handle"):(S.data(n,"__events__")||{}).handle;o&&o.apply(n,t);var a=n.parentNode||n.ownerDocument;try{n&&n.nodeName&&S.noData[n.nodeName.toLowerCase()]||n["on"+i]&&!1===n["on"+i].apply(n,t)&&(e.result=!1,e.preventDefault())}catch(f){}if(!e.isPropagationStopped()&&a)S.event.trigger(e,t,a,!0);else if(!e.isDefaultPrevented()){var s,l=e.target,u=i.replace(M,""),c=S.nodeName(l,"a")&&"click"===u,d=S.event.special[u]||{};if(!(d._default&&!1!==d._default.call(n,e)||c||l&&l.nodeName&&S.noData[l.nodeName.toLowerCase()])){try{l[u]&&((s=l["on"+u])&&(l["on"+u]=null),S.event.triggered=!0,l[u]())}catch(h){}s&&(l["on"+u]=s),S.event.triggered=!1}}},handle:function(e){var t,n,r,i,o,a=[],s=S.makeArray(arguments);if((e=s[0]=S.event.fix(e||_.event)).currentTarget=this,(t=e.type.indexOf(".")<0&&!e.exclusive)||(r=e.type.split("."),e.type=r.shift(),a=r.slice(0).sort(),i=new RegExp("(^|\\.)"+a.join("\\.(?:.*\\.)?")+"(\\.|$)")),e.namespace=e.namespace||a.join("."),"function"==typeof(o=S.data(this,this.nodeType?"events":"__events__"))&&(o=o.events),n=(o||{})[e.type],o&&n)for(var l=0,u=(n=n.slice(0)).length;l<u;l++){var c=n[l];if(t||i.test(c.namespace)){e.handler=c.handler,e.data=c.data;var d=(e.handleObj=c).handler.apply(this,s);if(d!==I&&!1===(e.result=d)&&(e.preventDefault(),e.stopPropagation()),e.isImmediatePropagationStopped())break}}return e.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(e){if(e[S.expando])return e;var t=e;e=S.Event(t);for(var n,r=this.props.length;r;)e[n=this.props[--r]]=t[n];if(e.target||(e.target=e.srcElement||R),3===e.target.nodeType&&(e.target=e.target.parentNode),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),null==e.pageX&&null!=e.clientX){var i=R.documentElement,o=R.body;e.pageX=e.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),e.pageY=e.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)}return null!=e.which||null==e.charCode&&null==e.keyCode||(e.which=null!=e.charCode?e.charCode:e.keyCode),!e.metaKey&&e.ctrlKey&&(e.metaKey=e.ctrlKey),e.which||e.button===I||(e.which=1&e.button?1:2&e.button?3:4&e.button?2:0),e},guid:1e8,proxy:S.proxy,special:{ready:{setup:S.bindReady,teardown:S.noop},live:{add:function(e){S.event.add(this,m(e.origType,e.selector),S.extend({},e,{handler:n,guid:e.handler.guid}))},remove:function(e){S.event.remove(this,m(e.origType,e.selector),e)}},beforeunload:{setup:function(e,t,n){S.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}}},S.removeEvent=R.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent&&e.detachEvent("on"+t,n)},S.Event=function(e){if(!this.preventDefault)return new S.Event(e);e&&e.type?(this.originalEvent=e,this.type=e.type):this.type=e,this.timeStamp=S.now(),this[S.expando]=!0},S.Event.prototype={preventDefault:function(){this.isDefaultPrevented=t;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=t;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=t,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var P=function(e){var t=e.relatedTarget;try{for(;t&&t!==this;)t=t.parentNode;t!==this&&(e.type=e.data,S.event.handle.apply(this,arguments))}catch(n){}},j=function(e){e.type=e.data,S.event.handle.apply(this,arguments)};if(S.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,n){S.event.special[t]={setup:function(e){S.event.add(this,n,e&&e.selector?j:P,t)},teardown:function(e){S.event.remove(this,n,e&&e.selector?j:P)}}}),S.support.submitBubbles||(S.event.special.submit={setup:function(){if("form"===this.nodeName.toLowerCase())return!1;S.event.add(this,"click.specialSubmit",function(e){var t=e.target,n=t.type;if(("submit"===n||"image"===n)&&S(t).closest("form").length)return e.liveFired=I,r("submit",this,arguments)}),S.event.add(this,"keypress.specialSubmit",function(e){var t=e.target,n=t.type;if(("text"===n||"password"===n)&&S(t).closest("form").length&&13===e.keyCode)return e.liveFired=I,r("submit",this,arguments)})},teardown:function(){S.event.remove(this,".specialSubmit")}}),!S.support.changeBubbles){var H,B=function(e){var t=e.type,n=e.value;return"radio"===t||"checkbox"===t?n=e.checked:"select-multiple"===t?n=-1<e.selectedIndex?S.map(e.options,function(e){return e.selected}).join("-"):"":"select"===e.nodeName.toLowerCase()&&(n=e.selectedIndex),n},$=function $(e,t){var n,r,i=e.target;if(L.test(i.nodeName)&&!i.readOnly&&(n=S.data(i,"_change_data"),r=B(i),"focusout"===e.type&&"radio"===i.type||S.data(i,"_change_data",r),n!==I&&r!==n))return null!=n||r?(e.type="change",e.liveFired=I,S.event.trigger(e,t,i)):void 0};S.event.special.change={filters:{focusout:$,beforedeactivate:$,click:function(e){var t=e.target,n=t.type;if("radio"===n||"checkbox"===n||"select"===t.nodeName.toLowerCase())return $.call(this,e)},keydown:function(e){var t=e.target,n=t.type;if(13===e.keyCode&&"textarea"!==t.nodeName.toLowerCase()||32===e.keyCode&&("checkbox"===n||"radio"===n)||"select-multiple"===n)return $.call(this,e)},beforeactivate:function(e){var t=e.target;S.data(t,"_change_data",B(t))}},setup:function(){if("file"===this.type)return!1;for(var e in H)S.event.add(this,e+".specialChange",H[e]);return L.test(this.nodeName)},teardown:function(){return S.event.remove(this,".specialChange"),L.test(this.nodeName)}},(H=S.event.special.change.filters).focus=H.beforeactivate}R.addEventListener&&S.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){return(e=S.event.fix(e)).type=t,S.event.trigger(e,null,e.target)}S.event.special[t]={setup:function(){0==A[t]++&&R.addEventListener(e,n,!0)},teardown:function(){0==--A[t]&&R.removeEventListener(e,n,!0)}}}),S.each(["bind","one"],function(e,s){S.fn[s]=function(e,t,n){if("object"==typeof e){for(var r in e)this[s](r,t,e[r],n);return this}(S.isFunction(t)||!1===t)&&(n=t,t=I);var i="one"===s?S.proxy(n,function(e){return S(this).unbind(e,i),n.apply(this,arguments)}):n;if("unload"===e&&"one"!==s)this.one(e,t,n);else for(var o=0,a=this.length;o<a;o++)S.event.add(this[o],e,i,t)
2
- ;return this}}),S.fn.extend({unbind:function(e,t){if("object"!=typeof e||e.preventDefault)for(var n=0,r=this.length;n<r;n++)S.event.remove(this[n],e,t);else for(var i in e)this.unbind(i,e[i]);return this},delegate:function(e,t,n,r){return this.live(t,n,r,e)},undelegate:function(e,t,n){return 0===arguments.length?this.unbind("live"):this.die(t,null,n,e)},trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0]){var n=S.Event(e);return n.preventDefault(),n.stopPropagation(),S.event.trigger(n,t,this[0]),n.result}},toggle:function(n){for(var r=arguments,i=1;i<r.length;)S.proxy(n,r[i++]);return this.click(S.proxy(n,function(e){var t=(S.data(this,"lastToggle"+n.guid)||0)%i;return S.data(this,"lastToggle"+n.guid,t+1),e.preventDefault(),r[t].apply(this,arguments)||!1}))},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var X={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};S.each(["live","die"],function(e,p){S.fn[p]=function(e,t,n,r){var i,o,a,s,l=0,u=r||this.selector,c=r?this:S(this.context);if("object"==typeof e&&!e.preventDefault){for(var d in e)c[p](d,t,e[d],u);return this}for(S.isFunction(t)&&(n=t,t=I),e=(e||"").split(" ");null!=(i=e[l++]);)if(a="",(o=M.exec(i))&&(a=o[0],i=i.replace(M,"")),"hover"!==i)if("focus"===(s=i)||"blur"===i?(e.push(X[i]+a),i+=a):i=(X[i]||i)+a,"live"===p)for(var f=0,h=c.length;f<h;f++)S.event.add(c[f],"live."+m(i,u),{data:t,selector:u,handler:n,origType:i,origHandler:n,preType:s});else c.unbind("live."+m(i,u),n);else e.push("mouseenter"+a,"mouseleave"+a);return this}}),S.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".split(" "),function(e,n){S.fn[n]=function(e,t){return null==t&&(t=e,e=null),0<arguments.length?this.bind(n,e,t):this.trigger(n)},S.attrFn&&(S.attrFn[n]=!0)}),_.attachEvent&&!_.addEventListener&&S(_).bind("unload",function(){for(var e in S.cache)if(S.cache[e].handle)try{S.event.remove(S.cache[e].handle.elem)}catch(t){}}),function(){function a(e,t,n,r,i,o){for(var a=0,s=r.length;a<s;a++){var l=r[a];if(l){l=l[e];for(var u=!1;l;){if(l.sizcache===n){u=r[l.sizset];break}if(1!==l.nodeType||o||(l.sizcache=n,l.sizset=a),l.nodeName.toLowerCase()===t){u=l;break}l=l[e]}r[a]=u}}}function s(e,t,n,r,i,o){for(var a=0,s=r.length;a<s;a++){var l=r[a];if(l){l=l[e];for(var u=!1;l;){if(l.sizcache===n){u=r[l.sizset];break}if(1===l.nodeType)if(o||(l.sizcache=n,l.sizset=a),"string"!=typeof t){if(l===t){u=!0;break}}else if(0<b.filter(t,[l]).length){u=l;break}l=l[e]}r[a]=u}}}var y=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,l=0,v=Object.prototype.toString,c=!1,n=!0;[0,0].sort(function(){return n=!1,0});var b=function(e,t,n,r){n=n||[];var i=t=t||R;if(1!==t.nodeType&&9!==t.nodeType)return[];if(!e||"string"!=typeof e)return n;var o,a,s,l,u,c,d,f,h=[],p=!0,m=b.isXML(t),g=e;do{if(y.exec(""),(o=y.exec(g))&&(g=o[3],h.push(o[1]),o[2])){l=o[3];break}}while(o);if(1<h.length&&x.exec(e))if(2===h.length&&T.relative[h[0]])a=D(h[0]+h[1],t);else for(a=T.relative[h[0]]?[t]:b(h.shift(),t);h.length;)e=h.shift(),T.relative[e]&&(e+=h.shift()),a=D(e,a);else if(!r&&1<h.length&&9===t.nodeType&&!m&&T.match.ID.test(h[0])&&!T.match.ID.test(h[h.length-1])&&(t=(u=b.find(h.shift(),t,m)).expr?b.filter(u.expr,u.set)[0]:u.set[0]),t)for(a=(u=r?{expr:h.pop(),set:E(r)}:b.find(h.pop(),1!==h.length||"~"!==h[0]&&"+"!==h[0]||!t.parentNode?t:t.parentNode,m)).expr?b.filter(u.expr,u.set):u.set,0<h.length?s=E(a):p=!1;h.length;)d=c=h.pop(),T.relative[c]?d=h.pop():c="",null==d&&(d=t),T.relative[c](s,d,m);else s=h=[];if(s||(s=a),s||b.error(c||e),"[object Array]"===v.call(s))if(p)if(t&&1===t.nodeType)for(f=0;null!=s[f];f++)s[f]&&(!0===s[f]||1===s[f].nodeType&&b.contains(t,s[f]))&&n.push(a[f]);else for(f=0;null!=s[f];f++)s[f]&&1===s[f].nodeType&&n.push(a[f]);else n.push.apply(n,s);else E(s,n);return l&&(b(l,i,n,r),b.uniqueSort(n)),n};b.uniqueSort=function(e){if(r&&(c=n,e.sort(r),c))for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1);return e},b.matches=function(e,t){return b(e,null,null,t)},b.matchesSelector=function(e,t){return 0<b(t,null,null,[e]).length},b.find=function(e,t,n){var r;if(!e)return[];for(var i=0,o=T.order.length;i<o;i++){var a,s=T.order[i];if(a=T.leftMatch[s].exec(e)){var l=a[1];if(a.splice(1,1),"\\"!==l.substr(l.length-1)&&(a[1]=(a[1]||"").replace(/\\/g,""),null!=(r=T.find[s](a,t,n)))){e=e.replace(T.match[s],"");break}}}return r||(r=t.getElementsByTagName("*")),{set:r,expr:e}},b.filter=function(e,t,n,r){for(var i,o,a=e,s=[],l=t,u=t&&t[0]&&b.isXML(t[0]);e&&t.length;){for(var c in T.filter)if(null!=(i=T.leftMatch[c].exec(e))&&i[2]){var d,f,h=T.filter[c],p=i[1];if(o=!1,i.splice(1,1),"\\"===p.substr(p.length-1))continue;if(l===s&&(s=[]),T.preFilter[c])if(i=T.preFilter[c](i,l,n,s,r,u)){if(!0===i)continue}else o=d=!0;if(i)for(var m=0;null!=(f=l[m]);m++)if(f){var g=r^!!(d=h(f,i,m,l));n&&null!=d?g?o=!0:l[m]=!1:g&&(s.push(f),o=!0)}if(d!==I){if(n||(l=s),e=e.replace(T.match[c],""),!o)return[];break}}if(e===a){if(null!=o)break;b.error(e)}a=e}return l},b.error=function(e){throw"Syntax error, unrecognized expression: "+e};var T=b.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")}},relative:{"+":function(e,t){var n="string"==typeof t,r=n&&!/\W/.test(t),i=n&&!r;r&&(t=t.toLowerCase());for(var o,a=0,s=e.length;a<s;a++)if(o=e[a]){for(;(o=o.previousSibling)&&1!==o.nodeType;);e[a]=i||o&&o.nodeName.toLowerCase()===t?o||!1:o===t}i&&b.filter(t,e,!0)},">":function(e,t){var n,r="string"==typeof t,i=0,o=e.length;if(r&&!/\W/.test(t)){for(t=t.toLowerCase();i<o;i++)if(n=e[i]){var a=n.parentNode;e[i]=a.nodeName.toLowerCase()===t&&a}}else{for(;i<o;i++)(n=e[i])&&(e[i]=r?n.parentNode:n.parentNode===t);r&&b.filter(t,e,!0)}},"":function(e,t,n){var r,i=l++,o=s;"string"!=typeof t||/\W/.test(t)||(r=t=t.toLowerCase(),o=a),o("parentNode",t,i,e,r,n)},"~":function(e,t,n){var r,i=l++,o=s;"string"!=typeof t||/\W/.test(t)||(r=t=t.toLowerCase(),o=a),o("previousSibling",t,i,e,r,n)}},find:{ID:function(e,t,n){if("undefined"!=typeof t.getElementById&&!n){var r=t.getElementById(e[1]);return r&&r.parentNode?[r]:[]}},NAME:function(e,t){if("undefined"!=typeof t.getElementsByName){for(var n=[],r=t.getElementsByName(e[1]),i=0,o=r.length;i<o;i++)r[i].getAttribute("name")===e[1]&&n.push(r[i]);return 0===n.length?null:n}},TAG:function(e,t){return t.getElementsByTagName(e[1])}},preFilter:{CLASS:function(e,t,n,r,i,o){if(e=" "+e[1].replace(/\\/g,"")+" ",o)return e;for(var a,s=0;null!=(a=t[s]);s++)a&&(i^(a.className&&0<=(" "+a.className+" ").replace(/[\t\n]/g," ").indexOf(e))?n||r.push(a):n&&(t[s]=!1));return!1},ID:function(e){return e[1].replace(/\\/g,"")},TAG:function(e){return e[1].toLowerCase()},CHILD:function(e){if("nth"===e[1]){var t=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(("even"===e[2]?"2n":"odd"===e[2]&&"2n+1")||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=t[1]+(t[2]||1)-0,e[3]=t[3]-0}return e[0]=l++,e},ATTR:function(e,t,n,r,i,o){var a=e[1].replace(/\\/g,"");return!o&&T.attrMap[a]&&(e[1]=T.attrMap[a]),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,n,r,i){if("not"===e[1]){if(!(1<(y.exec(e[3])||"").length||/^\w/.test(e[3]))){var o=b.filter(e[3],t,n,!0^i);return n||r.push.apply(r,o),!1}e[3]=b(e[3],null,null,t)}else if(T.match.POS.test(e[0])||T.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return!1===e.disabled&&"hidden"!==e.type},disabled:function(e){return!0===e.disabled},checked:function(e){return!0===e.checked},selected:function(e){return e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!b(n[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){return"text"===e.type},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||"button"===e.nodeName.toLowerCase()},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)}},setFilters:{first:function(e,t){return 0===t},last:function(e,t,n,r){return t===r.length-1},even:function(e,t){return t%2==0},odd:function(e,t){return t%2==1},lt:function(e,t,n){return t<n[3]-0},gt:function(e,t,n){return t>n[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,n,r){var i=t[1],o=T.filters[i];if(o)return o(e,n,t,r);if("contains"===i)return 0<=(e.textContent||e.innerText||b.getText([e])||"").indexOf(t[3]);if("not"===i){for(var a=t[3],s=0,l=a.length;s<l;s++)if(a[s]===e)return!1;return!0}b.error("Syntax error, unrecognized expression: "+i)},CHILD:function(e,t){var n=t[1],r=e;switch(n){case"only":case"first":for(;r=r.previousSibling;)if(1===r.nodeType)return!1;if("first"===n)return!0;r=e;case"last":for(;r=r.nextSibling;)if(1===r.nodeType)return!1;return!0;case"nth":var i=t[2],o=t[3];if(1===i&&0===o)return!0;var a=t[0],s=e.parentNode;if(s&&(s.sizcache!==a||!e.nodeIndex)){var l=0;for(r=s.firstChild;r;r=r.nextSibling)1===r.nodeType&&(r.nodeIndex=++l);s.sizcache=a}var u=e.nodeIndex-o;return 0===i?0===u:u%i==0&&0<=u/i}},ID:function(e,t){return 1===e.nodeType&&e.getAttribute("id")===t},TAG:function(e,t){return"*"===t&&1===e.nodeType||e.nodeName.toLowerCase()===t},CLASS:function(e,t){return-1<(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)},ATTR:function(e,t){var n=t[1],r=T.attrHandle[n]?T.attrHandle[n](e):null!=e[n]?e[n]:e.getAttribute(n),i=r+"",o=t[2],a=t[4];return null==r?"!="===o:"="===o?i===a:"*="===o?0<=i.indexOf(a):"~="===o?0<=(" "+i+" ").indexOf(a):a?"!="===o?i!==a:"^="===o?0===i.indexOf(a):"$="===o?i.substr(i.length-a.length)===a:"|="===o&&(i===a||i.substr(0,a.length+1)===a+"-"):i&&!1!==r},POS:function(e,t,n,r){var i=t[2],o=T.setFilters[i];if(o)return o(e,n,t,r)}}},x=T.match.POS,e=function(e,t){return"\\"+(t-0+1)};for(var t in T.match)T.match[t]=new RegExp(T.match[t].source+/(?![^\[]*\])(?![^\(]*\))/.source),T.leftMatch[t]=new RegExp(/(^(?:.|\r|\n)*?)/.source+T.match[t].source.replace(/\\(\d+)/g,e));var r,d,i,o,E=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(R.documentElement.childNodes,0)[0].nodeType}catch(u){E=function(e,t){var n=t||[],r=0;if("[object Array]"===v.call(e))Array.prototype.push.apply(n,e);else if("number"==typeof e.length)for(var i=e.length;r<i;r++)n.push(e[r]);else for(;e[r];r++)n.push(e[r]);return n}}R.documentElement.compareDocumentPosition?r=function(e,t){return e===t?(c=!0,0):e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:1:e.compareDocumentPosition?-1:1}:(r=function(e,t){var n,r,i=[],o=[],a=e.parentNode,s=t.parentNode,l=a;if(e===t)return c=!0,0;if(a===s)return d(e,t);if(!a)return-1;if(!s)return 1;for(;l;)i.unshift(l),l=l.parentNode;for(l=s;l;)o.unshift(l),l=l.parentNode;n=i.length,r=o.length;for(var u=0;u<n&&u<r;u++)if(i[u]!==o[u])return d(i[u],o[u]);return u===n?d(e,o[u],-1):d(i[u],t,1)},d=function(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}),b.getText=function(e){for(var t,n="",r=0;e[r];r++)3===(t=e[r]).nodeType||4===t.nodeType?n+=t.nodeValue:8!==t.nodeType&&(n+=b.getText(t.childNodes));return n},function(){var e=R.createElement("div"),t="script"+(new Date).getTime();e.innerHTML="<a name='"+t+"'/>";var n=R.documentElement;n.insertBefore(e,n.firstChild),R.getElementById(t)&&(T.find.ID=function(e,t,n){if("undefined"!=typeof t.getElementById&&!n){var r=t.getElementById(e[1]);return r?r.id===e[1]||"undefined"!=typeof r.getAttributeNode&&r.getAttributeNode("id").nodeValue===e[1]?[r]:I:[]}},T.filter.ID=function(e,t){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&n&&n.nodeValue===t}),n.removeChild(e),n=e=null}(),(i=R.createElement("div")).appendChild(R.createComment("")),0<i.getElementsByTagName("*").length&&(T.find.TAG=function(e,t){var n=t.getElementsByTagName(e[1]);if("*"===e[1]){for(var r=[],i=0;n[i];i++)1===n[i].nodeType&&r.push(n[i]);n=r}return n}),i.innerHTML="<a href='#'></a>",i.firstChild&&"undefined"!=typeof i.firstChild.getAttribute&&"#"!==i.firstChild.getAttribute("href")&&(T.attrHandle.href=function(e){return e.getAttribute("href",2)}),i=null,R.querySelectorAll&&function(){var l=b,e=R.createElement("div");if(e.innerHTML="<p class='TEST'></p>",!e.querySelectorAll||0!==e.querySelectorAll(".TEST").length){for(var t in b=function(e,t,n,r){if(t=t||R,!r&&!b.isXML(t))if(9===t.nodeType)try{return E(t.querySelectorAll(e),n)}catch(a){}else if(1===t.nodeType&&"object"!==t.nodeName.toLowerCase()){var i=t.id,o=t.id="__sizzle__";try{return E(t.querySelectorAll("#"+o+" "+e),n)}catch(s){}finally{i?t.id=i:t.removeAttribute("id")}}return l(e,t,n,r)},l)b[t]=l[t];e=null}}(),function(){var e=R.documentElement,n=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector,r=!1;try{n.call(R.documentElement,":sizzle")}catch(t){r=!0}n&&(b.matchesSelector=function(e,t){try{if(r||!T.match.PSEUDO.test(t))return n.call(e,t)}catch(u){}return 0<b(t,null,null,[e]).length})}(),(o=R.createElement("div")).innerHTML="<div class='test e'></div><div class='test'></div>",o.getElementsByClassName&&0!==o.getElementsByClassName("e").length&&(o.lastChild.className="e",1!==o.getElementsByClassName("e").length&&(T.order.splice(1,0,"CLASS"),T.find.CLASS=function(e,t,n){if("undefined"!=typeof t.getElementsByClassName&&!n)return t.getElementsByClassName(e[1])},o=null)),b.contains=R.documentElement.contains?function(e,t){return e!==t&&(!e.contains||e.contains(t))}:function(e,t){return!!(16&e.compareDocumentPosition(t))},b.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return!!t&&"HTML"!==t.nodeName};var D=function(e,t){for(var n,r=[],i="",o=t.nodeType?[t]:t;n=T.match.PSEUDO.exec(e);)i+=n[0],e=e.replace(T.match.PSEUDO,"");e=T.relative[e]?e+"*":e;for(var a=0,s=o.length;a<s;a++)b(e,o[a],r);return b.filter(i,r)};S.find=b,S.expr=b.selectors,S.expr[":"]=S.expr.filters,S.unique=b.uniqueSort,S.text=b.getText,S.isXMLDoc=b.isXML,S.contains=b.contains}();var z=/Until$/,U=/^(?:parents|prevUntil|prevAll)/,W=/,/,G=/^.[^:#\[\.,]*$/,q=Array.prototype.slice,Y=S.expr.match.POS;S.fn.extend({find:function(e){for(var t=this.pushStack("","find",e),n=0,r=0,i=this.length;r<i;r++)if(n=t.length,S.find(e,this[r],t),0<r)for(var o=n;o<t.length;o++)for(var a=0;a<n;a++)if(t[a]===t[o]){t.splice(o--,1);break}return t},has:function(e){var n=S(e);return this.filter(function(){for(var e=0,t=n.length;e<t;e++)if(S.contains(this,n[e]))return!0})},not:function(e){return this.pushStack(o(this,e,!1),"not",e)},filter:function(e){return this.pushStack(o(this,e,!0),"filter",e)},is:function(e){return!!e&&0<S.filter(e,this).length},closest:function(e,t){var n,r,i=[],o=this[0];if(S.isArray(e)){var a,s,l={},u=1;if(o&&e.length){for(n=0,r=e.length;n<r;n++)l[s=e[n]]||(l[s]=S.expr.match.POS.test(s)?S(s,t||this.context):s);for(;o&&o.ownerDocument&&o!==t;){for(s in l)((a=l[s]).jquery?-1<a.index(o):S(o).is(a))&&i.push({selector:s,elem:o,level:u});o=o.parentNode,u++}}return i}var c=Y.test(e)?S(e,t||this.context):null;for(n=0,r=this.length;n<r;n++)for(o=this[n];o;){if(c?-1<c.index(o):S.find.matchesSelector(o,e)){i.push(o);break}if(!(o=o.parentNode)||!o.ownerDocument||o===t)break}return i=1<i.length?S.unique(i):i,this.pushStack(i,"closest",e)},index:function(e){return e&&"string"!=typeof e?S.inArray(e.jquery?e[0]:e,this):S.inArray(this[0],e?S(e):this.parent().children())},add:function(e,t){var n="string"==typeof e?S(e,t||this.context):S.makeArray(e),r=S.merge(this.get(),n);return this.pushStack(i(n[0])||i(r[0])?r:S.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S.dir(e,"parentNode")},parentsUntil:function(e,t,n){return S.dir(e,"parentNode",n)},next:function(e){return S.nth(e,2,"nextSibling")},prev:function(e){return S.nth(e,2,"previousSibling")},nextAll:function(e){return S.dir(e,"nextSibling")},prevAll:function(e){return S.dir(e,"previousSibling")},nextUntil:function(e,t,n){return S.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return S.dir(e,"previousSibling",n)},siblings:function(e){return S.sibling(e.parentNode.firstChild,e)},children:function(e){return S.sibling(e.firstChild)},contents:function(e){return S.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:S.makeArray(e.childNodes)}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return z.test(r)||(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),n=1<this.length?S.unique(n):n,(1<this.length||W.test(t))&&U.test(r)&&(n=n.reverse()),this.pushStack(n,r,q.call(arguments).join(","))}}),S.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?S.find.matchesSelector(t[0],e)?[t[0]]:[]:S.find.matches(e,t)},dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(n===I||1!==i.nodeType||!S(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},nth:function(e,t,n){t=t||1;for(var r=0;e&&(1!==e.nodeType||++r!==t);e=e[n]);return e},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var V=/ jQuery\d+="(?:\d+|null)"/g,J=/^\s+/,K=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Z=/<([\w:]+)/,Q=/<tbody/i,ee=/<|&#?\w+;/,te=/<(?:script|object|embed|option|style)/i,ne=/checked\s*(?:[^=]|=\s*.checked.)/i,re=/\=([^="'>\s]+\/)>/g,ie={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};ie.optgroup=ie.option,ie.tbody=ie.tfoot=ie.colgroup=ie.caption=ie.thead,ie.th=ie.td,S.support.htmlSerialize||(ie._default=[1,"div<div>","</div>"]),S.fn.extend({text:function(n){return S.isFunction(n)?this.each(function(e){var t=S(this);t.text(n.call(this,e,t.text()))}):"object"!=typeof n&&n!==I?this.empty().append((this[0]&&this[0].ownerDocument||R).createTextNode(n)):S.text(this)},wrapAll:function(t){if(S.isFunction(t))return this.each(function(e){S(this).wrapAll(t.call(this,e))});if(this[0]){var e=S(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return S.isFunction(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(e){return this.each(function(){S(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){S.nodeName(this,"body")||S(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){1===this.nodeType&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){1===this.nodeType&&this.insertBefore(e,this.firstChild)})},before:function(e){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var t=S(e);return t.push.apply(t,this.toArray()),this.pushStack(t,"before",arguments)}},after:function(e){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var t=this.pushStack(this,"after",arguments);return t.push.apply(t,S(e).toArray()),t}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)e&&!S.filter(e,[n]).length||(t||1!==n.nodeType||(S.cleanData(n.getElementsByTagName("*")),S.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&S.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e){var t=this.map(function(){if(S.support.noCloneEvent||S.isXMLDoc(this))return this.cloneNode(!0);var e=this.outerHTML,t=this.ownerDocument;if(!e){var n=t.createElement("div");n.appendChild(this.cloneNode(!0)),e=n.innerHTML}return S.clean([e.replace(V,"").replace(re,'="$1">').replace(J,"")],t)[0]});return!0===e&&(a(this,t),a(this.find("*"),t.find("*"))),t},html:function(n){if(n===I)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(V,""):null;if("string"!=typeof n||te.test(n)||!S.support.leadingWhitespace&&J.test(n)||ie[(Z.exec(n)||["",""])[1].toLowerCase()])S.isFunction(n)?this.each(function(e){var t=S(this);t.html(n.call(this,e,t.html()))}):this.empty().append(n);else{n=n.replace(K,"<$1></$2>");try{for(var e=0,t=this.length;e<t;e++)1===this[e].nodeType&&(S.cleanData(this[e].getElementsByTagName("*")),this[e].innerHTML=n)}catch(r){this.empty().append(n)}}return this},replaceWith:function(r){return this[0]&&this[0].parentNode?S.isFunction(r)?this.each(function(e){var t=S(this),n=t.html();t.replaceWith(r.call(this,e,n))}):("string"!=typeof r&&(r=S(r).detach()),this.each(function(){var e=this.nextSibling,t=this.parentNode;S(this).remove(),e?S(e).before(r):S(t).append(r)})):this.pushStack(S(S.isFunction(r)?r():r),"replaceWith",r)},detach:function(e){return this.remove(e,!0)},domManip:function(n,r,i){var e,t,o,a,s=n[0],l=[];if(!S.support.checkClone&&3===arguments.length&&"string"==typeof s&&ne.test(s))return this.each(function(){S(this).domManip(n,r,i,!0)});if(S.isFunction(s))return this.each(function(e){var t=S(this);n[0]=s.call(this,e,r?t.html():I),t.domManip(n,r,i)});if(this[0]){if(a=s&&s.parentNode,t=1===(o=(e=S.support.parentNode&&a&&11===a.nodeType&&a.childNodes.length===this.length?{fragment:a}:S.buildFragment(n,this,l)).fragment).childNodes.length?o=o.firstChild:o.firstChild){r=r&&S.nodeName(t,"tr");for(var u=0,c=this.length;u<c;u++)i.call(r?d(this[u],t):this[u],0<u||e.cacheable||1<this.length?o.cloneNode(!0):o)}l.length&&S.each(l,f)}return this}}),S.buildFragment=function(e,t,n){var r,i,o,a=t&&t[0]?t[0].ownerDocument||t[0]:R;return 1===e.length&&"string"==typeof e[0]&&e[0].length<512&&a===R&&!te.test(e[0])&&(S.support.checkClone||!ne.test(e[0]))&&(i=!0,(o=S.fragments[e[0]])&&1!==o&&(r=o)),r||(r=a.createDocumentFragment(),S.clean(e,a,r,n)),i&&(S.fragments[e[0]]=o?r:1),{fragment:r,cacheable:i}},S.fragments={},S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(s,l){S.fn[s]=function(e){var t=[],n=S(e),r=1===this.length&&this[0].parentNode;if(r&&11===r.nodeType&&1===r.childNodes.length&&1===n.length)return n[l](this[0]),this;for(var i=0,o=n.length;i<o;i++){var a=(0<i?this.clone(!0):this).get();S(n[i])[l](a),t=t.concat(a)}return this.pushStack(t,s,n.selector)}}),S.extend({clean:function(e,t,n,r){"undefined"==typeof(t=t||R).createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||R);for(var i,o=[],a=0;null!=(i=e[a]);a++)if("number"==typeof i&&(i+=""),i){if("string"!=typeof i||ee.test(i)){if("string"==typeof i){i=i.replace(K,"<$1></$2>");var s=(Z.exec(i)||["",""])[1].toLowerCase(),l=ie[s]||ie._default,u=l[0],c=t.createElement("div");for(c.innerHTML=l[1]+i+l[2];u--;)c=c.lastChild;if(!S.support.tbody)for(var d=Q.test(i),f="table"!==s||d?"<table>"!==l[1]||d?[]:c.childNodes:c.firstChild&&c.firstChild.childNodes,h=f.length-1;0<=h;--h)S.nodeName(f[h],"tbody")&&!f[h].childNodes.length&&f[h].parentNode.removeChild(f[h]);!S.support.leadingWhitespace&&J.test(i)&&c.insertBefore(t.createTextNode(J.exec(i)[0]),c.firstChild),i=c.childNodes}}else i=t.createTextNode(i);i.nodeType?o.push(i):o=S.merge(o,i)}if(n)for(a=0;o[a];a++)!r||!S.nodeName(o[a],"script")||o[a].type&&"text/javascript"!==o[a].type.toLowerCase()?(1===o[a].nodeType&&o.splice.apply(o,[a+1,0].concat(S.makeArray(o[a].getElementsByTagName("script")))),n.appendChild(o[a])):r.push(o[a].parentNode?o[a].parentNode.removeChild(o[a]):o[a]);return o},cleanData:function(e){for(var t,n,r,i=S.cache,o=S.event.special,a=S.support.deleteExpando,s=0;null!=(r=e[s]);s++)if((!r.nodeName||!S.noData[r.nodeName.toLowerCase()])&&(n=r[S.expando])){if((t=i[n])&&t.events)for(var l in t.events)o[l]?S.event.remove(r,l):S.removeEvent(r,l,t.handle);a?delete r[S.expando]:r.removeAttribute&&r.removeAttribute(S.expando),delete i[n]}}});var oe,ae=/alpha\([^)]*\)/i,se=/opacity=([^)]*)/,le=/-([a-z])/gi,ue=/([A-Z])/g,ce=/^-?\d+(?:px)?$/i,de=/^-?\d/,fe={position:"absolute",visibility:"hidden",display:"block"},he=["Left","Right"],pe=["Top","Bottom"],e=R.defaultView&&R.defaultView.getComputedStyle,me=function(e,t){return t.toUpperCase()};S.fn.css=function(e,t){return 2===arguments.length&&t===I?this:S.access(this,e,t,!0,function(e,t,n){return n!==I?S.style(e,t,n):S.css(e,t)})},S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=oe(e,"opacity","opacity");return""===n?"1":n}return e.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":S.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o=S.camelCase(t),a=e.style,s=S.cssHooks[o];if(t=S.cssProps[o]||o,n===I)return s&&"get"in s&&(i=s.get(e,!1,r))!==I?i:a[t];if(!("number"==typeof n&&isNaN(n)||null==n||("number"!=typeof n||S.cssNumber[o]||(n+="px"),s&&"set"in s&&(n=s.set(e,n))===I)))try{a[t]=n}catch(l){}}},css:function(e,t,n){var r,i=S.camelCase(t),o=S.cssHooks[i];return t=S.cssProps[i]||i,o&&"get"in o&&(r=o.get(e,!0,n))!==I?r:oe?oe(e,t,i):void 0},swap:function(e,t,n){var r={};for(var i in t)r[i]=e.style[i],e.style[i]=t[i];for(i in n.call(e),t)e.style[i]=r[i]},camelCase:function(e){return e.replace(le,me)}}),S.curCSS=S.css,S.each(["height","width"],function(e,i){S.cssHooks[i]={get:function(e,t,n){var r;if(t)return 0!==e.offsetWidth?r=s(e,i,n):S.swap(e,fe,function(){r=s(e,i,n)}),r+"px"},set:function(e,t){return ce.test(t)?0<=(t=parseFloat(t))?t+"px":void 0:t}}}),S.support.opacity||(S.cssHooks.opacity={get:function(e,t){return se.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var n=e.style;n.zoom=1;var r=S.isNaN(t)?"":"alpha(opacity="+100*t+")",i=n.filter||"";n.filter=ae.test(i)?i.replace(ae,r):n.filter+" "+r}}),e?oe=function(e,t,n){var r,i,o;return n=n.replace(ue,"-$1").toLowerCase(),(i=e.ownerDocument.defaultView)?((o=i.getComputedStyle(e,null))&&(""!==(r=o.getPropertyValue(n))||S.contains(e.ownerDocument.documentElement,e)||(r=S.style(e,n))),r):I}:R.documentElement.currentStyle&&(oe=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return!ce.test(i)&&de.test(i)&&(n=o.left,r=e.runtimeStyle.left,e.runtimeStyle.left=e.currentStyle.left,o.left="fontSize"===t?"1em":i||0,i=o.pixelLeft+"px",o.left=n,e.runtimeStyle.left=r),i}),S.expr&&S.expr.filters&&(S.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return 0===t&&0===n||!S.support.reliableHiddenOffsets&&"none"===(e.style.display||S.css(e,"display"))},S.expr.filters.visible=function(e){return!S.expr.filters.hidden(e)});var ge=S.now(),ye=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,ve=/^(?:select|textarea)/i,be=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Te=/^(?:GET|HEAD|DELETE)$/,xe=/\[\]$/,Ee=/\=\?(&|$)/,De=/\?/,Se=/([?&])_=[^&]*/,we=/^(\w+:)?\/\/([^\/?#]+)/,Ne=/%20/g,Me=/#.*$/,Le=S.fn.load;S.fn.extend({load:function(e,t,n){if("string"!=typeof e&&Le)return Le.apply(this,arguments);if(!this.length)return this;var r=e.indexOf(" ");if(0<=r){var i=e.slice(r,e.length);e=e.slice(0,r)}var o="GET";t&&(S.isFunction(t)?(n=t,t=null):"object"==typeof t&&(t=S.param(t,S.ajaxSettings.traditional),o="POST"));var a=this;return S.ajax({url:e,type:o,dataType:"html",data:t,complete:function(e,t){"success"!==t&&"notmodified"!==t||a.html(i?S("<div>").append(e.responseText.replace(ye,"")).find(i):e.responseText),n&&a.each(n,[e.responseText,t,e])}}),this},serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?S.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ve.test(this.nodeName)||be.test(this.type))}).map(function(e,t){var n=S(this).val();return null==n?null:S.isArray(n)?S.map(n,function(e){return{name:t.name,value:e}}):{name:t.name,value:n}}).get()}}),S.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){S.fn[t]=function(e){return this.bind(t,e)}}),S.extend({get:function(e,t,n,r){return S.isFunction(t)&&(r=r||n,n=t,t=null),S.ajax({type:"GET",url:e,data:t,success:n,dataType:r})},getScript:function(e,t){return S.get(e,null,t,"script")},getJSON:function(e,t,n){return S.get(e,t,n,"json")},post:function(e,t,n,r){return S.isFunction(t)&&(r=r||n,n=t,t={}),S.ajax({type:"POST",url:e,data:t,success:n,dataType:r})},ajaxSetup:function(e){S.extend(S.ajaxSettings,e)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,xhr:function(){return new _.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(e){var r,i,o,a=S.extend(!0,{},S.ajaxSettings,e),t=a.type.toUpperCase(),n=Te.test(t);if(a.url=a.url.replace(Me,""),a.context=e&&null!=e.context?e.context:a,a.data&&a.processData&&"string"!=typeof a.data&&(a.data=S.param(a.data,a.traditional)),"jsonp"===a.dataType&&("GET"===t?Ee.test(a.url)||(a.url+=(De.test(a.url)?"&":"?")+(a.jsonp||"callback")+"=?"):a.data&&Ee.test(a.data)||(a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?"),a.dataType="json"),"json"===a.dataType&&(a.data&&Ee.test(a.data)||Ee.test(a.url))){r=a.jsonpCallback||"jsonp"+ge++,a.data&&(a.data=(a.data+"").replace(Ee,"="+r+"$1")),a.url=a.url.replace(Ee,"="+r+"$1"),a.dataType="script";var s=_[r];_[r]=function(e){if(o=e,S.handleSuccess(a,g,i,o),S.handleComplete(a,g,i,o),S.isFunction(s))s(e);else{_[r]=I;try{delete _[r]}catch(t){}}f&&f.removeChild(h)}}if("script"===a.dataType&&null===a.cache&&(a.cache=!1),!1===a.cache&&"GET"===t){var l=S.now(),u=a.url.replace(Se,"$1_="+l);a.url=u+(u===a.url?(De.test(a.url)?"&":"?")+"_="+l:"")}a.data&&"GET"===t&&(a.url+=(De.test(a.url)?"&":"?")+a.data),a.global&&0==S.active++&&S.event.trigger("ajaxStart");var c=we.exec(a.url),d=c&&(c[1]&&c[1]!==location.protocol||c[2]!==location.host);if("script"===a.dataType&&"GET"===t&&d){var f=R.getElementsByTagName("head")[0]||R.documentElement,h=R.createElement("script");if(a.scriptCharset&&(h.charset=a.scriptCharset),h.src=a.url,!r){var p=!1;h.onload=h.onreadystatechange=function(){p||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(p=!0,S.handleSuccess(a,g,i,o),S.handleComplete(a,g,i,o),h.onload=h.onreadystatechange=null,f&&h.parentNode&&f.removeChild(h))}}return f.insertBefore(h,f.firstChild),I}var m=!1,g=a.xhr();if(g){a.username?g.open(t,a.url,a.async,a.username,a.password):g.open(t,a.url,a.async);try{(null!=a.data&&!n||e&&e.contentType)&&g.setRequestHeader("Content-Type",a.contentType),a.ifModified&&(S.lastModified[a.url]&&g.setRequestHeader("If-Modified-Since",S.lastModified[a.url]),S.etag[a.url]&&g.setRequestHeader("If-None-Match",S.etag[a.url])),d||g.setRequestHeader("X-Requested-With","XMLHttpRequest"),g.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*; q=0.01":a.accepts._default)}catch(b){}if(a.beforeSend&&!1===a.beforeSend.call(a.context,g,a))return a.global&&1==S.active--&&S.event.trigger("ajaxStop"),g.abort(),!1;a.global&&S.triggerGlobal(a,"ajaxSend",[g,a])
3
- ;var y=g.onreadystatechange=function(e){if(g&&0!==g.readyState&&"abort"!==e){if(!m&&g&&(4===g.readyState||"timeout"===e)){var t;if(m=!0,g.onreadystatechange=S.noop,"success"===(i="timeout"===e?"timeout":S.httpSuccess(g)?a.ifModified&&S.httpNotModified(g,a.url)?"notmodified":"success":"error"))try{o=S.httpData(g,a.dataType,a)}catch(n){i="parsererror",t=n}"success"===i||"notmodified"===i?r||S.handleSuccess(a,g,i,o):S.handleError(a,g,i,t),r||S.handleComplete(a,g,i,o),"timeout"===e&&g.abort(),a.async&&(g=null)}}else m||S.handleComplete(a,g,i,o),m=!0,g&&(g.onreadystatechange=S.noop)};try{var v=g.abort;g.abort=function(){g&&v.call&&v.call(g),y("abort")}}catch(T){}a.async&&0<a.timeout&&setTimeout(function(){g&&!m&&y("timeout")},a.timeout);try{g.send(n||null==a.data?null:a.data)}catch(x){S.handleError(a,g,null,x),S.handleComplete(a,g,i,o)}return a.async||y(),g}},param:function(e,t){var n=[],r=function(e,t){t=S.isFunction(t)?t():t,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===I&&(t=S.ajaxSettings.traditional),S.isArray(e)||e.jquery)S.each(e,function(){r(this.name,this.value)});else for(var i in e)l(i,e[i],t,r);return n.join("&").replace(Ne,"+")}}),S.extend({active:0,lastModified:{},etag:{},handleError:function(e,t,n,r){e.error&&e.error.call(e.context,t,n,r),e.global&&S.triggerGlobal(e,"ajaxError",[t,e,r])},handleSuccess:function(e,t,n,r){e.success&&e.success.call(e.context,r,n,t),e.global&&S.triggerGlobal(e,"ajaxSuccess",[t,e])},handleComplete:function(e,t,n){e.complete&&e.complete.call(e.context,t,n),e.global&&S.triggerGlobal(e,"ajaxComplete",[t,e]),e.global&&1==S.active--&&S.event.trigger("ajaxStop")},triggerGlobal:function(e,t,n){(e.context&&null==e.context.url?S(e.context):S.event).trigger(t,n)},httpSuccess:function(e){try{return!e.status&&"file:"===location.protocol||200<=e.status&&e.status<300||304===e.status||1223===e.status}catch(t){}return!1},httpNotModified:function(e,t){var n=e.getResponseHeader("Last-Modified"),r=e.getResponseHeader("Etag");return n&&(S.lastModified[t]=n),r&&(S.etag[t]=r),304===e.status},httpData:function(e,t,n){var r=e.getResponseHeader("content-type")||"",i="xml"===t||!t&&0<=r.indexOf("xml"),o=i?e.responseXML:e.responseText;return i&&"parsererror"===o.documentElement.nodeName&&S.error("parsererror"),n&&n.dataFilter&&(o=n.dataFilter(o,t)),"string"==typeof o&&("json"===t||!t&&0<=r.indexOf("json")?o=S.parseJSON(o):("script"===t||!t&&0<=r.indexOf("javascript"))&&S.globalEval(o)),o}}),_.ActiveXObject&&(S.ajaxSettings.xhr=function(){if("file:"!==_.location.protocol)try{return new _.XMLHttpRequest}catch(e){}try{return new _.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}),S.support.ajax=!!S.ajaxSettings.xhr();var Ce,Oe={},ke=/^(?:toggle|show|hide)$/,Fe=/^([+\-]=)?([\d+.\-]+)(.*)$/,_e=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];S.fn.extend({show:function(e,t,n){if(e||0===e)return this.animate(u("show",3),e,t,n);for(var r=0,i=this.length;r<i;r++)S.data(this[r],"olddisplay")||"none"!==this[r].style.display||(this[r].style.display=""),""===this[r].style.display&&"none"===S.css(this[r],"display")&&S.data(this[r],"olddisplay",h(this[r].nodeName));for(r=0;r<i;r++)this[r].style.display=S.data(this[r],"olddisplay")||"";return this},hide:function(e,t,n){if(e||0===e)return this.animate(u("hide",3),e,t,n);for(var r=0,i=this.length;r<i;r++){var o=S.css(this[r],"display");"none"!==o&&S.data(this[r],"olddisplay",o)}for(r=0;r<i;r++)this[r].style.display="none";return this},_toggle:S.fn.toggle,toggle:function(t,e,n){var r="boolean"==typeof t;return S.isFunction(t)&&S.isFunction(e)?this._toggle.apply(this,arguments):null==t||r?this.each(function(){var e=r?t:S(this).is(":hidden");S(this)[e?"show":"hide"]()}):this.animate(u("toggle",3),t,e,n),this},fadeTo:function(e,t,n,r){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(c,e,t,n){var r=S.speed(e,t,n);return S.isEmptyObject(c)?this.each(r.complete):this[!1===r.queue?"each":"queue"](function(){var e,s=S.extend({},r),t=1===this.nodeType,l=t&&S(this).is(":hidden"),u=this;for(e in c){var n=S.camelCase(e);if(e!==n&&(c[n]=c[e],delete c[e],e=n),"hide"===c[e]&&l||"show"===c[e]&&!l)return s.complete.call(this);if(t&&("height"===e||"width"===e))if(s.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===S.css(this,"display")&&"none"===S.css(this,"float"))if(S.support.inlineBlockNeedsLayout)"inline"===h(this.nodeName)?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1);else this.style.display="inline-block";S.isArray(c[e])&&((s.specialEasing=s.specialEasing||{})[e]=c[e][1],c[e]=c[e][0])}return null!=s.overflow&&(this.style.overflow="hidden"),s.curAnim=S.extend({},c),S.each(c,function(e,t){var n=new S.fx(u,s,e);if(ke.test(t))n["toggle"===t?l?"show":"hide":t](c);else{var r=Fe.exec(t),i=n.cur(!0)||0;if(r){var o=parseFloat(r[2]),a=r[3]||"px";"px"!==a&&(S.style(u,e,(o||1)+a),i=(o||1)/n.cur(!0)*i,S.style(u,e,i+a)),r[1]&&(o=("-="===r[1]?-1:1)*o+i),n.custom(i,o,a)}else n.custom(i,t,"")}}),!0})},stop:function(e,t){var n=S.timers;return e&&this.queue([]),this.each(function(){for(var e=n.length-1;0<=e;e--)n[e].elem===this&&(t&&n[e](!0),n.splice(e,1))}),t||this.dequeue(),this}}),S.each({slideDown:u("show",1),slideUp:u("hide",1),slideToggle:u("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(e,r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),S.extend({speed:function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||S.isFunction(e)&&e,duration:e,easing:n&&t||t&&!S.isFunction(t)&&t};return r.duration=S.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in S.fx.speeds?S.fx.speeds[r.duration]:S.fx.speeds._default,r.old=r.complete,r.complete=function(){!1!==r.queue&&S(this).dequeue(),S.isFunction(r.old)&&r.old.call(this)},r},easing:{linear:function(e,t,n,r){return n+r*e},swing:function(e,t,n,r){return(-Math.cos(e*Math.PI)/2+.5)*r+n}},timers:[],fx:function(e,t,n){this.options=t,this.elem=e,this.prop=n,t.orig||(t.orig={})}}),S.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(S.fx.step[this.prop]||S.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var e=parseFloat(S.css(this.elem,this.prop));return e&&-1e4<e?e:0},custom:function(e,t,n){function r(e){return i.step(e)}this.startTime=S.now(),this.start=e,this.end=t,this.unit=n||this.unit||"px",this.now=this.start,this.pos=this.state=0;var i=this,o=S.fx;r.elem=this.elem,r()&&S.timers.push(r)&&!Ce&&(Ce=setInterval(o.tick,o.interval))},show:function(){this.options.orig[this.prop]=S.style(this.elem,this.prop),this.options.show=!0,this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),S(this.elem).show()},hide:function(){this.options.orig[this.prop]=S.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var t=S.now(),n=!0;if(e||t>=this.options.duration+this.startTime){for(var r in this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0,this.options.curAnim)!0!==this.options.curAnim[r]&&(n=!1);if(n){if(null!=this.options.overflow&&!S.support.shrinkWrapBlocks){var i=this.elem,o=this.options;S.each(["","X","Y"],function(e,t){i.style["overflow"+t]=o.overflow[e]})}if(this.options.hide&&S(this.elem).hide(),this.options.hide||this.options.show)for(var a in this.options.curAnim)S.style(this.elem,a,this.options.orig[a]);this.options.complete.call(this.elem)}return!1}var s=t-this.startTime;this.state=s/this.options.duration;var l=this.options.specialEasing&&this.options.specialEasing[this.prop],u=this.options.easing||(S.easing.swing?"swing":"linear");return this.pos=S.easing[l||u](this.state,s,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0}},S.extend(S.fx,{tick:function(){for(var e=S.timers,t=0;t<e.length;t++)e[t]()||e.splice(t--,1);e.length||S.fx.stop()},interval:13,stop:function(){clearInterval(Ce),Ce=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){S.style(e.elem,"opacity",e.now)},_default:function(e){e.elem.style&&null!=e.elem.style[e.prop]?e.elem.style[e.prop]=("width"===e.prop||"height"===e.prop?Math.max(0,e.now):e.now)+e.unit:e.elem[e.prop]=e.now}}}),S.expr&&S.expr.filters&&(S.expr.filters.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length});var Ie=/^t(?:able|d|h)$/i,Re=/^(?:body|html)$/i;"getBoundingClientRect"in R.documentElement?S.fn.offset=function(t){var e,n=this[0];if(t)return this.each(function(e){S.offset.setOffset(this,t,e)});if(!n||!n.ownerDocument)return null;if(n===n.ownerDocument.body)return S.offset.bodyOffset(n);try{e=n.getBoundingClientRect()}catch(d){}var r=n.ownerDocument,i=r.documentElement;if(!e||!S.contains(i,n))return e||{top:0,left:0};var o=r.body,a=p(r),s=i.clientTop||o.clientTop||0,l=i.clientLeft||o.clientLeft||0,u=a.pageYOffset||S.support.boxModel&&i.scrollTop||o.scrollTop,c=a.pageXOffset||S.support.boxModel&&i.scrollLeft||o.scrollLeft;return{top:e.top+u-s,left:e.left+c-l}}:S.fn.offset=function(t){var e=this[0];if(t)return this.each(function(e){S.offset.setOffset(this,t,e)});if(!e||!e.ownerDocument)return null;if(e===e.ownerDocument.body)return S.offset.bodyOffset(e);S.offset.initialize();for(var n,r=e.offsetParent,i=e.ownerDocument,o=i.documentElement,a=i.body,s=i.defaultView,l=s?s.getComputedStyle(e,null):e.currentStyle,u=e.offsetTop,c=e.offsetLeft;(e=e.parentNode)&&e!==a&&e!==o&&(!S.offset.supportsFixedPosition||"fixed"!==l.position);)n=s?s.getComputedStyle(e,null):e.currentStyle,u-=e.scrollTop,c-=e.scrollLeft,e===r&&(u+=e.offsetTop,c+=e.offsetLeft,!S.offset.doesNotAddBorder||S.offset.doesAddBorderForTableAndCells&&Ie.test(e.nodeName)||(u+=parseFloat(n.borderTopWidth)||0,c+=parseFloat(n.borderLeftWidth)||0),r,r=e.offsetParent),S.offset.subtractsBorderForOverflowNotVisible&&"visible"!==n.overflow&&(u+=parseFloat(n.borderTopWidth)||0,c+=parseFloat(n.borderLeftWidth)||0),l=n;return"relative"!==l.position&&"static"!==l.position||(u+=a.offsetTop,c+=a.offsetLeft),S.offset.supportsFixedPosition&&"fixed"===l.position&&(u+=Math.max(o.scrollTop,a.scrollTop),c+=Math.max(o.scrollLeft,a.scrollLeft)),{top:u,left:c}},S.offset={initialize:function(){var e,t,n,r=R.body,i=R.createElement("div"),o=parseFloat(S.css(r,"marginTop"))||0,a="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";S.extend(i.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),i.innerHTML=a,r.insertBefore(i,r.firstChild),t=(e=i.firstChild).firstChild,n=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=5!==t.offsetTop,this.doesAddBorderForTableAndCells=5===n.offsetTop,t.style.position="fixed",t.style.top="20px",this.supportsFixedPosition=20===t.offsetTop||15===t.offsetTop,t.style.position=t.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=-5===t.offsetTop,this.doesNotIncludeMarginInBodyOffset=r.offsetTop!==o,r.removeChild(i),r=i=e=t=n=null,S.offset.initialize=S.noop},bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return S.offset.initialize(),S.offset.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(S.css(e,"marginTop"))||0,n+=parseFloat(S.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=S.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=S(e),s=a.offset(),l=S.css(e,"top"),u=S.css(e,"left"),c="absolute"===r&&-1<S.inArray("auto",[l,u]),d={},f={};c&&(f=a.position()),i=c?f.top:parseInt(l,10)||0,o=c?f.left:parseInt(u,10)||0,S.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+i),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):a.css(d)}},S.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),r=Re.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(S.css(e,"marginTop"))||0,n.left-=parseFloat(S.css(e,"marginLeft"))||0,r.top+=parseFloat(S.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(S.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||R.body;e&&!Re.test(e.nodeName)&&"static"===S.css(e,"position");)e=e.offsetParent;return e})}}),S.each(["Left","Top"],function(r,e){var i="scroll"+e;S.fn[i]=function(e){var t,n=this[0];return n?e!==I?this.each(function(){(t=p(this))?t.scrollTo(r?S(t).scrollLeft():e,r?e:S(t).scrollTop()):this[i]=e}):(t=p(n))?"pageXOffset"in t?t[r?"pageYOffset":"pageXOffset"]:S.support.boxModel&&t.document.documentElement[i]||t.document.body[i]:n[i]:null}}),S.each(["Height","Width"],function(e,t){var r=t.toLowerCase();S.fn["inner"+t]=function(){return this[0]?parseFloat(S.css(this[0],r,"padding")):null},S.fn["outer"+t]=function(e){return this[0]?parseFloat(S.css(this[0],r,e?"margin":"border")):null},S.fn[r]=function(n){var e=this[0];return e?S.isFunction(n)?this.each(function(e){var t=S(this);t[r](n.call(this,e,t[r]()))}):S.isWindow(e)?"CSS1Compat"===e.document.compatMode&&e.document.documentElement["client"+t]||e.document.body["client"+t]:9===e.nodeType?Math.max(e.documentElement["client"+t],e.body["scroll"+t],e.documentElement["scroll"+t],e.body["offset"+t],e.documentElement["offset"+t]):n===I?parseFloat(S.css(e,r)):this.css(r,"string"==typeof n?n:n+"px"):null==n?null:this}})}(window),Date.CultureInfo={name:"en-US",englishName:"English (United States)",nativeName:"English (United States)",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],firstLetterDayNames:["S","M","T","W","T","F","S"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],amDesignator:"AM",pmDesignator:"PM",firstDayOfWeek:0,twoDigitYearMax:2029,dateElementOrder:"mdy",formatPatterns:{shortDate:"M/d/yyyy",longDate:"dddd, MMMM dd, yyyy",shortTime:"h:mm tt",longTime:"h:mm:ss tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",sortableDateTime:"yyyy-MM-ddTHH:mm:ss",universalSortableDateTime:"yyyy-MM-dd HH:mm:ssZ",rfc1123:"ddd, dd MMM yyyy HH:mm:ss GMT",monthDay:"MMMM dd",yearMonth:"MMMM, yyyy"},regexPatterns:{jan:/^jan(uary)?/i,feb:/^feb(ruary)?/i,mar:/^mar(ch)?/i,apr:/^apr(il)?/i,may:/^may/i,jun:/^jun(e)?/i,jul:/^jul(y)?/i,aug:/^aug(ust)?/i,sep:/^sep(t(ember)?)?/i,oct:/^oct(ober)?/i,nov:/^nov(ember)?/i,dec:/^dec(ember)?/i,sun:/^su(n(day)?)?/i,mon:/^mo(n(day)?)?/i,tue:/^tu(e(s(day)?)?)?/i,wed:/^we(d(nesday)?)?/i,thu:/^th(u(r(s(day)?)?)?)?/i,fri:/^fr(i(day)?)?/i,sat:/^sa(t(urday)?)?/i,future:/^next/i,past:/^last|past|prev(ious)?/i,add:/^(\+|after|from)/i,subtract:/^(\-|before|ago)/i,yesterday:/^yesterday/i,today:/^t(oday)?/i,tomorrow:/^tomorrow/i,now:/^n(ow)?/i,millisecond:/^ms|milli(second)?s?/i,second:/^sec(ond)?s?/i,minute:/^min(ute)?s?/i,hour:/^h(ou)?rs?/i,week:/^w(ee)?k/i,month:/^m(o(nth)?s?)?/i,day:/^d(ays?)?/i,year:/^y((ea)?rs?)?/i,shortMeridian:/^(a|p)/i,longMeridian:/^(a\.?m?\.?|p\.?m?\.?)/i,timezone:/^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt)/i,ordinalSuffix:/^\s*(st|nd|rd|th)/i,timeContext:/^\s*(\:|a|p)/i},abbreviatedTimeZoneStandard:{GMT:"-000",EST:"-0400",CST:"-0500",MST:"-0600",PST:"-0700"},abbreviatedTimeZoneDST:{GMT:"-000",EDT:"-0500",CDT:"-0600",MDT:"-0700",PDT:"-0800"}},Date.getMonthNumberFromName=function(e){for(var t=Date.CultureInfo.monthNames,n=Date.CultureInfo.abbreviatedMonthNames,r=e.toLowerCase(),i=0;i<t.length;i++)if(t[i].toLowerCase()==r||n[i].toLowerCase()==r)return i;return-1},Date.getDayNumberFromName=function(e){for(var t=Date.CultureInfo.dayNames,n=Date.CultureInfo.abbreviatedDayNames,r=(Date.CultureInfo.shortestDayNames,e.toLowerCase()),i=0;i<t.length;i++)if(t[i].toLowerCase()==r||n[i].toLowerCase()==r)return i;return-1},Date.isLeapYear=function(e){return e%4==0&&e%100!=0||e%400==0},Date.getDaysInMonth=function(e,t){return[31,Date.isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},Date.getTimezoneOffset=function(e,t){return t?Date.CultureInfo.abbreviatedTimeZoneDST[e.toUpperCase()]:Date.CultureInfo.abbreviatedTimeZoneStandard[e.toUpperCase()]},Date.getTimezoneAbbreviation=function(e,t){var n,r=t?Date.CultureInfo.abbreviatedTimeZoneDST:Date.CultureInfo.abbreviatedTimeZoneStandard;for(n in r)if(r[n]===e)return n;return null},Date.prototype.clone=function(){return new Date(this.getTime())},Date.prototype.compareTo=function(e){if(isNaN(this))throw new Error(this);if(e instanceof Date&&!isNaN(e))return e<this?1:this<e?-1:0;throw new TypeError(e)},Date.prototype.equals=function(e){return 0===this.compareTo(e)},Date.prototype.between=function(e,t){var n=this.getTime();return n>=e.getTime()&&n<=t.getTime()},Date.prototype.addMilliseconds=function(e){return this.setMilliseconds(this.getMilliseconds()+e),this},Date.prototype.addSeconds=function(e){return this.addMilliseconds(1e3*e)},Date.prototype.addMinutes=function(e){return this.addMilliseconds(6e4*e)},Date.prototype.addHours=function(e){return this.addMilliseconds(36e5*e)},Date.prototype.addDays=function(e){return this.addMilliseconds(864e5*e)},Date.prototype.addWeeks=function(e){return this.addMilliseconds(6048e5*e)},Date.prototype.addMonths=function(e){var t=this.getDate();return this.setDate(1),this.setMonth(this.getMonth()+e),this.setDate(Math.min(t,this.getDaysInMonth())),this},Date.prototype.addYears=function(e){return this.addMonths(12*e)},Date.prototype.add=function(e){if("number"==typeof e)return this._orient=e,this;var t=e;return(t.millisecond||t.milliseconds)&&this.addMilliseconds(t.millisecond||t.milliseconds),(t.second||t.seconds)&&this.addSeconds(t.second||t.seconds),(t.minute||t.minutes)&&this.addMinutes(t.minute||t.minutes),(t.hour||t.hours)&&this.addHours(t.hour||t.hours),(t.month||t.months)&&this.addMonths(t.month||t.months),(t.year||t.years)&&this.addYears(t.year||t.years),(t.day||t.days)&&this.addDays(t.day||t.days),this},Date._validate=function(e,t,n,r){if("number"!=typeof e)throw new TypeError(e+" is not a Number.");if(e<t||n<e)throw new RangeError(e+" is not a valid value for "+r+".");return!0},Date.validateMillisecond=function(e){return Date._validate(e,0,999,"milliseconds")},Date.validateSecond=function(e){return Date._validate(e,0,59,"seconds")},Date.validateMinute=function(e){return Date._validate(e,0,59,"minutes")},Date.validateHour=function(e){return Date._validate(e,0,23,"hours")},Date.validateDay=function(e,t,n){return Date._validate(e,1,Date.getDaysInMonth(t,n),"days")},Date.validateMonth=function(e){return Date._validate(e,0,11,"months")},Date.validateYear=function(e){return Date._validate(e,1,9999,"seconds")},Date.prototype.set=function(e){var t=e;return t.millisecond||0===t.millisecond||(t.millisecond=-1),t.second||0===t.second||(t.second=-1),t.minute||0===t.minute||(t.minute=-1),t.hour||0===t.hour||(t.hour=-1),t.day||0===t.day||(t.day=-1),t.month||0===t.month||(t.month=-1),t.year||0===t.year||(t.year=-1),-1!=t.millisecond&&Date.validateMillisecond(t.millisecond)&&this.addMilliseconds(t.millisecond-this.getMilliseconds()),-1!=t.second&&Date.validateSecond(t.second)&&this.addSeconds(t.second-this.getSeconds()),-1!=t.minute&&Date.validateMinute(t.minute)&&this.addMinutes(t.minute-this.getMinutes()),-1!=t.hour&&Date.validateHour(t.hour)&&this.addHours(t.hour-this.getHours()),-1!==t.month&&Date.validateMonth(t.month)&&this.addMonths(t.month-this.getMonth()),-1!=t.year&&Date.validateYear(t.year)&&this.addYears(t.year-this.getFullYear()),-1!=t.day&&Date.validateDay(t.day,this.getFullYear(),this.getMonth())&&this.addDays(t.day-this.getDate()),t.timezone&&this.setTimezone(t.timezone),t.timezoneOffset&&this.setTimezoneOffset(t.timezoneOffset),this},Date.prototype.clearTime=function(){return this.setHours(0),this.setMinutes(0),this.setSeconds(0),this.setMilliseconds(0),this},Date.prototype.isLeapYear=function(){var e=this.getFullYear();return e%4==0&&e%100!=0||e%400==0},Date.prototype.isWeekday=function(){return!(this.is().sat()||this.is().sun())},Date.prototype.getDaysInMonth=function(){return Date.getDaysInMonth(this.getFullYear(),this.getMonth())},Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1})},Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()})},Date.prototype.moveToDayOfWeek=function(e,t){var n=(e-this.getDay()+7*(t||1))%7;return this.addDays(0===n?n+=7*(t||1):n)},Date.prototype.moveToMonth=function(e,t){var n=(e-this.getMonth()+12*(t||1))%12;return this.addMonths(0===n?n+=12*(t||1):n)},Date.prototype.getDayOfYear=function(){return Math.floor((this-new Date(this.getFullYear(),0,1))/864e5)},Date.prototype.getWeekOfYear=function(e){var t=this.getFullYear(),n=this.getMonth(),r=this.getDate(),i=e||Date.CultureInfo.firstDayOfWeek,o=8-new Date(t,0,1).getDay();8==o&&(o=1);var a=(Date.UTC(t,n,r,0,0,0)-Date.UTC(t,0,1,0,0,0))/864e5+1,s=Math.floor((a-o+7)/7);if(s===i){t--;var l=8-new Date(t,0,1).getDay();s=2==l||8==l?53:52}return s},Date.prototype.isDST=function(){return console.log("isDST"),"D"==this.toString().match(/(E|C|M|P)(S|D)T/)[2]},Date.prototype.getTimezone=function(){return Date.getTimezoneAbbreviation(this.getUTCOffset,this.isDST())},Date.prototype.setTimezoneOffset=function(e){var t=this.getTimezoneOffset(),n=-6*Number(e)/10;return this.addMinutes(n-t),this},Date.prototype.setTimezone=function(e){return this.setTimezoneOffset(Date.getTimezoneOffset(e))},Date.prototype.getUTCOffset=function(){var e,t=-10*this.getTimezoneOffset()/6;return t<0?(e=(t-1e4).toString())[0]+e.substr(2):"+"+(e=(t+1e4).toString()).substr(1)},Date.prototype.getDayName=function(e){return e?Date.CultureInfo.abbreviatedDayNames[this.getDay()]:Date.CultureInfo.dayNames[this.getDay()]},Date.prototype.getMonthName=function(e){return e?Date.CultureInfo.abbreviatedMonthNames[this.getMonth()]:Date.CultureInfo.monthNames[this.getMonth()]},Date.prototype._toString=Date.prototype.toString,Date.prototype.toString=function(e){var t=this,n=function n(e){return 1==e.toString().length?"0"+e:e};return e?e.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(e){switch(e){case"hh":return n(t.getHours()<13?t.getHours():t.getHours()-12);case"h":return t.getHours()<13?t.getHours():t.getHours()-12;case"HH":return n(t.getHours());case"H":return t.getHours();case"mm":return n(t.getMinutes());case"m":return t.getMinutes();case"ss":return n(t.getSeconds());case"s":return t.getSeconds();case"yyyy":return t.getFullYear();case"yy":return t.getFullYear().toString().substring(2,4);case"dddd":return t.getDayName();case"ddd":return t.getDayName(!0);case"dd":return n(t.getDate());case"d":return t.getDate().toString();case"MMMM":return t.getMonthName();case"MMM":return t.getMonthName(!0);case"MM":return n(t.getMonth()+1);case"M":return t.getMonth()+1;case"t":return t.getHours()<12?Date.CultureInfo.amDesignator.substring(0,1):Date.CultureInfo.pmDesignator.substring(0,1);case"tt":return t.getHours()<12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;case"zzz":case"zz":case"z":return""}}):this._toString()},Date.now=function(){return new Date},Date.today=function(){return Date.now().clearTime()},Date.prototype._orient=1,Date.prototype.next=function(){return this._orient=1,this},Date.prototype.last=Date.prototype.prev=Date.prototype.previous=function(){return this._orient=-1,this},Date.prototype._is=!1,Date.prototype.is=function(){return this._is=!0,this},Number.prototype._dateElement="day",Number.prototype.fromNow=function(){var e={};return e[this._dateElement]=this,Date.now().add(e)},Number.prototype.ago=function(){var e={};return e[this._dateElement]=-1*this,Date.now().add(e)},function(){for(var e,t=Date.prototype,n=Number.prototype,r="sunday monday tuesday wednesday thursday friday saturday".split(/\s/),i="january february march april may june july august september october november december".split(/\s/),o="Millisecond Second Minute Hour Day Week Month Year".split(/\s/),a=function(e){return function(){return this._is?(this._is=!1,this.getDay()==e):this.moveToDayOfWeek(e,this._orient)}},s=0;s<r.length;s++)t[r[s]]=t[r[s].substring(0,3)]=a(s);for(var l=function(e){return function(){return this._is?(this._is=!1,this.getMonth()===e):this.moveToMonth(e,this._orient)}},u=0;u<i.length;u++)t[i[u]]=t[i[u].substring(0,3)]=l(u);for(var c=function(e){return function(){return"s"!=e.substring(e.length-1)&&(e+="s"),this["add"+e](this._orient)}},d=function(e){return function(){return this._dateElement=e,this}},f=0;f<o.length;f++)t[e=o[f].toLowerCase()]=t[e+"s"]=c(o[f]),n[e]=n[e+"s"]=d(e)}(),Date.prototype.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ")},Date.prototype.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern)},Date.prototype.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern)},Date.prototype.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern)},Date.prototype.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern)},Date.prototype.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},function(){Date.Parsing={Exception:function(e){this.message="Parse error at '"+e.substring(0,10)+" ...'"}};for(var g=Date.Parsing,y=g.Operators={rtoken:function(n){return function(e){var t=e.match(n);if(t)return[t[0],e.substring(t[0].length)];throw new g.Exception(e)}},token:function(){return function(e){return y.rtoken(new RegExp("^s*"+e+"s*"))(e)}},stoken:function(e){return y.rtoken(new RegExp("^"+e))},until:function(i){return function(e){for(var t=[],n=null;e.length;){try{n=i.call(this,e)}catch(r){t.push(n[0]),e=n[1];continue}break}return[t,e]}},many:function(i){return function(e){for(var t=[],n=null;e.length;){try{n=i.call(this,e)}catch(r){return[t,e]}t.push(n[0]),e=n[1]}return[t,e]}},optional:function(r){return function(e){var t=null;try{t=r.call(this,e)}catch(n){return[null,e]}return[t[0],t[1]]}},not:function(n){return function(e){try{n.call(this,e)}catch(t){return[null,e]}throw new g.Exception(e)}},ignore:function(t){return t?function(e){return[null,t.call(this,e)[1]]}:null},product:function(e){for(var t=e,n=Array.prototype.slice.call(arguments,1),r=[],i=0;i<t.length;i++)r.push(y.each(t[i],n));return r},cache:function(n){var r={},i=null;return function(e){try{i=r[e]=r[e]||n.call(this,e)}catch(t){i=r[e]=t}if(i instanceof g.Exception)throw i;return i}},any:function(){var i=arguments;return function(e){for(var t=null,n=0;n<i.length;n++)if(null!=i[n]){try{t=i[n].call(this,e)}catch(r){t=null}if(t)return t}throw new g.Exception(e)}},each:function(){var o=arguments;return function(e){for(var t=[],n=null,r=0;r<o.length;r++)if(null!=o[r]){try{n=o[r].call(this,e)}catch(i){throw new g.Exception(e)}t.push(n[0]),e=n[1]}return[t,e]}},all:function(){var e=arguments,t=t;return t.each(t.optional(e))},sequence:function(l,u,c){return u=u||y.rtoken(/^\s*/),c=c||null,1==l.length?l[0]:function(e){for(var t=null,n=null,r=[],i=0;i<l.length;i++){try{t=l[i].call(this,e)}catch(o){break}r.push(t[0]);try{n=u.call(this,t[1])}catch(a){n=null;break}e=n[1]}if(!t)throw new g.Exception(e);if(n)throw new g.Exception(n[1]);if(c)try{t=c.call(this,t[1])}catch(s){throw new g.Exception(t[1])}return[r,t?t[1]:e]}},between:function(e,t,n){n=n||e;var i=y.each(y.ignore(e),t,y.ignore(n));return function(e){var t=i.call(this,e);return[[t[0][0],r[0][2]],t[1]]}},list:function(e,t,n){return t=t||y.rtoken(/^\s*/),n=n||null,e instanceof Array?y.each(y.product(e.slice(0,-1),y.ignore(t)),e.slice(-1),y.ignore(n)):y.each(y.many(y.each(e,y.ignore(t))),px,y.ignore(n))},set:function(h,p,m){return p=p||y.rtoken(/^\s*/),m=m||null,function(e){for(var t=null,n=null,r=null,i=null,o=[[],e],a=!1,s=0;s<h.length;s++){t=n=r=null,a=1==h.length;try{t=h[s].call(this,e)}catch(c){continue}if(i=[[t[0]],t[1]],0<t[1].length&&!a)try{r=p.call(this,t[1])}catch(d){a=!0}else a=!0;if(a||0!==r[1].length||(a=!0),!a){for(var l=[],u=0;u<h.length;u++)s!=u&&l.push(h[u]);0<(n=y.set(l,p).call(this,r[1]))[0].length&&(i[0]=i[0].concat(n[0]),i[1]=n[1])}if(i[1].length<o[1].length&&(o=i),0===o[1].length)break}if(0===o[0].length)return o;if(m){try{r=m.call(this,o[1])}catch(f){throw new g.Exception(o[1])}o[1]=r[1]}return o}},forward:function(t,n){return function(e){return t[n].call(this,e)}},replace:function(n,r){return function(e){var t=n.call(this,e);return[r,t[1]]}},process:function(n,r){return function(e){var t=n.call(this,e);return[r.call(this,t[0]),t[1]]}},min:function(n,r){return function(e){var t=r.call(this,e);if(t[0].length<n)throw new g.Exception(e);return t}}},e=function(o){return function(e){var t=null,n=[];if(1<arguments.length?t=Array.prototype.slice.call(arguments):e instanceof Array&&(t=e),!t)return o.apply(null,arguments);for(var r=0,i=t.shift();r<i.length;r++)return t.unshift(i[r]),n.push(o.apply(null,t)),t.shift(),n}},t="optional not ignore cache".split(/\s/),n=0;n<t.length;n++)y[t[n]]=e(y[t[n]]);for(var i=function(t){return function(e){return e instanceof Array?t.apply(null,e):t.apply(null,arguments)}},o="each any all".split(/\s/),a=0;a<o.length;a++)y[o[a]]=i(y[o[a]])}(),function(){var a=function(e){for(var t=[],n=0;n<e.length;n++)e[n]instanceof Array?t=t.concat(a(e[n])):e[n]&&t.push(e[n]);return t};Date.Grammar={},Date.Translator={hour:function(e){return function(){this.hour=Number(e)}},minute:function(e){return function(){this.minute=Number(e)}},second:function(e){return function(){this.second=Number(e)}},meridian:function(e){return function(){this.meridian=e.slice(0,1).toLowerCase()}},timezone:function(t){return function(){var e=t.replace(/[^\d\+\-]/g,"");e.length?this.timezoneOffset=Number(e):this.timezone=t.toLowerCase()}},day:function(e){var t=e[0];return function(){this.day=Number(t.match(/\d+/)[0])}},month:function(e){return function(){this.month=3==e.length?Date.getMonthNumberFromName(e):Number(e)-1}},year:function(t){return function(){var e=Number(t);this.year=2<t.length?e:e+(e+2e3<Date.CultureInfo.twoDigitYearMax?2e3:1900)}},rday:function(e){return function(){switch(e){case"yesterday":this.days=-1;break;case"tomorrow":this.days=1;break;case"today":this.days=0;break;case"now":this.days=0,this.now=!0}}},finishExact:function(e){e=e instanceof Array?e:[e];var t=new Date;this.year=t.getFullYear(),this.month=t.getMonth(),this.day=1,this.hour=0,this.minute=0;for(var n=this.second=0;n<e.length;n++)e[n]&&e[n].call(this);if(this.hour="p"==this.meridian&&this.hour<13?this.hour+12:this.hour,this.day>Date.getDaysInMonth(this.year,this.month))throw new RangeError(this.day+" is not a valid value for days.");var r=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second);return this.timezone?r.set({timezone:this.timezone}):this.timezoneOffset&&r.set({timezoneOffset:this.timezoneOffset}),r},finish:function(e){if(0===(e=e instanceof Array?a(e):[e]).length)return null;for(var t=0;t<e.length;t++)"function"==typeof e[t]&&e[t].call(this);if(this.now)return new Date;var n,r,i,o=Date.today();return!(null==this.days&&!this.orient&&!this.operator)?(i="past"==this.orient||"subtract"==this.operator?-1:1,this.weekday&&(this.unit="day",n=Date.getDayNumberFromName(this.weekday)-o.getDay(),r=7,this.days=n?(n+i*r)%r:i*r),this.month&&(this.unit="month",n=this.month-o.getMonth(),r=12,this.months=n?(n+i*r)%r:i*r,this.month=null),this.unit||(this.unit="day"),null!=this[this.unit+"s"]&&null==this.operator||(this.value||(this.value=1),"week"==this.unit&&(this.unit="day",this.value=7*this.value),this[this.unit+"s"]=this.value*i),o.add(this)):(this.meridian&&this.hour&&(this.hour=this.hour<13&&"p"==this.meridian?this.hour+12:this.hour),this.weekday&&!this.day&&(this.day=o.addDays(Date.getDayNumberFromName(this.weekday)-o.getDay()).getDate()),this.month&&!this.day&&(this.day=1),o.set(this))}};var e,s=Date.Parsing.Operators,r=Date.Grammar,t=Date.Translator;r.datePartDelimiter=s.rtoken(/^([\s\-\.\,\/\x27]+)/),r.timePartDelimiter=s.stoken(":"),r.whiteSpace=s.rtoken(/^\s*/),r.generalDelimiter=s.rtoken(/^(([\s\,]|at|on)+)/);var l={}
4
- ;r.ctoken=function(e){var t=l[e];if(!t){for(var n=Date.CultureInfo.regexPatterns,r=e.split(/\s+/),i=[],o=0;o<r.length;o++)i.push(s.replace(s.rtoken(n[r[o]]),r[o]));t=l[e]=s.any.apply(null,i)}return t},r.ctoken2=function(e){return s.rtoken(Date.CultureInfo.regexPatterns[e])},r.h=s.cache(s.process(s.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),t.hour)),r.hh=s.cache(s.process(s.rtoken(/^(0[0-9]|1[0-2])/),t.hour)),r.H=s.cache(s.process(s.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),t.hour)),r.HH=s.cache(s.process(s.rtoken(/^([0-1][0-9]|2[0-3])/),t.hour)),r.m=s.cache(s.process(s.rtoken(/^([0-5][0-9]|[0-9])/),t.minute)),r.mm=s.cache(s.process(s.rtoken(/^[0-5][0-9]/),t.minute)),r.s=s.cache(s.process(s.rtoken(/^([0-5][0-9]|[0-9])/),t.second)),r.ss=s.cache(s.process(s.rtoken(/^[0-5][0-9]/),t.second)),r.hms=s.cache(s.sequence([r.H,r.mm,r.ss],r.timePartDelimiter)),r.t=s.cache(s.process(r.ctoken2("shortMeridian"),t.meridian)),r.tt=s.cache(s.process(r.ctoken2("longMeridian"),t.meridian)),r.z=s.cache(s.process(s.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),t.timezone)),r.zz=s.cache(s.process(s.rtoken(/^(\+|\-)\s*\d\d\d\d/),t.timezone)),r.zzz=s.cache(s.process(r.ctoken2("timezone"),t.timezone)),r.timeSuffix=s.each(s.ignore(r.whiteSpace),s.set([r.tt,r.zzz])),r.time=s.each(s.optional(s.ignore(s.stoken("T"))),r.hms,r.timeSuffix),r.d=s.cache(s.process(s.each(s.rtoken(/^([0-2]\d|3[0-1]|\d)/),s.optional(r.ctoken2("ordinalSuffix"))),t.day)),r.dd=s.cache(s.process(s.each(s.rtoken(/^([0-2]\d|3[0-1])/),s.optional(r.ctoken2("ordinalSuffix"))),t.day)),r.ddd=r.dddd=s.cache(s.process(r.ctoken("sun mon tue wed thu fri sat"),function(e){return function(){this.weekday=e}})),r.M=s.cache(s.process(s.rtoken(/^(1[0-2]|0\d|\d)/),t.month)),r.MM=s.cache(s.process(s.rtoken(/^(1[0-2]|0\d)/),t.month)),r.MMM=r.MMMM=s.cache(s.process(r.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),t.month)),r.y=s.cache(s.process(s.rtoken(/^(\d\d?)/),t.year)),r.yy=s.cache(s.process(s.rtoken(/^(\d\d)/),t.year)),r.yyy=s.cache(s.process(s.rtoken(/^(\d\d?\d?\d?)/),t.year)),r.yyyy=s.cache(s.process(s.rtoken(/^(\d\d\d\d)/),t.year)),e=function(){return s.each(s.any.apply(null,arguments),s.not(r.ctoken2("timeContext")))},r.day=e(r.d,r.dd),r.month=e(r.M,r.MMM),r.year=e(r.yyyy,r.yy),r.orientation=s.process(r.ctoken("past future"),function(e){return function(){this.orient=e}}),r.operator=s.process(r.ctoken("add subtract"),function(e){return function(){this.operator=e}}),r.rday=s.process(r.ctoken("yesterday tomorrow today now"),t.rday),r.unit=s.process(r.ctoken("minute hour day week month year"),function(e){return function(){this.unit=e}}),r.value=s.process(s.rtoken(/^\d\d?(st|nd|rd|th)?/),function(e){return function(){this.value=e.replace(/\D/g,"")}}),r.expression=s.set([r.rday,r.operator,r.value,r.unit,r.orientation,r.ddd,r.MMM]),e=function(){return s.set(arguments,r.datePartDelimiter)},r.mdy=e(r.ddd,r.month,r.day,r.year),r.ymd=e(r.ddd,r.year,r.month,r.day),r.dmy=e(r.ddd,r.day,r.month,r.year),r.date=function(e){return(r[Date.CultureInfo.dateElementOrder]||r.mdy).call(this,e)},r.format=s.process(s.many(s.any(s.process(s.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),function(e){if(r[e])return r[e];throw Date.Parsing.Exception(e)}),s.process(s.rtoken(/^[^dMyhHmstz]+/),function(e){return s.ignore(s.stoken(e))}))),function(e){return s.process(s.each.apply(null,e),t.finishExact)});var n={},i=function(e){return n[e]=n[e]||r.format(e)[0]};r.formats=function(e){if(e instanceof Array){for(var t=[],n=0;n<e.length;n++)t.push(i(e[n]));return s.any.apply(null,t)}return i(e)},r._formats=r.formats(["yyyy-MM-ddTHH:mm:ss","ddd, MMM dd, yyyy H:mm:ss tt","ddd MMM d yyyy HH:mm:ss zzz","d"]),r._start=s.process(s.set([r.date,r.time,r.expression],r.generalDelimiter,r.whiteSpace),t.finish),r.start=function(e){try{var t=r._formats.call({},e);if(0===t[1].length)return t}catch(n){}return r._start.call({},e)}}(),Date._parse=Date.parse,Date.parse=function(e){var t=null;if(!e)return null;try{t=Date.Grammar.start.call({},e)}catch(n){return null}return 0===t[1].length?t[0]:null},Date.getParseFunction=function(e){var r=Date.Grammar.formats(e);return function(e){var t=null;try{t=r.call({},e)}catch(n){return null}return 0===t[1].length?t[0]:null}},Date.parseExact=function(e,t){return Date.getParseFunction(t)(e)},function(){function e(e){this.icon=e,this.opacity=.4,this.canvas=document.createElement("canvas"),this.font="Helvetica, Arial, sans-serif"}function r(e){return e=Math.round(e),isNaN(e)||e<1?"":e<10?" "+e:99<e?"99":e}function i(e,t,n,r,i){var o,a,s,l,u,c,d,f=document.getElementsByTagName("head")[0],h=document.createElement("link");h.rel="icon",a=11*(o=r.width/16),u=11*(l=o),d=2*(c=o),e.height=e.width=r.width,(s=e.getContext("2d")).font="bold "+a+"px "+n,i&&(s.globalAlpha=t),s.drawImage(r,0,0),s.globalAlpha=1,s.shadowColor="#FFF",s.shadowBlur=d,s.shadowOffsetX=0,s.shadowOffsetY=0,s.fillStyle="#FFF",s.fillText(i,l,u),s.fillText(i,l+c,u),s.fillText(i,l,u+c),s.fillText(i,l+c,u+c),s.fillStyle="#000",s.fillText(i,l+c/2,u+c/2),h.href=e.toDataURL("image/png"),f.removeChild(document.querySelector("link[rel=icon]")),f.appendChild(h)}e.prototype.set=function(e){var t=this,n=document.createElement("img");t.canvas.getContext&&(n.crossOrigin="anonymous",n.onload=function(){i(t.canvas,t.opacity,t.font,n,r(e))},n.src=this.icon)},this.Favcount=e}.call(this),function(){Favcount.VERSION="1.5.0"}.call(this);var Flexie=function(win,doc){function trim(e){return e&&(e=e.replace(LEADINGTRIM,EMPTY_STRING).replace(TRAILINGTRIM,EMPTY_STRING)),e}function determineSelectorMethod(){var engines=ENGINES,method,engine,obj;for(engine in engines)if(engines.hasOwnProperty(engine)&&(obj=engines[engine],win[engine]&&!method&&(method=eval(obj.s.replace("*",engine)),method))){ENGINE=engine;break}return method}function addEvent(e,t){var n=win[e="on"+e];"function"!=typeof win[e]?win[e]=t:win[e]=function(){n&&n(),t()}}function attachLoadMethod(handler){ENGINE||(LIBRARY=determineSelectorMethod());var engines=ENGINES,method,caller,args,engine,obj;for(engine in engines)if(engines.hasOwnProperty(engine)&&(obj=engines[engine],win[engine]&&!method&&obj.m&&(method=eval(obj.m.replace("*",engine)),caller=obj.c?eval(obj.c.replace("*",engine)):win,args=[],method&&caller))){obj.p&&args.push(obj.p),args.push(handler),method.apply(caller,args);break}method||addEvent("load",handler)}function buildSelector(e){var t=e.nodeName.toLowerCase();return e.id?t+="#"+e.id:e.FLX_DOM_ID&&(t+="["+FLX_DOM_ATTR+"='"+e.FLX_DOM_ID+"']"),t}function setFlexieId(e){e.FLX_DOM_ID||(FLX_DOM_ID+=1,e.FLX_DOM_ID=FLX_DOM_ID,e.setAttribute(FLX_DOM_ATTR,e.FLX_DOM_ID))}function buildSelectorTree(e){var t,n,r,i,o,a,s,l,u,c=[];for(l in t=(e=(e=e.replace(WHITESPACE_CHARACTERS,EMPTY_STRING)).replace(/\s?(\{|\:|\})\s?/g,PLACEHOLDER_STRING)).split(END_MUSTACHE))if(t.hasOwnProperty(l)&&(e=t[l])&&(n=[e,END_MUSTACHE].join(EMPTY_STRING),(r=/(\@media[^\{]+\{)?(.*)\{(.*)\}/.exec(n))&&r[3])){for(u in i=r[2],s=[],o=r[3].split(";"))o.hasOwnProperty(u)&&(a=o[u].split(":")).length&&a[1]&&s.push({property:a[0],value:a[1]});i&&s.length&&c.push({selector:i,properties:s})}return c}function findFlexboxElements(e){var t,n,r,i,o,f,a,s,l,u,c,d,h,p,m,g,y,v=/\s?,\s?/,b={},T={};for(f=function(e,t,n,r){var i,o,a,s;for(i={selector:trim(e),properties:[]},o=0,a=t.properties.length;o<a;o++)s=t.properties[o],i.properties.push({property:trim(s.property),value:trim(s.value)});return n&&r&&(i[n]=r),i},a=function(e,t,n,r){var i,o,a,s,l,u,c,d=n&&r?b[e]:T[e];if(d){for(a=0,s=t.properties.length;a<s;a++){for(l=t.properties[a],u=0,c=d.properties.length;u<c;u++)if(o=d.properties[u],l.property===o.property)return i=u,!1;i?d.properties[i]=l:d.properties.push(l)}n&&r&&(d[n]=r)}else n&&r?b[e]=f(e,t,n,r):T[e]=f(e,t,NULL,NULL)},l=0,u=e.length;l<u;l++)for(d=0,h=(t=trim((c=e[l]).selector).replace(v,",").split(v)).length;d<h;d++)for(p=trim(t[d]),m=0,g=(n=c.properties).length;m<g;m++)if(r=trim((y=n[m]).property),i=trim(y.value),r)switch(o=r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&a(p,c,NULL,NULL);break;case"orient":case"align":case"direction":case"pack":a(p,c,NULL,NULL);break;case"flex":case"flex-group":case"ordinal-group":a(p,c,o,i)}for(s in T)T.hasOwnProperty(s)&&FLEX_BOXES.push(T[s]);for(s in b)b.hasOwnProperty(s)&&POSSIBLE_FLEX_CHILDREN.push(b[s]);return{boxes:FLEX_BOXES,children:POSSIBLE_FLEX_CHILDREN}}function matchFlexChildren(e,t,n){var r,i,o,a,s,l,u,c,d,f=[];for(o=0,a=n.length;o<a;o++)if((s=n[o]).selector){if((r=(r=t(s.selector))[0]?r:[r])[0])for(l=0,u=r.length;l<u;l++)if((c=r[l]).nodeName!==UNDEFINED)switch(c.nodeName.toLowerCase()){case"script":case"style":case"link":break;default:if(c.parentNode===e){for(d in setFlexieId(c),i={},s)s.hasOwnProperty(d)&&(i[d]=s[d]);i.match=c,f.push(i)}}}else setFlexieId(s),f.push({match:s,selector:buildSelector(s)});return f}function getParams(e){var t;for(t in e)e.hasOwnProperty(t)&&(e[t]=e[t]||DEFAULTS[t]);return e}function buildFlexieCall(e){var t,n,r,i,o,a,s,l,u,c,d,f,h,p,m,g,y,v,b,T,x,E,D,S,w,N,M,L,C={},O="["+FLX_PARENT_ATTR+"]";if(e){for(m=0,g=e.boxes.length;m<g;m++){for((y=e.boxes[m]).selector=trim(y.selector),t=y.selector,n=y.properties,o=a=s=l=u=NULL,v=0,b=n.length;v<b;v++)if(r=trim((T=n[v]).property),i=trim(T.value),r)switch(r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&(o=i);break;case"orient":a=i;break;case"align":s=i;break;case"direction":l=i;break;case"pack":u=i}for(v=0,b=(d=(d=(c=LIBRARY)(y.selector))[0]?d:[d]).length;v<b;v++)if((x=d[v]).nodeType)if(setFlexieId(x),f={target:x,selector:t,properties:n,children:matchFlexChildren(x,c,e.children),display:o,orient:a,align:s,direction:l,pack:u,nested:t+" "+O},h=C[x.FLX_DOM_ID]){for(E in f)if(f.hasOwnProperty(E))switch(i=f[E],E){case"selector":i&&!new RegExp(i).test(h[E])&&(h[E]+=", "+i);break;case"children":for(D=0,S=f[E].length;D<S;D++){for(w=f[E][D],p=FALSE,N=0,M=h[E].length;N<M;N++)L=h[E][N],w.match.FLX_DOM_ID===L.match.FLX_DOM_ID&&(p=TRUE);p||h[E].push(w)}break;default:i&&(h[E]=i)}}else C[x.FLX_DOM_ID]=getParams(f),C[x.FLX_DOM_ID].target.setAttribute(FLX_PARENT_ATTR,TRUE)}for(DOM_ORDERED=LIBRARY(O),FLEX_BOXES={},m=0,g=DOM_ORDERED.length;m<g;m++)x=DOM_ORDERED[m],FLEX_BOXES[x.FLX_DOM_ID]=C[x.FLX_DOM_ID];for(E in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(E)&&"box"===(y=FLEX_BOXES[E]).display&&new FLX.box(y)}}function calcPx(e,t,n){var r,i,o,a=e["offset"+n.replace(n.charAt(0),n.charAt(0).toUpperCase())]||0;if(a)for(r=0,i=t.length;r<i;r++)o=parseFloat(e.currentStyle[t[r]]),isNaN(o)||(a-=o);return a}function getTrueValue(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return!PIXEL.test(i)&&NUMBER.test(i)&&(n=o.left,r=e.runtimeStyle.left,e.runtimeStyle.left=e.currentStyle.left,o.left=i||0,i=o.pixelLeft+"px",o.left=n||0,e.runtimeStyle.left=r),i}function unAuto(e,t,n){switch(n){case"width":t=calcPx(e,[PADDING_LEFT,PADDING_RIGHT,BORDER_LEFT,BORDER_RIGHT],n);break;case"height":t=calcPx(e,[PADDING_TOP,PADDING_BOTTOM,BORDER_TOP,BORDER_BOTTOM],n);break;default:t=getTrueValue(e,n)}return t}function getPixelValue(e,t,n){return PIXEL.test(t)?t:t="auto"===t||"medium"===t?unAuto(e,t,n):getTrueValue(e,n)}function getComputedStyle(e,t,n){var r;if(e!==UNDEFINED)return r=win.getComputedStyle?win.getComputedStyle(e,NULL)[t]:SIZES.test(t)?getPixelValue(e,e&&e.currentStyle?e.currentStyle[t]:0,t):e.currentStyle[t],n&&(r=parseInt(r,10),isNaN(r)&&(r=0)),r}function clientWidth(e){return e.innerWidth||e.clientWidth}function clientHeight(e){return e.innerHeight||e.clientHeight}function appendProperty(e,t,n,r){var i,o,a,s=[];for(i=0,o=PREFIXES.length;i<o;i++)a=PREFIXES[i],s.push((r?a:EMPTY_STRING)+t+":"+(r?EMPTY_STRING:a)+n);return e.style.cssText+=s.join(";"),e}function appendPixelValue(e,t,n){var r,i,o=e&&e[0]?e:[e];for(r=0,i=o.length;r<i;r++)(e=o[r])&&e.style&&(e.style[t]=n?n+"px":EMPTY_STRING)}function calculateSpecificity(e){var t,n,r,i,o,a;for(n={_id:100,_class:10,_tag:1},i=r=0,o=(t=e.replace(CSS_SELECTOR,function(e,t){return"%"+t}).replace(/\s|\>|\+|\~/g,"%").split(/%/g)).length;i<o;i++)a=t[i],/#/.test(a)?r+=n._id:/\.|\[|\:/.test(a)?r+=n._class:/[a-zA-Z]+/.test(a)&&(r+=n._tag);return r}function filterDuplicates(e,t,n){var r,i,o,a,s,l,u,c=[],d=(n?"ordinal":"flex")+"Specificity";for(i=0,o=e.length;i<o;i++)if(a=e[i],!n&&a.flex||n&&a["ordinal-group"]){for(a[d]=a[d]||calculateSpecificity(a.selector),r=FALSE,s=0,l=c.length;s<l;s++)if((u=c[s]).match===a.match)return u[d]<a[d]&&(c[o]=a),r=TRUE,FALSE;r||c.push(a)}return c}function createMatchMatrix(e,t,n){var r,i,o,a,s,l,u,c,d={},f=[],h=0,p="ordinal-group",m="data-"+p;for(e=filterDuplicates(e,t,n),i=0,o=t.length;i<o;i++){for(a=t[i],s=0,l=e.length;s<l;s++)u=e[s],n?(r=u[p]||"1",u.match===a&&(u.match.setAttribute(m,r),d[r]=d[r]||[],d[r].push(u))):(r=u.flex||"0",u.match===a&&(!u[r]||u[r]&&parseInt(u[r],10)<=1)&&(h+=parseInt(r,10),d[r]=d[r]||[],d[r].push(u)));n&&!a.getAttribute(m)&&(r="1",a.setAttribute(m,r),d[r]=d[r]||[],d[r].push({match:a}))}for(c in d)d.hasOwnProperty(c)&&f.push(c);return f.sort(function(e,t){return t-e}),{keys:f,groups:d,total:h}}function attachResizeListener(){if(!RESIZE_LISTENER){var e,t,n,r,i,o=doc.body,a=doc.documentElement,s="innerWidth",l="innerHeight",u="clientWidth",c="clientHeight";addEvent("resize",function(){i&&window.clearTimeout(i),i=window.setTimeout(function(){n=win[s]||a[s]||a[u]||o[u],r=win[l]||a[l]||a[c]||o[c],e===n&&t===r||(FLX.updateInstance(NULL,NULL),e=n,t=r)},250)}),RESIZE_LISTENER=TRUE}}function cleanPositioningProperties(e){var t,n,r,i,o;for(t=0,n=e.length;t<n;t++)i=(r=e[t]).style.width,o=r.style.height,r.style.cssText=EMPTY_STRING,r.style.width=i,r.style.height=o}function sanitizeChildren(e,t){var n,r,i,o=[];for(r=0,i=t.length;r<i;r++)if(n=t[r])switch(n.nodeName.toLowerCase()){case"script":case"style":case"link":break;default:1===n.nodeType?o.push(n):3===n.nodeType&&(n.isElementContentWhitespace||ONLY_WHITESPACE.test(n.data))&&(e.removeChild(n),r--)}return o}function parentFlex(e){for(var t,n=0,r=e.parentNode;r.FLX_DOM_ID;)n+=createMatchMatrix(FLEX_BOXES[r.FLX_DOM_ID].children,sanitizeChildren(r,r.childNodes),NULL).total,t=TRUE,r=r.parentNode;return{nested:t,flex:n}}function dimensionValues(e,t){var n,r,i,o,a,s=e.parentNode;if(s.FLX_DOM_ID)for(i=0,o=(n=FLEX_BOXES[s.FLX_DOM_ID]).properties.length;i<o;i++)if(a=n.properties[i],new RegExp(t).test(a.property))return r=TRUE,FALSE;return r}function updateChildValues(e){var t,n;if(e.flexMatrix)for(t=0,n=e.children.length;t<n;t++)e.children[t].flex=e.flexMatrix[t];if(e.ordinalMatrix)for(t=0,n=e.children.length;t<n;t++)e.children[t]["ordinal-group"]=e.ordinalMatrix[t];return e}function ensureStructuralIntegrity(e,t){var n=e.target;return n.FLX_DOM_ID||(n.FLX_DOM_ID=n.FLX_DOM_ID||++FLX_DOM_ID),e.nodes||(e.nodes=sanitizeChildren(n,n.childNodes)),e.selector||(e.selector=buildSelector(n),n.setAttribute(FLX_PARENT_ATTR,TRUE)),e.properties||(e.properties=[]),e.children||(e.children=matchFlexChildren(n,LIBRARY,sanitizeChildren(n,n.childNodes))),e.nested||(e.nested=e.selector+" ["+FLX_PARENT_ATTR+"]"),e.target=n,e._instance=t,e}var FLX={},FLX_DOM_ID=0,FLX_DOM_ATTR="data-flexie-id",FLX_PARENT_ATTR="data-flexie-parent",SUPPORT,ENGINE,ENGINES={NW:{s:"*.Dom.select"},DOMAssistant:{s:"*.$",m:"*.DOMReady"},Prototype:{s:"$$",m:"document.observe",p:"dom:loaded",c:"document"},YAHOO:{s:"*.util.Selector.query",m:"*.util.Event.onDOMReady",c:"*.util.Event"},MooTools:{s:"$$",m:"window.addEvent",p:"domready"},Sizzle:{s:"*"},jQuery:{s:"*",m:"*(document).ready"},dojo:{s:"*.query",m:"*.addOnLoad"}},LIBRARY,PIXEL=/^-?\d+(?:px)?$/i,NUMBER=/^-?\d/,SIZES=/width|height|margin|padding|border/,MSIE=/(msie) ([\w.]+)/,WHITESPACE_CHARACTERS=/\t|\n|\r/g,RESTRICTIVE_PROPERTIES=/^max\-([a-z]+)/,PROTOCOL=/^https?:\/\//i,LEADINGTRIM=/^\s\s*/,TRAILINGTRIM=/\s\s*$/,ONLY_WHITESPACE=/^\s*$/,CSS_SELECTOR=/\s?(\#|\.|\[|\:(\:)?[^first\-(line|letter)|before|after]+)/g,EMPTY_STRING="",SPACE_STRING=" ",PLACEHOLDER_STRING="$1",PADDING_RIGHT="paddingRight",PADDING_BOTTOM="paddingBottom",PADDING_LEFT="paddingLeft",PADDING_TOP="paddingTop",BORDER_RIGHT="borderRightWidth",BORDER_BOTTOM="borderBottomWidth",BORDER_LEFT="borderLeftWidth",BORDER_TOP="borderTopWidth",HORIZONTAL="horizontal",VERTICAL="vertical",INLINE_AXIS="inline-axis",BLOCK_AXIS="block-axis",INHERIT="inherit",LEFT="left",END_MUSTACHE="}",PREFIXES=" -o- -moz- -ms- -webkit- -khtml- ".split(SPACE_STRING),DEFAULTS={orient:HORIZONTAL,align:"stretch",direction:INHERIT,pack:"start"},FLEX_BOXES=[],POSSIBLE_FLEX_CHILDREN=[],DOM_ORDERED,RESIZE_LISTENER,TRUE=!0,FALSE=!1,NULL=null,UNDEFINED,BROWSER={IE:(lH=win.navigator.userAgent,mH=MSIE.exec(lH.toLowerCase()),mH&&(kH=parseInt(mH[2],10)),kH)},selectivizrEngine,kH,lH,mH;return selectivizrEngine=function(){function t(e){return e.replace(g,PLACEHOLDER_STRING)}function n(e){return t(e).replace(m,SPACE_STRING)}function a(e){return n(e.replace(h,PLACEHOLDER_STRING).replace(p,PLACEHOLDER_STRING))}function c(e){return e.replace(s,function(e,t,n){var r,i,o;for(i=0,o=(r=n.split(",")).length;i<o;i++)a(r[i])+SPACE_STRING;return t+r.join(",")})}function r(){if(win.XMLHttpRequest)return new win.XMLHttpRequest;try{return new win.ActiveXObject("Microsoft.XMLHTTP")}catch(e){return NULL}}function i(e){for(var t,n=/<style[^<>]*>([^<>]*)<\/style[\s]?>/gim,r=n.exec(e),i=[];r;)(t=r[1])&&i.push(t),r=n.exec(e);return i.join("\n\n")}function e(e){var t,n=r();return n.open("GET",e,FALSE),n.send(),t=200===n.status?n.responseText:EMPTY_STRING,e===window.location.href&&(t=i(t)),t}function d(e,t){function n(e){return e.substring(0,e.indexOf("/",8))}if(e){if(PROTOCOL.test(e))return n(t)===n(e)?e:NULL;if("/"===e.charAt(0))return n(t)+e;var r=t.split("?")[0];return"?"!==e.charAt(0)&&"/"!==r.charAt(r.length-1)&&(r=r.substring(0,r.lastIndexOf("/")+1)),r+e}}function f(s){return s?e(s).replace(o,EMPTY_STRING).replace(l,function(e,t,n,r,i,o){var a=f(d(n||i,s));return o?"@media "+o+" {"+a+"}":a}).replace(u,function(e,t,n,r){return n=n||EMPTY_STRING,t?e:" url("+n+d(r,s,!0)+n+") "}):EMPTY_STRING}var o=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*?/g,l=/@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))\s*([^;]*);/g,u=/(behavior\s*?:\s*)?\burl\(\s*(["']?)(?!data:)([^"')]+)\2\s*\)/g,s=/((?:^|(?:\s*\})+)(?:\s*@media[^\{]+\{)?)\s*([^\{]*?[\[:][^{]+)/g,h=/([(\[+~])\s+/g,p=/\s+([)\]+~])/g,m=/\s+/g,g=/^\s*((?:[\S\s]*\S)?)\s*$/;return function(){var e,t,n,r,i,o,a=[],s=doc.getElementsByTagName("BASE"),l=0<s.length?s[0].href:doc.location.href,u=doc.styleSheets;for(n=0,r=u.length;n<r;n++)(t=u[n])!=NULL&&a.push(t);for(a.push(window.location),n=0,r=a.length;n<r;n++)(t=a[n])&&((e=d(t.href,l))&&(i=c(f(e))),i&&(o=findFlexboxElements(buildSelectorTree(i))));buildFlexieCall(o)}}(),FLX.box=function(e){return this.renderModel(e)},FLX.box.prototype={properties:{boxModel:function(e,t,n){var r,i,o,a,s,l,u;if(e.style.display="block",8===BROWSER.IE&&(e.style.overflow="hidden"),!n.cleared){for(r=n.selector.split(/\s?,\s?/),i=(i=doc.styleSheets)[i.length-1],o="padding-top:"+(getComputedStyle(e,PADDING_TOP,NULL)||"0.1px;"),a=["content: '.'","display: block","height: 0","overflow: hidden"].join(";"),s=0,l=r.length;s<l;s++)u=r[s],i.addRule?BROWSER.IE<8?(e.style.zoom="1",6===BROWSER.IE?i.addRule(u.replace(/\>|\+|\~/g,""),o+"zoom:1;",0):7===BROWSER.IE&&i.addRule(u,o+"display:inline-block;",0)):(i.addRule(u,o,0),i.addRule(u+":before",a,0),i.addRule(u+":after",a+";clear:both;",0)):i.insertRule&&(i.insertRule(u+"{"+o+"}",0),i.insertRule(u+":after{"+a+";clear:both;}",0));n.cleared=TRUE}},boxDirection:function(e,t,n){var r,i,o,a,s,l;if("reverse"===n.direction&&!n.reversed||"normal"===n.direction&&n.reversed){for(o=0,a=(t=t.reverse()).length;o<a;o++)s=t[o],e.appendChild(s);for(o=0,a=(r=LIBRARY(n.nested)).length;o<a;o++)l=r[o],(i=FLEX_BOXES[l.FLX_DOM_ID])&&i.direction===INHERIT&&(i.direction=n.direction);n.reversed=!n.reversed}},boxOrient:function(e,t,n){var r,i,o,a,s,l=this;if(r={pos:"marginLeft",opp:"marginRight",dim:"width",out:"offsetWidth",func:clientWidth,pad:[PADDING_LEFT,PADDING_RIGHT,BORDER_LEFT,BORDER_RIGHT]},i={pos:"marginTop",opp:"marginBottom",dim:"height",out:"offsetHeight",func:clientHeight,pad:[PADDING_TOP,PADDING_BOTTOM,BORDER_TOP,BORDER_BOTTOM]},!SUPPORT)for(o=0,a=t.length;o<a;o++)(s=t[o]).style[9<=BROWSER.IE?"cssFloat":"styleFloat"]=LEFT,n.orient!==VERTICAL&&n.orient!==BLOCK_AXIS||(s.style.clear=LEFT),6===BROWSER.IE&&(s.style.display="inline");switch(n.orient){case VERTICAL:case BLOCK_AXIS:l.props=i,l.anti=r;break;default:l.props=r,l.anti=i}},boxOrdinalGroup:function(u,c,d){var e,t;c.length&&(e=function(e){var t,n,r,i,o,a,s=e.keys,l=d.reversed?s:s.reverse();for(t=0,n=l.length;t<n;t++)for(r=l[t],i=0,o=c.length;i<o;i++)r===(a=c[i]).getAttribute("data-ordinal-group")&&u.appendChild(a)},1<(t=createMatchMatrix(d.children,c,TRUE)).keys.length&&e(t))},boxFlex:function(u,c,e){var t,n,r,i,g=this;c.length&&(t=function(e){var t,n,r,i,o,a,s,l,u,c,d=e.groups,f=e.keys;for(n=0,r=f.length;n<r;n++)for(o=0,a=d[i=f[n]].length;o<a;o++){for(s=d[i][o],t=NULL,l=0,u=s.properties.length;l<u;l++)c=s.properties[l],RESTRICTIVE_PROPERTIES.test(c.property)&&(t=parseFloat(c.value));(!t||s.match[g.props.out]>t)&&appendPixelValue(s.match,g.props.pos,NULL)}},n=function(e){var t,n,r,i,o,a,s,l=0;for(n=0,r=c.length;n<r;n++){for(l+=getComputedStyle(i=c[n],g.props.dim,TRUE),o=0,a=g.props.pad.length;o<a;o++)l+=getComputedStyle(i,s=g.props.pad[o],TRUE);l+=getComputedStyle(i,g.props.pos,TRUE),l+=getComputedStyle(i,g.props.opp,TRUE)}for(t=u[g.props.out]-l,n=0,r=g.props.pad.length;n<r;n++)s=g.props.pad[n],t-=getComputedStyle(u,s,TRUE);return{whitespace:t,ration:t/e.total}},r=function(e,t){var n,r,i,o,a,s,l,u,c,d,f,h=e.groups,p=e.keys,m=t.ration;for(s=0,l=p.length;s<l;s++)for(i=m*(u=p[s]),c=0,d=h[u].length;c<d;c++)(f=h[u][c]).match&&(n=f.match.getAttribute("data-flex"),r=f.match.getAttribute("data-specificity"),(!n||r<=f.flexSpecificity)&&(f.match.setAttribute("data-flex",u),f.match.setAttribute("data-specificity",f.flexSpecificity),o=getComputedStyle(f.match,g.props.dim,TRUE),a=Math.max(0,o+i),appendPixelValue(f.match,g.props.dim,a)))},(i=createMatchMatrix(e.children,c,NULL)).total&&(e.hasFlex=TRUE,t(i),r(i,n(i))))},boxAlign:function(e,t,n){var r,i,o,a,s,l,u,c,d=this,f=parentFlex(e);for(SUPPORT||f.flex||n.orient!==VERTICAL&&n.orient!==BLOCK_AXIS||(dimensionValues(e,d.anti.dim)||appendPixelValue(e,d.anti.dim,NULL),appendPixelValue(t,d.anti.dim,NULL)),r=e[d.anti.out],o=0,a=d.anti.pad.length;o<a;o++)r-=getComputedStyle(e,s=d.anti.pad[o],TRUE);switch(n.align){case"start":break;case"end":for(o=0,a=t.length;o<a;o++)i=r-(c=t[o])[d.anti.out],i-=getComputedStyle(c,d.anti.opp,TRUE),appendPixelValue(c,d.anti.pos,i);break;case"center":for(o=0,a=t.length;o<a;o++)i=(r-(c=t[o])[d.anti.out])/2,appendPixelValue(c,d.anti.pos,i);break;default:for(o=0,a=t.length;o<a;o++)switch((c=t[o]).nodeName.toLowerCase()){case"button":case"input":case"select":break;default:var h=0;for(l=0,u=d.anti.pad.length;l<u;l++)h+=getComputedStyle(c,s=d.anti.pad[l],TRUE),h+=getComputedStyle(e,s,TRUE);for(c.style[d.anti.dim]="100%",i=c[d.anti.out]-h,appendPixelValue(c,d.anti.dim,NULL),i=r,i-=getComputedStyle(c,d.anti.pos,TRUE),l=0,u=d.anti.pad.length;l<u;l++)i-=getComputedStyle(c,s=d.anti.pad[l],TRUE);i-=getComputedStyle(c,d.anti.opp,TRUE),i=Math.max(0,i),appendPixelValue(c,d.anti.dim,i)}}},boxPack:function(e,t,n){var r,i,o,a,s,l,u,c,d=this,f=0,h=0,p=0,m=t.length-1;for(l=0,u=t.length;l<u;l++)f+=(s=t[l])[d.props.out],f+=getComputedStyle(s,d.props.pos,TRUE),f+=getComputedStyle(s,d.props.opp,TRUE);for(h=getComputedStyle(t[0],d.props.pos,TRUE),r=e[d.props.out]-f,l=0,u=d.props.pad.length;l<u;l++)r-=getComputedStyle(e,d.props.pad[l],TRUE);switch(r<0&&(r=Math.max(0,r)),n.pack){case"end":appendPixelValue(t[0],d.props.pos,p+h+r);break;case"center":p&&(p/=2),appendPixelValue(t[0],d.props.pos,p+h+Math.floor(r/2));break;case"justify":for(a=(i=Math.floor((p+r)/m))*m-r,l=t.length-1;l;)o=i,a&&(o++,a++),c=getComputedStyle(s=t[l],d.props.pos,TRUE)+o,appendPixelValue(s,d.props.pos,c),l--}e.style.overflow=""}},setup:function(e,t,n){var r,i,o,a=this;if(e&&t&&n)if(SUPPORT&&SUPPORT.partialSupport)r=createMatchMatrix(n.children,t,NULL),i=parentFlex(e),t=sanitizeChildren(e,e.childNodes),a.properties.boxOrient.call(a,e,t,n),r.total&&LIBRARY(n.nested).length||("stretch"!==n.align||SUPPORT.boxAlignStretch||i.nested&&i.flex||a.properties.boxAlign.call(a,e,t,n),"justify"!==n.pack||SUPPORT.boxPackJustify||r.total||a.properties.boxPack.call(a,e,t,n));else if(!SUPPORT)for(o in a.properties)a.properties.hasOwnProperty(o)&&a.properties[o].call(a,e,sanitizeChildren(e,e.childNodes),n)},trackDOM:function(e){attachResizeListener(this,e)},updateModel:function(e){var t=this,n=e.target,r=e.nodes;cleanPositioningProperties(r),(e.flexMatrix||e.ordinalMatrix)&&(e=updateChildValues(e)),t.setup(n,r,e),t.bubbleUp(n,e)},renderModel:function(e){var t=this,n=e.target,r=n.childNodes;return!(!n.length&&!r)&&(e=ensureStructuralIntegrity(e,this),t.updateModel(e),win.setTimeout(function(){t.trackDOM(e)},0),t)},bubbleUp:function(e,t){for(var n,r=this,i=t.target.parentNode;i;)(n=FLEX_BOXES[i.FLX_DOM_ID])&&(cleanPositioningProperties(n.nodes),r.setup(n.target,n.nodes,n)),i=i.parentNode}},FLX.updateInstance=function(e,t){var n,r;if(e)(n=FLEX_BOXES[e.FLX_DOM_ID])&&n._instance?n._instance.updateModel(n):n||(n=new FLX.box(t));else for(r in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(r)&&(n=FLEX_BOXES[r])&&n._instance&&n._instance.updateModel(n)},FLX.getInstance=function(e){return FLEX_BOXES[e.FLX_DOM_ID]},FLX.destroyInstance=function(e){var t,n,r,i,o;if(n=function(e){for(e.target.FLX_DOM_ID=NULL,e.target.style.cssText=EMPTY_STRING,r=0,i=e.children.length;r<i;r++)e.children[r].match.style.cssText=EMPTY_STRING},e)(t=FLEX_BOXES[e.FLX_DOM_ID])&&n(t);else{for(o in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(o)&&n(FLEX_BOXES[o]);FLEX_BOXES=[]}},FLX.flexboxSupport=function(){var e,t,n,r,i={},o=100,a=doc.createElement("flxbox"),s='<b style="margin: 0; padding: 0; display:block; width: 10px; height:'+o/2+'px"></b>';for(r in a.style.width=a.style.height=o+"px",a.innerHTML=s+s+s,appendProperty(a,"display","box",NULL),appendProperty(a,"box-align","stretch",TRUE),appendProperty(a,"box-pack","justify",TRUE),doc.body.appendChild(a),e=a.firstChild.offsetHeight,t={boxAlignStretch:function(){return 100===e},boxPackJustify:function(){var e,t,n=0;for(e=0,t=a.childNodes.length;e<t;e++)n+=a.childNodes[e].offsetLeft;return 135===n}})t.hasOwnProperty(r)&&((n=(0,t[r])())||(i.partialSupport=TRUE),i[r]=n);return doc.body.removeChild(a),~a.style.display.indexOf("box")?i:FALSE},FLX.init=function(){FLX.flexboxSupported=SUPPORT=FLX.flexboxSupport(),SUPPORT&&!SUPPORT.partialSupport||!LIBRARY||selectivizrEngine()},FLX.version="1.0.3",attachLoadMethod(FLX.init),FLX}(this,document);!function(t){function s(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function l(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function u(e){for(b in x)x[b]=e[M[b]]}function n(e){var t,n,r,i,o,a;if(t=e.keyCode,-1==s(N,t)&&N.push(t),93!=t&&224!=t||(t=91),t in x)for(r in x[t]=!0,D)D[r]==t&&(c[r]=!0);else if(u(e),c.filter.call(this,e)&&t in T)for(a=h(),i=0;i<T[t].length;i++)if((n=T[t][i]).scope==a||"all"==n.scope){for(r in o=0<n.mods.length,x)(!x[r]&&-1<s(n.mods,+r)||x[r]&&-1==s(n.mods,+r))&&(o=!1);(0!=n.mods.length||x[16]||x[18]||x[17]||x[91])&&!o||!1===n.method(e,n)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function e(e){var t,n=e.keyCode,r=s(N,n);if(0<=r&&N.splice(r,1),93!=n&&224!=n||(n=91),n in x)for(t in x[n]=!1,D)D[t]==n&&(c[t]=!1)}function r(){for(b in x)x[b]=!1;for(b in D)c[b]=!1}function c(e,t,n){var r,i;r=m(e),n===undefined&&(n=t,t="all");for(var o=0;o<r.length;o++)i=[],1<(e=r[o].split("+")).length&&(i=g(e),e=[e[e.length-1]]),e=e[0],(e=w(e))in T||(T[e]=[]),T[e].push({shortcut:r[o],scope:t,method:n,key:r[o],mods:i})}function i(e,t){var n,r,i,o,a,s=[];for(n=m(e),o=0;o<n.length;o++){if(1<(r=n[o].split("+")).length&&(s=g(r),e=r[r.length-1]),e=w(e),t===undefined&&(t=h()),!T[e])return;for(i=0;i<T[e].length;i++)(a=T[e][i]).scope===t&&l(a.mods,s)&&(T[e][i]={})}}function o(e){return"string"==typeof e&&(e=w(e)),-1!=s(N,e)}function a(){return N.slice(0)}function d(e){var t=(e.target||e.srcElement).tagName;return!("INPUT"==t||"SELECT"==t||"TEXTAREA"==t)}function f(e){E=e||"all"}function h(){return E||"all"}function p(e){var t,n,r;for(t in T)for(n=T[t],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++}function m(e){var t;return""==(t=(e=e.replace(/\s/g,"")).split(","))[t.length-1]&&(t[t.length-2]+=","),t}function g(e){for(var t=e.slice(0,e.length-1),n=0;n<t.length;n++)t[n]=D[t[n]];return t}function y(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,function(){n(window.event)})}function v(){var e=t.key;return t.key=L,e}var b,T={},x={16:!1,18:!1,17:!1,91:!1},E="all",D={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,command:91},S={backspace:8,tab:9,clear:12,enter:13,"return":13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,"delete":46,home:36,end:35,pageup:33,pagedown:34,",":188,".":190,"/":191,"`":192,"-":189,"=":187,";":186,"'":222,"[":219,"]":221,"\\":220},w=function(e){return S[e]||e.toUpperCase().charCodeAt(0)},N=[];for(b=1;b<20;b++)S["f"+b]=111+b;var M={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey"};for(b in D)c[b]=!1;y(document,"keydown",function(e){n(e)}),y(document,"keyup",e),y(window,"focus",r);var L=t.key;t.key=c,t.key.setScope=f,t.key.getScope=h,t.key.deleteScope=p,t.key.filter=d,t.key.isPressed=o,t.key.getPressedKeyCodes=a,t.key.noConflict=v,t.key.unbind=i,"undefined"!=typeof module&&(module.exports=key)}(this),function(){var e,h=function(e,t){return function(){return e.apply(t,arguments)}};jQuery.expr[":"].icontains=function(e,t,n){var r,i;return 0<=(null!=(r=null!=(i=e.textContent)?i:e.innerText)?r:"").toUpperCase().indexOf(n[3].toUpperCase())},e=function(){function e(){var t,n,r,e,i,o,a,s,l,u,c,d,f;this.nextTab=h(this.nextTab,this),this.previousTab=h(this.previousTab,this),this.openTab=h(this.openTab,this),this.selectedTab=h(this.selectedTab,this),this.getTab=h(this.getTab,this),$("#messages tr").live("click",(t=this,function(e){return e.preventDefault(),t.loadMessage($(e.currentTarget).attr("data-message-id"))})),$("input[name=search]").keyup((n=this,function(e){var t;return(t=$.trim($(e.currentTarget).val()))?n.searchMessages(t):n.clearSearch()})),$("#message .views .format.tab a").live("click",(r=this,function(e){return e.preventDefault(),r.loadMessageBody(r.selectedMessage(),$($(e.currentTarget).parent("li")).data("message-format"))})),$("#message iframe").load((e=this,function(){return e.decorateMessageBody()})),$("#resizer").live({mousedown:(i=this,function(e){var t;return e.preventDefault(),$(window).bind(t={mouseup:function(e){return e.preventDefault(),$(window).unbind(t)},mousemove:function(e){return e.preventDefault(),i.resizeTo(e.clientY)}})})}),this.resizeToSaved(),$("nav.app .clear a").live("click",(o=this,function(e){if(e.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to clear all messages?"))return $.ajax({url:new URL("messages"),type:"DELETE",success:function(){return o.unselectMessage(),o.updateMessagesCount()},error:function(){return alert("Error while clearing all messages.")}})})),$("nav.app .quit a").live("click",function(e){if(e.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to quit?"))return $.ajax({type:"DELETE",success:function(){return location.replace($("body > header h1 a").attr("href"))},error:function(){return alert("Error while quitting.")}})}),this.favcount=new Favcount($('link[rel="icon"]').attr("href")),key("up",(a=this,function(){return a.selectedMessage()?a.loadMessage($("#messages tr.selected").prev().data("message-id")):a.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id")),!1})),key("down",(s=this,function(){return s.selectedMessage()?s.loadMessage($("#messages tr.selected").next().data("message-id")):s.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id")),!1})),key("\u2318+up, ctrl+up",(l=this,function(){return l.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id")),!1})),key("\u2318+down, ctrl+down",(u=this,function(){return u.loadMessage($("#messages tbody tr[data-message-id]:last").data("message-id")),!1})),key("left",(c=this,function(){return c.openTab(c.previousTab()),!1})),key("right",(d=this,function(){return d.openTab(d.nextTab()),!1})),key("backspace, delete",(f=this,function(){var n;return null!=(n=f.selectedMessage())&&$.ajax({url:new URL("messages/"+n),type:"DELETE",success:function(){
5
- var e,t;return t=(e=$('#messages tbody tr[data-message-id="'+n+'"]')).next().data("message-id")||e.prev().data("message-id"),e.remove(),t?f.loadMessage(t):f.unselectMessage(),f.updateMessagesCount()},error:function(){return alert("Error while removing message.")}}),!1})),this.refresh(),this.subscribe()}return e.prototype.parseDateRegexp=/^(\d{4})[-\/\\](\d{2})[-\/\\](\d{2})(?:\s+|T)(\d{2})[:-](\d{2})[:-](\d{2})(?:([ +-]\d{2}:\d{2}|\s*\S+|Z?))?$/,e.prototype.parseDate=function(e){var t;if(t=this.parseDateRegexp.exec(e))return new Date(t[1],t[2]-1,t[3],t[4],t[5],t[6],0)},e.prototype.offsetTimeZone=function(e){var t;return t=6e4*Date.now().getTimezoneOffset(),e.setTime(e.getTime()-t),e},e.prototype.formatDate=function(e){return"string"==typeof e&&e&&(e=this.parseDate(e)),e&&(e=this.offsetTimeZone(e)),e&&e.toString("dddd, d MMM yyyy h:mm:ss tt")},e.prototype.messagesCount=function(){return $("#messages tr").length-1},e.prototype.updateMessagesCount=function(){return this.favcount.set(this.messagesCount()),document.title="MailCatcher ("+this.messagesCount()+")"},e.prototype.tabs=function(){return $("#message ul").children(".tab")},e.prototype.getTab=function(e){return $(this.tabs()[e])},e.prototype.selectedTab=function(){return this.tabs().index($("#message li.tab.selected"))},e.prototype.openTab=function(e){return this.getTab(e).children("a").click()},e.prototype.previousTab=function(e){var t;return(t=e||0===e?e:this.selectedTab()-1)<0&&(t=this.tabs().length-1),this.getTab(t).is(":visible")?t:this.previousTab(t-1)},e.prototype.nextTab=function(e){var t;return(t=e||this.selectedTab()+1)>this.tabs().length-1&&(t=0),this.getTab(t).is(":visible")?t:this.nextTab(t+1)},e.prototype.haveMessage=function(e){return null!=e.id&&(e=e.id),0<$('#messages tbody tr[data-message-id="'+e+'"]').length},e.prototype.selectedMessage=function(){return $("#messages tr.selected").data("message-id")},e.prototype.searchMessages=function(i){var e,t,o;return t=function(){var e,t,n,r;for(r=[],e=0,t=(n=i.split(/\s+/)).length;e<t;e++)o=n[e],r.push(":icontains('"+o+"')");return r}().join(""),(e=$("#messages tbody tr")).not(t).hide(),e.filter(t).show()},e.prototype.clearSearch=function(){return $("#messages tbody tr").show()},e.prototype.addMessage=function(e){return $("<tr />").attr("data-message-id",e.id.toString()).append($("<td/>").text(e.sender||"No sender").toggleClass("blank",!e.sender)).append($("<td/>").text((e.recipients||[]).join(", ")||"No receipients").toggleClass("blank",!e.recipients.length)).append($("<td/>").text(e.subject||"No subject").toggleClass("blank",!e.subject)).append($("<td/>").text(this.formatDate(e.created_at))).prependTo($("#messages tbody")),this.updateMessagesCount()},e.prototype.scrollToRow=function(e){var t,n;return(n=e.offset().top-$("#messages").offset().top)<0?$("#messages").scrollTop($("#messages").scrollTop()+n-20):0<(t=n+e.height()-$("#messages").height())?$("#messages").scrollTop($("#messages").scrollTop()+t+20):void 0},e.prototype.unselectMessage=function(){return $("#messages tbody, #message .metadata dd").empty(),$("#message .metadata .attachments").hide(),$("#message iframe").attr("src","about:blank"),null},e.prototype.loadMessage=function(o){var e,t;if(null!=(null!=o?o.id:void 0)&&(o=o.id),o||(o=$("#messages tr.selected").attr("data-message-id")),null!=o)return $("#messages tbody tr:not([data-message-id='"+o+"'])").removeClass("selected"),(e=$("#messages tbody tr[data-message-id='"+o+"']")).addClass("selected"),this.scrollToRow(e),$.getJSON("messages/"+o+".json",(t=this,function(i){var n;return $("#message .metadata dd.created_at").text(t.formatDate(i.created_at)),$("#message .metadata dd.from").text(i.sender),$("#message .metadata dd.to").text((i.recipients||[]).join(", ")),$("#message .metadata dd.subject").text(i.subject),$("#message .views .tab.format").each(function(e,t){var n,r;return r=(n=$(t)).attr("data-message-format"),0<=$.inArray(r,i.formats)?(n.find("a").attr("href","messages/"+o+"."+r),n.show()):n.hide()}),$("#message .views .tab.selected:not(:visible)").length&&($("#message .views .tab.selected").removeClass("selected"),$("#message .views .tab:visible:first").addClass("selected")),i.attachments.length?(n=$("<ul/>").appendTo($("#message .metadata dd.attachments").empty()),$.each(i.attachments,function(e,t){return n.append($("<li>").append($("<a>").attr("href",t.href).addClass(t.type.split("/",1)[0]).addClass(t.type.replace("/","-")).text(t.filename)))}),$("#message .metadata .attachments").show()):$("#message .metadata .attachments").hide(),$("#message .views .download a").attr("href","messages/"+o+".eml"),t.loadMessageBody()}))},e.prototype.loadMessageBody=function(e,t){if(e||(e=this.selectedMessage()),t||(t=$("#message .views .tab.format.selected").attr("data-message-format")),t||(t="html"),$('#message .views .tab[data-message-format="'+t+'"]:not(.selected)').addClass("selected"),$('#message .views .tab:not([data-message-format="'+t+'"]).selected').removeClass("selected"),null!=e)return $("#message iframe").attr("src","messages/"+e+"."+t)},e.prototype.decorateMessageBody=function(){var e,t,n;switch($("#message .views .tab.format.selected").attr("data-message-format")){case"html":return e=$("#message iframe").contents().find("body"),$("a",e).attr("target","_blank");case"plain":return n=(n=(n=(t=$("#message iframe").contents()).text()).replace(/((http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&amp;:\/~\+#]*[\w\-\@?^=%&amp;\/~\+#])?)/g,'<a href="$1" target="_blank">$1</a>')).replace(/\n/g,"<br/>"),t.find("html").html("<html><body>"+n+"</html></body>")}},e.prototype.refresh=function(){return $.getJSON("messages",(n=this,function(e){return $.each(e,function(e,t){if(!n.haveMessage(t))return n.addMessage(t)}),n.updateMessagesCount()}));var n},e.prototype.subscribe=function(){return"undefined"!=typeof WebSocket&&null!==WebSocket?this.subscribeWebSocket():this.subscribePoll()},e.prototype.subscribeWebSocket=function(){var e,t,n;return e="https:"===window.location.protocol,t=new URL("messages",document.baseURI),console.log(t),t.protocol=e?"wss":"ws",console.log(t),console.log(t.toString()),this.websocket=new WebSocket(t.toString()),console.log(this.websocket),this.websocket.onmessage=(n=this,function(e){return n.addMessage($.parseJSON(e.data))})},e.prototype.subscribePoll=function(){if(null==this.refreshInterval)return this.refreshInterval=setInterval((e=this,function(){return e.refresh()}),1e3);var e},e.prototype.resizeToSavedKey="mailcatcherSeparatorHeight",e.prototype.resizeTo=function(e){var t;return $("#messages").css({height:e-$("#messages").offset().top}),null!=(t=window.localStorage)?t.setItem(this.resizeToSavedKey,e):void 0},e.prototype.resizeToSaved=function(){var e,t;if(e=parseInt(null!=(t=window.localStorage)?t.getItem(this.resizeToSavedKey):void 0),!isNaN(e))return this.resizeTo(e)},e}(),$(function(){return window.MailCatcher=new e})}.call(this);
1
+ window.Modernizr=function(e,t,r){function n(e){f.cssText=e}function i(e,t){return typeof e===t}var a,o,s="2.7.1",l={},u=!0,c=t.documentElement,h="modernizr",d=t.createElement(h),f=d.style,p=({}.toString,{}),m=[],g=m.slice,y={}.hasOwnProperty;for(var v in o=i(y,"undefined")||i(y.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return y.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function b(r){var i=this;if("function"!=typeof i)throw new TypeError;var a=g.call(arguments,1),o=function(){if(this instanceof o){var e=function(){};e.prototype=i.prototype;var t=new e,n=i.apply(t,a.concat(g.call(arguments)));return Object(n)===n?n:t}return i.apply(r,a.concat(g.call(arguments)))};return o}),p)o(p,v)&&(a=v.toLowerCase(),l[a]=p[v](),m.push((l[a]?"":"no-")+a));return l.addTest=function(e,t){if("object"==typeof e)for(var n in e)o(e,n)&&l.addTest(n,e[n]);else{if(e=e.toLowerCase(),l[e]!==r)return l;t="function"==typeof t?t():t,void 0!==u&&u&&(c.className+=" "+(t?"":"no-")+e),l[e]=t}return l},n(""),d=null,function(e,o){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function s(){var e=v.elements;return"string"==typeof e?e.split(" "):e}function l(e){var t=y[e[m]];return t||(t={},g++,e[m]=g,y[g]=t),t}function r(e,t,n){return t||(t=o),c?t.createElement(e):(n||(n=l(t)),!(r=n.cache[e]?n.cache[e].cloneNode():p.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||f.test(e)||r.tagUrn?r:n.frag.appendChild(r));var r}function t(e,t){if(e||(e=o),c)return e.createDocumentFragment();for(var n=(t=t||l(e)).frag.cloneNode(),r=0,i=s(),a=i.length;r<a;r++)n.createElement(i[r]);return n}function i(t,n){n.cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return v.shivMethods?r(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/[\w\-]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(v,n.frag)}function a(e){e||(e=o);var t=l(e);return!v.shivCSS||u||t.hasCSS||(t.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),c||i(e,t),e}var u,c,h="3.7.0",d=e.html5||{},f=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,m="_html5shiv",g=0,y={};!function(){try{var e=o.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,c=1==e.childNodes.length||function(){o.createElement("a");var e=o.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){c=u=!0}}();var v={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:h,shivCSS:!1!==d.shivCSS,supportsUnknownElements:c,shivMethods:!1!==d.shivMethods,type:"default",shivDocument:a,createElement:r,createDocumentFragment:t};e.html5=v,a(o)}(this,t),l._version=s,c.className=c.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(u?" js "+m.join(" "):""),l}(0,this.document),function(I,R){function v(){return!1}function t(){return!0}function r(e,t,n){return n[0].type=e,w.event.handle.apply(t,n)}function n(e){var t,n,r,i,a,o,s,l,u,c,h,d,f=[],p=[],m=w.data(this,this.nodeType?"events":"__events__");if("function"==typeof m&&(m=m.events),e.liveFired!==this&&m&&m.live&&(!e.button||"click"!==e.type)){e.namespace&&(h=new RegExp("(^|\\.)"+e.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),e.liveFired=this;var g=m.live.slice(0);for(s=0;s<g.length;s++)(a=g[s]).origType.replace(N,"")===e.type?p.push(a.selector):g.splice(s--,1);for(l=0,u=(i=w(e.target).closest(p,e.currentTarget)).length;l<u;l++)for(c=i[l],s=0;s<g.length;s++)a=g[s],c.selector!==a.selector||h&&!h.test(a.namespace)||(o=c.elem,r=null,"mouseenter"!==a.preType&&"mouseleave"!==a.preType||(e.type=a.preType,r=w(e.relatedTarget).closest(a.selector)[0]),r&&r===o||f.push({elem:o,handleObj:a,level:c.level}));for(l=0,u=f.length;l<u&&(i=f[l],!(n&&i.level>n));l++)e.currentTarget=i.elem,e.data=i.handleObj.data,e.handleObj=i.handleObj,(!1===(d=i.handleObj.origHandler.apply(i.elem,arguments))||e.isPropagationStopped())&&(n=i.level,!1===d&&(t=!1));return t}}function m(e,t){return(e&&"*"!==e?e+".":"")+t.replace(L,"`").replace(C,"&")}function i(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function a(e,n,r){if(w.isFunction(n))return w.grep(e,function(e,t){return!!n.call(e,t,e)===r});if(n.nodeType)return w.grep(e,function(e){return e===n===r});if("string"==typeof n){var t=w.grep(e,function(e){return 1===e.nodeType});if(q.test(n))return w.filter(n,t,!r);n=w.filter(n,t)}return w.grep(e,function(e){return 0<=w.inArray(e,n)===r})}function h(e){return w.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function o(a,e){var o=0;e.each(function(){if(this.nodeName===(a[o]&&a[o].nodeName)){var e=w.data(a[o++]),t=w.data(this,e),n=e&&e.events;if(n)for(var r in delete t.handle,t.events={},n)for(var i in n[r])w.event.add(this,r,n[r][i],n[r][i].data)}})}function d(e,t){t.src?w.ajax({url:t.src,async:!1,dataType:"script"}):w.globalEval(t.text||t.textContent||t.innerHTML||""),t.parentNode&&t.parentNode.removeChild(t)}function s(e,t,n){var r="width"===t?fe:pe,i="width"===t?e.offsetWidth:e.offsetHeight;return"border"===n||w.each(r,function(){n||(i-=parseFloat(w.css(e,"padding"+this))||0),"margin"===n?i+=parseFloat(w.css(e,"margin"+this))||0:i-=parseFloat(w.css(e,"border"+this+"Width"))||0}),i}function l(n,e,r,i){w.isArray(e)&&e.length?w.each(e,function(e,t){r||xe.test(n)?i(n,t):l(n+"["+("object"==typeof t||w.isArray(t)?e:"")+"]",t,r,i)}):r||null==e||"object"!=typeof e?i(n,e):w.isEmptyObject(e)?i(n,""):w.each(e,function(e,t){l(n+"["+e+"]",t,r,i)})}function u(e,t){var n={};return w.each(Ie.concat.apply([],Ie.slice(0,t)),function(){n[this]=e}),n}function f(e){if(!Ce[e]){var t=w("<"+e+">").appendTo("body"),n=t.css("display");t.remove(),"none"!==n&&""!==n||(n="block"),Ce[e]=n}return Ce[e]}function p(e){return w.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var F=I.document,w=function(){function n(){if(!h.isReady){try{F.documentElement.doScroll("left")}catch(e){return void setTimeout(n,1)}h.ready()}}var o,e,r,h=function(e,t){return new h.fn.init(e,t)},t=I.jQuery,i=I.$,s=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,a=/\S/,l=/\s/,u=/^\s+/,c=/\s+$/,d=/\W/,f=/\d/,p=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,m=/^[\],:{}\s]*$/,g=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,y=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,v=/(?:^|:|,)(?:\s*\[)+/g,b=/(webkit)[ \/]([\w.]+)/,T=/(opera)(?:.*version)?[ \/]([\w.]+)/,x=/(msie) ([\w.]+)/,E=/(mozilla)(?:.*? rv:([\w.]+))?/,D=navigator.userAgent,w=!1,S=[],_=Object.prototype.toString,N=Object.prototype.hasOwnProperty,M=Array.prototype.push,L=Array.prototype.slice,C=String.prototype.trim,k=Array.prototype.indexOf,O={};return h.fn=h.prototype={init:function(e,t){var n,r,i,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!t&&F.body)return this.context=F,this[0]=F.body,this.selector="body",this.length=1,this;if("string"!=typeof e)return h.isFunction(e)?o.ready(e):(e.selector!==R&&(this.selector=e.selector,this.context=e.context),h.makeArray(e,this));if(!(n=s.exec(e))||!n[1]&&t)return t||d.test(e)?!t||t.jquery?(t||o).find(e):h(t).find(e):(this.selector=e,e=(this.context=F).getElementsByTagName(e),h.merge(this,e));if(n[1])return a=t?t.ownerDocument||t:F,(i=p.exec(e))?h.isPlainObject(t)?(e=[F.createElement(i[1])],h.fn.attr.call(e,t,!0)):e=[a.createElement(i[1])]:e=((i=h.buildFragment([n[1]],[a])).cacheable?i.fragment.cloneNode(!0):i.fragment).childNodes,h.merge(this,e);if((r=F.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return o.find(e);this.length=1,this[0]=r}return this.context=F,this.selector=e,this},selector:"",jquery:"1.4.3",length:0,size:function(){return this.length},toArray:function(){return L.call(this,0)},get:function(e){return null==e?this.toArray():e<0?this.slice(e)[0]:this[e]},pushStack:function(e,t,n){var r=h();return h.isArray(e)?M.apply(r,e):h.merge(r,e),r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return h.each(this,e,t)},ready:function(e){return h.bindReady(),h.isReady?e.call(F,h):S&&S.push(e),this},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(L.apply(this,arguments),"slice",L.call(arguments).join(","))},map:function(n){return this.pushStack(h.map(this,function(e,t){return n.call(e,t,e)}))},end:function(){return this.prevObject||h(null)},push:M,sort:[].sort,splice:[].splice},h.fn.init.prototype=h.fn,h.extend=h.fn.extend=function(e,t){var n,r,i,a,o,s=e||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=t||{},l=2),"object"==typeof s||h.isFunction(s)||(s={}),u===l&&(s=this,--l);l<u;l++)if(null!=(n=arguments[l]))for(r in n)i=s[r],s!==(a=n[r])&&(c&&a&&(h.isPlainObject(a)||(o=h.isArray(a)))?(o?(o=!1,clone=i&&h.isArray(i)?i:[]):clone=i&&h.isPlainObject(i)?i:{},s[r]=h.extend(c,clone,a)):a!==R&&(s[r]=a));return s},h.extend({noConflict:function(e){return I.$=i,e&&(I.jQuery=t),h},isReady:!1,readyWait:1,ready:function(e){if(!0===e&&h.readyWait--,!h.readyWait||!0!==e&&!h.isReady){if(!F.body)return setTimeout(h.ready,1);if((h.isReady=!0)!==e&&0<--h.readyWait)return;if(S){for(var t,n=0;t=S[n++];)t.call(F,h);S=null}h.fn.triggerHandler&&h(F).triggerHandler("ready")}},bindReady:function(){if(!w){if(w=!0,"complete"===F.readyState)return setTimeout(h.ready,1);if(F.addEventListener)F.addEventListener("DOMContentLoaded",r,!1),I.addEventListener("load",h.ready,!1);else if(F.attachEvent){F.attachEvent("onreadystatechange",r),I.attachEvent("onload",h.ready);var e=!1;try{e=null==I.frameElement}catch(t){}F.documentElement.doScroll&&e&&n()}}},isFunction:function(e){return"function"===h.type(e)},isArray:Array.isArray||function(e){return"array"===h.type(e)},isWindow:function(e){return e&&"object"==typeof e&&"setInterval"in e},isNaN:function(e){return null==e||!f.test(e)||isNaN(e)},type:function(e){return null==e?String(e):O[_.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==h.type(e)||e.nodeType||h.isWindow(e))return!1;if(e.constructor&&!N.call(e,"constructor")&&!N.call(e.constructor.prototype,"isPrototypeOf"))return!1;var t;for(t in e);return t===R||N.call(e,t)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw e},parseJSON:function(e){return"string"==typeof e&&e?(e=h.trim(e),m.test(e.replace(g,"@").replace(y,"]").replace(v,""))?I.JSON&&I.JSON.parse?I.JSON.parse(e):new Function("return "+e)():void h.error("Invalid JSON: "+e)):null},noop:function(){},globalEval:function(e){if(e&&a.test(e)){var t=F.getElementsByTagName("head")[0]||F.documentElement,n=F.createElement("script");n.type="text/javascript",h.support.scriptEval?n.appendChild(F.createTextNode(e)):n.text=e,t.insertBefore(n,t.firstChild),t.removeChild(n)}},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,t,n){var r,i=0,a=e.length,o=a===R||h.isFunction(e);if(n)if(o){for(r in e)if(!1===t.apply(e[r],n))break}else for(;i<a&&!1!==t.apply(e[i++],n););else if(o){for(r in e)if(!1===t.call(e[r],r,e[r]))break}else for(var s=e[0];i<a&&!1!==t.call(s,i,s);s=e[++i]);return e},trim:C?function(e){return null==e?"":C.call(e)}:function(e){return null==e?"":e.toString().replace(u,"").replace(c,"")},makeArray:function(e,t){var n=t||[];if(null!=e){var r=h.type(e);null==e.length||"string"===r||"function"===r||"regexp"===r||h.isWindow(e)?M.call(n,e):h.merge(n,e)}return n},inArray:function(e,t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},merge:function(e,t){var n=e.length,r=0;if("number"==typeof t.length)for(var i=t.length;r<i;r++)e[n++]=t[r];else for(;t[r]!==R;)e[n++]=t[r++];return e.length=n,e},grep:function(e,t,n){var r=[];n=!!n;for(var i=0,a=e.length;i<a;i++)n!==!!t(e[i],i)&&r.push(e[i]);return r},map:function(e,t,n){for(var r,i=[],a=0,o=e.length;a<o;a++)null!=(r=t(e[a],a,n))&&(i[i.length]=r);return i.concat.apply([],i)},guid:1,proxy:function(e,t,n){return 2===arguments.length&&("string"==typeof t?(e=(n=e)[t],t=R):t&&!h.isFunction(t)&&(n=t,t=R)),!t&&e&&(t=function(){return e.apply(n||this,arguments)}),e&&(t.guid=e.guid=e.guid||t.guid||h.guid++),t},access:function(e,t,n,r,i,a){var o=e.length;if("object"==typeof t){for(var s in t)h.access(e,s,t[s],r,i,n);return e}if(n===R)return o?i(e[0],t):R;r=!a&&r&&h.isFunction(n);for(var l=0;l<o;l++)i(e[l],t,r?n.call(e[l],l,i(e[l],t)):n,a);return e},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();var t=b.exec(e)||T.exec(e)||x.exec(e)||e.indexOf("compatible")<0&&E.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},browser:{}}),h.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){O["[object "+t+"]"]=t.toLowerCase()}),(e=h.uaMatch(D)).browser&&(h.browser[e.browser]=!0,h.browser.version=e.version),h.browser.webkit&&(h.browser.safari=!0),k&&(h.inArray=function(e,t){return k.call(t,e)}),l.test("\xa0")||(u=/^[\s\xA0]+/,c=/[\s\xA0]+$/),o=h(F),F.addEventListener?r=function(){F.removeEventListener("DOMContentLoaded",r,!1),h.ready()}:F.attachEvent&&(r=function(){"complete"===F.readyState&&(F.detachEvent("onreadystatechange",r),h.ready())}),I.jQuery=I.$=h}();!function(){w.support={};var e=F.documentElement,t=F.createElement("script"),n=F.createElement("div"),r="script"+w.now();n.style.display="none",n.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var i=n.getElementsByTagName("*"),a=n.getElementsByTagName("a")[0],o=F.createElement("select"),s=o.appendChild(F.createElement("option"));if(i&&i.length&&a){w.support={leadingWhitespace:3===n.firstChild.nodeType,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/red/.test(a.getAttribute("style")),hrefNormalized:"/a"===a.getAttribute("href"),opacity:/^0.55$/.test(a.style.opacity),cssFloat:!!a.style.cssFloat,checkOn:"on"===n.getElementsByTagName("input")[0].value,optSelected:s.selected,optDisabled:!1,checkClone:!1,scriptEval:!1,noCloneEvent:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},o.disabled=!0,w.support.optDisabled=!s.disabled,t.type="text/javascript";try{t.appendChild(F.createTextNode("window."+r+"=1;"))}catch(c){}e.insertBefore(t,e.firstChild),I[r]&&(w.support.scriptEval=!0,delete I[r]),e.removeChild(t),n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",function h(){w.support.noCloneEvent=!1,n.detachEvent("onclick",h)}),n.cloneNode(!0).fireEvent("onclick")),(n=F.createElement("div")).innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var l=F.createDocumentFragment();l.appendChild(n.firstChild),w.support.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,w(function(){var e=F.createElement("div");e.style.width=e.style.paddingLeft="1px",F.body.appendChild(e),w.boxModel=w.support.boxModel=2===e.offsetWidth,"zoom"in e.style&&(e.style.display="inline",e.style.zoom=1,w.support.inlineBlockNeedsLayout=2===e.offsetWidth,e.style.display="",e.innerHTML="<div style='width:4px;'></div>",w.support.shrinkWrapBlocks=2!==e.offsetWidth),e.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var t=e.getElementsByTagName("td");w.support.reliableHiddenOffsets=0===t[0].offsetHeight,t[0].style.display="",t[1].style.display="none",w.support.reliableHiddenOffsets=w.support.reliableHiddenOffsets&&0===t[0].offsetHeight,e.innerHTML="",F.body.removeChild(e).style.display="none",e=t=null});var u=function(e){var t=F.createElement("div"),n=(e="on"+e)in t;return n||(t.setAttribute(e,"return;"),n="function"==typeof t[e]),t=null,n};w.support.submitBubbles=u("submit"),w.support.changeBubbles=u("change"),e=t=n=i=a=null}}(),w.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var c={},g=/^(?:\{.*\}|\[.*\])$/;w.extend({cache:{},uuid:0,expando:"jQuery"+w.now(),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},data:function(e,t,n){if(w.acceptData(e)){var r,i=(e=e==I?c:e).nodeType,a=i?e[w.expando]:null,o=w.cache;if(!i||a||"string"!=typeof t||n!==R)return i?a||(e[w.expando]=a=++w.uuid):o=e,"object"==typeof t?i?o[a]=w.extend(o[a],t):w.extend(o,t):i&&!o[a]&&(o[a]={}),r=i?o[a]:o,n!==R&&(r[t]=n),"string"==typeof t?r[t]:r}},removeData:function(e,t){if(w.acceptData(e)){var n=(e=e==I?c:e).nodeType,r=n?e[w.expando]:e,i=w.cache,a=n?i[r]:r;if(t)a&&(delete a[t],n&&w.isEmptyObject(a)&&w.removeData(e));else if(n&&w.support.deleteExpando)delete e[w.expando];else if(e.removeAttribute)e.removeAttribute(w.expando);else if(n)delete i[r];else for(var o in e)delete e[o]}},acceptData:function(e){if(e.nodeName){var t=w.noData[e.nodeName.toLowerCase()];if(t)return!(!0===t||e.getAttribute("classid")!==t)}return!0}}),w.fn.extend({data:function(n,r){if(void 0===n)return this.length?w.data(this[0]):null;if("object"==typeof n)return this.each(function(){w.data(this,n)});var i=n.split(".");if(i[1]=i[1]?"."+i[1]:"",r!==R)return this.each(function(){var e=w(this),t=[i[0],r];e.triggerHandler("setData"+i[1]+"!",t),w.data(this,n,r),e.triggerHandler("changeData"+i[1]+"!",t)});var e=this.triggerHandler("getData"+i[1]+"!",[i[0]]);if(e===R&&this.length&&(e=w.data(this[0],n))===R&&1===this[0].nodeType)if("string"==typeof(e=this[0].getAttribute("data-"+n)))try{e="true"===e||"false"!==e&&("null"===e?null:w.isNaN(e)?g.test(e)?w.parseJSON(e):e:parseFloat(e))}catch(t){}else e=R;return e===R&&i[1]?this.data(i[0]):e},removeData:function(e){return this.each(function(){w.removeData(this,e)})}}),w.extend({queue:function(e,t,n){if(e){t=(t||"fx")+"queue";var r=w.data(e,t);return n?(!r||w.isArray(n)?r=w.data(e,t,w.makeArray(n)):r.push(n),r):r||[]}},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.shift();"inprogress"===r&&(r=n.shift()),r&&("fx"===t&&n.unshift("inprogress"),r.call(e,function(){w.dequeue(e,t)}))}}),w.fn.extend({queue:function(t,n){return"string"!=typeof t&&(n=t,t="fx"),n===R?w.queue(this[0],t):this.each(function(){var e=w.queue(this,t,n);"fx"===t&&"inprogress"!==e[0]&&w.dequeue(this,t)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},delay:function(t,n){return t=w.fx&&w.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(){var e=this;setTimeout(function(){w.dequeue(e,n)},t)})},clearQueue:function(e){return this.queue(e||"fx",[])}});var y=/[\n\t]/g,b=/\s+/,T=/\r/g,x=/^(?:href|src|style)$/,E=/^(?:button|input)$/i,D=/^(?:button|input|object|select|textarea)$/i,S=/^a(?:rea)?$/i,_=/^(?:radio|checkbox)$/i;w.fn.extend({attr:function(e,t){return w.access(this,e,t,!0,w.attr)},removeAttr:function(e){return this.each(function(){w.attr(this,e,""),1===this.nodeType&&this.removeAttribute(e)})},addClass:function(n){if(w.isFunction(n))return this.each(function(e){var t=w(this);t.addClass(n.call(this,e,t.attr("class")))});if(n&&"string"==typeof n)for(var e=(n||"").split(b),t=0,r=this.length;t<r;t++){var i=this[t];if(1===i.nodeType)if(i.className){for(var a=" "+i.className+" ",o=i.className,s=0,l=e.length;s<l;s++)a.indexOf(" "+e[s]+" ")<0&&(o+=" "+e[s]);i.className=w.trim(o)}else i.className=n}return this},removeClass:function(n){if(w.isFunction(n))return this.each(function(e){var t=w(this);t.removeClass(n.call(this,e,t.attr("class")))});if(n&&"string"==typeof n||n===R)for(var e=(n||"").split(b),t=0,r=this.length;t<r;t++){var i=this[t];if(1===i.nodeType&&i.className)if(n){for(var a=(" "+i.className+" ").replace(y," "),o=0,s=e.length;o<s;o++)a=a.replace(" "+e[o]+" "," ");i.className=w.trim(a)}else i.className=""}return this},toggleClass:function(a,o){var s=typeof a,l="boolean"==typeof o;return w.isFunction(a)?this.each(function(e){var t=w(this);t.toggleClass(a.call(this,e,t.attr("class"),o),o)}):this.each(function(){if("string"===s)for(var e,t=0,n=w(this),r=o,i=a.split(b);e=i[t++];)r=l?r:!n.hasClass(e),n[r?"addClass":"removeClass"](e);else"undefined"!==s&&"boolean"!==s||(this.className&&w.data(this,"__className__",this.className),this.className=this.className||!1===a?"":w.data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(-1<(" "+this[n].className+" ").replace(y," ").indexOf(t))return!0;return!1},val:function(i){if(!arguments.length){var e=this[0];if(e){if(w.nodeName(e,"option")){var t=e.attributes.value;return!t||t.specified?e.value:e.text}if(w.nodeName(e,"select")){var n=e.selectedIndex,r=[],a=e.options,o="select-one"===e.type;if(n<0)return null;for(var s=o?n:0,l=o?n+1:a.length;s<l;s++){var u=a[s];if(u.selected&&(w.support.optDisabled?!u.disabled:null===u.getAttribute("disabled"))&&(!u.parentNode.disabled||!w.nodeName(u.parentNode,"optgroup"))){if(i=w(u).val(),o)return i;r.push(i)}}return r}return _.test(e.type)&&!w.support.checkOn?null===e.getAttribute("value")?"on":e.value:(e.value||"").replace(T,"")}return R}var c=w.isFunction(i);return this.each(function(e){var t=w(this),n=i;if(1===this.nodeType)if(c&&(n=i.call(this,e,t.val())),null==n?n="":"number"==typeof n?n+="":w.isArray(n)&&(n=w.map(n,function(e){return null==e?"":e+""})),w.isArray(n)&&_.test(this.type))this.checked=0<=w.inArray(t.val(),n);else if(w.nodeName(this,"select")){var r=w.makeArray(n);w("option",this).each(function(){this.selected=0<=w.inArray(w(this).val(),r)}),r.length||(this.selectedIndex=-1)}else this.value=n})}}),w.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,t,n,r){if(!e||3===e.nodeType||8===e.nodeType)return R;if(r&&t in w.attrFn)return w(e)[t](n);var i=1!==e.nodeType||!w.isXMLDoc(e),a=n!==R;if(t=i&&w.props[t]||t,1===e.nodeType){var o=x.test(t);if("selected"===t&&!w.support.optSelected){var s=e.parentNode;s&&(s.selectedIndex,s.parentNode&&s.parentNode.selectedIndex)}if((t in e||e[t]!==R)&&i&&!o){if(a&&("type"===t&&E.test(e.nodeName)&&e.parentNode&&w.error("type property can't be changed"),null===n?1===e.nodeType&&e.removeAttribute(t):e[t]=n),w.nodeName(e,"form")&&e.getAttributeNode(t))return e.getAttributeNode(t).nodeValue;if("tabIndex"!==t)return e[t];var l=e.getAttributeNode("tabIndex");return l&&l.specified?l.value:D.test(e.nodeName)||S.test(e.nodeName)&&e.href?0:R}if(!w.support.style&&i&&"style"===t)return a&&(e.style.cssText=""+n),e.style.cssText;if(a&&e.setAttribute(t,""+n),!e.attributes[t]&&e.hasAttribute&&!e.hasAttribute(t))return R;var u=!w.support.hrefNormalized&&i&&o?e.getAttribute(t,2):e.getAttribute(t);return null===u?R:u}}});var N=/\.(.*)$/,M=/^(?:textarea|input|select)$/i,L=/\./g,C=/ /g,k=/[^\w\s.|`]/g,O=function(e){return e.replace(k,"\\$&")},A={focusin:0,focusout:0};w.event={add:function(e,t,n,r){if(3!==e.nodeType&&8!==e.nodeType){var i,a;w.isWindow(e)&&e!==I&&!e.frameElement&&(e=I),!1===n&&(n=v),n.handler&&(n=(i=n).handler),n.guid||(n.guid=w.guid++);var o=w.data(e);if(o){var s=e.nodeType?"events":"__events__",l=o[s],u=o.handle;"function"==typeof l?(u=l.handle,l=l.events):l||(e.nodeType||(o[s]=o=function(){}),o.events=l={}),u||(o.handle=u=function(){return void 0===w||w.event.triggered?R:w.event.handle.apply(u.elem,arguments)}),u.elem=e,t=t.split(" ");for(var c,h,d=0;c=t[d++];){a=i?w.extend({},i):{handler:n,data:r},-1<c.indexOf(".")?(c=(h=c.split(".")).shift(),a.namespace=h.slice(0).sort().join(".")):(h=[],a.namespace=""),a.type=c,a.guid||(a.guid=n.guid);var f=l[c],p=w.event.special[c]||{};f||(f=l[c]=[],p.setup&&!1!==p.setup.call(e,r,h,u)||(e.addEventListener?e.addEventListener(c,u,!1):e.attachEvent&&e.attachEvent("on"+c,u))),p.add&&(p.add.call(e,a),a.handler.guid||(a.handler.guid=n.guid)),f.push(a),w.event.global[c]=!0}e=null}}},global:{},remove:function(e,t,n,r){if(3!==e.nodeType&&8!==e.nodeType){!1===n&&(n=v);var i,a,o,s,l,u,c,h,d,f=0,p=e.nodeType?"events":"__events__",m=w.data(e),g=m&&m[p];if(m&&g)if("function"==typeof g&&(g=(m=g).events),t&&t.type&&(n=t.handler,t=t.type),!t||"string"==typeof t&&"."===t.charAt(0))for(i in t=t||"",g)w.event.remove(e,i+t);else{for(t=t.split(" ");i=t[f++];)if(h=null,s=[],(o=(d=i).indexOf(".")<0)||(i=(s=i.split(".")).shift(),l=new RegExp("(^|\\.)"+w.map(s.slice(0).sort(),O).join("\\.(?:.*\\.)?")+"(\\.|$)")),c=g[i])if(n){for(u=w.event.special[i]||{},a=r||0;a<c.length&&(h=c[a],n.guid!==h.guid||((o||l.test(h.namespace))&&(null==r&&c.splice(a--,1),u.remove&&u.remove.call(e,h)),null==r));a++);(0===c.length||null!=r&&1===c.length)&&(u.teardown&&!1!==u.teardown.call(e,s)||w.removeEvent(e,i,m.handle),null,delete g[i])}else for(a=0;a<c.length;a++)h=c[a],(o||l.test(h.namespace))&&(w.event.remove(e,d,h.handler,a),c.splice(a--,1));if(w.isEmptyObject(g)){var y=m.handle;y&&(y.elem=null),delete m.events,delete m.handle,"function"==typeof m?w.removeData(e,p):w.isEmptyObject(m)&&w.removeData(e)}}}},trigger:function(e,t,n,r){var i=e.type||e;if(!r){if(e="object"==typeof e?e[w.expando]?e:w.extend(w.Event(i),e):w.Event(i),0<=i.indexOf("!")&&(e.type=i=i.slice(0,-1),e.exclusive=!0),n||(e.stopPropagation(),w.event.global[i]&&w.each(w.cache,function(){this.events&&this.events[i]&&w.event.trigger(e,t,this.handle.elem)})),!n||3===n.nodeType||8===n.nodeType)return R;e.result=R,e.target=n,(t=w.makeArray(t)).unshift(e)}var a=(e.currentTarget=n).nodeType?w.data(n,"handle"):(w.data(n,"__events__")||{}).handle;a&&a.apply(n,t);var o=n.parentNode||n.ownerDocument;try{n&&n.nodeName&&w.noData[n.nodeName.toLowerCase()]||n["on"+i]&&!1===n["on"+i].apply(n,t)&&(e.result=!1,e.preventDefault())}catch(d){}if(!e.isPropagationStopped()&&o)w.event.trigger(e,t,o,!0);else if(!e.isDefaultPrevented()){var s,l=e.target,u=i.replace(N,""),c=w.nodeName(l,"a")&&"click"===u,h=w.event.special[u]||{};if(!(h._default&&!1!==h._default.call(n,e)||c||l&&l.nodeName&&w.noData[l.nodeName.toLowerCase()])){try{l[u]&&((s=l["on"+u])&&(l["on"+u]=null),w.event.triggered=!0,l[u]())}catch(f){}s&&(l["on"+u]=s),w.event.triggered=!1}}},handle:function(e){var t,n,r,i,a,o=[],s=w.makeArray(arguments);if((e=s[0]=w.event.fix(e||I.event)).currentTarget=this,(t=e.type.indexOf(".")<0&&!e.exclusive)||(r=e.type.split("."),e.type=r.shift(),o=r.slice(0).sort(),i=new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.)?")+"(\\.|$)")),e.namespace=e.namespace||o.join("."),"function"==typeof(a=w.data(this,this.nodeType?"events":"__events__"))&&(a=a.events),n=(a||{})[e.type],a&&n)for(var l=0,u=(n=n.slice(0)).length;l<u;l++){var c=n[l];if(t||i.test(c.namespace)){e.handler=c.handler,e.data=c.data;var h=(e.handleObj=c).handler.apply(this,s);if(h!==R&&!1===(e.result=h)&&(e.preventDefault(),e.stopPropagation()),e.isImmediatePropagationStopped())break}}return e.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(e){if(e[w.expando])return e;var t=e;e=w.Event(t);for(var n,r=this.props.length;r;)e[n=this.props[--r]]=t[n];if(e.target||(e.target=e.srcElement||F),3===e.target.nodeType&&(e.target=e.target.parentNode),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),null==e.pageX&&null!=e.clientX){var i=F.documentElement,a=F.body;e.pageX=e.clientX+(i&&i.scrollLeft||a&&a.scrollLeft||0)-(i&&i.clientLeft||a&&a.clientLeft||0),e.pageY=e.clientY+(i&&i.scrollTop||a&&a.scrollTop||0)-(i&&i.clientTop||a&&a.clientTop||0)}return null!=e.which||null==e.charCode&&null==e.keyCode||(e.which=null!=e.charCode?e.charCode:e.keyCode),!e.metaKey&&e.ctrlKey&&(e.metaKey=e.ctrlKey),e.which||e.button===R||(e.which=1&e.button?1:2&e.button?3:4&e.button?2:0),e},guid:1e8,proxy:w.proxy,special:{ready:{setup:w.bindReady,teardown:w.noop},live:{add:function(e){w.event.add(this,m(e.origType,e.selector),w.extend({},e,{handler:n,guid:e.handler.guid}))},remove:function(e){w.event.remove(this,m(e.origType,e.selector),e)}},beforeunload:{setup:function(e,t,n){w.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}}},w.removeEvent=F.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent&&e.detachEvent("on"+t,n)},w.Event=function(e){if(!this.preventDefault)return new w.Event(e);e&&e.type?(this.originalEvent=e,this.type=e.type):this.type=e,this.timeStamp=w.now(),this[w.expando]=!0},w.Event.prototype={preventDefault:function(){this.isDefaultPrevented=t;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=t;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=t,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var P=function(e){var t=e.relatedTarget;try{for(;t&&t!==this;)t=t.parentNode;t!==this&&(e.type=e.data,w.event.handle.apply(this,arguments))}catch(n){}},j=function(e){e.type=e.data,w.event.handle.apply(this,arguments)};if(w.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,n){w.event.special[t]={setup:function(e){w.event.add(this,n,e&&e.selector?j:P,t)},teardown:function(e){w.event.remove(this,n,e&&e.selector?j:P)}}}),w.support.submitBubbles||(w.event.special.submit={setup:function(){if("form"===this.nodeName.toLowerCase())return!1;w.event.add(this,"click.specialSubmit",function(e){var t=e.target,n=t.type;if(("submit"===n||"image"===n)&&w(t).closest("form").length)return e.liveFired=R,r("submit",this,arguments)}),w.event.add(this,"keypress.specialSubmit",function(e){var t=e.target,n=t.type;if(("text"===n||"password"===n)&&w(t).closest("form").length&&13===e.keyCode)return e.liveFired=R,r("submit",this,arguments)})},teardown:function(){w.event.remove(this,".specialSubmit")}}),!w.support.changeBubbles){var H,B=function(e){var t=e.type,n=e.value;return"radio"===t||"checkbox"===t?n=e.checked:"select-multiple"===t?n=-1<e.selectedIndex?w.map(e.options,function(e){return e.selected}).join("-"):"":"select"===e.nodeName.toLowerCase()&&(n=e.selectedIndex),n},$=function $(e,t){var n,r,i=e.target;if(M.test(i.nodeName)&&!i.readOnly&&(n=w.data(i,"_change_data"),r=B(i),"focusout"===e.type&&"radio"===i.type||w.data(i,"_change_data",r),n!==R&&r!==n))return null!=n||r?(e.type="change",e.liveFired=R,w.event.trigger(e,t,i)):void 0};w.event.special.change={filters:{focusout:$,beforedeactivate:$,click:function(e){var t=e.target,n=t.type;if("radio"===n||"checkbox"===n||"select"===t.nodeName.toLowerCase())return $.call(this,e)},keydown:function(e){var t=e.target,n=t.type;if(13===e.keyCode&&"textarea"!==t.nodeName.toLowerCase()||32===e.keyCode&&("checkbox"===n||"radio"===n)||"select-multiple"===n)return $.call(this,e)},beforeactivate:function(e){var t=e.target;w.data(t,"_change_data",B(t))}},setup:function(){if("file"===this.type)return!1;for(var e in H)w.event.add(this,e+".specialChange",H[e]);return M.test(this.nodeName)},teardown:function(){return w.event.remove(this,".specialChange"),M.test(this.nodeName)}},(H=w.event.special.change.filters).focus=H.beforeactivate}F.addEventListener&&w.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){return(e=w.event.fix(e)).type=t,w.event.trigger(e,null,e.target)}w.event.special[t]={setup:function(){0==A[t]++&&F.addEventListener(e,n,!0)},teardown:function(){0==--A[t]&&F.removeEventListener(e,n,!0)}}}),w.each(["bind","one"],function(e,s){w.fn[s]=function(e,t,n){if("object"==typeof e){for(var r in e)this[s](r,t,e[r],n);return this}(w.isFunction(t)||!1===t)&&(n=t,t=R);var i="one"===s?w.proxy(n,function(e){return w(this).unbind(e,i),n.apply(this,arguments)}):n;if("unload"===e&&"one"!==s)this.one(e,t,n);else for(var a=0,o=this.length;a<o;a++)w.event.add(this[a],e,i,t)
2
+ ;return this}}),w.fn.extend({unbind:function(e,t){if("object"!=typeof e||e.preventDefault)for(var n=0,r=this.length;n<r;n++)w.event.remove(this[n],e,t);else for(var i in e)this.unbind(i,e[i]);return this},delegate:function(e,t,n,r){return this.live(t,n,r,e)},undelegate:function(e,t,n){return 0===arguments.length?this.unbind("live"):this.die(t,null,n,e)},trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0]){var n=w.Event(e);return n.preventDefault(),n.stopPropagation(),w.event.trigger(n,t,this[0]),n.result}},toggle:function(n){for(var r=arguments,i=1;i<r.length;)w.proxy(n,r[i++]);return this.click(w.proxy(n,function(e){var t=(w.data(this,"lastToggle"+n.guid)||0)%i;return w.data(this,"lastToggle"+n.guid,t+1),e.preventDefault(),r[t].apply(this,arguments)||!1}))},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var X={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};w.each(["live","die"],function(e,p){w.fn[p]=function(e,t,n,r){var i,a,o,s,l=0,u=r||this.selector,c=r?this:w(this.context);if("object"==typeof e&&!e.preventDefault){for(var h in e)c[p](h,t,e[h],u);return this}for(w.isFunction(t)&&(n=t,t=R),e=(e||"").split(" ");null!=(i=e[l++]);)if(o="",(a=N.exec(i))&&(o=a[0],i=i.replace(N,"")),"hover"!==i)if("focus"===(s=i)||"blur"===i?(e.push(X[i]+o),i+=o):i=(X[i]||i)+o,"live"===p)for(var d=0,f=c.length;d<f;d++)w.event.add(c[d],"live."+m(i,u),{data:t,selector:u,handler:n,origType:i,origHandler:n,preType:s});else c.unbind("live."+m(i,u),n);else e.push("mouseenter"+o,"mouseleave"+o);return this}}),w.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".split(" "),function(e,n){w.fn[n]=function(e,t){return null==t&&(t=e,e=null),0<arguments.length?this.bind(n,e,t):this.trigger(n)},w.attrFn&&(w.attrFn[n]=!0)}),I.attachEvent&&!I.addEventListener&&w(I).bind("unload",function(){for(var e in w.cache)if(w.cache[e].handle)try{w.event.remove(w.cache[e].handle.elem)}catch(t){}}),function(){function o(e,t,n,r,i,a){for(var o=0,s=r.length;o<s;o++){var l=r[o];if(l){l=l[e];for(var u=!1;l;){if(l.sizcache===n){u=r[l.sizset];break}if(1!==l.nodeType||a||(l.sizcache=n,l.sizset=o),l.nodeName.toLowerCase()===t){u=l;break}l=l[e]}r[o]=u}}}function s(e,t,n,r,i,a){for(var o=0,s=r.length;o<s;o++){var l=r[o];if(l){l=l[e];for(var u=!1;l;){if(l.sizcache===n){u=r[l.sizset];break}if(1===l.nodeType)if(a||(l.sizcache=n,l.sizset=o),"string"!=typeof t){if(l===t){u=!0;break}}else if(0<b.filter(t,[l]).length){u=l;break}l=l[e]}r[o]=u}}}var y=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,l=0,v=Object.prototype.toString,c=!1,n=!0;[0,0].sort(function(){return n=!1,0});var b=function(e,t,n,r){n=n||[];var i=t=t||F;if(1!==t.nodeType&&9!==t.nodeType)return[];if(!e||"string"!=typeof e)return n;var a,o,s,l,u,c,h,d,f=[],p=!0,m=b.isXML(t),g=e;do{if(y.exec(""),(a=y.exec(g))&&(g=a[3],f.push(a[1]),a[2])){l=a[3];break}}while(a);if(1<f.length&&x.exec(e))if(2===f.length&&T.relative[f[0]])o=D(f[0]+f[1],t);else for(o=T.relative[f[0]]?[t]:b(f.shift(),t);f.length;)e=f.shift(),T.relative[e]&&(e+=f.shift()),o=D(e,o);else if(!r&&1<f.length&&9===t.nodeType&&!m&&T.match.ID.test(f[0])&&!T.match.ID.test(f[f.length-1])&&(t=(u=b.find(f.shift(),t,m)).expr?b.filter(u.expr,u.set)[0]:u.set[0]),t)for(o=(u=r?{expr:f.pop(),set:E(r)}:b.find(f.pop(),1!==f.length||"~"!==f[0]&&"+"!==f[0]||!t.parentNode?t:t.parentNode,m)).expr?b.filter(u.expr,u.set):u.set,0<f.length?s=E(o):p=!1;f.length;)h=c=f.pop(),T.relative[c]?h=f.pop():c="",null==h&&(h=t),T.relative[c](s,h,m);else s=f=[];if(s||(s=o),s||b.error(c||e),"[object Array]"===v.call(s))if(p)if(t&&1===t.nodeType)for(d=0;null!=s[d];d++)s[d]&&(!0===s[d]||1===s[d].nodeType&&b.contains(t,s[d]))&&n.push(o[d]);else for(d=0;null!=s[d];d++)s[d]&&1===s[d].nodeType&&n.push(o[d]);else n.push.apply(n,s);else E(s,n);return l&&(b(l,i,n,r),b.uniqueSort(n)),n};b.uniqueSort=function(e){if(r&&(c=n,e.sort(r),c))for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1);return e},b.matches=function(e,t){return b(e,null,null,t)},b.matchesSelector=function(e,t){return 0<b(t,null,null,[e]).length},b.find=function(e,t,n){var r;if(!e)return[];for(var i=0,a=T.order.length;i<a;i++){var o,s=T.order[i];if(o=T.leftMatch[s].exec(e)){var l=o[1];if(o.splice(1,1),"\\"!==l.substr(l.length-1)&&(o[1]=(o[1]||"").replace(/\\/g,""),null!=(r=T.find[s](o,t,n)))){e=e.replace(T.match[s],"");break}}}return r||(r=t.getElementsByTagName("*")),{set:r,expr:e}},b.filter=function(e,t,n,r){for(var i,a,o=e,s=[],l=t,u=t&&t[0]&&b.isXML(t[0]);e&&t.length;){for(var c in T.filter)if(null!=(i=T.leftMatch[c].exec(e))&&i[2]){var h,d,f=T.filter[c],p=i[1];if(a=!1,i.splice(1,1),"\\"===p.substr(p.length-1))continue;if(l===s&&(s=[]),T.preFilter[c])if(i=T.preFilter[c](i,l,n,s,r,u)){if(!0===i)continue}else a=h=!0;if(i)for(var m=0;null!=(d=l[m]);m++)if(d){var g=r^!!(h=f(d,i,m,l));n&&null!=h?g?a=!0:l[m]=!1:g&&(s.push(d),a=!0)}if(h!==R){if(n||(l=s),e=e.replace(T.match[c],""),!a)return[];break}}if(e===o){if(null!=a)break;b.error(e)}o=e}return l},b.error=function(e){throw"Syntax error, unrecognized expression: "+e};var T=b.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")}},relative:{"+":function(e,t){var n="string"==typeof t,r=n&&!/\W/.test(t),i=n&&!r;r&&(t=t.toLowerCase());for(var a,o=0,s=e.length;o<s;o++)if(a=e[o]){for(;(a=a.previousSibling)&&1!==a.nodeType;);e[o]=i||a&&a.nodeName.toLowerCase()===t?a||!1:a===t}i&&b.filter(t,e,!0)},">":function(e,t){var n,r="string"==typeof t,i=0,a=e.length;if(r&&!/\W/.test(t)){for(t=t.toLowerCase();i<a;i++)if(n=e[i]){var o=n.parentNode;e[i]=o.nodeName.toLowerCase()===t&&o}}else{for(;i<a;i++)(n=e[i])&&(e[i]=r?n.parentNode:n.parentNode===t);r&&b.filter(t,e,!0)}},"":function(e,t,n){var r,i=l++,a=s;"string"!=typeof t||/\W/.test(t)||(r=t=t.toLowerCase(),a=o),a("parentNode",t,i,e,r,n)},"~":function(e,t,n){var r,i=l++,a=s;"string"!=typeof t||/\W/.test(t)||(r=t=t.toLowerCase(),a=o),a("previousSibling",t,i,e,r,n)}},find:{ID:function(e,t,n){if("undefined"!=typeof t.getElementById&&!n){var r=t.getElementById(e[1]);return r&&r.parentNode?[r]:[]}},NAME:function(e,t){if("undefined"!=typeof t.getElementsByName){for(var n=[],r=t.getElementsByName(e[1]),i=0,a=r.length;i<a;i++)r[i].getAttribute("name")===e[1]&&n.push(r[i]);return 0===n.length?null:n}},TAG:function(e,t){return t.getElementsByTagName(e[1])}},preFilter:{CLASS:function(e,t,n,r,i,a){if(e=" "+e[1].replace(/\\/g,"")+" ",a)return e;for(var o,s=0;null!=(o=t[s]);s++)o&&(i^(o.className&&0<=(" "+o.className+" ").replace(/[\t\n]/g," ").indexOf(e))?n||r.push(o):n&&(t[s]=!1));return!1},ID:function(e){return e[1].replace(/\\/g,"")},TAG:function(e){return e[1].toLowerCase()},CHILD:function(e){if("nth"===e[1]){var t=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(("even"===e[2]?"2n":"odd"===e[2]&&"2n+1")||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=t[1]+(t[2]||1)-0,e[3]=t[3]-0}return e[0]=l++,e},ATTR:function(e,t,n,r,i,a){var o=e[1].replace(/\\/g,"");return!a&&T.attrMap[o]&&(e[1]=T.attrMap[o]),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,n,r,i){if("not"===e[1]){if(!(1<(y.exec(e[3])||"").length||/^\w/.test(e[3]))){var a=b.filter(e[3],t,n,!0^i);return n||r.push.apply(r,a),!1}e[3]=b(e[3],null,null,t)}else if(T.match.POS.test(e[0])||T.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return!1===e.disabled&&"hidden"!==e.type},disabled:function(e){return!0===e.disabled},checked:function(e){return!0===e.checked},selected:function(e){return e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!b(n[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){return"text"===e.type},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||"button"===e.nodeName.toLowerCase()},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)}},setFilters:{first:function(e,t){return 0===t},last:function(e,t,n,r){return t===r.length-1},even:function(e,t){return t%2==0},odd:function(e,t){return t%2==1},lt:function(e,t,n){return t<n[3]-0},gt:function(e,t,n){return t>n[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,n,r){var i=t[1],a=T.filters[i];if(a)return a(e,n,t,r);if("contains"===i)return 0<=(e.textContent||e.innerText||b.getText([e])||"").indexOf(t[3]);if("not"===i){for(var o=t[3],s=0,l=o.length;s<l;s++)if(o[s]===e)return!1;return!0}b.error("Syntax error, unrecognized expression: "+i)},CHILD:function(e,t){var n=t[1],r=e;switch(n){case"only":case"first":for(;r=r.previousSibling;)if(1===r.nodeType)return!1;if("first"===n)return!0;r=e;case"last":for(;r=r.nextSibling;)if(1===r.nodeType)return!1;return!0;case"nth":var i=t[2],a=t[3];if(1===i&&0===a)return!0;var o=t[0],s=e.parentNode;if(s&&(s.sizcache!==o||!e.nodeIndex)){var l=0;for(r=s.firstChild;r;r=r.nextSibling)1===r.nodeType&&(r.nodeIndex=++l);s.sizcache=o}var u=e.nodeIndex-a;return 0===i?0===u:u%i==0&&0<=u/i}},ID:function(e,t){return 1===e.nodeType&&e.getAttribute("id")===t},TAG:function(e,t){return"*"===t&&1===e.nodeType||e.nodeName.toLowerCase()===t},CLASS:function(e,t){return-1<(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)},ATTR:function(e,t){var n=t[1],r=T.attrHandle[n]?T.attrHandle[n](e):null!=e[n]?e[n]:e.getAttribute(n),i=r+"",a=t[2],o=t[4];return null==r?"!="===a:"="===a?i===o:"*="===a?0<=i.indexOf(o):"~="===a?0<=(" "+i+" ").indexOf(o):o?"!="===a?i!==o:"^="===a?0===i.indexOf(o):"$="===a?i.substr(i.length-o.length)===o:"|="===a&&(i===o||i.substr(0,o.length+1)===o+"-"):i&&!1!==r},POS:function(e,t,n,r){var i=t[2],a=T.setFilters[i];if(a)return a(e,n,t,r)}}},x=T.match.POS,e=function(e,t){return"\\"+(t-0+1)};for(var t in T.match)T.match[t]=new RegExp(T.match[t].source+/(?![^\[]*\])(?![^\(]*\))/.source),T.leftMatch[t]=new RegExp(/(^(?:.|\r|\n)*?)/.source+T.match[t].source.replace(/\\(\d+)/g,e));var r,h,i,a,E=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(F.documentElement.childNodes,0)[0].nodeType}catch(u){E=function(e,t){var n=t||[],r=0;if("[object Array]"===v.call(e))Array.prototype.push.apply(n,e);else if("number"==typeof e.length)for(var i=e.length;r<i;r++)n.push(e[r]);else for(;e[r];r++)n.push(e[r]);return n}}F.documentElement.compareDocumentPosition?r=function(e,t){return e===t?(c=!0,0):e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:1:e.compareDocumentPosition?-1:1}:(r=function(e,t){var n,r,i=[],a=[],o=e.parentNode,s=t.parentNode,l=o;if(e===t)return c=!0,0;if(o===s)return h(e,t);if(!o)return-1;if(!s)return 1;for(;l;)i.unshift(l),l=l.parentNode;for(l=s;l;)a.unshift(l),l=l.parentNode;n=i.length,r=a.length;for(var u=0;u<n&&u<r;u++)if(i[u]!==a[u])return h(i[u],a[u]);return u===n?h(e,a[u],-1):h(i[u],t,1)},h=function(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}),b.getText=function(e){for(var t,n="",r=0;e[r];r++)3===(t=e[r]).nodeType||4===t.nodeType?n+=t.nodeValue:8!==t.nodeType&&(n+=b.getText(t.childNodes));return n},function(){var e=F.createElement("div"),t="script"+(new Date).getTime();e.innerHTML="<a name='"+t+"'/>";var n=F.documentElement;n.insertBefore(e,n.firstChild),F.getElementById(t)&&(T.find.ID=function(e,t,n){if("undefined"!=typeof t.getElementById&&!n){var r=t.getElementById(e[1]);return r?r.id===e[1]||"undefined"!=typeof r.getAttributeNode&&r.getAttributeNode("id").nodeValue===e[1]?[r]:R:[]}},T.filter.ID=function(e,t){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&n&&n.nodeValue===t}),n.removeChild(e),n=e=null}(),(i=F.createElement("div")).appendChild(F.createComment("")),0<i.getElementsByTagName("*").length&&(T.find.TAG=function(e,t){var n=t.getElementsByTagName(e[1]);if("*"===e[1]){for(var r=[],i=0;n[i];i++)1===n[i].nodeType&&r.push(n[i]);n=r}return n}),i.innerHTML="<a href='#'></a>",i.firstChild&&"undefined"!=typeof i.firstChild.getAttribute&&"#"!==i.firstChild.getAttribute("href")&&(T.attrHandle.href=function(e){return e.getAttribute("href",2)}),i=null,F.querySelectorAll&&function(){var l=b,e=F.createElement("div");if(e.innerHTML="<p class='TEST'></p>",!e.querySelectorAll||0!==e.querySelectorAll(".TEST").length){for(var t in b=function(e,t,n,r){if(t=t||F,!r&&!b.isXML(t))if(9===t.nodeType)try{return E(t.querySelectorAll(e),n)}catch(o){}else if(1===t.nodeType&&"object"!==t.nodeName.toLowerCase()){var i=t.id,a=t.id="__sizzle__";try{return E(t.querySelectorAll("#"+a+" "+e),n)}catch(s){}finally{i?t.id=i:t.removeAttribute("id")}}return l(e,t,n,r)},l)b[t]=l[t];e=null}}(),function(){var e=F.documentElement,n=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector,r=!1;try{n.call(F.documentElement,":sizzle")}catch(t){r=!0}n&&(b.matchesSelector=function(e,t){try{if(r||!T.match.PSEUDO.test(t))return n.call(e,t)}catch(u){}return 0<b(t,null,null,[e]).length})}(),(a=F.createElement("div")).innerHTML="<div class='test e'></div><div class='test'></div>",a.getElementsByClassName&&0!==a.getElementsByClassName("e").length&&(a.lastChild.className="e",1!==a.getElementsByClassName("e").length&&(T.order.splice(1,0,"CLASS"),T.find.CLASS=function(e,t,n){if("undefined"!=typeof t.getElementsByClassName&&!n)return t.getElementsByClassName(e[1])},a=null)),b.contains=F.documentElement.contains?function(e,t){return e!==t&&(!e.contains||e.contains(t))}:function(e,t){return!!(16&e.compareDocumentPosition(t))},b.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return!!t&&"HTML"!==t.nodeName};var D=function(e,t){for(var n,r=[],i="",a=t.nodeType?[t]:t;n=T.match.PSEUDO.exec(e);)i+=n[0],e=e.replace(T.match.PSEUDO,"");e=T.relative[e]?e+"*":e;for(var o=0,s=a.length;o<s;o++)b(e,a[o],r);return b.filter(i,r)};w.find=b,w.expr=b.selectors,w.expr[":"]=w.expr.filters,w.unique=b.uniqueSort,w.text=b.getText,w.isXMLDoc=b.isXML,w.contains=b.contains}();var U=/Until$/,z=/^(?:parents|prevUntil|prevAll)/,W=/,/,q=/^.[^:#\[\.,]*$/,G=Array.prototype.slice,Y=w.expr.match.POS;w.fn.extend({find:function(e){for(var t=this.pushStack("","find",e),n=0,r=0,i=this.length;r<i;r++)if(n=t.length,w.find(e,this[r],t),0<r)for(var a=n;a<t.length;a++)for(var o=0;o<n;o++)if(t[o]===t[a]){t.splice(a--,1);break}return t},has:function(e){var n=w(e);return this.filter(function(){for(var e=0,t=n.length;e<t;e++)if(w.contains(this,n[e]))return!0})},not:function(e){return this.pushStack(a(this,e,!1),"not",e)},filter:function(e){return this.pushStack(a(this,e,!0),"filter",e)},is:function(e){return!!e&&0<w.filter(e,this).length},closest:function(e,t){var n,r,i=[],a=this[0];if(w.isArray(e)){var o,s,l={},u=1;if(a&&e.length){for(n=0,r=e.length;n<r;n++)l[s=e[n]]||(l[s]=w.expr.match.POS.test(s)?w(s,t||this.context):s);for(;a&&a.ownerDocument&&a!==t;){for(s in l)((o=l[s]).jquery?-1<o.index(a):w(a).is(o))&&i.push({selector:s,elem:a,level:u});a=a.parentNode,u++}}return i}var c=Y.test(e)?w(e,t||this.context):null;for(n=0,r=this.length;n<r;n++)for(a=this[n];a;){if(c?-1<c.index(a):w.find.matchesSelector(a,e)){i.push(a);break}if(!(a=a.parentNode)||!a.ownerDocument||a===t)break}return i=1<i.length?w.unique(i):i,this.pushStack(i,"closest",e)},index:function(e){return e&&"string"!=typeof e?w.inArray(e.jquery?e[0]:e,this):w.inArray(this[0],e?w(e):this.parent().children())},add:function(e,t){var n="string"==typeof e?w(e,t||this.context):w.makeArray(e),r=w.merge(this.get(),n);return this.pushStack(i(n[0])||i(r[0])?r:w.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return w.dir(e,"parentNode")},parentsUntil:function(e,t,n){return w.dir(e,"parentNode",n)},next:function(e){return w.nth(e,2,"nextSibling")},prev:function(e){return w.nth(e,2,"previousSibling")},nextAll:function(e){return w.dir(e,"nextSibling")},prevAll:function(e){return w.dir(e,"previousSibling")},nextUntil:function(e,t,n){return w.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return w.dir(e,"previousSibling",n)},siblings:function(e){return w.sibling(e.parentNode.firstChild,e)},children:function(e){return w.sibling(e.firstChild)},contents:function(e){return w.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:w.makeArray(e.childNodes)}},function(r,i){w.fn[r]=function(e,t){var n=w.map(this,i,e);return U.test(r)||(t=e),t&&"string"==typeof t&&(n=w.filter(t,n)),n=1<this.length?w.unique(n):n,(1<this.length||W.test(t))&&z.test(r)&&(n=n.reverse()),this.pushStack(n,r,G.call(arguments).join(","))}}),w.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?w.find.matchesSelector(t[0],e)?[t[0]]:[]:w.find.matches(e,t)},dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(n===R||1!==i.nodeType||!w(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},nth:function(e,t,n){t=t||1;for(var r=0;e&&(1!==e.nodeType||++r!==t);e=e[n]);return e},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var V=/ jQuery\d+="(?:\d+|null)"/g,J=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,K=/<([\w:]+)/,Q=/<tbody/i,ee=/<|&#?\w+;/,te=/<(?:script|object|embed|option|style)/i,ne=/checked\s*(?:[^=]|=\s*.checked.)/i,re=/\=([^="'>\s]+\/)>/g,ie={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};ie.optgroup=ie.option,ie.tbody=ie.tfoot=ie.colgroup=ie.caption=ie.thead,ie.th=ie.td,w.support.htmlSerialize||(ie._default=[1,"div<div>","</div>"]),w.fn.extend({text:function(n){return w.isFunction(n)?this.each(function(e){var t=w(this);t.text(n.call(this,e,t.text()))}):"object"!=typeof n&&n!==R?this.empty().append((this[0]&&this[0].ownerDocument||F).createTextNode(n)):w.text(this)},wrapAll:function(t){if(w.isFunction(t))return this.each(function(e){w(this).wrapAll(t.call(this,e))});if(this[0]){var e=w(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return w.isFunction(n)?this.each(function(e){w(this).wrapInner(n.call(this,e))}):this.each(function(){var e=w(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(e){return this.each(function(){w(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){w.nodeName(this,"body")||w(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){1===this.nodeType&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){1===this.nodeType&&this.insertBefore(e,this.firstChild)})},before:function(e){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var t=w(e);return t.push.apply(t,this.toArray()),this.pushStack(t,"before",arguments)}},after:function(e){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var t=this.pushStack(this,"after",arguments);return t.push.apply(t,w(e).toArray()),t}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)e&&!w.filter(e,[n]).length||(t||1!==n.nodeType||(w.cleanData(n.getElementsByTagName("*")),w.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&w.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e){var t=this.map(function(){if(w.support.noCloneEvent||w.isXMLDoc(this))return this.cloneNode(!0);var e=this.outerHTML,t=this.ownerDocument;if(!e){var n=t.createElement("div");n.appendChild(this.cloneNode(!0)),e=n.innerHTML}return w.clean([e.replace(V,"").replace(re,'="$1">').replace(J,"")],t)[0]});return!0===e&&(o(this,t),o(this.find("*"),t.find("*"))),t},html:function(n){if(n===R)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(V,""):null;if("string"!=typeof n||te.test(n)||!w.support.leadingWhitespace&&J.test(n)||ie[(K.exec(n)||["",""])[1].toLowerCase()])w.isFunction(n)?this.each(function(e){var t=w(this);t.html(n.call(this,e,t.html()))}):this.empty().append(n);else{n=n.replace(Z,"<$1></$2>");try{for(var e=0,t=this.length;e<t;e++)1===this[e].nodeType&&(w.cleanData(this[e].getElementsByTagName("*")),this[e].innerHTML=n)}catch(r){this.empty().append(n)}}return this},replaceWith:function(r){return this[0]&&this[0].parentNode?w.isFunction(r)?this.each(function(e){var t=w(this),n=t.html();t.replaceWith(r.call(this,e,n))}):("string"!=typeof r&&(r=w(r).detach()),this.each(function(){var e=this.nextSibling,t=this.parentNode;w(this).remove(),e?w(e).before(r):w(t).append(r)})):this.pushStack(w(w.isFunction(r)?r():r),"replaceWith",r)},detach:function(e){return this.remove(e,!0)},domManip:function(n,r,i){var e,t,a,o,s=n[0],l=[];if(!w.support.checkClone&&3===arguments.length&&"string"==typeof s&&ne.test(s))return this.each(function(){w(this).domManip(n,r,i,!0)});if(w.isFunction(s))return this.each(function(e){var t=w(this);n[0]=s.call(this,e,r?t.html():R),t.domManip(n,r,i)});if(this[0]){if(o=s&&s.parentNode,t=1===(a=(e=w.support.parentNode&&o&&11===o.nodeType&&o.childNodes.length===this.length?{fragment:o}:w.buildFragment(n,this,l)).fragment).childNodes.length?a=a.firstChild:a.firstChild){r=r&&w.nodeName(t,"tr");for(var u=0,c=this.length;u<c;u++)i.call(r?h(this[u],t):this[u],0<u||e.cacheable||1<this.length?a.cloneNode(!0):a)}l.length&&w.each(l,d)}return this}}),w.buildFragment=function(e,t,n){var r,i,a,o=t&&t[0]?t[0].ownerDocument||t[0]:F;return 1===e.length&&"string"==typeof e[0]&&e[0].length<512&&o===F&&!te.test(e[0])&&(w.support.checkClone||!ne.test(e[0]))&&(i=!0,(a=w.fragments[e[0]])&&1!==a&&(r=a)),r||(r=o.createDocumentFragment(),w.clean(e,o,r,n)),i&&(w.fragments[e[0]]=a?r:1),{fragment:r,cacheable:i}},w.fragments={},w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(s,l){w.fn[s]=function(e){var t=[],n=w(e),r=1===this.length&&this[0].parentNode;if(r&&11===r.nodeType&&1===r.childNodes.length&&1===n.length)return n[l](this[0]),this;for(var i=0,a=n.length;i<a;i++){var o=(0<i?this.clone(!0):this).get();w(n[i])[l](o),t=t.concat(o)}return this.pushStack(t,s,n.selector)}}),w.extend({clean:function(e,t,n,r){"undefined"==typeof(t=t||F).createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||F);for(var i,a=[],o=0;null!=(i=e[o]);o++)if("number"==typeof i&&(i+=""),i){if("string"!=typeof i||ee.test(i)){if("string"==typeof i){i=i.replace(Z,"<$1></$2>");var s=(K.exec(i)||["",""])[1].toLowerCase(),l=ie[s]||ie._default,u=l[0],c=t.createElement("div");for(c.innerHTML=l[1]+i+l[2];u--;)c=c.lastChild;if(!w.support.tbody)for(var h=Q.test(i),d="table"!==s||h?"<table>"!==l[1]||h?[]:c.childNodes:c.firstChild&&c.firstChild.childNodes,f=d.length-1;0<=f;--f)w.nodeName(d[f],"tbody")&&!d[f].childNodes.length&&d[f].parentNode.removeChild(d[f]);!w.support.leadingWhitespace&&J.test(i)&&c.insertBefore(t.createTextNode(J.exec(i)[0]),c.firstChild),i=c.childNodes}}else i=t.createTextNode(i);i.nodeType?a.push(i):a=w.merge(a,i)}if(n)for(o=0;a[o];o++)!r||!w.nodeName(a[o],"script")||a[o].type&&"text/javascript"!==a[o].type.toLowerCase()?(1===a[o].nodeType&&a.splice.apply(a,[o+1,0].concat(w.makeArray(a[o].getElementsByTagName("script")))),n.appendChild(a[o])):r.push(a[o].parentNode?a[o].parentNode.removeChild(a[o]):a[o]);return a},cleanData:function(e){for(var t,n,r,i=w.cache,a=w.event.special,o=w.support.deleteExpando,s=0;null!=(r=e[s]);s++)if((!r.nodeName||!w.noData[r.nodeName.toLowerCase()])&&(n=r[w.expando])){if((t=i[n])&&t.events)for(var l in t.events)a[l]?w.event.remove(r,l):w.removeEvent(r,l,t.handle);o?delete r[w.expando]:r.removeAttribute&&r.removeAttribute(w.expando),delete i[n]}}});var ae,oe=/alpha\([^)]*\)/i,se=/opacity=([^)]*)/,le=/-([a-z])/gi,ue=/([A-Z])/g,ce=/^-?\d+(?:px)?$/i,he=/^-?\d/,de={position:"absolute",visibility:"hidden",display:"block"},fe=["Left","Right"],pe=["Top","Bottom"],e=F.defaultView&&F.defaultView.getComputedStyle,me=function(e,t){return t.toUpperCase()};w.fn.css=function(e,t){return 2===arguments.length&&t===R?this:w.access(this,e,t,!0,function(e,t,n){return n!==R?w.style(e,t,n):w.css(e,t)})},w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ae(e,"opacity","opacity");return""===n?"1":n}return e.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":w.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a=w.camelCase(t),o=e.style,s=w.cssHooks[a];if(t=w.cssProps[a]||a,n===R)return s&&"get"in s&&(i=s.get(e,!1,r))!==R?i:o[t];if(!("number"==typeof n&&isNaN(n)||null==n||("number"!=typeof n||w.cssNumber[a]||(n+="px"),s&&"set"in s&&(n=s.set(e,n))===R)))try{o[t]=n}catch(l){}}},css:function(e,t,n){var r,i=w.camelCase(t),a=w.cssHooks[i];return t=w.cssProps[i]||i,a&&"get"in a&&(r=a.get(e,!0,n))!==R?r:ae?ae(e,t,i):void 0},swap:function(e,t,n){var r={};for(var i in t)r[i]=e.style[i],e.style[i]=t[i];for(i in n.call(e),t)e.style[i]=r[i]},camelCase:function(e){return e.replace(le,me)}}),w.curCSS=w.css,w.each(["height","width"],function(e,i){w.cssHooks[i]={get:function(e,t,n){var r;if(t)return 0!==e.offsetWidth?r=s(e,i,n):w.swap(e,de,function(){r=s(e,i,n)}),r+"px"},set:function(e,t){return ce.test(t)?0<=(t=parseFloat(t))?t+"px":void 0:t}}}),w.support.opacity||(w.cssHooks.opacity={get:function(e,t){return se.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var n=e.style;n.zoom=1;var r=w.isNaN(t)?"":"alpha(opacity="+100*t+")",i=n.filter||"";n.filter=oe.test(i)?i.replace(oe,r):n.filter+" "+r}}),e?ae=function(e,t,n){var r,i,a;return n=n.replace(ue,"-$1").toLowerCase(),(i=e.ownerDocument.defaultView)?((a=i.getComputedStyle(e,null))&&(""!==(r=a.getPropertyValue(n))||w.contains(e.ownerDocument.documentElement,e)||(r=w.style(e,n))),r):R}:F.documentElement.currentStyle&&(ae=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],a=e.style;return!ce.test(i)&&he.test(i)&&(n=a.left,r=e.runtimeStyle.left,e.runtimeStyle.left=e.currentStyle.left,a.left="fontSize"===t?"1em":i||0,i=a.pixelLeft+"px",a.left=n,e.runtimeStyle.left=r),i}),w.expr&&w.expr.filters&&(w.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return 0===t&&0===n||!w.support.reliableHiddenOffsets&&"none"===(e.style.display||w.css(e,"display"))},w.expr.filters.visible=function(e){return!w.expr.filters.hidden(e)});var ge=w.now(),ye=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,ve=/^(?:select|textarea)/i,be=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Te=/^(?:GET|HEAD|DELETE)$/,xe=/\[\]$/,Ee=/\=\?(&|$)/,De=/\?/,we=/([?&])_=[^&]*/,Se=/^(\w+:)?\/\/([^\/?#]+)/,_e=/%20/g,Ne=/#.*$/,Me=w.fn.load;w.fn.extend({load:function(e,t,n){if("string"!=typeof e&&Me)return Me.apply(this,arguments);if(!this.length)return this;var r=e.indexOf(" ");if(0<=r){var i=e.slice(r,e.length);e=e.slice(0,r)}var a="GET";t&&(w.isFunction(t)?(n=t,t=null):"object"==typeof t&&(t=w.param(t,w.ajaxSettings.traditional),a="POST"));var o=this;return w.ajax({url:e,type:a,dataType:"html",data:t,complete:function(e,t){"success"!==t&&"notmodified"!==t||o.html(i?w("<div>").append(e.responseText.replace(ye,"")).find(i):e.responseText),n&&o.each(n,[e.responseText,t,e])}}),this},serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?w.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ve.test(this.nodeName)||be.test(this.type))}).map(function(e,t){var n=w(this).val();return null==n?null:w.isArray(n)?w.map(n,function(e){return{name:t.name,value:e}}):{name:t.name,value:n}}).get()}}),w.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){w.fn[t]=function(e){return this.bind(t,e)}}),w.extend({get:function(e,t,n,r){return w.isFunction(t)&&(r=r||n,n=t,t=null),w.ajax({type:"GET",url:e,data:t,success:n,dataType:r})},getScript:function(e,t){return w.get(e,null,t,"script")},getJSON:function(e,t,n){return w.get(e,t,n,"json")},post:function(e,t,n,r){return w.isFunction(t)&&(r=r||n,n=t,t={}),w.ajax({type:"POST",url:e,data:t,success:n,dataType:r})},ajaxSetup:function(e){w.extend(w.ajaxSettings,e)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,xhr:function(){return new I.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(e){var r,i,a,o=w.extend(!0,{},w.ajaxSettings,e),t=o.type.toUpperCase(),n=Te.test(t);if(o.url=o.url.replace(Ne,""),o.context=e&&null!=e.context?e.context:o,o.data&&o.processData&&"string"!=typeof o.data&&(o.data=w.param(o.data,o.traditional)),"jsonp"===o.dataType&&("GET"===t?Ee.test(o.url)||(o.url+=(De.test(o.url)?"&":"?")+(o.jsonp||"callback")+"=?"):o.data&&Ee.test(o.data)||(o.data=(o.data?o.data+"&":"")+(o.jsonp||"callback")+"=?"),o.dataType="json"),"json"===o.dataType&&(o.data&&Ee.test(o.data)||Ee.test(o.url))){r=o.jsonpCallback||"jsonp"+ge++,o.data&&(o.data=(o.data+"").replace(Ee,"="+r+"$1")),o.url=o.url.replace(Ee,"="+r+"$1"),o.dataType="script";var s=I[r];I[r]=function(e){if(a=e,w.handleSuccess(o,g,i,a),w.handleComplete(o,g,i,a),w.isFunction(s))s(e);else{I[r]=R;try{delete I[r]}catch(t){}}d&&d.removeChild(f)}}if("script"===o.dataType&&null===o.cache&&(o.cache=!1),!1===o.cache&&"GET"===t){var l=w.now(),u=o.url.replace(we,"$1_="+l);o.url=u+(u===o.url?(De.test(o.url)?"&":"?")+"_="+l:"")}o.data&&"GET"===t&&(o.url+=(De.test(o.url)?"&":"?")+o.data),o.global&&0==w.active++&&w.event.trigger("ajaxStart");var c=Se.exec(o.url),h=c&&(c[1]&&c[1]!==location.protocol||c[2]!==location.host);if("script"===o.dataType&&"GET"===t&&h){var d=F.getElementsByTagName("head")[0]||F.documentElement,f=F.createElement("script");if(o.scriptCharset&&(f.charset=o.scriptCharset),f.src=o.url,!r){var p=!1;f.onload=f.onreadystatechange=function(){p||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(p=!0,w.handleSuccess(o,g,i,a),w.handleComplete(o,g,i,a),f.onload=f.onreadystatechange=null,d&&f.parentNode&&d.removeChild(f))}}return d.insertBefore(f,d.firstChild),R}var m=!1,g=o.xhr();if(g){o.username?g.open(t,o.url,o.async,o.username,o.password):g.open(t,o.url,o.async);try{(null!=o.data&&!n||e&&e.contentType)&&g.setRequestHeader("Content-Type",o.contentType),o.ifModified&&(w.lastModified[o.url]&&g.setRequestHeader("If-Modified-Since",w.lastModified[o.url]),w.etag[o.url]&&g.setRequestHeader("If-None-Match",w.etag[o.url])),h||g.setRequestHeader("X-Requested-With","XMLHttpRequest"),g.setRequestHeader("Accept",o.dataType&&o.accepts[o.dataType]?o.accepts[o.dataType]+", */*; q=0.01":o.accepts._default)}catch(b){}if(o.beforeSend&&!1===o.beforeSend.call(o.context,g,o))return o.global&&1==w.active--&&w.event.trigger("ajaxStop"),g.abort(),!1;o.global&&w.triggerGlobal(o,"ajaxSend",[g,o])
3
+ ;var y=g.onreadystatechange=function(e){if(g&&0!==g.readyState&&"abort"!==e){if(!m&&g&&(4===g.readyState||"timeout"===e)){var t;if(m=!0,g.onreadystatechange=w.noop,"success"===(i="timeout"===e?"timeout":w.httpSuccess(g)?o.ifModified&&w.httpNotModified(g,o.url)?"notmodified":"success":"error"))try{a=w.httpData(g,o.dataType,o)}catch(n){i="parsererror",t=n}"success"===i||"notmodified"===i?r||w.handleSuccess(o,g,i,a):w.handleError(o,g,i,t),r||w.handleComplete(o,g,i,a),"timeout"===e&&g.abort(),o.async&&(g=null)}}else m||w.handleComplete(o,g,i,a),m=!0,g&&(g.onreadystatechange=w.noop)};try{var v=g.abort;g.abort=function(){g&&v.call&&v.call(g),y("abort")}}catch(T){}o.async&&0<o.timeout&&setTimeout(function(){g&&!m&&y("timeout")},o.timeout);try{g.send(n||null==o.data?null:o.data)}catch(x){w.handleError(o,g,null,x),w.handleComplete(o,g,i,a)}return o.async||y(),g}},param:function(e,t){var n=[],r=function(e,t){t=w.isFunction(t)?t():t,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===R&&(t=w.ajaxSettings.traditional),w.isArray(e)||e.jquery)w.each(e,function(){r(this.name,this.value)});else for(var i in e)l(i,e[i],t,r);return n.join("&").replace(_e,"+")}}),w.extend({active:0,lastModified:{},etag:{},handleError:function(e,t,n,r){e.error&&e.error.call(e.context,t,n,r),e.global&&w.triggerGlobal(e,"ajaxError",[t,e,r])},handleSuccess:function(e,t,n,r){e.success&&e.success.call(e.context,r,n,t),e.global&&w.triggerGlobal(e,"ajaxSuccess",[t,e])},handleComplete:function(e,t,n){e.complete&&e.complete.call(e.context,t,n),e.global&&w.triggerGlobal(e,"ajaxComplete",[t,e]),e.global&&1==w.active--&&w.event.trigger("ajaxStop")},triggerGlobal:function(e,t,n){(e.context&&null==e.context.url?w(e.context):w.event).trigger(t,n)},httpSuccess:function(e){try{return!e.status&&"file:"===location.protocol||200<=e.status&&e.status<300||304===e.status||1223===e.status}catch(t){}return!1},httpNotModified:function(e,t){var n=e.getResponseHeader("Last-Modified"),r=e.getResponseHeader("Etag");return n&&(w.lastModified[t]=n),r&&(w.etag[t]=r),304===e.status},httpData:function(e,t,n){var r=e.getResponseHeader("content-type")||"",i="xml"===t||!t&&0<=r.indexOf("xml"),a=i?e.responseXML:e.responseText;return i&&"parsererror"===a.documentElement.nodeName&&w.error("parsererror"),n&&n.dataFilter&&(a=n.dataFilter(a,t)),"string"==typeof a&&("json"===t||!t&&0<=r.indexOf("json")?a=w.parseJSON(a):("script"===t||!t&&0<=r.indexOf("javascript"))&&w.globalEval(a)),a}}),I.ActiveXObject&&(w.ajaxSettings.xhr=function(){if("file:"!==I.location.protocol)try{return new I.XMLHttpRequest}catch(e){}try{return new I.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}),w.support.ajax=!!w.ajaxSettings.xhr();var Le,Ce={},ke=/^(?:toggle|show|hide)$/,Oe=/^([+\-]=)?([\d+.\-]+)(.*)$/,Ie=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];w.fn.extend({show:function(e,t,n){if(e||0===e)return this.animate(u("show",3),e,t,n);for(var r=0,i=this.length;r<i;r++)w.data(this[r],"olddisplay")||"none"!==this[r].style.display||(this[r].style.display=""),""===this[r].style.display&&"none"===w.css(this[r],"display")&&w.data(this[r],"olddisplay",f(this[r].nodeName));for(r=0;r<i;r++)this[r].style.display=w.data(this[r],"olddisplay")||"";return this},hide:function(e,t,n){if(e||0===e)return this.animate(u("hide",3),e,t,n);for(var r=0,i=this.length;r<i;r++){var a=w.css(this[r],"display");"none"!==a&&w.data(this[r],"olddisplay",a)}for(r=0;r<i;r++)this[r].style.display="none";return this},_toggle:w.fn.toggle,toggle:function(t,e,n){var r="boolean"==typeof t;return w.isFunction(t)&&w.isFunction(e)?this._toggle.apply(this,arguments):null==t||r?this.each(function(){var e=r?t:w(this).is(":hidden");w(this)[e?"show":"hide"]()}):this.animate(u("toggle",3),t,e,n),this},fadeTo:function(e,t,n,r){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(c,e,t,n){var r=w.speed(e,t,n);return w.isEmptyObject(c)?this.each(r.complete):this[!1===r.queue?"each":"queue"](function(){var e,s=w.extend({},r),t=1===this.nodeType,l=t&&w(this).is(":hidden"),u=this;for(e in c){var n=w.camelCase(e);if(e!==n&&(c[n]=c[e],delete c[e],e=n),"hide"===c[e]&&l||"show"===c[e]&&!l)return s.complete.call(this);if(t&&("height"===e||"width"===e))if(s.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===w.css(this,"display")&&"none"===w.css(this,"float"))if(w.support.inlineBlockNeedsLayout)"inline"===f(this.nodeName)?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1);else this.style.display="inline-block";w.isArray(c[e])&&((s.specialEasing=s.specialEasing||{})[e]=c[e][1],c[e]=c[e][0])}return null!=s.overflow&&(this.style.overflow="hidden"),s.curAnim=w.extend({},c),w.each(c,function(e,t){var n=new w.fx(u,s,e);if(ke.test(t))n["toggle"===t?l?"show":"hide":t](c);else{var r=Oe.exec(t),i=n.cur(!0)||0;if(r){var a=parseFloat(r[2]),o=r[3]||"px";"px"!==o&&(w.style(u,e,(a||1)+o),i=(a||1)/n.cur(!0)*i,w.style(u,e,i+o)),r[1]&&(a=("-="===r[1]?-1:1)*a+i),n.custom(i,a,o)}else n.custom(i,t,"")}}),!0})},stop:function(e,t){var n=w.timers;return e&&this.queue([]),this.each(function(){for(var e=n.length-1;0<=e;e--)n[e].elem===this&&(t&&n[e](!0),n.splice(e,1))}),t||this.dequeue(),this}}),w.each({slideDown:u("show",1),slideUp:u("hide",1),slideToggle:u("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(e,r){w.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),w.extend({speed:function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||w.isFunction(e)&&e,duration:e,easing:n&&t||t&&!w.isFunction(t)&&t};return r.duration=w.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in w.fx.speeds?w.fx.speeds[r.duration]:w.fx.speeds._default,r.old=r.complete,r.complete=function(){!1!==r.queue&&w(this).dequeue(),w.isFunction(r.old)&&r.old.call(this)},r},easing:{linear:function(e,t,n,r){return n+r*e},swing:function(e,t,n,r){return(-Math.cos(e*Math.PI)/2+.5)*r+n}},timers:[],fx:function(e,t,n){this.options=t,this.elem=e,this.prop=n,t.orig||(t.orig={})}}),w.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(w.fx.step[this.prop]||w.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var e=parseFloat(w.css(this.elem,this.prop));return e&&-1e4<e?e:0},custom:function(e,t,n){function r(e){return i.step(e)}this.startTime=w.now(),this.start=e,this.end=t,this.unit=n||this.unit||"px",this.now=this.start,this.pos=this.state=0;var i=this,a=w.fx;r.elem=this.elem,r()&&w.timers.push(r)&&!Le&&(Le=setInterval(a.tick,a.interval))},show:function(){this.options.orig[this.prop]=w.style(this.elem,this.prop),this.options.show=!0,this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),w(this.elem).show()},hide:function(){this.options.orig[this.prop]=w.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var t=w.now(),n=!0;if(e||t>=this.options.duration+this.startTime){for(var r in this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0,this.options.curAnim)!0!==this.options.curAnim[r]&&(n=!1);if(n){if(null!=this.options.overflow&&!w.support.shrinkWrapBlocks){var i=this.elem,a=this.options;w.each(["","X","Y"],function(e,t){i.style["overflow"+t]=a.overflow[e]})}if(this.options.hide&&w(this.elem).hide(),this.options.hide||this.options.show)for(var o in this.options.curAnim)w.style(this.elem,o,this.options.orig[o]);this.options.complete.call(this.elem)}return!1}var s=t-this.startTime;this.state=s/this.options.duration;var l=this.options.specialEasing&&this.options.specialEasing[this.prop],u=this.options.easing||(w.easing.swing?"swing":"linear");return this.pos=w.easing[l||u](this.state,s,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0}},w.extend(w.fx,{tick:function(){for(var e=w.timers,t=0;t<e.length;t++)e[t]()||e.splice(t--,1);e.length||w.fx.stop()},interval:13,stop:function(){clearInterval(Le),Le=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){w.style(e.elem,"opacity",e.now)},_default:function(e){e.elem.style&&null!=e.elem.style[e.prop]?e.elem.style[e.prop]=("width"===e.prop||"height"===e.prop?Math.max(0,e.now):e.now)+e.unit:e.elem[e.prop]=e.now}}}),w.expr&&w.expr.filters&&(w.expr.filters.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length});var Re=/^t(?:able|d|h)$/i,Fe=/^(?:body|html)$/i;"getBoundingClientRect"in F.documentElement?w.fn.offset=function(t){var e,n=this[0];if(t)return this.each(function(e){w.offset.setOffset(this,t,e)});if(!n||!n.ownerDocument)return null;if(n===n.ownerDocument.body)return w.offset.bodyOffset(n);try{e=n.getBoundingClientRect()}catch(h){}var r=n.ownerDocument,i=r.documentElement;if(!e||!w.contains(i,n))return e||{top:0,left:0};var a=r.body,o=p(r),s=i.clientTop||a.clientTop||0,l=i.clientLeft||a.clientLeft||0,u=o.pageYOffset||w.support.boxModel&&i.scrollTop||a.scrollTop,c=o.pageXOffset||w.support.boxModel&&i.scrollLeft||a.scrollLeft;return{top:e.top+u-s,left:e.left+c-l}}:w.fn.offset=function(t){var e=this[0];if(t)return this.each(function(e){w.offset.setOffset(this,t,e)});if(!e||!e.ownerDocument)return null;if(e===e.ownerDocument.body)return w.offset.bodyOffset(e);w.offset.initialize();for(var n,r=e.offsetParent,i=e.ownerDocument,a=i.documentElement,o=i.body,s=i.defaultView,l=s?s.getComputedStyle(e,null):e.currentStyle,u=e.offsetTop,c=e.offsetLeft;(e=e.parentNode)&&e!==o&&e!==a&&(!w.offset.supportsFixedPosition||"fixed"!==l.position);)n=s?s.getComputedStyle(e,null):e.currentStyle,u-=e.scrollTop,c-=e.scrollLeft,e===r&&(u+=e.offsetTop,c+=e.offsetLeft,!w.offset.doesNotAddBorder||w.offset.doesAddBorderForTableAndCells&&Re.test(e.nodeName)||(u+=parseFloat(n.borderTopWidth)||0,c+=parseFloat(n.borderLeftWidth)||0),r,r=e.offsetParent),w.offset.subtractsBorderForOverflowNotVisible&&"visible"!==n.overflow&&(u+=parseFloat(n.borderTopWidth)||0,c+=parseFloat(n.borderLeftWidth)||0),l=n;return"relative"!==l.position&&"static"!==l.position||(u+=o.offsetTop,c+=o.offsetLeft),w.offset.supportsFixedPosition&&"fixed"===l.position&&(u+=Math.max(a.scrollTop,o.scrollTop),c+=Math.max(a.scrollLeft,o.scrollLeft)),{top:u,left:c}},w.offset={initialize:function(){var e,t,n,r=F.body,i=F.createElement("div"),a=parseFloat(w.css(r,"marginTop"))||0,o="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";w.extend(i.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),i.innerHTML=o,r.insertBefore(i,r.firstChild),t=(e=i.firstChild).firstChild,n=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=5!==t.offsetTop,this.doesAddBorderForTableAndCells=5===n.offsetTop,t.style.position="fixed",t.style.top="20px",this.supportsFixedPosition=20===t.offsetTop||15===t.offsetTop,t.style.position=t.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=-5===t.offsetTop,this.doesNotIncludeMarginInBodyOffset=r.offsetTop!==a,r.removeChild(i),r=i=e=t=n=null,w.offset.initialize=w.noop},bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return w.offset.initialize(),w.offset.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(w.css(e,"marginTop"))||0,n+=parseFloat(w.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=w.css(e,"position");"static"===r&&(e.style.position="relative");var i,a,o=w(e),s=o.offset(),l=w.css(e,"top"),u=w.css(e,"left"),c="absolute"===r&&-1<w.inArray("auto",[l,u]),h={},d={};c&&(d=o.position()),i=c?d.top:parseInt(l,10)||0,a=c?d.left:parseInt(u,10)||0,w.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(h.top=t.top-s.top+i),null!=t.left&&(h.left=t.left-s.left+a),"using"in t?t.using.call(e,h):o.css(h)}},w.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),r=Fe.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(w.css(e,"marginTop"))||0,n.left-=parseFloat(w.css(e,"marginLeft"))||0,r.top+=parseFloat(w.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(w.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||F.body;e&&!Fe.test(e.nodeName)&&"static"===w.css(e,"position");)e=e.offsetParent;return e})}}),w.each(["Left","Top"],function(r,e){var i="scroll"+e;w.fn[i]=function(e){var t,n=this[0];return n?e!==R?this.each(function(){(t=p(this))?t.scrollTo(r?w(t).scrollLeft():e,r?e:w(t).scrollTop()):this[i]=e}):(t=p(n))?"pageXOffset"in t?t[r?"pageYOffset":"pageXOffset"]:w.support.boxModel&&t.document.documentElement[i]||t.document.body[i]:n[i]:null}}),w.each(["Height","Width"],function(e,t){var r=t.toLowerCase();w.fn["inner"+t]=function(){return this[0]?parseFloat(w.css(this[0],r,"padding")):null},w.fn["outer"+t]=function(e){return this[0]?parseFloat(w.css(this[0],r,e?"margin":"border")):null},w.fn[r]=function(n){var e=this[0];return e?w.isFunction(n)?this.each(function(e){var t=w(this);t[r](n.call(this,e,t[r]()))}):w.isWindow(e)?"CSS1Compat"===e.document.compatMode&&e.document.documentElement["client"+t]||e.document.body["client"+t]:9===e.nodeType?Math.max(e.documentElement["client"+t],e.body["scroll"+t],e.documentElement["scroll"+t],e.body["offset"+t],e.documentElement["offset"+t]):n===R?parseFloat(w.css(e,r)):this.css(r,"string"==typeof n?n:n+"px"):null==n?null:this}})}(window),Date.CultureInfo={name:"en-US",englishName:"English (United States)",nativeName:"English (United States)",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],firstLetterDayNames:["S","M","T","W","T","F","S"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],amDesignator:"AM",pmDesignator:"PM",firstDayOfWeek:0,twoDigitYearMax:2029,dateElementOrder:"mdy",formatPatterns:{shortDate:"M/d/yyyy",longDate:"dddd, MMMM dd, yyyy",shortTime:"h:mm tt",longTime:"h:mm:ss tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",sortableDateTime:"yyyy-MM-ddTHH:mm:ss",universalSortableDateTime:"yyyy-MM-dd HH:mm:ssZ",rfc1123:"ddd, dd MMM yyyy HH:mm:ss GMT",monthDay:"MMMM dd",yearMonth:"MMMM, yyyy"},regexPatterns:{jan:/^jan(uary)?/i,feb:/^feb(ruary)?/i,mar:/^mar(ch)?/i,apr:/^apr(il)?/i,may:/^may/i,jun:/^jun(e)?/i,jul:/^jul(y)?/i,aug:/^aug(ust)?/i,sep:/^sep(t(ember)?)?/i,oct:/^oct(ober)?/i,nov:/^nov(ember)?/i,dec:/^dec(ember)?/i,sun:/^su(n(day)?)?/i,mon:/^mo(n(day)?)?/i,tue:/^tu(e(s(day)?)?)?/i,wed:/^we(d(nesday)?)?/i,thu:/^th(u(r(s(day)?)?)?)?/i,fri:/^fr(i(day)?)?/i,sat:/^sa(t(urday)?)?/i,future:/^next/i,past:/^last|past|prev(ious)?/i,add:/^(\+|after|from)/i,subtract:/^(\-|before|ago)/i,yesterday:/^yesterday/i,today:/^t(oday)?/i,tomorrow:/^tomorrow/i,now:/^n(ow)?/i,millisecond:/^ms|milli(second)?s?/i,second:/^sec(ond)?s?/i,minute:/^min(ute)?s?/i,hour:/^h(ou)?rs?/i,week:/^w(ee)?k/i,month:/^m(o(nth)?s?)?/i,day:/^d(ays?)?/i,year:/^y((ea)?rs?)?/i,shortMeridian:/^(a|p)/i,longMeridian:/^(a\.?m?\.?|p\.?m?\.?)/i,timezone:/^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt)/i,ordinalSuffix:/^\s*(st|nd|rd|th)/i,timeContext:/^\s*(\:|a|p)/i},abbreviatedTimeZoneStandard:{GMT:"-000",EST:"-0400",CST:"-0500",MST:"-0600",PST:"-0700"},abbreviatedTimeZoneDST:{GMT:"-000",EDT:"-0500",CDT:"-0600",MDT:"-0700",PDT:"-0800"}},Date.getMonthNumberFromName=function(e){for(var t=Date.CultureInfo.monthNames,n=Date.CultureInfo.abbreviatedMonthNames,r=e.toLowerCase(),i=0;i<t.length;i++)if(t[i].toLowerCase()==r||n[i].toLowerCase()==r)return i;return-1},Date.getDayNumberFromName=function(e){for(var t=Date.CultureInfo.dayNames,n=Date.CultureInfo.abbreviatedDayNames,r=(Date.CultureInfo.shortestDayNames,e.toLowerCase()),i=0;i<t.length;i++)if(t[i].toLowerCase()==r||n[i].toLowerCase()==r)return i;return-1},Date.isLeapYear=function(e){return e%4==0&&e%100!=0||e%400==0},Date.getDaysInMonth=function(e,t){return[31,Date.isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},Date.getTimezoneOffset=function(e,t){return t?Date.CultureInfo.abbreviatedTimeZoneDST[e.toUpperCase()]:Date.CultureInfo.abbreviatedTimeZoneStandard[e.toUpperCase()]},Date.getTimezoneAbbreviation=function(e,t){var n,r=t?Date.CultureInfo.abbreviatedTimeZoneDST:Date.CultureInfo.abbreviatedTimeZoneStandard;for(n in r)if(r[n]===e)return n;return null},Date.prototype.clone=function(){return new Date(this.getTime())},Date.prototype.compareTo=function(e){if(isNaN(this))throw new Error(this);if(e instanceof Date&&!isNaN(e))return e<this?1:this<e?-1:0;throw new TypeError(e)},Date.prototype.equals=function(e){return 0===this.compareTo(e)},Date.prototype.between=function(e,t){var n=this.getTime();return n>=e.getTime()&&n<=t.getTime()},Date.prototype.addMilliseconds=function(e){return this.setMilliseconds(this.getMilliseconds()+e),this},Date.prototype.addSeconds=function(e){return this.addMilliseconds(1e3*e)},Date.prototype.addMinutes=function(e){return this.addMilliseconds(6e4*e)},Date.prototype.addHours=function(e){return this.addMilliseconds(36e5*e)},Date.prototype.addDays=function(e){return this.addMilliseconds(864e5*e)},Date.prototype.addWeeks=function(e){return this.addMilliseconds(6048e5*e)},Date.prototype.addMonths=function(e){var t=this.getDate();return this.setDate(1),this.setMonth(this.getMonth()+e),this.setDate(Math.min(t,this.getDaysInMonth())),this},Date.prototype.addYears=function(e){return this.addMonths(12*e)},Date.prototype.add=function(e){if("number"==typeof e)return this._orient=e,this;var t=e;return(t.millisecond||t.milliseconds)&&this.addMilliseconds(t.millisecond||t.milliseconds),(t.second||t.seconds)&&this.addSeconds(t.second||t.seconds),(t.minute||t.minutes)&&this.addMinutes(t.minute||t.minutes),(t.hour||t.hours)&&this.addHours(t.hour||t.hours),(t.month||t.months)&&this.addMonths(t.month||t.months),(t.year||t.years)&&this.addYears(t.year||t.years),(t.day||t.days)&&this.addDays(t.day||t.days),this},Date._validate=function(e,t,n,r){if("number"!=typeof e)throw new TypeError(e+" is not a Number.");if(e<t||n<e)throw new RangeError(e+" is not a valid value for "+r+".");return!0},Date.validateMillisecond=function(e){return Date._validate(e,0,999,"milliseconds")},Date.validateSecond=function(e){return Date._validate(e,0,59,"seconds")},Date.validateMinute=function(e){return Date._validate(e,0,59,"minutes")},Date.validateHour=function(e){return Date._validate(e,0,23,"hours")},Date.validateDay=function(e,t,n){return Date._validate(e,1,Date.getDaysInMonth(t,n),"days")},Date.validateMonth=function(e){return Date._validate(e,0,11,"months")},Date.validateYear=function(e){return Date._validate(e,1,9999,"seconds")},Date.prototype.set=function(e){var t=e;return t.millisecond||0===t.millisecond||(t.millisecond=-1),t.second||0===t.second||(t.second=-1),t.minute||0===t.minute||(t.minute=-1),t.hour||0===t.hour||(t.hour=-1),t.day||0===t.day||(t.day=-1),t.month||0===t.month||(t.month=-1),t.year||0===t.year||(t.year=-1),-1!=t.millisecond&&Date.validateMillisecond(t.millisecond)&&this.addMilliseconds(t.millisecond-this.getMilliseconds()),-1!=t.second&&Date.validateSecond(t.second)&&this.addSeconds(t.second-this.getSeconds()),-1!=t.minute&&Date.validateMinute(t.minute)&&this.addMinutes(t.minute-this.getMinutes()),-1!=t.hour&&Date.validateHour(t.hour)&&this.addHours(t.hour-this.getHours()),-1!==t.month&&Date.validateMonth(t.month)&&this.addMonths(t.month-this.getMonth()),-1!=t.year&&Date.validateYear(t.year)&&this.addYears(t.year-this.getFullYear()),-1!=t.day&&Date.validateDay(t.day,this.getFullYear(),this.getMonth())&&this.addDays(t.day-this.getDate()),t.timezone&&this.setTimezone(t.timezone),t.timezoneOffset&&this.setTimezoneOffset(t.timezoneOffset),this},Date.prototype.clearTime=function(){return this.setHours(0),this.setMinutes(0),this.setSeconds(0),this.setMilliseconds(0),this},Date.prototype.isLeapYear=function(){var e=this.getFullYear();return e%4==0&&e%100!=0||e%400==0},Date.prototype.isWeekday=function(){return!(this.is().sat()||this.is().sun())},Date.prototype.getDaysInMonth=function(){return Date.getDaysInMonth(this.getFullYear(),this.getMonth())},Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1})},Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()})},Date.prototype.moveToDayOfWeek=function(e,t){var n=(e-this.getDay()+7*(t||1))%7;return this.addDays(0===n?n+=7*(t||1):n)},Date.prototype.moveToMonth=function(e,t){var n=(e-this.getMonth()+12*(t||1))%12;return this.addMonths(0===n?n+=12*(t||1):n)},Date.prototype.getDayOfYear=function(){return Math.floor((this-new Date(this.getFullYear(),0,1))/864e5)},Date.prototype.getWeekOfYear=function(e){var t=this.getFullYear(),n=this.getMonth(),r=this.getDate(),i=e||Date.CultureInfo.firstDayOfWeek,a=8-new Date(t,0,1).getDay();8==a&&(a=1);var o=(Date.UTC(t,n,r,0,0,0)-Date.UTC(t,0,1,0,0,0))/864e5+1,s=Math.floor((o-a+7)/7);if(s===i){t--;var l=8-new Date(t,0,1).getDay();s=2==l||8==l?53:52}return s},Date.prototype.isDST=function(){return console.log("isDST"),"D"==this.toString().match(/(E|C|M|P)(S|D)T/)[2]},Date.prototype.getTimezone=function(){return Date.getTimezoneAbbreviation(this.getUTCOffset,this.isDST())},Date.prototype.setTimezoneOffset=function(e){var t=this.getTimezoneOffset(),n=-6*Number(e)/10;return this.addMinutes(n-t),this},Date.prototype.setTimezone=function(e){return this.setTimezoneOffset(Date.getTimezoneOffset(e))},Date.prototype.getUTCOffset=function(){var e,t=-10*this.getTimezoneOffset()/6;return t<0?(e=(t-1e4).toString())[0]+e.substr(2):"+"+(e=(t+1e4).toString()).substr(1)},Date.prototype.getDayName=function(e){return e?Date.CultureInfo.abbreviatedDayNames[this.getDay()]:Date.CultureInfo.dayNames[this.getDay()]},Date.prototype.getMonthName=function(e){return e?Date.CultureInfo.abbreviatedMonthNames[this.getMonth()]:Date.CultureInfo.monthNames[this.getMonth()]},Date.prototype._toString=Date.prototype.toString,Date.prototype.toString=function(e){var t=this,n=function n(e){return 1==e.toString().length?"0"+e:e};return e?e.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(e){switch(e){case"hh":return n(t.getHours()<13?t.getHours():t.getHours()-12);case"h":return t.getHours()<13?t.getHours():t.getHours()-12;case"HH":return n(t.getHours());case"H":return t.getHours();case"mm":return n(t.getMinutes());case"m":return t.getMinutes();case"ss":return n(t.getSeconds());case"s":return t.getSeconds();case"yyyy":return t.getFullYear();case"yy":return t.getFullYear().toString().substring(2,4);case"dddd":return t.getDayName();case"ddd":return t.getDayName(!0);case"dd":return n(t.getDate());case"d":return t.getDate().toString();case"MMMM":return t.getMonthName();case"MMM":return t.getMonthName(!0);case"MM":return n(t.getMonth()+1);case"M":return t.getMonth()+1;case"t":return t.getHours()<12?Date.CultureInfo.amDesignator.substring(0,1):Date.CultureInfo.pmDesignator.substring(0,1);case"tt":return t.getHours()<12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;case"zzz":case"zz":case"z":return""}}):this._toString()},Date.now=function(){return new Date},Date.today=function(){return Date.now().clearTime()},Date.prototype._orient=1,Date.prototype.next=function(){return this._orient=1,this},Date.prototype.last=Date.prototype.prev=Date.prototype.previous=function(){return this._orient=-1,this},Date.prototype._is=!1,Date.prototype.is=function(){return this._is=!0,this},Number.prototype._dateElement="day",Number.prototype.fromNow=function(){var e={};return e[this._dateElement]=this,Date.now().add(e)},Number.prototype.ago=function(){var e={};return e[this._dateElement]=-1*this,Date.now().add(e)},function(){for(var e,t=Date.prototype,n=Number.prototype,r="sunday monday tuesday wednesday thursday friday saturday".split(/\s/),i="january february march april may june july august september october november december".split(/\s/),a="Millisecond Second Minute Hour Day Week Month Year".split(/\s/),o=function(e){return function(){return this._is?(this._is=!1,this.getDay()==e):this.moveToDayOfWeek(e,this._orient)}},s=0;s<r.length;s++)t[r[s]]=t[r[s].substring(0,3)]=o(s);for(var l=function(e){return function(){return this._is?(this._is=!1,this.getMonth()===e):this.moveToMonth(e,this._orient)}},u=0;u<i.length;u++)t[i[u]]=t[i[u].substring(0,3)]=l(u);for(var c=function(e){return function(){return"s"!=e.substring(e.length-1)&&(e+="s"),this["add"+e](this._orient)}},h=function(e){return function(){return this._dateElement=e,this}},d=0;d<a.length;d++)t[e=a[d].toLowerCase()]=t[e+"s"]=c(a[d]),n[e]=n[e+"s"]=h(e)}(),Date.prototype.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ")},Date.prototype.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern)},Date.prototype.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern)},Date.prototype.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern)},Date.prototype.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern)},Date.prototype.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},function(){Date.Parsing={Exception:function(e){this.message="Parse error at '"+e.substring(0,10)+" ...'"}};for(var g=Date.Parsing,y=g.Operators={rtoken:function(n){return function(e){var t=e.match(n);if(t)return[t[0],e.substring(t[0].length)];throw new g.Exception(e)}},token:function(){return function(e){return y.rtoken(new RegExp("^s*"+e+"s*"))(e)}},stoken:function(e){return y.rtoken(new RegExp("^"+e))},until:function(i){return function(e){for(var t=[],n=null;e.length;){try{n=i.call(this,e)}catch(r){t.push(n[0]),e=n[1];continue}break}return[t,e]}},many:function(i){return function(e){for(var t=[],n=null;e.length;){try{n=i.call(this,e)}catch(r){return[t,e]}t.push(n[0]),e=n[1]}return[t,e]}},optional:function(r){return function(e){var t=null;try{t=r.call(this,e)}catch(n){return[null,e]}return[t[0],t[1]]}},not:function(n){return function(e){try{n.call(this,e)}catch(t){return[null,e]}throw new g.Exception(e)}},ignore:function(t){return t?function(e){return[null,t.call(this,e)[1]]}:null},product:function(e){for(var t=e,n=Array.prototype.slice.call(arguments,1),r=[],i=0;i<t.length;i++)r.push(y.each(t[i],n));return r},cache:function(n){var r={},i=null;return function(e){try{i=r[e]=r[e]||n.call(this,e)}catch(t){i=r[e]=t}if(i instanceof g.Exception)throw i;return i}},any:function(){var i=arguments;return function(e){for(var t=null,n=0;n<i.length;n++)if(null!=i[n]){try{t=i[n].call(this,e)}catch(r){t=null}if(t)return t}throw new g.Exception(e)}},each:function(){var a=arguments;return function(e){for(var t=[],n=null,r=0;r<a.length;r++)if(null!=a[r]){try{n=a[r].call(this,e)}catch(i){throw new g.Exception(e)}t.push(n[0]),e=n[1]}return[t,e]}},all:function(){var e=arguments,t=t;return t.each(t.optional(e))},sequence:function(l,u,c){return u=u||y.rtoken(/^\s*/),c=c||null,1==l.length?l[0]:function(e){for(var t=null,n=null,r=[],i=0;i<l.length;i++){try{t=l[i].call(this,e)}catch(a){break}r.push(t[0]);try{n=u.call(this,t[1])}catch(o){n=null;break}e=n[1]}if(!t)throw new g.Exception(e);if(n)throw new g.Exception(n[1]);if(c)try{t=c.call(this,t[1])}catch(s){throw new g.Exception(t[1])}return[r,t?t[1]:e]}},between:function(e,t,n){n=n||e;var i=y.each(y.ignore(e),t,y.ignore(n));return function(e){var t=i.call(this,e);return[[t[0][0],r[0][2]],t[1]]}},list:function(e,t,n){return t=t||y.rtoken(/^\s*/),n=n||null,e instanceof Array?y.each(y.product(e.slice(0,-1),y.ignore(t)),e.slice(-1),y.ignore(n)):y.each(y.many(y.each(e,y.ignore(t))),px,y.ignore(n))},set:function(f,p,m){return p=p||y.rtoken(/^\s*/),m=m||null,function(e){for(var t=null,n=null,r=null,i=null,a=[[],e],o=!1,s=0;s<f.length;s++){t=n=r=null,o=1==f.length;try{t=f[s].call(this,e)}catch(c){continue}if(i=[[t[0]],t[1]],0<t[1].length&&!o)try{r=p.call(this,t[1])}catch(h){o=!0}else o=!0;if(o||0!==r[1].length||(o=!0),!o){for(var l=[],u=0;u<f.length;u++)s!=u&&l.push(f[u]);0<(n=y.set(l,p).call(this,r[1]))[0].length&&(i[0]=i[0].concat(n[0]),i[1]=n[1])}if(i[1].length<a[1].length&&(a=i),0===a[1].length)break}if(0===a[0].length)return a;if(m){try{r=m.call(this,a[1])}catch(d){throw new g.Exception(a[1])}a[1]=r[1]}return a}},forward:function(t,n){return function(e){return t[n].call(this,e)}},replace:function(n,r){return function(e){var t=n.call(this,e);return[r,t[1]]}},process:function(n,r){return function(e){var t=n.call(this,e);return[r.call(this,t[0]),t[1]]}},min:function(n,r){return function(e){var t=r.call(this,e);if(t[0].length<n)throw new g.Exception(e);return t}}},e=function(a){return function(e){var t=null,n=[];if(1<arguments.length?t=Array.prototype.slice.call(arguments):e instanceof Array&&(t=e),!t)return a.apply(null,arguments);for(var r=0,i=t.shift();r<i.length;r++)return t.unshift(i[r]),n.push(a.apply(null,t)),t.shift(),n}},t="optional not ignore cache".split(/\s/),n=0;n<t.length;n++)y[t[n]]=e(y[t[n]]);for(var i=function(t){return function(e){return e instanceof Array?t.apply(null,e):t.apply(null,arguments)}},a="each any all".split(/\s/),o=0;o<a.length;o++)y[a[o]]=i(y[a[o]])}(),function(){var o=function(e){for(var t=[],n=0;n<e.length;n++)e[n]instanceof Array?t=t.concat(o(e[n])):e[n]&&t.push(e[n]);return t};Date.Grammar={},Date.Translator={hour:function(e){return function(){this.hour=Number(e)}},minute:function(e){return function(){this.minute=Number(e)}},second:function(e){return function(){this.second=Number(e)}},meridian:function(e){return function(){this.meridian=e.slice(0,1).toLowerCase()}},timezone:function(t){return function(){var e=t.replace(/[^\d\+\-]/g,"");e.length?this.timezoneOffset=Number(e):this.timezone=t.toLowerCase()}},day:function(e){var t=e[0];return function(){this.day=Number(t.match(/\d+/)[0])}},month:function(e){return function(){this.month=3==e.length?Date.getMonthNumberFromName(e):Number(e)-1}},year:function(t){return function(){var e=Number(t);this.year=2<t.length?e:e+(e+2e3<Date.CultureInfo.twoDigitYearMax?2e3:1900)}},rday:function(e){return function(){switch(e){case"yesterday":this.days=-1;break;case"tomorrow":this.days=1;break;case"today":this.days=0;break;case"now":this.days=0,this.now=!0}}},finishExact:function(e){e=e instanceof Array?e:[e];var t=new Date;this.year=t.getFullYear(),this.month=t.getMonth(),this.day=1,this.hour=0,this.minute=0;for(var n=this.second=0;n<e.length;n++)e[n]&&e[n].call(this);if(this.hour="p"==this.meridian&&this.hour<13?this.hour+12:this.hour,this.day>Date.getDaysInMonth(this.year,this.month))throw new RangeError(this.day+" is not a valid value for days.");var r=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second);return this.timezone?r.set({timezone:this.timezone}):this.timezoneOffset&&r.set({timezoneOffset:this.timezoneOffset}),r},finish:function(e){if(0===(e=e instanceof Array?o(e):[e]).length)return null;for(var t=0;t<e.length;t++)"function"==typeof e[t]&&e[t].call(this);if(this.now)return new Date;var n,r,i,a=Date.today();return!(null==this.days&&!this.orient&&!this.operator)?(i="past"==this.orient||"subtract"==this.operator?-1:1,this.weekday&&(this.unit="day",n=Date.getDayNumberFromName(this.weekday)-a.getDay(),r=7,this.days=n?(n+i*r)%r:i*r),this.month&&(this.unit="month",n=this.month-a.getMonth(),r=12,this.months=n?(n+i*r)%r:i*r,this.month=null),this.unit||(this.unit="day"),null!=this[this.unit+"s"]&&null==this.operator||(this.value||(this.value=1),"week"==this.unit&&(this.unit="day",this.value=7*this.value),this[this.unit+"s"]=this.value*i),a.add(this)):(this.meridian&&this.hour&&(this.hour=this.hour<13&&"p"==this.meridian?this.hour+12:this.hour),this.weekday&&!this.day&&(this.day=a.addDays(Date.getDayNumberFromName(this.weekday)-a.getDay()).getDate()),this.month&&!this.day&&(this.day=1),a.set(this))}};var e,s=Date.Parsing.Operators,r=Date.Grammar,t=Date.Translator;r.datePartDelimiter=s.rtoken(/^([\s\-\.\,\/\x27]+)/),r.timePartDelimiter=s.stoken(":"),r.whiteSpace=s.rtoken(/^\s*/),r.generalDelimiter=s.rtoken(/^(([\s\,]|at|on)+)/);var l={}
4
+ ;r.ctoken=function(e){var t=l[e];if(!t){for(var n=Date.CultureInfo.regexPatterns,r=e.split(/\s+/),i=[],a=0;a<r.length;a++)i.push(s.replace(s.rtoken(n[r[a]]),r[a]));t=l[e]=s.any.apply(null,i)}return t},r.ctoken2=function(e){return s.rtoken(Date.CultureInfo.regexPatterns[e])},r.h=s.cache(s.process(s.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),t.hour)),r.hh=s.cache(s.process(s.rtoken(/^(0[0-9]|1[0-2])/),t.hour)),r.H=s.cache(s.process(s.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),t.hour)),r.HH=s.cache(s.process(s.rtoken(/^([0-1][0-9]|2[0-3])/),t.hour)),r.m=s.cache(s.process(s.rtoken(/^([0-5][0-9]|[0-9])/),t.minute)),r.mm=s.cache(s.process(s.rtoken(/^[0-5][0-9]/),t.minute)),r.s=s.cache(s.process(s.rtoken(/^([0-5][0-9]|[0-9])/),t.second)),r.ss=s.cache(s.process(s.rtoken(/^[0-5][0-9]/),t.second)),r.hms=s.cache(s.sequence([r.H,r.mm,r.ss],r.timePartDelimiter)),r.t=s.cache(s.process(r.ctoken2("shortMeridian"),t.meridian)),r.tt=s.cache(s.process(r.ctoken2("longMeridian"),t.meridian)),r.z=s.cache(s.process(s.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),t.timezone)),r.zz=s.cache(s.process(s.rtoken(/^(\+|\-)\s*\d\d\d\d/),t.timezone)),r.zzz=s.cache(s.process(r.ctoken2("timezone"),t.timezone)),r.timeSuffix=s.each(s.ignore(r.whiteSpace),s.set([r.tt,r.zzz])),r.time=s.each(s.optional(s.ignore(s.stoken("T"))),r.hms,r.timeSuffix),r.d=s.cache(s.process(s.each(s.rtoken(/^([0-2]\d|3[0-1]|\d)/),s.optional(r.ctoken2("ordinalSuffix"))),t.day)),r.dd=s.cache(s.process(s.each(s.rtoken(/^([0-2]\d|3[0-1])/),s.optional(r.ctoken2("ordinalSuffix"))),t.day)),r.ddd=r.dddd=s.cache(s.process(r.ctoken("sun mon tue wed thu fri sat"),function(e){return function(){this.weekday=e}})),r.M=s.cache(s.process(s.rtoken(/^(1[0-2]|0\d|\d)/),t.month)),r.MM=s.cache(s.process(s.rtoken(/^(1[0-2]|0\d)/),t.month)),r.MMM=r.MMMM=s.cache(s.process(r.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),t.month)),r.y=s.cache(s.process(s.rtoken(/^(\d\d?)/),t.year)),r.yy=s.cache(s.process(s.rtoken(/^(\d\d)/),t.year)),r.yyy=s.cache(s.process(s.rtoken(/^(\d\d?\d?\d?)/),t.year)),r.yyyy=s.cache(s.process(s.rtoken(/^(\d\d\d\d)/),t.year)),e=function(){return s.each(s.any.apply(null,arguments),s.not(r.ctoken2("timeContext")))},r.day=e(r.d,r.dd),r.month=e(r.M,r.MMM),r.year=e(r.yyyy,r.yy),r.orientation=s.process(r.ctoken("past future"),function(e){return function(){this.orient=e}}),r.operator=s.process(r.ctoken("add subtract"),function(e){return function(){this.operator=e}}),r.rday=s.process(r.ctoken("yesterday tomorrow today now"),t.rday),r.unit=s.process(r.ctoken("minute hour day week month year"),function(e){return function(){this.unit=e}}),r.value=s.process(s.rtoken(/^\d\d?(st|nd|rd|th)?/),function(e){return function(){this.value=e.replace(/\D/g,"")}}),r.expression=s.set([r.rday,r.operator,r.value,r.unit,r.orientation,r.ddd,r.MMM]),e=function(){return s.set(arguments,r.datePartDelimiter)},r.mdy=e(r.ddd,r.month,r.day,r.year),r.ymd=e(r.ddd,r.year,r.month,r.day),r.dmy=e(r.ddd,r.day,r.month,r.year),r.date=function(e){return(r[Date.CultureInfo.dateElementOrder]||r.mdy).call(this,e)},r.format=s.process(s.many(s.any(s.process(s.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),function(e){if(r[e])return r[e];throw Date.Parsing.Exception(e)}),s.process(s.rtoken(/^[^dMyhHmstz]+/),function(e){return s.ignore(s.stoken(e))}))),function(e){return s.process(s.each.apply(null,e),t.finishExact)});var n={},i=function(e){return n[e]=n[e]||r.format(e)[0]};r.formats=function(e){if(e instanceof Array){for(var t=[],n=0;n<e.length;n++)t.push(i(e[n]));return s.any.apply(null,t)}return i(e)},r._formats=r.formats(["yyyy-MM-ddTHH:mm:ss","ddd, MMM dd, yyyy H:mm:ss tt","ddd MMM d yyyy HH:mm:ss zzz","d"]),r._start=s.process(s.set([r.date,r.time,r.expression],r.generalDelimiter,r.whiteSpace),t.finish),r.start=function(e){try{var t=r._formats.call({},e);if(0===t[1].length)return t}catch(n){}return r._start.call({},e)}}(),Date._parse=Date.parse,Date.parse=function(e){var t=null;if(!e)return null;try{t=Date.Grammar.start.call({},e)}catch(n){return null}return 0===t[1].length?t[0]:null},Date.getParseFunction=function(e){var r=Date.Grammar.formats(e);return function(e){var t=null;try{t=r.call({},e)}catch(n){return null}return 0===t[1].length?t[0]:null}},Date.parseExact=function(e,t){return Date.getParseFunction(t)(e)},function(){function e(e){this.icon=e,this.opacity=.4,this.canvas=document.createElement("canvas"),this.font="Helvetica, Arial, sans-serif"}function r(e){return e=Math.round(e),isNaN(e)||e<1?"":e<10?" "+e:99<e?"99":e}function i(e,t,n,r,i){var a,o,s,l,u,c,h,d=document.getElementsByTagName("head")[0],f=document.createElement("link");f.rel="icon",o=11*(a=r.width/16),u=11*(l=a),h=2*(c=a),e.height=e.width=r.width,(s=e.getContext("2d")).font="bold "+o+"px "+n,i&&(s.globalAlpha=t),s.drawImage(r,0,0),s.globalAlpha=1,s.shadowColor="#FFF",s.shadowBlur=h,s.shadowOffsetX=0,s.shadowOffsetY=0,s.fillStyle="#FFF",s.fillText(i,l,u),s.fillText(i,l+c,u),s.fillText(i,l,u+c),s.fillText(i,l+c,u+c),s.fillStyle="#000",s.fillText(i,l+c/2,u+c/2),f.href=e.toDataURL("image/png"),d.removeChild(document.querySelector("link[rel=icon]")),d.appendChild(f)}e.prototype.set=function(e){var t=this,n=document.createElement("img");t.canvas.getContext&&(n.crossOrigin="anonymous",n.onload=function(){i(t.canvas,t.opacity,t.font,n,r(e))},n.src=this.icon)},this.Favcount=e}.call(this),function(){Favcount.VERSION="1.5.0"}.call(this);var Flexie=function(win,doc){function trim(e){return e&&(e=e.replace(LEADINGTRIM,EMPTY_STRING).replace(TRAILINGTRIM,EMPTY_STRING)),e}function determineSelectorMethod(){var engines=ENGINES,method,engine,obj;for(engine in engines)if(engines.hasOwnProperty(engine)&&(obj=engines[engine],win[engine]&&!method&&(method=eval(obj.s.replace("*",engine)),method))){ENGINE=engine;break}return method}function addEvent(e,t){var n=win[e="on"+e];"function"!=typeof win[e]?win[e]=t:win[e]=function(){n&&n(),t()}}function attachLoadMethod(handler){ENGINE||(LIBRARY=determineSelectorMethod());var engines=ENGINES,method,caller,args,engine,obj;for(engine in engines)if(engines.hasOwnProperty(engine)&&(obj=engines[engine],win[engine]&&!method&&obj.m&&(method=eval(obj.m.replace("*",engine)),caller=obj.c?eval(obj.c.replace("*",engine)):win,args=[],method&&caller))){obj.p&&args.push(obj.p),args.push(handler),method.apply(caller,args);break}method||addEvent("load",handler)}function buildSelector(e){var t=e.nodeName.toLowerCase();return e.id?t+="#"+e.id:e.FLX_DOM_ID&&(t+="["+FLX_DOM_ATTR+"='"+e.FLX_DOM_ID+"']"),t}function setFlexieId(e){e.FLX_DOM_ID||(FLX_DOM_ID+=1,e.FLX_DOM_ID=FLX_DOM_ID,e.setAttribute(FLX_DOM_ATTR,e.FLX_DOM_ID))}function buildSelectorTree(e){var t,n,r,i,a,o,s,l,u,c=[];for(l in t=(e=(e=e.replace(WHITESPACE_CHARACTERS,EMPTY_STRING)).replace(/\s?(\{|\:|\})\s?/g,PLACEHOLDER_STRING)).split(END_MUSTACHE))if(t.hasOwnProperty(l)&&(e=t[l])&&(n=[e,END_MUSTACHE].join(EMPTY_STRING),(r=/(\@media[^\{]+\{)?(.*)\{(.*)\}/.exec(n))&&r[3])){for(u in i=r[2],s=[],a=r[3].split(";"))a.hasOwnProperty(u)&&(o=a[u].split(":")).length&&o[1]&&s.push({property:o[0],value:o[1]});i&&s.length&&c.push({selector:i,properties:s})}return c}function findFlexboxElements(e){var t,n,r,i,a,d,o,s,l,u,c,h,f,p,m,g,y,v=/\s?,\s?/,b={},T={};for(d=function(e,t,n,r){var i,a,o,s;for(i={selector:trim(e),properties:[]},a=0,o=t.properties.length;a<o;a++)s=t.properties[a],i.properties.push({property:trim(s.property),value:trim(s.value)});return n&&r&&(i[n]=r),i},o=function(e,t,n,r){var i,a,o,s,l,u,c,h=n&&r?b[e]:T[e];if(h){for(o=0,s=t.properties.length;o<s;o++){for(l=t.properties[o],u=0,c=h.properties.length;u<c;u++)if(a=h.properties[u],l.property===a.property)return i=u,!1;i?h.properties[i]=l:h.properties.push(l)}n&&r&&(h[n]=r)}else n&&r?b[e]=d(e,t,n,r):T[e]=d(e,t,NULL,NULL)},l=0,u=e.length;l<u;l++)for(h=0,f=(t=trim((c=e[l]).selector).replace(v,",").split(v)).length;h<f;h++)for(p=trim(t[h]),m=0,g=(n=c.properties).length;m<g;m++)if(r=trim((y=n[m]).property),i=trim(y.value),r)switch(a=r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&o(p,c,NULL,NULL);break;case"orient":case"align":case"direction":case"pack":o(p,c,NULL,NULL);break;case"flex":case"flex-group":case"ordinal-group":o(p,c,a,i)}for(s in T)T.hasOwnProperty(s)&&FLEX_BOXES.push(T[s]);for(s in b)b.hasOwnProperty(s)&&POSSIBLE_FLEX_CHILDREN.push(b[s]);return{boxes:FLEX_BOXES,children:POSSIBLE_FLEX_CHILDREN}}function matchFlexChildren(e,t,n){var r,i,a,o,s,l,u,c,h,d=[];for(a=0,o=n.length;a<o;a++)if((s=n[a]).selector){if((r=(r=t(s.selector))[0]?r:[r])[0])for(l=0,u=r.length;l<u;l++)if((c=r[l]).nodeName!==UNDEFINED)switch(c.nodeName.toLowerCase()){case"script":case"style":case"link":break;default:if(c.parentNode===e){for(h in setFlexieId(c),i={},s)s.hasOwnProperty(h)&&(i[h]=s[h]);i.match=c,d.push(i)}}}else setFlexieId(s),d.push({match:s,selector:buildSelector(s)});return d}function getParams(e){var t;for(t in e)e.hasOwnProperty(t)&&(e[t]=e[t]||DEFAULTS[t]);return e}function buildFlexieCall(e){var t,n,r,i,a,o,s,l,u,c,h,d,f,p,m,g,y,v,b,T,x,E,D,w,S,_,N,M,L={},C="["+FLX_PARENT_ATTR+"]";if(e){for(m=0,g=e.boxes.length;m<g;m++){for((y=e.boxes[m]).selector=trim(y.selector),t=y.selector,n=y.properties,a=o=s=l=u=NULL,v=0,b=n.length;v<b;v++)if(r=trim((T=n[v]).property),i=trim(T.value),r)switch(r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&(a=i);break;case"orient":o=i;break;case"align":s=i;break;case"direction":l=i;break;case"pack":u=i}for(v=0,b=(h=(h=(c=LIBRARY)(y.selector))[0]?h:[h]).length;v<b;v++)if((x=h[v]).nodeType)if(setFlexieId(x),d={target:x,selector:t,properties:n,children:matchFlexChildren(x,c,e.children),display:a,orient:o,align:s,direction:l,pack:u,nested:t+" "+C},f=L[x.FLX_DOM_ID]){for(E in d)if(d.hasOwnProperty(E))switch(i=d[E],E){case"selector":i&&!new RegExp(i).test(f[E])&&(f[E]+=", "+i);break;case"children":for(D=0,w=d[E].length;D<w;D++){for(S=d[E][D],p=FALSE,_=0,N=f[E].length;_<N;_++)M=f[E][_],S.match.FLX_DOM_ID===M.match.FLX_DOM_ID&&(p=TRUE);p||f[E].push(S)}break;default:i&&(f[E]=i)}}else L[x.FLX_DOM_ID]=getParams(d),L[x.FLX_DOM_ID].target.setAttribute(FLX_PARENT_ATTR,TRUE)}for(DOM_ORDERED=LIBRARY(C),FLEX_BOXES={},m=0,g=DOM_ORDERED.length;m<g;m++)x=DOM_ORDERED[m],FLEX_BOXES[x.FLX_DOM_ID]=L[x.FLX_DOM_ID];for(E in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(E)&&"box"===(y=FLEX_BOXES[E]).display&&new FLX.box(y)}}function calcPx(e,t,n){var r,i,a,o=e["offset"+n.replace(n.charAt(0),n.charAt(0).toUpperCase())]||0;if(o)for(r=0,i=t.length;r<i;r++)a=parseFloat(e.currentStyle[t[r]]),isNaN(a)||(o-=a);return o}function getTrueValue(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],a=e.style;return!PIXEL.test(i)&&NUMBER.test(i)&&(n=a.left,r=e.runtimeStyle.left,e.runtimeStyle.left=e.currentStyle.left,a.left=i||0,i=a.pixelLeft+"px",a.left=n||0,e.runtimeStyle.left=r),i}function unAuto(e,t,n){switch(n){case"width":t=calcPx(e,[PADDING_LEFT,PADDING_RIGHT,BORDER_LEFT,BORDER_RIGHT],n);break;case"height":t=calcPx(e,[PADDING_TOP,PADDING_BOTTOM,BORDER_TOP,BORDER_BOTTOM],n);break;default:t=getTrueValue(e,n)}return t}function getPixelValue(e,t,n){return PIXEL.test(t)?t:t="auto"===t||"medium"===t?unAuto(e,t,n):getTrueValue(e,n)}function getComputedStyle(e,t,n){var r;if(e!==UNDEFINED)return r=win.getComputedStyle?win.getComputedStyle(e,NULL)[t]:SIZES.test(t)?getPixelValue(e,e&&e.currentStyle?e.currentStyle[t]:0,t):e.currentStyle[t],n&&(r=parseInt(r,10),isNaN(r)&&(r=0)),r}function clientWidth(e){return e.innerWidth||e.clientWidth}function clientHeight(e){return e.innerHeight||e.clientHeight}function appendProperty(e,t,n,r){var i,a,o,s=[];for(i=0,a=PREFIXES.length;i<a;i++)o=PREFIXES[i],s.push((r?o:EMPTY_STRING)+t+":"+(r?EMPTY_STRING:o)+n);return e.style.cssText+=s.join(";"),e}function appendPixelValue(e,t,n){var r,i,a=e&&e[0]?e:[e];for(r=0,i=a.length;r<i;r++)(e=a[r])&&e.style&&(e.style[t]=n?n+"px":EMPTY_STRING)}function calculateSpecificity(e){var t,n,r,i,a,o;for(n={_id:100,_class:10,_tag:1},i=r=0,a=(t=e.replace(CSS_SELECTOR,function(e,t){return"%"+t}).replace(/\s|\>|\+|\~/g,"%").split(/%/g)).length;i<a;i++)o=t[i],/#/.test(o)?r+=n._id:/\.|\[|\:/.test(o)?r+=n._class:/[a-zA-Z]+/.test(o)&&(r+=n._tag);return r}function filterDuplicates(e,t,n){var r,i,a,o,s,l,u,c=[],h=(n?"ordinal":"flex")+"Specificity";for(i=0,a=e.length;i<a;i++)if(o=e[i],!n&&o.flex||n&&o["ordinal-group"]){for(o[h]=o[h]||calculateSpecificity(o.selector),r=FALSE,s=0,l=c.length;s<l;s++)if((u=c[s]).match===o.match)return u[h]<o[h]&&(c[a]=o),r=TRUE,FALSE;r||c.push(o)}return c}function createMatchMatrix(e,t,n){var r,i,a,o,s,l,u,c,h={},d=[],f=0,p="ordinal-group",m="data-"+p;for(e=filterDuplicates(e,t,n),i=0,a=t.length;i<a;i++){for(o=t[i],s=0,l=e.length;s<l;s++)u=e[s],n?(r=u[p]||"1",u.match===o&&(u.match.setAttribute(m,r),h[r]=h[r]||[],h[r].push(u))):(r=u.flex||"0",u.match===o&&(!u[r]||u[r]&&parseInt(u[r],10)<=1)&&(f+=parseInt(r,10),h[r]=h[r]||[],h[r].push(u)));n&&!o.getAttribute(m)&&(r="1",o.setAttribute(m,r),h[r]=h[r]||[],h[r].push({match:o}))}for(c in h)h.hasOwnProperty(c)&&d.push(c);return d.sort(function(e,t){return t-e}),{keys:d,groups:h,total:f}}function attachResizeListener(){if(!RESIZE_LISTENER){var e,t,n,r,i,a=doc.body,o=doc.documentElement,s="innerWidth",l="innerHeight",u="clientWidth",c="clientHeight";addEvent("resize",function(){i&&window.clearTimeout(i),i=window.setTimeout(function(){n=win[s]||o[s]||o[u]||a[u],r=win[l]||o[l]||o[c]||a[c],e===n&&t===r||(FLX.updateInstance(NULL,NULL),e=n,t=r)},250)}),RESIZE_LISTENER=TRUE}}function cleanPositioningProperties(e){var t,n,r,i,a;for(t=0,n=e.length;t<n;t++)i=(r=e[t]).style.width,a=r.style.height,r.style.cssText=EMPTY_STRING,r.style.width=i,r.style.height=a}function sanitizeChildren(e,t){var n,r,i,a=[];for(r=0,i=t.length;r<i;r++)if(n=t[r])switch(n.nodeName.toLowerCase()){case"script":case"style":case"link":break;default:1===n.nodeType?a.push(n):3===n.nodeType&&(n.isElementContentWhitespace||ONLY_WHITESPACE.test(n.data))&&(e.removeChild(n),r--)}return a}function parentFlex(e){for(var t,n=0,r=e.parentNode;r.FLX_DOM_ID;)n+=createMatchMatrix(FLEX_BOXES[r.FLX_DOM_ID].children,sanitizeChildren(r,r.childNodes),NULL).total,t=TRUE,r=r.parentNode;return{nested:t,flex:n}}function dimensionValues(e,t){var n,r,i,a,o,s=e.parentNode;if(s.FLX_DOM_ID)for(i=0,a=(n=FLEX_BOXES[s.FLX_DOM_ID]).properties.length;i<a;i++)if(o=n.properties[i],new RegExp(t).test(o.property))return r=TRUE,FALSE;return r}function updateChildValues(e){var t,n;if(e.flexMatrix)for(t=0,n=e.children.length;t<n;t++)e.children[t].flex=e.flexMatrix[t];if(e.ordinalMatrix)for(t=0,n=e.children.length;t<n;t++)e.children[t]["ordinal-group"]=e.ordinalMatrix[t];return e}function ensureStructuralIntegrity(e,t){var n=e.target;return n.FLX_DOM_ID||(n.FLX_DOM_ID=n.FLX_DOM_ID||++FLX_DOM_ID),e.nodes||(e.nodes=sanitizeChildren(n,n.childNodes)),e.selector||(e.selector=buildSelector(n),n.setAttribute(FLX_PARENT_ATTR,TRUE)),e.properties||(e.properties=[]),e.children||(e.children=matchFlexChildren(n,LIBRARY,sanitizeChildren(n,n.childNodes))),e.nested||(e.nested=e.selector+" ["+FLX_PARENT_ATTR+"]"),e.target=n,e._instance=t,e}var FLX={},FLX_DOM_ID=0,FLX_DOM_ATTR="data-flexie-id",FLX_PARENT_ATTR="data-flexie-parent",SUPPORT,ENGINE,ENGINES={NW:{s:"*.Dom.select"},DOMAssistant:{s:"*.$",m:"*.DOMReady"},Prototype:{s:"$$",m:"document.observe",p:"dom:loaded",c:"document"},YAHOO:{s:"*.util.Selector.query",m:"*.util.Event.onDOMReady",c:"*.util.Event"},MooTools:{s:"$$",m:"window.addEvent",p:"domready"},Sizzle:{s:"*"},jQuery:{s:"*",m:"*(document).ready"},dojo:{s:"*.query",m:"*.addOnLoad"}},LIBRARY,PIXEL=/^-?\d+(?:px)?$/i,NUMBER=/^-?\d/,SIZES=/width|height|margin|padding|border/,MSIE=/(msie) ([\w.]+)/,WHITESPACE_CHARACTERS=/\t|\n|\r/g,RESTRICTIVE_PROPERTIES=/^max\-([a-z]+)/,PROTOCOL=/^https?:\/\//i,LEADINGTRIM=/^\s\s*/,TRAILINGTRIM=/\s\s*$/,ONLY_WHITESPACE=/^\s*$/,CSS_SELECTOR=/\s?(\#|\.|\[|\:(\:)?[^first\-(line|letter)|before|after]+)/g,EMPTY_STRING="",SPACE_STRING=" ",PLACEHOLDER_STRING="$1",PADDING_RIGHT="paddingRight",PADDING_BOTTOM="paddingBottom",PADDING_LEFT="paddingLeft",PADDING_TOP="paddingTop",BORDER_RIGHT="borderRightWidth",BORDER_BOTTOM="borderBottomWidth",BORDER_LEFT="borderLeftWidth",BORDER_TOP="borderTopWidth",HORIZONTAL="horizontal",VERTICAL="vertical",INLINE_AXIS="inline-axis",BLOCK_AXIS="block-axis",INHERIT="inherit",LEFT="left",END_MUSTACHE="}",PREFIXES=" -o- -moz- -ms- -webkit- -khtml- ".split(SPACE_STRING),DEFAULTS={orient:HORIZONTAL,align:"stretch",direction:INHERIT,pack:"start"},FLEX_BOXES=[],POSSIBLE_FLEX_CHILDREN=[],DOM_ORDERED,RESIZE_LISTENER,TRUE=!0,FALSE=!1,NULL=null,UNDEFINED,BROWSER={IE:(lH=win.navigator.userAgent,mH=MSIE.exec(lH.toLowerCase()),mH&&(kH=parseInt(mH[2],10)),kH)},selectivizrEngine,kH,lH,mH;return selectivizrEngine=function(){function t(e){return e.replace(g,PLACEHOLDER_STRING)}function n(e){return t(e).replace(m,SPACE_STRING)}function o(e){return n(e.replace(f,PLACEHOLDER_STRING).replace(p,PLACEHOLDER_STRING))}function c(e){return e.replace(s,function(e,t,n){var r,i,a;for(i=0,a=(r=n.split(",")).length;i<a;i++)o(r[i])+SPACE_STRING;return t+r.join(",")})}function r(){if(win.XMLHttpRequest)return new win.XMLHttpRequest;try{return new win.ActiveXObject("Microsoft.XMLHTTP")}catch(e){return NULL}}function i(e){for(var t,n=/<style[^<>]*>([^<>]*)<\/style[\s]?>/gim,r=n.exec(e),i=[];r;)(t=r[1])&&i.push(t),r=n.exec(e);return i.join("\n\n")}function e(e){var t,n=r();return n.open("GET",e,FALSE),n.send(),t=200===n.status?n.responseText:EMPTY_STRING,e===window.location.href&&(t=i(t)),t}function h(e,t){function n(e){return e.substring(0,e.indexOf("/",8))}if(e){if(PROTOCOL.test(e))return n(t)===n(e)?e:NULL;if("/"===e.charAt(0))return n(t)+e;var r=t.split("?")[0];return"?"!==e.charAt(0)&&"/"!==r.charAt(r.length-1)&&(r=r.substring(0,r.lastIndexOf("/")+1)),r+e}}function d(s){return s?e(s).replace(a,EMPTY_STRING).replace(l,function(e,t,n,r,i,a){var o=d(h(n||i,s));return a?"@media "+a+" {"+o+"}":o}).replace(u,function(e,t,n,r){return n=n||EMPTY_STRING,t?e:" url("+n+h(r,s,!0)+n+") "}):EMPTY_STRING}var a=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*?/g,l=/@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))\s*([^;]*);/g,u=/(behavior\s*?:\s*)?\burl\(\s*(["']?)(?!data:)([^"')]+)\2\s*\)/g,s=/((?:^|(?:\s*\})+)(?:\s*@media[^\{]+\{)?)\s*([^\{]*?[\[:][^{]+)/g,f=/([(\[+~])\s+/g,p=/\s+([)\]+~])/g,m=/\s+/g,g=/^\s*((?:[\S\s]*\S)?)\s*$/;return function(){var e,t,n,r,i,a,o=[],s=doc.getElementsByTagName("BASE"),l=0<s.length?s[0].href:doc.location.href,u=doc.styleSheets;for(n=0,r=u.length;n<r;n++)(t=u[n])!=NULL&&o.push(t);for(o.push(window.location),n=0,r=o.length;n<r;n++)(t=o[n])&&((e=h(t.href,l))&&(i=c(d(e))),i&&(a=findFlexboxElements(buildSelectorTree(i))));buildFlexieCall(a)}}(),FLX.box=function(e){return this.renderModel(e)},FLX.box.prototype={properties:{boxModel:function(e,t,n){var r,i,a,o,s,l,u;if(e.style.display="block",8===BROWSER.IE&&(e.style.overflow="hidden"),!n.cleared){for(r=n.selector.split(/\s?,\s?/),i=(i=doc.styleSheets)[i.length-1],a="padding-top:"+(getComputedStyle(e,PADDING_TOP,NULL)||"0.1px;"),o=["content: '.'","display: block","height: 0","overflow: hidden"].join(";"),s=0,l=r.length;s<l;s++)u=r[s],i.addRule?BROWSER.IE<8?(e.style.zoom="1",6===BROWSER.IE?i.addRule(u.replace(/\>|\+|\~/g,""),a+"zoom:1;",0):7===BROWSER.IE&&i.addRule(u,a+"display:inline-block;",0)):(i.addRule(u,a,0),i.addRule(u+":before",o,0),i.addRule(u+":after",o+";clear:both;",0)):i.insertRule&&(i.insertRule(u+"{"+a+"}",0),i.insertRule(u+":after{"+o+";clear:both;}",0));n.cleared=TRUE}},boxDirection:function(e,t,n){var r,i,a,o,s,l;if("reverse"===n.direction&&!n.reversed||"normal"===n.direction&&n.reversed){for(a=0,o=(t=t.reverse()).length;a<o;a++)s=t[a],e.appendChild(s);for(a=0,o=(r=LIBRARY(n.nested)).length;a<o;a++)l=r[a],(i=FLEX_BOXES[l.FLX_DOM_ID])&&i.direction===INHERIT&&(i.direction=n.direction);n.reversed=!n.reversed}},boxOrient:function(e,t,n){var r,i,a,o,s,l=this;if(r={pos:"marginLeft",opp:"marginRight",dim:"width",out:"offsetWidth",func:clientWidth,pad:[PADDING_LEFT,PADDING_RIGHT,BORDER_LEFT,BORDER_RIGHT]},i={pos:"marginTop",opp:"marginBottom",dim:"height",out:"offsetHeight",func:clientHeight,pad:[PADDING_TOP,PADDING_BOTTOM,BORDER_TOP,BORDER_BOTTOM]},!SUPPORT)for(a=0,o=t.length;a<o;a++)(s=t[a]).style[9<=BROWSER.IE?"cssFloat":"styleFloat"]=LEFT,n.orient!==VERTICAL&&n.orient!==BLOCK_AXIS||(s.style.clear=LEFT),6===BROWSER.IE&&(s.style.display="inline");switch(n.orient){case VERTICAL:case BLOCK_AXIS:l.props=i,l.anti=r;break;default:l.props=r,l.anti=i}},boxOrdinalGroup:function(u,c,h){var e,t;c.length&&(e=function(e){var t,n,r,i,a,o,s=e.keys,l=h.reversed?s:s.reverse();for(t=0,n=l.length;t<n;t++)for(r=l[t],i=0,a=c.length;i<a;i++)r===(o=c[i]).getAttribute("data-ordinal-group")&&u.appendChild(o)},1<(t=createMatchMatrix(h.children,c,TRUE)).keys.length&&e(t))},boxFlex:function(u,c,e){var t,n,r,i,g=this;c.length&&(t=function(e){var t,n,r,i,a,o,s,l,u,c,h=e.groups,d=e.keys;for(n=0,r=d.length;n<r;n++)for(a=0,o=h[i=d[n]].length;a<o;a++){for(s=h[i][a],t=NULL,l=0,u=s.properties.length;l<u;l++)c=s.properties[l],RESTRICTIVE_PROPERTIES.test(c.property)&&(t=parseFloat(c.value));(!t||s.match[g.props.out]>t)&&appendPixelValue(s.match,g.props.pos,NULL)}},n=function(e){var t,n,r,i,a,o,s,l=0;for(n=0,r=c.length;n<r;n++){for(l+=getComputedStyle(i=c[n],g.props.dim,TRUE),a=0,o=g.props.pad.length;a<o;a++)l+=getComputedStyle(i,s=g.props.pad[a],TRUE);l+=getComputedStyle(i,g.props.pos,TRUE),l+=getComputedStyle(i,g.props.opp,TRUE)}for(t=u[g.props.out]-l,n=0,r=g.props.pad.length;n<r;n++)s=g.props.pad[n],t-=getComputedStyle(u,s,TRUE);return{whitespace:t,ration:t/e.total}},r=function(e,t){var n,r,i,a,o,s,l,u,c,h,d,f=e.groups,p=e.keys,m=t.ration;for(s=0,l=p.length;s<l;s++)for(i=m*(u=p[s]),c=0,h=f[u].length;c<h;c++)(d=f[u][c]).match&&(n=d.match.getAttribute("data-flex"),r=d.match.getAttribute("data-specificity"),(!n||r<=d.flexSpecificity)&&(d.match.setAttribute("data-flex",u),d.match.setAttribute("data-specificity",d.flexSpecificity),a=getComputedStyle(d.match,g.props.dim,TRUE),o=Math.max(0,a+i),appendPixelValue(d.match,g.props.dim,o)))},(i=createMatchMatrix(e.children,c,NULL)).total&&(e.hasFlex=TRUE,t(i),r(i,n(i))))},boxAlign:function(e,t,n){var r,i,a,o,s,l,u,c,h=this,d=parentFlex(e);for(SUPPORT||d.flex||n.orient!==VERTICAL&&n.orient!==BLOCK_AXIS||(dimensionValues(e,h.anti.dim)||appendPixelValue(e,h.anti.dim,NULL),appendPixelValue(t,h.anti.dim,NULL)),r=e[h.anti.out],a=0,o=h.anti.pad.length;a<o;a++)r-=getComputedStyle(e,s=h.anti.pad[a],TRUE);switch(n.align){case"start":break;case"end":for(a=0,o=t.length;a<o;a++)i=r-(c=t[a])[h.anti.out],i-=getComputedStyle(c,h.anti.opp,TRUE),appendPixelValue(c,h.anti.pos,i);break;case"center":for(a=0,o=t.length;a<o;a++)i=(r-(c=t[a])[h.anti.out])/2,appendPixelValue(c,h.anti.pos,i);break;default:for(a=0,o=t.length;a<o;a++)switch((c=t[a]).nodeName.toLowerCase()){case"button":case"input":case"select":break;default:var f=0;for(l=0,u=h.anti.pad.length;l<u;l++)f+=getComputedStyle(c,s=h.anti.pad[l],TRUE),f+=getComputedStyle(e,s,TRUE);for(c.style[h.anti.dim]="100%",i=c[h.anti.out]-f,appendPixelValue(c,h.anti.dim,NULL),i=r,i-=getComputedStyle(c,h.anti.pos,TRUE),l=0,u=h.anti.pad.length;l<u;l++)i-=getComputedStyle(c,s=h.anti.pad[l],TRUE);i-=getComputedStyle(c,h.anti.opp,TRUE),i=Math.max(0,i),appendPixelValue(c,h.anti.dim,i)}}},boxPack:function(e,t,n){var r,i,a,o,s,l,u,c,h=this,d=0,f=0,p=0,m=t.length-1;for(l=0,u=t.length;l<u;l++)d+=(s=t[l])[h.props.out],d+=getComputedStyle(s,h.props.pos,TRUE),d+=getComputedStyle(s,h.props.opp,TRUE);for(f=getComputedStyle(t[0],h.props.pos,TRUE),r=e[h.props.out]-d,l=0,u=h.props.pad.length;l<u;l++)r-=getComputedStyle(e,h.props.pad[l],TRUE);switch(r<0&&(r=Math.max(0,r)),n.pack){case"end":appendPixelValue(t[0],h.props.pos,p+f+r);break;case"center":p&&(p/=2),appendPixelValue(t[0],h.props.pos,p+f+Math.floor(r/2));break;case"justify":for(o=(i=Math.floor((p+r)/m))*m-r,l=t.length-1;l;)a=i,o&&(a++,o++),c=getComputedStyle(s=t[l],h.props.pos,TRUE)+a,appendPixelValue(s,h.props.pos,c),l--}e.style.overflow=""}},setup:function(e,t,n){var r,i,a,o=this;if(e&&t&&n)if(SUPPORT&&SUPPORT.partialSupport)r=createMatchMatrix(n.children,t,NULL),i=parentFlex(e),t=sanitizeChildren(e,e.childNodes),o.properties.boxOrient.call(o,e,t,n),r.total&&LIBRARY(n.nested).length||("stretch"!==n.align||SUPPORT.boxAlignStretch||i.nested&&i.flex||o.properties.boxAlign.call(o,e,t,n),"justify"!==n.pack||SUPPORT.boxPackJustify||r.total||o.properties.boxPack.call(o,e,t,n));else if(!SUPPORT)for(a in o.properties)o.properties.hasOwnProperty(a)&&o.properties[a].call(o,e,sanitizeChildren(e,e.childNodes),n)},trackDOM:function(e){attachResizeListener(this,e)},updateModel:function(e){var t=this,n=e.target,r=e.nodes;cleanPositioningProperties(r),(e.flexMatrix||e.ordinalMatrix)&&(e=updateChildValues(e)),t.setup(n,r,e),t.bubbleUp(n,e)},renderModel:function(e){var t=this,n=e.target,r=n.childNodes;return!(!n.length&&!r)&&(e=ensureStructuralIntegrity(e,this),t.updateModel(e),win.setTimeout(function(){t.trackDOM(e)},0),t)},bubbleUp:function(e,t){for(var n,r=this,i=t.target.parentNode;i;)(n=FLEX_BOXES[i.FLX_DOM_ID])&&(cleanPositioningProperties(n.nodes),r.setup(n.target,n.nodes,n)),i=i.parentNode}},FLX.updateInstance=function(e,t){var n,r;if(e)(n=FLEX_BOXES[e.FLX_DOM_ID])&&n._instance?n._instance.updateModel(n):n||(n=new FLX.box(t));else for(r in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(r)&&(n=FLEX_BOXES[r])&&n._instance&&n._instance.updateModel(n)},FLX.getInstance=function(e){return FLEX_BOXES[e.FLX_DOM_ID]},FLX.destroyInstance=function(e){var t,n,r,i,a;if(n=function(e){for(e.target.FLX_DOM_ID=NULL,e.target.style.cssText=EMPTY_STRING,r=0,i=e.children.length;r<i;r++)e.children[r].match.style.cssText=EMPTY_STRING},e)(t=FLEX_BOXES[e.FLX_DOM_ID])&&n(t);else{for(a in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(a)&&n(FLEX_BOXES[a]);FLEX_BOXES=[]}},FLX.flexboxSupport=function(){var e,t,n,r,i={},a=100,o=doc.createElement("flxbox"),s='<b style="margin: 0; padding: 0; display:block; width: 10px; height:'+a/2+'px"></b>';for(r in o.style.width=o.style.height=a+"px",o.innerHTML=s+s+s,appendProperty(o,"display","box",NULL),appendProperty(o,"box-align","stretch",TRUE),appendProperty(o,"box-pack","justify",TRUE),doc.body.appendChild(o),e=o.firstChild.offsetHeight,t={boxAlignStretch:function(){return 100===e},boxPackJustify:function(){var e,t,n=0;for(e=0,t=o.childNodes.length;e<t;e++)n+=o.childNodes[e].offsetLeft;return 135===n}})t.hasOwnProperty(r)&&((n=(0,t[r])())||(i.partialSupport=TRUE),i[r]=n);return doc.body.removeChild(o),~o.style.display.indexOf("box")?i:FALSE},FLX.init=function(){FLX.flexboxSupported=SUPPORT=FLX.flexboxSupport(),SUPPORT&&!SUPPORT.partialSupport||!LIBRARY||selectivizrEngine()},FLX.version="1.0.3",attachLoadMethod(FLX.init),FLX}(this,document);!function(t){function s(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function l(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function u(e){for(b in x)x[b]=e[N[b]]}function n(e){var t,n,r,i,a,o;if(t=e.keyCode,-1==s(_,t)&&_.push(t),93!=t&&224!=t||(t=91),t in x)for(r in x[t]=!0,D)D[r]==t&&(c[r]=!0);else if(u(e),c.filter.call(this,e)&&t in T)for(o=f(),i=0;i<T[t].length;i++)if((n=T[t][i]).scope==o||"all"==n.scope){for(r in a=0<n.mods.length,x)(!x[r]&&-1<s(n.mods,+r)||x[r]&&-1==s(n.mods,+r))&&(a=!1);(0!=n.mods.length||x[16]||x[18]||x[17]||x[91])&&!a||!1===n.method(e,n)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function e(e){var t,n=e.keyCode,r=s(_,n);if(0<=r&&_.splice(r,1),93!=n&&224!=n||(n=91),n in x)for(t in x[n]=!1,D)D[t]==n&&(c[t]=!1)}function r(){for(b in x)x[b]=!1;for(b in D)c[b]=!1}function c(e,t,n){var r,i;r=m(e),n===undefined&&(n=t,t="all");for(var a=0;a<r.length;a++)i=[],1<(e=r[a].split("+")).length&&(i=g(e),e=[e[e.length-1]]),e=e[0],(e=S(e))in T||(T[e]=[]),T[e].push({shortcut:r[a],scope:t,method:n,key:r[a],mods:i})}function i(e,t){var n,r,i,a,o,s=[];for(n=m(e),a=0;a<n.length;a++){if(1<(r=n[a].split("+")).length&&(s=g(r),e=r[r.length-1]),e=S(e),t===undefined&&(t=f()),!T[e])return;for(i=0;i<T[e].length;i++)(o=T[e][i]).scope===t&&l(o.mods,s)&&(T[e][i]={})}}function a(e){return"string"==typeof e&&(e=S(e)),-1!=s(_,e)}function o(){return _.slice(0)}function h(e){var t=(e.target||e.srcElement).tagName;return!("INPUT"==t||"SELECT"==t||"TEXTAREA"==t)}function d(e){E=e||"all"}function f(){return E||"all"}function p(e){var t,n,r;for(t in T)for(n=T[t],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++}function m(e){var t;return""==(t=(e=e.replace(/\s/g,"")).split(","))[t.length-1]&&(t[t.length-2]+=","),t}function g(e){for(var t=e.slice(0,e.length-1),n=0;n<t.length;n++)t[n]=D[t[n]];return t}function y(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,function(){n(window.event)})}function v(){var e=t.key;return t.key=M,e}var b,T={},x={16:!1,18:!1,17:!1,91:!1},E="all",D={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,command:91},w={backspace:8,tab:9,clear:12,enter:13,"return":13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,"delete":46,home:36,end:35,pageup:33,pagedown:34,",":188,".":190,"/":191,"`":192,"-":189,"=":187,";":186,"'":222,"[":219,"]":221,"\\":220},S=function(e){return w[e]||e.toUpperCase().charCodeAt(0)},_=[];for(b=1;b<20;b++)w["f"+b]=111+b;var N={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey"};for(b in D)c[b]=!1;y(document,"keydown",function(e){n(e)}),y(document,"keyup",e),y(window,"focus",r);var M=t.key;t.key=c,t.key.setScope=d,t.key.getScope=f,t.key.deleteScope=p,t.key.filter=h,t.key.isPressed=a,t.key.getPressedKeyCodes=o,t.key.noConflict=v,t.key.unbind=i,"undefined"!=typeof module&&(module.exports=key)}(this),Window.prototype.forceJURL=!1,function(e){"use strict";function v(e){return D[e]!==undefined}function b(){i.call(this),this._isInvalid=!0}function T(e){return""==e&&b.call(this),e.toLowerCase()}function x(e){var t=e.charCodeAt(0);return 32<t&&t<127&&-1==[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function E(e){var t=e.charCodeAt(0);return 32<t&&t<127&&-1==[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function r(e,t,n){function r(e){u.push(e)}var i=t||"scheme start",a=0,o="",s=!1,l=!1,u=[];e:for(;(e[a-1]!=S||0==a)&&!this._isInvalid;){var c=e[a];switch(i){case"scheme start":if(!c||!_.test(c)){if(t){r("Invalid scheme.");break e}o="",i="no scheme";continue}o+=c.toLowerCase(),i="scheme";break;case"scheme":if(c&&N.test(c))o+=c.toLowerCase();else{if(":"!=c){if(t){if(S==c)break e;r("Code point not allowed in scheme: "+c);break e}o="",a=0,i="no scheme";continue}if(this._scheme=o,o="",t)break e;v(this._scheme)&&(this._isRelative=!0),i="file"==this._scheme?"relative":this._isRelative&&n&&n._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==c?(this._query="?",i="query"):"#"==c?(this._fragment="#",i="fragment"):S!=c&&"\t"!=c&&"\n"!=c&&"\r"!=c&&(this._schemeData+=x(c));break;case"no scheme":if(n&&v(n._scheme)){i="relative";continue}r("Missing scheme."),b.call(this);break;case"relative or authority":if("/"!=c||"/"!=e[a+1]){r("Expected /, got: "+c),i="relative";continue}i="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=n._scheme),S==c){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break e}if("/"==c||"\\"==c)"\\"==c&&r("\\ is an invalid code point."),i="relative slash";else if("?"==c)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,i="query";else{if("#"!=c){var h=e[a+1],d=e[a+2];("file"!=this._scheme||!_.test(c)||":"!=h&&"|"!=h||S!=d&&"/"!=d&&"\\"!=d&&"?"!=d&&"#"!=d)&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),i="relative path";continue}this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,i="fragment"}break;case"relative slash":if("/"!=c&&"\\"!=c){"file"!=this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),i="relative path";continue}"\\"==c&&r("\\ is an invalid code point."),i="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=c){r("Expected '/', got: "+c),i="authority ignore slashes";continue}i="authority second slash";break;case"authority second slash":if(i="authority ignore slashes","/"==c)break;r("Expected '/', got: "+c);continue;case"authority ignore slashes":if("/"!=c&&"\\"!=c){
5
+ i="authority";continue}r("Expected authority, got: "+c);break;case"authority":if("@"==c){s&&(r("@ already seen."),o+="%40"),s=!0;for(var f=0;f<o.length;f++){var p=o[f];if("\t"!=p&&"\n"!=p&&"\r"!=p)if(":"!=p||null!==this._password){var m=x(p);null!==this._password?this._password+=m:this._username+=m}else this._password="";else r("Invalid whitespace in authority.")}o=""}else{if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c){a-=o.length,o="",i="host";continue}o+=c}break;case"file host":if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c){2!=o.length||!_.test(o[0])||":"!=o[1]&&"|"!=o[1]?(0==o.length||(this._host=T.call(this,o),o=""),i="relative path start"):i="relative path";continue}"\t"==c||"\n"==c||"\r"==c?r("Invalid whitespace in file host."):o+=c;break;case"host":case"hostname":if(":"!=c||l){if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c){if(this._host=T.call(this,o),o="",i="relative path start",t)break e;continue}"\t"!=c&&"\n"!=c&&"\r"!=c?("["==c?l=!0:"]"==c&&(l=!1),o+=c):r("Invalid code point in host/hostname: "+c)}else if(this._host=T.call(this,o),o="",i="port","hostname"==t)break e;break;case"port":if(/[0-9]/.test(c))o+=c;else{if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c||t){if(""!=o){var g=parseInt(o,10);g!=D[this._scheme]&&(this._port=g+""),o=""}if(t)break e;i="relative path start";continue}"\t"==c||"\n"==c||"\r"==c?r("Invalid code point in port: "+c):b.call(this)}break;case"relative path start":if("\\"==c&&r("'\\' not allowed in path."),i="relative path","/"!=c&&"\\"!=c)continue;break;case"relative path":var y;if(S!=c&&"/"!=c&&"\\"!=c&&(t||"?"!=c&&"#"!=c))"\t"!=c&&"\n"!=c&&"\r"!=c&&(o+=x(c));else"\\"==c&&r("\\ not allowed in relative path."),(y=w[o.toLowerCase()])&&(o=y),".."==o?(this._path.pop(),"/"!=c&&"\\"!=c&&this._path.push("")):"."==o&&"/"!=c&&"\\"!=c?this._path.push(""):"."!=o&&("file"==this._scheme&&0==this._path.length&&2==o.length&&_.test(o[0])&&"|"==o[1]&&(o=o[0]+":"),this._path.push(o)),o="","?"==c?(this._query="?",i="query"):"#"==c&&(this._fragment="#",i="fragment");break;case"query":t||"#"!=c?S!=c&&"\t"!=c&&"\n"!=c&&"\r"!=c&&(this._query+=E(c)):(this._fragment="#",i="fragment");break;case"fragment":S!=c&&"\t"!=c&&"\n"!=c&&"\r"!=c&&(this._fragment+=c)}a++}}function i(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function a(e,t){t===undefined||t instanceof a||(t=new a(String(t))),this._url=""+e,i.call(this);var n=this._url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");r.call(this,n,null,t)}var t=!1;if(!e.forceJURL)try{var n=new URL("b","http://a");n.pathname="c%20d",t="http://a/c%20d"===n.href}catch(s){}if(!t){var D=Object.create(null);D.ftp=21,D.file=0,D.gopher=70,D.http=80,D.https=443,D.ws=80,D.wss=443;var w=Object.create(null);w["%2e"]=".",w[".%2e"]="..",w["%2e."]="..",w["%2e%2e"]="..";var S=undefined,_=/[a-zA-Z]/,N=/[a-zA-Z0-9\+\-\.]/;a.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";return""==this._username&&null==this._password||(e=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){i.call(this),r.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||r.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&r.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&r.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&r.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],r.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&((this._query="?")==e[0]&&(e=e.slice(1)),r.call(this,e,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e){this._isInvalid||(e?((this._fragment="#")==e[0]&&(e=e.slice(1)),r.call(this,e,"fragment")):this._fragment="")},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return(e=this.host)?this._scheme+"://"+e:""}};var o=e.URL;o&&(a.createObjectURL=function(){return o.createObjectURL.apply(o,arguments)},a.revokeObjectURL=function(e){o.revokeObjectURL(e)}),e.URL=a}}(window),function(){var e,f=function(e,t){return function(){return e.apply(t,arguments)}};jQuery.expr[":"].icontains=function(e,t,n){var r,i;return 0<=(null!=(r=null!=(i=e.textContent)?i:e.innerText)?r:"").toUpperCase().indexOf(n[3].toUpperCase())},e=function(){function e(){var t,n,r,e,i,a,o,s,l,u,c,h,d;this.nextTab=f(this.nextTab,this),this.previousTab=f(this.previousTab,this),this.openTab=f(this.openTab,this),this.selectedTab=f(this.selectedTab,this),this.getTab=f(this.getTab,this),$("#messages tr").live("click",(t=this,function(e){return e.preventDefault(),t.loadMessage($(e.currentTarget).attr("data-message-id"))})),$("input[name=search]").keyup((n=this,function(e){var t;return(t=$.trim($(e.currentTarget).val()))?n.searchMessages(t):n.clearSearch()})),$("#message .views .format.tab a").live("click",(r=this,function(e){return e.preventDefault(),r.loadMessageBody(r.selectedMessage(),$($(e.currentTarget).parent("li")).data("message-format"))})),$("#message iframe").load((e=this,function(){return e.decorateMessageBody()})),$("#resizer").live({mousedown:(i=this,function(e){var t;return e.preventDefault(),$(window).bind(t={mouseup:function(e){return e.preventDefault(),$(window).unbind(t)},mousemove:function(e){return e.preventDefault(),i.resizeTo(e.clientY)}})})}),this.resizeToSaved(),$("nav.app .clear a").live("click",(a=this,function(e){if(e.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to clear all messages?"))return $.ajax({url:new URL("messages",document.baseURI).toString(),type:"DELETE",success:function(){return a.unselectMessage(),a.updateMessagesCount()},error:function(){return alert("Error while clearing all messages.")}})})),$("nav.app .quit a").live("click",function(e){if(e.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to quit?"))return $.ajax({type:"DELETE",success:function(){return location.replace($("body > header h1 a").attr("href"))},error:function(){return alert("Error while quitting.")}})}),this.favcount=new Favcount($('link[rel="icon"]').attr("href")),key("up",(o=this,function(){return o.selectedMessage()?o.loadMessage($("#messages tr.selected").prev().data("message-id")):o.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id")),!1})),key("down",(s=this,function(){return s.selectedMessage()?s.loadMessage($("#messages tr.selected").next().data("message-id")):s.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id")),!1})),key("\u2318+up, ctrl+up",(l=this,function(){return l.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id")),!1})),key("\u2318+down, ctrl+down",(u=this,function(){return u.loadMessage($("#messages tbody tr[data-message-id]:last").data("message-id")),!1})),key("left",(c=this,function(){return c.openTab(c.previousTab()),!1})),key("right",(h=this,function(){return h.openTab(h.nextTab()),!1})),key("backspace, delete",(d=this,function(){var n;return null!=(n=d.selectedMessage())&&$.ajax({url:new URL("messages/"+n,document.baseURI).toString(),type:"DELETE",success:function(){var e,t;return t=(e=$('#messages tbody tr[data-message-id="'+n+'"]')).next().data("message-id")||e.prev().data("message-id"),e.remove(),t?d.loadMessage(t):d.unselectMessage(),d.updateMessagesCount()},error:function(){return alert("Error while removing message.")}}),!1})),this.refresh(),this.subscribe()}return e.prototype.parseDateRegexp=/^(\d{4})[-\/\\](\d{2})[-\/\\](\d{2})(?:\s+|T)(\d{2})[:-](\d{2})[:-](\d{2})(?:([ +-]\d{2}:\d{2}|\s*\S+|Z?))?$/,e.prototype.parseDate=function(e){var t;if(t=this.parseDateRegexp.exec(e))return new Date(t[1],t[2]-1,t[3],t[4],t[5],t[6],0)},e.prototype.offsetTimeZone=function(e){var t;return t=6e4*Date.now().getTimezoneOffset(),e.setTime(e.getTime()-t),e},e.prototype.formatDate=function(e){return"string"==typeof e&&e&&(e=this.parseDate(e)),e&&(e=this.offsetTimeZone(e)),e&&e.toString("dddd, d MMM yyyy h:mm:ss tt")},e.prototype.messagesCount=function(){return $("#messages tr").length-1},e.prototype.updateMessagesCount=function(){return this.favcount.set(this.messagesCount()),document.title="MailCatcher ("+this.messagesCount()+")"},e.prototype.tabs=function(){return $("#message ul").children(".tab")},e.prototype.getTab=function(e){return $(this.tabs()[e])},e.prototype.selectedTab=function(){return this.tabs().index($("#message li.tab.selected"))},e.prototype.openTab=function(e){return this.getTab(e).children("a").click()},e.prototype.previousTab=function(e){var t;return(t=e||0===e?e:this.selectedTab()-1)<0&&(t=this.tabs().length-1),this.getTab(t).is(":visible")?t:this.previousTab(t-1)},e.prototype.nextTab=function(e){var t;return(t=e||this.selectedTab()+1)>this.tabs().length-1&&(t=0),this.getTab(t).is(":visible")?t:this.nextTab(t+1)},e.prototype.haveMessage=function(e){return null!=e.id&&(e=e.id),0<$('#messages tbody tr[data-message-id="'+e+'"]').length},e.prototype.selectedMessage=function(){return $("#messages tr.selected").data("message-id")},e.prototype.searchMessages=function(i){var e,t,a;return t=function(){var e,t,n,r;for(r=[],e=0,t=(n=i.split(/\s+/)).length;e<t;e++)a=n[e],r.push(":icontains('"+a+"')");return r}().join(""),(e=$("#messages tbody tr")).not(t).hide(),e.filter(t).show()},e.prototype.clearSearch=function(){return $("#messages tbody tr").show()},e.prototype.addMessage=function(e){return $("<tr />").attr("data-message-id",e.id.toString()).append($("<td/>").text(e.sender||"No sender").toggleClass("blank",!e.sender)).append($("<td/>").text((e.recipients||[]).join(", ")||"No receipients").toggleClass("blank",!e.recipients.length)).append($("<td/>").text(e.subject||"No subject").toggleClass("blank",!e.subject)).append($("<td/>").text(this.formatDate(e.created_at))).prependTo($("#messages tbody")),this.updateMessagesCount()},e.prototype.scrollToRow=function(e){var t,n;return(n=e.offset().top-$("#messages").offset().top)<0?$("#messages").scrollTop($("#messages").scrollTop()+n-20):0<(t=n+e.height()-$("#messages").height())?$("#messages").scrollTop($("#messages").scrollTop()+t+20):void 0},e.prototype.unselectMessage=function(){return $("#messages tbody, #message .metadata dd").empty(),$("#message .metadata .attachments").hide(),$("#message iframe").attr("src","about:blank"),null},e.prototype.loadMessage=function(a){var e,t;if(null!=(null!=a?a.id:void 0)&&(a=a.id),a||(a=$("#messages tr.selected").attr("data-message-id")),null!=a)return $("#messages tbody tr:not([data-message-id='"+a+"'])").removeClass("selected"),(e=$("#messages tbody tr[data-message-id='"+a+"']")).addClass("selected"),this.scrollToRow(e),$.getJSON("messages/"+a+".json",(t=this,function(i){var n;return $("#message .metadata dd.created_at").text(t.formatDate(i.created_at)),$("#message .metadata dd.from").text(i.sender),$("#message .metadata dd.to").text((i.recipients||[]).join(", ")),$("#message .metadata dd.subject").text(i.subject),$("#message .views .tab.format").each(function(e,t){var n,r;return r=(n=$(t)).attr("data-message-format"),0<=$.inArray(r,i.formats)?(n.find("a").attr("href","messages/"+a+"."+r),n.show()):n.hide()}),$("#message .views .tab.selected:not(:visible)").length&&($("#message .views .tab.selected").removeClass("selected"),$("#message .views .tab:visible:first").addClass("selected")),i.attachments.length?(n=$("<ul/>").appendTo($("#message .metadata dd.attachments").empty()),$.each(i.attachments,function(e,t){return n.append($("<li>").append($("<a>").attr("href",t.href).addClass(t.type.split("/",1)[0]).addClass(t.type.replace("/","-")).text(t.filename)))}),$("#message .metadata .attachments").show()):$("#message .metadata .attachments").hide(),$("#message .views .download a").attr("href","messages/"+a+".eml"),t.loadMessageBody()}))},e.prototype.loadMessageBody=function(e,t){if(e||(e=this.selectedMessage()),t||(t=$("#message .views .tab.format.selected").attr("data-message-format")),t||(t="html"),$('#message .views .tab[data-message-format="'+t+'"]:not(.selected)').addClass("selected"),$('#message .views .tab:not([data-message-format="'+t+'"]).selected').removeClass("selected"),null!=e)return $("#message iframe").attr("src","messages/"+e+"."+t)},e.prototype.decorateMessageBody=function(){var e,t,n;switch($("#message .views .tab.format.selected").attr("data-message-format")){case"html":return e=$("#message iframe").contents().find("body"),$("a",e).attr("target","_blank");case"plain":return n=(n=(n=(t=$("#message iframe").contents()).text()).replace(/((http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&amp;:\/~\+#]*[\w\-\@?^=%&amp;\/~\+#])?)/g,'<a href="$1" target="_blank">$1</a>')).replace(/\n/g,"<br/>"),t.find("html").html("<html><body>"+n+"</html></body>")}},e.prototype.refresh=function(){return $.getJSON("messages",(n=this,function(e){return $.each(e,function(e,t){if(!n.haveMessage(t))return n.addMessage(t)}),n.updateMessagesCount()}));var n},e.prototype.subscribe=function(){return"undefined"!=typeof WebSocket&&null!==WebSocket?this.subscribeWebSocket():this.subscribePoll()},e.prototype.subscribeWebSocket=function(){var e,t,n;return e="https:"===window.location.protocol,(t=new URL("messages",document.baseURI)).protocol=e?"wss":"ws",this.websocket=new WebSocket(t.toString()),console.log(this.websocket),this.websocket.onmessage=(n=this,function(e){return n.addMessage($.parseJSON(e.data))})},e.prototype.subscribePoll=function(){if(null==this.refreshInterval)return this.refreshInterval=setInterval((e=this,function(){return e.refresh()}),1e3);var e},e.prototype.resizeToSavedKey="mailcatcherSeparatorHeight",e.prototype.resizeTo=function(e){var t;return $("#messages").css({height:e-$("#messages").offset().top}),null!=(t=window.localStorage)?t.setItem(this.resizeToSavedKey,e):void 0},e.prototype.resizeToSaved=function(){var e,t;if(e=parseInt(null!=(t=window.localStorage)?t.getItem(this.resizeToSavedKey):void 0),!isNaN(e))return this.resizeTo(e)},e}(),$(function(){return window.MailCatcher=new e})}.call(this);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailcatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Cochran
@@ -28,7 +28,7 @@ cert_chain:
28
28
  ccrr0sGoLnfK6DappOwH1I5uPvQohOATNmmU0MSSWOeiggLlEWmUYE7CvzoMc8R6
29
29
  DlumKi5y9wE+XnxtyLbe6GlT3AkVGnhwPdwq2QBFLEWkTVogdCYomBCKfjY=
30
30
  -----END CERTIFICATE-----
31
- date: 2019-02-27 00:00:00.000000000 Z
31
+ date: 2019-03-04 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: eventmachine
metadata.gz.sig CHANGED
Binary file