mailcatcher 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/mail_catcher.rb +5 -7
- data/lib/mail_catcher/version.rb +1 -1
- data/public/assets/mailcatcher.js +5 -5
- data/views/index.erb +1 -1
- metadata +16 -23
- metadata.gz.sig +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3273b381430f21c660d89434a96aa0ebc8b73f1e
|
4
|
+
data.tar.gz: 8add1741ac72444e444d8f0c50c26d87d5c60762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 642a50feda3f52a8c9113ea018a10b567cf08ea6a4ad3b80bf4f72e28ed6de099552308a903286b25e84a0bfd85f0d7530f98a94b8eb1d74cca52596f43a4909
|
7
|
+
data.tar.gz: 54175cde85b4acad024efba897dc648bd8ad86a759be94856f79f9f5d2a1a8ed506370399fbfa77614be53f9d212a6fc39985eeede47663594804cb582caeee6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/mail_catcher.rb
CHANGED
@@ -6,13 +6,11 @@ require "active_support/all"
|
|
6
6
|
require "eventmachine"
|
7
7
|
require "thin"
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
(@reactor_running || false)
|
15
|
-
end
|
9
|
+
module EventMachine
|
10
|
+
# Monkey patch fix for 10deb4
|
11
|
+
# See https://github.com/eventmachine/eventmachine/issues/569
|
12
|
+
def self.reactor_running?
|
13
|
+
(@reactor_running || false)
|
16
14
|
end
|
17
15
|
end
|
18
16
|
|
data/lib/mail_catcher/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
window.Modernizr=function(e,t,n){function r(e){p.cssText=e}function i(e,t){return typeof e===t}var a,o,s,l="2.7.1",u={},c=!0,d=t.documentElement,f="modernizr",h=t.createElement(f),p=h.style,m=({}.toString,{}),g=[],y=g.slice,v={}.hasOwnProperty;s=i(v,"undefined")||i(v.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return v.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=y.call(arguments,1),r=function(){if(this instanceof r){var i=function(){};i.prototype=t.prototype;var a=new i,o=t.apply(a,n.concat(y.call(arguments)));return Object(o)===o?o:a}return t.apply(e,n.concat(y.call(arguments)))};return r});for(var b in m)s(m,b)&&(o=b.toLowerCase(),u[o]=m[b](),g.push((u[o]?"":"no-")+o));return u.addTest=function(e,t){if("object"==typeof e)for(var r in e)s(e,r)&&u.addTest(r,e[r]);else{if(e=e.toLowerCase(),u[e]!==n)return u;t="function"==typeof t?t():t,"undefined"!=typeof c&&c&&(d.className+=" "+(t?"":"no-")+e),u[e]=t}return u},r(""),h=a=null,function(e,t){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 r(){var e=v.elements;return"string"==typeof e?e.split(" "):e}function i(e){var t=y[e[m]];return t||(t={},g++,e[m]=g,y[g]=t),t}function a(e,n,r){if(n||(n=t),c)return n.createElement(e);r||(r=i(n));var a;return a=r.cache[e]?r.cache[e].cloneNode():p.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!a.canHaveChildren||h.test(e)||a.tagUrn?a:r.frag.appendChild(a)}function o(e,n){if(e||(e=t),c)return e.createDocumentFragment();n=n||i(e);for(var a=n.frag.cloneNode(),o=0,s=r(),l=s.length;l>o;o++)a.createElement(s[o]);return a}function s(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return v.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(v,t.frag)}function l(e){e||(e=t);var r=i(e);return!v.shivCSS||u||r.hasCSS||(r.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||s(e,r),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=t.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,c=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){u=!0,c=!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:f.shivCSS!==!1,supportsUnknownElements:c,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:l,createElement:a,createDocumentFragment:o};e.html5=v,l(t)}(this,t),u._version=l,d.className=d.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(c?" js "+g.join(" "):""),u}(this,this.document),function(e,t){function n(){return!1}function r(){return!0}function i(e,t,n){return n[0].type=e,v.event.handle.apply(t,n)}function a(e){var t,n,r,i,a,o,s,l,u,c,d,f,h=[],p=[],m=v.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++)a=g[s],a.origType.replace(C,"")===e.type?p.push(a.selector):g.splice(s--,1);for(i=v(e.target).closest(p,e.currentTarget),l=0,u=i.length;u>l;l++)for(c=i[l],s=0;s<g.length;s++)a=g[s],c.selector!==a.selector||d&&!d.test(a.namespace)||(o=c.elem,r=null,("mouseenter"===a.preType||"mouseleave"===a.preType)&&(e.type=a.preType,r=v(e.relatedTarget).closest(a.selector)[0]),r&&r===o||h.push({elem:o,handleObj:a,level:c.level}));for(l=0,u=h.length;u>l&&(i=h[l],!(n&&i.level>n));l++)e.currentTarget=i.elem,e.data=i.handleObj.data,e.handleObj=i.handleObj,f=i.handleObj.origHandler.apply(i.elem,arguments),(f===!1||e.isPropagationStopped())&&(n=i.level,f===!1&&(t=!1));return t}}function o(e,t){return(e&&"*"!==e?e+".":"")+t.replace(k,"`").replace(F,"&")}function s(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function l(e,t,n){if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=v.grep(e,function(e){return 1===e.nodeType});if(W.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e){return v.inArray(e,t)>=0===n})}function u(e){return v.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function c(e,t){var n=0;t.each(function(){if(this.nodeName===(e[n]&&e[n].nodeName)){var t=v.data(e[n++]),r=v.data(this,t),i=t&&t.events;if(i){delete r.handle,r.events={};for(var a in i)for(var o in i[a])v.event.add(this,a,i[a][o],i[a][o].data)}}})}function d(e,t){t.src?v.ajax({url:t.src,async:!1,dataType:"script"}):v.globalEval(t.text||t.textContent||t.innerHTML||""),t.parentNode&&t.parentNode.removeChild(t)}function f(e,t,n){var r="width"===t?ft:ht,i="width"===t?e.offsetWidth:e.offsetHeight;return"border"===n?i:(v.each(r,function(){n||(i-=parseFloat(v.css(e,"padding"+this))||0),"margin"===n?i+=parseFloat(v.css(e,"margin"+this))||0:i-=parseFloat(v.css(e,"border"+this+"Width"))||0}),i)}function h(e,t,n,r){v.isArray(t)&&t.length?v.each(t,function(t,i){n||xt.test(e)?r(e,i):h(e+"["+("object"==typeof i||v.isArray(i)?t:"")+"]",i,n,r)}):n||null==t||"object"!=typeof t?r(e,t):v.isEmptyObject(t)?r(e,""):v.each(t,function(t,i){h(e+"["+t+"]",i,n,r)})}function p(e,t){var n={};return v.each(_t.concat.apply([],_t.slice(0,t)),function(){n[this]=e}),n}function m(e){if(!Ot[e]){var t=v("<"+e+">").appendTo("body"),n=t.css("display");t.remove(),("none"===n||""===n)&&(n="block"),Ot[e]=n}return Ot[e]}function g(e){return v.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var y=e.document,v=function(){function n(){if(!o.isReady){try{y.documentElement.doScroll("left")}catch(e){return void setTimeout(n,1)}o.ready()}}var r,i,a,o=function(e,t){return new o.fn.init(e,t)},s=e.jQuery,l=e.$,u=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,c=/\S/,d=/\s/,f=/^\s+/,h=/\s+$/,p=/\W/,m=/\d/,g=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,v=/^[\],:{}\s]*$/,b=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,T=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,x=/(?:^|:|,)(?:\s*\[)+/g,E=/(webkit)[ \/]([\w.]+)/,D=/(opera)(?:.*version)?[ \/]([\w.]+)/,S=/(msie) ([\w.]+)/,w=/(mozilla)(?:.*? rv:([\w.]+))?/,N=navigator.userAgent,M=!1,L=[],C=Object.prototype.toString,O=Object.prototype.hasOwnProperty,k=Array.prototype.push,F=Array.prototype.slice,_=String.prototype.trim,I=Array.prototype.indexOf,A={};return o.fn=o.prototype={init:function(e,n){var i,a,s,l;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!n&&y.body)return this.context=y,this[0]=y.body,this.selector="body",this.length=1,this;if("string"==typeof e){if(i=u.exec(e),!i||!i[1]&&n)return n||p.test(e)?!n||n.jquery?(n||r).find(e):o(n).find(e):(this.selector=e,this.context=y,e=y.getElementsByTagName(e),o.merge(this,e));if(i[1])return l=n?n.ownerDocument||n:y,s=g.exec(e),s?o.isPlainObject(n)?(e=[y.createElement(s[1])],o.fn.attr.call(e,n,!0)):e=[l.createElement(s[1])]:(s=o.buildFragment([i[1]],[l]),e=(s.cacheable?s.fragment.cloneNode(!0):s.fragment).childNodes),o.merge(this,e);if(a=y.getElementById(i[2]),a&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=y,this.selector=e,this}return o.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),o.makeArray(e,this))},selector:"",jquery:"1.4.3",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(e){return null==e?this.toArray():0>e?this.slice(e)[0]:this[e]},pushStack:function(e,t,n){var r=o();return o.isArray(e)?k.apply(r,e):o.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 o.each(this,e,t)},ready:function(e){return o.bindReady(),o.isReady?e.call(y,o):L&&L.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(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(e){return this.pushStack(o.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||o(null)},push:k,sort:[].sort,splice:[].splice},o.fn.init.prototype=o.fn,o.extend=o.fn.extend=function(){var e,n,r,i,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||o.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(e=arguments[l]))for(n in e)r=s[n],i=e[n],s!==i&&(c&&i&&(o.isPlainObject(i)||(a=o.isArray(i)))?(a?(a=!1,clone=r&&o.isArray(r)?r:[]):clone=r&&o.isPlainObject(r)?r:{},s[n]=o.extend(c,clone,i)):i!==t&&(s[n]=i));return s},o.extend({noConflict:function(t){return e.$=l,t&&(e.jQuery=s),o},isReady:!1,readyWait:1,ready:function(e){if(e===!0&&o.readyWait--,!o.readyWait||e!==!0&&!o.isReady){if(!y.body)return setTimeout(o.ready,1);if(o.isReady=!0,e!==!0&&--o.readyWait>0)return;if(L){for(var t,n=0;t=L[n++];)t.call(y,o);L=null}o.fn.triggerHandler&&o(y).triggerHandler("ready")}},bindReady:function(){if(!M){if(M=!0,"complete"===y.readyState)return setTimeout(o.ready,1);if(y.addEventListener)y.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",o.ready,!1);else if(y.attachEvent){y.attachEvent("onreadystatechange",a),e.attachEvent("onload",o.ready);var t=!1;try{t=null==e.frameElement}catch(r){}y.documentElement.doScroll&&t&&n()}}},isFunction:function(e){return"function"===o.type(e)},isArray:Array.isArray||function(e){return"array"===o.type(e)},isWindow:function(e){return e&&"object"==typeof e&&"setInterval"in e},isNaN:function(e){return null==e||!m.test(e)||isNaN(e)},type:function(e){return null==e?String(e):A[C.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==o.type(e)||e.nodeType||o.isWindow(e))return!1;if(e.constructor&&!O.call(e,"constructor")&&!O.call(e.constructor.prototype,"isPrototypeOf"))return!1;var n;for(n in e);return n===t||O.call(e,n)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw e},parseJSON:function(t){return"string"==typeof t&&t?(t=o.trim(t),v.test(t.replace(b,"@").replace(T,"]").replace(x,""))?e.JSON&&e.JSON.parse?e.JSON.parse(t):new Function("return "+t)():void o.error("Invalid JSON: "+t)):null},noop:function(){},globalEval:function(e){if(e&&c.test(e)){var t=y.getElementsByTagName("head")[0]||y.documentElement,n=y.createElement("script");n.type="text/javascript",o.support.scriptEval?n.appendChild(y.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,n,r){var i,a=0,s=e.length,l=s===t||o.isFunction(e);if(r)if(l){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s>a&&n.apply(e[a++],r)!==!1;);else if(l){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(var u=e[0];s>a&&n.call(u,a,u)!==!1;u=e[++a]);return e},trim:_?function(e){return null==e?"":_.call(e)}:function(e){return null==e?"":e.toString().replace(f,"").replace(h,"")},makeArray:function(e,t){var n=t||[];if(null!=e){var r=o.type(e);null==e.length||"string"===r||"function"===r||"regexp"===r||o.isWindow(e)?k.call(n,e):o.merge(n,e)}return n},inArray:function(e,t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;r>n;n++)if(t[n]===e)return n;return-1},merge:function(e,n){var r=e.length,i=0;if("number"==typeof n.length)for(var a=n.length;a>i;i++)e[r++]=n[i];else for(;n[i]!==t;)e[r++]=n[i++];return e.length=r,e},grep:function(e,t,n){var r,i=[];n=!!n;for(var a=0,o=e.length;o>a;a++)r=!!t(e[a],a),n!==r&&i.push(e[a]);return i},map:function(e,t,n){for(var r,i=[],a=0,o=e.length;o>a;a++)r=t(e[a],a,n),null!=r&&(i[i.length]=r);return i.concat.apply([],i)},guid:1,proxy:function(e,n,r){return 2===arguments.length&&("string"==typeof n?(r=e,e=r[n],n=t):n&&!o.isFunction(n)&&(r=n,n=t)),!n&&e&&(n=function(){return e.apply(r||this,arguments)}),e&&(n.guid=e.guid=e.guid||n.guid||o.guid++),n},access:function(e,n,r,i,a,s){var l=e.length;if("object"==typeof n){for(var u in n)o.access(e,u,n[u],i,a,r);return e}if(r!==t){i=!s&&i&&o.isFunction(r);for(var c=0;l>c;c++)a(e[c],n,i?r.call(e[c],c,a(e[c],n)):r,s);return e}return l?a(e[0],n):t},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();var t=E.exec(e)||D.exec(e)||S.exec(e)||e.indexOf("compatible")<0&&w.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},browser:{}}),o.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){A["[object "+t+"]"]=t.toLowerCase()}),i=o.uaMatch(N),i.browser&&(o.browser[i.browser]=!0,o.browser.version=i.version),o.browser.webkit&&(o.browser.safari=!0),I&&(o.inArray=function(e,t){return I.call(t,e)}),d.test("\xa0")||(f=/^[\s\xA0]+/,h=/[\s\xA0]+$/),r=o(y),y.addEventListener?a=function(){y.removeEventListener("DOMContentLoaded",a,!1),o.ready()}:y.attachEvent&&(a=function(){"complete"===y.readyState&&(y.detachEvent("onreadystatechange",a),o.ready())}),e.jQuery=e.$=o}();!function(){v.support={};var t=y.documentElement,n=y.createElement("script"),r=y.createElement("div"),i="script"+v.now();r.style.display="none",r.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var a=r.getElementsByTagName("*"),o=r.getElementsByTagName("a")[0],s=y.createElement("select"),l=s.appendChild(y.createElement("option"));if(a&&a.length&&o){v.support={leadingWhitespace:3===r.firstChild.nodeType,tbody:!r.getElementsByTagName("tbody").length,htmlSerialize:!!r.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"===r.getElementsByTagName("input")[0].value,optSelected:l.selected,optDisabled:!1,checkClone:!1,scriptEval:!1,noCloneEvent:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},s.disabled=!0,v.support.optDisabled=!l.disabled,n.type="text/javascript";try{n.appendChild(y.createTextNode("window."+i+"=1;"))}catch(u){}t.insertBefore(n,t.firstChild),e[i]&&(v.support.scriptEval=!0,delete e[i]),t.removeChild(n),r.attachEvent&&r.fireEvent&&(r.attachEvent("onclick",function f(){v.support.noCloneEvent=!1,r.detachEvent("onclick",f)}),r.cloneNode(!0).fireEvent("onclick")),r=y.createElement("div"),r.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var c=y.createDocumentFragment();c.appendChild(r.firstChild),v.support.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,v(function(){var e=y.createElement("div");e.style.width=e.style.paddingLeft="1px",y.body.appendChild(e),v.boxModel=v.support.boxModel=2===e.offsetWidth,"zoom"in e.style&&(e.style.display="inline",e.style.zoom=1,v.support.inlineBlockNeedsLayout=2===e.offsetWidth,e.style.display="",e.innerHTML="<div style='width:4px;'></div>",v.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");v.support.reliableHiddenOffsets=0===t[0].offsetHeight,t[0].style.display="",t[1].style.display="none",v.support.reliableHiddenOffsets=v.support.reliableHiddenOffsets&&0===t[0].offsetHeight,e.innerHTML="",y.body.removeChild(e).style.display="none",e=t=null});var d=function(e){var t=y.createElement("div");e="on"+e;var n=e in t;return n||(t.setAttribute(e,"return;"),n="function"==typeof t[e]),t=null,n};v.support.submitBubbles=d("submit"),v.support.changeBubbles=d("change"),t=n=r=a=o=null}}(),v.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var b={},T=/^(?:\{.*\}|\[.*\])$/;v.extend({cache:{},uuid:0,expando:"jQuery"+v.now(),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},data:function(n,r,i){if(v.acceptData(n)){n=n==e?b:n;var a,o=n.nodeType,s=o?n[v.expando]:null,l=v.cache;if(!o||s||"string"!=typeof r||i!==t)return o?s||(n[v.expando]=s=++v.uuid):l=n,"object"==typeof r?o?l[s]=v.extend(l[s],r):v.extend(l,r):o&&!l[s]&&(l[s]={}),a=o?l[s]:l,i!==t&&(a[r]=i),"string"==typeof r?a[r]:a}},removeData:function(t,n){if(v.acceptData(t)){t=t==e?b:t;var r=t.nodeType,i=r?t[v.expando]:t,a=v.cache,o=r?a[i]:i;if(n)o&&(delete o[n],r&&v.isEmptyObject(o)&&v.removeData(t));else if(r&&v.support.deleteExpando)delete t[v.expando];else if(t.removeAttribute)t.removeAttribute(v.expando);else if(r)delete a[i];else for(var s in t)delete t[s]}},acceptData:function(e){if(e.nodeName){var t=v.noData[e.nodeName.toLowerCase()];if(t)return!(t===!0||e.getAttribute("classid")!==t)}return!0}}),v.fn.extend({data:function(e,n){if("undefined"==typeof e)return this.length?v.data(this[0]):null;if("object"==typeof e)return this.each(function(){v.data(this,e)});var r=e.split(".");if(r[1]=r[1]?"."+r[1]:"",n===t){var i=this.triggerHandler("getData"+r[1]+"!",[r[0]]);if(i===t&&this.length&&(i=v.data(this[0],e),i===t&&1===this[0].nodeType))if(i=this[0].getAttribute("data-"+e),"string"==typeof i)try{i="true"===i?!0:"false"===i?!1:"null"===i?null:v.isNaN(i)?T.test(i)?v.parseJSON(i):i:parseFloat(i)}catch(a){}else i=t;return i===t&&r[1]?this.data(r[0]):i}return this.each(function(){var t=v(this),i=[r[0],n];t.triggerHandler("setData"+r[1]+"!",i),v.data(this,e,n),t.triggerHandler("changeData"+r[1]+"!",i)})},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){if(e){t=(t||"fx")+"queue";var r=v.data(e,t);return n?(!r||v.isArray(n)?r=v.data(e,t,v.makeArray(n)):r.push(n),r):r||[]}},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.shift();"inprogress"===r&&(r=n.shift()),r&&("fx"===t&&n.unshift("inprogress"),r.call(e,function(){v.dequeue(e,t)}))}}),v.fn.extend({queue:function(e,n){return"string"!=typeof e&&(n=e,e="fx"),n===t?v.queue(this[0],e):this.each(function(){var t=v.queue(this,e,n);"fx"===e&&"inprogress"!==t[0]&&v.dequeue(this,e)})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},delay:function(e,t){return e=v.fx?v.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(){var n=this;setTimeout(function(){v.dequeue(n,t)},e)})},clearQueue:function(e){return this.queue(e||"fx",[])}});var x=/[\n\t]/g,E=/\s+/,D=/\r/g,S=/^(?:href|src|style)$/,w=/^(?:button|input)$/i,N=/^(?:button|input|object|select|textarea)$/i,M=/^a(?:rea)?$/i,L=/^(?:radio|checkbox)$/i;v.fn.extend({attr:function(e,t){return v.access(this,e,t,!0,v.attr)},removeAttr:function(e){return this.each(function(){v.attr(this,e,""),1===this.nodeType&&this.removeAttribute(e)})},addClass:function(e){if(v.isFunction(e))return this.each(function(t){var n=v(this);n.addClass(e.call(this,t,n.attr("class")))});if(e&&"string"==typeof e)for(var t=(e||"").split(E),n=0,r=this.length;r>n;n++){var i=this[n];if(1===i.nodeType)if(i.className){for(var a=" "+i.className+" ",o=i.className,s=0,l=t.length;l>s;s++)a.indexOf(" "+t[s]+" ")<0&&(o+=" "+t[s]);i.className=v.trim(o)}else i.className=e}return this},removeClass:function(e){if(v.isFunction(e))return this.each(function(t){var n=v(this);n.removeClass(e.call(this,t,n.attr("class")))});if(e&&"string"==typeof e||e===t)for(var n=(e||"").split(E),r=0,i=this.length;i>r;r++){var a=this[r];if(1===a.nodeType&&a.className)if(e){for(var o=(" "+a.className+" ").replace(x," "),s=0,l=n.length;l>s;s++)o=o.replace(" "+n[s]+" "," ");a.className=v.trim(o)}else a.className=""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return this.each(v.isFunction(e)?function(n){var r=v(this);r.toggleClass(e.call(this,n,r.attr("class"),t),t)}:function(){if("string"===n)for(var i,a=0,o=v(this),s=t,l=e.split(E);i=l[a++];)s=r?s:!o.hasClass(i),o[s?"addClass":"removeClass"](i);else("undefined"===n||"boolean"===n)&&(this.className&&v.data(this,"__className__",this.className),this.className=this.className||e===!1?"":v.data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if((" "+this[n].className+" ").replace(x," ").indexOf(t)>-1)return!0;return!1},val:function(e){if(!arguments.length){var n=this[0];if(n){if(v.nodeName(n,"option")){var r=n.attributes.value;return!r||r.specified?n.value:n.text}if(v.nodeName(n,"select")){var i=n.selectedIndex,a=[],o=n.options,s="select-one"===n.type;if(0>i)return null;for(var l=s?i:0,u=s?i+1:o.length;u>l;l++){var c=o[l];if(!(!c.selected||(v.support.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&v.nodeName(c.parentNode,"optgroup"))){if(e=v(c).val(),s)return e;a.push(e)}}return a}return L.test(n.type)&&!v.support.checkOn?null===n.getAttribute("value")?"on":n.value:(n.value||"").replace(D,"")}return t}var d=v.isFunction(e);return this.each(function(t){var n=v(this),r=e;if(1===this.nodeType)if(d&&(r=e.call(this,t,n.val())),null==r?r="":"number"==typeof r?r+="":v.isArray(r)&&(r=v.map(r,function(e){return null==e?"":e+""})),v.isArray(r)&&L.test(this.type))this.checked=v.inArray(n.val(),r)>=0;else if(v.nodeName(this,"select")){var i=v.makeArray(r);v("option",this).each(function(){this.selected=v.inArray(v(this).val(),i)>=0}),i.length||(this.selectedIndex=-1)}else this.value=r})}}),v.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,n,r,i){if(!e||3===e.nodeType||8===e.nodeType)return t;if(i&&n in v.attrFn)return v(e)[n](r);var a=1!==e.nodeType||!v.isXMLDoc(e),o=r!==t;if(n=a&&v.props[n]||n,1===e.nodeType){var s=S.test(n);if("selected"===n&&!v.support.optSelected){var l=e.parentNode;l&&(l.selectedIndex,l.parentNode&&l.parentNode.selectedIndex)}if((n in e||e[n]!==t)&&a&&!s){if(o&&("type"===n&&w.test(e.nodeName)&&e.parentNode&&v.error("type property can't be changed"),null===r?1===e.nodeType&&e.removeAttribute(n):e[n]=r),v.nodeName(e,"form")&&e.getAttributeNode(n))return e.getAttributeNode(n).nodeValue;if("tabIndex"===n){var u=e.getAttributeNode("tabIndex");return u&&u.specified?u.value:N.test(e.nodeName)||M.test(e.nodeName)&&e.href?0:t}return e[n]}if(!v.support.style&&a&&"style"===n)return o&&(e.style.cssText=""+r),e.style.cssText;if(o&&e.setAttribute(n,""+r),!e.attributes[n]&&e.hasAttribute&&!e.hasAttribute(n))return t;var c=!v.support.hrefNormalized&&a&&s?e.getAttribute(n,2):e.getAttribute(n);return null===c?t:c}}});var C=/\.(.*)$/,O=/^(?:textarea|input|select)$/i,k=/\./g,F=/ /g,_=/[^\w\s.|`]/g,I=function(e){return e.replace(_,"\\$&")},A={focusin:0,focusout:0};v.event={add:function(r,i,a,o){if(3!==r.nodeType&&8!==r.nodeType){v.isWindow(r)&&r!==e&&!r.frameElement&&(r=e),a===!1&&(a=n);var s,l;a.handler&&(s=a,a=s.handler),a.guid||(a.guid=v.guid++);var u=v.data(r);if(u){var c=r.nodeType?"events":"__events__",d=u[c],f=u.handle;"function"==typeof d?(f=d.handle,d=d.events):d||(r.nodeType||(u[c]=u=function(){}),u.events=d={}),f||(u.handle=f=function(){return"undefined"==typeof v||v.event.triggered?t:v.event.handle.apply(f.elem,arguments)}),f.elem=r,i=i.split(" ");for(var h,p,m=0;h=i[m++];){l=s?v.extend({},s):{handler:a,data:o},h.indexOf(".")>-1?(p=h.split("."),h=p.shift(),l.namespace=p.slice(0).sort().join(".")):(p=[],l.namespace=""),l.type=h,l.guid||(l.guid=a.guid);var g=d[h],y=v.event.special[h]||{};g||(g=d[h]=[],y.setup&&y.setup.call(r,o,p,f)!==!1||(r.addEventListener?r.addEventListener(h,f,!1):r.attachEvent&&r.attachEvent("on"+h,f))),y.add&&(y.add.call(r,l),l.handler.guid||(l.handler.guid=a.guid)),g.push(l),v.event.global[h]=!0}r=null}}},global:{},remove:function(e,t,r,i){if(3!==e.nodeType&&8!==e.nodeType){r===!1&&(r=n);var a,o,s,l,u,c,d,f,h,p,m=0,g=e.nodeType?"events":"__events__",y=v.data(e),b=y&&y[g];if(y&&b)if("function"==typeof b&&(y=b,b=b.events),t&&t.type&&(r=t.handler,t=t.type),!t||"string"==typeof t&&"."===t.charAt(0)){t=t||"";for(o in b)v.event.remove(e,o+t)}else{for(t=t.split(" ");o=t[m++];)if(p=o,h=null,l=o.indexOf(".")<0,u=[],l||(u=o.split("."),o=u.shift(),c=new RegExp("(^|\\.)"+v.map(u.slice(0).sort(),I).join("\\.(?:.*\\.)?")+"(\\.|$)")),f=b[o])if(r){for(d=v.event.special[o]||{},s=i||0;s<f.length&&(h=f[s],r.guid!==h.guid||((l||c.test(h.namespace))&&(null==i&&f.splice(s--,1),d.remove&&d.remove.call(e,h)),null==i));s++);(0===f.length||null!=i&&1===f.length)&&(d.teardown&&d.teardown.call(e,u)!==!1||v.removeEvent(e,o,y.handle),a=null,delete b[o])}else for(s=0;s<f.length;s++)h=f[s],(l||c.test(h.namespace))&&(v.event.remove(e,p,h.handler,s),f.splice(s--,1));if(v.isEmptyObject(b)){var T=y.handle;T&&(T.elem=null),delete y.events,delete y.handle,"function"==typeof y?v.removeData(e,g):v.isEmptyObject(y)&&v.removeData(e)}}}},trigger:function(e,n,r){var i=e.type||e,a=arguments[3];if(!a){if(e="object"==typeof e?e[v.expando]?e:v.extend(v.Event(i),e):v.Event(i),i.indexOf("!")>=0&&(e.type=i=i.slice(0,-1),e.exclusive=!0),r||(e.stopPropagation(),v.event.global[i]&&v.each(v.cache,function(){this.events&&this.events[i]&&v.event.trigger(e,n,this.handle.elem)})),!r||3===r.nodeType||8===r.nodeType)return t;e.result=t,e.target=r,n=v.makeArray(n),n.unshift(e)}e.currentTarget=r;var o=r.nodeType?v.data(r,"handle"):(v.data(r,"__events__")||{}).handle;o&&o.apply(r,n);var s=r.parentNode||r.ownerDocument;try{r&&r.nodeName&&v.noData[r.nodeName.toLowerCase()]||r["on"+i]&&r["on"+i].apply(r,n)===!1&&(e.result=!1,e.preventDefault())}catch(l){}if(!e.isPropagationStopped()&&s)v.event.trigger(e,n,s,!0);else if(!e.isDefaultPrevented()){var u,c=e.target,d=i.replace(C,""),f=v.nodeName(c,"a")&&"click"===d,h=v.event.special[d]||{};if(!(h._default&&h._default.call(r,e)!==!1||f||c&&c.nodeName&&v.noData[c.nodeName.toLowerCase()])){try{c[d]&&(u=c["on"+d],u&&(c["on"+d]=null),v.event.triggered=!0,c[d]())}catch(p){}u&&(c["on"+d]=u),v.event.triggered=!1}}},handle:function(n){var r,i,a,o,s,l=[],u=v.makeArray(arguments);if(n=u[0]=v.event.fix(n||e.event),n.currentTarget=this,r=n.type.indexOf(".")<0&&!n.exclusive,r||(a=n.type.split("."),n.type=a.shift(),l=a.slice(0).sort(),o=new RegExp("(^|\\.)"+l.join("\\.(?:.*\\.)?")+"(\\.|$)")),n.namespace=n.namespace||l.join("."),s=v.data(this,this.nodeType?"events":"__events__"),"function"==typeof s&&(s=s.events),i=(s||{})[n.type],s&&i){i=i.slice(0);for(var c=0,d=i.length;d>c;c++){var f=i[c];if(r||o.test(f.namespace)){n.handler=f.handler,n.data=f.data,n.handleObj=f;var h=f.handler.apply(this,u);if(h!==t&&(n.result=h,h===!1&&(n.preventDefault(),n.stopPropagation())),n.isImmediatePropagationStopped())break}}}return n.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[v.expando])return e;var n=e;e=v.Event(n);for(var r,i=this.props.length;i;)r=this.props[--i],e[r]=n[r];if(e.target||(e.target=e.srcElement||y),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 a=y.documentElement,o=y.body;e.pageX=e.clientX+(a&&a.scrollLeft||o&&o.scrollLeft||0)-(a&&a.clientLeft||o&&o.clientLeft||0),e.pageY=e.clientY+(a&&a.scrollTop||o&&o.scrollTop||0)-(a&&a.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===t||(e.which=1&e.button?1:2&e.button?3:4&e.button?2:0),e},guid:1e8,proxy:v.proxy,special:{ready:{setup:v.bindReady,teardown:v.noop},live:{add:function(e){v.event.add(this,o(e.origType,e.selector),v.extend({},e,{handler:a,guid:e.handler.guid}))},remove:function(e){v.event.remove(this,o(e.origType,e.selector),e)}},beforeunload:{setup:function(e,t,n){v.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}}},v.removeEvent=y.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent&&e.detachEvent("on"+t,n)},v.Event=function(e){return this.preventDefault?(e&&e.type?(this.originalEvent=e,this.type=e.type):this.type=e,this.timeStamp=v.now(),void(this[v.expando]=!0)):new v.Event(e)},v.Event.prototype={preventDefault:function(){this.isDefaultPrevented=r;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=r;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=r,this.stopPropagation()},isDefaultPrevented:n,isPropagationStopped:n,isImmediatePropagationStopped:n};var R=function(e){var t=e.relatedTarget;try{for(;t&&t!==this;)t=t.parentNode;t!==this&&(e.type=e.data,v.event.handle.apply(this,arguments))}catch(n){}},P=function(e){e.type=e.data,v.event.handle.apply(this,arguments)};if(v.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){v.event.special[e]={setup:function(n){v.event.add(this,t,n&&n.selector?P:R,e)},teardown:function(e){v.event.remove(this,t,e&&e.selector?P:R)}}}),v.support.submitBubbles||(v.event.special.submit={setup:function(){return"form"===this.nodeName.toLowerCase()?!1:(v.event.add(this,"click.specialSubmit",function(e){var n=e.target,r=n.type;return"submit"!==r&&"image"!==r||!v(n).closest("form").length?void 0:(e.liveFired=t,i("submit",this,arguments))}),void v.event.add(this,"keypress.specialSubmit",function(e){var n=e.target,r=n.type;return"text"!==r&&"password"!==r||!v(n).closest("form").length||13!==e.keyCode?void 0:(e.liveFired=t,i("submit",this,arguments))}))},teardown:function(){v.event.remove(this,".specialSubmit")}}),!v.support.changeBubbles){var j,B=function(e){var t=e.type,n=e.value;return"radio"===t||"checkbox"===t?n=e.checked:"select-multiple"===t?n=e.selectedIndex>-1?v.map(e.options,function(e){return e.selected}).join("-"):"":"select"===e.nodeName.toLowerCase()&&(n=e.selectedIndex),n},H=function(e){var n,r,i=e.target;if(O.test(i.nodeName)&&!i.readOnly&&(n=v.data(i,"_change_data"),r=B(i),("focusout"!==e.type||"radio"!==i.type)&&v.data(i,"_change_data",r),n!==t&&r!==n))return null!=n||r?(e.type="change",e.liveFired=t,v.event.trigger(e,arguments[1],i)):void 0};v.event.special.change={filters:{focusout:H,beforedeactivate:H,click:function(e){var t=e.target,n=t.type;return"radio"===n||"checkbox"===n||"select"===t.nodeName.toLowerCase()?H.call(this,e):void 0},keydown:function(e){var t=e.target,n=t.type;return 13===e.keyCode&&"textarea"!==t.nodeName.toLowerCase()||32===e.keyCode&&("checkbox"===n||"radio"===n)||"select-multiple"===n?H.call(this,e):void 0},beforeactivate:function(e){var t=e.target;v.data(t,"_change_data",B(t))}},setup:function(){if("file"===this.type)return!1;for(var e in j)v.event.add(this,e+".specialChange",j[e]);return O.test(this.nodeName)},teardown:function(){return v.event.remove(this,".specialChange"),O.test(this.nodeName)}},j=v.event.special.change.filters,j.focus=j.beforeactivate}y.addEventListener&&v.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){return e=v.event.fix(e),e.type=t,v.event.trigger(e,null,e.target)}v.event.special[t]={setup:function(){0===A[t]++&&y.addEventListener(e,n,!0)},teardown:function(){0===--A[t]&&y.removeEventListener(e,n,!0)}}}),v.each(["bind","one"],function(e,n){v.fn[n]=function(e,r,i){if("object"==typeof e){for(var a in e)this[n](a,r,e[a],i);return this}(v.isFunction(r)||r===!1)&&(i=r,r=t);var o="one"===n?v.proxy(i,function(e){return v(this).unbind(e,o),i.apply(this,arguments)
|
2
|
-
}):i;if("unload"===e&&"one"!==n)this.one(e,r,i);else for(var s=0,l=this.length;l>s;s++)v.event.add(this[s],e,o,r);return this}}),v.fn.extend({unbind:function(e,t){if("object"!=typeof e||e.preventDefault)for(var n=0,r=this.length;r>n;n++)v.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(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0]){var n=v.Event(e);return n.preventDefault(),n.stopPropagation(),v.event.trigger(n,t,this[0]),n.result}},toggle:function(e){for(var t=arguments,n=1;n<t.length;)v.proxy(e,t[n++]);return this.click(v.proxy(e,function(r){var i=(v.data(this,"lastToggle"+e.guid)||0)%n;return v.data(this,"lastToggle"+e.guid,i+1),r.preventDefault(),t[i].apply(this,arguments)||!1}))},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var $={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};v.each(["live","die"],function(e,n){v.fn[n]=function(e,r,i,a){var s,l,u,c,d=0,f=a||this.selector,h=a?this:v(this.context);if("object"==typeof e&&!e.preventDefault){for(var p in e)h[n](p,r,e[p],f);return this}for(v.isFunction(r)&&(i=r,r=t),e=(e||"").split(" ");null!=(s=e[d++]);)if(l=C.exec(s),u="",l&&(u=l[0],s=s.replace(C,"")),"hover"!==s)if(c=s,"focus"===s||"blur"===s?(e.push($[s]+u),s+=u):s=($[s]||s)+u,"live"===n)for(var m=0,g=h.length;g>m;m++)v.event.add(h[m],"live."+o(s,f),{data:r,selector:f,handler:i,origType:s,origHandler:i,preType:c});else h.unbind("live."+o(s,f),i);else e.push("mouseenter"+u,"mouseleave"+u);return this}}),v.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,t){v.fn[t]=function(e,n){return null==n&&(n=e,e=null),arguments.length>0?this.bind(t,e,n):this.trigger(t)},v.attrFn&&(v.attrFn[t]=!0)}),e.attachEvent&&!e.addEventListener&&v(e).bind("unload",function(){for(var e in v.cache)if(v.cache[e].handle)try{v.event.remove(v.cache[e].handle.elem)}catch(t){}}),function(){function e(e,t,n,r,i,a){for(var o=0,s=r.length;s>o;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 n(e,t,n,r,i,a){for(var o=0,s=r.length;s>o;o++){var u=r[o];if(u){u=u[e];for(var c=!1;u;){if(u.sizcache===n){c=r[u.sizset];break}if(1===u.nodeType)if(a||(u.sizcache=n,u.sizset=o),"string"!=typeof t){if(u===t){c=!0;break}}else if(l.filter(t,[u]).length>0){c=u;break}u=u[e]}r[o]=c}}}var r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=0,a=Object.prototype.toString,o=!1,s=!0;[0,0].sort(function(){return s=!1,0});var l=function(e,t,n,i){n=n||[],t=t||y;var o=t;if(1!==t.nodeType&&9!==t.nodeType)return[];if(!e||"string"!=typeof e)return n;var s,d,f,p,m,g,v,T,x=[],E=!0,D=l.isXML(t),S=e;do if(r.exec(""),s=r.exec(S),s&&(S=s[3],x.push(s[1]),s[2])){p=s[3];break}while(s);if(x.length>1&&c.exec(e))if(2===x.length&&u.relative[x[0]])d=b(x[0]+x[1],t);else for(d=u.relative[x[0]]?[t]:l(x.shift(),t);x.length;)e=x.shift(),u.relative[e]&&(e+=x.shift()),d=b(e,d);else if(!i&&x.length>1&&9===t.nodeType&&!D&&u.match.ID.test(x[0])&&!u.match.ID.test(x[x.length-1])&&(m=l.find(x.shift(),t,D),t=m.expr?l.filter(m.expr,m.set)[0]:m.set[0]),t)for(m=i?{expr:x.pop(),set:h(i)}:l.find(x.pop(),1!==x.length||"~"!==x[0]&&"+"!==x[0]||!t.parentNode?t:t.parentNode,D),d=m.expr?l.filter(m.expr,m.set):m.set,x.length>0?f=h(d):E=!1;x.length;)g=x.pop(),v=g,u.relative[g]?v=x.pop():g="",null==v&&(v=t),u.relative[g](f,v,D);else f=x=[];if(f||(f=d),f||l.error(g||e),"[object Array]"===a.call(f))if(E)if(t&&1===t.nodeType)for(T=0;null!=f[T];T++)f[T]&&(f[T]===!0||1===f[T].nodeType&&l.contains(t,f[T]))&&n.push(d[T]);else for(T=0;null!=f[T];T++)f[T]&&1===f[T].nodeType&&n.push(d[T]);else n.push.apply(n,f);else h(f,n);return p&&(l(p,o,n,i),l.uniqueSort(n)),n};l.uniqueSort=function(e){if(m&&(o=s,e.sort(m),o))for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1);return e},l.matches=function(e,t){return l(e,null,null,t)},l.matchesSelector=function(e,t){return l(t,null,null,[e]).length>0},l.find=function(e,t,n){var r;if(!e)return[];for(var i=0,a=u.order.length;a>i;i++){var o,s=u.order[i];if(o=u.leftMatch[s].exec(e)){var l=o[1];if(o.splice(1,1),"\\"!==l.substr(l.length-1)&&(o[1]=(o[1]||"").replace(/\\/g,""),r=u.find[s](o,t,n),null!=r)){e=e.replace(u.match[s],"");break}}}return r||(r=t.getElementsByTagName("*")),{set:r,expr:e}},l.filter=function(e,n,r,i){for(var a,o,s=e,c=[],d=n,f=n&&n[0]&&l.isXML(n[0]);e&&n.length;){for(var h in u.filter)if(null!=(a=u.leftMatch[h].exec(e))&&a[2]){var p,m,g=u.filter[h],y=a[1];if(o=!1,a.splice(1,1),"\\"===y.substr(y.length-1))continue;if(d===c&&(c=[]),u.preFilter[h])if(a=u.preFilter[h](a,d,r,c,i,f)){if(a===!0)continue}else o=p=!0;if(a)for(var v=0;null!=(m=d[v]);v++)if(m){p=g(m,a,v,d);var b=i^!!p;r&&null!=p?b?o=!0:d[v]=!1:b&&(c.push(m),o=!0)}if(p!==t){if(r||(d=c),e=e.replace(u.match[h],""),!o)return[];break}}if(e===s){if(null!=o)break;l.error(e)}s=e}return d},l.error=function(e){throw"Syntax error, unrecognized expression: "+e};var u=l.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;s>o;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&&l.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();a>i;i++)if(n=e[i]){var o=n.parentNode;e[i]=o.nodeName.toLowerCase()===t?o:!1}}else{for(;a>i;i++)n=e[i],n&&(e[i]=r?n.parentNode:n.parentNode===t);r&&l.filter(t,e,!0)}},"":function(t,r,a){var o,s=i++,l=n;"string"!=typeof r||/\W/.test(r)||(r=r.toLowerCase(),o=r,l=e),l("parentNode",r,s,t,o,a)},"~":function(t,r,a){var o,s=i++,l=n;"string"!=typeof r||/\W/.test(r)||(r=r.toLowerCase(),o=r,l=e),l("previousSibling",r,s,t,o,a)}},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;a>i;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&&(" "+o.className+" ").replace(/[\t\n]/g," ").indexOf(e)>=0)?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]=i++,e},ATTR:function(e,t,n,r,i,a){var o=e[1].replace(/\\/g,"");return!a&&u.attrMap[o]&&(e[1]=u.attrMap[o]),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,n,i,a){if("not"===e[1]){if(!((r.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var o=l.filter(e[3],t,n,!0^a);return n||i.push.apply(i,o),!1}e[3]=l(e[3],null,null,t)}else if(u.match.POS.test(e[0])||u.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return e.disabled===!1&&"hidden"!==e.type},disabled:function(e){return e.disabled===!0},checked:function(e){return e.checked===!0},selected:function(e){return e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!l(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=u.filters[i];if(a)return a(e,n,t,r);if("contains"===i)return(e.textContent||e.innerText||l.getText([e])||"").indexOf(t[3])>=0;if("not"===i){for(var o=t[3],s=0,c=o.length;c>s;s++)if(o[s]===e)return!1;return!0}l.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&&u/i>=0}},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(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var n=t[1],r=u.attrHandle[n]?u.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?i.indexOf(o)>=0:"~="===a?(" "+i+" ").indexOf(o)>=0: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+"-":!1:i&&r!==!1},POS:function(e,t,n,r){var i=t[2],a=u.setFilters[i];return a?a(e,n,t,r):void 0}}},c=u.match.POS,d=function(e,t){return"\\"+(t-0+1)};for(var f in u.match)u.match[f]=new RegExp(u.match[f].source+/(?![^\[]*\])(?![^\(]*\))/.source),u.leftMatch[f]=new RegExp(/(^(?:.|\r|\n)*?)/.source+u.match[f].source.replace(/\\(\d+)/g,d));var h=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(y.documentElement.childNodes,0)[0].nodeType}catch(p){h=function(e,t){var n=t||[],r=0;if("[object Array]"===a.call(e))Array.prototype.push.apply(n,e);else if("number"==typeof e.length)for(var i=e.length;i>r;r++)n.push(e[r]);else for(;e[r];r++)n.push(e[r]);return n}}var m,g;y.documentElement.compareDocumentPosition?m=function(e,t){return e===t?(o=!0,0):e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:1:e.compareDocumentPosition?-1:1}:(m=function(e,t){var n,r,i=[],a=[],s=e.parentNode,l=t.parentNode,u=s;if(e===t)return o=!0,0;if(s===l)return g(e,t);if(!s)return-1;if(!l)return 1;for(;u;)i.unshift(u),u=u.parentNode;for(u=l;u;)a.unshift(u),u=u.parentNode;n=i.length,r=a.length;for(var c=0;n>c&&r>c;c++)if(i[c]!==a[c])return g(i[c],a[c]);return c===n?g(e,a[c],-1):g(i[c],t,1)},g=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}),l.getText=function(e){for(var t,n="",r=0;e[r];r++)t=e[r],3===t.nodeType||4===t.nodeType?n+=t.nodeValue:8!==t.nodeType&&(n+=l.getText(t.childNodes));return n},function(){var e=y.createElement("div"),n="script"+(new Date).getTime();e.innerHTML="<a name='"+n+"'/>";var r=y.documentElement;r.insertBefore(e,r.firstChild),y.getElementById(n)&&(u.find.ID=function(e,n,r){if("undefined"!=typeof n.getElementById&&!r){var i=n.getElementById(e[1]);return i?i.id===e[1]||"undefined"!=typeof i.getAttributeNode&&i.getAttributeNode("id").nodeValue===e[1]?[i]:t:[]}},u.filter.ID=function(e,t){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&n&&n.nodeValue===t}),r.removeChild(e),r=e=null}(),function(){var e=y.createElement("div");e.appendChild(y.createComment("")),e.getElementsByTagName("*").length>0&&(u.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}),e.innerHTML="<a href='#'></a>",e.firstChild&&"undefined"!=typeof e.firstChild.getAttribute&&"#"!==e.firstChild.getAttribute("href")&&(u.attrHandle.href=function(e){return e.getAttribute("href",2)}),e=null}(),y.querySelectorAll&&!function(){var e=l,t=y.createElement("div");if(t.innerHTML="<p class='TEST'></p>",!t.querySelectorAll||0!==t.querySelectorAll(".TEST").length){l=function(t,n,r,i){if(n=n||y,!i&&!l.isXML(n))if(9===n.nodeType)try{return h(n.querySelectorAll(t),r)}catch(a){}else if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){var o=n.id,s=n.id="__sizzle__";try{return h(n.querySelectorAll("#"+s+" "+t),r)}catch(u){}finally{o?n.id=o:n.removeAttribute("id")}}return e(t,n,r,i)};for(var n in e)l[n]=e[n];t=null}}(),function(){var e=y.documentElement,t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector,n=!1;try{t.call(y.documentElement,":sizzle")}catch(r){n=!0}t&&(l.matchesSelector=function(e,r){try{if(n||!u.match.PSEUDO.test(r))return t.call(e,r)}catch(i){}return l(r,null,null,[e]).length>0})}(),function(){var e=y.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length&&(e.lastChild.className="e",1!==e.getElementsByClassName("e").length&&(u.order.splice(1,0,"CLASS"),u.find.CLASS=function(e,t,n){return"undefined"==typeof t.getElementsByClassName||n?void 0:t.getElementsByClassName(e[1])},e=null))}(),l.contains=y.documentElement.contains?function(e,t){return e!==t&&(e.contains?e.contains(t):!0)}:function(e,t){return!!(16&e.compareDocumentPosition(t))},l.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return t?"HTML"!==t.nodeName:!1};var b=function(e,t){for(var n,r=[],i="",a=t.nodeType?[t]:t;n=u.match.PSEUDO.exec(e);)i+=n[0],e=e.replace(u.match.PSEUDO,"");e=u.relative[e]?e+"*":e;for(var o=0,s=a.length;s>o;o++)l(e,a[o],r);return l.filter(i,r)};v.find=l,v.expr=l.selectors,v.expr[":"]=v.expr.filters,v.unique=l.uniqueSort,v.text=l.getText,v.isXMLDoc=l.isXML,v.contains=l.contains}();var X=/Until$/,z=/^(?:parents|prevUntil|prevAll)/,U=/,/,W=/^.[^:#\[\.,]*$/,G=Array.prototype.slice,q=v.expr.match.POS;v.fn.extend({find:function(e){for(var t=this.pushStack("","find",e),n=0,r=0,i=this.length;i>r;r++)if(n=t.length,v.find(e,this[r],t),r>0)for(var a=n;a<t.length;a++)for(var o=0;n>o;o++)if(t[o]===t[a]){t.splice(a--,1);break}return t},has:function(e){var t=v(e);return this.filter(function(){for(var e=0,n=t.length;n>e;e++)if(v.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(l(this,e,!1),"not",e)},filter:function(e){return this.pushStack(l(this,e,!0),"filter",e)},is:function(e){return!!e&&v.filter(e,this).length>0},closest:function(e,t){var n,r,i=[],a=this[0];if(v.isArray(e)){var o,s,l={},u=1;if(a&&e.length){for(n=0,r=e.length;r>n;n++)s=e[n],l[s]||(l[s]=v.expr.match.POS.test(s)?v(s,t||this.context):s);for(;a&&a.ownerDocument&&a!==t;){for(s in l)o=l[s],(o.jquery?o.index(a)>-1:v(a).is(o))&&i.push({selector:s,elem:a,level:u});a=a.parentNode,u++}}return i}var c=q.test(e)?v(e,t||this.context):null;for(n=0,r=this.length;r>n;n++)for(a=this[n];a;){if(c?c.index(a)>-1:v.find.matchesSelector(a,e)){i.push(a);break}if(a=a.parentNode,!a||!a.ownerDocument||a===t)break}return i=i.length>1?v.unique(i):i,this.pushStack(i,"closest",e)},index:function(e){return e&&"string"!=typeof e?v.inArray(e.jquery?e[0]:e,this):v.inArray(this[0],e?v(e):this.parent().children())},add:function(e,t){var n="string"==typeof e?v(e,t||this.context):v.makeArray(e),r=v.merge(this.get(),n);return this.pushStack(s(n[0])||s(r[0])?r:v.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),v.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return v.nth(e,2,"nextSibling")},prev:function(e){return v.nth(e,2,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling(e.parentNode.firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.makeArray(e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return X.test(e)||(r=n),r&&"string"==typeof r&&(i=v.filter(r,i)),i=this.length>1?v.unique(i):i,(this.length>1||U.test(r))&&z.test(e)&&(i=i.reverse()),this.pushStack(i,e,G.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){for(var i=[],a=e[n];a&&9!==a.nodeType&&(r===t||1!==a.nodeType||!v(a).is(r));)1===a.nodeType&&i.push(a),a=a[n];return i},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 Y=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,J=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,K=/<([\w:]+)/,Z=/<tbody/i,Q=/<|&#?\w+;/,et=/<(?:script|object|embed|option|style)/i,tt=/checked\s*(?:[^=]|=\s*.checked.)/i,nt=/\=([^="'>\s]+\/)>/g,rt={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,"",""]};rt.optgroup=rt.option,rt.tbody=rt.tfoot=rt.colgroup=rt.caption=rt.thead,rt.th=rt.td,v.support.htmlSerialize||(rt._default=[1,"div<div>","</div>"]),v.fn.extend({text:function(e){return v.isFunction(e)?this.each(function(t){var n=v(this);n.text(e.call(this,t,n.text()))}):"object"!=typeof e&&e!==t?this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(e)):v.text(this)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return this.each(v.isFunction(e)?function(t){v(this).wrapInner(e.call(this,t))}:function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){return this.each(function(){v(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(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(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v(arguments[0]);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,v(arguments[0]).toArray()),e}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)(!e||v.filter(e,[n]).length)&&(t||1!==n.nodeType||(v.cleanData(n.getElementsByTagName("*")),v.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&&v.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e){var t=this.map(function(){if(v.support.noCloneEvent||v.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 v.clean([e.replace(Y,"").replace(nt,'="$1">').replace(V,"")],t)[0]});return e===!0&&(c(this,t),c(this.find("*"),t.find("*"))),t},html:function(e){if(e===t)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(Y,""):null;if("string"!=typeof e||et.test(e)||!v.support.leadingWhitespace&&V.test(e)||rt[(K.exec(e)||["",""])[1].toLowerCase()])v.isFunction(e)?this.each(function(t){var n=v(this);n.html(e.call(this,t,n.html()))}):this.empty().append(e);else{e=e.replace(J,"<$1></$2>");try{for(var n=0,r=this.length;r>n;n++)1===this[n].nodeType&&(v.cleanData(this[n].getElementsByTagName("*")),this[n].innerHTML=e)}catch(i){this.empty().append(e)}}return this},replaceWith:function(e){return this[0]&&this[0].parentNode?v.isFunction(e)?this.each(function(t){var n=v(this),r=n.html();n.replaceWith(e.call(this,t,r))}):("string"!=typeof e&&(e=v(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;v(this).remove(),t?v(t).before(e):v(n).append(e)})):this.pushStack(v(v.isFunction(e)?e():e),"replaceWith",e)},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){var i,a,o,s,l=e[0],c=[];if(!v.support.checkClone&&3===arguments.length&&"string"==typeof l&&tt.test(l))return this.each(function(){v(this).domManip(e,n,r,!0)});if(v.isFunction(l))return this.each(function(i){var a=v(this);e[0]=l.call(this,i,n?a.html():t),a.domManip(e,n,r)});if(this[0]){if(s=l&&l.parentNode,i=v.support.parentNode&&s&&11===s.nodeType&&s.childNodes.length===this.length?{fragment:s}:v.buildFragment(e,this,c),o=i.fragment,a=1===o.childNodes.length?o=o.firstChild:o.firstChild){n=n&&v.nodeName(a,"tr");for(var f=0,h=this.length;h>f;f++)r.call(n?u(this[f],a):this[f],f>0||i.cacheable||this.length>1?o.cloneNode(!0):o)}c.length&&v.each(c,d)}return this}}),v.buildFragment=function(e,t,n){var r,i,a,o=t&&t[0]?t[0].ownerDocument||t[0]:y;return 1===e.length&&"string"==typeof e[0]&&e[0].length<512&&o===y&&!et.test(e[0])&&(v.support.checkClone||!tt.test(e[0]))&&(i=!0,a=v.fragments[e[0]],a&&1!==a&&(r=a)),r||(r=o.createDocumentFragment(),v.clean(e,o,r,n)),i&&(v.fragments[e[0]]=a?r:1),{fragment:r,cacheable:i}},v.fragments={},v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){v.fn[e]=function(n){var r=[],i=v(n),a=1===this.length&&this[0].parentNode;if(a&&11===a.nodeType&&1===a.childNodes.length&&1===i.length)return i[t](this[0]),this;for(var o=0,s=i.length;s>o;o++){var l=(o>0?this.clone(!0):this).get();v(i[o])[t](l),r=r.concat(l)}return this.pushStack(r,e,i.selector)}}),v.extend({clean:function(e,t,n,r){t=t||y,"undefined"==typeof t.createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||y);for(var i,a=[],o=0;null!=(i=e[o]);o++)if("number"==typeof i&&(i+=""),i){if("string"!=typeof i||Q.test(i)){if("string"==typeof i){i=i.replace(J,"<$1></$2>");var s=(K.exec(i)||["",""])[1].toLowerCase(),l=rt[s]||rt._default,u=l[0],c=t.createElement("div");for(c.innerHTML=l[1]+i+l[2];u--;)c=c.lastChild;if(!v.support.tbody)for(var d=Z.test(i),f="table"!==s||d?"<table>"!==l[1]||d?[]:c.childNodes:c.firstChild&&c.firstChild.childNodes,h=f.length-1;h>=0;--h)v.nodeName(f[h],"tbody")&&!f[h].childNodes.length&&f[h].parentNode.removeChild(f[h]);!v.support.leadingWhitespace&&V.test(i)&&c.insertBefore(t.createTextNode(V.exec(i)[0]),c.firstChild),i=c.childNodes}}else i=t.createTextNode(i);i.nodeType?a.push(i):a=v.merge(a,i)}if(n)for(o=0;a[o];o++)!r||!v.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(v.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=v.cache,a=v.event.special,o=v.support.deleteExpando,s=0;null!=(r=e[s]);s++)if((!r.nodeName||!v.noData[r.nodeName.toLowerCase()])&&(n=r[v.expando])){if(t=i[n],t&&t.events)for(var l in t.events)a[l]?v.event.remove(r,l):v.removeEvent(r,l,t.handle);o?delete r[v.expando]:r.removeAttribute&&r.removeAttribute(v.expando),delete i[n]}}});var it,at=/alpha\([^)]*\)/i,ot=/opacity=([^)]*)/,st=/-([a-z])/gi,lt=/([A-Z])/g,ut=/^-?\d+(?:px)?$/i,ct=/^-?\d/,dt={position:"absolute",visibility:"hidden",display:"block"},ft=["Left","Right"],ht=["Top","Bottom"],pt=y.defaultView&&y.defaultView.getComputedStyle,mt=function(e,t){return t.toUpperCase()};v.fn.css=function(e,n){return 2===arguments.length&&n===t?this:v.access(this,e,n,!0,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)})},v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=it(e,"opacity","opacity");return""===n?"1":n}return e.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,o=v.camelCase(n),s=e.style,l=v.cssHooks[o];if(n=v.cssProps[o]||o,r===t)return l&&"get"in l&&(a=l.get(e,!1,i))!==t?a:s[n];if(!("number"==typeof r&&isNaN(r)||null==r||("number"!=typeof r||v.cssNumber[o]||(r+="px"),l&&"set"in l&&(r=l.set(e,r))===t)))try{s[n]=r}catch(u){}}},css:function(e,n,r){var i,a=v.camelCase(n),o=v.cssHooks[a];return n=v.cssProps[a]||a,o&&"get"in o&&(i=o.get(e,!0,r))!==t?i:it?it(e,n,a):void 0},swap:function(e,t,n){var r={};for(var i in t)r[i]=e.style[i],e.style[i]=t[i];n.call(e);for(i in t)e.style[i]=r[i]},camelCase:function(e){return e.replace(st,mt)}}),v.curCSS=v.css,v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){var i;return n?(0!==e.offsetWidth?i=f(e,t,r):v.swap(e,dt,function(){i=f(e,t,r)}),i+"px"):void 0},set:function(e,t){return ut.test(t)?(t=parseFloat(t),t>=0?t+"px":void 0):t}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return ot.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=v.isNaN(t)?"":"alpha(opacity="+100*t+")",i=n.filter||"";n.filter=at.test(i)?i.replace(at,r):n.filter+" "+r}}),pt?it=function(e,n,r){var i,a,o;return r=r.replace(lt,"-$1").toLowerCase(),(a=e.ownerDocument.defaultView)?((o=a.getComputedStyle(e,null))&&(i=o.getPropertyValue(r),""!==i||v.contains(e.ownerDocument.documentElement,e)||(i=v.style(e,r))),i):t}:y.documentElement.currentStyle&&(it=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],a=e.style;return!ut.test(i)&&ct.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}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return 0===t&&0===n||!v.support.reliableHiddenOffsets&&"none"===(e.style.display||v.css(e,"display"))},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)});var gt=v.now(),yt=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,vt=/^(?:select|textarea)/i,bt=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Tt=/^(?:GET|HEAD|DELETE)$/,xt=/\[\]$/,Et=/\=\?(&|$)/,Dt=/\?/,St=/([?&])_=[^&]*/,wt=/^(\w+:)?\/\/([^\/?#]+)/,Nt=/%20/g,Mt=/#.*$/,Lt=v.fn.load;v.fn.extend({load:function(e,t,n){if("string"!=typeof e&&Lt)return Lt.apply(this,arguments);if(!this.length)return this;var r=e.indexOf(" ");if(r>=0){var i=e.slice(r,e.length);e=e.slice(0,r)}var a="GET";t&&(v.isFunction(t)?(n=t,t=null):"object"==typeof t&&(t=v.param(t,v.ajaxSettings.traditional),a="POST"));var o=this;return v.ajax({url:e,type:a,dataType:"html",data:t,complete:function(e,t){("success"===t||"notmodified"===t)&&o.html(i?v("<div>").append(e.responseText.replace(yt,"")).find(i):e.responseText),n&&o.each(n,[e.responseText,t,e])}}),this},serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vt.test(this.nodeName)||bt.test(this.type))}).map(function(e,t){var n=v(this).val();return null==n?null:v.isArray(n)?v.map(n,function(e){return{name:t.name,value:e}}):{name:t.name,value:n}}).get()}}),v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.bind(t,e)}}),v.extend({get:function(e,t,n,r){return v.isFunction(t)&&(r=r||n,n=t,t=null),v.ajax({type:"GET",url:e,data:t,success:n,dataType:r})},getScript:function(e,t){return v.get(e,null,t,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},post:function(e,t,n,r){return v.isFunction(t)&&(r=r||n,n=t,t={}),v.ajax({type:"POST",url:e,data:t,success:n,dataType:r})},ajaxSetup:function(e){v.extend(v.ajaxSettings,e)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,xhr:function(){return new e.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(n){var r,i,a,o=v.extend(!0,{},v.ajaxSettings,n),s=o.type.toUpperCase(),l=Tt.test(s);if(o.url=o.url.replace(Mt,""),o.context=n&&null!=n.context?n.context:o,o.data&&o.processData&&"string"!=typeof o.data&&(o.data=v.param(o.data,o.traditional)),"jsonp"===o.dataType&&("GET"===s?Et.test(o.url)||(o.url+=(Dt.test(o.url)?"&":"?")+(o.jsonp||"callback")+"=?"):o.data&&Et.test(o.data)||(o.data=(o.data?o.data+"&":"")+(o.jsonp||"callback")+"=?"),o.dataType="json"),"json"===o.dataType&&(o.data&&Et.test(o.data)||Et.test(o.url))){r=o.jsonpCallback||"jsonp"+gt++,o.data&&(o.data=(o.data+"").replace(Et,"="+r+"$1")),o.url=o.url.replace(Et,"="+r+"$1"),o.dataType="script";var u=e[r];e[r]=function(n){if(a=n,v.handleSuccess(o,T,i,a),v.handleComplete(o,T,i,a),v.isFunction(u))u(n);else{e[r]=t;try{delete e[r]}catch(s){}}p&&p.removeChild(m)}}if("script"===o.dataType&&null===o.cache&&(o.cache=!1),o.cache===!1&&"GET"===s){var c=v.now(),d=o.url.replace(St,"$1_="+c);o.url=d+(d===o.url?(Dt.test(o.url)?"&":"?")+"_="+c:"")}o.data&&"GET"===s&&(o.url+=(Dt.test(o.url)?"&":"?")+o.data),o.global&&0===v.active++&&v.event.trigger("ajaxStart");var f=wt.exec(o.url),h=f&&(f[1]&&f[1]!==location.protocol||f[2]!==location.host);if("script"===o.dataType&&"GET"===s&&h){var p=y.getElementsByTagName("head")[0]||y.documentElement,m=y.createElement("script");if(o.scriptCharset&&(m.charset=o.scriptCharset),m.src=o.url,!r){var g=!1;m.onload=m.onreadystatechange=function(){g||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(g=!0,v.handleSuccess(o,T,i,a),v.handleComplete(o,T,i,a),m.onload=m.onreadystatechange=null,p&&m.parentNode&&p.removeChild(m))}}return p.insertBefore(m,p.firstChild),t}var b=!1,T=o.xhr();if(T){o.username?T.open(s,o.url,o.async,o.username,o.password):T.open(s,o.url,o.async);try{(null!=o.data&&!l||n&&n.contentType)&&T.setRequestHeader("Content-Type",o.contentType),o.ifModified&&(v.lastModified[o.url]&&T.setRequestHeader("If-Modified-Since",v.lastModified[o.url]),v.etag[o.url]&&T.setRequestHeader("If-None-Match",v.etag[o.url])),h||T.setRequestHeader("X-Requested-With","XMLHttpRequest"),T.setRequestHeader("Accept",o.dataType&&o.accepts[o.dataType]?o.accepts[o.dataType]+", */*; q=0.01":o.accepts._default)}catch(x){}if(o.beforeSend&&o.beforeSend.call(o.context,T,o)===!1)return o.global&&1===v.active--&&v.event.trigger("ajaxStop"),T.abort(),!1;
|
3
|
-
o.global&&v.triggerGlobal(o,"ajaxSend",[T,o]);var E=T.onreadystatechange=function(e){if(T&&0!==T.readyState&&"abort"!==e){if(!b&&T&&(4===T.readyState||"timeout"===e)){b=!0,T.onreadystatechange=v.noop,i="timeout"===e?"timeout":v.httpSuccess(T)?o.ifModified&&v.httpNotModified(T,o.url)?"notmodified":"success":"error";var t;if("success"===i)try{a=v.httpData(T,o.dataType,o)}catch(n){i="parsererror",t=n}"success"===i||"notmodified"===i?r||v.handleSuccess(o,T,i,a):v.handleError(o,T,i,t),r||v.handleComplete(o,T,i,a),"timeout"===e&&T.abort(),o.async&&(T=null)}}else b||v.handleComplete(o,T,i,a),b=!0,T&&(T.onreadystatechange=v.noop)};try{var D=T.abort;T.abort=function(){T&&D.call&&D.call(T),E("abort")}}catch(S){}o.async&&o.timeout>0&&setTimeout(function(){T&&!b&&E("timeout")},o.timeout);try{T.send(l||null==o.data?null:o.data)}catch(w){v.handleError(o,T,null,w),v.handleComplete(o,T,i,a)}return o.async||E(),T}},param:function(e,n){var r=[],i=function(e,t){t=v.isFunction(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=v.ajaxSettings.traditional),v.isArray(e)||e.jquery)v.each(e,function(){i(this.name,this.value)});else for(var a in e)h(a,e[a],n,i);return r.join("&").replace(Nt,"+")}}),v.extend({active:0,lastModified:{},etag:{},handleError:function(e,t,n,r){e.error&&e.error.call(e.context,t,n,r),e.global&&v.triggerGlobal(e,"ajaxError",[t,e,r])},handleSuccess:function(e,t,n,r){e.success&&e.success.call(e.context,r,n,t),e.global&&v.triggerGlobal(e,"ajaxSuccess",[t,e])},handleComplete:function(e,t,n){e.complete&&e.complete.call(e.context,t,n),e.global&&v.triggerGlobal(e,"ajaxComplete",[t,e]),e.global&&1===v.active--&&v.event.trigger("ajaxStop")},triggerGlobal:function(e,t,n){(e.context&&null==e.context.url?v(e.context):v.event).trigger(t,n)},httpSuccess:function(e){try{return!e.status&&"file:"===location.protocol||e.status>=200&&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&&(v.lastModified[t]=n),r&&(v.etag[t]=r),304===e.status},httpData:function(e,t,n){var r=e.getResponseHeader("content-type")||"",i="xml"===t||!t&&r.indexOf("xml")>=0,a=i?e.responseXML:e.responseText;return i&&"parsererror"===a.documentElement.nodeName&&v.error("parsererror"),n&&n.dataFilter&&(a=n.dataFilter(a,t)),"string"==typeof a&&("json"===t||!t&&r.indexOf("json")>=0?a=v.parseJSON(a):("script"===t||!t&&r.indexOf("javascript")>=0)&&v.globalEval(a)),a}}),e.ActiveXObject&&(v.ajaxSettings.xhr=function(){if("file:"!==e.location.protocol)try{return new e.XMLHttpRequest}catch(t){}try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(n){}}),v.support.ajax=!!v.ajaxSettings.xhr();var Ct,Ot={},kt=/^(?:toggle|show|hide)$/,Ft=/^([+\-]=)?([\d+.\-]+)(.*)$/,_t=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];v.fn.extend({show:function(e,t,n){if(e||0===e)return this.animate(p("show",3),e,t,n);for(var r=0,i=this.length;i>r;r++)v.data(this[r],"olddisplay")||"none"!==this[r].style.display||(this[r].style.display=""),""===this[r].style.display&&"none"===v.css(this[r],"display")&&v.data(this[r],"olddisplay",m(this[r].nodeName));for(r=0;i>r;r++)this[r].style.display=v.data(this[r],"olddisplay")||"";return this},hide:function(e,t,n){if(e||0===e)return this.animate(p("hide",3),e,t,n);for(var r=0,i=this.length;i>r;r++){var a=v.css(this[r],"display");"none"!==a&&v.data(this[r],"olddisplay",a)}for(r=0;i>r;r++)this[r].style.display="none";return this},_toggle:v.fn.toggle,toggle:function(e,t,n){var r="boolean"==typeof e;return v.isFunction(e)&&v.isFunction(t)?this._toggle.apply(this,arguments):null==e||r?this.each(function(){var t=r?e:v(this).is(":hidden");v(this)[t?"show":"hide"]()}):this.animate(p("toggle",3),e,t,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(e,t,n,r){var i=v.speed(t,n,r);return v.isEmptyObject(e)?this.each(i.complete):this[i.queue===!1?"each":"queue"](function(){var t,n=v.extend({},i),r=1===this.nodeType,a=r&&v(this).is(":hidden"),o=this;for(t in e){var s=v.camelCase(t);if(t!==s&&(e[s]=e[t],delete e[t],t=s),"hide"===e[t]&&a||"show"===e[t]&&!a)return n.complete.call(this);if(r&&("height"===t||"width"===t)&&(n.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===v.css(this,"display")&&"none"===v.css(this,"float")))if(v.support.inlineBlockNeedsLayout){var l=m(this.nodeName);"inline"===l?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block";v.isArray(e[t])&&((n.specialEasing=n.specialEasing||{})[t]=e[t][1],e[t]=e[t][0])}return null!=n.overflow&&(this.style.overflow="hidden"),n.curAnim=v.extend({},e),v.each(e,function(t,r){var i=new v.fx(o,n,t);if(kt.test(r))i["toggle"===r?a?"show":"hide":r](e);else{var s=Ft.exec(r),l=i.cur(!0)||0;if(s){var u=parseFloat(s[2]),c=s[3]||"px";"px"!==c&&(v.style(o,t,(u||1)+c),l=(u||1)/i.cur(!0)*l,v.style(o,t,l+c)),s[1]&&(u=("-="===s[1]?-1:1)*u+l),i.custom(l,u,c)}else i.custom(l,r,"")}}),!0})},stop:function(e,t){var n=v.timers;return e&&this.queue([]),this.each(function(){for(var e=n.length-1;e>=0;e--)n[e].elem===this&&(t&&n[e](!0),n.splice(e,1))}),t||this.dequeue(),this}}),v.each({slideDown:p("show",1),slideUp:p("hide",1),slideToggle:p("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(e,t){v.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),v.extend({speed:function(e,t,n){var r=e&&"object"==typeof e?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};return r.duration=v.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in v.fx.speeds?v.fx.speeds[r.duration]:v.fx.speeds._default,r.old=r.complete,r.complete=function(){r.queue!==!1&&v(this).dequeue(),v.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={})}}),v.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(v.fx.step[this.prop]||v.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(v.css(this.elem,this.prop));return e&&e>-1e4?e:0},custom:function(e,t,n){function r(e){return i.step(e)}this.startTime=v.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=v.fx;r.elem=this.elem,r()&&v.timers.push(r)&&!Ct&&(Ct=setInterval(a.tick,a.interval))},show:function(){this.options.orig[this.prop]=v.style(this.elem,this.prop),this.options.show=!0,this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),v(this.elem).show()},hide:function(){this.options.orig[this.prop]=v.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var t=v.now(),n=!0;if(e||t>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var r in this.options.curAnim)this.options.curAnim[r]!==!0&&(n=!1);if(n){if(null!=this.options.overflow&&!v.support.shrinkWrapBlocks){var i=this.elem,a=this.options;v.each(["","X","Y"],function(e,t){i.style["overflow"+t]=a.overflow[e]})}if(this.options.hide&&v(this.elem).hide(),this.options.hide||this.options.show)for(var o in this.options.curAnim)v.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||(v.easing.swing?"swing":"linear");return this.pos=v.easing[l||u](this.state,s,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0}},v.extend(v.fx,{tick:function(){for(var e=v.timers,t=0;t<e.length;t++)e[t]()||e.splice(t--,1);e.length||v.fx.stop()},interval:13,stop:function(){clearInterval(Ct),Ct=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){v.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}}}),v.expr&&v.expr.filters&&(v.expr.filters.animated=function(e){return v.grep(v.timers,function(t){return e===t.elem}).length});var It=/^t(?:able|d|h)$/i,At=/^(?:body|html)$/i;v.fn.offset="getBoundingClientRect"in y.documentElement?function(e){var t,n=this[0];if(e)return this.each(function(t){v.offset.setOffset(this,e,t)});if(!n||!n.ownerDocument)return null;if(n===n.ownerDocument.body)return v.offset.bodyOffset(n);try{t=n.getBoundingClientRect()}catch(r){}var i=n.ownerDocument,a=i.documentElement;if(!t||!v.contains(a,n))return t||{top:0,left:0};var o=i.body,s=g(i),l=a.clientTop||o.clientTop||0,u=a.clientLeft||o.clientLeft||0,c=s.pageYOffset||v.support.boxModel&&a.scrollTop||o.scrollTop,d=s.pageXOffset||v.support.boxModel&&a.scrollLeft||o.scrollLeft,f=t.top+c-l,h=t.left+d-u;return{top:f,left:h}}:function(e){var t=this[0];if(e)return this.each(function(t){v.offset.setOffset(this,e,t)});if(!t||!t.ownerDocument)return null;if(t===t.ownerDocument.body)return v.offset.bodyOffset(t);v.offset.initialize();for(var n,r=t.offsetParent,i=t,a=t.ownerDocument,o=a.documentElement,s=a.body,l=a.defaultView,u=l?l.getComputedStyle(t,null):t.currentStyle,c=t.offsetTop,d=t.offsetLeft;(t=t.parentNode)&&t!==s&&t!==o&&(!v.offset.supportsFixedPosition||"fixed"!==u.position);)n=l?l.getComputedStyle(t,null):t.currentStyle,c-=t.scrollTop,d-=t.scrollLeft,t===r&&(c+=t.offsetTop,d+=t.offsetLeft,!v.offset.doesNotAddBorder||v.offset.doesAddBorderForTableAndCells&&It.test(t.nodeName)||(c+=parseFloat(n.borderTopWidth)||0,d+=parseFloat(n.borderLeftWidth)||0),i=r,r=t.offsetParent),v.offset.subtractsBorderForOverflowNotVisible&&"visible"!==n.overflow&&(c+=parseFloat(n.borderTopWidth)||0,d+=parseFloat(n.borderLeftWidth)||0),u=n;return("relative"===u.position||"static"===u.position)&&(c+=s.offsetTop,d+=s.offsetLeft),v.offset.supportsFixedPosition&&"fixed"===u.position&&(c+=Math.max(o.scrollTop,s.scrollTop),d+=Math.max(o.scrollLeft,s.scrollLeft)),{top:c,left:d}},v.offset={initialize:function(){var e,t,n,r,i=y.body,a=y.createElement("div"),o=parseFloat(v.css(i,"marginTop"))||0,s="<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>";v.extend(a.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),a.innerHTML=s,i.insertBefore(a,i.firstChild),e=a.firstChild,t=e.firstChild,r=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=5!==t.offsetTop,this.doesAddBorderForTableAndCells=5===r.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=i.offsetTop!==o,i.removeChild(a),i=a=e=t=n=r=null,v.offset.initialize=v.noop},bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return v.offset.initialize(),v.offset.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(v.css(e,"marginTop"))||0,n+=parseFloat(v.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=v.css(e,"position");"static"===r&&(e.style.position="relative");var i,a,o=v(e),s=o.offset(),l=v.css(e,"top"),u=v.css(e,"left"),c="absolute"===r&&v.inArray("auto",[l,u])>-1,d={},f={};c&&(f=o.position()),i=c?f.top:parseInt(l,10)||0,a=c?f.left:parseInt(u,10)||0,v.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+a),"using"in t?t.using.call(e,d):o.css(d)}},v.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),r=At.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.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||y.body;e&&!At.test(e.nodeName)&&"static"===v.css(e,"position");)e=e.offsetParent;return e})}}),v.each(["Left","Top"],function(e,n){var r="scroll"+n;v.fn[r]=function(n){var i,a=this[0];return a?n!==t?this.each(function(){i=g(this),i?i.scrollTo(e?v(i).scrollLeft():n,e?n:v(i).scrollTop()):this[r]=n}):(i=g(a),i?"pageXOffset"in i?i[e?"pageYOffset":"pageXOffset"]:v.support.boxModel&&i.document.documentElement[r]||i.document.body[r]:a[r]):null}}),v.each(["Height","Width"],function(e,n){var r=n.toLowerCase();v.fn["inner"+n]=function(){return this[0]?parseFloat(v.css(this[0],r,"padding")):null},v.fn["outer"+n]=function(e){return this[0]?parseFloat(v.css(this[0],r,e?"margin":"border")):null},v.fn[r]=function(e){var i=this[0];return i?v.isFunction(e)?this.each(function(t){var n=v(this);n[r](e.call(this,t,n[r]()))}):v.isWindow(i)?"CSS1Compat"===i.document.compatMode&&i.document.documentElement["client"+n]||i.document.body["client"+n]:9===i.nodeType?Math.max(i.documentElement["client"+n],i.body["scroll"+n],i.documentElement["scroll"+n],i.body["offset"+n],i.documentElement["offset"+n]):e===t?parseFloat(v.css(i,r)):this.css(r,"string"==typeof e?e:e+"px"):null==e?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 this>e?1:e>this?-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(t>e||e>n)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 0>t?(e=(t-1e4).toString(),e[0]+e.substr(2)):(e=(t+1e4).toString(),"+"+e.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(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)}},d=function(e){return function(){return this._dateElement=e,this}},f=0;f<a.length;f++)e=a[f].toLowerCase(),t[e]=t[e+"s"]=c(a[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 e=Date.Parsing,t=e.Operators={rtoken:function(t){return function(n){var r=n.match(t);if(r)return[r[0],n.substring(r[0].length)];throw new e.Exception(n)}},token:function(){return function(e){return t.rtoken(new RegExp("^s*"+e+"s*"))(e)}},stoken:function(e){return t.rtoken(new RegExp("^"+e))},until:function(e){return function(t){for(var n=[],r=null;t.length;){try{r=e.call(this,t)}catch(i){n.push(r[0]),t=r[1];continue}break}return[n,t]}},many:function(e){return function(t){for(var n=[],r=null;t.length;){try{r=e.call(this,t)}catch(i){return[n,t]}n.push(r[0]),t=r[1]}return[n,t]}},optional:function(e){return function(t){var n=null;try{n=e.call(this,t)}catch(r){return[null,t]}return[n[0],n[1]]}},not:function(t){return function(n){try{t.call(this,n)}catch(r){return[null,n]}throw new e.Exception(n)}},ignore:function(e){return e?function(t){var n=null;return n=e.call(this,t),[null,n[1]]}:null},product:function(){for(var e=arguments[0],n=Array.prototype.slice.call(arguments,1),r=[],i=0;i<e.length;i++)r.push(t.each(e[i],n));return r},cache:function(t){var n={},r=null;return function(i){try{r=n[i]=n[i]||t.call(this,i)}catch(a){r=n[i]=a}if(r instanceof e.Exception)throw r;return r}},any:function(){var t=arguments;return function(n){for(var r=null,i=0;i<t.length;i++)if(null!=t[i]){try{r=t[i].call(this,n)}catch(a){r=null}if(r)return r}throw new e.Exception(n)}},each:function(){var t=arguments;return function(n){for(var r=[],i=null,a=0;a<t.length;a++)if(null!=t[a]){try{i=t[a].call(this,n)}catch(o){throw new e.Exception(n)}r.push(i[0]),n=i[1]}return[r,n]}},all:function(){var e=arguments,t=t;return t.each(t.optional(e))},sequence:function(n,r,i){return r=r||t.rtoken(/^\s*/),i=i||null,1==n.length?n[0]:function(t){for(var a=null,o=null,s=[],l=0;l<n.length;l++){try{a=n[l].call(this,t)}catch(u){break}s.push(a[0]);try{o=r.call(this,a[1])}catch(c){o=null;break}t=o[1]}if(!a)throw new e.Exception(t);if(o)throw new e.Exception(o[1]);if(i)try{a=i.call(this,a[1])}catch(d){throw new e.Exception(a[1])}return[s,a?a[1]:t]}},between:function(e,n,i){i=i||e;var a=t.each(t.ignore(e),n,t.ignore(i));return function(e){var t=a.call(this,e);return[[t[0][0],r[0][2]],t[1]]}},list:function(e,n,r){return n=n||t.rtoken(/^\s*/),r=r||null,e instanceof Array?t.each(t.product(e.slice(0,-1),t.ignore(n)),e.slice(-1),t.ignore(r)):t.each(t.many(t.each(e,t.ignore(n))),px,t.ignore(r))},set:function(n,r,i){return r=r||t.rtoken(/^\s*/),i=i||null,function(a){for(var o=null,s=null,l=null,u=null,c=[[],a],d=!1,f=0;f<n.length;f++){l=null,s=null,o=null,d=1==n.length;try{o=n[f].call(this,a)}catch(h){continue}if(u=[[o[0]],o[1]],o[1].length>0&&!d)try{l=r.call(this,o[1])}catch(p){d=!0}else d=!0;if(d||0!==l[1].length||(d=!0),!d){for(var m=[],g=0;g<n.length;g++)f!=g&&m.push(n[g]);s=t.set(m,r).call(this,l[1]),s[0].length>0&&(u[0]=u[0].concat(s[0]),u[1]=s[1])}if(u[1].length<c[1].length&&(c=u),0===c[1].length)break}if(0===c[0].length)return c;if(i){try{l=i.call(this,c[1])}catch(y){throw new e.Exception(c[1])}c[1]=l[1]}return c}},forward:function(e,t){return function(n){return e[t].call(this,n)}},replace:function(e,t){return function(n){var r=e.call(this,n);return[t,r[1]]}},process:function(e,t){return function(n){var r=e.call(this,n);return[t.call(this,r[0]),r[1]]}},min:function(t,n){return function(r){var i=n.call(this,r);if(i[0].length<t)throw new e.Exception(r);return i}}},n=function(e){return function(){var t=null,n=[];if(arguments.length>1?t=Array.prototype.slice.call(arguments):arguments[0]instanceof Array&&(t=arguments[0]),!t)return e.apply(null,arguments);for(var r=0,i=t.shift();r<i.length;r++)return t.unshift(i[r]),n.push(e.apply(null,t)),t.shift(),n}},i="optional not ignore cache".split(/\s/),a=0;a<i.length;a++)t[i[a]]=n(t[i[a]]);for(var o=function(e){return function(){return arguments[0]instanceof Array?e.apply(null,arguments[0]):e.apply(null,arguments)}},s="each any all".split(/\s/),l=0;l<s.length;l++)t[s[l]]=o(t[s[l]])}(),function(){var e=function(t){for(var n=[],r=0;r<t.length;r++)t[r]instanceof Array?n=n.concat(e(t[r])):t[r]&&n.push(t[r]);return n};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(e){return function(){var t=e.replace(/[^\d\+\-]/g,"");t.length?this.timezoneOffset=Number(t):this.timezone=e.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(e){return function(){var t=Number(e);this.year=e.length>2?t:t+(t+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,this.second=0;for(var n=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(t){if(t=t instanceof Array?e(t):[t],0===t.length)return null;for(var n=0;n<t.length;n++)"function"==typeof t[n]&&t[n].call(this);if(this.now)return new Date;var r=Date.today(),i=!(null==this.days&&!this.orient&&!this.operator);if(i){var a,o,s;return s="past"==this.orient||"subtract"==this.operator?-1:1,this.weekday&&(this.unit="day",a=Date.getDayNumberFromName(this.weekday)-r.getDay(),o=7,this.days=a?(a+s*o)%o:s*o),this.month&&(this.unit="month",a=this.month-r.getMonth(),o=12,this.months=a?(a+s*o)%o:s*o,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*s),r.add(this)}return this.meridian&&this.hour&&(this.hour=this.hour<13&&"p"==this.meridian?this.hour+12:this.hour),this.weekday&&!this.day&&(this.day=r.addDays(Date.getDayNumberFromName(this.weekday)-r.getDay()).getDate()),this.month&&!this.day&&(this.day=1),r.set(this)}};var t,n=Date.Parsing.Operators,r=Date.Grammar,i=Date.Translator;r.datePartDelimiter=n.rtoken(/^([\s\-\.\,\/\x27]+)/),r.timePartDelimiter=n.stoken(":"),r.whiteSpace=n.rtoken(/^\s*/),r.generalDelimiter=n.rtoken(/^(([\s\,]|at|on)+)/);
|
4
|
-
var a={};r.ctoken=function(e){var t=a[e];if(!t){for(var r=Date.CultureInfo.regexPatterns,i=e.split(/\s+/),o=[],s=0;s<i.length;s++)o.push(n.replace(n.rtoken(r[i[s]]),i[s]));t=a[e]=n.any.apply(null,o)}return t},r.ctoken2=function(e){return n.rtoken(Date.CultureInfo.regexPatterns[e])},r.h=n.cache(n.process(n.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),i.hour)),r.hh=n.cache(n.process(n.rtoken(/^(0[0-9]|1[0-2])/),i.hour)),r.H=n.cache(n.process(n.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),i.hour)),r.HH=n.cache(n.process(n.rtoken(/^([0-1][0-9]|2[0-3])/),i.hour)),r.m=n.cache(n.process(n.rtoken(/^([0-5][0-9]|[0-9])/),i.minute)),r.mm=n.cache(n.process(n.rtoken(/^[0-5][0-9]/),i.minute)),r.s=n.cache(n.process(n.rtoken(/^([0-5][0-9]|[0-9])/),i.second)),r.ss=n.cache(n.process(n.rtoken(/^[0-5][0-9]/),i.second)),r.hms=n.cache(n.sequence([r.H,r.mm,r.ss],r.timePartDelimiter)),r.t=n.cache(n.process(r.ctoken2("shortMeridian"),i.meridian)),r.tt=n.cache(n.process(r.ctoken2("longMeridian"),i.meridian)),r.z=n.cache(n.process(n.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),i.timezone)),r.zz=n.cache(n.process(n.rtoken(/^(\+|\-)\s*\d\d\d\d/),i.timezone)),r.zzz=n.cache(n.process(r.ctoken2("timezone"),i.timezone)),r.timeSuffix=n.each(n.ignore(r.whiteSpace),n.set([r.tt,r.zzz])),r.time=n.each(n.optional(n.ignore(n.stoken("T"))),r.hms,r.timeSuffix),r.d=n.cache(n.process(n.each(n.rtoken(/^([0-2]\d|3[0-1]|\d)/),n.optional(r.ctoken2("ordinalSuffix"))),i.day)),r.dd=n.cache(n.process(n.each(n.rtoken(/^([0-2]\d|3[0-1])/),n.optional(r.ctoken2("ordinalSuffix"))),i.day)),r.ddd=r.dddd=n.cache(n.process(r.ctoken("sun mon tue wed thu fri sat"),function(e){return function(){this.weekday=e}})),r.M=n.cache(n.process(n.rtoken(/^(1[0-2]|0\d|\d)/),i.month)),r.MM=n.cache(n.process(n.rtoken(/^(1[0-2]|0\d)/),i.month)),r.MMM=r.MMMM=n.cache(n.process(r.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),i.month)),r.y=n.cache(n.process(n.rtoken(/^(\d\d?)/),i.year)),r.yy=n.cache(n.process(n.rtoken(/^(\d\d)/),i.year)),r.yyy=n.cache(n.process(n.rtoken(/^(\d\d?\d?\d?)/),i.year)),r.yyyy=n.cache(n.process(n.rtoken(/^(\d\d\d\d)/),i.year)),t=function(){return n.each(n.any.apply(null,arguments),n.not(r.ctoken2("timeContext")))},r.day=t(r.d,r.dd),r.month=t(r.M,r.MMM),r.year=t(r.yyyy,r.yy),r.orientation=n.process(r.ctoken("past future"),function(e){return function(){this.orient=e}}),r.operator=n.process(r.ctoken("add subtract"),function(e){return function(){this.operator=e}}),r.rday=n.process(r.ctoken("yesterday tomorrow today now"),i.rday),r.unit=n.process(r.ctoken("minute hour day week month year"),function(e){return function(){this.unit=e}}),r.value=n.process(n.rtoken(/^\d\d?(st|nd|rd|th)?/),function(e){return function(){this.value=e.replace(/\D/g,"")}}),r.expression=n.set([r.rday,r.operator,r.value,r.unit,r.orientation,r.ddd,r.MMM]),t=function(){return n.set(arguments,r.datePartDelimiter)},r.mdy=t(r.ddd,r.month,r.day,r.year),r.ymd=t(r.ddd,r.year,r.month,r.day),r.dmy=t(r.ddd,r.day,r.month,r.year),r.date=function(e){return(r[Date.CultureInfo.dateElementOrder]||r.mdy).call(this,e)},r.format=n.process(n.many(n.any(n.process(n.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)}),n.process(n.rtoken(/^[^dMyhHmstz]+/),function(e){return n.ignore(n.stoken(e))}))),function(e){return n.process(n.each.apply(null,e),i.finishExact)});var o={},s=function(e){return o[e]=o[e]||r.format(e)[0]};r.formats=function(e){if(e instanceof Array){for(var t=[],r=0;r<e.length;r++)t.push(s(e[r]));return n.any.apply(null,t)}return s(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=n.process(n.set([r.date,r.time,r.expression],r.generalDelimiter,r.whiteSpace),i.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 t=Date.Grammar.formats(e);return function(e){var n=null;try{n=t.call({},e)}catch(r){return null}return 0===n[1].length?n[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 t(e){return e=Math.round(e),isNaN(e)||1>e?"":10>e?" "+e:e>99?"99":e}function n(e,t,n,r,i){var a,o,s,l,u,c,d,f=document.getElementsByTagName("head")[0],h=document.createElement("link");h.rel="icon",a=r.width/16,o=11*a,l=a,u=11*a,c=a,d=2*a,e.height=e.width=r.width,s=e.getContext("2d"),s.font="bold "+o+"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 r=this,i=document.createElement("img");r.canvas.getContext&&(i.crossOrigin="anonymous",i.onload=function(){n(r.canvas,r.opacity,r.font,i,t(e))},i.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))))){ENGINE=engine;break}return method}function addEvent(e,t){e="on"+e;var n=win[e];win[e]="function"!=typeof win[e]?t: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,d=[];e=e.replace(WHITESPACE_CHARACTERS,EMPTY_STRING),e=e.replace(/\s?(\{|\:|\})\s?/g,PLACEHOLDER_STRING),t=e.split(END_MUSTACHE);for(l in t)if(t.hasOwnProperty(l)&&(e=t[l],e&&(n=[e,END_MUSTACHE].join(EMPTY_STRING),r=/(\@media[^\{]+\{)?(.*)\{(.*)\}/.exec(n),r&&r[3]))){i=r[2],a=r[3].split(";"),s=[];for(u in a)a.hasOwnProperty(u)&&(c=a[u],o=c.split(":"),o.length&&o[1]&&s.push({property:o[0],value:o[1]}));i&&s.length&&d.push({selector:i,properties:s})}return d}function findFlexboxElements(e){var t,n,r,i,a,o,s,l,u,c,d,f,h,p,m,g,y,v=/\s?,\s?/,b={},T={};for(o=function(e,t,n,r){var i,a,o,s;for(i={selector:trim(e),properties:[]},a=0,o=t.properties.length;o>a;a++)s=t.properties[a],i.properties.push({property:trim(s.property),value:trim(s.value)});return n&&r&&(i[n]=r),i},s=function(e,t,n,r){var i,a,s,l,u,c,d,f=n&&r?b[e]:T[e];if(f){for(s=0,l=t.properties.length;l>s;s++){for(u=t.properties[s],c=0,d=f.properties.length;d>c;c++)if(a=f.properties[c],u.property===a.property)return i=c,!1;i?f.properties[i]=u:f.properties.push(u)}n&&r&&(f[n]=r)}else n&&r?b[e]=o(e,t,n,r):T[e]=o(e,t,NULL,NULL)},u=0,c=e.length;c>u;u++)for(d=e[u],t=trim(d.selector).replace(v,",").split(v),f=0,h=t.length;h>f;f++)for(p=trim(t[f]),n=d.properties,m=0,g=n.length;g>m;m++)if(y=n[m],r=trim(y.property),i=trim(y.value),r)switch(a=r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&s(p,d,NULL,NULL);break;case"orient":case"align":case"direction":case"pack":s(p,d,NULL,NULL);break;case"flex":case"flex-group":case"ordinal-group":s(p,d,a,i)}for(l in T)T.hasOwnProperty(l)&&FLEX_BOXES.push(T[l]);for(l in b)b.hasOwnProperty(l)&&POSSIBLE_FLEX_CHILDREN.push(b[l]);return{boxes:FLEX_BOXES,children:POSSIBLE_FLEX_CHILDREN}}function matchFlexChildren(e,t,n){var r,i,a,o,s,l,u,c,d,f=[];for(a=0,o=n.length;o>a;a++)if(s=n[a],s.selector){if(r=t(s.selector),r=r[0]?r:[r],r[0])for(l=0,u=r.length;u>l;l++)if(c=r[l],c.nodeName!==UNDEFINED)switch(c.nodeName.toLowerCase()){case"script":case"style":case"link":break;default:if(c.parentNode===e){setFlexieId(c),i={};for(d in 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,a,o,s,l,u,c,d,f,h,p,m,g,y,v,b,T,x,E,D,S,w,N,M,L,C,O,k,F,_={},I="["+FLX_PARENT_ATTR+"]";if(e){for(b=0,T=e.boxes.length;T>b;b++){for(x=e.boxes[b],x.selector=trim(x.selector),t=x.selector,n=x.properties,o=s=l=u=c=NULL,E=0,D=n.length;D>E;E++)if(S=n[E],r=trim(S.property),i=trim(S.value),r)switch(a=r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&(o=i);break;case"orient":s=i;break;case"align":l=i;break;case"direction":u=i;break;case"pack":c=i}for(d=LIBRARY,f=d(x.selector),f=f[0]?f:[f],E=0,D=f.length;D>E;E++)if(w=f[E],w.nodeType)if(setFlexieId(w),h=matchFlexChildren(w,d,e.children),v=t+" "+I,m={target:w,selector:t,properties:n,children:h,display:o,orient:s,align:l,direction:u,pack:c,nested:v},g=_[w.FLX_DOM_ID]){for(N in m)if(m.hasOwnProperty(N))switch(i=m[N],N){case"selector":i&&!new RegExp(i).test(g[N])&&(g[N]+=", "+i);break;case"children":for(M=0,L=m[N].length;L>M;M++){for(C=m[N][M],y=FALSE,O=0,k=g[N].length;k>O;O++)F=g[N][O],C.match.FLX_DOM_ID===F.match.FLX_DOM_ID&&(y=TRUE);y||g[N].push(C)}break;default:i&&(g[N]=i)}}else _[w.FLX_DOM_ID]=getParams(m),_[w.FLX_DOM_ID].target.setAttribute(FLX_PARENT_ATTR,TRUE)}for(DOM_ORDERED=LIBRARY(I),FLEX_BOXES={},b=0,T=DOM_ORDERED.length;T>b;b++)w=DOM_ORDERED[b],FLEX_BOXES[w.FLX_DOM_ID]=_[w.FLX_DOM_ID];for(N in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(N)&&(x=FLEX_BOXES[N],"box"===x.display&&(p=new FLX.box(x)))}}function calcPx(e,t,n){var r,i,a,o=n.replace(n.charAt(0),n.charAt(0).toUpperCase()),s=e["offset"+o]||0;if(s)for(r=0,i=t.length;i>r;r++)a=parseFloat(e.currentStyle[t[r]]),isNaN(a)||(s-=a);return s}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){var r;switch(n){case"width":r=[PADDING_LEFT,PADDING_RIGHT,BORDER_LEFT,BORDER_RIGHT],t=calcPx(e,r,n);break;case"height":r=[PADDING_TOP,PADDING_BOTTOM,BORDER_TOP,BORDER_BOTTOM],t=calcPx(e,r,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;a>i;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;i>r;r++)e=a[r],e&&e.style&&(e.style[t]=n?n+"px":EMPTY_STRING)}function calculateSpecificity(e){var t,n,r,i,a,o;for(t=e.replace(CSS_SELECTOR,function(e,t){return"%"+t}).replace(/\s|\>|\+|\~/g,"%").split(/%/g),n={_id:100,_class:10,_tag:1},r=0,i=0,a=t.length;a>i;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=[],d=(n?"ordinal":"flex")+"Specificity";for(i=0,a=e.length;a>i;i++)if(o=e[i],!n&&o.flex||n&&o["ordinal-group"]){for(o[d]=o[d]||calculateSpecificity(o.selector),r=FALSE,s=0,l=c.length;l>s;s++)if(u=c[s],u.match===o.match)return u[d]<o[d]&&(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,d={},f=[],h=0,p="ordinal-group",m="data-"+p;for(e=filterDuplicates(e,t,n),i=0,a=t.length;a>i;i++){for(o=t[i],s=0,l=e.length;l>s;s++)u=e[s],n?(r=u[p]||"1",u.match===o&&(u.match.setAttribute(m,r),d[r]=d[r]||[],d[r].push(u))):(r=u.flex||"0",u.match===o&&(!u[r]||u[r]&&parseInt(u[r],10)<=1)&&(h+=parseInt(r,10),d[r]=d[r]||[],d[r].push(u)));n&&!o.getAttribute(m)&&(r="1",o.setAttribute(m,r),d[r]=d[r]||[],d[r].push({match:o}))}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,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;n>t;t++)r=e[t],i=r.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;i>r;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,r,i=0,a=e.parentNode;a.FLX_DOM_ID;)t=FLEX_BOXES[a.FLX_DOM_ID],n=createMatchMatrix(t.children,sanitizeChildren(a,a.childNodes),NULL),i+=n.total,r=TRUE,a=a.parentNode;return{nested:r,flex:i}}function dimensionValues(e,t){var n,r,i,a,o,s=e.parentNode;if(s.FLX_DOM_ID)for(n=FLEX_BOXES[s.FLX_DOM_ID],i=0,a=n.properties.length;a>i;i++)if(o=n.properties[i],new RegExp(t).test(o.property))return r=TRUE,FALSE;return r}function updateChildValues(e){var t,n,r;if(e.flexMatrix)for(t=0,n=e.children.length;n>t;t++)r=e.children[t],r.flex=e.flexMatrix[t];if(e.ordinalMatrix)for(t=0,n=e.children.length;n>t;t++)r=e.children[t],r["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:function(){var e,t=win.navigator.userAgent,n=MSIE.exec(t.toLowerCase());return n&&(e=parseInt(n[2],10)),e}()},selectivizrEngine;return selectivizrEngine=function(){function e(e){return e.replace(g,PLACEHOLDER_STRING)}function t(t){return e(t).replace(m,SPACE_STRING)}function n(e){return t(e.replace(h,PLACEHOLDER_STRING).replace(p,PLACEHOLDER_STRING))}function r(e){return e.replace(f,function(e,t,r){var i,a,o,s,l;for(i=r.split(","),o=0,s=i.length;s>o;o++)l=i[o],a=n(l)+SPACE_STRING;return t+i.join(",")})}function i(){if(win.XMLHttpRequest)return new win.XMLHttpRequest;try{return new win.ActiveXObject("Microsoft.XMLHTTP")}catch(e){return NULL}}function a(e){for(var t,n=/<style[^<>]*>([^<>]*)<\/style[\s]?>/gim,r=n.exec(e),i=[];r;)t=r[1],t&&i.push(t),r=n.exec(e);return i.join("\n\n")}function o(e){var t,n=i();return n.open("GET",e,FALSE),n.send(),t=200===n.status?n.responseText:EMPTY_STRING,e===window.location.href&&(t=a(t)),t}function s(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 l(e){return e?o(e).replace(u,EMPTY_STRING).replace(c,function(t,n,r,i,a,o){var u=l(s(r||a,e));return o?"@media "+o+" {"+u+"}":u}).replace(d,function(t,n,r,i){return r=r||EMPTY_STRING,n?t:" url("+r+s(i,e,!0)+r+") "}):EMPTY_STRING}var u=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*?/g,c=/@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))\s*([^;]*);/g,d=/(behavior\s*?:\s*)?\burl\(\s*(["']?)(?!data:)([^"')]+)\2\s*\)/g,f=/((?:^|(?:\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,i,a,o,u,c=[],d=doc.getElementsByTagName("BASE"),f=d.length>0?d[0].href:doc.location.href,h=doc.styleSheets;for(n=0,i=h.length;i>n;n++)t=h[n],t!=NULL&&c.push(t);for(c.push(window.location),n=0,i=c.length;i>n;n++)t=c[n],t&&(e=s(t.href,f),e&&(a=r(l(e))),a&&(o=buildSelectorTree(a),u=findFlexboxElements(o)));buildFlexieCall(u)}}(),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=doc.styleSheets,i=i[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;l>s;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(t=t.reverse(),a=0,o=t.length;o>a;a++)s=t[a],e.appendChild(s);for(r=LIBRARY(n.nested),a=0,o=r.length;o>a;a++)l=r[a],i=FLEX_BOXES[l.FLX_DOM_ID],i&&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;o>a;a++)s=t[a],s.style[BROWSER.IE>=9?"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(e,t,n){var r,i;t.length&&(r=function(r){var i,a,o,s,l,u,c=r.keys,d=n.reversed?c:c.reverse();for(i=0,a=d.length;a>i;i++)for(o=d[i],s=0,l=t.length;l>s;s++)u=t[s],o===u.getAttribute("data-ordinal-group")&&e.appendChild(u)},i=createMatchMatrix(n.children,t,TRUE),i.keys.length>1&&r(i))},boxFlex:function(e,t,n){var r,i,a,o,s,l,u,c=this;t.length&&(r=function(e){var t,n,r,i,a,o,s,l,u,d,f=e.groups,h=e.keys;for(n=0,r=h.length;r>n;n++)for(i=h[n],a=0,o=f[i].length;o>a;a++){for(s=f[i][a],t=NULL,l=0,u=s.properties.length;u>l;l++)d=s.properties[l],RESTRICTIVE_PROPERTIES.test(d.property)&&(t=parseFloat(d.value));(!t||s.match[c.props.out]>t)&&appendPixelValue(s.match,c.props.pos,NULL)}},i=function(n){var r,i,a,o,s,l,u,d,f=0;for(a=0,o=t.length;o>a;a++){for(s=t[a],f+=getComputedStyle(s,c.props.dim,TRUE),l=0,u=c.props.pad.length;u>l;l++)d=c.props.pad[l],f+=getComputedStyle(s,d,TRUE);f+=getComputedStyle(s,c.props.pos,TRUE),f+=getComputedStyle(s,c.props.opp,TRUE)}for(r=e[c.props.out]-f,a=0,o=c.props.pad.length;o>a;a++)d=c.props.pad[a],r-=getComputedStyle(e,d,TRUE);return i=r/n.total,{whitespace:r,ration:i}},a=function(e,t){var n,r,i,a,o,s,l,u,d,f,h,p=e.groups,m=e.keys,g=t.ration;for(s=0,l=m.length;l>s;s++)for(u=m[s],i=g*u,d=0,f=p[u].length;f>d;d++)h=p[u][d],h.match&&(n=h.match.getAttribute("data-flex"),r=h.match.getAttribute("data-specificity"),(!n||r<=h.flexSpecificity)&&(h.match.setAttribute("data-flex",u),h.match.setAttribute("data-specificity",h.flexSpecificity),a=getComputedStyle(h.match,c.props.dim,TRUE),o=Math.max(0,a+i),appendPixelValue(h.match,c.props.dim,o)))},o=createMatchMatrix(n.children,t,NULL),o.total&&(n.hasFlex=TRUE,s=r(o),l=i(o),u=a(o,l)))},boxAlign:function(e,t,n){var r,i,a,o,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],a=0,o=d.anti.pad.length;o>a;a++)s=d.anti.pad[a],r-=getComputedStyle(e,s,TRUE);switch(n.align){case"start":break;case"end":for(a=0,o=t.length;o>a;a++)c=t[a],i=r-c[d.anti.out],i-=getComputedStyle(c,d.anti.opp,TRUE),appendPixelValue(c,d.anti.pos,i);break;case"center":for(a=0,o=t.length;o>a;a++)c=t[a],i=(r-c[d.anti.out])/2,appendPixelValue(c,d.anti.pos,i);break;default:for(a=0,o=t.length;o>a;a++)switch(c=t[a],c.nodeName.toLowerCase()){case"button":case"input":case"select":break;default:var h=0;for(l=0,u=d.anti.pad.length;u>l;l++)s=d.anti.pad[l],h+=getComputedStyle(c,s,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;u>l;l++)s=d.anti.pad[l],i-=getComputedStyle(c,s,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,a,o,s,l,u,c,d,f=this,h=0,p=0,m=0,g=t.length-1;for(l=0,u=t.length;u>l;l++)s=t[l],h+=s[f.props.out],h+=getComputedStyle(s,f.props.pos,TRUE),h+=getComputedStyle(s,f.props.opp,TRUE);for(p=getComputedStyle(t[0],f.props.pos,TRUE),r=e[f.props.out]-h,l=0,u=f.props.pad.length;u>l;l++)d=f.props.pad[l],r-=getComputedStyle(e,d,TRUE);switch(0>r&&(r=Math.max(0,r)),n.pack){case"end":appendPixelValue(t[0],f.props.pos,m+p+r);break;case"center":m&&(m/=2),appendPixelValue(t[0],f.props.pos,m+p+Math.floor(r/2));break;case"justify":for(i=Math.floor((m+r)/g),o=i*g-r,l=t.length-1;l;)s=t[l],a=i,o&&(a++,o++),c=getComputedStyle(s,f.props.pos,TRUE)+a,appendPixelValue(s,f.props.pos,c),l--}e.style.overflow=""}},setup:function(e,t,n){var r,i,a,o,s=this;if(e&&t&&n)if(SUPPORT&&SUPPORT.partialSupport)r=createMatchMatrix(n.children,t,NULL),i=parentFlex(e),t=sanitizeChildren(e,e.childNodes),s.properties.boxOrient.call(s,e,t,n),r.total&&LIBRARY(n.nested).length||("stretch"!==n.align||SUPPORT.boxAlignStretch||i.nested&&i.flex||s.properties.boxAlign.call(s,e,t,n),"justify"!==n.pack||SUPPORT.boxPackJustify||r.total||s.properties.boxPack.call(s,e,t,n));else if(!SUPPORT)for(a in s.properties)s.properties.hasOwnProperty(a)&&(o=s.properties[a],o.call(s,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):!1},bubbleUp:function(e,t){for(var n,r=this,i=t.target.parentNode;i;)n=FLEX_BOXES[i.FLX_DOM_ID],n&&(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&&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&&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,o;if(n=function(e){for(e.target.FLX_DOM_ID=NULL,e.target.style.cssText=EMPTY_STRING,r=0,i=e.children.length;i>r;r++)a=e.children[r],a.match.style.cssText=EMPTY_STRING},e)t=FLEX_BOXES[e.FLX_DOM_ID],t&&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,a={},o=100,s=doc.createElement("flxbox"),l='<b style="margin: 0; padding: 0; display:block; width: 10px; height:'+o/2+'px"></b>';s.style.width=s.style.height=o+"px",s.innerHTML=l+l+l,appendProperty(s,"display","box",NULL),appendProperty(s,"box-align","stretch",TRUE),appendProperty(s,"box-pack","justify",TRUE),doc.body.appendChild(s),e=s.firstChild.offsetHeight,t={boxAlignStretch:function(){return 100===e},boxPackJustify:function(){var e,t,n=0;for(e=0,t=s.childNodes.length;t>e;e++)n+=s.childNodes[e].offsetLeft;return 135===n}};for(r in t)t.hasOwnProperty(r)&&(i=t[r],n=i(),n||(a.partialSupport=TRUE),a[r]=n);return doc.body.removeChild(s),~s.style.display.indexOf("box")?a: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(e){function t(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function n(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 r(e){for(b in x)x[b]=e[M[b]]}function i(e){var n,i,a,o,l,u;if(n=e.keyCode,-1==t(N,n)&&N.push(n),(93==n||224==n)&&(n=91),n in x){x[n]=!0;for(a in D)D[a]==n&&(s[a]=!0)}else if(r(e),s.filter.call(this,e)&&n in T)for(u=h(),o=0;o<T[n].length;o++)if(i=T[n][o],i.scope==u||"all"==i.scope){l=i.mods.length>0;for(a in x)(!x[a]&&t(i.mods,+a)>-1||x[a]&&-1==t(i.mods,+a))&&(l=!1);(0!=i.mods.length||x[16]||x[18]||x[17]||x[91])&&!l||i.method(e,i)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function a(e){var n,r=e.keyCode,i=t(N,r);if(i>=0&&N.splice(i,1),(93==r||224==r)&&(r=91),r in x){x[r]=!1;for(n in D)D[n]==r&&(s[n]=!1)}}function o(){for(b in x)x[b]=!1;for(b in D)s[b]=!1}function s(e,t,n){var r,i;r=m(e),void 0===n&&(n=t,t="all");for(var a=0;a<r.length;a++)i=[],e=r[a].split("+"),e.length>1&&(i=g(e),e=[e[e.length-1]]),e=e[0],e=w(e),e in T||(T[e]=[]),T[e].push({shortcut:r[a],scope:t,method:n,key:r[a],mods:i})}function l(e,t){var r,i,a,o,s,l=[];for(r=m(e),o=0;o<r.length;o++){if(i=r[o].split("+"),i.length>1&&(l=g(i),e=i[i.length-1]),e=w(e),void 0===t&&(t=h()),!T[e])return;for(a=0;a<T[e].length;a++)s=T[e][a],s.scope===t&&n(s.mods,l)&&(T[e][a]={})}}function u(e){return"string"==typeof e&&(e=w(e)),-1!=t(N,e)}function c(){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 e=e.replace(/\s/g,""),t=e.split(","),""==t[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 t=e.key;return e.key=L,t}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;20>b;b++)S["f"+b]=111+b;var M={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey"};for(b in D)s[b]=!1;y(document,"keydown",function(e){i(e)}),y(document,"keyup",a),y(window,"focus",o);var L=e.key;e.key=s,e.key.setScope=f,e.key.getScope=h,e.key.deleteScope=p,e.key.filter=d,e.key.isPressed=u,e.key.getPressedKeyCodes=c,e.key.noConflict=v,e.key.unbind=l,"undefined"!=typeof module&&(module.exports=key)}(this),function(){var e,t=function(e,t){return function(){return e.apply(t,arguments)}};jQuery.expr[":"].icontains=function(e,t,n){var r,i;return(null!=(r=null!=(i=e.textContent)?i:e.innerText)?r:"").toUpperCase().indexOf(n[3].toUpperCase())>=0},e=function(){function e(){this.nextTab=t(this.nextTab,this),this.previousTab=t(this.previousTab,this),this.openTab=t(this.openTab,this),this.selectedTab=t(this.selectedTab,this),this.getTab=t(this.getTab,this),$("#messages tr").live("click",function(e){return function(t){return t.preventDefault(),e.loadMessage($(t.currentTarget).attr("data-message-id"))}}(this)),$("input[name=search]").keyup(function(e){return function(t){var n;return n=$.trim($(t.currentTarget).val()),n?e.searchMessages(n):e.clearSearch()}}(this)),$("#message .views .format.tab a").live("click",function(e){return function(t){return t.preventDefault(),e.loadMessageBody(e.selectedMessage(),$($(t.currentTarget).parent("li")).data("message-format"))}}(this)),$("#message iframe").load(function(e){return function(){return e.decorateMessageBody()}}(this)),$("#resizer").live({mousedown:function(e){return function(t){var n;return t.preventDefault(),$(window).bind(n={mouseup:function(e){return e.preventDefault(),$(window).unbind(n)},mousemove:function(t){return t.preventDefault(),e.resizeTo(t.clientY)}})}}(this)}),this.resizeToSaved(),$("nav.app .clear a").live("click",function(e){return function(t){return t.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to clear all messages?")?$.ajax({url:"/messages",type:"DELETE",success:function(){return e.unselectMessage(),e.updateMessagesCount()},error:function(){return alert("Error while clearing all messages.")}}):void 0}}(this)),$("nav.app .quit a").live("click",function(){return function(e){return e.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to quit?")?$.ajax({type:"DELETE",success:function(){return location.replace($("body > header h1 a").attr("href"))},error:function(){return alert("Error while quitting.")}}):void 0}}(this)),this.favcount=new Favcount($('link[rel="icon"]').attr("href")),key("up",function(e){return function(){return e.loadMessage(e.selectedMessage()?$("#messages tr.selected").prev().data("message-id"):$("#messages tbody tr[data-message-id]:first").data("message-id")),!1}}(this)),key("down",function(e){return function(){return e.loadMessage(e.selectedMessage()?$("#messages tr.selected").next().data("message-id"):$("#messages tbody tr[data-message-id]:first").data("message-id")),!1}}(this)),key("\u2318+up, ctrl+up",function(e){return function(){return e.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id")),!1}}(this)),key("\u2318+down, ctrl+down",function(e){return function(){return e.loadMessage($("#messages tbody tr[data-message-id]:last").data("message-id")),!1}}(this)),key("left",function(e){return function(){return e.openTab(e.previousTab()),!1
|
5
|
-
}}(this)),key("right",function(e){return function(){return e.openTab(e.nextTab()),!1}}(this)),key("backspace, delete",function(e){return function(){var t;return t=e.selectedMessage(),null!=t&&$.ajax({url:"/messages/"+t,type:"DELETE",success:function(){var n,r;return n=$('#messages tbody tr[data-message-id="'+t+'"]'),r=n.next().data("message-id")||n.prev().data("message-id"),n.remove(),r?e.loadMessage(r):e.unselectMessage(),e.updateMessagesCount()},error:function(){return alert("Error while removing message.")}}),!1}}(this)),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;return(t=this.parseDateRegexp.exec(e))?new Date(t[1],t[2]-1,t[3],t[4],t[5],t[6],0):void 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=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())},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&&(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?e:this.selectedTab()+1,t>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),$('#messages tbody tr[data-message-id="'+e+'"]').length>0},e.prototype.selectedMessage=function(){return $("#messages tr.selected").data("message-id")},e.prototype.searchMessages=function(e){var t,n,r;return n=function(){var t,n,i,a;for(i=e.split(/\s+/),a=[],t=0,n=i.length;n>t;t++)r=i[t],a.push(":icontains('"+r+"')");return a}().join(""),t=$("#messages tbody tr"),t.not(n).hide(),t.filter(n).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>n?$("#messages").scrollTop($("#messages").scrollTop()+n-20):(t=n+e.height()-$("#messages").height(),t>0?$("#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(e){var t;return null!=(null!=e?e.id:void 0)&&(e=e.id),e||(e=$("#messages tr.selected").attr("data-message-id")),null!=e?($("#messages tbody tr:not([data-message-id='"+e+"'])").removeClass("selected"),t=$("#messages tbody tr[data-message-id='"+e+"']"),t.addClass("selected"),this.scrollToRow(t),$.getJSON("/messages/"+e+".json",function(t){return function(n){var r;return $("#message .metadata dd.created_at").text(t.formatDate(n.created_at)),$("#message .metadata dd.from").text(n.sender),$("#message .metadata dd.to").text((n.recipients||[]).join(", ")),$("#message .metadata dd.subject").text(n.subject),$("#message .views .tab.format").each(function(t,r){var i,a;return i=$(r),a=i.attr("data-message-format"),$.inArray(a,n.formats)>=0?(i.find("a").attr("href","/messages/"+e+"."+a),i.show()):i.hide()}),$("#message .views .tab.selected:not(:visible)").length&&($("#message .views .tab.selected").removeClass("selected"),$("#message .views .tab:visible:first").addClass("selected")),n.attachments.length?(r=$("<ul/>").appendTo($("#message .metadata dd.attachments").empty()),$.each(n.attachments,function(e,t){return r.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/"+e+".eml"),t.loadMessageBody()}}(this))):void 0},e.prototype.loadMessageBody=function(e,t){return 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?$("#message iframe").attr("src","/messages/"+e+"."+t):void 0},e.prototype.decorateMessageBody=function(){var e,t,n,r;switch(t=$("#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
|
1
|
+
window.Modernizr=function(e,t,n){function r(e){p.cssText=e}function i(e,t){return typeof e===t}var a,o,s,l="2.7.1",u={},c=!0,d=t.documentElement,f="modernizr",h=t.createElement(f),p=h.style,m=({}.toString,{}),g=[],y=g.slice,v={}.hasOwnProperty;s=i(v,"undefined")||i(v.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return v.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=y.call(arguments,1),r=function(){if(this instanceof r){var i=function(){};i.prototype=t.prototype;var a=new i,o=t.apply(a,n.concat(y.call(arguments)));return Object(o)===o?o:a}return t.apply(e,n.concat(y.call(arguments)))};return r});for(var b in m)s(m,b)&&(o=b.toLowerCase(),u[o]=m[b](),g.push((u[o]?"":"no-")+o));return u.addTest=function(e,t){if("object"==typeof e)for(var r in e)s(e,r)&&u.addTest(r,e[r]);else{if(e=e.toLowerCase(),u[e]!==n)return u;t="function"==typeof t?t():t,"undefined"!=typeof c&&c&&(d.className+=" "+(t?"":"no-")+e),u[e]=t}return u},r(""),h=a=null,function(e,t){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 r(){var e=v.elements;return"string"==typeof e?e.split(" "):e}function i(e){var t=y[e[m]];return t||(t={},g++,e[m]=g,y[g]=t),t}function a(e,n,r){if(n||(n=t),c)return n.createElement(e);r||(r=i(n));var a;return a=r.cache[e]?r.cache[e].cloneNode():p.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!a.canHaveChildren||h.test(e)||a.tagUrn?a:r.frag.appendChild(a)}function o(e,n){if(e||(e=t),c)return e.createDocumentFragment();n=n||i(e);for(var a=n.frag.cloneNode(),o=0,s=r(),l=s.length;l>o;o++)a.createElement(s[o]);return a}function s(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return v.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(v,t.frag)}function l(e){e||(e=t);var r=i(e);return!v.shivCSS||u||r.hasCSS||(r.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||s(e,r),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=t.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,c=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){u=!0,c=!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:f.shivCSS!==!1,supportsUnknownElements:c,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:l,createElement:a,createDocumentFragment:o};e.html5=v,l(t)}(this,t),u._version=l,d.className=d.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(c?" js "+g.join(" "):""),u}(this,this.document),function(e,t){function n(){return!1}function r(){return!0}function i(e,t,n){return n[0].type=e,v.event.handle.apply(t,n)}function a(e){var t,n,r,i,a,o,s,l,u,c,d,f,h=[],p=[],m=v.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++)a=g[s],a.origType.replace(C,"")===e.type?p.push(a.selector):g.splice(s--,1);for(i=v(e.target).closest(p,e.currentTarget),l=0,u=i.length;u>l;l++)for(c=i[l],s=0;s<g.length;s++)a=g[s],c.selector!==a.selector||d&&!d.test(a.namespace)||(o=c.elem,r=null,("mouseenter"===a.preType||"mouseleave"===a.preType)&&(e.type=a.preType,r=v(e.relatedTarget).closest(a.selector)[0]),r&&r===o||h.push({elem:o,handleObj:a,level:c.level}));for(l=0,u=h.length;u>l&&(i=h[l],!(n&&i.level>n));l++)e.currentTarget=i.elem,e.data=i.handleObj.data,e.handleObj=i.handleObj,f=i.handleObj.origHandler.apply(i.elem,arguments),(f===!1||e.isPropagationStopped())&&(n=i.level,f===!1&&(t=!1));return t}}function o(e,t){return(e&&"*"!==e?e+".":"")+t.replace(k,"`").replace(F,"&")}function s(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function l(e,t,n){if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=v.grep(e,function(e){return 1===e.nodeType});if(W.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e){return v.inArray(e,t)>=0===n})}function u(e){return v.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function c(e,t){var n=0;t.each(function(){if(this.nodeName===(e[n]&&e[n].nodeName)){var t=v.data(e[n++]),r=v.data(this,t),i=t&&t.events;if(i){delete r.handle,r.events={};for(var a in i)for(var o in i[a])v.event.add(this,a,i[a][o],i[a][o].data)}}})}function d(e,t){t.src?v.ajax({url:t.src,async:!1,dataType:"script"}):v.globalEval(t.text||t.textContent||t.innerHTML||""),t.parentNode&&t.parentNode.removeChild(t)}function f(e,t,n){var r="width"===t?ft:ht,i="width"===t?e.offsetWidth:e.offsetHeight;return"border"===n?i:(v.each(r,function(){n||(i-=parseFloat(v.css(e,"padding"+this))||0),"margin"===n?i+=parseFloat(v.css(e,"margin"+this))||0:i-=parseFloat(v.css(e,"border"+this+"Width"))||0}),i)}function h(e,t,n,r){v.isArray(t)&&t.length?v.each(t,function(t,i){n||Et.test(e)?r(e,i):h(e+"["+("object"==typeof i||v.isArray(i)?t:"")+"]",i,n,r)}):n||null==t||"object"!=typeof t?r(e,t):v.isEmptyObject(t)?r(e,""):v.each(t,function(t,i){h(e+"["+t+"]",i,n,r)})}function p(e,t){var n={};return v.each(_t.concat.apply([],_t.slice(0,t)),function(){n[this]=e}),n}function m(e){if(!Ot[e]){var t=v("<"+e+">").appendTo("body"),n=t.css("display");t.remove(),("none"===n||""===n)&&(n="block"),Ot[e]=n}return Ot[e]}function g(e){return v.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var y=e.document,v=function(){function n(){if(!o.isReady){try{y.documentElement.doScroll("left")}catch(e){return void setTimeout(n,1)}o.ready()}}var r,i,a,o=function(e,t){return new o.fn.init(e,t)},s=e.jQuery,l=e.$,u=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,c=/\S/,d=/\s/,f=/^\s+/,h=/\s+$/,p=/\W/,m=/\d/,g=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,v=/^[\],:{}\s]*$/,b=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,T=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,E=/(?:^|:|,)(?:\s*\[)+/g,x=/(webkit)[ \/]([\w.]+)/,D=/(opera)(?:.*version)?[ \/]([\w.]+)/,S=/(msie) ([\w.]+)/,w=/(mozilla)(?:.*? rv:([\w.]+))?/,N=navigator.userAgent,M=!1,L=[],C=Object.prototype.toString,O=Object.prototype.hasOwnProperty,k=Array.prototype.push,F=Array.prototype.slice,_=String.prototype.trim,I=Array.prototype.indexOf,A={};return o.fn=o.prototype={init:function(e,n){var i,a,s,l;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!n&&y.body)return this.context=y,this[0]=y.body,this.selector="body",this.length=1,this;if("string"==typeof e){if(i=u.exec(e),!i||!i[1]&&n)return n||p.test(e)?!n||n.jquery?(n||r).find(e):o(n).find(e):(this.selector=e,this.context=y,e=y.getElementsByTagName(e),o.merge(this,e));if(i[1])return l=n?n.ownerDocument||n:y,s=g.exec(e),s?o.isPlainObject(n)?(e=[y.createElement(s[1])],o.fn.attr.call(e,n,!0)):e=[l.createElement(s[1])]:(s=o.buildFragment([i[1]],[l]),e=(s.cacheable?s.fragment.cloneNode(!0):s.fragment).childNodes),o.merge(this,e);if(a=y.getElementById(i[2]),a&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=y,this.selector=e,this}return o.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),o.makeArray(e,this))},selector:"",jquery:"1.4.3",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(e){return null==e?this.toArray():0>e?this.slice(e)[0]:this[e]},pushStack:function(e,t,n){var r=o();return o.isArray(e)?k.apply(r,e):o.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 o.each(this,e,t)},ready:function(e){return o.bindReady(),o.isReady?e.call(y,o):L&&L.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(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(e){return this.pushStack(o.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||o(null)},push:k,sort:[].sort,splice:[].splice},o.fn.init.prototype=o.fn,o.extend=o.fn.extend=function(){var e,n,r,i,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||o.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(e=arguments[l]))for(n in e)r=s[n],i=e[n],s!==i&&(c&&i&&(o.isPlainObject(i)||(a=o.isArray(i)))?(a?(a=!1,clone=r&&o.isArray(r)?r:[]):clone=r&&o.isPlainObject(r)?r:{},s[n]=o.extend(c,clone,i)):i!==t&&(s[n]=i));return s},o.extend({noConflict:function(t){return e.$=l,t&&(e.jQuery=s),o},isReady:!1,readyWait:1,ready:function(e){if(e===!0&&o.readyWait--,!o.readyWait||e!==!0&&!o.isReady){if(!y.body)return setTimeout(o.ready,1);if(o.isReady=!0,e!==!0&&--o.readyWait>0)return;if(L){for(var t,n=0;t=L[n++];)t.call(y,o);L=null}o.fn.triggerHandler&&o(y).triggerHandler("ready")}},bindReady:function(){if(!M){if(M=!0,"complete"===y.readyState)return setTimeout(o.ready,1);if(y.addEventListener)y.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",o.ready,!1);else if(y.attachEvent){y.attachEvent("onreadystatechange",a),e.attachEvent("onload",o.ready);var t=!1;try{t=null==e.frameElement}catch(r){}y.documentElement.doScroll&&t&&n()}}},isFunction:function(e){return"function"===o.type(e)},isArray:Array.isArray||function(e){return"array"===o.type(e)},isWindow:function(e){return e&&"object"==typeof e&&"setInterval"in e},isNaN:function(e){return null==e||!m.test(e)||isNaN(e)},type:function(e){return null==e?String(e):A[C.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==o.type(e)||e.nodeType||o.isWindow(e))return!1;if(e.constructor&&!O.call(e,"constructor")&&!O.call(e.constructor.prototype,"isPrototypeOf"))return!1;var n;for(n in e);return n===t||O.call(e,n)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw e},parseJSON:function(t){return"string"==typeof t&&t?(t=o.trim(t),v.test(t.replace(b,"@").replace(T,"]").replace(E,""))?e.JSON&&e.JSON.parse?e.JSON.parse(t):new Function("return "+t)():void o.error("Invalid JSON: "+t)):null},noop:function(){},globalEval:function(e){if(e&&c.test(e)){var t=y.getElementsByTagName("head")[0]||y.documentElement,n=y.createElement("script");n.type="text/javascript",o.support.scriptEval?n.appendChild(y.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,n,r){var i,a=0,s=e.length,l=s===t||o.isFunction(e);if(r)if(l){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s>a&&n.apply(e[a++],r)!==!1;);else if(l){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(var u=e[0];s>a&&n.call(u,a,u)!==!1;u=e[++a]);return e},trim:_?function(e){return null==e?"":_.call(e)}:function(e){return null==e?"":e.toString().replace(f,"").replace(h,"")},makeArray:function(e,t){var n=t||[];if(null!=e){var r=o.type(e);null==e.length||"string"===r||"function"===r||"regexp"===r||o.isWindow(e)?k.call(n,e):o.merge(n,e)}return n},inArray:function(e,t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;r>n;n++)if(t[n]===e)return n;return-1},merge:function(e,n){var r=e.length,i=0;if("number"==typeof n.length)for(var a=n.length;a>i;i++)e[r++]=n[i];else for(;n[i]!==t;)e[r++]=n[i++];return e.length=r,e},grep:function(e,t,n){var r,i=[];n=!!n;for(var a=0,o=e.length;o>a;a++)r=!!t(e[a],a),n!==r&&i.push(e[a]);return i},map:function(e,t,n){for(var r,i=[],a=0,o=e.length;o>a;a++)r=t(e[a],a,n),null!=r&&(i[i.length]=r);return i.concat.apply([],i)},guid:1,proxy:function(e,n,r){return 2===arguments.length&&("string"==typeof n?(r=e,e=r[n],n=t):n&&!o.isFunction(n)&&(r=n,n=t)),!n&&e&&(n=function(){return e.apply(r||this,arguments)}),e&&(n.guid=e.guid=e.guid||n.guid||o.guid++),n},access:function(e,n,r,i,a,s){var l=e.length;if("object"==typeof n){for(var u in n)o.access(e,u,n[u],i,a,r);return e}if(r!==t){i=!s&&i&&o.isFunction(r);for(var c=0;l>c;c++)a(e[c],n,i?r.call(e[c],c,a(e[c],n)):r,s);return e}return l?a(e[0],n):t},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();var t=x.exec(e)||D.exec(e)||S.exec(e)||e.indexOf("compatible")<0&&w.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},browser:{}}),o.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){A["[object "+t+"]"]=t.toLowerCase()}),i=o.uaMatch(N),i.browser&&(o.browser[i.browser]=!0,o.browser.version=i.version),o.browser.webkit&&(o.browser.safari=!0),I&&(o.inArray=function(e,t){return I.call(t,e)}),d.test("\xa0")||(f=/^[\s\xA0]+/,h=/[\s\xA0]+$/),r=o(y),y.addEventListener?a=function(){y.removeEventListener("DOMContentLoaded",a,!1),o.ready()}:y.attachEvent&&(a=function(){"complete"===y.readyState&&(y.detachEvent("onreadystatechange",a),o.ready())}),e.jQuery=e.$=o}();!function(){v.support={};var t=y.documentElement,n=y.createElement("script"),r=y.createElement("div"),i="script"+v.now();r.style.display="none",r.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var a=r.getElementsByTagName("*"),o=r.getElementsByTagName("a")[0],s=y.createElement("select"),l=s.appendChild(y.createElement("option"));if(a&&a.length&&o){v.support={leadingWhitespace:3===r.firstChild.nodeType,tbody:!r.getElementsByTagName("tbody").length,htmlSerialize:!!r.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"===r.getElementsByTagName("input")[0].value,optSelected:l.selected,optDisabled:!1,checkClone:!1,scriptEval:!1,noCloneEvent:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},s.disabled=!0,v.support.optDisabled=!l.disabled,n.type="text/javascript";try{n.appendChild(y.createTextNode("window."+i+"=1;"))}catch(u){}t.insertBefore(n,t.firstChild),e[i]&&(v.support.scriptEval=!0,delete e[i]),t.removeChild(n),r.attachEvent&&r.fireEvent&&(r.attachEvent("onclick",function f(){v.support.noCloneEvent=!1,r.detachEvent("onclick",f)}),r.cloneNode(!0).fireEvent("onclick")),r=y.createElement("div"),r.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var c=y.createDocumentFragment();c.appendChild(r.firstChild),v.support.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,v(function(){var e=y.createElement("div");e.style.width=e.style.paddingLeft="1px",y.body.appendChild(e),v.boxModel=v.support.boxModel=2===e.offsetWidth,"zoom"in e.style&&(e.style.display="inline",e.style.zoom=1,v.support.inlineBlockNeedsLayout=2===e.offsetWidth,e.style.display="",e.innerHTML="<div style='width:4px;'></div>",v.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");v.support.reliableHiddenOffsets=0===t[0].offsetHeight,t[0].style.display="",t[1].style.display="none",v.support.reliableHiddenOffsets=v.support.reliableHiddenOffsets&&0===t[0].offsetHeight,e.innerHTML="",y.body.removeChild(e).style.display="none",e=t=null});var d=function(e){var t=y.createElement("div");e="on"+e;var n=e in t;return n||(t.setAttribute(e,"return;"),n="function"==typeof t[e]),t=null,n};v.support.submitBubbles=d("submit"),v.support.changeBubbles=d("change"),t=n=r=a=o=null}}(),v.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var b={},T=/^(?:\{.*\}|\[.*\])$/;v.extend({cache:{},uuid:0,expando:"jQuery"+v.now(),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},data:function(n,r,i){if(v.acceptData(n)){n=n==e?b:n;var a,o=n.nodeType,s=o?n[v.expando]:null,l=v.cache;if(!o||s||"string"!=typeof r||i!==t)return o?s||(n[v.expando]=s=++v.uuid):l=n,"object"==typeof r?o?l[s]=v.extend(l[s],r):v.extend(l,r):o&&!l[s]&&(l[s]={}),a=o?l[s]:l,i!==t&&(a[r]=i),"string"==typeof r?a[r]:a}},removeData:function(t,n){if(v.acceptData(t)){t=t==e?b:t;var r=t.nodeType,i=r?t[v.expando]:t,a=v.cache,o=r?a[i]:i;if(n)o&&(delete o[n],r&&v.isEmptyObject(o)&&v.removeData(t));else if(r&&v.support.deleteExpando)delete t[v.expando];else if(t.removeAttribute)t.removeAttribute(v.expando);else if(r)delete a[i];else for(var s in t)delete t[s]}},acceptData:function(e){if(e.nodeName){var t=v.noData[e.nodeName.toLowerCase()];if(t)return!(t===!0||e.getAttribute("classid")!==t)}return!0}}),v.fn.extend({data:function(e,n){if("undefined"==typeof e)return this.length?v.data(this[0]):null;if("object"==typeof e)return this.each(function(){v.data(this,e)});var r=e.split(".");if(r[1]=r[1]?"."+r[1]:"",n===t){var i=this.triggerHandler("getData"+r[1]+"!",[r[0]]);if(i===t&&this.length&&(i=v.data(this[0],e),i===t&&1===this[0].nodeType))if(i=this[0].getAttribute("data-"+e),"string"==typeof i)try{i="true"===i?!0:"false"===i?!1:"null"===i?null:v.isNaN(i)?T.test(i)?v.parseJSON(i):i:parseFloat(i)}catch(a){}else i=t;return i===t&&r[1]?this.data(r[0]):i}return this.each(function(){var t=v(this),i=[r[0],n];t.triggerHandler("setData"+r[1]+"!",i),v.data(this,e,n),t.triggerHandler("changeData"+r[1]+"!",i)})},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){if(e){t=(t||"fx")+"queue";var r=v.data(e,t);return n?(!r||v.isArray(n)?r=v.data(e,t,v.makeArray(n)):r.push(n),r):r||[]}},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.shift();"inprogress"===r&&(r=n.shift()),r&&("fx"===t&&n.unshift("inprogress"),r.call(e,function(){v.dequeue(e,t)}))}}),v.fn.extend({queue:function(e,n){return"string"!=typeof e&&(n=e,e="fx"),n===t?v.queue(this[0],e):this.each(function(){var t=v.queue(this,e,n);"fx"===e&&"inprogress"!==t[0]&&v.dequeue(this,e)})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},delay:function(e,t){return e=v.fx?v.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(){var n=this;setTimeout(function(){v.dequeue(n,t)},e)})},clearQueue:function(e){return this.queue(e||"fx",[])}});var E=/[\n\t]/g,x=/\s+/,D=/\r/g,S=/^(?:href|src|style)$/,w=/^(?:button|input)$/i,N=/^(?:button|input|object|select|textarea)$/i,M=/^a(?:rea)?$/i,L=/^(?:radio|checkbox)$/i;v.fn.extend({attr:function(e,t){return v.access(this,e,t,!0,v.attr)},removeAttr:function(e){return this.each(function(){v.attr(this,e,""),1===this.nodeType&&this.removeAttribute(e)})},addClass:function(e){if(v.isFunction(e))return this.each(function(t){var n=v(this);n.addClass(e.call(this,t,n.attr("class")))});if(e&&"string"==typeof e)for(var t=(e||"").split(x),n=0,r=this.length;r>n;n++){var i=this[n];if(1===i.nodeType)if(i.className){for(var a=" "+i.className+" ",o=i.className,s=0,l=t.length;l>s;s++)a.indexOf(" "+t[s]+" ")<0&&(o+=" "+t[s]);i.className=v.trim(o)}else i.className=e}return this},removeClass:function(e){if(v.isFunction(e))return this.each(function(t){var n=v(this);n.removeClass(e.call(this,t,n.attr("class")))});if(e&&"string"==typeof e||e===t)for(var n=(e||"").split(x),r=0,i=this.length;i>r;r++){var a=this[r];if(1===a.nodeType&&a.className)if(e){for(var o=(" "+a.className+" ").replace(E," "),s=0,l=n.length;l>s;s++)o=o.replace(" "+n[s]+" "," ");a.className=v.trim(o)}else a.className=""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return this.each(v.isFunction(e)?function(n){var r=v(this);r.toggleClass(e.call(this,n,r.attr("class"),t),t)}:function(){if("string"===n)for(var i,a=0,o=v(this),s=t,l=e.split(x);i=l[a++];)s=r?s:!o.hasClass(i),o[s?"addClass":"removeClass"](i);else("undefined"===n||"boolean"===n)&&(this.className&&v.data(this,"__className__",this.className),this.className=this.className||e===!1?"":v.data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if((" "+this[n].className+" ").replace(E," ").indexOf(t)>-1)return!0;return!1},val:function(e){if(!arguments.length){var n=this[0];if(n){if(v.nodeName(n,"option")){var r=n.attributes.value;return!r||r.specified?n.value:n.text}if(v.nodeName(n,"select")){var i=n.selectedIndex,a=[],o=n.options,s="select-one"===n.type;if(0>i)return null;for(var l=s?i:0,u=s?i+1:o.length;u>l;l++){var c=o[l];if(!(!c.selected||(v.support.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&v.nodeName(c.parentNode,"optgroup"))){if(e=v(c).val(),s)return e;a.push(e)}}return a}return L.test(n.type)&&!v.support.checkOn?null===n.getAttribute("value")?"on":n.value:(n.value||"").replace(D,"")}return t}var d=v.isFunction(e);return this.each(function(t){var n=v(this),r=e;if(1===this.nodeType)if(d&&(r=e.call(this,t,n.val())),null==r?r="":"number"==typeof r?r+="":v.isArray(r)&&(r=v.map(r,function(e){return null==e?"":e+""})),v.isArray(r)&&L.test(this.type))this.checked=v.inArray(n.val(),r)>=0;else if(v.nodeName(this,"select")){var i=v.makeArray(r);v("option",this).each(function(){this.selected=v.inArray(v(this).val(),i)>=0}),i.length||(this.selectedIndex=-1)}else this.value=r})}}),v.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,n,r,i){if(!e||3===e.nodeType||8===e.nodeType)return t;if(i&&n in v.attrFn)return v(e)[n](r);var a=1!==e.nodeType||!v.isXMLDoc(e),o=r!==t;if(n=a&&v.props[n]||n,1===e.nodeType){var s=S.test(n);if("selected"===n&&!v.support.optSelected){var l=e.parentNode;l&&(l.selectedIndex,l.parentNode&&l.parentNode.selectedIndex)}if((n in e||e[n]!==t)&&a&&!s){if(o&&("type"===n&&w.test(e.nodeName)&&e.parentNode&&v.error("type property can't be changed"),null===r?1===e.nodeType&&e.removeAttribute(n):e[n]=r),v.nodeName(e,"form")&&e.getAttributeNode(n))return e.getAttributeNode(n).nodeValue;if("tabIndex"===n){var u=e.getAttributeNode("tabIndex");return u&&u.specified?u.value:N.test(e.nodeName)||M.test(e.nodeName)&&e.href?0:t}return e[n]}if(!v.support.style&&a&&"style"===n)return o&&(e.style.cssText=""+r),e.style.cssText;if(o&&e.setAttribute(n,""+r),!e.attributes[n]&&e.hasAttribute&&!e.hasAttribute(n))return t;var c=!v.support.hrefNormalized&&a&&s?e.getAttribute(n,2):e.getAttribute(n);return null===c?t:c}}});var C=/\.(.*)$/,O=/^(?:textarea|input|select)$/i,k=/\./g,F=/ /g,_=/[^\w\s.|`]/g,I=function(e){return e.replace(_,"\\$&")},A={focusin:0,focusout:0};v.event={add:function(r,i,a,o){if(3!==r.nodeType&&8!==r.nodeType){v.isWindow(r)&&r!==e&&!r.frameElement&&(r=e),a===!1&&(a=n);var s,l;a.handler&&(s=a,a=s.handler),a.guid||(a.guid=v.guid++);var u=v.data(r);if(u){var c=r.nodeType?"events":"__events__",d=u[c],f=u.handle;"function"==typeof d?(f=d.handle,d=d.events):d||(r.nodeType||(u[c]=u=function(){}),u.events=d={}),f||(u.handle=f=function(){return"undefined"==typeof v||v.event.triggered?t:v.event.handle.apply(f.elem,arguments)}),f.elem=r,i=i.split(" ");for(var h,p,m=0;h=i[m++];){l=s?v.extend({},s):{handler:a,data:o},h.indexOf(".")>-1?(p=h.split("."),h=p.shift(),l.namespace=p.slice(0).sort().join(".")):(p=[],l.namespace=""),l.type=h,l.guid||(l.guid=a.guid);var g=d[h],y=v.event.special[h]||{};g||(g=d[h]=[],y.setup&&y.setup.call(r,o,p,f)!==!1||(r.addEventListener?r.addEventListener(h,f,!1):r.attachEvent&&r.attachEvent("on"+h,f))),y.add&&(y.add.call(r,l),l.handler.guid||(l.handler.guid=a.guid)),g.push(l),v.event.global[h]=!0}r=null}}},global:{},remove:function(e,t,r,i){if(3!==e.nodeType&&8!==e.nodeType){r===!1&&(r=n);var a,o,s,l,u,c,d,f,h,p,m=0,g=e.nodeType?"events":"__events__",y=v.data(e),b=y&&y[g];if(y&&b)if("function"==typeof b&&(y=b,b=b.events),t&&t.type&&(r=t.handler,t=t.type),!t||"string"==typeof t&&"."===t.charAt(0)){t=t||"";for(o in b)v.event.remove(e,o+t)}else{for(t=t.split(" ");o=t[m++];)if(p=o,h=null,l=o.indexOf(".")<0,u=[],l||(u=o.split("."),o=u.shift(),c=new RegExp("(^|\\.)"+v.map(u.slice(0).sort(),I).join("\\.(?:.*\\.)?")+"(\\.|$)")),f=b[o])if(r){for(d=v.event.special[o]||{},s=i||0;s<f.length&&(h=f[s],r.guid!==h.guid||((l||c.test(h.namespace))&&(null==i&&f.splice(s--,1),d.remove&&d.remove.call(e,h)),null==i));s++);(0===f.length||null!=i&&1===f.length)&&(d.teardown&&d.teardown.call(e,u)!==!1||v.removeEvent(e,o,y.handle),a=null,delete b[o])}else for(s=0;s<f.length;s++)h=f[s],(l||c.test(h.namespace))&&(v.event.remove(e,p,h.handler,s),f.splice(s--,1));if(v.isEmptyObject(b)){var T=y.handle;T&&(T.elem=null),delete y.events,delete y.handle,"function"==typeof y?v.removeData(e,g):v.isEmptyObject(y)&&v.removeData(e)}}}},trigger:function(e,n,r){var i=e.type||e,a=arguments[3];if(!a){if(e="object"==typeof e?e[v.expando]?e:v.extend(v.Event(i),e):v.Event(i),i.indexOf("!")>=0&&(e.type=i=i.slice(0,-1),e.exclusive=!0),r||(e.stopPropagation(),v.event.global[i]&&v.each(v.cache,function(){this.events&&this.events[i]&&v.event.trigger(e,n,this.handle.elem)})),!r||3===r.nodeType||8===r.nodeType)return t;e.result=t,e.target=r,n=v.makeArray(n),n.unshift(e)}e.currentTarget=r;var o=r.nodeType?v.data(r,"handle"):(v.data(r,"__events__")||{}).handle;o&&o.apply(r,n);var s=r.parentNode||r.ownerDocument;try{r&&r.nodeName&&v.noData[r.nodeName.toLowerCase()]||r["on"+i]&&r["on"+i].apply(r,n)===!1&&(e.result=!1,e.preventDefault())}catch(l){}if(!e.isPropagationStopped()&&s)v.event.trigger(e,n,s,!0);else if(!e.isDefaultPrevented()){var u,c=e.target,d=i.replace(C,""),f=v.nodeName(c,"a")&&"click"===d,h=v.event.special[d]||{};if(!(h._default&&h._default.call(r,e)!==!1||f||c&&c.nodeName&&v.noData[c.nodeName.toLowerCase()])){try{c[d]&&(u=c["on"+d],u&&(c["on"+d]=null),v.event.triggered=!0,c[d]())}catch(p){}u&&(c["on"+d]=u),v.event.triggered=!1}}},handle:function(n){var r,i,a,o,s,l=[],u=v.makeArray(arguments);if(n=u[0]=v.event.fix(n||e.event),n.currentTarget=this,r=n.type.indexOf(".")<0&&!n.exclusive,r||(a=n.type.split("."),n.type=a.shift(),l=a.slice(0).sort(),o=new RegExp("(^|\\.)"+l.join("\\.(?:.*\\.)?")+"(\\.|$)")),n.namespace=n.namespace||l.join("."),s=v.data(this,this.nodeType?"events":"__events__"),"function"==typeof s&&(s=s.events),i=(s||{})[n.type],s&&i){i=i.slice(0);for(var c=0,d=i.length;d>c;c++){var f=i[c];if(r||o.test(f.namespace)){n.handler=f.handler,n.data=f.data,n.handleObj=f;var h=f.handler.apply(this,u);if(h!==t&&(n.result=h,h===!1&&(n.preventDefault(),n.stopPropagation())),n.isImmediatePropagationStopped())break}}}return n.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[v.expando])return e;var n=e;e=v.Event(n);for(var r,i=this.props.length;i;)r=this.props[--i],e[r]=n[r];if(e.target||(e.target=e.srcElement||y),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 a=y.documentElement,o=y.body;e.pageX=e.clientX+(a&&a.scrollLeft||o&&o.scrollLeft||0)-(a&&a.clientLeft||o&&o.clientLeft||0),e.pageY=e.clientY+(a&&a.scrollTop||o&&o.scrollTop||0)-(a&&a.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===t||(e.which=1&e.button?1:2&e.button?3:4&e.button?2:0),e},guid:1e8,proxy:v.proxy,special:{ready:{setup:v.bindReady,teardown:v.noop},live:{add:function(e){v.event.add(this,o(e.origType,e.selector),v.extend({},e,{handler:a,guid:e.handler.guid}))},remove:function(e){v.event.remove(this,o(e.origType,e.selector),e)}},beforeunload:{setup:function(e,t,n){v.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}}},v.removeEvent=y.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent&&e.detachEvent("on"+t,n)},v.Event=function(e){return this.preventDefault?(e&&e.type?(this.originalEvent=e,this.type=e.type):this.type=e,this.timeStamp=v.now(),void(this[v.expando]=!0)):new v.Event(e)},v.Event.prototype={preventDefault:function(){this.isDefaultPrevented=r;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=r;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=r,this.stopPropagation()},isDefaultPrevented:n,isPropagationStopped:n,isImmediatePropagationStopped:n};var R=function(e){var t=e.relatedTarget;try{for(;t&&t!==this;)t=t.parentNode;t!==this&&(e.type=e.data,v.event.handle.apply(this,arguments))}catch(n){}},P=function(e){e.type=e.data,v.event.handle.apply(this,arguments)};if(v.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){v.event.special[e]={setup:function(n){v.event.add(this,t,n&&n.selector?P:R,e)},teardown:function(e){v.event.remove(this,t,e&&e.selector?P:R)}}}),v.support.submitBubbles||(v.event.special.submit={setup:function(){return"form"===this.nodeName.toLowerCase()?!1:(v.event.add(this,"click.specialSubmit",function(e){var n=e.target,r=n.type;return"submit"!==r&&"image"!==r||!v(n).closest("form").length?void 0:(e.liveFired=t,i("submit",this,arguments))}),void v.event.add(this,"keypress.specialSubmit",function(e){var n=e.target,r=n.type;return"text"!==r&&"password"!==r||!v(n).closest("form").length||13!==e.keyCode?void 0:(e.liveFired=t,i("submit",this,arguments))}))},teardown:function(){v.event.remove(this,".specialSubmit")}}),!v.support.changeBubbles){var j,B=function(e){var t=e.type,n=e.value;return"radio"===t||"checkbox"===t?n=e.checked:"select-multiple"===t?n=e.selectedIndex>-1?v.map(e.options,function(e){return e.selected}).join("-"):"":"select"===e.nodeName.toLowerCase()&&(n=e.selectedIndex),n},H=function(e){var n,r,i=e.target;if(O.test(i.nodeName)&&!i.readOnly&&(n=v.data(i,"_change_data"),r=B(i),("focusout"!==e.type||"radio"!==i.type)&&v.data(i,"_change_data",r),n!==t&&r!==n))return null!=n||r?(e.type="change",e.liveFired=t,v.event.trigger(e,arguments[1],i)):void 0};v.event.special.change={filters:{focusout:H,beforedeactivate:H,click:function(e){var t=e.target,n=t.type;return"radio"===n||"checkbox"===n||"select"===t.nodeName.toLowerCase()?H.call(this,e):void 0},keydown:function(e){var t=e.target,n=t.type;return 13===e.keyCode&&"textarea"!==t.nodeName.toLowerCase()||32===e.keyCode&&("checkbox"===n||"radio"===n)||"select-multiple"===n?H.call(this,e):void 0},beforeactivate:function(e){var t=e.target;v.data(t,"_change_data",B(t))}},setup:function(){if("file"===this.type)return!1;for(var e in j)v.event.add(this,e+".specialChange",j[e]);return O.test(this.nodeName)},teardown:function(){return v.event.remove(this,".specialChange"),O.test(this.nodeName)}},j=v.event.special.change.filters,j.focus=j.beforeactivate}y.addEventListener&&v.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){return e=v.event.fix(e),e.type=t,v.event.trigger(e,null,e.target)}v.event.special[t]={setup:function(){0===A[t]++&&y.addEventListener(e,n,!0)},teardown:function(){0===--A[t]&&y.removeEventListener(e,n,!0)}}}),v.each(["bind","one"],function(e,n){v.fn[n]=function(e,r,i){if("object"==typeof e){for(var a in e)this[n](a,r,e[a],i);return this}(v.isFunction(r)||r===!1)&&(i=r,r=t);var o="one"===n?v.proxy(i,function(e){return v(this).unbind(e,o),i.apply(this,arguments)
|
2
|
+
}):i;if("unload"===e&&"one"!==n)this.one(e,r,i);else for(var s=0,l=this.length;l>s;s++)v.event.add(this[s],e,o,r);return this}}),v.fn.extend({unbind:function(e,t){if("object"!=typeof e||e.preventDefault)for(var n=0,r=this.length;r>n;n++)v.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(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0]){var n=v.Event(e);return n.preventDefault(),n.stopPropagation(),v.event.trigger(n,t,this[0]),n.result}},toggle:function(e){for(var t=arguments,n=1;n<t.length;)v.proxy(e,t[n++]);return this.click(v.proxy(e,function(r){var i=(v.data(this,"lastToggle"+e.guid)||0)%n;return v.data(this,"lastToggle"+e.guid,i+1),r.preventDefault(),t[i].apply(this,arguments)||!1}))},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var $={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};v.each(["live","die"],function(e,n){v.fn[n]=function(e,r,i,a){var s,l,u,c,d=0,f=a||this.selector,h=a?this:v(this.context);if("object"==typeof e&&!e.preventDefault){for(var p in e)h[n](p,r,e[p],f);return this}for(v.isFunction(r)&&(i=r,r=t),e=(e||"").split(" ");null!=(s=e[d++]);)if(l=C.exec(s),u="",l&&(u=l[0],s=s.replace(C,"")),"hover"!==s)if(c=s,"focus"===s||"blur"===s?(e.push($[s]+u),s+=u):s=($[s]||s)+u,"live"===n)for(var m=0,g=h.length;g>m;m++)v.event.add(h[m],"live."+o(s,f),{data:r,selector:f,handler:i,origType:s,origHandler:i,preType:c});else h.unbind("live."+o(s,f),i);else e.push("mouseenter"+u,"mouseleave"+u);return this}}),v.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,t){v.fn[t]=function(e,n){return null==n&&(n=e,e=null),arguments.length>0?this.bind(t,e,n):this.trigger(t)},v.attrFn&&(v.attrFn[t]=!0)}),e.attachEvent&&!e.addEventListener&&v(e).bind("unload",function(){for(var e in v.cache)if(v.cache[e].handle)try{v.event.remove(v.cache[e].handle.elem)}catch(t){}}),function(){function e(e,t,n,r,i,a){for(var o=0,s=r.length;s>o;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 n(e,t,n,r,i,a){for(var o=0,s=r.length;s>o;o++){var u=r[o];if(u){u=u[e];for(var c=!1;u;){if(u.sizcache===n){c=r[u.sizset];break}if(1===u.nodeType)if(a||(u.sizcache=n,u.sizset=o),"string"!=typeof t){if(u===t){c=!0;break}}else if(l.filter(t,[u]).length>0){c=u;break}u=u[e]}r[o]=c}}}var r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=0,a=Object.prototype.toString,o=!1,s=!0;[0,0].sort(function(){return s=!1,0});var l=function(e,t,n,i){n=n||[],t=t||y;var o=t;if(1!==t.nodeType&&9!==t.nodeType)return[];if(!e||"string"!=typeof e)return n;var s,d,f,p,m,g,v,T,E=[],x=!0,D=l.isXML(t),S=e;do if(r.exec(""),s=r.exec(S),s&&(S=s[3],E.push(s[1]),s[2])){p=s[3];break}while(s);if(E.length>1&&c.exec(e))if(2===E.length&&u.relative[E[0]])d=b(E[0]+E[1],t);else for(d=u.relative[E[0]]?[t]:l(E.shift(),t);E.length;)e=E.shift(),u.relative[e]&&(e+=E.shift()),d=b(e,d);else if(!i&&E.length>1&&9===t.nodeType&&!D&&u.match.ID.test(E[0])&&!u.match.ID.test(E[E.length-1])&&(m=l.find(E.shift(),t,D),t=m.expr?l.filter(m.expr,m.set)[0]:m.set[0]),t)for(m=i?{expr:E.pop(),set:h(i)}:l.find(E.pop(),1!==E.length||"~"!==E[0]&&"+"!==E[0]||!t.parentNode?t:t.parentNode,D),d=m.expr?l.filter(m.expr,m.set):m.set,E.length>0?f=h(d):x=!1;E.length;)g=E.pop(),v=g,u.relative[g]?v=E.pop():g="",null==v&&(v=t),u.relative[g](f,v,D);else f=E=[];if(f||(f=d),f||l.error(g||e),"[object Array]"===a.call(f))if(x)if(t&&1===t.nodeType)for(T=0;null!=f[T];T++)f[T]&&(f[T]===!0||1===f[T].nodeType&&l.contains(t,f[T]))&&n.push(d[T]);else for(T=0;null!=f[T];T++)f[T]&&1===f[T].nodeType&&n.push(d[T]);else n.push.apply(n,f);else h(f,n);return p&&(l(p,o,n,i),l.uniqueSort(n)),n};l.uniqueSort=function(e){if(m&&(o=s,e.sort(m),o))for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1);return e},l.matches=function(e,t){return l(e,null,null,t)},l.matchesSelector=function(e,t){return l(t,null,null,[e]).length>0},l.find=function(e,t,n){var r;if(!e)return[];for(var i=0,a=u.order.length;a>i;i++){var o,s=u.order[i];if(o=u.leftMatch[s].exec(e)){var l=o[1];if(o.splice(1,1),"\\"!==l.substr(l.length-1)&&(o[1]=(o[1]||"").replace(/\\/g,""),r=u.find[s](o,t,n),null!=r)){e=e.replace(u.match[s],"");break}}}return r||(r=t.getElementsByTagName("*")),{set:r,expr:e}},l.filter=function(e,n,r,i){for(var a,o,s=e,c=[],d=n,f=n&&n[0]&&l.isXML(n[0]);e&&n.length;){for(var h in u.filter)if(null!=(a=u.leftMatch[h].exec(e))&&a[2]){var p,m,g=u.filter[h],y=a[1];if(o=!1,a.splice(1,1),"\\"===y.substr(y.length-1))continue;if(d===c&&(c=[]),u.preFilter[h])if(a=u.preFilter[h](a,d,r,c,i,f)){if(a===!0)continue}else o=p=!0;if(a)for(var v=0;null!=(m=d[v]);v++)if(m){p=g(m,a,v,d);var b=i^!!p;r&&null!=p?b?o=!0:d[v]=!1:b&&(c.push(m),o=!0)}if(p!==t){if(r||(d=c),e=e.replace(u.match[h],""),!o)return[];break}}if(e===s){if(null!=o)break;l.error(e)}s=e}return d},l.error=function(e){throw"Syntax error, unrecognized expression: "+e};var u=l.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;s>o;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&&l.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();a>i;i++)if(n=e[i]){var o=n.parentNode;e[i]=o.nodeName.toLowerCase()===t?o:!1}}else{for(;a>i;i++)n=e[i],n&&(e[i]=r?n.parentNode:n.parentNode===t);r&&l.filter(t,e,!0)}},"":function(t,r,a){var o,s=i++,l=n;"string"!=typeof r||/\W/.test(r)||(r=r.toLowerCase(),o=r,l=e),l("parentNode",r,s,t,o,a)},"~":function(t,r,a){var o,s=i++,l=n;"string"!=typeof r||/\W/.test(r)||(r=r.toLowerCase(),o=r,l=e),l("previousSibling",r,s,t,o,a)}},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;a>i;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&&(" "+o.className+" ").replace(/[\t\n]/g," ").indexOf(e)>=0)?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]=i++,e},ATTR:function(e,t,n,r,i,a){var o=e[1].replace(/\\/g,"");return!a&&u.attrMap[o]&&(e[1]=u.attrMap[o]),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,n,i,a){if("not"===e[1]){if(!((r.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var o=l.filter(e[3],t,n,!0^a);return n||i.push.apply(i,o),!1}e[3]=l(e[3],null,null,t)}else if(u.match.POS.test(e[0])||u.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return e.disabled===!1&&"hidden"!==e.type},disabled:function(e){return e.disabled===!0},checked:function(e){return e.checked===!0},selected:function(e){return e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!l(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=u.filters[i];if(a)return a(e,n,t,r);if("contains"===i)return(e.textContent||e.innerText||l.getText([e])||"").indexOf(t[3])>=0;if("not"===i){for(var o=t[3],s=0,c=o.length;c>s;s++)if(o[s]===e)return!1;return!0}l.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&&u/i>=0}},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(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var n=t[1],r=u.attrHandle[n]?u.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?i.indexOf(o)>=0:"~="===a?(" "+i+" ").indexOf(o)>=0: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+"-":!1:i&&r!==!1},POS:function(e,t,n,r){var i=t[2],a=u.setFilters[i];return a?a(e,n,t,r):void 0}}},c=u.match.POS,d=function(e,t){return"\\"+(t-0+1)};for(var f in u.match)u.match[f]=new RegExp(u.match[f].source+/(?![^\[]*\])(?![^\(]*\))/.source),u.leftMatch[f]=new RegExp(/(^(?:.|\r|\n)*?)/.source+u.match[f].source.replace(/\\(\d+)/g,d));var h=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(y.documentElement.childNodes,0)[0].nodeType}catch(p){h=function(e,t){var n=t||[],r=0;if("[object Array]"===a.call(e))Array.prototype.push.apply(n,e);else if("number"==typeof e.length)for(var i=e.length;i>r;r++)n.push(e[r]);else for(;e[r];r++)n.push(e[r]);return n}}var m,g;y.documentElement.compareDocumentPosition?m=function(e,t){return e===t?(o=!0,0):e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:1:e.compareDocumentPosition?-1:1}:(m=function(e,t){var n,r,i=[],a=[],s=e.parentNode,l=t.parentNode,u=s;if(e===t)return o=!0,0;if(s===l)return g(e,t);if(!s)return-1;if(!l)return 1;for(;u;)i.unshift(u),u=u.parentNode;for(u=l;u;)a.unshift(u),u=u.parentNode;n=i.length,r=a.length;for(var c=0;n>c&&r>c;c++)if(i[c]!==a[c])return g(i[c],a[c]);return c===n?g(e,a[c],-1):g(i[c],t,1)},g=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}),l.getText=function(e){for(var t,n="",r=0;e[r];r++)t=e[r],3===t.nodeType||4===t.nodeType?n+=t.nodeValue:8!==t.nodeType&&(n+=l.getText(t.childNodes));return n},function(){var e=y.createElement("div"),n="script"+(new Date).getTime();e.innerHTML="<a name='"+n+"'/>";var r=y.documentElement;r.insertBefore(e,r.firstChild),y.getElementById(n)&&(u.find.ID=function(e,n,r){if("undefined"!=typeof n.getElementById&&!r){var i=n.getElementById(e[1]);return i?i.id===e[1]||"undefined"!=typeof i.getAttributeNode&&i.getAttributeNode("id").nodeValue===e[1]?[i]:t:[]}},u.filter.ID=function(e,t){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&n&&n.nodeValue===t}),r.removeChild(e),r=e=null}(),function(){var e=y.createElement("div");e.appendChild(y.createComment("")),e.getElementsByTagName("*").length>0&&(u.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}),e.innerHTML="<a href='#'></a>",e.firstChild&&"undefined"!=typeof e.firstChild.getAttribute&&"#"!==e.firstChild.getAttribute("href")&&(u.attrHandle.href=function(e){return e.getAttribute("href",2)}),e=null}(),y.querySelectorAll&&!function(){var e=l,t=y.createElement("div");if(t.innerHTML="<p class='TEST'></p>",!t.querySelectorAll||0!==t.querySelectorAll(".TEST").length){l=function(t,n,r,i){if(n=n||y,!i&&!l.isXML(n))if(9===n.nodeType)try{return h(n.querySelectorAll(t),r)}catch(a){}else if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){var o=n.id,s=n.id="__sizzle__";try{return h(n.querySelectorAll("#"+s+" "+t),r)}catch(u){}finally{o?n.id=o:n.removeAttribute("id")}}return e(t,n,r,i)};for(var n in e)l[n]=e[n];t=null}}(),function(){var e=y.documentElement,t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector,n=!1;try{t.call(y.documentElement,":sizzle")}catch(r){n=!0}t&&(l.matchesSelector=function(e,r){try{if(n||!u.match.PSEUDO.test(r))return t.call(e,r)}catch(i){}return l(r,null,null,[e]).length>0})}(),function(){var e=y.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length&&(e.lastChild.className="e",1!==e.getElementsByClassName("e").length&&(u.order.splice(1,0,"CLASS"),u.find.CLASS=function(e,t,n){return"undefined"==typeof t.getElementsByClassName||n?void 0:t.getElementsByClassName(e[1])},e=null))}(),l.contains=y.documentElement.contains?function(e,t){return e!==t&&(e.contains?e.contains(t):!0)}:function(e,t){return!!(16&e.compareDocumentPosition(t))},l.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return t?"HTML"!==t.nodeName:!1};var b=function(e,t){for(var n,r=[],i="",a=t.nodeType?[t]:t;n=u.match.PSEUDO.exec(e);)i+=n[0],e=e.replace(u.match.PSEUDO,"");e=u.relative[e]?e+"*":e;for(var o=0,s=a.length;s>o;o++)l(e,a[o],r);return l.filter(i,r)};v.find=l,v.expr=l.selectors,v.expr[":"]=v.expr.filters,v.unique=l.uniqueSort,v.text=l.getText,v.isXMLDoc=l.isXML,v.contains=l.contains}();var X=/Until$/,z=/^(?:parents|prevUntil|prevAll)/,U=/,/,W=/^.[^:#\[\.,]*$/,G=Array.prototype.slice,q=v.expr.match.POS;v.fn.extend({find:function(e){for(var t=this.pushStack("","find",e),n=0,r=0,i=this.length;i>r;r++)if(n=t.length,v.find(e,this[r],t),r>0)for(var a=n;a<t.length;a++)for(var o=0;n>o;o++)if(t[o]===t[a]){t.splice(a--,1);break}return t},has:function(e){var t=v(e);return this.filter(function(){for(var e=0,n=t.length;n>e;e++)if(v.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(l(this,e,!1),"not",e)},filter:function(e){return this.pushStack(l(this,e,!0),"filter",e)},is:function(e){return!!e&&v.filter(e,this).length>0},closest:function(e,t){var n,r,i=[],a=this[0];if(v.isArray(e)){var o,s,l={},u=1;if(a&&e.length){for(n=0,r=e.length;r>n;n++)s=e[n],l[s]||(l[s]=v.expr.match.POS.test(s)?v(s,t||this.context):s);for(;a&&a.ownerDocument&&a!==t;){for(s in l)o=l[s],(o.jquery?o.index(a)>-1:v(a).is(o))&&i.push({selector:s,elem:a,level:u});a=a.parentNode,u++}}return i}var c=q.test(e)?v(e,t||this.context):null;for(n=0,r=this.length;r>n;n++)for(a=this[n];a;){if(c?c.index(a)>-1:v.find.matchesSelector(a,e)){i.push(a);break}if(a=a.parentNode,!a||!a.ownerDocument||a===t)break}return i=i.length>1?v.unique(i):i,this.pushStack(i,"closest",e)},index:function(e){return e&&"string"!=typeof e?v.inArray(e.jquery?e[0]:e,this):v.inArray(this[0],e?v(e):this.parent().children())},add:function(e,t){var n="string"==typeof e?v(e,t||this.context):v.makeArray(e),r=v.merge(this.get(),n);return this.pushStack(s(n[0])||s(r[0])?r:v.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),v.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return v.nth(e,2,"nextSibling")},prev:function(e){return v.nth(e,2,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling(e.parentNode.firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.makeArray(e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return X.test(e)||(r=n),r&&"string"==typeof r&&(i=v.filter(r,i)),i=this.length>1?v.unique(i):i,(this.length>1||U.test(r))&&z.test(e)&&(i=i.reverse()),this.pushStack(i,e,G.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){for(var i=[],a=e[n];a&&9!==a.nodeType&&(r===t||1!==a.nodeType||!v(a).is(r));)1===a.nodeType&&i.push(a),a=a[n];return i},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 Y=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,J=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,K=/<([\w:]+)/,Z=/<tbody/i,Q=/<|&#?\w+;/,et=/<(?:script|object|embed|option|style)/i,tt=/checked\s*(?:[^=]|=\s*.checked.)/i,nt=/\=([^="'>\s]+\/)>/g,rt={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,"",""]};rt.optgroup=rt.option,rt.tbody=rt.tfoot=rt.colgroup=rt.caption=rt.thead,rt.th=rt.td,v.support.htmlSerialize||(rt._default=[1,"div<div>","</div>"]),v.fn.extend({text:function(e){return v.isFunction(e)?this.each(function(t){var n=v(this);n.text(e.call(this,t,n.text()))}):"object"!=typeof e&&e!==t?this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(e)):v.text(this)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return this.each(v.isFunction(e)?function(t){v(this).wrapInner(e.call(this,t))}:function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){return this.each(function(){v(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(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(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v(arguments[0]);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,v(arguments[0]).toArray()),e}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)(!e||v.filter(e,[n]).length)&&(t||1!==n.nodeType||(v.cleanData(n.getElementsByTagName("*")),v.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&&v.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e){var t=this.map(function(){if(v.support.noCloneEvent||v.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 v.clean([e.replace(Y,"").replace(nt,'="$1">').replace(V,"")],t)[0]});return e===!0&&(c(this,t),c(this.find("*"),t.find("*"))),t},html:function(e){if(e===t)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(Y,""):null;if("string"!=typeof e||et.test(e)||!v.support.leadingWhitespace&&V.test(e)||rt[(K.exec(e)||["",""])[1].toLowerCase()])v.isFunction(e)?this.each(function(t){var n=v(this);n.html(e.call(this,t,n.html()))}):this.empty().append(e);else{e=e.replace(J,"<$1></$2>");try{for(var n=0,r=this.length;r>n;n++)1===this[n].nodeType&&(v.cleanData(this[n].getElementsByTagName("*")),this[n].innerHTML=e)}catch(i){this.empty().append(e)}}return this},replaceWith:function(e){return this[0]&&this[0].parentNode?v.isFunction(e)?this.each(function(t){var n=v(this),r=n.html();n.replaceWith(e.call(this,t,r))}):("string"!=typeof e&&(e=v(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;v(this).remove(),t?v(t).before(e):v(n).append(e)})):this.pushStack(v(v.isFunction(e)?e():e),"replaceWith",e)},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){var i,a,o,s,l=e[0],c=[];if(!v.support.checkClone&&3===arguments.length&&"string"==typeof l&&tt.test(l))return this.each(function(){v(this).domManip(e,n,r,!0)});if(v.isFunction(l))return this.each(function(i){var a=v(this);e[0]=l.call(this,i,n?a.html():t),a.domManip(e,n,r)});if(this[0]){if(s=l&&l.parentNode,i=v.support.parentNode&&s&&11===s.nodeType&&s.childNodes.length===this.length?{fragment:s}:v.buildFragment(e,this,c),o=i.fragment,a=1===o.childNodes.length?o=o.firstChild:o.firstChild){n=n&&v.nodeName(a,"tr");for(var f=0,h=this.length;h>f;f++)r.call(n?u(this[f],a):this[f],f>0||i.cacheable||this.length>1?o.cloneNode(!0):o)}c.length&&v.each(c,d)}return this}}),v.buildFragment=function(e,t,n){var r,i,a,o=t&&t[0]?t[0].ownerDocument||t[0]:y;return 1===e.length&&"string"==typeof e[0]&&e[0].length<512&&o===y&&!et.test(e[0])&&(v.support.checkClone||!tt.test(e[0]))&&(i=!0,a=v.fragments[e[0]],a&&1!==a&&(r=a)),r||(r=o.createDocumentFragment(),v.clean(e,o,r,n)),i&&(v.fragments[e[0]]=a?r:1),{fragment:r,cacheable:i}},v.fragments={},v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){v.fn[e]=function(n){var r=[],i=v(n),a=1===this.length&&this[0].parentNode;if(a&&11===a.nodeType&&1===a.childNodes.length&&1===i.length)return i[t](this[0]),this;for(var o=0,s=i.length;s>o;o++){var l=(o>0?this.clone(!0):this).get();v(i[o])[t](l),r=r.concat(l)}return this.pushStack(r,e,i.selector)}}),v.extend({clean:function(e,t,n,r){t=t||y,"undefined"==typeof t.createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||y);for(var i,a=[],o=0;null!=(i=e[o]);o++)if("number"==typeof i&&(i+=""),i){if("string"!=typeof i||Q.test(i)){if("string"==typeof i){i=i.replace(J,"<$1></$2>");var s=(K.exec(i)||["",""])[1].toLowerCase(),l=rt[s]||rt._default,u=l[0],c=t.createElement("div");for(c.innerHTML=l[1]+i+l[2];u--;)c=c.lastChild;if(!v.support.tbody)for(var d=Z.test(i),f="table"!==s||d?"<table>"!==l[1]||d?[]:c.childNodes:c.firstChild&&c.firstChild.childNodes,h=f.length-1;h>=0;--h)v.nodeName(f[h],"tbody")&&!f[h].childNodes.length&&f[h].parentNode.removeChild(f[h]);!v.support.leadingWhitespace&&V.test(i)&&c.insertBefore(t.createTextNode(V.exec(i)[0]),c.firstChild),i=c.childNodes}}else i=t.createTextNode(i);i.nodeType?a.push(i):a=v.merge(a,i)}if(n)for(o=0;a[o];o++)!r||!v.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(v.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=v.cache,a=v.event.special,o=v.support.deleteExpando,s=0;null!=(r=e[s]);s++)if((!r.nodeName||!v.noData[r.nodeName.toLowerCase()])&&(n=r[v.expando])){if(t=i[n],t&&t.events)for(var l in t.events)a[l]?v.event.remove(r,l):v.removeEvent(r,l,t.handle);o?delete r[v.expando]:r.removeAttribute&&r.removeAttribute(v.expando),delete i[n]}}});var it,at=/alpha\([^)]*\)/i,ot=/opacity=([^)]*)/,st=/-([a-z])/gi,lt=/([A-Z])/g,ut=/^-?\d+(?:px)?$/i,ct=/^-?\d/,dt={position:"absolute",visibility:"hidden",display:"block"},ft=["Left","Right"],ht=["Top","Bottom"],pt=y.defaultView&&y.defaultView.getComputedStyle,mt=function(e,t){return t.toUpperCase()};v.fn.css=function(e,n){return 2===arguments.length&&n===t?this:v.access(this,e,n,!0,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)})},v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=it(e,"opacity","opacity");return""===n?"1":n}return e.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,o=v.camelCase(n),s=e.style,l=v.cssHooks[o];if(n=v.cssProps[o]||o,r===t)return l&&"get"in l&&(a=l.get(e,!1,i))!==t?a:s[n];if(!("number"==typeof r&&isNaN(r)||null==r||("number"!=typeof r||v.cssNumber[o]||(r+="px"),l&&"set"in l&&(r=l.set(e,r))===t)))try{s[n]=r}catch(u){}}},css:function(e,n,r){var i,a=v.camelCase(n),o=v.cssHooks[a];return n=v.cssProps[a]||a,o&&"get"in o&&(i=o.get(e,!0,r))!==t?i:it?it(e,n,a):void 0},swap:function(e,t,n){var r={};for(var i in t)r[i]=e.style[i],e.style[i]=t[i];n.call(e);for(i in t)e.style[i]=r[i]},camelCase:function(e){return e.replace(st,mt)}}),v.curCSS=v.css,v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){var i;return n?(0!==e.offsetWidth?i=f(e,t,r):v.swap(e,dt,function(){i=f(e,t,r)}),i+"px"):void 0},set:function(e,t){return ut.test(t)?(t=parseFloat(t),t>=0?t+"px":void 0):t}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return ot.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=v.isNaN(t)?"":"alpha(opacity="+100*t+")",i=n.filter||"";n.filter=at.test(i)?i.replace(at,r):n.filter+" "+r}}),pt?it=function(e,n,r){var i,a,o;return r=r.replace(lt,"-$1").toLowerCase(),(a=e.ownerDocument.defaultView)?((o=a.getComputedStyle(e,null))&&(i=o.getPropertyValue(r),""!==i||v.contains(e.ownerDocument.documentElement,e)||(i=v.style(e,r))),i):t}:y.documentElement.currentStyle&&(it=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],a=e.style;return!ut.test(i)&&ct.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}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return 0===t&&0===n||!v.support.reliableHiddenOffsets&&"none"===(e.style.display||v.css(e,"display"))},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)});var gt=v.now(),yt=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,vt=/^(?:select|textarea)/i,bt=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Tt=/^(?:GET|HEAD|DELETE)$/,Et=/\[\]$/,xt=/\=\?(&|$)/,Dt=/\?/,St=/([?&])_=[^&]*/,wt=/^(\w+:)?\/\/([^\/?#]+)/,Nt=/%20/g,Mt=/#.*$/,Lt=v.fn.load;v.fn.extend({load:function(e,t,n){if("string"!=typeof e&&Lt)return Lt.apply(this,arguments);if(!this.length)return this;var r=e.indexOf(" ");if(r>=0){var i=e.slice(r,e.length);e=e.slice(0,r)}var a="GET";t&&(v.isFunction(t)?(n=t,t=null):"object"==typeof t&&(t=v.param(t,v.ajaxSettings.traditional),a="POST"));var o=this;return v.ajax({url:e,type:a,dataType:"html",data:t,complete:function(e,t){("success"===t||"notmodified"===t)&&o.html(i?v("<div>").append(e.responseText.replace(yt,"")).find(i):e.responseText),n&&o.each(n,[e.responseText,t,e])}}),this},serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vt.test(this.nodeName)||bt.test(this.type))}).map(function(e,t){var n=v(this).val();return null==n?null:v.isArray(n)?v.map(n,function(e){return{name:t.name,value:e}}):{name:t.name,value:n}}).get()}}),v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.bind(t,e)}}),v.extend({get:function(e,t,n,r){return v.isFunction(t)&&(r=r||n,n=t,t=null),v.ajax({type:"GET",url:e,data:t,success:n,dataType:r})},getScript:function(e,t){return v.get(e,null,t,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},post:function(e,t,n,r){return v.isFunction(t)&&(r=r||n,n=t,t={}),v.ajax({type:"POST",url:e,data:t,success:n,dataType:r})},ajaxSetup:function(e){v.extend(v.ajaxSettings,e)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,xhr:function(){return new e.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(n){var r,i,a,o=v.extend(!0,{},v.ajaxSettings,n),s=o.type.toUpperCase(),l=Tt.test(s);if(o.url=o.url.replace(Mt,""),o.context=n&&null!=n.context?n.context:o,o.data&&o.processData&&"string"!=typeof o.data&&(o.data=v.param(o.data,o.traditional)),"jsonp"===o.dataType&&("GET"===s?xt.test(o.url)||(o.url+=(Dt.test(o.url)?"&":"?")+(o.jsonp||"callback")+"=?"):o.data&&xt.test(o.data)||(o.data=(o.data?o.data+"&":"")+(o.jsonp||"callback")+"=?"),o.dataType="json"),"json"===o.dataType&&(o.data&&xt.test(o.data)||xt.test(o.url))){r=o.jsonpCallback||"jsonp"+gt++,o.data&&(o.data=(o.data+"").replace(xt,"="+r+"$1")),o.url=o.url.replace(xt,"="+r+"$1"),o.dataType="script";var u=e[r];e[r]=function(n){if(a=n,v.handleSuccess(o,T,i,a),v.handleComplete(o,T,i,a),v.isFunction(u))u(n);else{e[r]=t;try{delete e[r]}catch(s){}}p&&p.removeChild(m)}}if("script"===o.dataType&&null===o.cache&&(o.cache=!1),o.cache===!1&&"GET"===s){var c=v.now(),d=o.url.replace(St,"$1_="+c);o.url=d+(d===o.url?(Dt.test(o.url)?"&":"?")+"_="+c:"")}o.data&&"GET"===s&&(o.url+=(Dt.test(o.url)?"&":"?")+o.data),o.global&&0===v.active++&&v.event.trigger("ajaxStart");var f=wt.exec(o.url),h=f&&(f[1]&&f[1]!==location.protocol||f[2]!==location.host);if("script"===o.dataType&&"GET"===s&&h){var p=y.getElementsByTagName("head")[0]||y.documentElement,m=y.createElement("script");if(o.scriptCharset&&(m.charset=o.scriptCharset),m.src=o.url,!r){var g=!1;m.onload=m.onreadystatechange=function(){g||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(g=!0,v.handleSuccess(o,T,i,a),v.handleComplete(o,T,i,a),m.onload=m.onreadystatechange=null,p&&m.parentNode&&p.removeChild(m))}}return p.insertBefore(m,p.firstChild),t}var b=!1,T=o.xhr();if(T){o.username?T.open(s,o.url,o.async,o.username,o.password):T.open(s,o.url,o.async);try{(null!=o.data&&!l||n&&n.contentType)&&T.setRequestHeader("Content-Type",o.contentType),o.ifModified&&(v.lastModified[o.url]&&T.setRequestHeader("If-Modified-Since",v.lastModified[o.url]),v.etag[o.url]&&T.setRequestHeader("If-None-Match",v.etag[o.url])),h||T.setRequestHeader("X-Requested-With","XMLHttpRequest"),T.setRequestHeader("Accept",o.dataType&&o.accepts[o.dataType]?o.accepts[o.dataType]+", */*; q=0.01":o.accepts._default)}catch(E){}if(o.beforeSend&&o.beforeSend.call(o.context,T,o)===!1)return o.global&&1===v.active--&&v.event.trigger("ajaxStop"),T.abort(),!1;
|
3
|
+
o.global&&v.triggerGlobal(o,"ajaxSend",[T,o]);var x=T.onreadystatechange=function(e){if(T&&0!==T.readyState&&"abort"!==e){if(!b&&T&&(4===T.readyState||"timeout"===e)){b=!0,T.onreadystatechange=v.noop,i="timeout"===e?"timeout":v.httpSuccess(T)?o.ifModified&&v.httpNotModified(T,o.url)?"notmodified":"success":"error";var t;if("success"===i)try{a=v.httpData(T,o.dataType,o)}catch(n){i="parsererror",t=n}"success"===i||"notmodified"===i?r||v.handleSuccess(o,T,i,a):v.handleError(o,T,i,t),r||v.handleComplete(o,T,i,a),"timeout"===e&&T.abort(),o.async&&(T=null)}}else b||v.handleComplete(o,T,i,a),b=!0,T&&(T.onreadystatechange=v.noop)};try{var D=T.abort;T.abort=function(){T&&D.call&&D.call(T),x("abort")}}catch(S){}o.async&&o.timeout>0&&setTimeout(function(){T&&!b&&x("timeout")},o.timeout);try{T.send(l||null==o.data?null:o.data)}catch(w){v.handleError(o,T,null,w),v.handleComplete(o,T,i,a)}return o.async||x(),T}},param:function(e,n){var r=[],i=function(e,t){t=v.isFunction(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=v.ajaxSettings.traditional),v.isArray(e)||e.jquery)v.each(e,function(){i(this.name,this.value)});else for(var a in e)h(a,e[a],n,i);return r.join("&").replace(Nt,"+")}}),v.extend({active:0,lastModified:{},etag:{},handleError:function(e,t,n,r){e.error&&e.error.call(e.context,t,n,r),e.global&&v.triggerGlobal(e,"ajaxError",[t,e,r])},handleSuccess:function(e,t,n,r){e.success&&e.success.call(e.context,r,n,t),e.global&&v.triggerGlobal(e,"ajaxSuccess",[t,e])},handleComplete:function(e,t,n){e.complete&&e.complete.call(e.context,t,n),e.global&&v.triggerGlobal(e,"ajaxComplete",[t,e]),e.global&&1===v.active--&&v.event.trigger("ajaxStop")},triggerGlobal:function(e,t,n){(e.context&&null==e.context.url?v(e.context):v.event).trigger(t,n)},httpSuccess:function(e){try{return!e.status&&"file:"===location.protocol||e.status>=200&&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&&(v.lastModified[t]=n),r&&(v.etag[t]=r),304===e.status},httpData:function(e,t,n){var r=e.getResponseHeader("content-type")||"",i="xml"===t||!t&&r.indexOf("xml")>=0,a=i?e.responseXML:e.responseText;return i&&"parsererror"===a.documentElement.nodeName&&v.error("parsererror"),n&&n.dataFilter&&(a=n.dataFilter(a,t)),"string"==typeof a&&("json"===t||!t&&r.indexOf("json")>=0?a=v.parseJSON(a):("script"===t||!t&&r.indexOf("javascript")>=0)&&v.globalEval(a)),a}}),e.ActiveXObject&&(v.ajaxSettings.xhr=function(){if("file:"!==e.location.protocol)try{return new e.XMLHttpRequest}catch(t){}try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(n){}}),v.support.ajax=!!v.ajaxSettings.xhr();var Ct,Ot={},kt=/^(?:toggle|show|hide)$/,Ft=/^([+\-]=)?([\d+.\-]+)(.*)$/,_t=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];v.fn.extend({show:function(e,t,n){if(e||0===e)return this.animate(p("show",3),e,t,n);for(var r=0,i=this.length;i>r;r++)v.data(this[r],"olddisplay")||"none"!==this[r].style.display||(this[r].style.display=""),""===this[r].style.display&&"none"===v.css(this[r],"display")&&v.data(this[r],"olddisplay",m(this[r].nodeName));for(r=0;i>r;r++)this[r].style.display=v.data(this[r],"olddisplay")||"";return this},hide:function(e,t,n){if(e||0===e)return this.animate(p("hide",3),e,t,n);for(var r=0,i=this.length;i>r;r++){var a=v.css(this[r],"display");"none"!==a&&v.data(this[r],"olddisplay",a)}for(r=0;i>r;r++)this[r].style.display="none";return this},_toggle:v.fn.toggle,toggle:function(e,t,n){var r="boolean"==typeof e;return v.isFunction(e)&&v.isFunction(t)?this._toggle.apply(this,arguments):null==e||r?this.each(function(){var t=r?e:v(this).is(":hidden");v(this)[t?"show":"hide"]()}):this.animate(p("toggle",3),e,t,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(e,t,n,r){var i=v.speed(t,n,r);return v.isEmptyObject(e)?this.each(i.complete):this[i.queue===!1?"each":"queue"](function(){var t,n=v.extend({},i),r=1===this.nodeType,a=r&&v(this).is(":hidden"),o=this;for(t in e){var s=v.camelCase(t);if(t!==s&&(e[s]=e[t],delete e[t],t=s),"hide"===e[t]&&a||"show"===e[t]&&!a)return n.complete.call(this);if(r&&("height"===t||"width"===t)&&(n.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===v.css(this,"display")&&"none"===v.css(this,"float")))if(v.support.inlineBlockNeedsLayout){var l=m(this.nodeName);"inline"===l?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block";v.isArray(e[t])&&((n.specialEasing=n.specialEasing||{})[t]=e[t][1],e[t]=e[t][0])}return null!=n.overflow&&(this.style.overflow="hidden"),n.curAnim=v.extend({},e),v.each(e,function(t,r){var i=new v.fx(o,n,t);if(kt.test(r))i["toggle"===r?a?"show":"hide":r](e);else{var s=Ft.exec(r),l=i.cur(!0)||0;if(s){var u=parseFloat(s[2]),c=s[3]||"px";"px"!==c&&(v.style(o,t,(u||1)+c),l=(u||1)/i.cur(!0)*l,v.style(o,t,l+c)),s[1]&&(u=("-="===s[1]?-1:1)*u+l),i.custom(l,u,c)}else i.custom(l,r,"")}}),!0})},stop:function(e,t){var n=v.timers;return e&&this.queue([]),this.each(function(){for(var e=n.length-1;e>=0;e--)n[e].elem===this&&(t&&n[e](!0),n.splice(e,1))}),t||this.dequeue(),this}}),v.each({slideDown:p("show",1),slideUp:p("hide",1),slideToggle:p("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(e,t){v.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),v.extend({speed:function(e,t,n){var r=e&&"object"==typeof e?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};return r.duration=v.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in v.fx.speeds?v.fx.speeds[r.duration]:v.fx.speeds._default,r.old=r.complete,r.complete=function(){r.queue!==!1&&v(this).dequeue(),v.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={})}}),v.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(v.fx.step[this.prop]||v.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(v.css(this.elem,this.prop));return e&&e>-1e4?e:0},custom:function(e,t,n){function r(e){return i.step(e)}this.startTime=v.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=v.fx;r.elem=this.elem,r()&&v.timers.push(r)&&!Ct&&(Ct=setInterval(a.tick,a.interval))},show:function(){this.options.orig[this.prop]=v.style(this.elem,this.prop),this.options.show=!0,this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),v(this.elem).show()},hide:function(){this.options.orig[this.prop]=v.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var t=v.now(),n=!0;if(e||t>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var r in this.options.curAnim)this.options.curAnim[r]!==!0&&(n=!1);if(n){if(null!=this.options.overflow&&!v.support.shrinkWrapBlocks){var i=this.elem,a=this.options;v.each(["","X","Y"],function(e,t){i.style["overflow"+t]=a.overflow[e]})}if(this.options.hide&&v(this.elem).hide(),this.options.hide||this.options.show)for(var o in this.options.curAnim)v.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||(v.easing.swing?"swing":"linear");return this.pos=v.easing[l||u](this.state,s,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0}},v.extend(v.fx,{tick:function(){for(var e=v.timers,t=0;t<e.length;t++)e[t]()||e.splice(t--,1);e.length||v.fx.stop()},interval:13,stop:function(){clearInterval(Ct),Ct=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){v.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}}}),v.expr&&v.expr.filters&&(v.expr.filters.animated=function(e){return v.grep(v.timers,function(t){return e===t.elem}).length});var It=/^t(?:able|d|h)$/i,At=/^(?:body|html)$/i;v.fn.offset="getBoundingClientRect"in y.documentElement?function(e){var t,n=this[0];if(e)return this.each(function(t){v.offset.setOffset(this,e,t)});if(!n||!n.ownerDocument)return null;if(n===n.ownerDocument.body)return v.offset.bodyOffset(n);try{t=n.getBoundingClientRect()}catch(r){}var i=n.ownerDocument,a=i.documentElement;if(!t||!v.contains(a,n))return t||{top:0,left:0};var o=i.body,s=g(i),l=a.clientTop||o.clientTop||0,u=a.clientLeft||o.clientLeft||0,c=s.pageYOffset||v.support.boxModel&&a.scrollTop||o.scrollTop,d=s.pageXOffset||v.support.boxModel&&a.scrollLeft||o.scrollLeft,f=t.top+c-l,h=t.left+d-u;return{top:f,left:h}}:function(e){var t=this[0];if(e)return this.each(function(t){v.offset.setOffset(this,e,t)});if(!t||!t.ownerDocument)return null;if(t===t.ownerDocument.body)return v.offset.bodyOffset(t);v.offset.initialize();for(var n,r=t.offsetParent,i=t,a=t.ownerDocument,o=a.documentElement,s=a.body,l=a.defaultView,u=l?l.getComputedStyle(t,null):t.currentStyle,c=t.offsetTop,d=t.offsetLeft;(t=t.parentNode)&&t!==s&&t!==o&&(!v.offset.supportsFixedPosition||"fixed"!==u.position);)n=l?l.getComputedStyle(t,null):t.currentStyle,c-=t.scrollTop,d-=t.scrollLeft,t===r&&(c+=t.offsetTop,d+=t.offsetLeft,!v.offset.doesNotAddBorder||v.offset.doesAddBorderForTableAndCells&&It.test(t.nodeName)||(c+=parseFloat(n.borderTopWidth)||0,d+=parseFloat(n.borderLeftWidth)||0),i=r,r=t.offsetParent),v.offset.subtractsBorderForOverflowNotVisible&&"visible"!==n.overflow&&(c+=parseFloat(n.borderTopWidth)||0,d+=parseFloat(n.borderLeftWidth)||0),u=n;return("relative"===u.position||"static"===u.position)&&(c+=s.offsetTop,d+=s.offsetLeft),v.offset.supportsFixedPosition&&"fixed"===u.position&&(c+=Math.max(o.scrollTop,s.scrollTop),d+=Math.max(o.scrollLeft,s.scrollLeft)),{top:c,left:d}},v.offset={initialize:function(){var e,t,n,r,i=y.body,a=y.createElement("div"),o=parseFloat(v.css(i,"marginTop"))||0,s="<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>";v.extend(a.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),a.innerHTML=s,i.insertBefore(a,i.firstChild),e=a.firstChild,t=e.firstChild,r=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=5!==t.offsetTop,this.doesAddBorderForTableAndCells=5===r.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=i.offsetTop!==o,i.removeChild(a),i=a=e=t=n=r=null,v.offset.initialize=v.noop},bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return v.offset.initialize(),v.offset.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(v.css(e,"marginTop"))||0,n+=parseFloat(v.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=v.css(e,"position");"static"===r&&(e.style.position="relative");var i,a,o=v(e),s=o.offset(),l=v.css(e,"top"),u=v.css(e,"left"),c="absolute"===r&&v.inArray("auto",[l,u])>-1,d={},f={};c&&(f=o.position()),i=c?f.top:parseInt(l,10)||0,a=c?f.left:parseInt(u,10)||0,v.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+a),"using"in t?t.using.call(e,d):o.css(d)}},v.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),r=At.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.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||y.body;e&&!At.test(e.nodeName)&&"static"===v.css(e,"position");)e=e.offsetParent;return e})}}),v.each(["Left","Top"],function(e,n){var r="scroll"+n;v.fn[r]=function(n){var i,a=this[0];return a?n!==t?this.each(function(){i=g(this),i?i.scrollTo(e?v(i).scrollLeft():n,e?n:v(i).scrollTop()):this[r]=n}):(i=g(a),i?"pageXOffset"in i?i[e?"pageYOffset":"pageXOffset"]:v.support.boxModel&&i.document.documentElement[r]||i.document.body[r]:a[r]):null}}),v.each(["Height","Width"],function(e,n){var r=n.toLowerCase();v.fn["inner"+n]=function(){return this[0]?parseFloat(v.css(this[0],r,"padding")):null},v.fn["outer"+n]=function(e){return this[0]?parseFloat(v.css(this[0],r,e?"margin":"border")):null},v.fn[r]=function(e){var i=this[0];return i?v.isFunction(e)?this.each(function(t){var n=v(this);n[r](e.call(this,t,n[r]()))}):v.isWindow(i)?"CSS1Compat"===i.document.compatMode&&i.document.documentElement["client"+n]||i.document.body["client"+n]:9===i.nodeType?Math.max(i.documentElement["client"+n],i.body["scroll"+n],i.documentElement["scroll"+n],i.body["offset"+n],i.documentElement["offset"+n]):e===t?parseFloat(v.css(i,r)):this.css(r,"string"==typeof e?e:e+"px"):null==e?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 this>e?1:e>this?-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(t>e||e>n)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 0>t?(e=(t-1e4).toString(),e[0]+e.substr(2)):(e=(t+1e4).toString(),"+"+e.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(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)}},d=function(e){return function(){return this._dateElement=e,this}},f=0;f<a.length;f++)e=a[f].toLowerCase(),t[e]=t[e+"s"]=c(a[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 e=Date.Parsing,t=e.Operators={rtoken:function(t){return function(n){var r=n.match(t);if(r)return[r[0],n.substring(r[0].length)];throw new e.Exception(n)}},token:function(){return function(e){return t.rtoken(new RegExp("^s*"+e+"s*"))(e)}},stoken:function(e){return t.rtoken(new RegExp("^"+e))},until:function(e){return function(t){for(var n=[],r=null;t.length;){try{r=e.call(this,t)}catch(i){n.push(r[0]),t=r[1];continue}break}return[n,t]}},many:function(e){return function(t){for(var n=[],r=null;t.length;){try{r=e.call(this,t)}catch(i){return[n,t]}n.push(r[0]),t=r[1]}return[n,t]}},optional:function(e){return function(t){var n=null;try{n=e.call(this,t)}catch(r){return[null,t]}return[n[0],n[1]]}},not:function(t){return function(n){try{t.call(this,n)}catch(r){return[null,n]}throw new e.Exception(n)}},ignore:function(e){return e?function(t){var n=null;return n=e.call(this,t),[null,n[1]]}:null},product:function(){for(var e=arguments[0],n=Array.prototype.slice.call(arguments,1),r=[],i=0;i<e.length;i++)r.push(t.each(e[i],n));return r},cache:function(t){var n={},r=null;return function(i){try{r=n[i]=n[i]||t.call(this,i)}catch(a){r=n[i]=a}if(r instanceof e.Exception)throw r;return r}},any:function(){var t=arguments;return function(n){for(var r=null,i=0;i<t.length;i++)if(null!=t[i]){try{r=t[i].call(this,n)}catch(a){r=null}if(r)return r}throw new e.Exception(n)}},each:function(){var t=arguments;return function(n){for(var r=[],i=null,a=0;a<t.length;a++)if(null!=t[a]){try{i=t[a].call(this,n)}catch(o){throw new e.Exception(n)}r.push(i[0]),n=i[1]}return[r,n]}},all:function(){var e=arguments,t=t;return t.each(t.optional(e))},sequence:function(n,r,i){return r=r||t.rtoken(/^\s*/),i=i||null,1==n.length?n[0]:function(t){for(var a=null,o=null,s=[],l=0;l<n.length;l++){try{a=n[l].call(this,t)}catch(u){break}s.push(a[0]);try{o=r.call(this,a[1])}catch(c){o=null;break}t=o[1]}if(!a)throw new e.Exception(t);if(o)throw new e.Exception(o[1]);if(i)try{a=i.call(this,a[1])}catch(d){throw new e.Exception(a[1])}return[s,a?a[1]:t]}},between:function(e,n,i){i=i||e;var a=t.each(t.ignore(e),n,t.ignore(i));return function(e){var t=a.call(this,e);return[[t[0][0],r[0][2]],t[1]]}},list:function(e,n,r){return n=n||t.rtoken(/^\s*/),r=r||null,e instanceof Array?t.each(t.product(e.slice(0,-1),t.ignore(n)),e.slice(-1),t.ignore(r)):t.each(t.many(t.each(e,t.ignore(n))),px,t.ignore(r))},set:function(n,r,i){return r=r||t.rtoken(/^\s*/),i=i||null,function(a){for(var o=null,s=null,l=null,u=null,c=[[],a],d=!1,f=0;f<n.length;f++){l=null,s=null,o=null,d=1==n.length;try{o=n[f].call(this,a)}catch(h){continue}if(u=[[o[0]],o[1]],o[1].length>0&&!d)try{l=r.call(this,o[1])}catch(p){d=!0}else d=!0;if(d||0!==l[1].length||(d=!0),!d){for(var m=[],g=0;g<n.length;g++)f!=g&&m.push(n[g]);s=t.set(m,r).call(this,l[1]),s[0].length>0&&(u[0]=u[0].concat(s[0]),u[1]=s[1])}if(u[1].length<c[1].length&&(c=u),0===c[1].length)break}if(0===c[0].length)return c;if(i){try{l=i.call(this,c[1])}catch(y){throw new e.Exception(c[1])}c[1]=l[1]}return c}},forward:function(e,t){return function(n){return e[t].call(this,n)}},replace:function(e,t){return function(n){var r=e.call(this,n);return[t,r[1]]}},process:function(e,t){return function(n){var r=e.call(this,n);return[t.call(this,r[0]),r[1]]}},min:function(t,n){return function(r){var i=n.call(this,r);if(i[0].length<t)throw new e.Exception(r);return i}}},n=function(e){return function(){var t=null,n=[];if(arguments.length>1?t=Array.prototype.slice.call(arguments):arguments[0]instanceof Array&&(t=arguments[0]),!t)return e.apply(null,arguments);for(var r=0,i=t.shift();r<i.length;r++)return t.unshift(i[r]),n.push(e.apply(null,t)),t.shift(),n}},i="optional not ignore cache".split(/\s/),a=0;a<i.length;a++)t[i[a]]=n(t[i[a]]);for(var o=function(e){return function(){return arguments[0]instanceof Array?e.apply(null,arguments[0]):e.apply(null,arguments)}},s="each any all".split(/\s/),l=0;l<s.length;l++)t[s[l]]=o(t[s[l]])}(),function(){var e=function(t){for(var n=[],r=0;r<t.length;r++)t[r]instanceof Array?n=n.concat(e(t[r])):t[r]&&n.push(t[r]);return n};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(e){return function(){var t=e.replace(/[^\d\+\-]/g,"");t.length?this.timezoneOffset=Number(t):this.timezone=e.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(e){return function(){var t=Number(e);this.year=e.length>2?t:t+(t+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,this.second=0;for(var n=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(t){if(t=t instanceof Array?e(t):[t],0===t.length)return null;for(var n=0;n<t.length;n++)"function"==typeof t[n]&&t[n].call(this);if(this.now)return new Date;var r=Date.today(),i=!(null==this.days&&!this.orient&&!this.operator);if(i){var a,o,s;return s="past"==this.orient||"subtract"==this.operator?-1:1,this.weekday&&(this.unit="day",a=Date.getDayNumberFromName(this.weekday)-r.getDay(),o=7,this.days=a?(a+s*o)%o:s*o),this.month&&(this.unit="month",a=this.month-r.getMonth(),o=12,this.months=a?(a+s*o)%o:s*o,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*s),r.add(this)}return this.meridian&&this.hour&&(this.hour=this.hour<13&&"p"==this.meridian?this.hour+12:this.hour),this.weekday&&!this.day&&(this.day=r.addDays(Date.getDayNumberFromName(this.weekday)-r.getDay()).getDate()),this.month&&!this.day&&(this.day=1),r.set(this)}};var t,n=Date.Parsing.Operators,r=Date.Grammar,i=Date.Translator;r.datePartDelimiter=n.rtoken(/^([\s\-\.\,\/\x27]+)/),r.timePartDelimiter=n.stoken(":"),r.whiteSpace=n.rtoken(/^\s*/),r.generalDelimiter=n.rtoken(/^(([\s\,]|at|on)+)/);
|
4
|
+
var a={};r.ctoken=function(e){var t=a[e];if(!t){for(var r=Date.CultureInfo.regexPatterns,i=e.split(/\s+/),o=[],s=0;s<i.length;s++)o.push(n.replace(n.rtoken(r[i[s]]),i[s]));t=a[e]=n.any.apply(null,o)}return t},r.ctoken2=function(e){return n.rtoken(Date.CultureInfo.regexPatterns[e])},r.h=n.cache(n.process(n.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),i.hour)),r.hh=n.cache(n.process(n.rtoken(/^(0[0-9]|1[0-2])/),i.hour)),r.H=n.cache(n.process(n.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),i.hour)),r.HH=n.cache(n.process(n.rtoken(/^([0-1][0-9]|2[0-3])/),i.hour)),r.m=n.cache(n.process(n.rtoken(/^([0-5][0-9]|[0-9])/),i.minute)),r.mm=n.cache(n.process(n.rtoken(/^[0-5][0-9]/),i.minute)),r.s=n.cache(n.process(n.rtoken(/^([0-5][0-9]|[0-9])/),i.second)),r.ss=n.cache(n.process(n.rtoken(/^[0-5][0-9]/),i.second)),r.hms=n.cache(n.sequence([r.H,r.mm,r.ss],r.timePartDelimiter)),r.t=n.cache(n.process(r.ctoken2("shortMeridian"),i.meridian)),r.tt=n.cache(n.process(r.ctoken2("longMeridian"),i.meridian)),r.z=n.cache(n.process(n.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),i.timezone)),r.zz=n.cache(n.process(n.rtoken(/^(\+|\-)\s*\d\d\d\d/),i.timezone)),r.zzz=n.cache(n.process(r.ctoken2("timezone"),i.timezone)),r.timeSuffix=n.each(n.ignore(r.whiteSpace),n.set([r.tt,r.zzz])),r.time=n.each(n.optional(n.ignore(n.stoken("T"))),r.hms,r.timeSuffix),r.d=n.cache(n.process(n.each(n.rtoken(/^([0-2]\d|3[0-1]|\d)/),n.optional(r.ctoken2("ordinalSuffix"))),i.day)),r.dd=n.cache(n.process(n.each(n.rtoken(/^([0-2]\d|3[0-1])/),n.optional(r.ctoken2("ordinalSuffix"))),i.day)),r.ddd=r.dddd=n.cache(n.process(r.ctoken("sun mon tue wed thu fri sat"),function(e){return function(){this.weekday=e}})),r.M=n.cache(n.process(n.rtoken(/^(1[0-2]|0\d|\d)/),i.month)),r.MM=n.cache(n.process(n.rtoken(/^(1[0-2]|0\d)/),i.month)),r.MMM=r.MMMM=n.cache(n.process(r.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),i.month)),r.y=n.cache(n.process(n.rtoken(/^(\d\d?)/),i.year)),r.yy=n.cache(n.process(n.rtoken(/^(\d\d)/),i.year)),r.yyy=n.cache(n.process(n.rtoken(/^(\d\d?\d?\d?)/),i.year)),r.yyyy=n.cache(n.process(n.rtoken(/^(\d\d\d\d)/),i.year)),t=function(){return n.each(n.any.apply(null,arguments),n.not(r.ctoken2("timeContext")))},r.day=t(r.d,r.dd),r.month=t(r.M,r.MMM),r.year=t(r.yyyy,r.yy),r.orientation=n.process(r.ctoken("past future"),function(e){return function(){this.orient=e}}),r.operator=n.process(r.ctoken("add subtract"),function(e){return function(){this.operator=e}}),r.rday=n.process(r.ctoken("yesterday tomorrow today now"),i.rday),r.unit=n.process(r.ctoken("minute hour day week month year"),function(e){return function(){this.unit=e}}),r.value=n.process(n.rtoken(/^\d\d?(st|nd|rd|th)?/),function(e){return function(){this.value=e.replace(/\D/g,"")}}),r.expression=n.set([r.rday,r.operator,r.value,r.unit,r.orientation,r.ddd,r.MMM]),t=function(){return n.set(arguments,r.datePartDelimiter)},r.mdy=t(r.ddd,r.month,r.day,r.year),r.ymd=t(r.ddd,r.year,r.month,r.day),r.dmy=t(r.ddd,r.day,r.month,r.year),r.date=function(e){return(r[Date.CultureInfo.dateElementOrder]||r.mdy).call(this,e)},r.format=n.process(n.many(n.any(n.process(n.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)}),n.process(n.rtoken(/^[^dMyhHmstz]+/),function(e){return n.ignore(n.stoken(e))}))),function(e){return n.process(n.each.apply(null,e),i.finishExact)});var o={},s=function(e){return o[e]=o[e]||r.format(e)[0]};r.formats=function(e){if(e instanceof Array){for(var t=[],r=0;r<e.length;r++)t.push(s(e[r]));return n.any.apply(null,t)}return s(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=n.process(n.set([r.date,r.time,r.expression],r.generalDelimiter,r.whiteSpace),i.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 t=Date.Grammar.formats(e);return function(e){var n=null;try{n=t.call({},e)}catch(r){return null}return 0===n[1].length?n[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 t(e){return e=Math.round(e),isNaN(e)||1>e?"":10>e?" "+e:e>99?"99":e}function n(e,t,n,r,i){var a,o,s,l,u,c,d,f=document.getElementsByTagName("head")[0],h=document.createElement("link");h.rel="icon",a=r.width/16,o=11*a,l=a,u=11*a,c=a,d=2*a,e.height=e.width=r.width,s=e.getContext("2d"),s.font="bold "+o+"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 r=this,i=document.createElement("img");r.canvas.getContext&&(i.crossOrigin="anonymous",i.onload=function(){n(r.canvas,r.opacity,r.font,i,t(e))},i.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))))){ENGINE=engine;break}return method}function addEvent(e,t){e="on"+e;var n=win[e];win[e]="function"!=typeof win[e]?t: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,d=[];e=e.replace(WHITESPACE_CHARACTERS,EMPTY_STRING),e=e.replace(/\s?(\{|\:|\})\s?/g,PLACEHOLDER_STRING),t=e.split(END_MUSTACHE);for(l in t)if(t.hasOwnProperty(l)&&(e=t[l],e&&(n=[e,END_MUSTACHE].join(EMPTY_STRING),r=/(\@media[^\{]+\{)?(.*)\{(.*)\}/.exec(n),r&&r[3]))){i=r[2],a=r[3].split(";"),s=[];for(u in a)a.hasOwnProperty(u)&&(c=a[u],o=c.split(":"),o.length&&o[1]&&s.push({property:o[0],value:o[1]}));i&&s.length&&d.push({selector:i,properties:s})}return d}function findFlexboxElements(e){var t,n,r,i,a,o,s,l,u,c,d,f,h,p,m,g,y,v=/\s?,\s?/,b={},T={};for(o=function(e,t,n,r){var i,a,o,s;for(i={selector:trim(e),properties:[]},a=0,o=t.properties.length;o>a;a++)s=t.properties[a],i.properties.push({property:trim(s.property),value:trim(s.value)});return n&&r&&(i[n]=r),i},s=function(e,t,n,r){var i,a,s,l,u,c,d,f=n&&r?b[e]:T[e];if(f){for(s=0,l=t.properties.length;l>s;s++){for(u=t.properties[s],c=0,d=f.properties.length;d>c;c++)if(a=f.properties[c],u.property===a.property)return i=c,!1;i?f.properties[i]=u:f.properties.push(u)}n&&r&&(f[n]=r)}else n&&r?b[e]=o(e,t,n,r):T[e]=o(e,t,NULL,NULL)},u=0,c=e.length;c>u;u++)for(d=e[u],t=trim(d.selector).replace(v,",").split(v),f=0,h=t.length;h>f;f++)for(p=trim(t[f]),n=d.properties,m=0,g=n.length;g>m;m++)if(y=n[m],r=trim(y.property),i=trim(y.value),r)switch(a=r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&s(p,d,NULL,NULL);break;case"orient":case"align":case"direction":case"pack":s(p,d,NULL,NULL);break;case"flex":case"flex-group":case"ordinal-group":s(p,d,a,i)}for(l in T)T.hasOwnProperty(l)&&FLEX_BOXES.push(T[l]);for(l in b)b.hasOwnProperty(l)&&POSSIBLE_FLEX_CHILDREN.push(b[l]);return{boxes:FLEX_BOXES,children:POSSIBLE_FLEX_CHILDREN}}function matchFlexChildren(e,t,n){var r,i,a,o,s,l,u,c,d,f=[];for(a=0,o=n.length;o>a;a++)if(s=n[a],s.selector){if(r=t(s.selector),r=r[0]?r:[r],r[0])for(l=0,u=r.length;u>l;l++)if(c=r[l],c.nodeName!==UNDEFINED)switch(c.nodeName.toLowerCase()){case"script":case"style":case"link":break;default:if(c.parentNode===e){setFlexieId(c),i={};for(d in 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,a,o,s,l,u,c,d,f,h,p,m,g,y,v,b,T,E,x,D,S,w,N,M,L,C,O,k,F,_={},I="["+FLX_PARENT_ATTR+"]";if(e){for(b=0,T=e.boxes.length;T>b;b++){for(E=e.boxes[b],E.selector=trim(E.selector),t=E.selector,n=E.properties,o=s=l=u=c=NULL,x=0,D=n.length;D>x;x++)if(S=n[x],r=trim(S.property),i=trim(S.value),r)switch(a=r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&(o=i);break;case"orient":s=i;break;case"align":l=i;break;case"direction":u=i;break;case"pack":c=i}for(d=LIBRARY,f=d(E.selector),f=f[0]?f:[f],x=0,D=f.length;D>x;x++)if(w=f[x],w.nodeType)if(setFlexieId(w),h=matchFlexChildren(w,d,e.children),v=t+" "+I,m={target:w,selector:t,properties:n,children:h,display:o,orient:s,align:l,direction:u,pack:c,nested:v},g=_[w.FLX_DOM_ID]){for(N in m)if(m.hasOwnProperty(N))switch(i=m[N],N){case"selector":i&&!new RegExp(i).test(g[N])&&(g[N]+=", "+i);break;case"children":for(M=0,L=m[N].length;L>M;M++){for(C=m[N][M],y=FALSE,O=0,k=g[N].length;k>O;O++)F=g[N][O],C.match.FLX_DOM_ID===F.match.FLX_DOM_ID&&(y=TRUE);y||g[N].push(C)}break;default:i&&(g[N]=i)}}else _[w.FLX_DOM_ID]=getParams(m),_[w.FLX_DOM_ID].target.setAttribute(FLX_PARENT_ATTR,TRUE)}for(DOM_ORDERED=LIBRARY(I),FLEX_BOXES={},b=0,T=DOM_ORDERED.length;T>b;b++)w=DOM_ORDERED[b],FLEX_BOXES[w.FLX_DOM_ID]=_[w.FLX_DOM_ID];for(N in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(N)&&(E=FLEX_BOXES[N],"box"===E.display&&(p=new FLX.box(E)))}}function calcPx(e,t,n){var r,i,a,o=n.replace(n.charAt(0),n.charAt(0).toUpperCase()),s=e["offset"+o]||0;if(s)for(r=0,i=t.length;i>r;r++)a=parseFloat(e.currentStyle[t[r]]),isNaN(a)||(s-=a);return s}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){var r;switch(n){case"width":r=[PADDING_LEFT,PADDING_RIGHT,BORDER_LEFT,BORDER_RIGHT],t=calcPx(e,r,n);break;case"height":r=[PADDING_TOP,PADDING_BOTTOM,BORDER_TOP,BORDER_BOTTOM],t=calcPx(e,r,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;a>i;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;i>r;r++)e=a[r],e&&e.style&&(e.style[t]=n?n+"px":EMPTY_STRING)}function calculateSpecificity(e){var t,n,r,i,a,o;for(t=e.replace(CSS_SELECTOR,function(e,t){return"%"+t}).replace(/\s|\>|\+|\~/g,"%").split(/%/g),n={_id:100,_class:10,_tag:1},r=0,i=0,a=t.length;a>i;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=[],d=(n?"ordinal":"flex")+"Specificity";for(i=0,a=e.length;a>i;i++)if(o=e[i],!n&&o.flex||n&&o["ordinal-group"]){for(o[d]=o[d]||calculateSpecificity(o.selector),r=FALSE,s=0,l=c.length;l>s;s++)if(u=c[s],u.match===o.match)return u[d]<o[d]&&(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,d={},f=[],h=0,p="ordinal-group",m="data-"+p;for(e=filterDuplicates(e,t,n),i=0,a=t.length;a>i;i++){for(o=t[i],s=0,l=e.length;l>s;s++)u=e[s],n?(r=u[p]||"1",u.match===o&&(u.match.setAttribute(m,r),d[r]=d[r]||[],d[r].push(u))):(r=u.flex||"0",u.match===o&&(!u[r]||u[r]&&parseInt(u[r],10)<=1)&&(h+=parseInt(r,10),d[r]=d[r]||[],d[r].push(u)));n&&!o.getAttribute(m)&&(r="1",o.setAttribute(m,r),d[r]=d[r]||[],d[r].push({match:o}))}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,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;n>t;t++)r=e[t],i=r.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;i>r;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,r,i=0,a=e.parentNode;a.FLX_DOM_ID;)t=FLEX_BOXES[a.FLX_DOM_ID],n=createMatchMatrix(t.children,sanitizeChildren(a,a.childNodes),NULL),i+=n.total,r=TRUE,a=a.parentNode;return{nested:r,flex:i}}function dimensionValues(e,t){var n,r,i,a,o,s=e.parentNode;if(s.FLX_DOM_ID)for(n=FLEX_BOXES[s.FLX_DOM_ID],i=0,a=n.properties.length;a>i;i++)if(o=n.properties[i],new RegExp(t).test(o.property))return r=TRUE,FALSE;return r}function updateChildValues(e){var t,n,r;if(e.flexMatrix)for(t=0,n=e.children.length;n>t;t++)r=e.children[t],r.flex=e.flexMatrix[t];if(e.ordinalMatrix)for(t=0,n=e.children.length;n>t;t++)r=e.children[t],r["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:function(){var e,t=win.navigator.userAgent,n=MSIE.exec(t.toLowerCase());return n&&(e=parseInt(n[2],10)),e}()},selectivizrEngine;return selectivizrEngine=function(){function e(e){return e.replace(g,PLACEHOLDER_STRING)}function t(t){return e(t).replace(m,SPACE_STRING)}function n(e){return t(e.replace(h,PLACEHOLDER_STRING).replace(p,PLACEHOLDER_STRING))}function r(e){return e.replace(f,function(e,t,r){var i,a,o,s,l;for(i=r.split(","),o=0,s=i.length;s>o;o++)l=i[o],a=n(l)+SPACE_STRING;return t+i.join(",")})}function i(){if(win.XMLHttpRequest)return new win.XMLHttpRequest;try{return new win.ActiveXObject("Microsoft.XMLHTTP")}catch(e){return NULL}}function a(e){for(var t,n=/<style[^<>]*>([^<>]*)<\/style[\s]?>/gim,r=n.exec(e),i=[];r;)t=r[1],t&&i.push(t),r=n.exec(e);return i.join("\n\n")}function o(e){var t,n=i();return n.open("GET",e,FALSE),n.send(),t=200===n.status?n.responseText:EMPTY_STRING,e===window.location.href&&(t=a(t)),t}function s(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 l(e){return e?o(e).replace(u,EMPTY_STRING).replace(c,function(t,n,r,i,a,o){var u=l(s(r||a,e));return o?"@media "+o+" {"+u+"}":u}).replace(d,function(t,n,r,i){return r=r||EMPTY_STRING,n?t:" url("+r+s(i,e,!0)+r+") "}):EMPTY_STRING}var u=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*?/g,c=/@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))\s*([^;]*);/g,d=/(behavior\s*?:\s*)?\burl\(\s*(["']?)(?!data:)([^"')]+)\2\s*\)/g,f=/((?:^|(?:\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,i,a,o,u,c=[],d=doc.getElementsByTagName("BASE"),f=d.length>0?d[0].href:doc.location.href,h=doc.styleSheets;for(n=0,i=h.length;i>n;n++)t=h[n],t!=NULL&&c.push(t);for(c.push(window.location),n=0,i=c.length;i>n;n++)t=c[n],t&&(e=s(t.href,f),e&&(a=r(l(e))),a&&(o=buildSelectorTree(a),u=findFlexboxElements(o)));buildFlexieCall(u)}}(),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=doc.styleSheets,i=i[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;l>s;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(t=t.reverse(),a=0,o=t.length;o>a;a++)s=t[a],e.appendChild(s);for(r=LIBRARY(n.nested),a=0,o=r.length;o>a;a++)l=r[a],i=FLEX_BOXES[l.FLX_DOM_ID],i&&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;o>a;a++)s=t[a],s.style[BROWSER.IE>=9?"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(e,t,n){var r,i;t.length&&(r=function(r){var i,a,o,s,l,u,c=r.keys,d=n.reversed?c:c.reverse();for(i=0,a=d.length;a>i;i++)for(o=d[i],s=0,l=t.length;l>s;s++)u=t[s],o===u.getAttribute("data-ordinal-group")&&e.appendChild(u)},i=createMatchMatrix(n.children,t,TRUE),i.keys.length>1&&r(i))},boxFlex:function(e,t,n){var r,i,a,o,s,l,u,c=this;t.length&&(r=function(e){var t,n,r,i,a,o,s,l,u,d,f=e.groups,h=e.keys;for(n=0,r=h.length;r>n;n++)for(i=h[n],a=0,o=f[i].length;o>a;a++){for(s=f[i][a],t=NULL,l=0,u=s.properties.length;u>l;l++)d=s.properties[l],RESTRICTIVE_PROPERTIES.test(d.property)&&(t=parseFloat(d.value));(!t||s.match[c.props.out]>t)&&appendPixelValue(s.match,c.props.pos,NULL)}},i=function(n){var r,i,a,o,s,l,u,d,f=0;for(a=0,o=t.length;o>a;a++){for(s=t[a],f+=getComputedStyle(s,c.props.dim,TRUE),l=0,u=c.props.pad.length;u>l;l++)d=c.props.pad[l],f+=getComputedStyle(s,d,TRUE);f+=getComputedStyle(s,c.props.pos,TRUE),f+=getComputedStyle(s,c.props.opp,TRUE)}for(r=e[c.props.out]-f,a=0,o=c.props.pad.length;o>a;a++)d=c.props.pad[a],r-=getComputedStyle(e,d,TRUE);return i=r/n.total,{whitespace:r,ration:i}},a=function(e,t){var n,r,i,a,o,s,l,u,d,f,h,p=e.groups,m=e.keys,g=t.ration;for(s=0,l=m.length;l>s;s++)for(u=m[s],i=g*u,d=0,f=p[u].length;f>d;d++)h=p[u][d],h.match&&(n=h.match.getAttribute("data-flex"),r=h.match.getAttribute("data-specificity"),(!n||r<=h.flexSpecificity)&&(h.match.setAttribute("data-flex",u),h.match.setAttribute("data-specificity",h.flexSpecificity),a=getComputedStyle(h.match,c.props.dim,TRUE),o=Math.max(0,a+i),appendPixelValue(h.match,c.props.dim,o)))},o=createMatchMatrix(n.children,t,NULL),o.total&&(n.hasFlex=TRUE,s=r(o),l=i(o),u=a(o,l)))},boxAlign:function(e,t,n){var r,i,a,o,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],a=0,o=d.anti.pad.length;o>a;a++)s=d.anti.pad[a],r-=getComputedStyle(e,s,TRUE);switch(n.align){case"start":break;case"end":for(a=0,o=t.length;o>a;a++)c=t[a],i=r-c[d.anti.out],i-=getComputedStyle(c,d.anti.opp,TRUE),appendPixelValue(c,d.anti.pos,i);break;case"center":for(a=0,o=t.length;o>a;a++)c=t[a],i=(r-c[d.anti.out])/2,appendPixelValue(c,d.anti.pos,i);break;default:for(a=0,o=t.length;o>a;a++)switch(c=t[a],c.nodeName.toLowerCase()){case"button":case"input":case"select":break;default:var h=0;for(l=0,u=d.anti.pad.length;u>l;l++)s=d.anti.pad[l],h+=getComputedStyle(c,s,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;u>l;l++)s=d.anti.pad[l],i-=getComputedStyle(c,s,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,a,o,s,l,u,c,d,f=this,h=0,p=0,m=0,g=t.length-1;for(l=0,u=t.length;u>l;l++)s=t[l],h+=s[f.props.out],h+=getComputedStyle(s,f.props.pos,TRUE),h+=getComputedStyle(s,f.props.opp,TRUE);for(p=getComputedStyle(t[0],f.props.pos,TRUE),r=e[f.props.out]-h,l=0,u=f.props.pad.length;u>l;l++)d=f.props.pad[l],r-=getComputedStyle(e,d,TRUE);switch(0>r&&(r=Math.max(0,r)),n.pack){case"end":appendPixelValue(t[0],f.props.pos,m+p+r);break;case"center":m&&(m/=2),appendPixelValue(t[0],f.props.pos,m+p+Math.floor(r/2));break;case"justify":for(i=Math.floor((m+r)/g),o=i*g-r,l=t.length-1;l;)s=t[l],a=i,o&&(a++,o++),c=getComputedStyle(s,f.props.pos,TRUE)+a,appendPixelValue(s,f.props.pos,c),l--}e.style.overflow=""}},setup:function(e,t,n){var r,i,a,o,s=this;if(e&&t&&n)if(SUPPORT&&SUPPORT.partialSupport)r=createMatchMatrix(n.children,t,NULL),i=parentFlex(e),t=sanitizeChildren(e,e.childNodes),s.properties.boxOrient.call(s,e,t,n),r.total&&LIBRARY(n.nested).length||("stretch"!==n.align||SUPPORT.boxAlignStretch||i.nested&&i.flex||s.properties.boxAlign.call(s,e,t,n),"justify"!==n.pack||SUPPORT.boxPackJustify||r.total||s.properties.boxPack.call(s,e,t,n));else if(!SUPPORT)for(a in s.properties)s.properties.hasOwnProperty(a)&&(o=s.properties[a],o.call(s,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):!1},bubbleUp:function(e,t){for(var n,r=this,i=t.target.parentNode;i;)n=FLEX_BOXES[i.FLX_DOM_ID],n&&(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&&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&&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,o;if(n=function(e){for(e.target.FLX_DOM_ID=NULL,e.target.style.cssText=EMPTY_STRING,r=0,i=e.children.length;i>r;r++)a=e.children[r],a.match.style.cssText=EMPTY_STRING},e)t=FLEX_BOXES[e.FLX_DOM_ID],t&&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,a={},o=100,s=doc.createElement("flxbox"),l='<b style="margin: 0; padding: 0; display:block; width: 10px; height:'+o/2+'px"></b>';s.style.width=s.style.height=o+"px",s.innerHTML=l+l+l,appendProperty(s,"display","box",NULL),appendProperty(s,"box-align","stretch",TRUE),appendProperty(s,"box-pack","justify",TRUE),doc.body.appendChild(s),e=s.firstChild.offsetHeight,t={boxAlignStretch:function(){return 100===e},boxPackJustify:function(){var e,t,n=0;for(e=0,t=s.childNodes.length;t>e;e++)n+=s.childNodes[e].offsetLeft;return 135===n}};for(r in t)t.hasOwnProperty(r)&&(i=t[r],n=i(),n||(a.partialSupport=TRUE),a[r]=n);return doc.body.removeChild(s),~s.style.display.indexOf("box")?a: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(e){function t(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function n(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 r(e){for(b in E)E[b]=e[M[b]]}function i(e){var n,i,a,o,l,u;if(n=e.keyCode,-1==t(N,n)&&N.push(n),(93==n||224==n)&&(n=91),n in E){E[n]=!0;for(a in D)D[a]==n&&(s[a]=!0)}else if(r(e),s.filter.call(this,e)&&n in T)for(u=h(),o=0;o<T[n].length;o++)if(i=T[n][o],i.scope==u||"all"==i.scope){l=i.mods.length>0;for(a in E)(!E[a]&&t(i.mods,+a)>-1||E[a]&&-1==t(i.mods,+a))&&(l=!1);(0!=i.mods.length||E[16]||E[18]||E[17]||E[91])&&!l||i.method(e,i)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function a(e){var n,r=e.keyCode,i=t(N,r);if(i>=0&&N.splice(i,1),(93==r||224==r)&&(r=91),r in E){E[r]=!1;for(n in D)D[n]==r&&(s[n]=!1)}}function o(){for(b in E)E[b]=!1;for(b in D)s[b]=!1}function s(e,t,n){var r,i;r=m(e),void 0===n&&(n=t,t="all");for(var a=0;a<r.length;a++)i=[],e=r[a].split("+"),e.length>1&&(i=g(e),e=[e[e.length-1]]),e=e[0],e=w(e),e in T||(T[e]=[]),T[e].push({shortcut:r[a],scope:t,method:n,key:r[a],mods:i})}function l(e,t){var r,i,a,o,s,l=[];for(r=m(e),o=0;o<r.length;o++){if(i=r[o].split("+"),i.length>1&&(l=g(i),e=i[i.length-1]),e=w(e),void 0===t&&(t=h()),!T[e])return;for(a=0;a<T[e].length;a++)s=T[e][a],s.scope===t&&n(s.mods,l)&&(T[e][a]={})}}function u(e){return"string"==typeof e&&(e=w(e)),-1!=t(N,e)}function c(){return N.slice(0)}function d(e){var t=(e.target||e.srcElement).tagName;return!("INPUT"==t||"SELECT"==t||"TEXTAREA"==t)}function f(e){x=e||"all"}function h(){return x||"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 e=e.replace(/\s/g,""),t=e.split(","),""==t[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 t=e.key;return e.key=L,t}var b,T={},E={16:!1,18:!1,17:!1,91:!1},x="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;20>b;b++)S["f"+b]=111+b;var M={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey"};for(b in D)s[b]=!1;y(document,"keydown",function(e){i(e)}),y(document,"keyup",a),y(window,"focus",o);var L=e.key;e.key=s,e.key.setScope=f,e.key.getScope=h,e.key.deleteScope=p,e.key.filter=d,e.key.isPressed=u,e.key.getPressedKeyCodes=c,e.key.noConflict=v,e.key.unbind=l,"undefined"!=typeof module&&(module.exports=key)}(this),function(){var e,t=function(e,t){return function(){return e.apply(t,arguments)}};jQuery.expr[":"].icontains=function(e,t,n){var r,i;return(null!=(r=null!=(i=e.textContent)?i:e.innerText)?r:"").toUpperCase().indexOf(n[3].toUpperCase())>=0},e=function(){function e(){this.nextTab=t(this.nextTab,this),this.previousTab=t(this.previousTab,this),this.openTab=t(this.openTab,this),this.selectedTab=t(this.selectedTab,this),this.getTab=t(this.getTab,this),$("#messages tr").live("click",function(e){return function(t){return t.preventDefault(),e.loadMessage($(t.currentTarget).attr("data-message-id"))}}(this)),$("input[name=search]").keyup(function(e){return function(t){var n;return n=$.trim($(t.currentTarget).val()),n?e.searchMessages(n):e.clearSearch()}}(this)),$("#message .views .format.tab a").live("click",function(e){return function(t){return t.preventDefault(),e.loadMessageBody(e.selectedMessage(),$($(t.currentTarget).parent("li")).data("message-format"))}}(this)),$("#message iframe").load(function(e){return function(){return e.decorateMessageBody()}}(this)),$("#resizer").live({mousedown:function(e){return function(t){var n;return t.preventDefault(),$(window).bind(n={mouseup:function(e){return e.preventDefault(),$(window).unbind(n)},mousemove:function(t){return t.preventDefault(),e.resizeTo(t.clientY)}})}}(this)}),this.resizeToSaved(),$("nav.app .clear a").live("click",function(e){return function(t){return t.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to clear all messages?")?$.ajax({url:"/messages",type:"DELETE",success:function(){return e.unselectMessage(),e.updateMessagesCount()},error:function(){return alert("Error while clearing all messages.")}}):void 0}}(this)),$("nav.app .quit a").live("click",function(){return function(e){return e.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to quit?")?$.ajax({type:"DELETE",success:function(){return location.replace($("body > header h1 a").attr("href"))},error:function(){return alert("Error while quitting.")}}):void 0}}(this)),this.favcount=new Favcount($('link[rel="icon"]').attr("href")),key("up",function(e){return function(){return e.loadMessage(e.selectedMessage()?$("#messages tr.selected").prev().data("message-id"):$("#messages tbody tr[data-message-id]:first").data("message-id")),!1}}(this)),key("down",function(e){return function(){return e.loadMessage(e.selectedMessage()?$("#messages tr.selected").next().data("message-id"):$("#messages tbody tr[data-message-id]:first").data("message-id")),!1}}(this)),key("\u2318+up, ctrl+up",function(e){return function(){return e.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id")),!1}}(this)),key("\u2318+down, ctrl+down",function(e){return function(){return e.loadMessage($("#messages tbody tr[data-message-id]:last").data("message-id")),!1}}(this)),key("left",function(e){return function(){return e.openTab(e.previousTab()),!1
|
5
|
+
}}(this)),key("right",function(e){return function(){return e.openTab(e.nextTab()),!1}}(this)),key("backspace, delete",function(e){return function(){var t;return t=e.selectedMessage(),null!=t&&$.ajax({url:"/messages/"+t,type:"DELETE",success:function(){var n,r;return n=$('#messages tbody tr[data-message-id="'+t+'"]'),r=n.next().data("message-id")||n.prev().data("message-id"),n.remove(),r?e.loadMessage(r):e.unselectMessage(),e.updateMessagesCount()},error:function(){return alert("Error while removing message.")}}),!1}}(this)),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;return(t=this.parseDateRegexp.exec(e))?new Date(t[1],t[2]-1,t[3],t[4],t[5],t[6],0):void 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=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())},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&&(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?e:this.selectedTab()+1,t>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),$('#messages tbody tr[data-message-id="'+e+'"]').length>0},e.prototype.selectedMessage=function(){return $("#messages tr.selected").data("message-id")},e.prototype.searchMessages=function(e){var t,n,r;return n=function(){var t,n,i,a;for(i=e.split(/\s+/),a=[],t=0,n=i.length;n>t;t++)r=i[t],a.push(":icontains('"+r+"')");return a}().join(""),t=$("#messages tbody tr"),t.not(n).hide(),t.filter(n).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>n?$("#messages").scrollTop($("#messages").scrollTop()+n-20):(t=n+e.height()-$("#messages").height(),t>0?$("#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(e){var t;return null!=(null!=e?e.id:void 0)&&(e=e.id),e||(e=$("#messages tr.selected").attr("data-message-id")),null!=e?($("#messages tbody tr:not([data-message-id='"+e+"'])").removeClass("selected"),t=$("#messages tbody tr[data-message-id='"+e+"']"),t.addClass("selected"),this.scrollToRow(t),$.getJSON("/messages/"+e+".json",function(t){return function(n){var r;return $("#message .metadata dd.created_at").text(t.formatDate(n.created_at)),$("#message .metadata dd.from").text(n.sender),$("#message .metadata dd.to").text((n.recipients||[]).join(", ")),$("#message .metadata dd.subject").text(n.subject),$("#message .views .tab.format").each(function(t,r){var i,a;return i=$(r),a=i.attr("data-message-format"),$.inArray(a,n.formats)>=0?(i.find("a").attr("href","/messages/"+e+"."+a),i.show()):i.hide()}),$("#message .views .tab.selected:not(:visible)").length&&($("#message .views .tab.selected").removeClass("selected"),$("#message .views .tab:visible:first").addClass("selected")),n.attachments.length?(r=$("<ul/>").appendTo($("#message .metadata dd.attachments").empty()),$.each(n.attachments,function(e,t){return r.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/"+e+".eml"),t.loadMessageBody()}}(this))):void 0},e.prototype.loadMessageBody=function(e,t){return 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?$("#message iframe").attr("src","/messages/"+e+"."+t):void 0},e.prototype.decorateMessageBody=function(){var e,t,n,r,i;switch(t=$("#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 r=$("#message iframe").contents(),n=r.find("html"),i=n.html(),i=i.replace(/((http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?)/g,'<a href="$1" target="_blank">$1</a>'),n.html(i)}},e.prototype.refresh=function(){return $.getJSON("/messages",function(e){return function(t){return $.each(t,function(t,n){return e.haveMessage(n)?void 0:e.addMessage(n)}),e.updateMessagesCount()}}(this))},e.prototype.subscribe=function(){return"undefined"!=typeof WebSocket&&null!==WebSocket?this.subscribeWebSocket():this.subscribePoll()},e.prototype.subscribeWebSocket=function(){var e,t;return t="https:"===window.location.protocol,e=t?"wss":"ws",this.websocket=new WebSocket(""+e+"://"+window.location.host+"/messages"),this.websocket.onmessage=function(e){return function(t){return e.addMessage($.parseJSON(t.data))}}(this)},e.prototype.subscribePoll=function(){return null==this.refreshInterval?this.refreshInterval=setInterval(function(e){return function(){return e.refresh()}}(this),1e3):void 0},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;return e=parseInt(null!=(t=window.localStorage)?t.getItem(this.resizeToSavedKey):void 0),isNaN(e)?void 0:this.resizeTo(e)},e}(),$(function(){return window.MailCatcher=new e})}.call(this);
|
data/views/index.erb
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
<ul>
|
14
14
|
<li class="search"><input type="search" name="search" placeholder="Search messages..." incremental="true" /></li>
|
15
15
|
<li class="clear"><a href="#" title="Clear all messages">Clear</a></li>
|
16
|
-
<%
|
16
|
+
<% if MailCatcher.quittable? %>
|
17
17
|
<li class="quit"><a href="#" title="Quit MailCatcher">Quit</a></li>
|
18
18
|
<% end %>
|
19
19
|
</ul>
|
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.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Cochran
|
@@ -10,9 +10,9 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDKDCCAhCgAwIBAgIBAzANBgkqhkiG9w0BAQUFADA6MQ0wCwYDVQQDDARzajI2
|
14
14
|
MRQwEgYKCZImiZPyLGQBGRYEc2oyNjETMBEGCgmSJomT8ixkARkWA2NvbTAeFw0x
|
15
|
-
|
15
|
+
NTAzMTcyMjUwMjZaFw0xNjAzMTYyMjUwMjZaMDoxDTALBgNVBAMMBHNqMjYxFDAS
|
16
16
|
BgoJkiaJk/IsZAEZFgRzajI2MRMwEQYKCZImiZPyLGQBGRYDY29tMIIBIjANBgkq
|
17
17
|
hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsr60Eo/ttCk8GMTMFiPr3GoYMIMFvLak
|
18
18
|
xSmTk9YGCB6UiEePB4THSSA5w6IPyeaCF/nWkDp3/BAam0eZMWG1IzYQB23TqIM0
|
@@ -21,14 +21,14 @@ cert_chain:
|
|
21
21
|
4O/FL2ChjL2CPCpLZW55ShYyrzphWJwLOJe+FJ/ZBl6YXwrzQM9HKnt4titSNvyU
|
22
22
|
KzE3L63A3PZvExzLrN9u09kuWLLJfXB2sGOlw3n9t72rJiuBr3/OQQIDAQABozkw
|
23
23
|
NzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU99dfRjEKFyczTeIz
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
m3ZsDWrNC80wDQYJKoZIhvcNAQEFBQADggEBAFxKLjiLkMLkUmdpsAzJad/t7Jo/
|
25
|
+
CGby/3n0WSXPBeZJfsnSdJ2qtG7iy/xqYDc1RjpKgX0RlMgeQRSE3ZDL/HZzBKDF
|
26
|
+
azaTgG9Zk1Quu59/79Z0Sltq07Z/IeccFl5j9M+1YS8VY2mOPi9g03OoOSRmhsMS
|
27
|
+
wpEF+zvJ0ESS5OPjtp6Sk4q1QYc0aVIthEznuVNMW6CPpTNhMAOFMaTC5AXCzJ3Q
|
28
|
+
52G9HuhbVSTgE/I10H9qZBOE3qdP8ka/Fk0PUrux/DuUanNZgSKJokrQvRA4H9Au
|
29
|
+
WpPA7HJYV6msWQiukoBEhfQ2l6Fl2HUwntvX3MCcFNHeJJ5ETERp9alo88E=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2015-
|
31
|
+
date: 2015-12-15 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: activesupport
|
@@ -54,22 +54,16 @@ dependencies:
|
|
54
54
|
name: eventmachine
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: 1.0.0
|
60
|
-
- - "<="
|
57
|
+
- - '='
|
61
58
|
- !ruby/object:Gem::Version
|
62
|
-
version: 1.0.
|
59
|
+
version: 1.0.8
|
63
60
|
type: :runtime
|
64
61
|
prerelease: false
|
65
62
|
version_requirements: !ruby/object:Gem::Requirement
|
66
63
|
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 1.0.0
|
70
|
-
- - "<="
|
64
|
+
- - '='
|
71
65
|
- !ruby/object:Gem::Version
|
72
|
-
version: 1.0.
|
66
|
+
version: 1.0.8
|
73
67
|
- !ruby/object:Gem::Dependency
|
74
68
|
name: mail
|
75
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -340,7 +334,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
340
334
|
requirements:
|
341
335
|
- - ">="
|
342
336
|
- !ruby/object:Gem::Version
|
343
|
-
version: 1.
|
337
|
+
version: 1.9.3
|
344
338
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
345
339
|
requirements:
|
346
340
|
- - ">="
|
@@ -348,9 +342,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
348
342
|
version: '0'
|
349
343
|
requirements: []
|
350
344
|
rubyforge_project:
|
351
|
-
rubygems_version: 2.
|
345
|
+
rubygems_version: 2.4.5.1
|
352
346
|
signing_key:
|
353
347
|
specification_version: 4
|
354
348
|
summary: Runs an SMTP server, catches and displays email in a web interface.
|
355
349
|
test_files: []
|
356
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED