/**
shorten-node - masterclean

JavaScript minified on Tuesday, June 9th, 2020, 11:38:05 AM
**/

function isURL(e){var t=$("html").data("domain");if(!1!==new RegExp("^http://"+t+"/[a-zA-Z0-9]+$").test(e))return!1;return/^(https?):\/\/((?:[a-z0-9.-]|%[0-9A-F]{2}){3,})(?::(\d+))?((?:\/(?:[a-z0-9-._~!$&'()*+,;=:@]|%[0-9A-F]{2})*)*)(?:\?((?:[a-z0-9-._~!$&'()*+,;=:\/?@]|%[0-9A-F]{2})*))?(?:#((?:[a-z0-9-._~!$&'()*+,;=:\/?@]|%[0-9A-F]{2})*))?$/i.test(e)}!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClipboardJS=t():e.ClipboardJS=t()}(this,function(){return i={},r.m=n=[function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var i=window.getSelection(),r=document.createRange();r.selectNodeContents(e),i.removeAllRanges(),i.addRange(r),t=i.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var i=this;function r(){i.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),i=0,r=n.length;i<r;i++)n[i].fn.apply(n[i].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),i=n[e],r=[];if(i&&t)for(var o=0,a=i.length;o<a;o++)i[o].fn!==t&&i[o].fn._!==t&&r.push(i[o]);return r.length?n[e]=r:delete n[e],this}},e.exports=n,e.exports.TinyEmitter=n},function(e,t,n){var d=n(3),p=n(4);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!d.string(t))throw new TypeError("Second argument must be a String");if(!d.fn(n))throw new TypeError("Third argument must be a Function");if(d.node(e))return c=t,f=n,(u=e).addEventListener(c,f),{destroy:function(){u.removeEventListener(c,f)}};if(d.nodeList(e))return a=e,s=t,l=n,Array.prototype.forEach.call(a,function(e){e.addEventListener(s,l)}),{destroy:function(){Array.prototype.forEach.call(a,function(e){e.removeEventListener(s,l)})}};if(d.string(e))return i=e,r=t,o=n,p(document.body,i,r,o);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var i,r,o,a,s,l,u,c,f}},function(e,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var a=n(5);function o(e,t,n,i,r){var o=function(t,n,e,i){return function(e){e.delegateTarget=a(e.target,n),e.delegateTarget&&i.call(t,e)}}.apply(this,arguments);return e.addEventListener(n,o,r),{destroy:function(){e.removeEventListener(n,o,r)}}}e.exports=function(e,t,n,i,r){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return o(e,t,n,i,r)}))}},function(e,t){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,n){"use strict";n.r(t);var i=n(0),r=n.n(i),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),this.resolveOptions(e),this.initSelection()}var l=(function(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}(s,[{key:"resolveOptions",value:function(e){var t=0<arguments.length&&void 0!==e?e:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=r()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=r()(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(e){var t=0<arguments.length&&void 0!==e?e:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),s),u=n(1),c=n.n(u),f=n(2),d=n.n(f),p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=function(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),e};function m(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var y=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(g,c.a),h(g,[{key:"resolveOptions",value:function(e){var t=0<arguments.length&&void 0!==e?e:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===p(t.container)?t.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=d()(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return v("action",e)}},{key:"defaultTarget",value:function(e){var t=v("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return v("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(e){var t=0<arguments.length&&void 0!==e?e:["copy","cut"],n="string"==typeof t?[t]:t,i=!!document.queryCommandSupported;return n.forEach(function(e){i=i&&!!document.queryCommandSupported(e)}),i}}]),g);function g(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(g.__proto__||Object.getPrototypeOf(g)).call(this));return n.resolveOptions(t),n.listenClick(e),n}function v(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}t.default=y}],r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6).default;function r(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,i}),function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(h,e){function t(e,t){return t.toUpperCase()}var f=[],c=f.slice,m=f.concat,s=f.push,r=f.indexOf,n={},i=n.toString,y=n.hasOwnProperty,g={},T=function(e,t){return new T.fn.init(e,t)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,a=/^-ms-/,l=/-([\da-z])/gi;function u(e){var t=e.length,n=T.type(e);return"function"!==n&&!T.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e))}T.fn=T.prototype={jquery:"1.11.1",constructor:T,selector:"",length:0,toArray:function(){return c.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:c.call(this)},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return T.each(this,e,t)},map:function(n){return this.pushStack(T.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:s,sort:f.sort,splice:f.splice},T.extend=T.fn.extend=function(){var e,t,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||T.isFunction(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(r=arguments[s]))for(i in r)e=a[i],a!==(n=r[i])&&(u&&n&&(T.isPlainObject(n)||(t=T.isArray(n)))?(o=t?(t=!1,e&&T.isArray(e)?e:[]):e&&T.isPlainObject(e)?e:{},a[i]=T.extend(u,o,n)):void 0!==n&&(a[i]=n));return a},T.extend({expando:"jQuery"+("1.11.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===T.type(e)},isArray:Array.isArray||function(e){return"array"===T.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!T.isArray(e)&&0<=e-parseFloat(e)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==T.type(e)||e.nodeType||T.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(g.ownLast)for(t in e)return y.call(e,t);for(t in e);return void 0===t||y.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e},globalEval:function(e){e&&T.trim(e)&&(h.execScript||function(e){h.eval.call(h,e)})(e)},camelCase:function(e){return e.replace(a,"ms-").replace(l,t)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var i=0,r=e.length,o=u(e);if(n){if(o)for(;i<r&&!1!==t.apply(e[i],n);i++);else for(i in e)if(!1===t.apply(e[i],n))break}else if(o)for(;i<r&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(o,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(u(Object(e))?T.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){var i;if(t){if(r)return r.call(t,e,n);for(i=t.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;)e[r++]=t[i++];if(n!=n)for(;void 0!==t[i];)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,a=!n;r<o;r++)!t(e[r],r)!=a&&i.push(e[r]);return i},map:function(e,t,n){var i,r=0,o=e.length,a=[];if(u(e))for(;r<o;r++)null!=(i=t(e[r],r,n))&&a.push(i);else for(r in e)null!=(i=t(e[r],r,n))&&a.push(i);return m.apply([],a)},guid:1,proxy:function(e,t){var n,i,r;if("string"==typeof t&&(r=e[t],t=e,e=r),T.isFunction(e))return n=c.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(c.call(arguments)))}).guid=e.guid=e.guid||T.guid++,i},now:function(){return+new Date},support:g}),T.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){function f(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)}var e,h,x,o,i,m,d,y,w,u,c,g,k,r,v,b,a,s,T,C="sizzle"+-new Date,E=n.document,S=0,p=0,l=re(),N=re(),A=re(),L=function(e,t){return e===t&&(c=!0),0},j="undefined",D={}.hasOwnProperty,t=[],O=t.pop,H=t.push,$=t.push,_=t.slice,M=t.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",q="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",B=F.replace("w","w#"),P="\\["+q+"*("+F+")(?:"+q+"*([*^$|!~]?=)"+q+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+q+"*\\]",I=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",W=new RegExp("^"+q+"+|((?:^|[^\\\\])(?:\\\\.)*)"+q+"+$","g"),z=new RegExp("^"+q+"*,"+q+"*"),U=new RegExp("^"+q+"*([>+~]|"+q+")"+q+"*"),X=new RegExp("="+q+"*([^\\]'\"]*?)"+q+"*\\]","g"),V=new RegExp(I),J=new RegExp("^"+B+"$"),Y={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+q+"*(even|odd|(([+-]|)(\\d*)n|)"+q+"*(?:([+-]|)"+q+"*(\\d+)|))"+q+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+q+"*((?:-\\d)?\\d*)"+q+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+q+"?|("+q+")|.)","ig");try{$.apply(t=_.call(E.childNodes),E.childNodes),t[E.childNodes.length].nodeType}catch(e){$={apply:t.length?function(e,t){H.apply(e,_.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ie(e,t,n,i){var r,o,a,s,l,u,c,f,d,p;if((t?t.ownerDocument||t:E)!==k&&g(t),n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=(t=t||k).nodeType)&&9!==s)return[];if(v&&!i){if(r=Z.exec(e))if(a=r[1]){if(9===s){if(!(o=t.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&T(t,o)&&o.id===a)return n.push(o),n}else{if(r[2])return $.apply(n,t.getElementsByTagName(e)),n;if((a=r[3])&&h.getElementsByClassName&&t.getElementsByClassName)return $.apply(n,t.getElementsByClassName(a)),n}if(h.qsa&&(!b||!b.test(e))){if(f=c=C,d=t,p=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=m(e),(c=t.getAttribute("id"))?f=c.replace(te,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+he(u[l]);d=ee.test(e)&&de(t.parentNode)||t,p=u.join(",")}if(p)try{return $.apply(n,d.querySelectorAll(p)),n}catch(e){}finally{c||t.removeAttribute("id")}}}return y(e.replace(W,"$1"),t,n,i)}function re(){var n=[];function i(e,t){return n.push(e+" ")>x.cacheLength&&delete i[n.shift()],i[e+" "]=t}return i}function oe(e){return e[C]=!0,e}function ae(e){var t=k.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function se(e,t){for(var n=e.split("|"),i=e.length;i--;)x.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ue(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ce(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function fe(a){return oe(function(o){return o=+o,oe(function(e,t){for(var n,i=a([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function de(e){return e&&typeof e.getElementsByTagName!==j&&e}for(e in h=ie.support={},i=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},g=ie.setDocument=function(e){var t,l=e?e.ownerDocument||e:E,n=l.defaultView;return l!==k&&9===l.nodeType&&l.documentElement?(r=(k=l).documentElement,v=!i(l),n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",function(){g()},!1):n.attachEvent&&n.attachEvent("onunload",function(){g()})),h.attributes=ae(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=ae(function(e){return e.appendChild(l.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=K.test(l.getElementsByClassName)&&ae(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),h.getById=ae(function(e){return r.appendChild(e).id=C,!l.getElementsByName||!l.getElementsByName(C).length}),h.getById?(x.find.ID=function(e,t){if(typeof t.getElementById!==j&&v){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},x.filter.ID=function(e){var t=e.replace(ne,f);return function(e){return e.getAttribute("id")===t}}):(delete x.find.ID,x.filter.ID=function(e){var n=e.replace(ne,f);return function(e){var t=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return t&&t.value===n}}),x.find.TAG=h.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==j)return t.getElementsByTagName(e)}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},x.find.CLASS=h.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==j&&v)return t.getElementsByClassName(e)},a=[],b=[],(h.qsa=K.test(l.querySelectorAll))&&(ae(function(e){e.innerHTML="<select msallowclip=''><option selected=''></option></select>",e.querySelectorAll("[msallowclip^='']").length&&b.push("[*^$]="+q+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||b.push("\\["+q+"*(?:value|"+R+")"),e.querySelectorAll(":checked").length||b.push(":checked")}),ae(function(e){var t=l.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&b.push("name"+q+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||b.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),b.push(",.*:")})),(h.matchesSelector=K.test(s=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.oMatchesSelector||r.msMatchesSelector))&&ae(function(e){h.disconnectedMatch=s.call(e,"div"),s.call(e,"[s!='']:x"),a.push("!=",I)}),b=b.length&&new RegExp(b.join("|")),a=a.length&&new RegExp(a.join("|")),t=K.test(r.compareDocumentPosition),T=t||K.test(r.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},L=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument===E&&T(E,e)?-1:t===l||t.ownerDocument===E&&T(E,t)?1:u?M.call(u,e)-M.call(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e===l?-1:t===l?1:r?-1:o?1:u?M.call(u,e)-M.call(u,t):0;if(r===o)return le(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?le(a[i],s[i]):a[i]===E?-1:s[i]===E?1:0},l):k},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==k&&g(e),t=t.replace(X,"='$1']"),h.matchesSelector&&v&&(!a||!a.test(t))&&(!b||!b.test(t)))try{var n=s.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<ie(t,k,null,[e]).length},ie.contains=function(e,t){return(e.ownerDocument||e)!==k&&g(e),T(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==k&&g(e);var n=x.attrHandle[t.toLowerCase()],i=n&&D.call(x.attrHandle,t.toLowerCase())?n(e,t,!v):void 0;return void 0!==i?i:h.attributes||!v?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,n=[],i=0,r=0;if(c=!h.detectDuplicates,u=!h.sortStable&&e.slice(0),e.sort(L),c){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return u=null,e},o=ie.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(x=ie.selectors={cacheLength:50,createPseudo:oe,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,f),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=m(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=l[e+" "];return t||(t=new RegExp("(^|"+q+")"+e+"("+q+"|$)"))&&l(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(e){var t=ie.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===r:"!="===i?t!==r:"^="===i?r&&0===t.indexOf(r):"*="===i?r&&-1<t.indexOf(r):"$="===i?r&&t.slice(-r.length)===r:"~="===i?-1<(" "+t+" ").indexOf(r):"|="===i&&(t===r||t.slice(0,r.length+1)===r+"-"))}},CHILD:function(p,e,t,h,m){var y="nth"!==p.slice(0,3),g="last"!==p.slice(-4),v="of-type"===e;return 1===h&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,a,s,l,u=y!=g?"nextSibling":"previousSibling",c=e.parentNode,f=v&&e.nodeName.toLowerCase(),d=!n&&!v;if(c){if(y){for(;u;){for(o=e;o=o[u];)if(v?o.nodeName.toLowerCase()===f:1===o.nodeType)return!1;l=u="only"===p&&!l&&"nextSibling"}return!0}if(l=[g?c.firstChild:c.lastChild],g&&d){for(s=(i=(r=c[C]||(c[C]={}))[p]||[])[0]===S&&i[1],a=i[0]===S&&i[2],o=s&&c.childNodes[s];o=++s&&o&&o[u]||(a=s=0)||l.pop();)if(1===o.nodeType&&++a&&o===e){r[p]=[S,s,a];break}}else if(d&&(i=(e[C]||(e[C]={}))[p])&&i[0]===S)a=i[1];else for(;(o=++s&&o&&o[u]||(a=s=0)||l.pop())&&((v?o.nodeName.toLowerCase()!==f:1!==o.nodeType)||!++a||(d&&((o[C]||(o[C]={}))[p]=[S,a]),o!==e)););return(a-=m)===h||a%h==0&&0<=a/h}}},PSEUDO:function(e,o){var t,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return a[C]?a(o):1<a.length?(t=[e,e,"",o],x.setFilters.hasOwnProperty(e.toLowerCase())?oe(function(e,t){for(var n,i=a(e,o),r=i.length;r--;)e[n=M.call(e,i[r])]=!(t[n]=i[r])}):function(e){return a(e,0,t)}):a}},pseudos:{not:oe(function(e){var i=[],r=[],s=d(e.replace(W,"$1"));return s[C]?oe(function(e,t,n,i){for(var r,o=s(e,null,i,[]),a=e.length;a--;)(r=o[a])&&(e[a]=!(t[a]=r))}):function(e,t,n){return i[0]=e,s(i,null,n,r),!r.pop()}}),has:oe(function(t){return function(e){return 0<ie(t,e).length}}),contains:oe(function(t){return function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:oe(function(n){return J.test(n||"")||ie.error("unsupported lang: "+n),n=n.replace(ne,f).toLowerCase(),function(e){var t;do{if(t=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,n){return[n<0?n+t:n]}),even:fe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:fe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:fe(function(e,t,n){for(var i=n<0?n+t:n;0<=--i;)e.push(i);return e}),gt:fe(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[e]=ue(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=ce(e);function pe(){}function he(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function me(a,e,t){var s=e.dir,l=t&&"parentNode"===s,u=p++;return e.first?function(e,t,n){for(;e=e[s];)if(1===e.nodeType||l)return a(e,t,n)}:function(e,t,n){var i,r,o=[S,u];if(n){for(;e=e[s];)if((1===e.nodeType||l)&&a(e,t,n))return!0}else for(;e=e[s];)if(1===e.nodeType||l){if((i=(r=e[C]||(e[C]={}))[s])&&i[0]===S&&i[1]===u)return o[2]=i[2];if((r[s]=o)[2]=a(e,t,n))return!0}}}function ye(r){return 1<r.length?function(e,t,n){for(var i=r.length;i--;)if(!r[i](e,t,n))return!1;return!0}:r[0]}function ge(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,i,r)||(a.push(o),u&&t.push(s)));return a}function ve(p,h,m,y,g,e){return y&&!y[C]&&(y=ve(y)),g&&!g[C]&&(g=ve(g,e)),oe(function(e,t,n,i){var r,o,a,s=[],l=[],u=t.length,c=e||function(e,t,n){for(var i=0,r=t.length;i<r;i++)ie(e,t[i],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!p||!e&&h?c:ge(c,s,p,n,i),d=m?g||(e?p:u||y)?[]:t:f;if(m&&m(f,d,n,i),y)for(r=ge(d,l),y(r,[],n,i),o=r.length;o--;)(a=r[o])&&(d[l[o]]=!(f[l[o]]=a));if(e){if(g||p){if(g){for(r=[],o=d.length;o--;)(a=d[o])&&r.push(f[o]=a);g(null,d=[],r,i)}for(o=d.length;o--;)(a=d[o])&&-1<(r=g?M.call(e,a):s[o])&&(e[r]=!(t[r]=a))}}else d=ge(d===t?d.splice(u,d.length):d),g?g(null,t,d,i):$.apply(t,d)})}function be(e){for(var i,t,n,r=e.length,o=x.relative[e[0].type],a=o||x.relative[" "],s=o?1:0,l=me(function(e){return e===i},a,!0),u=me(function(e){return-1<M.call(i,e)},a,!0),c=[function(e,t,n){return!o&&(n||t!==w)||((i=t).nodeType?l:u)(e,t,n)}];s<r;s++)if(t=x.relative[e[s].type])c=[me(ye(c),t)];else{if((t=x.filter[e[s].type].apply(null,e[s].matches))[C]){for(n=++s;n<r&&!x.relative[e[n].type];n++);return ve(1<s&&ye(c),1<s&&he(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(W,"$1"),t,s<n&&be(e.slice(s,n)),n<r&&be(e=e.slice(n)),n<r&&he(e))}c.push(t)}return ye(c)}function xe(y,g){function e(e,t,n,i,r){var o,a,s,l=0,u="0",c=e&&[],f=[],d=w,p=e||b&&x.find.TAG("*",r),h=S+=null==d?1:Math.random()||.1,m=p.length;for(r&&(w=t!==k&&t);u!==m&&null!=(o=p[u]);u++){if(b&&o){for(a=0;s=y[a++];)if(s(o,t,n)){i.push(o);break}r&&(S=h)}v&&((o=!s&&o)&&l--,e&&c.push(o))}if(l+=u,v&&u!==l){for(a=0;s=g[a++];)s(c,f,t,n);if(e){if(0<l)for(;u--;)c[u]||f[u]||(f[u]=O.call(i));f=ge(f)}$.apply(i,f),r&&!e&&0<f.length&&1<l+g.length&&ie.uniqueSort(i)}return r&&(S=h,w=d),c}var v=0<g.length,b=0<y.length;return v?oe(e):e}return pe.prototype=x.filters=x.pseudos,x.setFilters=new pe,m=ie.tokenize=function(e,t){var n,i,r,o,a,s,l,u=N[e+" "];if(u)return t?0:u.slice(0);for(a=e,s=[],l=x.preFilter;a;){for(o in n&&!(i=z.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(r=[])),n=!1,(i=U.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(W," ")}),a=a.slice(n.length)),x.filter)!(i=Y[o].exec(a))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ie.error(e):N(e,s).slice(0)},d=ie.compile=function(e,t){var n,i=[],r=[],o=A[e+" "];if(!o){for(n=(t=t||m(e)).length;n--;)(o=be(t[n]))[C]?i.push(o):r.push(o);(o=A(e,xe(r,i))).selector=e}return o},y=ie.select=function(e,t,n,i){var r,o,a,s,l,u="function"==typeof e&&e,c=!i&&m(e=u.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&h.getById&&9===t.nodeType&&v&&x.relative[o[1].type]){if(!(t=(x.find.ID(a.matches[0].replace(ne,f),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=Y.needsContext.test(e)?0:o.length;r--&&(a=o[r],!x.relative[s=a.type]);)if((l=x.find[s])&&(i=l(a.matches[0].replace(ne,f),ee.test(o[0].type)&&de(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&he(o)))return $.apply(n,i),n;break}}return(u||d(e,c))(i,t,!v,n,ee.test(e)&&de(t.parentNode)||t),n},h.sortStable=C.split("").sort(L).join("")===C,h.detectDuplicates=!!c,g(),h.sortDetached=ae(function(e){return 1&e.compareDocumentPosition(k.createElement("div"))}),ae(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||se("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&ae(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||se("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ae(function(e){return null==e.getAttribute("disabled")})||se(R,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),ie}(h);T.find=d,T.expr=d.selectors,T.expr[":"]=T.expr.pseudos,T.unique=d.uniqueSort,T.text=d.getText,T.isXMLDoc=d.isXML,T.contains=d.contains;var p=T.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,b=/^.[^:#\[\.,]*$/;function x(e,n,i){if(T.isFunction(n))return T.grep(e,function(e,t){return!!n.call(e,t,e)!==i});if(n.nodeType)return T.grep(e,function(e){return e===n!==i});if("string"==typeof n){if(b.test(n))return T.filter(n,e,i);n=T.filter(n,e)}return T.grep(e,function(e){return 0<=T.inArray(e,n)!==i})}T.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?T.find.matchesSelector(i,e)?[i]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<r;t++)if(T.contains(i[t],this))return!0}));for(t=0;t<r;t++)T.find(e,i[t],n);return(n=this.pushStack(1<r?T.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(x(this,e||[],!1))},not:function(e){return this.pushStack(x(this,e||[],!0))},is:function(e){return!!x(this,"string"==typeof e&&p.test(e)?T(e):e||[],!1).length}});var w,k=h.document,C=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(T.fn.init=function(e,t){var n,i;if(!e)return this;if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):T.isFunction(e)?void 0!==w.ready?w.ready(e):e(T):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),T.makeArray(e,this));if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:C.exec(e))||!n[1]&&t)return!t||t.jquery?(t||w).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:k,!0)),v.test(n[1])&&T.isPlainObject(t))for(n in t)T.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((i=k.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return w.find(e);this.length=1,this[0]=i}return this.context=k,this.selector=e,this}).prototype=T.fn,w=T(k);var E=/^(?:parents|prev(?:Until|All))/,S={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.extend({dir:function(e,t,n){for(var i=[],r=e[t];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!T(r).is(n));)1===r.nodeType&&i.push(r),r=r[t];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),T.fn.extend({has:function(e){var t,n=T(e,this),i=n.length;return this.filter(function(){for(t=0;t<i;t++)if(T.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,r=this.length,o=[],a=p.test(e)||"string"!=typeof e?T(e,t||this.context):0;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&T.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?T.unique(o):o)},index:function(e){return e?"string"==typeof e?T.inArray(this[0],T(e)):T.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.unique(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T.dir(e,"parentNode")},parentsUntil:function(e,t,n){return T.dir(e,"parentNode",n)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return T.dir(e,"nextSibling")},prevAll:function(e){return T.dir(e,"previousSibling")},nextUntil:function(e,t,n){return T.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return T.dir(e,"previousSibling",n)},siblings:function(e){return T.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return T.sibling(e.firstChild)},contents:function(e){return T.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:T.merge([],e.childNodes)}},function(i,r){T.fn[i]=function(e,t){var n=T.map(this,r,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=T.filter(t,n)),1<this.length&&(S[i]||(n=T.unique(n)),E.test(i)&&(n=n.reverse())),this.pushStack(n)}});var A,L=/\S+/g,j={};function D(){k.addEventListener?(k.removeEventListener("DOMContentLoaded",O,!1),h.removeEventListener("load",O,!1)):(k.detachEvent("onreadystatechange",O),h.detachEvent("onload",O))}function O(){!k.addEventListener&&"load"!==event.type&&"complete"!==k.readyState||(D(),T.ready())}T.Callbacks=function(r){var e,n;r="string"==typeof r?j[r]||(n=j[e=r]={},T.each(e.match(L)||[],function(e,t){n[t]=!0}),n):T.extend({},r);var i,t,o,a,s,l,u=[],c=!r.once&&[],f=function(e){for(t=r.memory&&e,o=!0,s=l||0,l=0,a=u.length,i=!0;u&&s<a;s++)if(!1===u[s].apply(e[0],e[1])&&r.stopOnFalse){t=!1;break}i=!1,u&&(c?c.length&&f(c.shift()):t?u=[]:d.disable())},d={add:function(){if(u){var e=u.length;!function i(e){T.each(e,function(e,t){var n=T.type(t);"function"===n?r.unique&&d.has(t)||u.push(t):t&&t.length&&"string"!==n&&i(t)})}(arguments),i?a=u.length:t&&(l=e,f(t))}return this},remove:function(){return u&&T.each(arguments,function(e,t){for(var n;-1<(n=T.inArray(t,u,n));)u.splice(n,1),i&&(n<=a&&a--,n<=s&&s--)}),this},has:function(e){return e?-1<T.inArray(e,u):!(!u||!u.length)},empty:function(){return u=[],a=0,this},disable:function(){return u=c=t=void 0,this},disabled:function(){return!u},lock:function(){return c=void 0,t||d.disable(),this},locked:function(){return!c},fireWith:function(e,t){return!u||o&&!c||(t=[e,(t=t||[]).slice?t.slice():t],i?c.push(t):f(t)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!o}};return d},T.extend({Deferred:function(e){var o=[["resolve","done",T.Callbacks("once memory"),"resolved"],["reject","fail",T.Callbacks("once memory"),"rejected"],["notify","progress",T.Callbacks("memory")]],r="pending",a={state:function(){return r},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var r=arguments;return T.Deferred(function(i){T.each(o,function(e,t){var n=T.isFunction(r[e])&&r[e];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&T.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[t[0]+"With"](this===a?i.promise():this,n?[e]:arguments)})}),r=null}).promise()},promise:function(e){return null!=e?T.extend(e,a):a}},s={};return a.pipe=a.then,T.each(o,function(e,t){var n=t[2],i=t[3];a[t[1]]=n.add,i&&n.add(function(){r=i},o[1^e][2].disable,o[2][2].lock),s[t[0]]=function(){return s[t[0]+"With"](this===s?a:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){function t(t,n,i){return function(e){n[t]=this,i[t]=1<arguments.length?c.call(arguments):e,i===r?u.notifyWith(n,i):--l||u.resolveWith(n,i)}}var r,n,i,o=0,a=c.call(arguments),s=a.length,l=1!==s||e&&T.isFunction(e.promise)?s:0,u=1===l?e:T.Deferred();if(1<s)for(r=new Array(s),n=new Array(s),i=new Array(s);o<s;o++)a[o]&&T.isFunction(a[o].promise)?a[o].promise().done(t(o,i,a)).fail(u.reject).progress(t(o,n,r)):--l;return l||u.resolveWith(i,a),u.promise()}}),T.fn.ready=function(e){return T.ready.promise().done(e),this},T.extend({isReady:!1,readyWait:1,holdReady:function(e){e?T.readyWait++:T.ready(!0)},ready:function(e){if(!0===e?!--T.readyWait:!T.isReady){if(!k.body)return setTimeout(T.ready);(T.isReady=!0)!==e&&0<--T.readyWait||(A.resolveWith(k,[T]),T.fn.triggerHandler&&(T(k).triggerHandler("ready"),T(k).off("ready")))}}}),T.ready.promise=function(e){if(!A)if(A=T.Deferred(),"complete"===k.readyState)setTimeout(T.ready);else if(k.addEventListener)k.addEventListener("DOMContentLoaded",O,!1),h.addEventListener("load",O,!1);else{k.attachEvent("onreadystatechange",O),h.attachEvent("onload",O);var n=!1;try{n=null==h.frameElement&&k.documentElement}catch(e){}n&&n.doScroll&&!function t(){if(!T.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}D(),T.ready()}}()}return A.promise(e)};var H,$="undefined";for(H in T(g))break;g.ownLast="0"!==H,g.inlineBlockNeedsLayout=!1,T(function(){var e,t,n,i;(n=k.getElementsByTagName("body")[0])&&n.style&&(t=k.createElement("div"),(i=k.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),typeof t.style.zoom!==$&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",g.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))}),function(){var e=k.createElement("div");if(null==g.deleteExpando){g.deleteExpando=!0;try{delete e.test}catch(e){g.deleteExpando=!1}}e=null}(),T.acceptData=function(e){var t=T.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)};var _=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,M=/([A-Z])/g;function R(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(M,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:_.test(n)?T.parseJSON(n):n)}catch(e){}T.data(e,t,n)}else n=void 0}return n}function q(e){var t;for(t in e)if(("data"!==t||!T.isEmptyObject(e[t]))&&"toJSON"!==t)return;return 1}function F(e,t,n,i){if(T.acceptData(e)){var r,o,a=T.expando,s=e.nodeType,l=s?T.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof t)return l[u=u||(s?e[a]=f.pop()||T.guid++:a)]||(l[u]=s?{}:{toJSON:T.noop}),"object"!=typeof t&&"function"!=typeof t||(i?l[u]=T.extend(l[u],t):l[u].data=T.extend(l[u].data,t)),o=l[u],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[T.camelCase(t)]=n),"string"==typeof t?null==(r=o[t])&&(r=o[T.camelCase(t)]):r=o,r}}function B(e,t,n){if(T.acceptData(e)){var i,r,o=e.nodeType,a=o?T.cache:e,s=o?e[T.expando]:T.expando;if(a[s]){if(t&&(i=n?a[s]:a[s].data)){r=(t=T.isArray(t)?t.concat(T.map(t,T.camelCase)):t in i||(t=T.camelCase(t))in i?[t]:t.split(" ")).length;for(;r--;)delete i[t[r]];if(n?!q(i):!T.isEmptyObject(i))return}(n||(delete a[s].data,q(a[s])))&&(o?T.cleanData([e],!0):g.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}T.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?T.cache[e[T.expando]]:e[T.expando])&&!q(e)},data:function(e,t,n){return F(e,t,n)},removeData:function(e,t){return B(e,t)},_data:function(e,t,n){return F(e,t,n,!0)},_removeData:function(e,t){return B(e,t,!0)}}),T.fn.extend({data:function(e,t){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0!==e)return"object"==typeof e?this.each(function(){T.data(this,e)}):1<arguments.length?this.each(function(){T.data(this,e,t)}):o?R(o,e,T.data(o,e)):void 0;if(this.length&&(r=T.data(o),1===o.nodeType&&!T._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&R(o,i=T.camelCase(i.slice(5)),r[i]);T._data(o,"parsedAttrs",!0)}return r},removeData:function(e){return this.each(function(){T.removeData(this,e)})}}),T.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=T._data(e,t),n&&(!i||T.isArray(n)?i=T._data(e,t,T.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),i=n.length,r=n.shift(),o=T._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){T.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return T._data(e,n)||T._data(e,n,{empty:T.Callbacks("once memory").add(function(){T._removeData(e,t+"queue"),T._removeData(e,n)})})}}),T.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?T.queue(this[0],t):void 0===n?this:this.each(function(){var e=T.queue(this,t,n);T._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&T.dequeue(this,t)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--r||o.resolveWith(a,[a])}var i,r=1,o=T.Deferred(),a=this,s=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(i=T._data(a[s],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),o.promise(t)}});function P(e,t){return e=t||e,"none"===T.css(e,"display")||!T.contains(e.ownerDocument,e)}var I=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,W=["Top","Right","Bottom","Left"],z=T.access=function(e,t,n,i,r,o,a){var s=0,l=e.length,u=null==n;if("object"===T.type(n))for(s in r=!0,n)T.access(e,t,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,T.isFunction(i)||(a=!0),u&&(t=a?(t.call(e,i),null):(u=t,function(e,t,n){return u.call(T(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):o},U=/^(?:checkbox|radio)$/i;!function(){var e=k.createElement("input"),t=k.createElement("div"),n=k.createDocumentFragment();if(t.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",g.leadingWhitespace=3===t.firstChild.nodeType,g.tbody=!t.getElementsByTagName("tbody").length,g.htmlSerialize=!!t.getElementsByTagName("link").length,g.html5Clone="<:nav></:nav>"!==k.createElement("nav").cloneNode(!0).outerHTML,e.type="checkbox",e.checked=!0,n.appendChild(e),g.appendChecked=e.checked,t.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="<input type='radio' checked='checked' name='t'/>",g.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,g.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){g.noCloneEvent=!1}),t.cloneNode(!0).click()),null==g.deleteExpando){g.deleteExpando=!0;try{delete t.test}catch(e){g.deleteExpando=!1}}}(),function(){var e,t,n=k.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(g[e+"Bubbles"]=t in h)||(n.setAttribute(t,"t"),g[e+"Bubbles"]=!1===n.attributes[t].expando);n=null}();var X=/^(?:input|select|textarea)$/i,V=/^key/,J=/^(?:mouse|pointer|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,G=/^([^.]*)(?:\.(.+)|)$/;function Q(){return!0}function K(){return!1}function Z(){try{return k.activeElement}catch(e){}}function ee(e){var t=te.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}T.event={global:{},add:function(e,t,n,i,r){var o,a,s,l,u,c,f,d,p,h,m,y=T._data(e);if(y){for(n.handler&&(n=(l=n).handler,r=l.selector),n.guid||(n.guid=T.guid++),(a=y.events)||(a=y.events={}),(c=y.handle)||((c=y.handle=function(e){return typeof T===$||e&&T.event.triggered===e.type?void 0:T.event.dispatch.apply(c.elem,arguments)}).elem=e),s=(t=(t||"").match(L)||[""]).length;s--;)p=m=(o=G.exec(t[s])||[])[1],h=(o[2]||"").split(".").sort(),p&&(u=T.event.special[p]||{},p=(r?u.delegateType:u.bindType)||p,u=T.event.special[p]||{},f=T.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&T.expr.match.needsContext.test(r),namespace:h.join(".")},l),(d=a[p])||((d=a[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,h,c)||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),u.add&&(u.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,f):d.push(f),T.event.global[p]=!0);e=null}},remove:function(e,t,n,i,r){var o,a,s,l,u,c,f,d,p,h,m,y=T.hasData(e)&&T._data(e);if(y&&(c=y.events)){for(u=(t=(t||"").match(L)||[""]).length;u--;)if(p=m=(s=G.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=T.event.special[p]||{},d=c[p=(i?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=d.length;o--;)a=d[o],!r&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,f.remove&&f.remove.call(e,a));l&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||T.removeEvent(e,p,y.handle),delete c[p])}else for(p in c)T.event.remove(e,p+t[u],n,i,!0);T.isEmptyObject(c)&&(delete y.handle,T._removeData(e,"events"))}},trigger:function(e,t,n,i){var r,o,a,s,l,u,c,f=[n||k],d=y.call(e,"type")?e.type:e,p=y.call(e,"namespace")?e.namespace.split("."):[];if(a=u=n=n||k,3!==n.nodeType&&8!==n.nodeType&&!Y.test(d+T.event.triggered)&&(0<=d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),o=d.indexOf(":")<0&&"on"+d,(e=e[T.expando]?e:new T.Event(d,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),l=T.event.special[d]||{},i||!l.trigger||!1!==l.trigger.apply(n,t))){if(!i&&!l.noBubble&&!T.isWindow(n)){for(s=l.delegateType||d,Y.test(s+d)||(a=a.parentNode);a;a=a.parentNode)f.push(a),u=a;u===(n.ownerDocument||k)&&f.push(u.defaultView||u.parentWindow||h)}for(c=0;(a=f[c++])&&!e.isPropagationStopped();)e.type=1<c?s:l.bindType||d,(r=(T._data(a,"events")||{})[e.type]&&T._data(a,"handle"))&&r.apply(a,t),(r=o&&a[o])&&r.apply&&T.acceptData(a)&&(e.result=r.apply(a,t),!1===e.result&&e.preventDefault());if(e.type=d,!i&&!e.isDefaultPrevented()&&(!l._default||!1===l._default.apply(f.pop(),t))&&T.acceptData(n)&&o&&n[d]&&!T.isWindow(n)){(u=n[o])&&(n[o]=null),T.event.triggered=d;try{n[d]()}catch(e){}T.event.triggered=void 0,u&&(n[o]=u)}return e.result}},dispatch:function(e){e=T.event.fix(e);var t,n,i,r,o,a,s=c.call(arguments),l=(T._data(this,"events")||{})[e.type]||[],u=T.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=T.event.handlers.call(this,e,l),t=0;(r=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(i.namespace)||(e.handleObj=i,e.data=i.data,void 0!==(n=((T.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,s))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(r=[],o=0;o<s;o++)void 0===r[n=(i=t[o]).selector+" "]&&(r[n]=i.needsContext?0<=T(n,this).index(l):T.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&a.push({elem:l,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[T.expando])return e;var t,n,i,r=e.type,o=e,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=J.test(r)?this.mouseHooks:V.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new T.Event(o),t=i.length;t--;)e[n=i[t]]=o[n];return e.target||(e.target=o.srcElement||k),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=(i=e.target.ownerDocument||k).documentElement,n=i.body,e.pageX=t.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Z()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===Z()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(T.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return T.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,i){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?T.event.trigger(r,null,t):T.event.dispatch.call(t,r),r.isDefaultPrevented()&&n.preventDefault()}},T.removeEvent=k.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&(typeof e[i]===$&&(e[i]=null),e.detachEvent(i,n))},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Q:K):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||T.now(),this[T.expando]=!0},T.Event.prototype={isDefaultPrevented:K,isPropagationStopped:K,isImmediatePropagationStopped:K,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Q,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Q,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Q,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){T.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||T.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=r),t}}}),g.submitBubbles||(T.event.special.submit={setup:function(){if(T.nodeName(this,"form"))return!1;T.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=T.nodeName(t,"input")||T.nodeName(t,"button")?t.form:void 0;n&&!T._data(n,"submitBubbles")&&(T.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),T._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&T.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(T.nodeName(this,"form"))return!1;T.event.remove(this,"._submit")}}),g.changeBubbles||(T.event.special.change={setup:function(){if(X.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(T.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),T.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),T.event.simulate("change",this,e,!0)})),!1;T.event.add(this,"beforeactivate._change",function(e){var t=e.target;X.test(t.nodeName)&&!T._data(t,"changeBubbles")&&(T.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||T.event.simulate("change",this.parentNode,e,!0)}),T._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return T.event.remove(this,"._change"),!X.test(this.nodeName)}}),g.focusinBubbles||T.each({focus:"focusin",blur:"focusout"},function(n,i){function r(e){T.event.simulate(i,e.target,T.event.fix(e),!0)}T.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=T._data(e,i);t||e.addEventListener(n,r,!0),T._data(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=T._data(e,i)-1;t?T._data(e,i,t):(e.removeEventListener(n,r,!0),T._removeData(e,i))}}}),T.fn.extend({on:function(e,t,n,i,r){var o,a;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(o,t,n,e[o],r);return this}if(null==n&&null==i?(i=t,n=t=void 0):null==i&&("string"==typeof t?(i=n,n=void 0):(i=n,n=t,t=void 0)),!1===i)i=K;else if(!i)return this;return 1===r&&(a=i,(i=function(e){return T().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),this.each(function(){T.event.add(this,e,i,n,t)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,T(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=K),this.each(function(){T.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r]);return this},trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}});var te="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ne=/ jQuery\d+="(?:null|\d+)"/g,ie=new RegExp("<(?:"+te+")[\\s/>]","i"),re=/^\s+/,oe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ae=/<([\w:]+)/,se=/<tbody/i,le=/<|&#?\w+;/,ue=/<(?:script|style|link)/i,ce=/checked\s*(?:[^=]|=\s*.checked.)/i,fe=/^$|\/(?:java|ecma)script/i,de=/^true\/(.*)/,pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,he={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:g.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},me=ee(k).appendChild(k.createElement("div"));function ye(e,t){var n,i,r=0,o=typeof e.getElementsByTagName!==$?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==$?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(i=n[r]);r++)!t||T.nodeName(i,t)?o.push(i):T.merge(o,ye(i,t));return void 0===t||t&&T.nodeName(e,t)?T.merge([e],o):o}function ge(e){U.test(e.type)&&(e.defaultChecked=e.checked)}function ve(e,t){return T.nodeName(e,"table")&&T.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function be(e){return e.type=(null!==T.find.attr(e,"type"))+"/"+e.type,e}function xe(e){var t=de.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function we(e,t){for(var n,i=0;null!=(n=e[i]);i++)T._data(n,"globalEval",!t||T._data(t[i],"globalEval"))}function ke(e,t){if(1===t.nodeType&&T.hasData(e)){var n,i,r,o=T._data(e),a=T._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(i=0,r=s[n].length;i<r;i++)T.event.add(t,n,s[n][i]);a.data&&(a.data=T.extend({},a.data))}}function Te(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!g.noCloneEvent&&t[T.expando]){for(i in(r=T._data(t)).events)T.removeEvent(t,i,r.handle);t.removeAttribute(T.expando)}"script"===n&&t.text!==e.text?(be(t).text=e.text,xe(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),g.html5Clone&&e.innerHTML&&!T.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&U.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}he.optgroup=he.option,he.tbody=he.tfoot=he.colgroup=he.caption=he.thead,he.th=he.td,T.extend({clone:function(e,t,n){var i,r,o,a,s,l=T.contains(e.ownerDocument,e);if(g.html5Clone||T.isXMLDoc(e)||!ie.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(me.innerHTML=e.outerHTML,me.removeChild(o=me.firstChild)),!(g.noCloneEvent&&g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(i=ye(o),s=ye(e),a=0;null!=(r=s[a]);++a)i[a]&&Te(r,i[a]);if(t)if(n)for(s=s||ye(e),i=i||ye(o),a=0;null!=(r=s[a]);a++)ke(r,i[a]);else ke(e,o);return 0<(i=ye(o,"script")).length&&we(i,!l&&ye(e,"script")),i=s=r=null,o},buildFragment:function(e,t,n,i){for(var r,o,a,s,l,u,c,f=e.length,d=ee(t),p=[],h=0;h<f;h++)if((o=e[h])||0===o)if("object"===T.type(o))T.merge(p,o.nodeType?[o]:o);else if(le.test(o)){for(s=s||d.appendChild(t.createElement("div")),l=(ae.exec(o)||["",""])[1].toLowerCase(),c=he[l]||he._default,s.innerHTML=c[1]+o.replace(oe,"<$1></$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!g.leadingWhitespace&&re.test(o)&&p.push(t.createTextNode(re.exec(o)[0])),!g.tbody)for(r=(o="table"!==l||se.test(o)?"<table>"!==c[1]||se.test(o)?0:s:s.firstChild)&&o.childNodes.length;r--;)T.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(T.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=d.lastChild}else p.push(t.createTextNode(o));for(s&&d.removeChild(s),g.appendChecked||T.grep(ye(p,"input"),ge),h=0;o=p[h++];)if((!i||-1===T.inArray(o,i))&&(a=T.contains(o.ownerDocument,o),s=ye(d.appendChild(o),"script"),a&&we(s),n))for(r=0;o=s[r++];)fe.test(o.type||"")&&n.push(o);return s=null,d},cleanData:function(e,t){for(var n,i,r,o,a=0,s=T.expando,l=T.cache,u=g.deleteExpando,c=T.event.special;null!=(n=e[a]);a++)if((t||T.acceptData(n))&&(o=(r=n[s])&&l[r])){if(o.events)for(i in o.events)c[i]?T.event.remove(n,i):T.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==$?n.removeAttribute(s):n[s]=null,f.push(r))}}}),T.fn.extend({text:function(e){return z(this,function(e){return void 0===e?T.text(this):this.empty().append((this[0]&&this[0].ownerDocument||k).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ve(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ve(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,i=e?T.filter(e,this):this,r=0;null!=(n=i[r]);r++)t||1!==n.nodeType||T.cleanData(ye(n)),n.parentNode&&(t&&T.contains(n.ownerDocument,n)&&we(ye(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&T.cleanData(ye(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&T.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(ne,""):void 0;if("string"==typeof e&&!ue.test(e)&&(g.htmlSerialize||!ie.test(e))&&(g.leadingWhitespace||!re.test(e))&&!he[(ae.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(oe,"<$1></$2>");try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,T.cleanData(ye(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(n,i){n=m.apply([],n);var e,t,r,o,a,s,l=0,u=this.length,c=this,f=u-1,d=n[0],p=T.isFunction(d);if(p||1<u&&"string"==typeof d&&!g.checkClone&&ce.test(d))return this.each(function(e){var t=c.eq(e);p&&(n[0]=d.call(this,e,t.html())),t.domManip(n,i)});if(u&&(e=(s=T.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===s.childNodes.length&&(s=e),e)){for(r=(o=T.map(ye(s,"script"),be)).length;l<u;l++)t=s,l!==f&&(t=T.clone(t,!0,!0),r&&T.merge(o,ye(t,"script"))),i.call(this[l],t,l);if(r)for(a=o[o.length-1].ownerDocument,T.map(o,xe),l=0;l<r;l++)t=o[l],fe.test(t.type||"")&&!T._data(t,"globalEval")&&T.contains(a,t)&&(t.src?T._evalUrl&&T._evalUrl(t.src):T.globalEval((t.text||t.textContent||t.innerHTML||"").replace(pe,"")));s=e=null}return this}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){T.fn[e]=function(e){for(var t,n=0,i=[],r=T(e),o=r.length-1;n<=o;n++)t=n===o?this:this.clone(!0),T(r[n])[a](t),s.apply(i,t.get());return this.pushStack(i)}});var Ce,Ee,Se={};function Ne(e,t){var n,i=T(t.createElement(e)).appendTo(t.body),r=h.getDefaultComputedStyle&&(n=h.getDefaultComputedStyle(i[0]))?n.display:T.css(i[0],"display");return i.detach(),r}function Ae(e){var t=k,n=Se[e];return n||("none"!==(n=Ne(e,t))&&n||((t=((Ce=(Ce||T("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Ce[0].contentDocument).document).write(),t.close(),n=Ne(e,t),Ce.detach()),Se[e]=n),n}g.shrinkWrapBlocks=function(){return null!=Ee?Ee:(Ee=!1,(t=k.getElementsByTagName("body")[0])&&t.style?(e=k.createElement("div"),(n=k.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),typeof e.style.zoom!==$&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(k.createElement("div")).style.width="5px",Ee=3!==e.offsetWidth),t.removeChild(n),Ee):void 0);var e,t,n};var Le,je,De,Oe,He,$e,_e,Me,Re,qe=/^margin/,Fe=new RegExp("^("+I+")(?!px)[a-z%]+$","i"),Be=/^(top|right|bottom|left)$/;function Pe(t,n){return{get:function(){var e=t();if(null!=e){if(!e)return(this.get=n).apply(this,arguments);delete this.get}}}}function Ie(){var e,t,n,i;(t=k.getElementsByTagName("body")[0])&&t.style&&(e=k.createElement("div"),(n=k.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",$e=_e=!1,Re=!0,h.getComputedStyle&&($e="1%"!==(h.getComputedStyle(e,null)||{}).top,_e="4px"===(h.getComputedStyle(e,null)||{width:"4px"}).width,(i=e.appendChild(k.createElement("div"))).style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",e.style.width="1px",Re=!parseFloat((h.getComputedStyle(i,null)||{}).marginRight)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(i=e.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(Me=0===i[0].offsetHeight)&&(i[0].style.display="",i[1].style.display="none",Me=0===i[0].offsetHeight),t.removeChild(n))}h.getComputedStyle?(Le=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)},je=function(e,t,n){var i,r,o,a,s=e.style;return a=(n=n||Le(e))?n.getPropertyValue(t)||n[t]:void 0,n&&(""!==a||T.contains(e.ownerDocument,e)||(a=T.style(e,t)),Fe.test(a)&&qe.test(t)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0===a?a:a+""}):k.documentElement.currentStyle&&(Le=function(e){return e.currentStyle},je=function(e,t,n){var i,r,o,a,s=e.style;return null==(a=(n=n||Le(e))?n[t]:void 0)&&s&&s[t]&&(a=s[t]),Fe.test(a)&&!Be.test(t)&&(i=s.left,(o=(r=e.runtimeStyle)&&r.left)&&(r.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=i,o&&(r.left=o)),void 0===a?a:a+""||"auto"}),(De=k.createElement("div")).innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(Oe=(He=De.getElementsByTagName("a")[0])&&He.style)&&(Oe.cssText="float:left;opacity:.5",g.opacity="0.5"===Oe.opacity,g.cssFloat=!!Oe.cssFloat,De.style.backgroundClip="content-box",De.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===De.style.backgroundClip,g.boxSizing=""===Oe.boxSizing||""===Oe.MozBoxSizing||""===Oe.WebkitBoxSizing,T.extend(g,{reliableHiddenOffsets:function(){return null==Me&&Ie(),Me},boxSizingReliable:function(){return null==_e&&Ie(),_e},pixelPosition:function(){return null==$e&&Ie(),$e},reliableMarginRight:function(){return null==Re&&Ie(),Re}})),T.swap=function(e,t,n,i){var r,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=a[o];return r};var We=/alpha\([^)]*\)/i,ze=/opacity\s*=\s*([^)]*)/,Ue=/^(none|table(?!-c[ea]).+)/,Xe=new RegExp("^("+I+")(.*)$","i"),Ve=new RegExp("^([+-])=("+I+")","i"),Je={position:"absolute",visibility:"hidden",display:"block"},Ye={letterSpacing:"0",fontWeight:"400"},Ge=["Webkit","O","Moz","ms"];function Qe(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,r=Ge.length;r--;)if((t=Ge[r]+n)in e)return t;return i}function Ke(e,t){for(var n,i,r,o=[],a=0,s=e.length;a<s;a++)(i=e[a]).style&&(o[a]=T._data(i,"olddisplay"),n=i.style.display,t?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&P(i)&&(o[a]=T._data(i,"olddisplay",Ae(i.nodeName)))):(r=P(i),(n&&"none"!==n||!r)&&T._data(i,"olddisplay",r?n:T.css(i,"display"))));for(a=0;a<s;a++)(i=e[a]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[a]||"":"none"));return e}function Ze(e,t,n){var i=Xe.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function et(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=T.css(e,n+W[o],!0,r)),i?("content"===n&&(a-=T.css(e,"padding"+W[o],!0,r)),"margin"!==n&&(a-=T.css(e,"border"+W[o]+"Width",!0,r))):(a+=T.css(e,"padding"+W[o],!0,r),"padding"!==n&&(a+=T.css(e,"border"+W[o]+"Width",!0,r)));return a}function tt(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=Le(e),a=g.boxSizing&&"border-box"===T.css(e,"boxSizing",!1,o);if(r<=0||null==r){if(((r=je(e,t,o))<0||null==r)&&(r=e.style[t]),Fe.test(r))return r;i=a&&(g.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+et(e,t,n||(a?"border":"content"),i,o)+"px"}function nt(e,t,n,i,r){return new nt.prototype.init(e,t,n,i,r)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=je(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:g.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=T.camelCase(t),l=e.style;if(t=T.cssProps[s]||(T.cssProps[s]=Qe(l,s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,i))?r:l[t];if("string"===(o=typeof n)&&(r=Ve.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(T.css(e,t)),o="number"),null!=n&&n==n&&("number"!==o||T.cssNumber[s]||(n+="px"),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,i)))))try{l[t]=n}catch(e){}}},css:function(e,t,n,i){var r,o,a,s=T.camelCase(t);return t=T.cssProps[s]||(T.cssProps[s]=Qe(e.style,s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=je(e,t,i)),"normal"===o&&t in Ye&&(o=Ye[t]),""===n||n?(r=parseFloat(o),!0===n||T.isNumeric(r)?r||0:o):o}}),T.each(["height","width"],function(e,r){T.cssHooks[r]={get:function(e,t,n){if(t)return Ue.test(T.css(e,"display"))&&0===e.offsetWidth?T.swap(e,Je,function(){return tt(e,r,n)}):tt(e,r,n)},set:function(e,t,n){var i=n&&Le(e);return Ze(0,t,n?et(e,r,n,g.boxSizing&&"border-box"===T.css(e,"boxSizing",!1,i),i):0)}}}),g.opacity||(T.cssHooks.opacity={get:function(e,t){return ze.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=T.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=i&&i.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===T.trim(o.replace(We,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=We.test(o)?o.replace(We,r):o+" "+r)}}),T.cssHooks.marginRight=Pe(g.reliableMarginRight,function(e,t){if(t)return T.swap(e,{display:"inline-block"},je,[e,"marginRight"])}),T.each({margin:"",padding:"",border:"Width"},function(r,o){T.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+W[t]+o]=i[t]||i[t-2]||i[0];return n}},qe.test(r)||(T.cssHooks[r+o].set=Ze)}),T.fn.extend({css:function(e,t){return z(this,function(e,t,n){var i,r,o={},a=0;if(T.isArray(t)){for(i=Le(e),r=t.length;a<r;a++)o[t[a]]=T.css(e,t[a],!1,i);return o}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,1<arguments.length)},show:function(){return Ke(this,!0)},hide:function(){return Ke(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){P(this)?T(this).show():T(this).hide()})}}),(T.Tween=nt).prototype={constructor:nt,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[T.cssProps[e.prop]]||T.cssHooks[e.prop])?T.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},T.fx=nt.prototype.init,T.fx.step={};var it,rt,ot,at,st,lt,ut,ct=/^(?:toggle|show|hide)$/,ft=new RegExp("^(?:([+-])=|)("+I+")([a-z%]*)$","i"),dt=/queueHooks$/,pt=[function(t,e,n){var i,r,o,a,s,l,u,c=this,f={},d=t.style,p=t.nodeType&&P(t),h=T._data(t,"fxshow");n.queue||(null==(s=T._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,T.queue(t,"fx").length||s.empty.fire()})}));1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],u=T.css(t,"display"),"inline"===("none"===u?T._data(t,"olddisplay")||Ae(t.nodeName):u)&&"none"===T.css(t,"float")&&(g.inlineBlockNeedsLayout&&"inline"!==Ae(t.nodeName)?d.zoom=1:d.display="inline-block"));n.overflow&&(d.overflow="hidden",g.shrinkWrapBlocks()||c.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],ct.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!h||void 0===h[i])continue;p=!0}f[i]=h&&h[i]||T.style(t,i)}else u=void 0;if(T.isEmptyObject(f))"inline"===("none"===u?Ae(t.nodeName):u)&&(d.display=u);else for(i in h?"hidden"in h&&(p=h.hidden):h=T._data(t,"fxshow",{}),o&&(h.hidden=!p),p?T(t).show():c.done(function(){T(t).hide()}),c.done(function(){var e;for(e in T._removeData(t,"fxshow"),f)T.style(t,e,f[e])}),f)a=gt(p?h[i]:0,i,c),i in h||(h[i]=a.start,p&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}],ht={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),r=ft.exec(t),o=r&&r[3]||(T.cssNumber[e]?"":"px"),a=(T.cssNumber[e]||"px"!==o&&+i)&&ft.exec(T.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o)for(o=o||a[3],r=r||[],a=+i||1;a/=s=s||".5",T.style(n.elem,e,a+o),s!==(s=n.cur()/i)&&1!==s&&--l;);return r&&(a=n.start=+a||+i||0,n.unit=o,n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]),n}]};function mt(){return setTimeout(function(){it=void 0}),it=T.now()}function yt(e,t){var n,i={height:e},r=0;for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=W[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function gt(e,t,n){for(var i,r=(ht[t]||[]).concat(ht["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,t,e))return i}function vt(o,e,t){var n,a,i=0,r=pt.length,s=T.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=it||mt(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),i=0,r=u.tweens.length;i<r;i++)u.tweens[i].run(n);return s.notifyWith(o,[u,n,t]),n<1&&r?t:(s.resolveWith(o,[u]),!1)},u=s.promise({elem:o,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:it||mt(),duration:t.duration,tweens:[],createTween:function(e,t){var n=T.Tween(o,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)u.tweens[t].run(1);return e?s.resolveWith(o,[u,e]):s.rejectWith(o,[u,e]),this}}),c=u.props;for(!function(e,t){var n,i,r,o,a;for(n in e)if(r=t[i=T.camelCase(n)],o=e[n],T.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(a=T.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(c,u.opts.specialEasing);i<r;i++)if(n=pt[i].call(u,o,c,u.opts))return n;return T.map(c,gt,u),T.isFunction(u.opts.start)&&u.opts.start.call(o,u),T.fx.timer(T.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}T.Animation=T.extend(vt,{tweener:function(e,t){for(var n,i=0,r=(e=T.isFunction(e)?(t=e,["*"]):e.split(" ")).length;i<r;i++)n=e[i],ht[n]=ht[n]||[],ht[n].unshift(t)},prefilter:function(e,t){t?pt.unshift(e):pt.push(e)}}),T.speed=function(e,t,n){var i=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||T.isFunction(e)&&e,duration:e,easing:n&&t||t&&!T.isFunction(t)&&t};return i.duration=T.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in T.fx.speeds?T.fx.speeds[i.duration]:T.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){T.isFunction(i.old)&&i.old.call(this),i.queue&&T.dequeue(this,i.queue)},i},T.fn.extend({fadeTo:function(e,t,n,i){return this.filter(P).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){function r(){var e=vt(this,T.extend({},t),a);(o||T._data(this,"finish"))&&e.stop(!0)}var o=T.isEmptyObject(t),a=T.speed(e,n,i);return r.finish=r,o||!1===a.queue?this.each(r):this.queue(a.queue,r)},stop:function(r,e,o){function a(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof r&&(o=e,e=r,r=void 0),e&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",n=T.timers,i=T._data(this);if(t)i[t]&&i[t].stop&&a(i[t]);else for(t in i)i[t]&&i[t].stop&&dt.test(t)&&a(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=r&&n[t].queue!==r||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||T.dequeue(this,r)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=T._data(this),n=t[a+"queue"],i=t[a+"queueHooks"],r=T.timers,o=n?n.length:0;for(t.finish=!0,T.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===a&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),T.each(["toggle","show","hide"],function(e,i){var r=T.fn[i];T.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(yt(i,!0),e,t,n)}}),T.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){T.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),T.timers=[],T.fx.tick=function(){var e,t=T.timers,n=0;for(it=T.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||T.fx.stop(),it=void 0},T.fx.timer=function(e){T.timers.push(e),e()?T.fx.start():T.timers.pop()},T.fx.interval=13,T.fx.start=function(){rt=rt||setInterval(T.fx.tick,T.fx.interval)},T.fx.stop=function(){clearInterval(rt),rt=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(i,e){return i=T.fx&&T.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=setTimeout(e,i);t.stop=function(){clearTimeout(n)}})},(at=k.createElement("div")).setAttribute("className","t"),at.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",lt=at.getElementsByTagName("a")[0],ut=(st=k.createElement("select")).appendChild(k.createElement("option")),ot=at.getElementsByTagName("input")[0],lt.style.cssText="top:1px",g.getSetAttribute="t"!==at.className,g.style=/top/.test(lt.getAttribute("style")),g.hrefNormalized="/a"===lt.getAttribute("href"),g.checkOn=!!ot.value,g.optSelected=ut.selected,g.enctype=!!k.createElement("form").enctype,st.disabled=!0,g.optDisabled=!ut.disabled,(ot=k.createElement("input")).setAttribute("value",""),g.input=""===ot.getAttribute("value"),ot.value="t",ot.setAttribute("type","radio"),g.radioValue="t"===ot.value;var bt=/\r/g;T.fn.extend({val:function(n){var i,e,r,t=this[0];return arguments.length?(r=T.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=r?n.call(this,e,T(this).val()):n)?t="":"number"==typeof t?t+="":T.isArray(t)&&(t=T.map(t,function(e){return null==e?"":e+""})),(i=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):t?(i=T.valHooks[t.type]||T.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(bt,""):null==e?"":e:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:T.trim(T.text(e))}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.type||r<0,a=o?null:[],s=o?r+1:i.length,l=r<0?s:o?r:0;l<s;l++)if(((n=i[l]).selected||l===r)&&(g.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!T.nodeName(n.parentNode,"optgroup"))){if(t=T(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=T.makeArray(t),a=r.length;a--;)if(i=r[a],0<=T.inArray(T.valHooks.option.get(i),o))try{i.selected=n=!0}catch(e){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),r}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(T.isArray(t))return e.checked=0<=T.inArray(T(e).val(),t)}},g.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var xt,wt,kt=T.expr.attrHandle,Tt=/^(?:checked|selected)$/i,Ct=g.getSetAttribute,Et=g.input;T.fn.extend({attr:function(e,t){return z(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===$?T.prop(e,t,n):(1===o&&T.isXMLDoc(e)||(t=t.toLowerCase(),i=T.attrHooks[t]||(T.expr.match.bool.test(t)?wt:xt)),void 0===n?!(i&&"get"in i&&null!==(r=i.get(e,t)))&&null==(r=T.find.attr(e,t))?void 0:r:null!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):void T.removeAttr(e,t))},removeAttr:function(e,t){var n,i,r=0,o=t&&t.match(L);if(o&&1===e.nodeType)for(;n=o[r++];)i=T.propFix[n]||n,T.expr.match.bool.test(n)?Et&&Ct||!Tt.test(n)?e[i]=!1:e[T.camelCase("default-"+n)]=e[i]=!1:T.attr(e,n,""),e.removeAttribute(Ct?n:i)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&T.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),wt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):Et&&Ct||!Tt.test(n)?e.setAttribute(!Ct&&T.propFix[n]||n,n):e[T.camelCase("default-"+n)]=e[n]=!0,n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var o=kt[t]||T.find.attr;kt[t]=Et&&Ct||!Tt.test(t)?function(e,t,n){var i,r;return n||(r=kt[t],kt[t]=i,i=null!=o(e,t,n)?t.toLowerCase():null,kt[t]=r),i}:function(e,t,n){if(!n)return e[T.camelCase("default-"+t)]?t.toLowerCase():null}}),Et&&Ct||(T.attrHooks.value={set:function(e,t,n){if(!T.nodeName(e,"input"))return xt&&xt.set(e,t,n);e.defaultValue=t}}),Ct||(xt={set:function(e,t,n){var i=e.getAttributeNode(n);if(i||e.setAttributeNode(i=e.ownerDocument.createAttribute(n)),i.value=t+="","value"===n||t===e.getAttribute(n))return t}},kt.id=kt.name=kt.coords=function(e,t,n){var i;if(!n)return(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},T.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:xt.set},T.attrHooks.contenteditable={set:function(e,t,n){xt.set(e,""!==t&&t,n)}},T.each(["width","height"],function(e,n){T.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}}})),g.style||(T.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var St=/^(?:input|select|textarea|button|object)$/i,Nt=/^(?:a|area)$/i;T.fn.extend({prop:function(e,t){return z(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return e=T.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),T.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var i,r,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!T.isXMLDoc(e))&&(t=T.propFix[t]||t,r=T.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||Nt.test(e.nodeName)&&e.href?0:-1}}}}),g.hrefNormalized||T.each(["href","src"],function(e,t){T.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),g.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),g.enctype||(T.propFix.enctype="encoding");var At=/[\t\r\n\f]/g;T.fn.extend({addClass:function(t){var e,n,i,r,o,a,s=0,l=this.length,u="string"==typeof t&&t;if(T.isFunction(t))return this.each(function(e){T(this).addClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(L)||[];s<l;s++)if(i=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(At," "):" ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=T.trim(i),n.className!==a&&(n.className=a)}return this},removeClass:function(t){var e,n,i,r,o,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof t&&t;if(T.isFunction(t))return this.each(function(e){T(this).removeClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(L)||[];s<l;s++)if(i=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(At," "):"")){for(o=0;r=e[o++];)for(;0<=i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");a=t?T.trim(i):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(r,t){var o=typeof r;return"boolean"==typeof t&&"string"==o?t?this.addClass(r):this.removeClass(r):T.isFunction(r)?this.each(function(e){T(this).toggleClass(r.call(this,e,this.className,t),t)}):this.each(function(){if("string"==o)for(var e,t=0,n=T(this),i=r.match(L)||[];e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else o!==$&&"boolean"!=o||(this.className&&T._data(this,"__className__",this.className),this.className=!this.className&&!1!==r&&T._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(At," ").indexOf(t))return!0;return!1}}),T.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){T.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),T.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var Lt=T.now(),jt=/\?/,Dt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;T.parseJSON=function(e){if(h.JSON&&h.JSON.parse)return h.JSON.parse(e+"");var r,o=null,t=T.trim(e+"");return t&&!T.trim(t.replace(Dt,function(e,t,n,i){return r&&t&&(o=0),0===o?e:(r=n||t,o+=!i-!n,"")}))?Function("return "+t)():T.error("Invalid JSON: "+e)},T.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{h.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+e),t};var Ot,Ht,$t=/#.*$/,_t=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Rt=/^(?:GET|HEAD)$/,qt=/^\/\//,Ft=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Bt={},Pt={},It="*/".concat("*");try{Ht=location.href}catch(e){(Ht=k.createElement("a")).href="",Ht=Ht.href}function Wt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,r=e.toLowerCase().match(L)||[];if(T.isFunction(t))for(;n=r[i++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function zt(t,r,o,a){var s={},l=t===Pt;function u(e){var i;return s[e]=!0,T.each(t[e]||[],function(e,t){var n=t(r,o,a);return"string"!=typeof n||l||s[n]?l?!(i=n):void 0:(r.dataTypes.unshift(n),u(n),!1)}),i}return u(r.dataTypes[0])||!s["*"]&&u("*")}function Ut(e,t){var n,i,r=T.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n=n||{})[i]=t[i]);return n&&T.extend(!0,e,n),e}Ot=Ft.exec(Ht.toLowerCase())||[],T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ht,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ot[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":T.parseJSON,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,T.ajaxSettings),t):Ut(T.ajaxSettings,e)},ajaxPrefilter:Wt(Bt),ajaxTransport:Wt(Pt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,c,f,d,p,h,r,m=T.ajaxSetup({},t),y=m.context||m,g=m.context&&(y.nodeType||y.jquery)?T(y):T.event,v=T.Deferred(),b=T.Callbacks("once memory"),x=m.statusCode||{},o={},a={},w=0,s="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!r)for(r={};t=Mt.exec(f);)r[t[1].toLowerCase()]=t[2];t=r[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?f:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=a[n]=a[n]||e,o[e]=t),this},overrideMimeType:function(e){return w||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)x[t]=[x[t],e[t]];else k.always(e[k.status]);return this},abort:function(e){var t=e||s;return h&&h.abort(t),l(0,t),this}};if(v.promise(k).complete=b.add,k.success=k.done,k.error=k.fail,m.url=((e||m.url||Ht)+"").replace($t,"").replace(qt,Ot[1]+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=T.trim(m.dataType||"*").toLowerCase().match(L)||[""],null==m.crossDomain&&(n=Ft.exec(m.url.toLowerCase()),m.crossDomain=!(!n||n[1]===Ot[1]&&n[2]===Ot[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Ot[3]||("http:"===Ot[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=T.param(m.data,m.traditional)),zt(Bt,m,t,k),2===w)return k;for(i in(p=m.global)&&0==T.active++&&T.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Rt.test(m.type),c=m.url,m.hasContent||(m.data&&(c=m.url+=(jt.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=_t.test(c)?c.replace(_t,"$1_="+Lt++):c+(jt.test(c)?"&":"?")+"_="+Lt++)),m.ifModified&&(T.lastModified[c]&&k.setRequestHeader("If-Modified-Since",T.lastModified[c]),T.etag[c]&&k.setRequestHeader("If-None-Match",T.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&k.setRequestHeader("Content-Type",m.contentType),k.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+It+"; q=0.01":""):m.accepts["*"]),m.headers)k.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(y,k,m)||2===w))return k.abort();for(i in s="abort",{success:1,error:1,complete:1})k[i](m[i]);if(h=zt(Pt,m,t,k)){k.readyState=1,p&&g.trigger("ajaxSend",[k,m]),m.async&&0<m.timeout&&(d=setTimeout(function(){k.abort("timeout")},m.timeout));try{w=1,h.send(o,l)}catch(e){if(!(w<2))throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,i){var r,o,a,s,l,u=t;2!==w&&(w=2,d&&clearTimeout(d),h=void 0,f=i||"",k.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var i,r,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}i=i||a}o=o||i}if(o)return o!==l[0]&&l.unshift(o),n[o]}(m,k,n)),s=function(e,t,n,i){var r,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(r in u)if((s=r.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(m,s,k,r),r?(m.ifModified&&((l=k.getResponseHeader("Last-Modified"))&&(T.lastModified[c]=l),(l=k.getResponseHeader("etag"))&&(T.etag[c]=l)),204===e||"HEAD"===m.type?u="nocontent":304===e?u="notmodified":(u=s.state,o=s.data,r=!(a=s.error))):(a=u,!e&&u||(u="error",e<0&&(e=0))),k.status=e,k.statusText=(t||u)+"",r?v.resolveWith(y,[o,u,k]):v.rejectWith(y,[k,u,a]),k.statusCode(x),x=void 0,p&&g.trigger(r?"ajaxSuccess":"ajaxError",[k,m,r?o:a]),b.fireWith(y,[k,u]),p&&(g.trigger("ajaxComplete",[k,m]),--T.active||T.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,r){T[r]=function(e,t,n,i){return T.isFunction(t)&&(i=i||n,n=t,t=void 0),T.ajax({url:e,type:r,dataType:i,data:t,success:n})}}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T._evalUrl=function(e){return T.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},T.fn.extend({wrapAll:function(t){if(T.isFunction(t))return this.each(function(e){T(this).wrapAll(t.call(this,e))});if(this[0]){var e=T(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return T.isFunction(n)?this.each(function(e){T(this).wrapInner(n.call(this,e))}):this.each(function(){var e=T(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=T.isFunction(t);return this.each(function(e){T(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){T.nodeName(this,"body")||T(this).replaceWith(this.childNodes)}).end()}}),T.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!g.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||T.css(e,"display"))},T.expr.filters.visible=function(e){return!T.expr.filters.hidden(e)};var Xt=/%20/g,Vt=/\[\]$/,Jt=/\r?\n/g,Yt=/^(?:submit|button|image|reset|file)$/i,Gt=/^(?:input|select|textarea|keygen)/i;function Qt(n,e,i,r){var t;if(T.isArray(e))T.each(e,function(e,t){i||Vt.test(n)?r(n,t):Qt(n+"["+("object"==typeof t?e:"")+"]",t,i,r)});else if(i||"object"!==T.type(e))r(n,e);else for(t in e)Qt(n+"["+t+"]",e[t],i,r)}T.param=function(e,t){function n(e,t){t=T.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var i,r=[];if(void 0===t&&(t=T.ajaxSettings&&T.ajaxSettings.traditional),T.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){n(this.name,this.value)});else for(i in e)Qt(i,e[i],t,n);return r.join("&").replace(Xt,"+")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Gt.test(this.nodeName)&&!Yt.test(e)&&(this.checked||!U.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:T.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(Jt,"\r\n")}}):{name:t.name,value:n.replace(Jt,"\r\n")}}).get()}}),T.ajaxSettings.xhr=void 0!==h.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&tn()||function(){try{return new h.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:tn;var Kt=0,Zt={},en=T.ajaxSettings.xhr();function tn(){try{return new h.XMLHttpRequest}catch(e){}}h.ActiveXObject&&T(h).on("unload",function(){for(var e in Zt)Zt[e](void 0,!0)}),g.cors=!!en&&"withCredentials"in en,(en=g.ajax=!!en)&&T.ajaxTransport(function(l){var u;if(!l.crossDomain||g.cors)return{send:function(e,o){var t,a=l.xhr(),s=++Kt;if(a.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(t in l.xhrFields)a[t]=l.xhrFields[t];for(t in l.mimeType&&a.overrideMimeType&&a.overrideMimeType(l.mimeType),l.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)void 0!==e[t]&&a.setRequestHeader(t,e[t]+"");a.send(l.hasContent&&l.data||null),u=function(e,t){var n,i,r;if(u&&(t||4===a.readyState))if(delete Zt[s],u=void 0,a.onreadystatechange=T.noop,t)4!==a.readyState&&a.abort();else{r={},n=a.status,"string"==typeof a.responseText&&(r.text=a.responseText);try{i=a.statusText}catch(e){i=""}n||!l.isLocal||l.crossDomain?1223===n&&(n=204):n=r.text?200:404}r&&o(n,i,r,a.getAllResponseHeaders())},l.async?4===a.readyState?setTimeout(u):a.onreadystatechange=Zt[s]=u:u()},abort:function(){u&&u(void 0,!0)}}}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),T.ajaxTransport("script",function(t){if(t.crossDomain){var i,r=k.head||T("head")[0]||k.documentElement;return{send:function(e,n){(i=k.createElement("script")).async=!0,t.scriptCharset&&(i.charset=t.scriptCharset),i.src=t.url,i.onload=i.onreadystatechange=function(e,t){!t&&i.readyState&&!/loaded|complete/.test(i.readyState)||(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),i=null,t||n(200,"success"))},r.insertBefore(i,r.firstChild)},abort:function(){i&&i.onload(void 0,!0)}}}});var nn=[],rn=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=nn.pop()||T.expando+"_"+Lt++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,a=!1!==e.jsonp&&(rn.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&rn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=T.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(rn,"$1"+i):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||T.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=h[i],h[i]=function(){o=arguments},n.always(function(){h[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,nn.push(i)),o&&T.isFunction(r)&&r(o[0]),o=r=void 0}),"script"}),T.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||k;var i=v.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=T.buildFragment([e],t,r),r&&r.length&&T(r).remove(),T.merge([],i.childNodes))};var on=T.fn.load;T.fn.load=function(e,t,n){if("string"!=typeof e&&on)return on.apply(this,arguments);var i,r,o,a=this,s=e.indexOf(" ");return 0<=s&&(i=T.trim(e.slice(s,e.length)),e=e.slice(0,s)),T.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<a.length&&T.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){r=arguments,a.html(i?T("<div>").append(T.parseHTML(e)).find(i):e)}).complete(n&&function(e,t){a.each(n,r||[e.responseText,t,e])}),this},T.expr.filters.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length};var an=h.document.documentElement;function sn(e){return T.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}T.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,u=T.css(e,"position"),c=T(e),f={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=T.css(e,"top"),l=T.css(e,"left"),r=("absolute"===u||"fixed"===u)&&-1<T.inArray("auto",[o,l])?(a=(i=c.position()).top,i.left):(a=parseFloat(o)||0,parseFloat(l)||0),T.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+r),"using"in t?t.using.call(e,f):c.css(f)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;return o?(e=o.documentElement,T.contains(e,r)?(typeof r.getBoundingClientRect!==$&&(i=r.getBoundingClientRect()),n=sn(o),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===T.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),T.nodeName(e[0],"html")||(n=e.offset()),n.top+=T.css(e[0],"borderTopWidth",!0),n.left+=T.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-T.css(i,"marginTop",!0),left:t.left-n.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||an;e&&!T.nodeName(e,"html")&&"static"===T.css(e,"position");)e=e.offsetParent;return e||an})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o=/Y/.test(r);T.fn[t]=function(e){return z(this,function(e,t,n){var i=sn(e);if(void 0===n)return i?r in i?i[r]:i.document.documentElement[t]:e[t];i?i.scrollTo(o?T(i).scrollLeft():n,o?n:T(i).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),T.each(["top","left"],function(e,n){T.cssHooks[n]=Pe(g.pixelPosition,function(e,t){if(t)return t=je(e,n),Fe.test(t)?T(e).position()[n]+"px":t})}),T.each({Height:"height",Width:"width"},function(o,a){T.each({padding:"inner"+o,content:a,"":"outer"+o},function(i,e){T.fn[e]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return z(this,function(e,t,n){var i;return T.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+o],i["scroll"+o],e.body["offset"+o],i["offset"+o],i["client"+o])):void 0===n?T.css(e,t,r):T.style(e,t,n,r)},a,n?e:void 0,n,null)}})}),T.fn.size=function(){return this.length},T.fn.andSelf=T.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return T});var ln=h.jQuery,un=h.$;return T.noConflict=function(e){return h.$===T&&(h.$=un),e&&h.jQuery===T&&(h.jQuery=ln),T},typeof e===$&&(h.jQuery=h.$=T),T}),function(o){var u,r,e,t,n;function c(e){for(var t,n,i,r,o,a=e,s=1,l=arguments.length;s<l;s+=1)if(null!==(t=arguments[s]))for(n in t)i=a[n],a!==(r=t[n])&&(r&&u.obj(r)?(o=i&&u.obj(i)?i:{},a[n]=c(o,r)):void 0!==r&&(a[n]=r));return a}function a(e){if(null===e||"object"!=typeof e)return e;var t,n=e.constructor();for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function i(e,t){var n=Array.prototype.slice,i=n.call(arguments,2);return function(){return e.apply(t,i.concat(n.call(arguments)))}}function s(e){var t,n=e.el,i=e.complete?e.complete:function(){};if(!e.animation||!(n.animate||e.css3transition&&r))return n.css(e.fallbackCss),void i();e.animStartCss&&(0===e.animStartCss.opacity&&(e.animStartCss.opacity=.01),n.css(e.animStartCss)),t=e.animation,e.css3transition&&r?(n[0].offsetWidth,n[0].style[r.prop]="all "+t.duration+"ms ease-out",delete t.duration,n.css(t),n.on(r.end,function(){n.off(r.end),n[0].style[r.prop]="none",i()})):window.ender?n.animate(c(t,{complete:i})):n.animate(t,t.duration,"swing",i)}function l(e){this.init(e)}function f(e,t){return this.init(e,t),this.getApi()}u={fun:function(e){return"function"==typeof e},arr:function(e){return e instanceof Array},obj:function(e){return e instanceof Object&&!u.fun(e)&&!u.arr(e)}},e=document.createElement("div").style,t="TransitionEnd",n="Transition",r=(void 0!==e.transition||void 0!==e.WebkitTransition||void 0!==e.MozTransition)&&{prop:(void 0!==e.WebkitTransition?n="WebkitTransition":void 0!==e.MozTransition&&(n="MozTransition"),n),end:(void 0!==e.WebkitTransition?t="webkitTransitionEnd":void 0!==e.MozTransition&&(t="transitionend"),t)},l.prototype={init:function(e){this.options={id:"ender-overlay-mask",zIndex:9998,opacity:.6,color:"#777"},c(this.options,e||{});var t=o("#"+this.options.id);this.options;t.length||(t=o("<div></div>").attr("id",this.options.id).css({display:"none",position:"absolute",top:0,left:0}).appendTo("body")),this.$mask=t},show:function(){var e=this.options,t=this.getDocSize(),n=!1;this.$mask.css({zIndex:e.zIndex,backgroundColor:e.color,width:t.width,height:t.height}),e.durationIn&&(n={opacity:e.opacity,duration:e.durationIn}),s({el:this.$mask,animStartCss:{opacity:.01,display:"block"},animation:n,fallbackCss:{display:"block",opacity:e.opacity},css3transition:e.css3transition})},hide:function(){var e=this.options,t=this,n=!1;e.durationOut&&(n={opacity:0,duration:e.durationOut}),s({el:this.$mask,animation:n,complete:function(){t.$mask.css({display:"none"})},fallbackCss:{display:"none"},css3transition:e.css3transition})},getDocSize:function(){if(window.ender)return{width:o.doc().width,height:o.doc().height};if(window.Zepto){var e=window.document,t=e.documentElement,n=/msie/i.test(navigator.userAgent),i={width:n?t.clientWidth:self.innerWidth,height:n?t.clientHeight:self.innerHeight};return{width:Math.max(e.body.scrollWidth,t.scrollWidth,i.width),height:Math.max(e.body.scrollHeight,t.scrollHeight,i.height)}}return{width:o(document).width(),height:o(document).height()}},getMask:function(){return this.$mask}},f.prototype={init:function(e,t){this.options={top:80,position:"absolute",cssClass:"ender-overlay",close:".close",trigger:null,zIndex:9999,showMask:!0,closeOnEsc:!0,closeOnMaskClick:!0,autoOpen:!1,allowMultipleDisplay:!1,css3transition:!1,startAnimationCss:{opacity:.01},animationIn:{opacity:1,duration:250},animationOut:{opacity:0,duration:250},mask:{},onBeforeOpen:function(){},onBeforeClose:function(){},onOpen:function(){},onClose:function(){}},this.setOptions(t),this.$overlay=e.css({display:"none"}),this.options.showMask&&(this.mask=new l(this.options.mask)),this.$overlay.attr("data-overlayloaded")||(this.attachEvents(),this.$overlay.attr("data-overlayloaded",1)),this.options.autoOpen&&this.open()},attachEvents:function(){var t=this,e=this.options;e.trigger&&o(e.trigger).length&&o(e.trigger).on("click",function(e){e.preventDefault(),t.open()}),this.$overlay.on("click",e.close,function(e){e.preventDefault(),t.close()}),o(document).on("ender-overlay.close",function(){t.close()}),o(document).on("ender-overlay.closeOverlay",function(){t.close(!0)}),e.closeOnEsc&&o(document).on("keyup",function(e){t.onKeyUp(e)}),this.mask&&e.closeOnMaskClick&&this.mask.getMask().on("click",function(){t.close()})},setupOverlay:function(){var e=this.options,t=e.top,n=o(window).scrollTop(),i=this.$overlay.width();this.$overlay.addClass(e.cssClass).appendTo("body"),"absolute"===e.position&&(t+=n),0===i&&(this.$overlay.css({display:"block",position:"absolute",left:-9999}),i=this.$overlay.width()),this.$overlay.css({display:"none",position:e.position,top:t,left:"50%",zIndex:e.zIndex,marginLeft:i/2*-1})},open:function(e){var t=this.options,n=this,i=!!t.animationIn&&a(t.animationIn),r=this.getApi();"block"!==this.$overlay.css("display")&&!1!==t.onBeforeOpen(r)&&(this.setupOverlay(),t.allowMultipleDisplay||o(document).trigger("ender-overlay.closeOverlay"),s({el:this.$overlay,animStartCss:c({display:"block"},t.startAnimationCss),animation:i,complete:function(){i&&1===i.opacity&&n.$overlay.css({filter:""}),n.options.onOpen(r)},fallbackCss:{display:"block",opacity:1},css3transition:t.css3transition}),this.mask&&void 0===e&&this.mask.show())},close:function(e){var t=this.options,n=this,i=!!t.animationOut&&a(t.animationOut),r=this.getApi();!1!==t.onBeforeClose(r)&&"block"===this.$overlay.css("display")&&(s({el:this.$overlay,animation:i,complete:function(){n.$overlay.css({display:"none"}),n.options.onClose(r)},fallbackCss:{display:"none",opacity:0},css3transition:t.css3transition}),this.mask&&void 0===e&&this.mask.hide())},onKeyUp:function(e){27===e.keyCode&&"none"!==this.$overlay.css("display")&&this.close()},getOverlay:function(){return this.$overlay},getOptions:function(){return this.options},setOptions:function(e){c(this.options,e||{});var t=this.options;"none"===t.animationIn&&(t.animationIn=!1),"none"===t.animationOut&&(t.animationOut=!1),t.showMask&&(!t.mask.durationIn&&t.animationIn&&t.animationIn.duration&&(t.mask.durationIn=t.animationIn.duration),!t.mask.durationOut&&t.animationOut&&t.animationOut.duration&&(t.mask.durationOut=t.animationOut.duration),t.mask.durationIn||t.animationIn||(t.mask.durationIn=0),t.mask.durationOut||t.animationOut||(t.mask.durationOut=0),"boolean"!=typeof t.mask.css3transition&&(t.mask.css3transition=t.css3transition))},getApi:function(){return{open:i(this.open,this),close:i(this.close,this),getOverlay:i(this.getOverlay,this),getOptions:i(this.getOptions,this),setOptions:i(this.setOptions,this)}}},o.fn.overlay=function(e){return new f(o(this).first(),e)}}(window.ender||window.jQuery||window.Zepto),$(document).ready(function(){new ClipboardJS("#liveCopyToClip");var s=$("html").data("domain");$("#submitBtn").click(function(){if(-1==$("#originalURL").val().search(/^(ftp|http|https):\/\//)){var e="http://"+$("#originalURL").val();$("#originalURL").val(e)}if(isURL($("#originalURL").val())){var t=escape($("#originalURL").val()).replace(/\+/g,"%20");$.ajax({url:"/rpc/setLink",type:"json",method:"post",data:"originalURL="+t,success:function(e){$("#errorMessage").html(""),!1===e.shortenError?($("#shortenedLink").html(e.shortenedURL),$("#liveSelect").val(e.shortenedURL),$("#shortenedLink").attr("href",e.shortenedURL)):($("#response").css({display:"none"}),$("#errorMessage").html(e.shortenError)),$("#response").css({display:"block"})},error:function(e){}})}else $("#errorMessage").html("Invalid link."),$("#response").css({display:"none"})}),$("#getStatsSubmitBtn").click(function(){var e=$("#shortenedURL").val(),t=new RegExp("^http://"+s+"/[a-zA-Z0-9]{6,32}$"),a="";t.test(e)?$.ajax({url:"/rpc/getLink",type:"json",method:"post",data:"shortenedURL="+e,success:function(e){if(!1===e.error){$("#statsError").html(""),$(".addedIn").remove(),a="http://"+s+"/"+e.linkHash,$("#StatsTitle").attr("href",a),$("#StatsTitle").html(a),$("#StatsOriginalURL").val(e.originalURL),$("#timesUsed").html(e.timesUsed);var t=new Date(e.dateShortened).toLocaleString();$("#dateShortened").html(t);var n="",i="";if(0<e.topUserAgents.length){for(var r=0;e.topUserAgents.length>r;r++)i="",r%2==0&&(i="odd"),n+='<tr class="'+i+' addedIn"><td>'+e.topUserAgents[r].userAgent+'</td><td class="tableCount">'+e.topUserAgents[r].agentCount+"</td></tr>";$(".userAgents").append(n)}if(0<e.topReferrals.length){n="";for(var o=0;e.topReferrals.length>o;o++)i="",o%2==0&&(i="odd"),referrer=e.topReferrals[o].referrer?e.topReferrals[o].referrer:"&lt;none&gt;",n+='<tr class="'+i+' addedIn"><td>'+referrer+'</td><td class="tableCount">'+e.topReferrals[o].referrerCount+"</td></tr>";$(".referrers").append(n)}$("#getLinkResponse").css({display:"block"})}else $("#statsError").html(e.error),""!==e.linkHash&&""!==e.originalURL&&(a="http://"+s+"/"+e.linkHash,$("#StatsTitle").attr("href",a),$("#StatsTitle").html(a),$("#StatsOriginalURL").val(e.originalURL),$("#timesUsed").html("0"))},error:function(e){$("#statsError").html("Error, try again later"),console.log(e)}}):$("#statsError").html("Not a "+s+" URL")}),$("#liveSelect").on("click",function(){$("#liveSelect")[0].select()}),$("#shortenedURL").on("click",function(){$("#shortenedURL")[0].select()}),$("#Modal").overlay({trigger:"#GetURLStats",position:"fixed",showMask:!1,startAnimationCss:{opacity:0,top:0},animationIn:{opacity:1,top:80,duration:400},animationOut:{opacity:0,top:-200,duration:400},onOpen:function(){$("#statsError").html("")}})});