1window.matchMedia||(window.matchMedia=function(e){"use strict";var t=e.document,n=t.documentElement,i=[],r=0,a="",o={},s=/\s*(only|not)?\s*(screen|print|[a-z\-]+)\s*(and)?\s*/i,l=/^\s*\(\s*(-[a-z]+-)?(min-|max-)?([a-z\-]+)\s*(:?\s*([0-9]+(\.[0-9]+)?|portrait|landscape)(px|em|dppx|dpcm|rem|%|in|cm|mm|ex|pt|pc|\/([0-9]+(\.[0-9]+)?))?)?\s*\)\s*$/,u=0,c=function(e){var t=-1!==e.indexOf(",")&&e.split(",")||[e],n=t.length-1,i=n,r=null,u=null,c="",d=0,p=!1,f="",h="",m=null,g=0,v=0,y=null,b="",x="",w="",E="",T="",C=!1;if(""===e)return!0;do if(r=t[i-n],p=!1,u=r.match(s),u&&(c=u[0],d=u.index),!u||-1===r.substring(0,d).indexOf("(")&&(d||!u[3]&&c!==u.input))C=!1;else{if(h=r,p="not"===u[1],d||(f=u[2],h=r.substring(c.length)),C=f===a||"all"===f||""===f,m=-1!==h.indexOf(" and ")&&h.split(" and ")||[h],g=m.length-1,v=g,C&&g>=0&&""!==h)do{if(y=m[g].match(l),!y||!o[y[3]]){C=!1;break}if(b=y[2],x=y[5],E=x,w=y[7],T=o[y[3]],w&&(E="px"===w?Number(x):"em"===w||"rem"===w?16*x:y[8]?(x/y[8]).toFixed(2):"dppx"===w?96*x:"dpcm"===w?.3937*x:Number(x)),C="min-"===b&&E?T>=E:"max-"===b&&E?E>=T:E?T===E:!!T,!C)break}while(g--);if(C)break}while(n--);return p?!C:C},d=function(){var t=e.innerWidth||n.clientWidth,i=e.innerHeight||n.clientHeight,r=e.screen.width,a=e.screen.height,s=e.screen.colorDepth,l=e.devicePixelRatio;o.width=t,o.height=i,o["aspect-ratio"]=(t/i).toFixed(2),o["device-width"]=r,o["device-height"]=a,o["device-aspect-ratio"]=(r/a).toFixed(2),o.color=s,o["color-index"]=Math.pow(2,s),o.orientation=i>=t?"portrait":"landscape",o.resolution=l&&96*l||e.screen.deviceXDPI||96,o["device-pixel-ratio"]=l||1},p=function(){clearTimeout(u),u=setTimeout(function(){var t=null,n=r-1,a=n,o=!1;if(n>=0){d();do if(t=i[a-n],t&&(o=c(t.mql.media),(o&&!t.mql.matches||!o&&t.mql.matches)&&(t.mql.matches=o,t.listeners)))for(var s=0,l=t.listeners.length;l>s;s++)t.listeners[s]&&t.listeners[s].call(e,t.mql);while(n--)}},10)},f=function(){var n=t.getElementsByTagName("head")[0],i=t.createElement("style"),r=null,o=["screen","print","speech","projection","handheld","tv","braille","embossed","tty"],s=0,l=o.length,u="#mediamatchjs { position: relative; z-index: 0; }",c="",f=e.addEventListener||(c="on")&&e.attachEvent;for(i.type="text/css",i.id="mediamatchjs",n.appendChild(i),r=e.getComputedStyle&&e.getComputedStyle(i)||i.currentStyle;l>s;s++)u+="@media "+o[s]+" { #mediamatchjs { position: relative; z-index: "+s+" } }";i.styleSheet?i.styleSheet.cssText=u:i.textContent=u,a=o[1*r.zIndex||0],n.removeChild(i),d(),f(c+"resize",p),f(c+"orientationchange",p)};return f(),function(e){var t=r,n={"matches":!1,"media":e,"addListener":function(e){i[t].listeners||(i[t].listeners=[]),e&&i[t].listeners.push(e)},"removeListener":function(e){var n=i[t],r=0,a=0;if(n)for(a=n.listeners.length;a>r;r++)n.listeners[r]===e&&n.listeners.splice(r,1)}};return""===e?(n.matches=!0,n):(n.matches=c(e),r=i.push({"mql":n,"listeners":null}),n)}}(window)),function(e){function t(){x(!0)}if(e.respond={},respond.update=function(){},respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches&&e.matchMedia("(min-monochrome: 0)").matches,!respond.mediaQueriesSupported){var n,i,r,a=e.document,o=a.documentElement,s=[],l=[],u=[],c={},d=30,p=a.getElementsByTagName("head")[0]||o,f=a.getElementsByTagName("base")[0],h=p.getElementsByTagName("link"),m=[],g=function(){for(var t,n,i,r,a=h,o=a.length,s=0;o>s;s++)t=a[s],n=t.href,i=t.media,r=t.rel&&"stylesheet"===t.rel.toLowerCase(),n&&r&&!c[n]&&(t.styleSheet&&t.styleSheet.rawCssText?(y(t.styleSheet.rawCssText,n,i),c[n]=!0):(!/^([a-zA-Z:]*\/\/)/.test(n)&&!f||n.replace(RegExp.$1,"").split("/")[0]===e.location.host)&&m.push({"href":n,"media":i}));v()},v=function(){if(m.length){var e=m.shift();w(e.href,function(t){y(t,e.href,e.media),c[e.href]=!0,v()})}},y=function(e,t,n){var i,r,a,o,u,c=e.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),d=c&&c.length||0,t=t.substring(0,t.lastIndexOf("/")),p=function(e){return e.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+t+"$2$3")},f=!d&&n,h=0;for(t.length&&(t+="/"),f&&(d=1);d>h;h++)for(i=0,f?(r=n,l.push(p(e))):(r=c[h].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,l.push(RegExp.$2&&p(RegExp.$2))),o=r.split(","),u=o.length;u>i;i++)a=o[i],s.push({"media":a.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all","rules":l.length-1,"hasquery":a.indexOf("(")>-1,"minw":a.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),"maxw":a.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});x()},b=function(){var e,t=a.createElement("div"),n=a.body,i=!1;return t.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=i=a.createElement("body"),n.style.background="none"),n.appendChild(t),o.insertBefore(n,o.firstChild),e=t.offsetWidth,i?o.removeChild(n):n.removeChild(t),e=r=parseFloat(e)},x=function(e){var t="clientWidth",c=o[t],f="CSS1Compat"===a.compatMode&&c||a.body[t]||c,m={},g=h[h.length-1],v=(new Date).getTime();if(e&&n&&d>v-n)return clearTimeout(i),void(i=setTimeout(x,d));n=v;for(var y in s){var w=s[y],E=w.minw,T=w.maxw,C=null===E,k=null===T,N="em";E&&(E=parseFloat(E)*(E.indexOf(N)>-1?r||b():1)),T&&(T=parseFloat(T)*(T.indexOf(N)>-1?r||b():1)),w.hasquery&&(C&&k||!(C||f>=E)||!(k||T>=f))||(m[w.media]||(m[w.media]=[]),m[w.media].push(l[w.rules]))}for(var y in u)u[y]&&u[y].parentNode===p&&p.removeChild(u[y]);for(var y in m){var _=a.createElement("style"),S=m[y].join("\n");_.type="text/css",_.media=y,p.insertBefore(_,g.nextSibling),_.styleSheet?_.styleSheet.cssText=S:_.appendChild(a.createTextNode(S)),u.push(_)}},w=function(e,t){var n=E();n&&(n.open("GET",e,!0),n.onreadystatechange=function(){4!=n.readyState||200!=n.status&&304!=n.status||t(n.responseText)},4!=n.readyState&&n.send(null))},E=function(){var e=!1;try{e=new XMLHttpRequest}catch(t){e=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return e}}();g(),respond.update=g,e.addEventListener?e.addEventListener("resize",t,!1):e.attachEvent&&e.attachEvent("onresize",t)}}(this),/*! 2 * jQuery JavaScript Library v1.10.2 3 * http://jquery.com/ 4 * 5 * Includes Sizzle.js 6 * http://sizzlejs.com/ 7 * 8 * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors 9 * Released under the MIT license 10 * http://jquery.org/license 11 * 12 * Date: 2013-07-03T13:48Z 13 */ 14function(e,t){function n(e){var t=e.length,n=ct.type(e);return ct.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e){var t=kt[e]={};return ct.each(e.match(pt)||[],function(e,n){t[n]=!0}),t}function r(e,n,i,r){if(ct.acceptData(e)){var a,o,s=ct.expando,l=e.nodeType,u=l?ct.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(r||u[c].data)||i!==t||"string"!=typeof n)return c||(c=l?e[s]=tt.pop()||ct.guid++:s),u[c]||(u[c]=l?{}:{"toJSON":ct.noop}),("object"==typeof n||"function"==typeof n)&&(r?u[c]=ct.extend(u[c],n):u[c].data=ct.extend(u[c].data,n)),o=u[c],r||(o.data||(o.data={}),o=o.data),i!==t&&(o[ct.camelCase(n)]=i),"string"==typeof n?(a=o[n],null==a&&(a=o[ct.camelCase(n)])):a=o,a}}function a(e,t,n){if(ct.acceptData(e)){var i,r,a=e.nodeType,o=a?ct.cache:e,l=a?e[ct.expando]:ct.expando;if(o[l]){if(t&&(i=n?o[l]:o[l].data)){ct.isArray(t)?t=t.concat(ct.map(t,ct.camelCase)):t in i?t=[t]:(t=ct.camelCase(t),t=t in i?[t]:t.split(" ")),r=t.length;for(;r--;)delete i[t[r]];if(n?!s(i):!ct.isEmptyObject(i))return}(n||(delete o[l].data,s(o[l])))&&(a?ct.cleanData([e],!0):ct.support.deleteExpando||o!=o.window?delete o[l]:o[l]=null)}}}function o(e,n,i){if(i===t&&1===e.nodeType){var r="data-"+n.replace(_t,"-$1").toLowerCase();if(i=e.getAttribute(r),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:+i+""===i?+i:Nt.test(i)?ct.parseJSON(i):i}catch(a){}ct.data(e,n,i)}else i=t}return i}function s(e){var t;for(t in e)if(("data"!==t||!ct.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function l(){return!0}function u(){return!1}function c(){try{return G.activeElement}catch(e){}}function d(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function p(e,t,n){if(ct.isFunction(t))return ct.grep(e,function(e,i){return!!t.call(e,i,e)!==n});
14if(t.nodeType)return ct.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Bt.test(t))return ct.filter(t,e,n);t=ct.filter(t,e)}return ct.grep(e,function(e){return ct.inArray(e,t)>=0!==n})}function f(e){var t=Ut.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){return ct.nodeName(e,"table")&&ct.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function m(e){return e.type=(null!==ct.find.attr(e,"type"))+"/"+e.type,e}function g(e){var t=an.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function v(e,t){for(var n,i=0;null!=(n=e[i]);i++)ct._data(n,"globalEval",!t||ct._data(t[i],"globalEval"))}function y(e,t){if(1===t.nodeType&&ct.hasData(e)){var n,i,r,a=ct._data(e),o=ct._data(t,a),s=a.events;if(s){delete o.handle,o.events={};for(n in s)for(i=0,r=s[n].length;r>i;i++)ct.event.add(t,n,s[n][i])}o.data&&(o.data=ct.extend({},o.data))}}function b(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!ct.support.noCloneEvent&&t[ct.expando]){r=ct._data(t);for(i in r.events)ct.removeEvent(t,i,r.handle);t.removeAttribute(ct.expando)}"script"===n&&t.text!==e.text?(m(t).text=e.text,g(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),ct.support.html5Clone&&e.innerHTML&&!ct.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&tn.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)}}function x(e,n){var i,r,a=0,o=typeof e.getElementsByTagName!==Y?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==Y?e.querySelectorAll(n||"*"):t;if(!o)for(o=[],i=e.childNodes||e;null!=(r=i[a]);a++)!n||ct.nodeName(r,n)?o.push(r):ct.merge(o,x(r,n));return n===t||n&&ct.nodeName(e,n)?ct.merge([e],o):o}function w(e){tn.test(e.type)&&(e.defaultChecked=e.checked)}function E(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,r=kn.length;r--;)if(t=kn[r]+n,t in e)return t;return i}function T(e,t){return e=t||e,"none"===ct.css(e,"display")||!ct.contains(e.ownerDocument,e)}function C(e,t){for(var n,i,r,a=[],o=0,s=e.length;s>o;o++)i=e[o],i.style&&(a[o]=ct._data(i,"olddisplay"),n=i.style.display,t?(a[o]||"none"!==n||(i.style.display=""),""===i.style.display&&T(i)&&(a[o]=ct._data(i,"olddisplay",S(i.nodeName)))):a[o]||(r=T(i),(n&&"none"!==n||!r)&&ct._data(i,"olddisplay",r?n:ct.css(i,"display"))));for(o=0;s>o;o++)i=e[o],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?a[o]||"":"none"));return e}function k(e,t,n){var i=yn.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function N(e,t,n,i,r){for(var a=n===(i?"border":"content")?4:"width"===t?1:0,o=0;4>a;a+=2)"margin"===n&&(o+=ct.css(e,n+Cn[a],!0,r)),i?("content"===n&&(o-=ct.css(e,"padding"+Cn[a],!0,r)),"margin"!==n&&(o-=ct.css(e,"border"+Cn[a]+"Width",!0,r))):(o+=ct.css(e,"padding"+Cn[a],!0,r),"padding"!==n&&(o+=ct.css(e,"border"+Cn[a]+"Width",!0,r)));return o}function _(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,a=dn(e),o=ct.support.boxSizing&&"border-box"===ct.css(e,"boxSizing",!1,a);if(0>=r||null==r){if(r=pn(e,t,a),(0>r||null==r)&&(r=e.style[t]),bn.test(r))return r;i=o&&(ct.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+N(e,t,n||(o?"border":"content"),i,a)+"px"}function S(e){var t=G,n=wn[e];return n||(n=D(e,t),"none"!==n&&n||(cn=(cn||ct("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(cn[0].contentWindow||cn[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=D(e,t),cn.detach()),wn[e]=n),n}function D(e,t){var n=ct(t.createElement(e)).appendTo(t.body),i=ct.css(n[0],"display");return n.remove(),i}function A(e,t,n,i){var r;if(ct.isArray(t))ct.each(t,function(t,r){n||_n.test(e)?i(e,r):A(e+"["+("object"==typeof r?t:"")+"]",r,n,i)});else if(n||"object"!==ct.type(t))i(e,t);else for(r in t)A(e+"["+r+"]",t[r],n,i)}function P(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,a=t.toLowerCase().match(pt)||[];if(ct.isFunction(n))for(;i=a[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function M(e,t,n,i){function r(s){var l;return a[s]=!0,ct.each(e[s]||[],function(e,s){var u=s(t,n,i);return"string"!=typeof u||o||a[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var a={},o=e===Vn;return r(t.dataTypes[0])||!a["*"]&&r("*")}function j(e,n){var i,r,a=ct.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((a[r]?e:i||(i={}))[r]=n[r]);return i&&ct.extend(!0,e,i),e}function O(e,n,i){for(var r,a,o,s,l=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),a===t&&(a=e.mimeType||n.getResponseHeader("Content-Type"));if(a)for(s in l)if(l[s]&&l[s].test(a)){u.unshift(s);break}if(u[0]in i)o=u[0];else{for(s in i){if(!u[0]||e.converters[s+" "+u[0]]){o=s;break}r||(r=s)}o=o||r}return o?(o!==u[0]&&u.unshift(o),i[o]):void 0}function I(e,t,n,i){var r,a,o,s,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=c.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(o=u[l+" "+a]||u["* "+a],!o)for(r in u)if(s=r.split(" "),s[1]===a&&(o=u[l+" "+s[0]]||u["* "+s[0]])){o===!0?o=u[r]:u[r]!==!0&&(a=s[0],c.unshift(s[1]));break}if(o!==!0)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(d){return{"state":"parsererror","error":o?d:"No conversion from "+l+" to "+a}}}return{"state":"success","data":t}}function L(){try{return new e.XMLHttpRequest}catch(t){}}function H(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function F(){return setTimeout(function(){Zn=t}),Zn=ct.now()}function R(e,t,n){for(var i,r=(ai[t]||[]).concat(ai["*"]),a=0,o=r.length;o>a;a++)if(i=r[a].call(n,t,e))return i}function q(e,t,n){var i,r,a=0,o=ri.length,s=ct.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Zn||F(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,a=1-i,o=0,l=u.tweens.length;l>o;o++)u.tweens[o].run(a);return s.notifyWith(e,[u,a,n]),1>a&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({"elem":e,"props":ct.extend({},t),"opts":ct.extend(!0,{"specialEasing":{}},n),"originalProperties":t,"originalOptions":n,"startTime":Zn||F(),"duration":n.duration,"tweens":[],"createTween":function(t,n){var i=ct.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.o
vendor: 4,249 bytes, line 14
14pts.easing);return u.tweens.push(i),i},"stop":function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for($(c,u.opts.specialEasing);o>a;a++)if(i=ri[a].call(u,e,c,u.opts))return i;return ct.map(c,R,u),ct.isFunction(u.opts.start)&&u.opts.start.call(e,u),ct.fx.timer(ct.extend(l,{"elem":e,"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)}function $(e,t){var n,i,r,a,o;for(n in e)if(i=ct.camelCase(n),r=t[i],a=e[n],ct.isArray(a)&&(r=a[1],a=e[n]=a[0]),n!==i&&(e[i]=a,delete e[n]),o=ct.cssHooks[i],o&&"expand"in o){a=o.expand(a),delete e[i];for(n in a)n in e||(e[n]=a[n],t[n]=r)}else t[i]=r}function B(e,t,n){var i,r,a,o,s,l,u=this,c={},d=e.style,p=e.nodeType&&T(e),f=ct._data(e,"fxshow");n.queue||(s=ct._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,ct.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===ct.css(e,"display")&&"none"===ct.css(e,"float")&&(ct.support.inlineBlockNeedsLayout&&"inline"!==S(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",ct.support.shrinkWrapBlocks||u.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(i in t)if(r=t[i],ti.exec(r)){if(delete t[i],a=a||"toggle"===r,r===(p?"hide":"show"))continue;c[i]=f&&f[i]||ct.style(e,i)}if(!ct.isEmptyObject(c)){f?"hidden"in f&&(p=f.hidden):f=ct._data(e,"fxshow",{}),a&&(f.hidden=!p),p?ct(e).show():u.done(function(){ct(e).hide()}),u.done(function(){var t;ct._removeData(e,"fxshow");for(t in c)ct.style(e,t,c[t])});for(i in c)o=R(p?f[i]:0,i,u),i in f||(f[i]=o.start,p&&(o.end=o.start,o.start="width"===i||"height"===i?1:0))}}function W(e,t,n,i,r){return new W.prototype.init(e,t,n,i,r)}function V(e,t){var n,i={"height":e},r=0;for(t=t?1:0;4>r;r+=2-t)n=Cn[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function z(e){return ct.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var U,X,Y=typeof t,Q=e.location,G=e.document,K=G.documentElement,J=e.jQuery,Z=e.$,et={},tt=[],nt="1.10.2",it=tt.concat,rt=tt.push,at=tt.slice,ot=tt.indexOf,st=et.toString,lt=et.hasOwnProperty,ut=nt.trim,ct=function(e,t){return new ct.fn.init(e,t,X)},dt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pt=/\S+/g,ft=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ht=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,mt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,gt=/^[\],:{}\s]*$/,vt=/(?:^|:|,)(?:\s*\[)+/g,yt=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,bt=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,xt=/^-ms-/,wt=/-([\da-z])/gi,Et=function(e,t){return t.toUpperCase()},Tt=function(e){(G.addEventListener||"load"===e.type||"complete"===G.readyState)&&(Ct(),ct.ready())},Ct=function(){G.addEventListener?(G.removeEventListener("DOMContentLoaded",Tt,!1),e.removeEventListener("load",Tt,!1)):(G.detachEvent("onreadystatechange",Tt),e.detachEvent("onload",Tt))};ct.fn=ct.prototype={"jquery":nt,"constructor":ct,"init":function(e,n,i){var r,a;if(!e)return this;if("string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ht.exec(e),!r||!r[1]&&n)return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e);if(r[1]){if(n=n instanceof ct?n[0]:n,ct.merge(this,ct.parseHTML(r[1],n&&n.nodeType?n.ownerDocument||n:G,!0)),mt.test(r[1])&&ct.isPlainObject(n))for(r in n)ct.isFunction(this[r])?this[r](n[r]):this.attr(r,n[r]);return this}if(a=G.getElementById(r[2]),a&&a.parentNode){if(a.id!==r[2])return i.find(e);this.length=1,this[0]=a}return this.context=G,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ct.isFunction(e)?i.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),ct.makeArray(e,this))},"selector":"","length":0,"toArray":function(){return at.call(this)},"get":function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},"pushStack":function(e){var t=ct.merge(this.constructor(),e);
14return t.prevObject=this,t.context=this.context,t},"each":function(e,t){return ct.each(this,e,t)},"ready":function(e){return ct.ready.promise().done(e),this},"slice":function(){return this.pushStack(at.apply(this,arguments))},"first":function(){return this.eq(0)},"last":function(){return this.eq(-1)},"eq":function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},"map":function(e){return this.pushStack(ct.map(this,function(t,n){return e.call(t,n,t)}))},"end":function(){return this.prevObject||this.constructor(null)},"push":rt,"sort":[].sort,"splice":[].splice},ct.fn.init.prototype=ct.fn,ct.extend=ct.fn.extend=function(){var e,n,i,r,a,o,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||ct.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(a=arguments[l]))for(r in a)e=s[r],i=a[r],s!==i&&(c&&i&&(ct.isPlainObject(i)||(n=ct.isArray(i)))?(n?(n=!1,o=e&&ct.isArray(e)?e:[]):o=e&&ct.isPlainObject(e)?e:{},s[r]=ct.extend(c,o,i)):i!==t&&(s[r]=i));return s},ct.extend({"expando":"jQuery"+(nt+Math.random()).replace(/\D/g,""),"noConflict":function(t){return e.$===ct&&(e.$=Z),t&&e.jQuery===ct&&(e.jQuery=J),ct},"isReady":!1,"readyWait":1,"holdReady":function(e){e?ct.readyWait++:ct.ready(!0)},"ready":function(e){if(e===!0?!--ct.readyWait:!ct.isReady){if(!G.body)return setTimeout(ct.ready);ct.isReady=!0,e!==!0&&--ct.readyWait>0||(U.resolveWith(G,[ct]),ct.fn.trigger&&ct(G).trigger("ready").off("ready"))}},"isFunction":function(e){return"function"===ct.type(e)},"isArray":Array.isArray||function(e){return"array"===ct.type(e)},"isWindow":function(e){return null!=e&&e==e.window},"isNumeric":function(e){return!isNaN(parseFloat(e))&&isFinite(e)},"type":function(e){return null==e?String(e):"object"==typeof e||"function"==typeof e?et[st.call(e)]||"object":typeof e},"isPlainObject":function(e){var n;if(!e||"object"!==ct.type(e)||e.nodeType||ct.isWindow(e))return!1;try{if(e.constructor&&!lt.call(e,"constructor")&&!lt.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}if(ct.support.ownLast)for(n in e)return lt.call(e,n);for(n in e);return n===t||lt.call(e,n)},"isEmptyObject":function(e){var t;for(t in e)return!1;return!0},"error":function(e){throw new Error(e)},"parseHTML":function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||G;var i=mt.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=ct.buildFragment([e],t,r),r&&ct(r).remove(),ct.merge([],i.childNodes))},"parseJSON":function(t){return e.JSON&&e.JSON.parse?e.JSON.parse(t):null===t?t:"string"==typeof t&&(t=ct.trim(t),t&>.test(t.replace(yt,"@").replace(bt,"]").replace(vt,"")))?new Function("return "+t)():void ct.error("Invalid JSON: "+t)},"parseXML":function(n){var i,r;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(r=new DOMParser,i=r.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(a){i=t}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||ct.error("Invalid XML: "+n),i},"noop":function(){},"globalEval":function(t){t&&ct.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},"camelCase":function(e){return e.replace(xt,"ms-").replace(wt,Et)},"nodeName":function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"each":function(e,t,i){var r,a=0,o=e.length,s=n(e);if(i){if(s)for(;o>a&&(r=t.apply(e[a],i),r!==!1);a++);else for(a in e)if(r=t.apply(e[a],i),r===!1)break}else if(s)for(;o>a&&(r=t.call(e[a],a,e[a]),r!==!1);a++);else for(a in e)if(r=t.call(e[a],a,e[a]),r===!1)break;return e},"trim":ut&&!ut.call("\ufeff\xa0")?function(e){return null==e?"":ut.call(e)}:function(e){return null==e?"":(e+"").replace(ft,"")},"makeArray":function(e,t){var i=t||[];return null!=e&&(n(Object(e))?ct.merge(i,"string"==typeof e?[e]:e):rt.call(i,e)),i},"inArray":function(e,t,n){var i;if(t){if(ot)return ot.call(t,e,n);for(i=t.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in t&&t[n]===e)return n}return-1},"merge":function(e,n){var i=n.length,r=e.length,a=0;if("number"==typeof i)for(;i>a;a++)e[r++]=n[a];else for(;n[a]!==t;)e[r++]=n[a++];return e.length=r,e},"grep":function(e,t,n){var i,r=[],a=0,o=e.length;for(n=!!n;o>a;a++)i=!!t(e[a],a),n!==i&&r.push(e[a]);return r},"map":function(e,t,i){var r,a=0,o=e.length,s=n(e),l=[];
14if(s)for(;o>a;a++)r=t(e[a],a,i),null!=r&&(l[l.length]=r);else for(a in e)r=t(e[a],a,i),null!=r&&(l[l.length]=r);return it.apply([],l)},"guid":1,"proxy":function(e,n){var i,r,a;return"string"==typeof n&&(a=e[n],n=e,e=a),ct.isFunction(e)?(i=at.call(arguments,2),r=function(){return e.apply(n||this,i.concat(at.call(arguments)))},r.guid=e.guid=e.guid||ct.guid++,r):t},"access":function(e,n,i,r,a,o,s){var l=0,u=e.length,c=null==i;if("object"===ct.type(i)){a=!0;for(l in i)ct.access(e,n,l,i[l],!0,o,s)}else if(r!==t&&(a=!0,ct.isFunction(r)||(s=!0),c&&(s?(n.call(e,r),n=null):(c=n,n=function(e,t,n){return c.call(ct(e),n)})),n))for(;u>l;l++)n(e[l],i,s?r:r.call(e[l],l,n(e[l],i)));return a?e:c?n.call(e):u?n(e[0],i):o},"now":function(){return(new Date).getTime()},"swap":function(e,t,n,i){var r,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];r=n.apply(e,i||[]);for(a in t)e.style[a]=o[a];return r}}),ct.ready.promise=function(t){if(!U)if(U=ct.Deferred(),"complete"===G.readyState)setTimeout(ct.ready);else if(G.addEventListener)G.addEventListener("DOMContentLoaded",Tt,!1),e.addEventListener("load",Tt,!1);else{G.attachEvent("onreadystatechange",Tt),e.attachEvent("onload",Tt);var n=!1;try{n=null==e.frameElement&&G.documentElement}catch(i){}n&&n.doScroll&&!function r(){if(!ct.isReady){try{n.doScroll("left")}catch(e){return setTimeout(r,50)}Ct(),ct.ready()}}()}return U.promise(t)},ct.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){et["[object "+t+"]"]=t.toLowerCase()}),X=ct(G),/*! 15 * Sizzle CSS Selector Engine v1.10.2 16 * http://sizzlejs.com/ 17 * 18 * Copyright 2013 jQuery Foundation, Inc. and other contributors 19 * Released under the MIT license 20 * http://jquery.org/license 21 * 22 * Date: 2013-07-03 23 */ 24function(e,t){function n(e,t,n,i){var r,a,o,s,l,u,c,d,h,m;if((t?t.ownerDocument||t:q)!==M&&P(t),t=t||M,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(O&&!i){if(r=bt.exec(e))if(o=r[1]){if(9===s){if(a=t.getElementById(o),!a||!a.parentNode)return n;if(a.id===o)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(o))&&F(t,a)&&a.id===o)return n.push(a),n}else{if(r[2])return et.apply(n,t.getElementsByTagName(e)),n;if((o=r[3])&&T.getElementsByClassName&&t.getElementsByClassName)return et.apply(n,t.getElementsByClassName(o)),n}if(T.qsa&&(!I||!I.test(e))){if(d=c=R,h=t,m=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=p(e),(c=t.getAttribute("id"))?d=c.replace(Et,"\\$&"):t.setAttribute("id",d),d="[id='"+d+"'] ",l=u.length;l--;)u[l]=d+f(u[l]);h=ft.test(e)&&t.parentNode||t,m=u.join(",")}if(m)try{return et.apply(n,h.querySelectorAll(m)),n}catch(g){}finally{c||t.removeAttribute("id")}}}return w(e.replace(ut,"$1"),t,n,i)}function i(){function e(n,i){return t.push(n+=" ")>k.cacheLength&&delete e[t.shift()],e[n]=i}var t=[];return e}function r(e){return e[R]=!0,e}function a(e){var t=M.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),i=e.length;i--;)k.attrHandle[n[i]]=t}function s(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Q)-(~e.sourceIndex||Q);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function l(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return r(function(t){return t=+t,r(function(n,i){for(var r,a=e([],n.length,t),o=a.length;o--;)n[r=a[o]]&&(n[r]=!(i[r]=n[r]))})})}function d(){}function p(e,t){var i,r,a,o,s,l,u,c=V[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=k.preFilter;s;){(!i||(r=dt.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(a=[])),i=!1,(r=pt.exec(s))&&(i=r.shift(),a.push({"value":i,"type":r[0].replace(ut," ")}),s=s.slice(i.length));
24for(o in k.filter)!(r=vt[o].exec(s))||u[o]&&!(r=u[o](r))||(i=r.shift(),a.push({"value":i,"type":o,"matches":r}),s=s.slice(i.length));if(!i)break}return t?s.length:s?n.error(e):V(e,l).slice(0)}function f(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function h(e,t,n){var i=t.dir,r=n&&"parentNode"===i,a=B++;return t.first?function(t,n,a){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,a)}:function(t,n,o){var s,l,u,c=$+" "+a;if(o){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,o))return!0}else for(;t=t[i];)if(1===t.nodeType||r)if(u=t[R]||(t[R]={}),(l=u[i])&&l[0]===c){if((s=l[1])===!0||s===C)return s===!0}else if(l=u[i]=[c],l[1]=e(t,n,o)||C,l[1]===!0)return!0}}function m(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function g(e,t,n,i,r){for(var a,o=[],s=0,l=e.length,u=null!=t;l>s;s++)(a=e[s])&&(!n||n(a,i,r))&&(o.push(a),u&&t.push(s));return o}function v(e,t,n,i,a,o){return i&&!i[R]&&(i=v(i)),a&&!a[R]&&(a=v(a,o)),r(function(r,o,s,l){var u,c,d,p=[],f=[],h=o.length,m=r||x(t||"*",s.nodeType?[s]:s,[]),v=!e||!r&&t?m:g(m,p,e,s,l),y=n?a||(r?e:h||i)?[]:o:v;if(n&&n(v,y,s,l),i)for(u=g(y,f),i(u,[],s,l),c=u.length;c--;)(d=u[c])&&(y[f[c]]=!(v[f[c]]=d));if(r){if(a||e){if(a){for(u=[],c=y.length;c--;)(d=y[c])&&u.push(v[c]=d);a(null,y=[],u,l)}for(c=y.length;c--;)(d=y[c])&&(u=a?nt.call(r,d):p[c])>-1&&(r[u]=!(o[u]=d))}}else y=g(y===o?y.splice(h,y.length):y),a?a(null,o,y,l):et.apply(o,y)})}function y(e){for(var t,n,i,r=e.length,a=k.relative[e[0].type],o=a||k.relative[" "],s=a?1:0,l=h(function(e){return e===t},o,!0),u=h(function(e){return nt.call(t,e)>-1},o,!0),c=[function(e,n,i){return!a&&(i||n!==D)||((t=n).nodeType?l(e,n,i):u(e,n,i))}];r>s;s++)if(n=k.relative[e[s].type])c=[h(m(c),n)];else{if(n=k.filter[e[s].type].apply(null,e[s].matches),n[R]){for(i=++s;r>i&&!k.relative[e[i].type];i++);return v(s>1&&m(c),s>1&&f(e.slice(0,s-1).concat({"value":" "===e[s-2].type?"*":""})).replace(ut,"$1"),n,i>s&&y(e.slice(s,i)),r>i&&y(e=e.slice(i)),r>i&&f(e))}c.push(n)}return m(c)}function b(e,t){var i=0,a=t.length>0,o=e.length>0,s=function(r,s,l,u,c){var d,p,f,h=[],m=0,v="0",y=r&&[],b=null!=c,x=D,w=r||o&&k.find.TAG("*",c&&s.parentNode||s),E=$+=null==x?1:Math.random()||.1;for(b&&(D=s!==M&&s,C=i);null!=(d=w[v]);v++){if(o&&d){for(p=0;f=e[p++];)if(f(d,s,l)){u.push(d);break}b&&($=E,C=++i)}a&&((d=!f&&d)&&m--,r&&y.push(d))}if(m+=v,a&&v!==m){for(p=0;f=t[p++];)f(y,h,s,l);if(r){if(m>0)for(;v--;)y[v]||h[v]||(h[v]=J.call(u));h=g(h)}et.apply(u,h),b&&!r&&h.length>0&&m+t.length>1&&n.uniqueSort(u)}return b&&($=E,D=x),y};return a?r(s):s}function x(e,t,i){for(var r=0,a=t.length;a>r;r++)n(e,t[r],i);return i}function w(e,t,n,i){var r,a,o,s,l,u=p(e);if(!i&&1===u.length){if(a=u[0]=u[0].slice(0),a.length>2&&"ID"===(o=a[0]).type&&T.getById&&9===t.nodeType&&O&&k.relative[a[1].type]){if(t=(k.find.ID(o.matches[0].replace(Tt,Ct),t)||[])[0],!t)return n;e=e.slice(a.shift().value.length)}for(r=vt.needsContext.test(e)?0:a.length;r--&&(o=a[r],!k.relative[s=o.type]);)if((l=k.find[s])&&(i=l(o.matches[0].replace(Tt,Ct),ft.test(a[0].type)&&t.parentNode||t))){if(a.splice(r,1),e=i.length&&f(a),!e)return et.apply(n,i),n;break}}return S(e,u)(i,t,!O,n,ft.test(e)),n}var E,T,C,k,N,_,S,D,A,P,M,j,O,I,L,H,F,R="sizzle"+-new Date,q=e.document,$=0,B=0,W=i(),V=i(),z=i(),U=!1,
24X=function(e,t){return e===t?(U=!0,0):0},Y=typeof t,Q=1<<31,G={}.hasOwnProperty,K=[],J=K.pop,Z=K.push,et=K.push,tt=K.slice,nt=K.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},it="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",rt="[\\x20\\t\\r\\n\\f]",at="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=at.replace("w","w#"),st="\\["+rt+"*("+at+")"+rt+"*(?:([*^$|!~]?=)"+rt+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ot+")|)|)"+rt+"*\\]",lt=":("+at+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+st.replace(3,8)+")*)|.*)\\)|)",ut=new RegExp("^"+rt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+rt+"+$","g"),dt=new RegExp("^"+rt+"*,"+rt+"*"),pt=new RegExp("^"+rt+"*([>+~]|"+rt+")"+rt+"*"),ft=new RegExp(rt+"*[+~]"),ht=new RegExp("="+rt+"*([^\\]'\"]*)"+rt+"*\\]","g"),mt=new RegExp(lt),gt=new RegExp("^"+ot+"$"),vt={"ID":new RegExp("^#("+at+")"),"CLASS":new RegExp("^\\.("+at+")"),"TAG":new RegExp("^("+at.replace("w","w*")+")"),"ATTR":new RegExp("^"+st),"PSEUDO":new RegExp("^"+lt),"CHILD":new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+rt+"*(even|odd|(([+-]|)(\\d*)n|)"+rt+"*(?:([+-]|)"+rt+"*(\\d+)|))"+rt+"*\\)|)","i"),"bool":new RegExp("^(?:"+it+")$","i"),"needsContext":new RegExp("^"+rt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+rt+"*((?:-\\d)?\\d*)"+rt+"*\\)|)(?=[^-]|$)","i")},yt=/^[^{]+\{\s*\[native \w/,bt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xt=/^(?:input|select|textarea|button)$/i,wt=/^h\d$/i,Et=/'|\\/g,Tt=new RegExp("\\\\([\\da-f]{1,6}"+rt+"?|("+rt+")|.)","ig"),Ct=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{et.apply(K=tt.call(q.childNodes),q.childNodes),K[q.childNodes.length].nodeType}catch(kt){et={"apply":K.length?function(e,t){Z.apply(e,tt.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}_=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},T=n.support={},P=n.setDocument=function(e){var t=e?e.ownerDocument||e:q,n=t.defaultView;return t!==M&&9===t.nodeType&&t.documentElement?(M=t,j=t.documentElement,O=!_(t),n&&n.attachEvent&&n!==n.top&&n.attachEvent("onbeforeunload",function(){P()}),T.attributes=a(function(e){return e.className="i",!e.getAttribute("className")}),T.getElementsByTagName=a(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),T.getElementsByClassName=a(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),T.getById=a(function(e){return j.appendChild(e).id=R,!t.getElementsByName||!t.getElementsByName(R).length}),T.getById?(k.find.ID=function(e,t){if(typeof t.getElementById!==Y&&O){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},k.filter.ID=function(e){var t=e.replace(Tt,Ct);return function(e){return e.getAttribute("id")===t}}):(delete k.find.ID,k.filter.ID=function(e){var t=e.replace(Tt,Ct);return function(e){var n=typeof e.getAttributeNode!==Y&&e.getAttributeNode("id");return n&&n.value===t}}),k.find.TAG=T.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==Y?t.getElementsByTagName(e):void 0}:function(e,t){var n,i=[],r=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[r++];)1===n.nodeType&&i.push(n);return i}return a},k.find.CLASS=T.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==Y&&O?t.getElementsByClassName(e):void 0},L=[],I=[],(T.qsa=yt.test(t.querySelectorAll))&&(a(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||I.push("\\["+rt+"*(?:value|"+it+")"),e.querySelectorAll(":checked").length||I.push(":checked")}),a(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&I.push("[*^$]="+rt+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),I.push(",.*:")})),(T.matchesSelector=yt.test(H=j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&a(function(e){T.disconnectedMatch=H.call(e,"div"),H.call(e,"[s!='']:x"),L.push("!=",lt)}),I=I.length&&new RegExp(I.join("|")),L=L.length&&new RegExp(L.join("|")),F=yt.test(j.contains)||j.compareDocumentPosition?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))
24)}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=j.compareDocumentPosition?function(e,n){if(e===n)return U=!0,0;var i=n.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(n);return i?1&i||!T.sortDetached&&n.compareDocumentPosition(e)===i?e===t||F(q,e)?-1:n===t||F(q,n)?1:A?nt.call(A,e)-nt.call(A,n):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var i,r=0,a=e.parentNode,o=n.parentNode,l=[e],u=[n];if(e===n)return U=!0,0;if(!a||!o)return e===t?-1:n===t?1:a?-1:o?1:A?nt.call(A,e)-nt.call(A,n):0;if(a===o)return s(e,n);for(i=e;i=i.parentNode;)l.unshift(i);for(i=n;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?s(l[r],u[r]):l[r]===q?-1:u[r]===q?1:0},t):M},n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if((e.ownerDocument||e)!==M&&P(e),t=t.replace(ht,"='$1']"),!(!T.matchesSelector||!O||L&&L.test(t)||I&&I.test(t)))try{var i=H.call(e,t);if(i||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(r){}return n(t,M,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!==M&&P(e),F(e,t)},n.attr=function(e,n){(e.ownerDocument||e)!==M&&P(e);var i=k.attrHandle[n.toLowerCase()],r=i&&G.call(k.attrHandle,n.toLowerCase())?i(e,n,!O):t;return r===t?T.attributes||!O?e.getAttribute(n):(r=e.getAttributeNode(n))&&r.specified?r.value:null:r},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},n.uniqueSort=function(e){var t,n=[],i=0,r=0;if(U=!T.detectDuplicates,A=!T.sortStable&&e.slice(0),e.sort(X),U){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return e},N=n.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+=N(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i];i++)n+=N(t);return n},k=n.selectors={"cacheLength":50,"createPseudo":r,"match":vt,"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(Tt,Ct),e[3]=(e[4]||e[5]||"").replace(Tt,Ct),"~="===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]||n.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]&&n.error(e[0]),e},"PSEUDO":function(e){var n,i=!e[5]&&e[2];return vt.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:i&&mt.test(i)&&(n=p(i,!0))&&(n=i.indexOf(")",i.length-n)-i.length)&&(e[0]=e[0].slice(0,n),e[2]=i.slice(0,n)),e.slice(0,3))}},"filter":{"TAG":function(e){var t=e.replace(Tt,Ct).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},"CLASS":function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+rt+")"+e+"("+rt+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==Y&&e.getAttribute("class")||"")})},"ATTR":function(e,t,i){return function(r){var a=n.attr(r,e);return null==a?"!="===t:t?(a+="","="===t?a===i:"!="===t?a!==i:"^="===t?i&&0===a.indexOf(i):"*="===t?i&&a.indexOf(i)>-1:"$="===t?i&&a.slice(-i.length)===i:"~="===t?(" "+a+" ").indexOf(i)>-1:"|="===t?a===i||a.slice(0,i.length+1)===i+"-":!1):!0}},"CHILD":function(e,t,n,i,r){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,p,f,h,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s;if(g){if(a){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?g.firstChild:g.lastChild],o&&y){for(c=g[R]||(g[R]={}),u=c[e]||[],f=u[0]===$&&u[1],p=u[0]===$&&u[2],d=f&&g.childNodes[f];d=++f&&d&&d[m]||(p=f=0)||h.pop();)if(1===d.nodeType&&++p&&d===t){c[e]=[$,f,p];break}}else if(y&&(u=(t[R]||(t[R]={}))[e])&&u[0]===$)p=u[1];else for(;(d=++f&&d&&d[m]||(p=f=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++p||(y&&((d[R]||
24(d[R]={}))[e]=[$,p]),d!==t)););return p-=r,p===i||p%i===0&&p/i>=0}}},"PSEUDO":function(e,t){var i,a=k.pseudos[e]||k.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return a[R]?a(t):a.length>1?(i=[e,e,"",t],k.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,n){for(var i,r=a(e,t),o=r.length;o--;)i=nt.call(e,r[o]),e[i]=!(n[i]=r[o])}):function(e){return a(e,0,i)}):a}},"pseudos":{"not":r(function(e){var t=[],n=[],i=S(e.replace(ut,"$1"));return i[R]?r(function(e,t,n,r){for(var a,o=i(e,null,r,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,r,a){return t[0]=e,i(t,null,a,n),!n.pop()}}),"has":r(function(e){return function(t){return n(e,t).length>0}}),"contains":r(function(e){return function(t){return(t.textContent||t.innerText||N(t)).indexOf(e)>-1}}),"lang":r(function(e){return gt.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(Tt,Ct).toLowerCase(),function(t){var n;do if(n=O?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),"target":function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},"root":function(e){return e===j},"focus":function(e){return e===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},"enabled":function(e){return e.disabled===!1},"disabled":function(e){return e.disabled===!0},"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,e.selected===!0},"empty":function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},"parent":function(e){return!k.pseudos.empty(e)},"header":function(e){return wt.test(e.nodeName)},"input":function(e){return xt.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"))||t.toLowerCase()===e.type)},"first":c(function(){return[0]}),"last":c(function(e,t){return[t-1]}),"eq":c(function(e,t,n){return[0>n?n+t:n]}),"even":c(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),"odd":c(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),"lt":c(function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e}),"gt":c(function(e,t,n){for(var i=0>n?n+t:n;++i<t;)e.push(i);return e})}},k.pseudos.nth=k.pseudos.eq;for(E in{"radio":!0,"checkbox":!0,"file":!0,"password":!0,"image":!0})k.pseudos[E]=l(E);for(E in{"submit":!0,"reset":!0})k.pseudos[E]=u(E);d.prototype=k.filters=k.pseudos,k.setFilters=new d,S=n.compile=function(e,t){var n,i=[],r=[],a=z[e+" "];if(!a){for(t||(t=p(e)),n=t.length;n--;)a=y(t[n]),a[R]?i.push(a):r.push(a);a=z(e,b(r,i))}return a},T.sortStable=R.split("").sort(X).join("")===R,T.detectDuplicates=U,P(),T.sortDetached=a(function(e){return 1&e.compareDocumentPosition(M.createElement("div"))}),a(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),T.attributes&&a(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),a(function(e){return null==e.getAttribute("disabled")})||o(it,function(e,t,n){var i;return n?void 0:(i=e.getAttributeNode(t))&&i.specified?i.value:e[t]===!0?t.toLowerCase():null}),ct.find=n,ct.expr=n.selectors,ct.expr[":"]=ct.expr.pseudos,ct.unique=n.uniqueSort,ct.text=n.getText,ct.isXMLDoc=n.isXML,ct.contains=n.contains}(e);var kt={};ct.Callbacks=function(e){e="string"==typeof e?kt[e]||i(e):ct.extend({},e);var n,r,a,o,s,l,u=[],c=!e.once&&[],d=function(t){for(r=e.memory&&t,a=!0,s=l||0,l=0,o=u.length,n=!0;u&&o>s;s++)if(u[s].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,u&&(c?c.length&&d(c.shift()):r?u=[]:p.disable())},p={"add":function(){if(u){var t=u.length;!function i(t){ct.each(t,function(t,n){var r=ct.type(n);"function"===r?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})}(arguments),n?o=u.length:r&&(l=t,d(r))}return this},"remove":function(){return u&&ct.each(arguments,function(e,t){for(var i;(i=ct.inArray(t,u,i))>-1;)u.splice(i,1),n&&(o>=i&&o--,s>=i&&s--)}),this},"has":function(e){return e?ct.inArray(e,u)>-1:!(!u||!u.length)},"empty":function(){return u=[],o=0,this},"disable":function(){return u=c=r=t,this},"disabled":function(){return!u},"lock":function(){return c=t,r||p.disable(),this},"locked":function(){return!c},"fireWith":function(e,t){return!u||a&&!c||(t=t||[],t=[e,t.slice?t.slice():t],n?c.push(t):d(t)),this},"fire":function(){return p.fireWith(this,arguments),this},"fired":function(){return!!a}};return p},ct.extend({"Deferred":function(e){var t=[["resolve","done",ct.Callbacks("once memory"),"resolved"],["reject","fail",ct.Callbacks("once memory"),"rejected"],["notify","progress",ct.Callbacks("memory")]],n="pe
24nding",i={"state":function(){return n},"always":function(){return r.done(arguments).fail(arguments),this},"then":function(){var e=arguments;return ct.Deferred(function(n){ct.each(t,function(t,a){var o=a[0],s=ct.isFunction(e[t])&&e[t];r[a[1]](function(){var e=s&&s.apply(this,arguments);e&&ct.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===i?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},"promise":function(e){return null!=e?ct.extend(e,i):i}},r={};return i.pipe=i.then,ct.each(t,function(e,a){var o=a[2],s=a[3];i[a[1]]=o.add,s&&o.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),r[a[0]]=function(){return r[a[0]+"With"](this===r?i:this,arguments),this},r[a[0]+"With"]=o.fireWith}),i.promise(r),e&&e.call(r,r),r},"when":function(e){var t,n,i,r=0,a=at.call(arguments),o=a.length,s=1!==o||e&&ct.isFunction(e.promise)?o:0,l=1===s?e:ct.Deferred(),u=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?at.call(arguments):r,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(o>1)for(t=new Array(o),n=new Array(o),i=new Array(o);o>r;r++)a[r]&&ct.isFunction(a[r].promise)?a[r].promise().done(u(r,i,a)).fail(l.reject).progress(u(r,n,t)):--s;return s||l.resolveWith(i,a),l.promise()}}
24),ct.support=function(t){var n,i,r,a,o,s,l,u,c,d=G.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],i=d.getElementsByTagName("a")[0],!i||!i.style||!n.length)return t;a=G.createElement("select"),s=a.appendChild(G.createElement("option")),r=d.getElementsByTagName("input")[0],i.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(i.getAttribute("style")),t.hrefNormalized="/a"===i.getAttribute("href"),t.opacity=/^0.5/.test(i.style.opacity),t.cssFloat=!!i.style.cssFloat,t.checkOn=!!r.value,t.optSelected=s.selected,t.enctype=!!G.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==G.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,r.checked=!0,t.noCloneChecked=r.cloneNode(!0).checked,a.disabled=!0,t.optDisabled=!s.disabled;try{delete d.test}catch(p){t.deleteExpando=!1}r=G.createElement("input"),r.setAttribute("value",""),t.input=""===r.getAttribute("value"),r.value="t",r.setAttribute("type","radio"),t.radioValue="t"===r.value,r.setAttribute("checked","t"),r.setAttribute("name","t"),o=G.createDocumentFragment(),o.appendChild(r),t.appendChecked=r.checked,t.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(c in{"submit":!0,"change":!0,"focusin":!0})d.setAttribute(l="on"+c,"t"),t[c+"Bubbles"]=l in e||d.attributes[l].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(c in ct(t))break;return t.ownLast="0"!==c,ct(function(){var n,i,r,a="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",o=G.getElementsByTagName("body")[0];o&&(n=G.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",o.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",r=d.getElementsByTagName("td"),r[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===r[0].offsetHeight,r[0].style.display="",r[1].style.display="none",t.reliableHiddenOffsets=u&&0===r[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",ct.swap(o,null!=o.style.zoom?{"zoom":1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{"width":"4px"}).width,i=d.appendChild(G.createElement("div")),i.style.cssText=d.style.cssText=a,i.style.marginRight=i.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(i,null)||{}).marginRight)),typeof d.style.zoom!==Y&&(d.innerHTML="",d.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(o.style.zoom=1)),o.removeChild(n),n=d=r=i=null)}),n=a=o=s=i=r=null,t}({});var Nt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,_t=/([A-Z])/g;ct.extend({"cache":{},"noData":{"applet":!0,"embed":!0,"object":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},"hasData":function(e){return e=e.nodeType?ct.cache[e[ct.expando]]:e[ct.expando],!!e&&!s(e)},"data":function(e,t,n){return r(e,t,n)},"removeData":function(e,t){return a(e,t)},"_data":function(e,t,n){return r(e,t,n,!0)},"_removeData":function(e,t){return a(e,t,!0)},"acceptData":function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&ct.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),ct.fn.extend({"data":function(e,n){var i,r,a=null,s=0,l=this[0];if(e===t){if(this.length&&(a=ct.data(l),1===l.nodeType&&!ct._data(l,"parsedAttrs"))){for(i=l.attributes;s<i.length;s++)r=i[s].name,0===r.indexOf("data-")&&(r=ct.camelCase(r.slice(5)),o(l,r,a[r]));ct._data(l,"parsedAttrs",!0)}return a}return"object"==typeof e?this.each(function(){ct.data(this,e)}):arguments.length>1?this.each(function(){ct.data(this,e,n)}):l?o(l,e,ct.data(l,e)):null},"removeData":function(e){return this.each(function(){ct.removeData(this,e)})}}),ct.extend({"queue":function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=ct._data(e,t),n&&(!i||ct.isArray(n)?i=ct._data(e,t,ct.makeArray(n)):i.push(n)),i||[]):void 0},"dequeue":function(e,t){t=t||"fx";var n=ct.queue(e,t),i=n.length,r=n.shift(),a=ct._queueHooks(e,t),o=function(){ct.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete a.stop,r.call(e,o,a)),!i&&a&&a.empty.fire()},"_queueHooks":function(e,t){var n=t+"queueHooks";return ct._data(e,n)||ct._data(e,n,{"empty":ct.Callbacks("once memory").add(function(){ct._removeData(e,t+"queue"),ct._removeData(e,n)})})}}),ct.fn.extend({"queue":function(e,n){var i=2;return"string"!=typeof e&&(n=e,e="fx",i--),arguments.length<i?ct.queue(this[0],e):n===t?this:this.each(function(){var t=ct.queue(this,e,n);ct._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&ct.dequeue(this,e)})},"dequeue":function(e){return this.each(function(){ct.dequeue(this,e)})},"delay":function(e,t){return e=ct.fx?ct.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},"clearQueue":function(e){return this.queue(e||"fx",[])},"promise":function(e,n){var i,r=1,a=ct.Deferred(),o=this,s=this.length,l=function(){--r||a.resolveWith(o,[o])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)i=ct._data(o[s],e+"queueHooks"),i&&i.empty&&(r++,i.empty.add(l));return l(),a.promise(n)}});var St,Dt,At=/[\t\r\n\f]/g,Pt=/\r/g,Mt=/^(?:input|select|textarea|button|object)$/i,jt=/^(?:a|area)$/i,Ot=/^(?:checked|selected)$/i,It=ct.support.getSetAttribute,Lt=ct.support.input;ct.fn.extend({"attr":function(e,t){return ct.access(this,ct.attr,e,t,arguments.length>1)},"removeAttr":function(e){return this.each(function(){ct.removeAttr(this,e)})},"prop":function(e,t){return ct.access(this,ct.prop,e,t,arguments.length>1)},"removeProp":function(e){return e=ct.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},"addClass":function(e){var t,n,i,r,a,o=0,s=this.length,l="string"==typeof e&&e;if(ct.isFunction(e))return this.each(function(t){ct(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(pt)||[];s>o;o++)if(n=this[o],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(At," "):" ")){for(a=0;r=t[a++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");n.className=ct.trim(i)}return this},"removeClass":function(e){var t,n,i,r,a,o=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(ct.isFunction(e))return this.each(function(t){ct(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(pt)||[];s>o;o++)if(n=this[o],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(At," "):"")){for(a=0;r=t[a++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");n.className=e?ct.trim(i):""}return this},"toggleClass":function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):this.each(ct.isFunction(e)?function(n){ct(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var t,i=0,r=ct(this),a=e.match(pt)||[];t=a[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else(n===Y||"boolean"===n)&&(this.className&&ct._data(this,"__className__",this.className),this.className=this.className||e===!1?"":ct._data(this,"__className__")||"")})},"hasClass":function(e){for(var t=" "+e+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(At," ").indexOf(t)>=0)return!0;return!1},"val":function(e){var n,i,r,a=this[0];{if(arguments.length)return r=ct.isFunction(e),this.each(function(n){var a;1===this.nodeType&&(a=r?e.call(this,n,ct(this).val()):e,null==a?a="":"number"==typeof a?a+="":ct.isArray(a)&&(a=ct.map(a,function(e){return null==e?"":e+""})),i=ct.valHooks[this.type]||ct.valHooks[this.nodeName.toLowerCase()],i&&"set"in i&&i.set(this,a,"value")!==t||(this.value=a))});if(a)return i=ct.valHooks[a.type]||ct.valHooks[a.nodeName.toLowerCase()],i&&"get"in i&&(n=i.get(a,"value"))!==t?n:(n=a.value,"string"==typeof n?n.replace(Pt,""):null==n?"":n)}}}),ct.extend({"valHooks":{"option":{"get":function(e){var t=ct.find.attr(e,"value");return null!=t?t:e.text}},"select":{"get":function(e){for(var t,n,i=e.options,r=e.selectedIndex,a="select-one"===e.type||0>r,o=a?null:[],s=a?r+1:i.length,l=0>r?s:a?r:0;s>l;l++)if(n=i[l],!(!n.selected&&l!==r||(ct.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&ct.no
24deName(n.parentNode,"optgroup"))){if(t=ct(n).val(),a)return t;o.push(t)}return o},"set":function(e,t){for(var n,i,r=e.options,a=ct.makeArray(t),o=r.length;o--;)i=r[o],(i.selected=ct.inArray(ct(i).val(),a)>=0)&&(n=!0);return n||(e.selectedIndex=-1),a}}},"attr":function(e,n,i){var r,a,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===Y?ct.prop(e,n,i):(1===o&&ct.isXMLDoc(e)||(n=n.toLowerCase(),r=ct.attrHooks[n]||(ct.expr.match.bool.test(n)?Dt:St)),i===t?r&&"get"in r&&null!==(a=r.get(e,n))?a:(a=ct.find.attr(e,n),null==a?t:a):null!==i?r&&"set"in r&&(a=r.set(e,i,n))!==t?a:(e.setAttribute(n,i+""),i):void ct.removeAttr(e,n))},"removeAttr":function(e,t){var n,i,r=0,a=t&&t.match(pt);if(a&&1===e.nodeType)for(;n=a[r++];)i=ct.propFix[n]||n,ct.expr.match.bool.test(n)?Lt&&It||!Ot.test(n)?e[i]=!1:e[ct.camelCase("default-"+n)]=e[i]=!1:ct.attr(e,n,""),e.removeAttribute(It?n:i)},"attrHooks":{"type":{"set":function(e,t){if(!ct.support.radioValue&&"radio"===t&&ct.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},"propFix":{"for":"htmlFor","class":"className"},"prop":function(e,n,i){var r,a,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return o=1!==s||!ct.isXMLDoc(e),o&&(n=ct.propFix[n]||n,a=ct.propHooks[n]),i!==t?a&&"set"in a&&(r=a.set(e,i,n))!==t?r:e[n]=i:a&&"get"in a&&null!==(r=a.get(e,n))?r:e[n]},"propHooks":{"tabIndex":{"get":function(e){var t=ct.find.attr(e,"tabindex");return t?parseInt(t,10):Mt.test(e.nodeName)||jt.test(e.nodeName)&&e.href?0:-1}}}}),Dt={"set":function(e,t,n){return t===!1?ct.removeAttr(e,n):Lt&&It||!Ot.test(n)?e.setAttribute(!It&&ct.propFix[n]||n,n):e[ct.camelCase("default-"+n)]=e[n]=!0,n}},ct.each(ct.expr.match.bool.source.match(/\w+/g),function(e,n){var i=ct.expr.attrHandle[n]||ct.find.attr;ct.expr.attrHandle[n]=Lt&&It||!Ot.test(n)?function(e,n,r){var a=ct.expr.attrHandle[n],o=r?t:(ct.expr.attrHandle[n]=t)!=i(e,n,r)?n.toLowerCase():null;return ct.expr.attrHandle[n]=a,o}:function(e,n,i){return i?t:e[ct.camelCase("default-"+n)]?n.toLowerCase():null}}),Lt&&It||(ct.attrHooks.value={"set":function(e,t,n){return ct.nodeName(e,"input")?void(e.defaultValue=t):St&&St.set(e,t,n)}}),It||(St={"set":function(e,n,i){var r=e.getAttributeNode(i);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(i)),r.value=n+="","value"===i||n===e.getAttribute(i)?n:t}},ct.expr.attrHandle.id=ct.expr.attrHandle.name=ct.expr.attrHandle.coords=function(e,n,i){var r;return i?t:(r=e.getAttributeNode(n))&&""!==r.value?r.value:null},ct.valHooks.button={"get":function(e,n){var i=e.getAttributeNode(n);return i&&i.specified?i.value:t},"set":St.set},ct.attrHooks.contenteditable={"set":function(e,t,n){St.set(e,""===t?!1:t,n)}},ct.each(["width","height"],function(e,t){ct.attrHooks[t]={"set":function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0 25}}})),ct.support.hrefNormalized||ct.each(["href","src"],function(e,t){ct.propHooks[t]={"get":function(e){return e.getAttribute(t,4)}}}
25),ct.support.style||(ct.attrHooks.style={"get":function(e){return e.style.cssText||t},"set":function(e,t){return e.style.cssText=t+""}}),ct.support.optSelected||(ct.propHooks.selected={"get":function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),ct.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ct.propFix[this.toLowerCase()]=this}),ct.support.enctype||(ct.propFix.enctype="encoding"),ct.each(["radio","checkbox"],function(){ct.valHooks[this]={"set":function(e,t){return ct.isArray(t)?e.checked=ct.inArray(ct(e).val(),t)>=0:void 0}},ct.support.checkOn||(ct.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Ht=/^(?:input|select|textarea)$/i,Ft=/^key/,Rt=/^(?:mouse|contextmenu)|click/,qt=/^(?:focusinfocus|focusoutblur)$/,$t=/^([^.]*)(?:\.(.+)|)$/;ct.event={"global":{},"add":function(e,n,i,r,a){var o,s,l,u,c,d,p,f,h,m,g,v=ct._data(e);if(v){for(i.handler&&(u=i,i=u.handler,a=u.selector),i.guid||(i.guid=ct.guid++),(s=v.events)||(s=v.events={}),(d=v.handle)||(d=v.handle=function(e){return typeof ct===Y||e&&ct.event.triggered===e.type?t:ct.event.dispatch.apply(d.elem,arguments)},d.elem=e),n=(n||"").match(pt)||[""],l=n.length;l--;)o=$t.exec(n[l])||[],h=g=o[1],m=(o[2]||"").split(".").sort(),h&&(c=ct.event.special[h]||{},h=(a?c.delegateType:c.bindType)||h,c=ct.event.special[h]||{},p=ct.extend({"type":h,"origType":g,"data":r,"handler":i,"guid":i.guid,"selector":a,"needsContext":a&&ct.expr.match.needsContext.test(a),"namespace":m.join(".")},u),(f=s[h])||(f=s[h]=[],f.delegateCount=0,c.setup&&c.setup.call(e,r,m,d)!==!1||(e.addEventListener?e.addEventListener(h,d,!1):e.attachEvent&&e.attachEvent("on"+h,d))),c.add&&(c.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),a?f.splice(f.delegateCount++,0,p):f.push(p),ct.event.global[h]=!0);e=null}},"remove":function(e,t,n,i,r){var a,o,s,l,u,c,d,p,f,h,m,g=ct.hasData(e)&&ct._data(e);if(g&&(c=g.events)){for(t=(t||"").match(pt)||[""],u=t.length;u--;)if(s=$t.exec(t[u])||[],f=m=s[1],h=(s[2]||"").split(".").sort(),f){for(d=ct.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,p=c[f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=a=p.length;a--;)o=p[a],!r&&m!==o.origType||n&&n.guid!==o.guid||s&&!s.test(o.namespace)||i&&i!==o.selector&&("**"!==i||!o.selector)||(p.splice(a,1),o.selector&&p.delegateCount--,d.remove&&d.remove.call(e,o));l&&!p.length&&(d.teardown&&d.teardown.call(e,h,g.handle)!==!1||ct.removeEvent(e,f,g.handle),delete c[f])}else for(f in c)ct.event.remove(e,f+t[u],n,i,!0);ct.isEmptyObject(c)&&(delete g.handle,ct._removeData(e,"events"))}},"trigger":function(n,i,r,a){var o,s,l,u,c,d,p,f=[r||G],h=lt.call(n,"type")?n.type:n,m=lt.call(n,"namespace")?n.namespace.split("."):[];if(l=d=r=r||G,3!==r.nodeType&&8!==r.nodeType&&!qt.test(h+ct.event.triggered)&&(h.indexOf(".")>=0&&(m=h.split("."),h=m.shift(),m.sort()),s=h.indexOf(":")<0&&"on"+h,n=n[ct.expando]?n:new ct.Event(h,"object"==typeof n&&n),n.isTrigger=a?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=r),i=null==i?[n]:ct.makeArray(i,[n]),c=ct.event.special[h]||{},a||!c.trigger||c.trigger.apply(r,i)!==!1)){if(!a&&!c.noBubble&&!ct.isWindow(r)){for(u=c.delegateType||h,qt.test(u+h)||(l=l.parentNode);l;l=l.parentNode)f.push(l),d=l;d===(r.ownerDocument||G)&&f.push(d.defaultView||d.parentWindow||e)}for(p=0;(l=f[p++])&&!n.isPropagationStopped();)n.type=p>1?u:c.bindType||h,o=(ct._data(l,"events")||{})[n.type]&&ct._data(l,"handle"),o&&o.apply(l,i),o=s&&l[s],o&&ct.acceptData(l)&&o.apply&&o.apply(l,i)===!1&&n.preventDefault();if(n.type=h,!a&&!n.isDefaultPrevented()&&(!c._default||c._default.apply(f.pop(),i)===!1)&&ct.acceptData(r)&&s&&r[h]&&!ct.isWindow(r)){d=r[s],d&&(r[s]=null),ct.event.triggered=h;try{r[h]()}catch(g){}ct.event.triggered=t,d&&(r[s]=d)}return n.result}},"dispatch":function(e){e=ct.event.fix(e);var n,i,r,a,o,s=[],l=at.call(arguments),u=(ct._data(this,"events")||{})[e.type]||[],c=ct.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){for(s=ct.event.handlers.call(this,e,u),n=0;(a=s[n++])&&!e.isPropagationStopped();)for(e.currentTarget=a.elem,o=0;(r=a.handlers[o++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(r.namespace))&&(e.handleObj=r,e.data=r.data,i=((ct.event.special[r.origType]||{}).handle||r.handler).apply(a.elem,l),i!==t&&(e.result=i)===!1&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},"handlers":function(e,n){var i,r,a,o,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(a=[],o=0;l>o;o++)r=n[o],i=r.selector+" ",a[i]===t&&(a[i]=r.needsContext?ct(i,this).index(u)>=0:ct.find(i,this,null,[u]).length),a[i]&&a.push(r);a.length&&s.push({"elem":u,"handlers":a})}return l<n.length&&s.push({"elem":this,"handlers":n.slice(l)}),s},"fix":function(e){if(e[ct.expando])return e;var t,n,i,r=e.type,a=e,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=Rt.test(r)?this.mouseHooks:Ft.test(r)?this.keyHooks:{}),i=o.props?this.props.concat(o.props):this.props,e=new ct.Event(a),t=i.length;t--;)n=i[t],e[n]=a[n];return e.target||(e.target=a.srcElement||G),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,o.filter?o.filter(e,a):e},"props":"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),"fixHooks":{}
25,"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,n){var i,r,a,o=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(r=e.target.ownerDocument||G,a=r.documentElement,i=r.body,e.pageX=n.clientX+(a&&a.scrollLeft||i&&i.scrollLeft||0)-(a&&a.clientLeft||i&&i.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||i&&i.scrollTop||0)-(a&&a.clientTop||i&&i.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),e.which||o===t||(e.which=1&o?1:2&o?3:4&o?2:0),e}},"special":{"load":{"noBubble":!0},"focus":{"trigger":function(){if(this!==c()&&this.focus)try{return this.focus(),!1}catch(e){}},"delegateType":"focusin"},"blur":{"trigger":function(){return this===c()&&this.blur?(this.blur(),!1):void 0},"delegateType":"focusout"},"click":{"trigger":function(){return ct.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},"_default":function(e){return ct.nodeName(e.target,"a")}},"beforeunload":{"postDispatch":function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},"simulate":function(e,t,n,i){var r=ct.extend(new ct.Event,n,{"type":e,"isSimulated":!0,"originalEvent":{}});i?ct.event.trigger(r,null,t):ct.event.dispatch.call(t,r),r.isDefaultPrevented()&&n.preventDefault()}},ct.removeEvent=G.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]===Y&&(e[i]=null),e.detachEvent(i,n))},ct.Event=function(e,t){return this instanceof ct.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?l:u):this.type=e,t&&ct.extend(this,t),this.timeStamp=e&&e.timeStamp||ct.now(),void(this[ct.expando]=!0)):new ct.Event(e,t)},ct.Event.prototype={"isDefaultPrevented":u,"isPropagationStopped":u,"isImmediatePropagationStopped":u,"preventDefault":function(){var e=this.originalEvent;this.isDefaultPrevented=l,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},"stopPropagation":function(){var e=this.originalEvent;this.isPropagationStopped=l,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},"stopImmediatePropagation":function(){this.isImmediatePropagationStopped=l,this.stopPropagation()}},ct.each({"mouseenter":"mouseover","mouseleave":"mouseout"},function(e,t){ct.event.special[e]={"delegateType":t,"bindType":t,"handle":function(e){var n,i=this,r=e.relatedTarget,a=e.handleObj;return(!r||r!==i&&!ct.contains(i,r))&&(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}
25),ct.support.submitBubbles||(ct.event.special.submit={"setup":function(){return ct.nodeName(this,"form")?!1:void ct.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,i=ct.nodeName(n,"input")||ct.nodeName(n,"button")?n.form:t;i&&!ct._data(i,"submitBubbles")&&(ct.event.add(i,"submit._submit",function(e){e._submit_bubble=!0}),ct._data(i,"submitBubbles",!0))})},"postDispatch":function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&ct.event.simulate("submit",this.parentNode,e,!0))},"teardown":function(){return ct.nodeName(this,"form")?!1:void ct.event.remove(this,"._submit")}}),ct.support.changeBubbles||(ct.event.special.change={"setup":function(){return Ht.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(ct.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),ct.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),ct.event.simulate("change",this,e,!0)})),!1):void ct.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ht.test(t.nodeName)&&!ct._data(t,"changeBubbles")&&(ct.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ct.event.simulate("change",this.parentNode,e,!0)}),ct._data(t,"changeBubbles",!0))})},"handle":function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},"teardown":function(){return ct.event.remove(this,"._change"),!Ht.test(this.nodeName)}}),ct.support.focusinBubbles||ct.each({"focus":"focusin","blur":"focusout"},function(e,t){var n=0,i=function(e){ct.event.simulate(t,e.target,ct.event.fix(e),!0)};ct.event.special[t]={"setup":function(){0===n++&&G.addEventListener(e,i,!0)},"teardown":function(){0===--n&&G.removeEventListener(e,i,!0)}}}),ct.fn.extend({"on":function(e,n,i,r,a){var o,s;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=t);for(o in e)this.on(o,n,i,e[o],a);return this}if(null==i&&null==r?(r=n,i=n=t):null==r&&("string"==typeof n?(r=i,i=t):(r=i,i=n,n=t)),r===!1)r=u;else if(!r)return this;return 1===a&&(s=r,r=function(e){return ct().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=ct.guid++)),this.each(function(){ct.event.add(this,e,r,i,n)})},"one":function(e,t,n,i){return this.on(e,t,n,i,1)},"off":function(e,n,i){var r,a;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ct(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(a in e)this.off(a,n,e[a]);return this}return(n===!1||"function"==typeof n)&&(i=n,n=t),i===!1&&(i=u),this.each(function(){ct.event.remove(this,e,i,n)})},"trigger":function(e,t){return this.each(function(){ct.event.trigger(e,t,this)})},"triggerHandler":function(e,t){var n=this[0];return n?ct.event.trigger(e,t,n,!0):void 0}});var Bt=/^.[^:#\[\.,]*$/,Wt=/^(?:parents|prev(?:Until|All))/,Vt=ct.expr.match.needsContext,zt={"children":!0,"contents":!0,"next":!0,"prev":!0};ct.fn.extend({"find":function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(ct(e).filter(function(){for(t=0;r>t;t++)if(ct.contains(i[t],this))return!0}));for(t=0;r>t;t++)ct.find(e,i[t],n);return n=this.pushStack(r>1?ct.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},"has":function(e){var t,n=ct(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(ct.contains(this,n[t]))return!0})},"not":function(e){return this.pushStack(p(this,e||[],!0))},"filter":function(e){return this.pushStack(p(this,e||[],!1))},"is":function(e){return!!p(this,"string"==typeof e&&Vt.test(e)?ct(e):e||[],!1).length},"closest":function(e,t){for(var n,i=0,r=this.length,a=[],o=Vt.test(e)||"string"!=typeof e?ct(e,t||this.context):0;r>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&ct.find.matchesSelector(n,e))){n=a.push(n);break}return this.pushStack(a.length>1?ct.unique(a):a)},"index":function(e){return e?"string"==typeof e?ct.inArray(this[0],ct(e)):ct.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},"add":function(e,t){var n="string"==typeof e?ct(e,t):ct.makeArray(e&&e.nodeType?[e]:e),i=ct.merge(this.get(),n);return this.pushStack(ct.unique(i))},"addBack":function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ct.each({"parent":function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},"parents":function(e){return ct.dir(e,"parentNode")},"parentsUntil":function(e,t,n){return ct.dir(e,"parentNode",n)},"next":function(e){return d(e,"nextSibling")},"prev":function(e){return d(e,"previousSibling")},"nextAll":function(e){return ct.dir(e,"nextSibling")},"prevAll":function(e){return ct.dir(e,"previousSibling")},"nextUntil":function(e,t,n){return ct.dir(e,"nextSibling",n)},"prevUntil":function(e,t,n){return ct.dir(e,"previousSibling",n)},"siblings":function(e){return ct.sibling((e.parentNode||{}).firstChild,e)},"children":function(e){return ct.sibling(e.firstChild)},"contents":function(e){return ct.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ct.merge([],e.childNodes)}},function(e,t){ct.fn[e]=function(n,i){var r=ct.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ct.filter(i,r)),this.length>1&&(zt[e]||(r=ct.unique(r)),Wt.test(e)&&(r=r.reverse())),this.pushStack(r)}}),ct.extend({"filter":function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?ct.find.matchesSelector(i,e)?[i]:[]:ct.find.matches(e,ct.grep(t,function(e){return 1===e.nodeType}))},"dir":function(e,n,i){for(var r=[],a=e[n];a&&9!==a.nodeType&&(i===t||1!==a.nodeType||!ct(a).is(i));)1===a.nodeType&&r.push(a),a=a[n];return r},"sibling":function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Ut="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Xt=/ jQuery\d+="(?:null|\d+)"/g,Yt=new RegExp("<(?:"+Ut+")[\\s/>]","i"),Qt=/^\s+/,Gt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Kt=/<([\w:]+)/,Jt=/<tbody/i,Zt=/<|&#?\w+;/,en=/<(?:script|style|link)/i,tn=/^(?:checkbox|radio)$/i,nn=/checked\s*(?:[^=]|=\s*.checked.)/i,rn=/^$|\/(?:java|ecma)script/i,an=/^true\/(.*)/,on=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,sn={"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":ct.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},ln=f(G),un=ln.appendChild(G.createElement("div"));sn.optgroup=sn.option,sn.tbody=sn.tfoot=sn.colgroup=sn.caption=sn.thead,sn.th=sn.td,ct.fn.extend({"text":function(e){return ct.access(this,function(e){return e===t?ct.text(this):this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(e))},null,e,arguments.length)},"append":function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=h(this,e);t.appendChild(e)}})},"prepend":function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=h(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?ct.filter(e,this):this,r=0;null!=(n=i[r]);r++)t||1!==n.nodeType||ct.cleanData(x(n)),n.parentNode&&(t&&ct.contains(n.ownerDocument,n)&&v(x(n,"script")),n.parentNode.removeChild(n));return this},"empty":function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&ct.cleanData(x(e,!1));e.firstChild;)e.removeChild(e.firstChild);
25e.options&&ct.nodeName(e,"select")&&(e.options.length=0)}return this},"clone":function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return ct.clone(this,e,t)})},"html":function(e){return ct.access(this,function(e){var n=this[0]||{},i=0,r=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Xt,""):t;if(!("string"!=typeof e||en.test(e)||!ct.support.htmlSerialize&&Yt.test(e)||!ct.support.leadingWhitespace&&Qt.test(e)||sn[(Kt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(Gt,"<$1></$2>");try{for(;r>i;i++)n=this[i]||{},1===n.nodeType&&(ct.cleanData(x(n,!1)),n.innerHTML=e);n=0}catch(a){}}n&&this.empty().append(e)},null,e,arguments.length)},"replaceWith":function(){var e=ct.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var i=e[t++],r=e[t++];r&&(i&&i.parentNode!==r&&(i=this.nextSibling),ct(this).remove(),r.insertBefore(n,i))},!0),t?this:this.remove()},"detach":function(e){return this.remove(e,!0)},"domManip":function(e,t,n){e=it.apply([],e);var i,r,a,o,s,l,u=0,c=this.length,d=this,p=c-1,f=e[0],h=ct.isFunction(f);if(h||!(1>=c||"string"!=typeof f||ct.support.checkClone)&&nn.test(f))return this.each(function(i){var r=d.eq(i);h&&(e[0]=f.call(this,i,r.html())),r.domManip(e,t,n)});if(c&&(l=ct.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(o=ct.map(x(l,"script"),m),a=o.length;c>u;u++)r=l,u!==p&&(r=ct.clone(r,!0,!0),a&&ct.merge(o,x(r,"script"))),t.call(this[u],r,u);if(a)for(s=o[o.length-1].ownerDocument,ct.map(o,g),u=0;a>u;u++)r=o[u],rn.test(r.type||"")&&!ct._data(r,"globalEval")&&ct.contains(s,r)&&(r.src?ct._evalUrl(r.src):ct.globalEval((r.text||r.textContent||r.innerHTML||"").replace(on,"")));l=i=null}return this}}),ct.each({"appendTo":"append","prependTo":"prepend","insertBefore":"before","insertAfter":"after","replaceAll":"replaceWith"},function(e,t){ct.fn[e]=function(e){for(var n,i=0,r=[],a=ct(e),o=a.length-1;o>=i;i++)n=i===o?this:this.clone(!0),ct(a[i])[t](n),rt.apply(r,n.get());return this.pushStack(r)}}),ct.extend({"clone":function(e,t,n){var i,r,a,o,s,l=ct.contains(e.ownerDocument,e);if(ct.support.html5Clone||ct.isXMLDoc(e)||!Yt.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(un.innerHTML=e.outerHTML,un.removeChild(a=un.firstChild)),!(ct.support.noCloneEvent&&ct.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ct.isXMLDoc(e)))for(i=x(a),s=x(e),o=0;null!=(r=s[o]);++o)i[o]&&b(r,i[o]);if(t)if(n)for(s=s||x(e),i=i||x(a),o=0;null!=(r=s[o]);o++)y(r,i[o]);else y(e,a);return i=x(a,"script"),i.length>0&&v(i,!l&&x(e,"script")),i=s=r=null,a},"buildFragment":function(e,t,n,i){for(var r,a,o,s,l,u,c,d=e.length,p=f(t),h=[],m=0;d>m;m++)if(a=e[m],a||0===a)if("object"===ct.type(a))ct.merge(h,a.nodeType?[a]:a);else if(Zt.test(a)){for(s=s||p.appendChild(t.createElement("div")),l=(Kt.exec(a)||["",""])[1].toLowerCase(),c=sn[l]||sn._default,s.innerHTML=c[1]+a.replace(Gt,"<$1></$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!ct.support.leadingWhitespace&&Qt.test(a)&&h.push(t.createTextNode(Qt.exec(a)[0])),!ct.support.tbody)for(a="table"!==l||Jt.test(a)?"<table>"!==c[1]||Jt.test(a)?0:s:s.firstChild,r=a&&a.childNodes.length;r--;)ct.nodeName(u=a.childNodes[r],"tbody")&&!u.childNodes.length&&a.removeChild(u);for(ct.merge(h,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else h.push(t.createTextNode(a));for(s&&p.removeChild(s),ct.support.appendChecked||ct.grep(x(h,"input"),w),m=0;a=h[m++];)if((!i||-1===ct.inArray(a,i))&&(o=ct.contains(a.ownerDocument,a),s=x(p.appendChild(a),"script"),o&&v(s),n))for(r=0;a=s[r++];)rn.test(a.type||"")&&n.push(a);return s=null,p},"cleanData":function(e,t){for(var n,i,r,a,o=0,s=ct.expando,l=ct.cache,u=ct.support.deleteExpando,c=ct.event.special;null!=(n=e[o]);o++)if((t||ct.acceptData(n))&&(r=n[s],a=r&&l[r])){if(a.events)for(i in a.events)c[i]?ct.event.remove(n,i):ct.removeEvent(n,i,a.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==Y?n.removeAttribute(s):n[s]=null,tt.push(r))}},"_evalUrl":function(e){return ct.ajax({"url":e,"type":"GET","dataType":"script","async":!1,"global":!1,"throws":!0})}}),ct.fn.extend({"wrapAll":function(e){if(ct.isFunction(e))return this.each(function(t){ct(this).wrapAll(e.call(this,t))});if(this[0]){var t=ct(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},"wrapInner":function(e){return this.each(ct.isFunction(e)?function(t){ct(this).wrapInner(e.call(this,t))}:function(){var t=ct(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},"wrap":function(e){var t=ct.isFunction(e);return this.each(function(n){ct(this).wrapAll(t?e.call(this,n):e)})},"unwrap":function(){return this.parent().each(function(){ct.nodeName(this,"body")||ct(this).replaceWith(this.childNodes)}).end()}});
25var cn,dn,pn,fn=/alpha\([^)]*\)/i,hn=/opacity\s*=\s*([^)]*)/,mn=/^(top|right|bottom|left)$/,gn=/^(none|table(?!-c[ea]).+)/,vn=/^margin/,yn=new RegExp("^("+dt+")(.*)$","i"),bn=new RegExp("^("+dt+")(?!px)[a-z%]+$","i"),xn=new RegExp("^([+-])=("+dt+")","i"),wn={"BODY":"block"},En={"position":"absolute","visibility":"hidden","display":"block"},Tn={"letterSpacing":0,"fontWeight":400},Cn=["Top","Right","Bottom","Left"],kn=["Webkit","O","Moz","ms"];ct.fn.extend({"css":function(e,n){return ct.access(this,function(e,n,i){var r,a,o={},s=0;if(ct.isArray(n)){for(a=dn(e),r=n.length;r>s;s++)o[n[s]]=ct.css(e,n[s],!1,a);return o}return i!==t?ct.style(e,n,i):ct.css(e,n)},e,n,arguments.length>1)},"show":function(){return C(this,!0)},"hide":function(){return C(this)},"toggle":function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){T(this)?ct(this).show():ct(this).hide()})}}),ct.extend({"cssHooks":{"opacity":{"get":function(e,t){if(t){var n=pn(e,"opacity");return""===n?"1":n}}}},"cssNumber":{"columnCount":!0,"fillOpacity":!0,"fontWeight":!0,"lineHeight":!0,"opacity":!0,"order":!0,"orphans":!0,"widows":!0,"zIndex":!0,"zoom":!0},"cssProps":{"float":ct.support.cssFloat?"cssFloat":"styleFloat"},"style":function(e,n,i,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,o,s,l=ct.camelCase(n),u=e.style;if(n=ct.cssProps[l]||(ct.cssProps[l]=E(u,l)),s=ct.cssHooks[n]||ct.cssHooks[l],i===t)return s&&"get"in s&&(a=s.get(e,!1,r))!==t?a:u[n];if(o=typeof i,"string"===o&&(a=xn.exec(i))&&(i=(a[1]+1)*a[2]+parseFloat(ct.css(e,n)),o="number"),!(null==i||"number"===o&&isNaN(i)||("number"!==o||ct.cssNumber[l]||(i+="px"),ct.support.clearCloneStyle||""!==i||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(i=s.set(e,i,r))===t)))try{u[n]=i}catch(c){}}},"css":function(e,n,i,r){var a,o,s,l=ct.camelCase(n);return n=ct.cssProps[l]||(ct.cssProps[l]=E(e.style,l)),s=ct.cssHooks[n]||ct.cssHooks[l],s&&"get"in s&&(o=s.get(e,!0,i)),o===t&&(o=pn(e,n,r)),"normal"===o&&n in Tn&&(o=Tn[n]),""===i||i?(a=parseFloat(o),i===!0||ct.isNumeric(a)?a||0:o):o}}),e.getComputedStyle?(dn=function(t){return e.getComputedStyle(t,null)},pn=function(e,n,i){var r,a,o,s=i||dn(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||ct.contains(e.ownerDocument,e)||(l=ct.style(e,n)),bn.test(l)&&vn.test(n)&&(r=u.width,a=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=r,u.minWidth=a,u.maxWidth=o)),l}):G.documentElement.currentStyle&&(dn=function(e){return e.currentStyle},pn=function(e,n,i){var r,a,o,s=i||dn(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),bn.test(l)&&!mn.test(n)&&(r=u.left,a=e.runtimeStyle,o=a&&a.left,o&&(a.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=r,o&&(a.left=o)),""===l?"auto":l}),ct.each(["height","width"],function(e,t){ct.cssHooks[t]={"get":function(e,n,i){return n?0===e.offsetWidth&&gn.test(ct.css(e,"display"))?ct.swap(e,En,function(){return _(e,t,i)}):_(e,t,i):void 0},"set":function(e,n,i){var r=i&&dn(e);
25return k(e,n,i?N(e,t,i,ct.support.boxSizing&&"border-box"===ct.css(e,"boxSizing",!1,r),r):0)}}}),ct.support.opacity||(ct.cssHooks.opacity={"get":function(e,t){return hn.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=ct.isNumeric(t)?"alpha(opacity="+100*t+")":"",a=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ct.trim(a.replace(fn,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=fn.test(a)?a.replace(fn,r):a+" "+r)}}),ct(function(){ct.support.reliableMarginRight||(ct.cssHooks.marginRight={"get":function(e,t){return t?ct.swap(e,{"display":"inline-block"},pn,[e,"marginRight"]):void 0}}),!ct.support.pixelPosition&&ct.fn.position&&ct.each(["top","left"],function(e,t){ct.cssHooks[t]={"get":function(e,n){return n?(n=pn(e,t),bn.test(n)?ct(e).position()[t]+"px":n):void 0}}})}),ct.expr&&ct.expr.filters&&(ct.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!ct.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||ct.css(e,"display"))},ct.expr.filters.visible=function(e){return!ct.expr.filters.hidden(e)}),ct.each({"margin":"","padding":"","border":"Width"},function(e,t){ct.cssHooks[e+t]={"expand":function(n){for(var i=0,r={},a="string"==typeof n?n.split(" "):[n];4>i;i++)r[e+Cn[i]+t]=a[i]||a[i-2]||a[0];return r}},vn.test(e)||(ct.cssHooks[e+t].set=k)});var Nn=/%20/g,_n=/\[\]$/,Sn=/\r?\n/g,Dn=/^(?:submit|button|image|reset|file)$/i,An=/^(?:input|select|textarea|keygen)/i;ct.fn.extend({"serialize":function(){return ct.param(this.serializeArray())},"serializeArray":function(){return this.map(function(){var e=ct.prop(this,"elements");return e?ct.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ct(this).is(":disabled")&&An.test(this.nodeName)&&!Dn.test(e)&&(this.checked||!tn.test(e))}).map(function(e,t){var n=ct(this).val();return null==n?null:ct.isArray(n)?ct.map(n,function(e){return{"name":t.name,"value":e.replace(Sn,"\r\n")}}):{"name":t.name,"value":n.replace(Sn,"\r\n")}}).get()}}),ct.param=function(e,n){var i,r=[],a=function(e,t){t=ct.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=ct.ajaxSettings&&ct.ajaxSettings.traditional),ct.isArray(e)||e.jquery&&!ct.isPlainObject(e))ct.each(e,function(){a(this.name,this.value)});else for(i in e)A(i,e[i],n,a);return r.join("&").replace(Nn,"+")},ct.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,t){ct.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ct.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 Pn,Mn,jn=ct.now(),On=/\?/,In=/#.*$/,Ln=/([?&])_=[^&]*/,Hn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Fn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Rn=/^(?:GET|HEAD)$/,qn=/^\/\//,$n=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Bn=ct.fn.load,Wn={},Vn={},zn="*/".concat("*");try{Mn=Q.href}catch(Un){Mn=G.createElement("a"),Mn.href="",Mn=Mn.href}Pn=$n.exec(Mn.toLowerCase())||[],ct.fn.load=function(e,n,i){if("string"!=typeof e&&Bn)return Bn.apply(this,arguments);var r,a,o,s=this,l=e.indexOf(" ");return l>=0&&(r=e.slice(l,e.length),e=e.slice(0,l)),ct.isFunction(n)?(i=n,n=t):n&&"object"==typeof n&&(o="POST"),s.length>0&&ct.ajax({"url":e,"type":o,"dataType":"html","data":n}).done(function(e){a=arguments,s.html(r?ct("<div>").append(ct.parseHTML(e)).find(r):e)}).complete(i&&function(e,t){s.each(i,a||[e.responseText,t,e])}),this},ct.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ct.fn[t]=function(e){return this.on(t,e)}}),ct.extend({"active":0,"lastModified":{},"etag":{},"ajaxSettings":{"url":Mn,"type":"GET","isLocal":Fn.test(Pn[1]),"global":!0,"processData":!0,"async":!0,"contentType":"application/x-www-form-urlencoded; charset=UTF-8","accepts":{"*":zn,"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":ct.parseJSON,"text xml":ct.parseXML},"flatOptions":{"url":!0,"context":!0}},"ajaxSetup":function(e,t){return t?j(j(e,ct.ajaxSettings),t):j(ct.ajaxSettings,e)},"ajaxPrefilter":P(Wn),"ajaxTransport":P(Vn),"ajax":function(e,n){function i(e,n,i,r){var a,d,y,b,w,T=n;2!==x&&(x=2,l&&clearTimeout(l),c=t,s=r||"",E.readyState=e>0?4:0,a=e>=200&&300>e||304===e,i&&(b=O(p,E,i)),b=I(p,b,E,a),a?(p.ifModified&&(w=E.getResponseHeader("Last-Modified"),w&&(ct.lastModified[o]=w),w=E.getResponseHeader("etag"),w&&(ct.etag[o]=w)),204===e||"HEAD"===p.type?T="nocontent":304===e?T="notmodified":(T=b.state,d=b.data,y=b.error,a=!y)):(y=T,(e||!T)&&(T="error",0>e&&(e=0))),E.status=e,E.statusText=(n||T)+"",a?m.resolveWith(f,[d,T,E]):m.rejectWith(f,[E,T,y]),E.statusCode(v),v=t,u&&h.trigger(a?"ajaxSuccess":"ajaxError",[E,p,a?d:y]),g.fireWith(f,[E,T]),u&&(h.trigger("ajaxComplete",[E,p]),--ct.active||ct.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var r,a,o,s,l,u,c,d,p=ct.ajaxSetup({},n),f=p.context||p,h=p.context&&(f.nodeType||f.jquery)?ct(f):ct.event,m=ct.Deferred(),g=ct.Callbacks("once memory"),v=p.statusCode||{},y={},b={},x=0,w="canceled",E={"readyState":0,"getResponseHeader":function(e){var t;
25if(2===x){if(!d)for(d={};t=Hn.exec(s);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},"getAllResponseHeaders":function(){return 2===x?s:null},"setRequestHeader":function(e,t){var n=e.toLowerCase();return x||(e=b[n]=b[n]||e,y[e]=t),this},"overrideMimeType":function(e){return x||(p.mimeType=e),this},"statusCode":function(e){var t;if(e)if(2>x)for(t in e)v[t]=[v[t],e[t]];else E.always(e[E.status]);return this},"abort":function(e){var t=e||w;return c&&c.abort(t),i(0,t),this}};if(m.promise(E).complete=g.add,E.success=E.done,E.error=E.fail,p.url=((e||p.url||Mn)+"").replace(In,"").replace(qn,Pn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=ct.trim(p.dataType||"*").toLowerCase().match(pt)||[""],null==p.crossDomain&&(r=$n.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===Pn[1]&&r[2]===Pn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(Pn[3]||("http:"===Pn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ct.param(p.data,p.traditional)),M(Wn,p,n,E),2===x)return E;u=p.global,u&&0===ct.active++&&ct.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Rn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(On.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=Ln.test(o)?o.replace(Ln,"$1_="+jn++):o+(On.test(o)?"&":"?")+"_="+jn++)),p.ifModified&&(ct.lastModified[o]&&E.setRequestHeader("If-Modified-Since",ct.lastModified[o]),ct.etag[o]&&E.setRequestHeader("If-None-Match",ct.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&E.setRequestHeader("Content-Type",p.contentType),E.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+zn+"; q=0.01":""):p.accepts["*"]);for(a in p.headers)E.setRequestHeader(a,p.headers[a]);if(p.beforeSend&&(p.beforeSend.call(f,E,p)===!1||2===x))return E.abort();w="abort";for(a in{"success":1,"error":1,"complete":1})E[a](p[a]);if(c=M(Vn,p,n,E)){E.readyState=1,u&&h.trigger("ajaxSend",[E,p]),p.async&&p.timeout>0&&(l=setTimeout(function(){E.abort("timeout") 26},p.timeout));try{x=1,c.send(y,i)}catch(T){if(!(2>x))throw T;i(-1,T)}}else i(-1,"No Transport");return E},"getJSON":function(e,t,n){return ct.get(e,t,n,"json")},"getScript":function(e,n){return ct.get(e,t,n,"script")}}),ct.each(["get","post"],function(e,n){ct[n]=function(e,i,r,a){return ct.isFunction(i)&&(a=a||r,r=i,i=t),ct.ajax({"url":e,"type":n,"dataType":a,"data":i,"success":r})}}),ct.ajaxSetup({"accepts":{"script":"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},"contents":{"script":/(?:java|ecma)script/},"converters":{"text script":function(e){return ct.globalEval(e),e}}}),ct.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ct.ajaxTransport("script",function(e){if(e.crossDomain){var n,i=G.head||ct("head")[0]||G.documentElement;return{"send":function(t,r){n=G.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||r(200,"success"))},i.insertBefore(n,i.firstChild)},"abort":function(){n&&n.onload(t,!0)}}}});var Xn=[],Yn=/(=)\?(?=&|$)|\?\?/;ct.ajaxSetup({"jsonp":"callback","jsonpCallback":function(){var e=Xn.pop()||ct.expando+"_"+jn++;return this[e]=!0,e}}),ct.ajaxPrefilter("json jsonp",function(n,i,r){var a,o,s,l=n.jsonp!==!1&&(Yn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(a=n.jsonpCallback=ct.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Yn,"$1"+a):n.jsonp!==!1&&(n.url+=(On.test(n.url)?"&":"?")+n.jsonp+"="+a),n.converters["script json"]=function(){return s||ct.error(a+" was not called"),s[0]},n.dataTypes[0]="json",o=e[a],e[a]=function(){s=arguments},r.always(function(){e[a]=o,n[a]&&(n.jsonpCallback=i.jsonpCallback,Xn.push(a)),s&&ct.isFunction(o)&&o(s[0]),s=o=t}),"script"):void 0});var Qn,Gn,Kn=0,Jn=e.ActiveXObject&&function(){var e;
26for(e in Qn)Qn[e](t,!0)};ct.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&L()||H()}:L,Gn=ct.ajaxSettings.xhr(),ct.support.cors=!!Gn&&"withCredentials"in Gn,Gn=ct.support.ajax=!!Gn,Gn&&ct.ajaxTransport(function(n){if(!n.crossDomain||ct.support.cors){var i;return{"send":function(r,a){var o,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");try{for(s in r)l.setRequestHeader(s,r[s])}catch(u){}l.send(n.hasContent&&n.data||null),i=function(e,r){var s,u,c,d;try{if(i&&(r||4===l.readyState))if(i=t,o&&(l.onreadystatechange=ct.noop,Jn&&delete Qn[o]),r)4!==l.readyState&&l.abort();else{d={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(d.text=l.responseText);try{c=l.statusText}catch(p){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(f){r||a(-1,f)}d&&a(s,c,d,u)},n.async?4===l.readyState?setTimeout(i):(o=++Kn,Jn&&(Qn||(Qn={},ct(e).unload(Jn)),Qn[o]=i),l.onreadystatechange=i):i()},"abort":function(){i&&i(t,!0)}}}});var Zn,ei,ti=/^(?:toggle|show|hide)$/,ni=new RegExp("^(?:([+-])=|)("+dt+")([a-z%]*)$","i"),ii=/queueHooks$/,ri=[B],ai={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),r
26=ni.exec(t),a=r&&r[3]||(ct.cssNumber[e]?"":"px"),o=(ct.cssNumber[e]||"px"!==a&&+i)&&ni.exec(ct.css(n.elem,e)),s=1,l=20;if(o&&o[3]!==a){a=a||o[3],r=r||[],o=+i||1;do s=s||".5",o/=s,ct.style(n.elem,e,o+a);while(s!==(s=n.cur()/i)&&1!==s&&--l)}return r&&(o=n.start=+o||+i||0,n.unit=a,n.end=r[1]?o+(r[1]+1)*r[2]:+r[2]),n}]};ct.Animation=ct.extend(q,{"tweener":function(e,t){ct.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,r=e.length;r>i;i++)n=e[i],ai[n]=ai[n]||[],ai[n].unshift(t)},"prefilter":function(e,t){t?ri.unshift(e):ri.push(e)}}),ct.Tween=W,W.prototype={"constructor":W,"init":function(e,t,n,i,r,a){this.elem=e,this.prop=n,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=a||(ct.cssNumber[n]?"":"px")},"cur":function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},"run":function(e){var t,n=W.propHooks[this.prop];return this.pos=t=this.options.duration?ct.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={"_default":{"get":function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=ct.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},"set":function(e){ct.fx.step[e.prop]?ct.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[ct.cssProps[e.prop]]||ct.cssHooks[e.prop])?ct.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={"set":function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ct.each(["toggle","show","hide"],function(e,t){var n=ct.fn[t];ct.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(V(t,!0),e,i,r)}}),ct.fn.extend({"fadeTo":function(e,t,n,i){return this.filter(T).css("opacity",0).show().end().animate({"opacity":t},e,n,i)},"animate":function(e,t,n,i){var r=ct.isEmptyObject(e),a=ct.speed(t,n,i),o=function(){var t=q(this,ct.extend({},e),a);(r||ct._data(this,"finish"))&&t.stop(!0)};return o.finish=o,r||a.queue===!1?this.each(o):this.queue(a.queue,o)},"stop":function(e,n,i){var r=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",a=ct.timers,o=ct._data(this);if(n)o[n]&&o[n].stop&&r(o[n]);else for(n in o)o[n]&&o[n].stop&&ii.test(n)&&r(o[n]);for(n=a.length;n--;)a[n].elem!==this||null!=e&&a[n].queue!==e||(a[n].anim.stop(i),t=!1,a.splice(n,1));(t||!i)&&ct.dequeue(this,e)})},"finish":function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=ct._data(this),i=n[e+"queue"],r=n[e+"queueHooks"],a=ct.timers,o=i?i.length:0;for(n.finish=!0,ct.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;o>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),ct.each({"slideDown":V("show"),"slideUp":V("hide"),"slideToggle":V("toggle"),"fadeIn":{"opacity":"show"},"fadeOut":{"opacity":"hide"},"fadeToggle":{"opacity":"toggle"}},function(e,t){ct.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),ct.speed=function(e,t,n){var i=e&&"object"==typeof e?ct.extend({},e):{"complete":n||!n&&t||ct.isFunction(e)&&e,"duration":e,"easing":n&&t||t&&!ct.isFunction(t)&&t};return i.duration=ct.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ct.fx.speeds?ct.fx.speeds[i.duration]:ct.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){ct.isFunction(i.old)&&i.old.call(this),i.queue&&ct.dequeue(this,i.queue)},i},ct.easing={"linear":function(e){return e},"swing":function(e){return.5-Math.cos(e*Math.PI)/2}},ct.timers=[],ct.fx=W.prototype.init,ct.fx.tick=function(){var e,n=ct.timers,i=0;for(Zn=ct.now();i<n.length;i++)e=n[i],e()||n[i]!==e||n.splice(i--,1);n.length||ct.fx.stop(),Zn=t},ct.fx.timer=function(e){e()&&ct.timers.push(e)&&ct.fx.start()},ct.fx.interval=13,ct.fx.start=function(){ei||(ei=setInterval(ct.fx.tick,ct.fx.interval))},ct.fx.stop=function(){clearInterval(ei),ei=null},ct.fx.speeds={"slow":600,"fast":200,"_default":400},ct.fx.step={},ct.expr&&ct.expr.filters&&(ct.expr.filters.animated=function(e){return ct.grep(ct.timers,function(t){return e===t.elem}).length}),ct.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){ct.offset.setOffset(this,e,t)});
26var n,i,r={"top":0,"left":0},a=this[0],o=a&&a.ownerDocument;if(o)return n=o.documentElement,ct.contains(n,a)?(typeof a.getBoundingClientRect!==Y&&(r=a.getBoundingClientRect()),i=z(o),{"top":r.top+(i.pageYOffset||n.scrollTop)-(n.clientTop||0),"left":r.left+(i.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):r},ct.offset={"setOffset":function(e,t,n){var i=ct.css(e,"position");"static"===i&&(e.style.position="relative");var r,a,o=ct(e),s=o.offset(),l=ct.css(e,"top"),u=ct.css(e,"left"),c=("absolute"===i||"fixed"===i)&&ct.inArray("auto",[l,u])>-1,d={},p={};c?(p=o.position(),r=p.top,a=p.left):(r=parseFloat(l)||0,a=parseFloat(u)||0),ct.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+r),null!=t.left&&(d.left=t.left-s.left+a),"using"in t?t.using.call(e,d):o.css(d)}},ct.fn.extend({"position":function(){if(this[0]){var e,t,n={"top":0,"left":0},i=this[0];return"fixed"===ct.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ct.nodeName(e[0],"html")||(n=e.offset()),n.top+=ct.css(e[0],"borderTopWidth",!0),n.left+=ct.css(e[0],"borderLeftWidth",!0)),{"top":t.top-n.top-ct.css(i,"marginTop",!0),"left":t.left-n.left-ct.css(i,"marginLeft",!0)}}},"offsetParent":function(){return this.map(function(){for(var e=this.offsetParent||K;e&&!ct.nodeName(e,"html")&&"static"===ct.css(e,"position");)e=e.offsetParent;return e||K})}}),ct.each({"scrollLeft":"pageXOffset","scrollTop":"pageYOffset"},function(e,n){var i=/Y/.test(n);ct.fn[e]=function(r){return ct.access(this,function(e,r,a){var o=z(e);return a===t?o?n in o?o[n]:o.document.documentElement[r]:e[r]:void(o?o.scrollTo(i?ct(o).scrollLeft():a,i?a:ct(o).scrollTop()):e[r]=a)},e,r,arguments.length,null)}}),ct.each({"Height":"height","Width":"width"},function(e,n){ct.each({"padding":"inner"+e,"content":n,"":"outer"+e},function(i,r){ct.fn[r]=function(r,a){var o=arguments.length&&(i||"boolean"!=typeof r),s=i||(r===!0||a===!0?"margin":"border");return ct.access(this,function(n,i,r){var a;return ct.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(a=n.documentElement,Math.max(n.body["scroll"+e],a["scroll"+e],n.body["offset"+e],a["offset"+e],a["client"+e])):r===t?ct.css(n,i,s):ct.style(n,i,r,s)},n,o?r:t,o,null)}})}),ct.fn.size=function(){return this.length},ct.fn.andSelf=ct.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=ct:(e.jQuery=e.$=ct,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ct}))}(window),/*! 27 * jQuery Cookie Plugin v1.3.1 28 * https://github.com/carhartl/jquery-cookie 29 * 30 * Copyright 2013 Klaus Hartl 31 * Released under the MIT license 32 */ 33function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){function t(e){if(r.raw)return e;try{return decodeURIComponent(e.replace(i," "))}catch(t){}}function n(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=t(e);try{return r.json?JSON.parse(e):e}catch(n){}}var i=/\+/g,r=e.cookie=function(i,a,o){if(void 0!==a){if(o=e.extend({},r.defaults,o),"number"==typeof o.expires){var s=o.expires,l=o.expires=new Date;l.setDate(l.getDate()+s)}return a=r.json?JSON.stringify(a):String(a),document.cookie=[r.raw?i:encodeURIComponent(i),"=",r.raw?a:encodeURIComponent(a),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}for(var u=i?void 0:{},c=document.cookie?document.cookie.split("; "):[],d=0,p=c.length;p>d;d++){var f=c[d].split("="),h=t(f.shift()),m=f.join("=");if(i&&i===h){u=n(m);break}i||void 0===(m=n(m))||(u[h]=m)}return u};r.defaults={},e.removeCookie=function(t,n){return void 0!==e.cookie(t)?(e.cookie(t,"",e.extend({},n,{"expires":-1})),!0):!1}}),function(e,t){e.rails!==t&&e.error("jquery-ujs has already been loaded!");var n,i=e(document);e.rails=n={"linkClickSelector":"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]","buttonClickSelector":"button[data-remote]","inputChangeSelector":"select[data-remote], input[data-remote], textarea[data-remote]","formSubmitSelector":"form","formInputClickSelector":"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])","disableSelector":"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]","enableSelector":"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled","requiredInputSelector":"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])","fileInputSelector":"input[type=file]","linkDisableSelector":"a[data-disable-with]","CSRFProtection":function(t){var n=e('meta[name="csrf-token"]').attr("content");n&&t.setRequestHeader("X-CSRF-Token",n)},"fire":function(t,n,i){var r=e.Event(n);return t.trigger(r,i),r.result!==!1},"confirm":function(e){return confirm(e)},"ajax":function(t){return e.ajax(t)},"href":function(e){return e.attr("href")},"handleRemote":function(i){var r,a,o,s,l,u,c,d;if(n.fire(i,"ajax:before")){if(s=i.data("cross-domain"),l=s===t?null:s,u=i.data("with-credentials")||null,c=i.data("type")||e.ajaxSettings&&e.ajaxSettings.dataType,i.is("form")){r=i.attr("method"),a=i.attr("action"),o=i.serializeArray();var p=i.data("ujs:submit-button");p&&(o.push(p),i.data("ujs:submit-button",null))}else i.is(n.inputChangeSelector)?(r=i.data("method"),a=i.data("url"),o=i.serialize(),i.data("params")&&(o=o+"&"+i.data("params"))):i.is(n.buttonClickSelector)?(r=i.data("method")||"get",a=i.data("url"),o=i.serialize(),i.data("params")&&(o=o+"&"+i.data("params"))):(r=i.data("method"),a=n.href(i),o=i.data("params")||null);d={"type":r||"GET","data":o,"dataType":c,"beforeSend":function(e,r){return r.dataType===t&&e.setRequestHeader("accept","*/*;q=0.5, "+r.accepts.script),n.fire(i,"ajax:beforeSend",[e,r])},"success":function(e,t,n){i.trigger("ajax:success",[e,t,n])},"complete":function(e,t){i.trigger("ajax:complete",[e,t])},"error":function(e,t,n){i.trigger("ajax:error",[e,t,n])},"crossDomain":l},u&&(d.xhrFields={"withCredentials":u}),a&&(d.url=a);var f=n.ajax(d);return i.trigger("ajax:send",f),f}return!1},"handleMethod":function(i){var r=n.href(i),a=i.data("method"),o=i.attr("target"),s=e("meta[name=csrf-token]").attr("content"),l=e("meta[name=csrf-param]").attr("content"),u=e('<form method="post" action="'+r+'"></form>'),c='<input name="_method" value="'+a+'" type="hidden" />';l!==t&&s!==t&&(c+='<input name="'+l+'" value="'+s+'" type="hidden" />'),o&&u.attr("target",o),u.hide().append(c).appendTo("body"),u.submit()},"disableFormElements":function(t){t.find(n.disableSelector).each(function(){var t=e(this),n=t.is("button")?"html":"val";
33t.data("ujs:enable-with",t[n]()),t[n](t.data("disable-with")),t.prop("disabled",!0)})},"enableFormElements":function(t){t.find(n.enableSelector).each(function(){var t=e(this),n=t.is("button")?"html":"val";t.data("ujs:enable-with")&&t[n](t.data("ujs:enable-with")),t.prop("disabled",!1)})},"allowAction":function(e){var t,i=e.data("confirm"),r=!1;return i?(n.fire(e,"confirm")&&(r=n.confirm(i),t=n.fire(e,"confirm:complete",[r])),r&&t):!0},"blankInputs":function(t,n,i){var r,a,o=e(),s=n||"input,textarea",l=t.find(s);return l.each(function(){if(r=e(this),a=r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):r.val(),!a==!i){if(r.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+r.attr("name")+'"]').length)return!0;o=o.add(r)}}),o.length?o:!1},"nonBlankInputs":function(e,t){return n.blankInputs(e,t,!0)},"stopEverything":function(t){return e(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!1},"disableElement":function(e){e.data("ujs:enable-with",e.html()),e.html(e.data("disable-with")),e.bind("click.railsDisable",function(e){return n.stopEverything(e)})},"enableElement":function(e){e.data("ujs:enable-with")!==t&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable")}},n.fire(i,"rails:attachBindings")&&(e.ajaxPrefilter(function(e,t,i){e.crossDomain||n.CSRFProtection(i)}),i.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(e(this))}),i.delegate(n.linkClickSelector,"click.rails",function(i){var r=e(this),a=r.data("method"),o=r.data("params");if(!n.allowAction(r))return n.stopEverything(i);if(r.is(n.linkDisableSelector)&&n.disableElement(r),r.data("remote")!==t){if(!(!i.metaKey&&!i.ctrlKey||a&&"GET"!==a||o))return!0;var s=n.handleRemote(r);return s===!1?n.enableElement(r):s.error(function(){n.enableElement(r)}),!1}return r.data("method")?(n.handleMethod(r),!1):void 0}),i.delegate(n.buttonClickSelector,"click.rails",function(t){var i=e(this);return n.allowAction(i)?(n.handleRemote(i),!1):n.stopEverything(t)}),i.delegate(n.inputChangeSelector,"change.rails",function(t){var i=e(this);return n.allowAction(i)?(n.handleRemote(i),!1):n.stopEverything(t)}),i.delegate(n.formSubmitSelector,"submit.rails",function(i){var r=e(this),a=r.data("remote")!==t,o=n.blankInputs(r,n.requiredInputSelector),s=n.nonBlankInputs(r,n.fileInputSelector);if(!n.allowAction(r))return n.stopEverything(i);if(o&&r.attr("novalidate")==t&&n.fire(r,"ajax:aborted:required",[o]))return n.stopEverything(i);if(a){if(s){setTimeout(function(){n.disableFormElements(r)},13);var l=n.fire(r,"ajax:aborted:file",[s]);return l||setTimeout(function(){n.enableFormElements(r)},13),l}return n.handleRemote(r),!1}setTimeout(function(){n.disableFormElements(r)},13)}),i.delegate(n.formInputClickSelector,"click.rails",function(t){var i=e(this);if(!n.allowAction(i))return n.stopEverything(t);var r=i.attr("name"),a=r?{"name":r,"value":i.val()}:null;i.closest("form").data("ujs:submit-button",a)}),i.delegate(n.formSubmitSelector,"ajax:beforeSend.rails",function(t){this==t.target&&n.disableFormElements(e(this))}),i.delegate(n.formSubmitSelector,"ajax:complete.rails",function(t){this==t.target&&n.enableFormElements(e(this))}),e(function(){var t=e("meta[name=csrf-token]").attr("content"),n=e("meta[name=csrf-param]").attr("content");e('form input[name="'+n+'"]').val(t)}))}(jQuery),/*! 34 * jQuery UI Effects 1.10.3 35 * http://jqueryui.com 36 * 37 * Copyright 2013 jQuery Foundation and other contributors 38 * Released under the MIT license. 39 * http://jquery.org/license 40 * 41 * http://api.jqueryui.com/category/effects-core/ 42 */ 43function(e,t){var n="ui-effects-";e.effects={"effect":{}},/*! 44 * jQuery Color Animations v2.1.2 45 * https://github.com/jquery/jquery-color 46 * 47 * Copyright 2013 jQuery Foundation and other contributors 48 * Released under the MIT license. 49 * http://jquery.org/license 50 * 51 * Date: Wed Jan 16 08:47:09 2013 -0600 52 */ 53function(e,t){function n(e,t,n){var i=d[t.type]||{};return null==e?n||!t.def?null:t.def:(e=i.floor?~~e:parseFloat(e),isNaN(e)?t.def:i.mod?(e+i.mod)%i.mod:0>e?0:i.max<e?i.max:e)}function i(t){var n=u(),i=n._rgba=[];return t=t.toLowerCase(),h(l,function(e,r){var a,o=r.re.exec(t),s=o&&r.parse(o),l=r.space||"rgba";return s?(a=n[l](s),n[c[l].cache]=a[c[l].cache],i=n._rgba=a._rgba,
53!1):void 0}),i.length?("0,0,0,0"===i.join()&&e.extend(i,a.transparent),n):a[t]}function r(e,t,n){return n=(n+1)%1,1>6*n?e+(t-e)*n*6:1>2*n?t:2>3*n?e+(t-e)*(2/3-n)*6:e}var a,o="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",s=/^([\-+])=\s*(\d+\.?\d*)/,l=[{"re":/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,"parse":function(e){return[e[1],e[2],e[3],e[4]]}},{"re":/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,"parse":function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{"re":/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,"parse":function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{"re":/#([a-f0-9])([a-f0-9])([a-f0-9])/,"parse":function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{"re":/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,"space":"hsla","parse":function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],u=e.Color=function(t,n,i,r){return new e.Color.fn.parse(t,n,i,r)},c={"rgba":{"props":{"red":{"idx":0,"type":"byte"},"green":{"idx":1,"type":"byte"},"blue":{"idx":2,"type":"byte"}}},"hsla":{"props":{"hue":{"idx":0,"type":"degrees"},"saturation":{"idx":1,"type":"percent"},"lightness":{"idx":2,"type":"percent"}}}},d={"byte":{"floor":!0,"max":255},"percent":{"max":1},"degrees":{"mod":360,"floor":!0}},p=u.support={},f=e("<p>")[0],h=e.each;f.style.cssText="background-color:rgba(1,1,1,.5)",p.rgba=f.style.backgroundColor.indexOf("rgba")>-1,h(c,function(e,t){t.cache="_"+e,t.props.alpha={"idx":3,"type":"percent","def"
vendor: 4,449 bytes, line 53
53:1}}),u.fn=e.extend(u.prototype,{"parse":function(r,o,s,l){if(r===t)return this._rgba=[null,null,null,null],this;(r.jquery||r.nodeType)&&(r=e(r).css(o),o=t);var d=this,p=e.type(r),f=this._rgba=[];return o!==t&&(r=[r,o,s,l],p="array"),"string"===p?this.parse(i(r)||a._default):"array"===p?(h(c.rgba.props,function(e,t){f[t.idx]=n(r[t.idx],t)}),this):"object"===p?(r instanceof u?h(c,function(e,t){r[t.cache]&&(d[t.cache]=r[t.cache].slice())}):h(c,function(t,i){var a=i.cache;h(i.props,function(e,t){if(!d[a]&&i.to){if("alpha"===e||null==r[e])return;d[a]=i.to(d._rgba)}d[a][t.idx]=n(r[e],t,!0)}),d[a]&&e.inArray(null,d[a].slice(0,3))<0&&(d[a][3]=1,i.from&&(d._rgba=i.from(d[a])))}),this):void 0},"is":function(e){var t=u(e),n=!0,i=this;return h(c,function(e,r){var a,o=t[r.cache];return o&&(a=i[r.cache]||r.to&&r.to(i._rgba)||[],h(r.props,function(e,t){return null!=o[t.idx]?n=o[t.idx]===a[t.idx]:void 0})),n}),n},"_space":function(){var e=[],t=this;return h(c,function(n,i){t[i.cache]&&e.push(n)}),e.pop()},"transition":function(e,t){var i=u(e),r=i._space(),a=c[r],o=0===this.alpha()?u("transparent"):this,s=o[a.cache]||a.to(o._rgba),l=s.slice();return i=i[a.cache],h(a.props,function(e,r){var a=r.idx,o=s[a],u=i[a],c=d[r.type]||{};null!==u&&(null===o?l[a]=u:(c.mod&&(u-o>c.mod/2?o+=c.mod:o-u>c.mod/2&&(o-=c.mod)),l[a]=n((u-o)*t+o,r)))}),this[r](l)},"blend":function(t){if(1===this._rgba[3])return this;var n=this._rgba.slice(),i=n.pop(),r=u(t)._rgba;return u(e.map(n,function(e,t){return(1-i)*r[t]+i*e}))},"toRgbaString":function(){var t="rgba(",n=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===n[3]&&(n.pop(),t="rgb("),t+n.join()+")"},"toHslaString":function(){var t="hsla(",n=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===n[3]&&(n.pop(),t="hsl("),t+n.join()+")"},"toHexString":function(t){var n=this._rgba.slice(),i=n.pop();return t&&n.push(~~(255*i)),"#"+e.map(n,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},"toString":function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),u.fn.parse.prototype=u.fn,c.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,n,i=e[0]/255,r=e[1]/255,a=e[2]/255,o=e[3],s=Math.max(i,r,a),l=Math.min(i,r,a),u=s-l,c=s+l,d=.5*c;return t=l===s?0:i===s?60*(r-a)/u+360:r===s?60*(a-i)/u+120:60*(i-r)/u+240,n=0===u?0:.5>=d?u/c:u/(2-c),[Math.round(t)%360,n,d,null==o?1:o]},c.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,n=e[1],i=e[2],a=e[3],o=.5>=i?i*(1+n):i+n-i*n,s=2*i-o;return[Math.round(255*r(s,o,t+1/3)),Math.round(255*r(s,o,t)),Math.round(255*r(s,o,t-1/3)),a]},h(c,function(i,r){var a=r.props,o=r.cache,l=r.to,c=r.from;u.fn[i]=function(i){if(l&&!this[o]&&(this[o]=l(this._rgba)),i===t)return this[o].slice();var r,s=e.type(i),d="array"===s||"object"===s?i:arguments,p=this[o].slice();return h(a,function(e,t){var i=d["object"===s?e:t.idx];null==i&&(i=p[t.idx]),p[t.idx]=n(i,t)}),c?(r=u(c(p)),r[o]=p,r):u(p)},h(a,function(t,n){u.fn[t]||(u.fn[t]=function(r){var a,o=e.type(r),l="alpha"===t?this._hsla?"hsla":"rgba":i,u=this[l](),c=u[n.idx];return"undefined"===o?c:("function"===o&&(r=r.call(this,c),o=e.type(r)),null==r&&n.empty?this:("string"===o&&(a=s.exec(r),a&&(r=c+parseFloat(a[2])*("+"===a[1]?1:-1))),u[n.idx]=r,this[l](u)))})})}),u.hook=function(t){var n=t.split(" ");h(n,function(t,n){e.cssHooks[n]={"set":function(t,r){var a,o,s="";if("transparent"!==r&&("string"!==e.type(r)||(a=i(r)))){if(r=u(a||r),!p.rgba&&1!==r._rgba[3]){for(o="backgroundColor"===n?t.parentNode:t;(""===s||"transparent"===s)&&o&&o.style;)try{s=e.css(o,"backgroundColor"),o=o.parentNode}catch(l){}r=r.blend(s&&"transparent"!==s?s:"_default")}r=r.toRgbaString()}try{t.style[n]=r}catch(l){}}},e.fx.step[n]=function(t){t.colorInit||(t.start=u(t.elem,n),t.end=u(t.end),t.colorInit=!0),e.cssHooks[n].set(t.elem,t.start.transition(t.end,t.pos))}})},u.hook(o),e.cssHooks.borderColor={"expand":function(e){var t={};return h(["Top","Right","Bottom","Left"],function(n,i){t["border"+i+"Color"]=e}),t}},a=e.Color.names={"aqua":"#00ffff","black":"#000000","blue":"#0000ff","fuchsia":"#ff00ff","gray":"#808080","green":"#008000","lime":"#00ff00","maroon":"#800000","navy":"#000080","olive":"#808000","purple":"#800080","red":"#ff0000","silver":"#c0c0c0","teal":"#008080","white":"#ffffff","yellow":"#ffff00","transparent":[null,
53null,null,0],"_default":"#ffffff"}}(jQuery),function(){function n(t){var n,i,r=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,a={};if(r&&r.length&&r[0]&&r[r[0]])for(i=r.length;i--;)n=r[i],"string"==typeof r[n]&&(a[e.camelCase(n)]=r[n]);else for(n in r)"string"==typeof r[n]&&(a[n]=r[n]);return a}function i(t,n){var i,r,o={};for(i in n)r=n[i],t[i]!==r&&(a[i]||(e.fx.step[i]||!isNaN(parseFloat(r)))&&(o[i]=r));return o}var r=["add","remove","toggle"],a={"border":1,"borderBottom":1,"borderColor":1,"borderLeft":1,"borderRight":1,"borderTop":1,"borderWidth":1,"margin":1,"padding":1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,n){e.fx.step[n]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(jQuery.style(e.elem,n,e.end),e.setAttr=!0)}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(t,a,o,s){var l=e.speed(a,o,s);return this.queue(function(){var a,o=e(this),s=o.attr("class")||"",u=l.children?o.find("*").addBack():o;u=u.map(function(){var t=e(this);return{"el":t,"start":n(this)}}),a=function(){e.each(r,function(e,n){t[n]&&o[n+"Class"](t[n])})},a(),u=u.map(function(){return this.end=n(this.el[0]),this.diff=i(this.start,this.end),this}),o.attr("class",s),u=u.map(function(){var t=this,n=e.Deferred(),i=e.extend({},l,{"queue":!1,"complete":function(){n.resolve(t)}});return this.el.animate(this.diff,i),n.promise()}),e.when.apply(e,u.get()).done(function(){a(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),l.complete.call(o[0])})})},e.fn.extend({"addClass":function(t){return function(n,i,r,a){return i?e.effects.animateClass.call(this,{"add":n},i,r,a):t.apply(this,arguments)}}(e.fn.addClass),"removeClass":function(t){return function(n,i,r,a){return arguments.length>1?e.effects.animateClass.call(this,{"remove":n},i,r,a):t.apply(this,arguments)}}(e.fn.removeClass),"toggleClass":function(n){return function(i,r,a,o,s){return"boolean"==typeof r||r===t?a?e.effects.animateClass.call(this,r?{"add":i}:{"remove":i},a,o,s):n.apply(this,arguments):e.effects.animateClass.call(this,{"toggle":i},r,a,o)}}(e.fn.toggleClass),"switchClass":function(t,n,i,r,a){return e.effects.animateClass.call(this,{"add":n,"remove":t},i,r,a)}})}(),function(){function i(t,n,i,r){return e.isPlainObject(t)&&(n=t,t=t.effect),t={"effect":t},null==n&&(n={}),e.isFunction(n)&&(r=n,i=null,n={}),("number"==typeof n||e.fx.speeds[n])&&(r=i,i=n,n={}),e.isFunction(i)&&(r=i,i=null),n&&e.extend(t,n),i=i||n.duration,t.duration=e.fx.off?0:"number"==typeof i?i:i in e.fx.speeds?e.fx.speeds[i]:e.fx.speeds._default,t.complete=r||n.complete,t}function r(t){return!t||"number"==typeof t||e.fx.speeds[t]?!0:"str
53ing"!=typeof t||e.effects.effect[t]?e.isFunction(t)?!0:"object"!=typeof t||t.effect?!1:!0:!0}e.extend(e.effects,{"version":"1.10.3","save":function(e,t){for(var i=0;i<t.length;i++)null!==t[i]&&e.data(n+t[i],e[0].style[t[i]])},"restore":function(e,i){var r,a;for(a=0;a<i.length;a++)null!==i[a]&&(r=e.data(n+i[a]),r===t&&(r=""),e.css(i[a],r))},"setMode":function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},"getBaseline":function(e,t){var n,i;switch(e[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=e[0]/t.height}switch(e[1]){case"left":i=0;break;case"center":i=.5;break;case"right":i=1;break;default:i=e[1]/t.width}return{"x":i,"y":n}},"createWrapper":function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var n={"width":t.outerWidth(!0),"height":t.outerHeight(!0),"float":t.css("float")},i=e("<div></div>").addClass("ui-effects-wrapper").css({"fontSize":"100%","background":"transparent","border":"none","margin":0,"padding":0}),r={"width":t.width(),"height":t.height()},a=document.activeElement;try{a.id}catch(o){a=document.body}return t.wrap(i),(t[0]===a||e.contains(t[0],a))&&e(a).focus(),i=t.parent(),"static"===t.css("position")?(i.css({"position":"relative"}),t.css({"position":"relative"})):(e.extend(n,{"position":t.css("position"),"zIndex":t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,i){n[i]=t.css(i),isNaN(parseInt(n[i],10))&&(n[i]="auto")}),t.css({"position":"relative","top":0,"left":0,"right":"auto","bottom":"auto"})),t.css(r),i.css(n).show()},"removeWrapper":function(t){var n=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===n||e.contains(t[0],n))&&e(n).focus()),t},"setTransition":function(t,n,i,r){return r=r||{},e.each(n,function(e,n){var a=t.cssUnit(n);a[0]>0&&(r[n]=a[0]*i+a[1])}),r}}),e.fn.extend({"effect":function(){function t(t){function i(){e.isFunction(a)&&a.call(r[0]),e.isFunction(t)&&t()}var r=e(this),a=n.complete,s=n.mode;(r.is(":hidden")?"hide"===s:"show"===s)?(r[s](),i()):o.call(r[0],n,i)}var n=i.apply(this,arguments),r=n.mode,a=n.queue,o=e.effects.effect[n.effect];return e.fx.off||!o?r?this[r](n.duration,n.complete):this.each(function(){n.complete&&n.complete.call(this)}):a===!1?this.each(t):this.queue(a||"fx",t)},"show":function(e){return function(t){if(r(t))return e.apply(this,arguments);var n=i.apply(this,arguments);return n.mode="show",this.effect.call(this,n)}}(e.fn.show),"hide":function(e){return function(t){if(r(t))return e.apply(this,arguments);var n=i.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(e.fn.hide),"toggle":function(e){return function(t){if(r(t)||"boolean"==typeof t)return e.apply(this,arguments);var n=i.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(e.fn.toggle),"cssUnit":function(t){var n=this.css(t),i=[];return e.each(["em","px","%","pt"],function(e,t){n.indexOf(t)>0&&(i=[parseFloat(n),t])}),i}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,n){t[n]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{"Sine":function(e){return 1-Math.cos(e*Math.PI/2)},"Circ":function(e){return 1-Math.sqrt(1-e*e)},"Elastic":function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},"Back":function(e){return e*e*(3*e-2)},"Bounce":function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,n){e.easing["easeIn"+t]=n,e.easing["easeOut"+t]=function(e){return 1-n(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?n(2*e)/2:1-n(-2*e+2)/2}})}()}(jQuery),/*! 54 * jQuery UI Core 1.10.3 55 * http://jqueryui.com 56 * 57 * Copyright 2013 jQuery Foundation and other contributors 58 * Released under the MIT license. 59 * http://jquery.org/license 60 * 61 * http://api.jqueryui.com/category/ui-core/ 62 */ 63function(e,t){function n(t,n){var r,a,o,s=t.nodeName.toLowerCase();return"area"===s?(r=t.parentNode,a=r.name,t.href&&a&&"map"===r.nodeName.toLowerCase()?(o=e("img[usemap=#"+a+"]")[0],!!o&&i(o)):!1):(/input|select|textarea|button|object/.test(s)?!t.disabled:"a"===s?t.href||n:n)&&i(t)}function i(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var r=0,a=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{"version":"1.10.3","keyCode":{"BACKSPACE":8,"COMMA":188,"DELETE":46,"DOWN":40,"END":35,"ENTER":13,"ESCAPE":27,"HOME":36,"LEFT":37,"
63NUMPAD_ADD":107,"NUMPAD_DECIMAL":110,"NUMPAD_DIVIDE":111,"NUMPAD_ENTER":108,"NUMPAD_MULTIPLY":106,"NUMPAD_SUBTRACT":109,"PAGE_DOWN":34,"PAGE_UP":33,"PERIOD":190,"RIGHT":39,"SPACE":32,"TAB":9,"UP":38}}),e.fn.extend({"focus":function(t){return function(n,i){return"number"==typeof n?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),i&&i.call(t)},n)}):t.apply(this,arguments)}}(e.fn.focus),"scrollParent":function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},"zIndex":function(n){if(n!==t)return this.css("zIndex",n);if(this.length)for(var i,r,a=e(this[0]);a.length&&a[0]!==document;){if(i=a.css("position"),("absolute"===i||"relative"===i||"fixed"===i)&&(r=parseInt(a.css("zIndex"),10),!isNaN(r)&&0!==r))return r;a=a.parent()}return 0},"uniqueId":function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++r)})},"removeUniqueId":function(){return this.each(function(){a.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{"data":e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,i){return!!e.data(t,i[3])},"focusable":function(t){return n(t,!isNaN(e.attr(t,"tabindex")))},"tabbable":function(t){var i=e.attr(t,"tabindex"),r=isNaN(i);return(r||i>=0)&&n(t,!r)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(n,i){function r(t,n,i,r){return e.each(a,function(){n-=parseFloat(e.css(t,"padding"+this))||0,i&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),r&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var a="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),s={"innerWidth":e.fn.innerWidth,"innerHeight":e.fn.innerHeight,"outerWidth":e.fn.outerWidth,"outerHeight":e.fn.outerHeight};e.fn["inner"+i]=function(n){return n===t?s["inner"+i].call(this):this.each(function(){e(this).css(o,r(this,n)+"px")})},e.fn["outer"+i]=function(t,n){return"number"!=typeof t?s["outer"+i].call(this,t):this.each(function(){e(this).css(o,r(this,t,!0,n)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(n){return arguments.length?t.call(this,e.camelCase(n)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({"disableSelection":function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},"enableSelection":function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{"plugin":{"add":function(t,n,i){var r,a=e.ui[t].prototype;for(r in i)a.plugins[r]=a.plugins[r]||[],a.plugins[r].push([n,i[r]])},"call":function(e,t,n){var i,r=e.plugins[t];if(r&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(i=0;i<r.length;i++)e.options[r[i][0]]&&r[i][1].apply(e.element,n)}},"hasScroll":function(t,n){if("hidden"===e(t).css("overflow"))return!1;var i=n&&"left"===n?"scrollLeft":"scrollTop",r=!1;return t[i]>0?!0:(t[i]=1,r=t[i]>0,t[i]=0,r)}})}(jQuery),/*! 64 * jQuery UI Widget 1.10.3 65 * http://jqueryui.com 66 * 67 * Copyright 2013 jQuery Foundation and other contributors 68 * Released under the MIT license. 69 * http://jquery.org/license 70 * 71 * http://api.jqueryui.com/jQuery.widget/ 72 */ 73function(e,t){var n=0,i=Array.prototype.slice,r=e.cleanData;e.cleanData=function(t){for(var n,i=0;null!=(n=t[i]);i++)try{e(n).triggerHandler("remove")}catch(a){}r(t)},e.widget=function(t,n,i){var r,a,o,s,l={},u=t.split(".")[0];t=t.split(".")[1],r=u+"-"+t,i||(i=n,n=e.Widget),e.expr[":"][r.toLowerCase()]=function(t){return!!e.data(t,r)},e[u]=e[u]||{},a=e[u][t],o=e[u][t]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new o(e,t)},e.extend(o,a,{"version":i.version,"_proto":e.extend({},i),"_childConstructors":[]}),s=new n,s.options=e.widget.extend({},s.options),e.each(i,function(t,i){return e.isFunction(i)?void(l[t]=function(){var e=function(){return n.prototype[t].apply(this,arguments)},r=function(e){return n.prototype[t].apply(this,e)};return function(){var t,n=this._super,a=this._superApply;return this._super=e,this._superApply=r,t=i.apply(this,arguments),this._super=n,this._superApply=a,t}}()):void(l[t]=i)}),o.prototype=e.widget.extend(s,{"widgetEventPrefix":a?s.widgetEventPrefix:t},l,{"constructor":o,"namespace":u,"widgetName":t,"widgetFullName":r}),a?(e.each(a._childConstructors,function(t,n){var i=n.prototype;e.widget(i.namespace+"."+i.widgetName,o,n._proto)}),delete a._childConstructors):n._childConstructors.push(o),e.widget.bridge(t,o)}
73,e.widget.extend=function(n){for(var r,a,o=i.call(arguments,1),s=0,l=o.length;l>s;s++)for(r in o[s])a=o[s][r],o[s].hasOwnProperty(r)&&a!==t&&(n[r]=e.isPlainObject(a)?e.isPlainObject(n[r])?e.widget.extend({},n[r],a):e.widget.extend({},a):a);return n},e.widget.bridge=function(n,r){var a=r.prototype.widgetFullName||n;e.fn[n]=function(o){var s="string"==typeof o,l=i.call(arguments,1),u=this;return o=!s&&l.length?e.widget.extend.apply(null,[o].concat(l)):o,this.each(s?function(){var i,r=e.data(this,a);return r?e.isFunction(r[o])&&"_"!==o.charAt(0)?(i=r[o].apply(r,l),i!==r&&i!==t?(u=i&&i.jquery?u.pushStack(i.get()):i,!1):void 0):e.error("no such method '"+o+"' for "+n+" widget instance"):e.error("cannot call methods on "+n+" prior to initialization; attempted to call method '"+o+"'")}:function(){var t=e.data(this,a);t?t.option(o||{})._init():e.data(this,a,new r(o,this))}),u}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={"widgetName":"widget","widgetEventPrefix":"","defaultElement":"<div>","options":{"disabled":!1,"create":null},"_createWidget":function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{"remove":function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},"_getCreateOptions":e.noop,"_getCreateEventData":e.noop,"_create":e.noop,"_init":e.noop,"destroy":function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},"_destroy":e.noop,"widget":function(){return this.element},"option":function(n,i){var r,a,o,s=n;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof n)if(s={},r=n.split("."),n=r.shift(),r.length){for(a=s[n]=e.widget.extend({},this.options[n]),o=0;o<r.length-1;o++)a[r[o]]=a[r[o]]||{},a=a[r[o]];if(n=r.pop(),i===t)return a[n]===t?null:a[n];a[n]=i}else{if(i===t)return this.options[n]===t?null:this.options[n];s[n]=i}return this._setOptions(s),this},"_setOptions":function(e){var t;for(t in e)this._setOption(t,e[t]);return this},"_setOption":function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},"enable":function(){return this._setOption("disabled",!1)},"disable":function(){return this._setOption("disabled",!0)},"_on":function(t,n,i){var r,a=this;"boolean"!=typeof t&&(i=n,n=t,t=!1),i?(n=r=e(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,r=this.widget()),e.each(i,function(i,o){function s(){return t||a.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?a[o]:o).apply(a,arguments):void 0}"string"!=typeof o&&(s.guid=o.guid=o.guid||s.guid||e.guid++);var l=i.match(/^(\w+)\s*(.*)$/),u=l[1]+a.eventNamespace,c=l[2];c?r.delegate(c,u,s):n.bind(u,s)})},"_off":function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},"_delay":function(e,t){function n(){return("string"==typeof e?i[e]:e).apply(i,arguments)}var i=this;return setTimeout(n,t||0)},"_hoverable":function(t){this.hoverable=this.hoverable.add(t),this._on(t,{"mouseenter":function(t){e(t.currentTarget).addClass("ui-state-hover")},"mouseleave":function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},"_focusable":function(t){this.focusable=this.focusable.add(t),this._on(t,{"focusin":function(t){e(t.currentTarget).addClass("ui-state-focus")},"focusout":function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},"_trigger":function(t,n,i){var r,a,o=this.options[t];if(i=i||{},n=e.Event(n),n.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),n.target=this.element[0],a=n.originalEvent)for(r in a)r in n||(n[r]=a[r]);return this.element.trigger(n,i),!(e.isFunction(o)&&o.apply(this.element[0],[n].concat(i))===!1||n.isDefaultPrevented())}},e.each({"show":"fadeIn","hide":"fadeOut"},function(t,n){e.Widget.prototype["_"+t]=function(i,r,a){"string"==typeof r&&(r={"effect":r});var o,s=r?r===!0||"number"==typeof r?n:r.effect||n:t;r=r||{},"number"==typeof r&&(r={"duration":r}),o=!e.isEmptyObject(r),r.complete=a,r.delay&&i.delay(r.delay),o&&e.effects&&e.effects.effect[s]?i[t](r):s!==t&&i[s]?i[s](r.duration,r.easing,a):i.queue(function(n){e(this)[t](),a&&a.call(i[0]),n()})}})}(jQuery),/*! 74 * jQuery UI Accordion 1.10.3 75 * http://jqueryui.com 76 * 77 * Copyright 2013 jQuery Foundation and other contributors 78 * Released under the MIT license. 79 * http://jquery.org/license 80 * 81 * http://api.jqueryui.com/accordion/ 82 * 83 * Depends: 84 * jquery.ui.core.js 85 * jquery.ui.widget.js 86 */ 87function(e){var t=0,n={},i={};n.height=n.paddingTop=n.paddingBottom=n.borderTopWidth=n.borderBottomWidth="hide",i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="show",e.widget("ui.accordion",{"version":"1.10.3","o
87ptions":{"active":0,"animate":{},"collapsible":!1,"event":"click","header":"> li > :first-child,> :not(li):even","heightStyle":"auto","icons":{"activeHeader":"ui-icon-triangle-1-s","header":"ui-icon-triangle-1-e"},"activate":null,"beforeActivate":null},"_create":function(){var t=this.options;this.prevShow=this.prevHide=e(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),t.collapsible||t.active!==!1&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},"_getCreateEventData":function(){return{"header":this.active,"panel":this.active.length?this.active.next():e(),"content":this.active.length?this.active.next():e()}},"_createIcons":function(){var t=this.options.icons;t&&(e("<span>").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},"_destroyIcons":function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},"_destroy":function(){var e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&e.css("height","")},"_setOption":function(e,t){return"active"===e?void this._activate(t):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||this.options.active!==!1||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._createIcons()),void("disabled"===e&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t)))},"_keydown":function(t){if(!t.altKey&&!t.ctrlKey){var n=e.ui.keyCode,i=this.headers.length,r=this.headers.index(t.target),a=!1;switch(t.keyCode){case n.RIGHT:case n.DOWN:a=this.headers[(r+1)%i];break;case n.LEFT:case n.UP:a=this.headers[(r-1+i)%i];break;case n.SPACE:case n.ENTER:this._eventHandler(t);break;case n.HOME:a=this.headers[0];break;case n.END:a=this.headers[i-1]}a&&(e(t.target).attr("tabIndex",-1),e(a).attr("tabIndex",0),a.focus(),t.preventDefault())}},"_panelKeyDown":function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().focus()},"refresh":function(){var t=this.options;this._processPanels(),t.active===!1&&t.collapsible===!0||!this.headers.length?(t.active=!1,this.active=e()):t.active===!1?this._activate(0):this.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=e()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},"_processPanels":function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},"_refresh":function(){var n,i=this.options,r=i.heightStyle,a=this.element.parent(),o=this.accordionId="ui-accordion-"+(this.element.attr("id")||++t);this.active=this._findActive(i.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(t){var n=e(this),i=n.attr("id"),r=n.next(),a=r.attr("id");i||(i=o+"-header-"+t,n.attr("id",i)),a||(a=o+"-panel-"+t,r.attr("id",a)),n.attr("aria-controls",a),r.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","tabIndex":-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","tabIndex":0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(i.event),"fill"===r?(n=a.height(),this.element.siblings(":visible").each(function(){var t=e(this),i=t.css("position");"absolute"!==i&&"fixed"!==i&&(n-=t.outerHeight(!0))}),this.headers.each(function(){n-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,n-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):"auto"===r&&(n=0,this.headers.next().each(function(){n=Math.max(n,e(this).css("height","").height())}).height(n))},"_activate":function(t){var n=this._findActive(t)[0];n!==this.active[0]&&(n=n||this.active[0],this._eventHandler({"target":n,"currentTarget":n,"preventDefault":e.noop}))},"_findActive":function(t){return"number"==typeof t?this.headers.eq(t):e()}
87,"_setupEvents":function(t){var n={"keydown":"_keydown"};t&&e.each(t.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,n),this._on(this.headers.next(),{"keydown":"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},"_eventHandler":function(t){var n=this.options,i=this.active,r=e(t.currentTarget),a=r[0]===i[0],o=a&&n.collapsible,s=o?e():r.next(),l=i.next(),u={"oldHeader":i,"oldPanel":l,"newHeader":o?e():r,"newPanel":s};t.preventDefault(),a&&!n.collapsible||this._trigger("beforeActivate",t,u)===!1||(n.active=o?!1:this.headers.index(r),this.active=a?e():r,this._toggle(u),i.removeClass("ui-accordion-header-active ui-state-active"),n.icons&&i.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header),a||(r.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),n.icons&&r.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader),r.next().addClass("ui-accordion-content-active")))},"_toggle":function(t){var n=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=i,this.options.animate?this._animate(n,i,t):(i.hide(),n.show(),this._toggleComplete(t)),i.attr({"aria-expanded":"false","aria-hidden":"true"}),i.prev().attr("aria-selected","false"),n.length&&i.length?i.prev().attr("tabIndex",-1):n.length&&this.headers.filter(function(){return 0===e(this).attr("tabIndex")}).attr("tabIndex",-1),n.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true","tabIndex":0})},"_animate":function(e,t,r){var a,o,s,l=this,u=0,c=e.length&&(!t.length||e.index()<t.index()),d=this.options.animate||{},p=c&&d.down||d,f=function(){l._toggleComplete(r)};return"number"==typeof p&&(s=p),"string"==typeof p&&(o=p),o=o||p.easing||d.easing,s=s||p.duration||d.duration,t.length?e.length?(a=e.show().outerHeight(),t.animate(n,{"duration":s,"easing":o,"step":function(e,t){t.now=Math.round(e)}}),void e.hide().animate(i,{"duration":s,"easing":o,"complete":f,"step":function(e,n){
87n.now=Math.round(e),"height"!==n.prop?u+=n.now:"content"!==l.options.heightStyle&&(n.now=Math.round(a-t.outerHeight()-u),u=0)}})):t.animate(n,s,o,f):e.animate(i,s,o,f)},"_toggleComplete":function(e){var t=e.oldPanel;t.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}})}(jQuery),/** 88 * Plugin: jquery.zRSSFeed 89 * 90 * Version: 1.2.0 91 * (c) Copyright 2010-2013, Zazar Ltd 92 * 93 * Description: jQuery plugin for display of RSS feeds via Google Feed API 94 * (Based on original plugin jGFeed by jQuery HowTo. Filesize function by Cary Dunn.) 95 * 96 * History: 97 * 1.2.0 - Added month names to date formats 98 * 1.1.9 - New dateformat option to allow feed date formatting 99 * 1.1.8 - Added historical option to enable scoring in the Google Feed API 100 * 1.1.7 - Added feed offset, link redirect & link content options 101 * 1.1.6 - Added sort options 102 * 1.1.5 - Target option now applies to all feed links 103 * 1.1.4 - Added option to hide media and now compressed with Google Closure 104 * 1.1.3 - Check for valid published date 105 * 1.1.2 - Added user callback function due to issue with ajaxStop after jQuery 1.4.2 106 * 1.1.1 - Correction to null xml entries and support for media with jQuery < 1.5
107 * 1.1.0 - Added support for media in enclosure tags 108 * 1.0.3 - Added feed link target 109 * 1.0.2 - Fixed issue with GET parameters (Seb Dangerfield) and SSL option 110 * 1.0.1 - Corrected issue with multiple instances 111 * 112 **/ 113function(e){e.fn.rssfeed=function(n,i,r){var a={"limit":10,"offset":1,"header":!0,"titletag":"h4","date":!0,"dateformat":"datetime","content":!0,"snippet":!0,"media":!0,"showerror":!0,"errormsg":"","key":null,"ssl":!0,"linktarget":"_self","linkredirect":"","linkcontent":!1,"sort":"","sortasc":!0,"historical":!1},i=e.extend(a,i);return this.each(function(a,o){var s=e(o),l="";if(i.ssl&&(l="s"),s.hasClass("rssFeed")||s.addClass("rssFeed"),null==n)return!1;i.offset>0&&(i.offset-=1),i.limit+=i.offset;var u="http"+l+"://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q="+encodeURIComponent(n);u+="&num="+i.limit,i.historical&&(u+="&scoring=h"),null!=i.key&&(u+="&key="+i.key),u+="&output=json_xml",e.getJSON(u,function(n){if(200==n.responseStatus)t(o,n.responseData,i),e.isFunction(r)&&r.call(this,s);else{if(i.showerror)if(""!=i.errormsg)var a=i.errormsg;else var a=n.responseDetails;e(o).html('<div class="rssError"><p>'+a+"</p></div>")}})})};var t=function(t,r,a){var l=r.feed;if(!l)return!1;var u=[],c=0,d="",p="odd";if(a.media)var f=o(r.xmlString),h=f.getElementsByTagName("item");a.header&&(d+='<div class="rssHeader"><a href="'+l.link+'" title="'+l.description+'">'+l.title+"</a></div>"),d+='<div class="rssBody"><ul>';for(var m=a.offset;m<l.entries.length;m++){c=m-a.offset,u[c]=[];var g,v=l.entries[m],y="",b=v.link;switch(a.sort){case"title":y=v.title;break;case"date":y=v.publishedDate}if(u[c].sort=y,v.publishedDate){var x=new Date(v.publishedDate),g=x.toLocaleDateString()+" "+x.toLocaleTimeString();switch(a.dateformat){case"datetime":break;case"date":g=x.toLocaleDateString();break;case"time":g=x.toLocaleTimeString();break;case"timeline":g=s(x);break;default:g=i(x,a.dateformat)}}if(a.linkredirect&&(b=encodeURIComponent(b)),u[c].html="<"+a.titletag+'><a href="'+a.linkredirect+b+'" title="View this feed at '+l.title+'">'+v.title+"</a></"+a.titletag+">",a.date&&g&&(u[c].html+="<div>"+g+"</div>"),a.content){if(a.snippet&&""!=v.contentSnippet)var w=v.contentSnippet;else var w=v.content;a.linkcontent&&(w='<a href="'+a.linkredirect+b+'" title="View this feed at '+l.title+'">'+w+"</a>"),u[c].html+="<p>"+w+"</p>"}if(a.media&&h.length>0){var E=h[m].getElementsByTagName("enclosure");if(E.length>0){u[c].html+='<div class="rssMedia"><div>Media files</div><ul>';for(var T=0;T<E.length;T++){var C=E[T].getAttribute("url"),k=E[T].getAttribute("type"),N=E[T].getAttribute("length");u[c].html+='<li><a href="'+C+'" title="Download this media">'+C.split("/").pop()+"</a> ("+k+", "+n(N)+")</li>"}u[c].html+="</ul></div>"}}}a.sort&&u.sort(function(e,t){if(a.sortasc)var n=e.sort,i=t.sort;else var n=t.sort,i=e.sort;return"date"==a.sort?new Date(n)-new Date(i):(n=n.toLowerCase(),i=i.toLowerCase(),i>n?-1:n>i?1:0)}),e.each(u,function(e){d+='<li class="rssRow '+p+'">'+u[e].html+"</li>",p="odd"==p?"even":"odd"}),d+="</ul></div>",e(t).html(d),e("a",t).attr("target",a.linktarget)},n=function(e){var t=["bytes","kb","MB","GB","TB","PB"],n=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,Math.floor(n))).toFixed(2)+" "+t[n]},i=function(e,t){var n=new Date(e);return e=t,e=e.replace("dd",r(n.getDate())),e=e.replace("MMMM",a(n.getMonth())),e=e.replace("MM",r(n.getMonth()+1)),e=e.replace("yyyy",n.getFullYear()),e=e.replace("hh",r(n.getHours())),e=e.replace("mm",r(n.getMinutes())),e=e.replace("ss",r(n.getSeconds()))},r=function(e){return e+="",e.length<2&&(e="0"+e),e},a=function(e){var t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];return t[e]},o=function(e){var t,n=navigator.appName;return"Microsoft Internet Explorer"==n?(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t},s=function(e){var t=new Date,n=new Date(e),i=Math.round((t.getTime()-n.getTime())/1e3);if(60>i)return"< 1 min";if(3600>i)var r=Math.round(i/60)-1,a="min";else if(86400>
113i)var r=Math.round(i/3600)-1,a="hour";else if(604800>i)var r=Math.round(i/86400)-1,a="day";else var r=Math.round(i/604800)-1,a="week";return r>1&&(a+="s"),r+" "+a}}(jQuery),/*! Hammer.JS - v1.0.5 - 2013-04-07 114 * http://eightmedia.github.com/hammer.js 115 * 116 * Copyright (c) 2013 Jorik Tangelder <[email protected]>; 117 * Licensed under the MIT license */ 118function(e,t){"use strict";function n(){if(!i.READY){i.event.determineEventTypes();for(var e in i.gestures)i.gestures.hasOwnProperty(e)&&i.detection.register(i.gestures[e]);i.event.onTouch(i.DOCUMENT,i.EVENT_MOVE,i.detection.detect),i.event.onTouch(i.DOCUMENT,i.EVENT_END,i.detection.detect),i.READY=!0}}var i=function(e,t){return new i.Instance(e,t||{})};i.defaults={"stop_browser_behavior":{"userSelect":"none","touchAction":"none","touchCallout":"none","contentZooming":"none","userDrag":"none","tapHighlightColor":"rgba(0,0,0,0)"}},i.HAS_POINTEREVENTS=navigator.pointerEnabled||navigator.msPointerEnabled,i.HAS_TOUCHEVENTS="ontouchstart"in e,i.MOBILE_REGEX=/mobile|tablet|ip(ad|hone|od)|android/i,i.NO_MOUSEEVENTS=i.HAS_TOUCHEVENTS&&navigator.userAgent.match(i.MOBILE_REGEX),i.EVENT_TYPES={},i.DIRECTION_DOWN="down",i.DIRECTION_LEFT="left",i.DIRECTION_UP="up",i.DIRECTION_RIGHT="right",i.POINTER_MOUSE="mouse",i.POINTER_TOUCH="touch",i.POINTER_PEN="pen",i.EVENT_START="start",i.EVENT_MOVE="move",i.EVENT_END="end",i.DOCUMENT=document,i.plugins={},i.READY=!1,i.Instance=function(e,t){var r=this;return n(),this.element=e,this.enabled=!0,this.options=i.utils.extend(i.utils.extend({},i.defaults),t||{}),this.options.stop_browser_behavior&&i.utils.stopDefaultBrowserBehavior(this.element,this.options.stop_browser_behavior),i.event.onTouch(e,i.EVENT_START,function(e){r.enabled&&i.detection.startDetect(r,e)}),this},i.Instance.prototype={"on":function(e,t){for(var n=e.split(" "),i=0;i<n.length;i++)this.element.addEventListener(n[i],t,!1);return this},"off":function(e,t){for(var n=e.split(" "),i=0;i<n.length;i++)this.element.removeEventListener(n[i],t,!1);return this},"trigger":function(e,t){var n=i.DOCUMENT.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t;var r=this.element;return i.utils.hasParent(t.target,r)&&(r=t.target),r.dispatchEvent(n),this},"enable":function(e){return this.enabled=e,this}};var r=null,a=!1,o=!1;i.event={"bindDom":function(e,t,n){for(var i=t.split(" "),r=0;r<i.length;r++)e.addEventListener(i[r],n,!1)},"onTouch":function(e,t,n){var s=this;this.bindDom(e,i.EVENT_TYPES[t],function(l){var u=l.type.toLowerCase();if(!u.match(/mouse/)||!o){(u.match(/touch/)||u.match(/pointerdown/)||u.match(/mouse/)&&1===l.which)&&(a=!0),u.match(/touch|pointer/)&&(o=!0);var c=0;a&&(i.HAS_POINTEREVENTS&&t!=i.EVENT_END?c=i.PointerEvent.updatePointer(t,l):u.match(/touch/)?c=l.touches.length:o||(c=u.match(/up/)?0:1),c>0&&t==i.EVENT_END?t=i.EVENT_MOVE:c||(t=i.EVENT_END),c||null===r?r=l:l=r,n.call(i.detection,s.collectEventData(e,t,l)),i.HAS_POINTEREVENTS&&t==i.EVENT_END&&(c=i.PointerEvent.updatePointer(t,l))),c||(r=null,a=!1,o=!1,i.PointerEvent.reset())}})},"determineEventTypes":function(){var e;e=i.HAS_POINTEREVENTS?i.PointerEvent.getEvents():i.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"],i.EVENT_TYPES[i.EVENT_START]=e[0],i.EVENT_TYPES[i.EVENT_MOVE]=e[1],i.EVENT_TYPES[i.EVENT_END]=e[2]},"getTouchList":function(e){return i.HAS_POINTEREVENTS?i.PointerEvent.getTouchList():e.touches?e.touches:[{"identifier":1,"pageX":e.pageX,"pageY":e.pageY,"target":e.target}]},"collectEventData":function(e,t,n){var r=this.getTouchList(n,t),a=i.POINTER_TOUCH;return(n.type.match(/mouse/)||i.PointerEvent.matchType(i.POINTER_MOUSE,n))&&(a=i.POINTER_MOUSE),{"center":i.utils.getCenter(r),"timeStamp":(new Date).getTime(),"target":n.target,"touches":r,"eventType":t,"pointerType":a,"srcEvent":n,"preventDefault":function(){this.srcEvent.preventManipulation&&this.srcEvent.preventManipulation(),this.srcEvent.preventDefault&&this.srcEvent.preventDefault()},"stopPropagation":function(){this.srcEvent.stopPropagation()},"stopDetect":function(){return i.detection.stopDetect()}}}},i.PointerEvent={"pointers":{},"getTouchList":function(){var e=this,t=[];
118return Object.keys(e.pointers).sort().forEach(function(n){t.push(e.pointers[n])}),t},"updatePointer":function(e,t){return e==i.EVENT_END?this.pointers={}:(t.identifier=t.pointerId,this.pointers[t.pointerId]=t),Object.keys(this.pointers).length},"matchType":function(e,t){if(!t.pointerType)return!1;var n={};return n[i.POINTER_MOUSE]=t.pointerType==t.MSPOINTER_TYPE_MOUSE||t.pointerType==i.POINTER_MOUSE,n[i.POINTER_TOUCH]=t.pointerType==t.MSPOINTER_TYPE_TOUCH||t.pointerType==i.POINTER_TOUCH,n[i.POINTER_PEN]=t.pointerType==t.MSPOINTER_TYPE_PEN||t.pointerType==i.POINTER_PEN,n[e]},"getEvents":function(){return["pointerdown MSPointerDown","pointermove MSPointerMove","pointerup pointercancel MSPointerUp MSPointerCancel"]},"reset":function(){this.pointers={}}},i.utils={"extend":function(e,n,i){for(var r in n)e[r]!==t&&i||(e[r]=n[r]);return e},"hasParent":function(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1},"getCenter":function(e){for(var t=[],n=[],i=0,r=e.length;r>i;i++)t.push(e[i].pageX),n.push(e[i].pageY);return{"pageX":(Math.min.apply(Math,t)+Math.max.apply(Math,t))/2,"pageY":(Math.min.apply(Math,n)+Math.max.apply(Math,n))/2}},"getVelocity":function(e,t,n){return{"x":Math.abs(t/e)||0,"y":Math.abs(n/e)||0}},"getAngle":function(e,t){var n=t.pageY-e.pageY,i=t.pageX-e.pageX;return 180*Math.atan2(n,i)/Math.PI},"getDirection":function(e,t){var n=Math.abs(e.pageX-t.pageX),r=Math.abs(e.pageY-t.pageY);return n>=r?e.pageX-t.pageX>0?i.DIRECTION_LEFT:i.DIRECTION_RIGHT:e.pageY-t.pageY>0?i.DIRECTION_UP:i.DIRECTION_DOWN},"getDistance":function(e,t){var n=t.pageX-e.pageX,i=t.pageY-e.pageY;return Math.sqrt(n*n+i*i)},"getScale":function(e,t){return e.length>=2&&t.length>=2?this.getDistance(t[0],t[1])/this.getDistance(e[0],e[1]):1},"getRotation":function(e,t){return e.length>=2&&t.length>=2?this.getAngle(t[1],t[0])-this.getAngle(e[1],e[0]):0},"isVertical":function(e){return e==i.DIRECTION_UP||e==i.DIRECTION_DOWN},"stopDefaultBrowserBehavior":function(e,t){var n,i=["webkit","khtml","moz","ms","o",""];if(t&&e.style){for(var r=0;r<i.length;r++)for(var a in t)t.hasOwnProperty(a)&&(n=a,i[r]&&(n=i[r]+n.substring(0,1).toUpperCase()+n.substring(1)),e.style[n]=t[a]);"none"==t.userSelect&&(e.onselectstart=function(){return!1})}}},i.detection={"gestures":[],"current":null,"previous":null,"stopped":!1,"startDetect":function(e,t){this.current||(this.stopped=!1,this.current={"inst":e,"startEvent":i.utils.extend({},t),"lastEvent":!1,"name":""},this.detect(t))},"detect":function(e){if(this.current&&!this.stopped){e=this.extendEventData(e);for(var t=this.current.inst.options,n=0,r=this.gestures.length;r>n;n++){var a=this.gestures[n];if(!this.stopped&&t[a.name]!==!1&&a.handler.call(a,e,this.current.inst)===!1){this.stopDetect();break}}return this.current&&(this.current.lastEvent=e),e.eventType==i.EVENT_END&&!e.touches.length-1&&this.stopDetect(),e}},"stopDetect":function(){this.previous=i.utils.extend({},this.current),this.current=null,this.stopped=!0},"extendEventData":function(e){var t=this.current.startEvent;if(t&&(e.touches.length!=t.touches.length||e.touches===t.touches)){t.touches=[];for(var n=0,r=e.touches.length;r>n;n++)t.touches.push(i.utils.extend({},e.touches[n]))}var a=e.timeStamp-t.timeStamp,o=e.center.pageX-t.center.pageX,s=e.center.pageY-t.center.pageY,l=i.utils.getVelocity(a,o,s);return i.utils.extend(e,{"deltaTime":a,"deltaX":o,"deltaY":s,"velocityX":l.x,"velocityY":l.y,"distance":i.utils.getDistance(t.center,e.center),"angle":i.utils.getAngle(t.center,e.center),"direction":i.utils.getDirection(t.center,e.center),"scale":i.utils.getScale(t.touches,e.touches),"rotation":i.utils.getRotation(t.touches,e.touches),"startEvent":t}),e},"register":function(e){var n=e.defaults||{};return n[e.name]===t&&(n[e.name]=!0),i.utils.extend(i.defaults,n,!0),e.index=e.index||1e3,this.gestures.push(e),this.gestures.sort(function(e,t){return e.index<t.index?-1:e.index>t.index?1:0}),this.gestures}},i.gestures=i.gestures||{},i.gestures.Hold={"name":"hold","index":10,"defaults":{"hold_timeout":500,"hold_threshold":1},"timer":null,"handler":function(e,t){switch(e.eventType){case i.EVENT_START:clearTimeout(this.timer),i.detection.current.name=this.name,this.timer=setTimeout(function(){"hold"==i.detection.current.name&&t.trigger("hold",e)},t.options.hold_timeout);break;case i.EVENT_MOVE:e.distance>t.options.hold_threshold&&clearTimeout(this.timer);break;case i.EVENT_END:clearTimeout(this.timer)}}},i.gestures.Tap={"name":"tap","index":100,"defaults":{"tap_max_touchtime":250,"tap_max_distance":10,"tap_always":!0,"doubletap_distance":20,"doubletap_interval":300},"handler":function(e,t){if(e.eventType==i.EVENT_END){var n=i.detection.previous,r=!1;if(e.deltaTime>t.options.tap_max_touchtime||e.distance>t.options.tap_max_distance)return;n&&"tap"==n.name&&e.timeStamp-n.lastEvent.timeStamp<t.options.doubletap_interval&&e.distance<t.options.doubletap_distance&&(t.trigger("doubletap",e),r=!0),(!r||t.options.tap_always)&&(i.detection.current.name="tap",t.trigger(i.detection.current.name,e))}}},i.gestures.Swipe={"name":"swipe","index":40,"defaults":{"swipe_max_touches":1,"swipe_velocity":.7},"handler":function(e,t){if(e.eventType==i.EVENT_END){if(t.options.swipe_max_touches>0&&e.touches.length>t.options.swipe_max_touches)return;(e.velocityX>t.options.swipe_velocity||e.velocityY>t.options.swipe_velocity)&&(t.trigger(this.name,e),t.trigger(this.name+e.direction,e))}}},i.gestures.Drag={"name":"drag","index":50,"defaults":{"drag_min_distance":10,"drag_max_touches":1,"drag_block_horizontal":!1,"drag_block_vertical":!1,"drag_lock_to_axis":!1,"drag_lock_min_distance":25},"triggered":!1,"handler":function(e,t){if(i.detection.current.name!=this.name&&this.triggered)return t.trigger(this.name+"end",e),void(this.triggered=!1);
118if(!(t.options.drag_max_touches>0&&e.touches.length>t.options.drag_max_touches))switch(e.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:if(e.distance<t.options.drag_min_distance&&i.detection.current.name!=this.name)return;i.detection.current.name=this.name,(i.detection.current.lastEvent.drag_locked_to_axis||t.options.drag_lock_to_axis&&t.options.drag_lock_min_distance<=e.distance)&&(e.drag_locked_to_axis=!0);var n=i.detection.current.lastEvent.direction;e.drag_locked_to_axis&&n!==e.direction&&(e.direction=i.utils.isVertical(n)?e.deltaY<0?i.DIRECTION_UP:i.DIRECTION_DOWN:e.deltaX<0?i.DIRECTION_LEFT:i.DIRECTION_RIGHT),this.triggered||(t.trigger(this.name+"start",e),this.triggered=!0),t.trigger(this.name,e),t.trigger(this.name+e.direction,e),(t.options.drag_block_vertical&&i.utils.isVertical(e.direction)||t.options.drag_block_horizontal&&!i.utils.isVertical(e.direction))&&e.preventDefault();break;case i.EVENT_END:this.triggered&&t.trigger(this.name+"end",e),this.triggered=!1}}},i.gestures.Transform={"name":"transform","index":45,"defaults":{"transform_min_scale":.01,"transform_min_rotation":1,"transform_always_block":!1},"triggered":!1,"handler":function(e,t){if(i.detection.current.name!=this.name&&this.triggered)return t.trigger(this.name+"end",e),void(this.triggered=!1);if(!(e.touches.length<2))switch(t.options.transform_always_block&&e.preventDefault(),e.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:var n=Math.abs(1-e.scale),r=Math.abs(e.rotation);if(n<t.options.transform_min_scale&&r<t.options.transform_min_rotation)return;i.detection.current.name=this.name,this.triggered||(t.trigger(this.name+"start",e),this.triggered=!0),t.trigger(this.name,e),r>t.options.transform_min_rotation&&t.trigger("rotate",e),n>t.options.transform_min_scale&&(t.trigger("pinch",e),t.trigger("pinch"+(e.scale<1?"in":"out"),e));break;case i.EVENT_END:this.triggered&&t.trigger(this.name+"end",e),this.triggered=!1}}},i.gestures.Touch={"name":"touch","index":-1/0,"defaults":{"prevent_default":!1,"prevent_mouseevents":!1},"handler":function(e,t){return t.options.prevent_mouseevents&&e.pointerType==i.POINTER_MOUSE?void e.stopDetect():(t.options.prevent_default&&e.preventDefault(),void(e.eventType==i.EVENT_START&&t.trigger(this.name,e)))}},i.gestures.Release={"name":"release","index":1/0,"handler":function(e,t){e.eventType==i.EVENT_END&&t.trigger(this.name,e)}},"object"==typeof module&&"object"==typeof module.exports?module.exports=i:(e.Hammer=i,"function"==typeof e.define&&e.define.amd&&e.define("hammer",[],function(){return i}))}(this),function(e,t){"use strict";e!==t&&(Hammer.event.bindDom=function(n,i,r){e(n).on(i,function(e){var n=e.originalEvent||e;n.pageX===t&&(n.pageX=e.pageX,n.pageY=e.pageY),n.target||(n.target=e.target),n.which===t&&(n.which=n.button),n.preventDefault||(n.preventDefault=e.preventDefault),n.stopPropagation||(n.stopPropagation=e.stopPropagation),r.call(this,n)})},Hammer.Instance.prototype.on=function(t,n){return e(this.element).on(t,n)},Hammer.Instance.prototype.off=function(t,n){return e(this.element).off(t,n)},Hammer.Instance.prototype.trigger=function(t,n){var i=e(this.element);return i.has(n.target).length&&(i=e(n.target)),i.trigger({"type":t,"gesture":n})},e.fn.hammer=function(t){return this.each(function(){var n=e(this),i=n.data("hammer");i?i&&t&&Hammer.utils.extend(i.options,t):n.data("hammer",new Hammer(this,t||{}))})})}(window.jQuery||window.Zepto),function(e,t){"use strict";e!==t&&(Hammer.event.bindDom=function(n,i,r){e(n).on(i,function(e){var n=e.originalEvent||e;n.pageX===t&&(n.pageX=e.pageX,n.pageY=e.pageY),n.target||(n.target=e.target),n.which===t&&(n.which=n.button),n.preventDefault||(n.preventDefault=e.preventDefault),n.stopPropagation||(n.stopPropagation=e.stopPropagation),r.call(this,n)})},Hammer.Instance.prototype.on=function(t,n){return e(this.element).on(t,n)},Hammer.Instance.prototype.off=function(t,n){return e(this.element).off(t,n)},Hammer.Instance.prototype.trigger=function(t,n){var i=e(this.element);return i.has(n.target).length&&(i=e(n.target)),i.trigger({"type":t,"gesture":n})},e.fn.hammer=function(t){return this.each(function(){var n=e(this),i=n.data("hammer");i?i&&t&&Hammer.utils.extend(i.options,t):n.data("hammer",new Hammer(this,t||{}))})})}(window.jQuery||window.Zepto),/*! 119 * enquire.js v2.1.0 - Awesome Media Queries in JavaScript 120 * Copyright (c) 2013 Nick Williams - http://wicky.nillia.ms/enquire.js 121 * License: MIT (http://www.opensource.org/licenses/mit-license.php) 122 */ 123function(e,t,n){var i=t.matchMedia;"undefined"!=typeof module&&module.exports?module.exports=n(i):"function"==typeof define&&define.amd?define(function(){return t[e]=n(i)}):t[e]=n(i)}("enquire",this,function(e){"use strict";function t(e,t){var n,i=0,r=e.length;for(i;r>i&&(n=t(e[i],i),n!==!1);i++);}function n(e){return"[object Array]"===Object.prototype.toString.apply(e)}function i(e){return"function"==typeof e}function r(e){this.options=e,!e.deferSetup&&this.setup()}function a(t,n){this.query=t,this.isUnconditional=n,this.handlers=[],this.mql=e(t);var i=this;this.listener=function(e){i.mql=e,i.assess()},this.mql.addListener(this.listener)}
123function o(){if(!e)throw Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!e("only all").matches}return r.prototype={"setup":function(){this.options.setup&&this.options.setup(),this.initialised=!0},"on":function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},"off":function(){this.options.unmatch&&this.options.unmatch()},"destroy":function(){this.options.destroy?this.options.destroy():this.off()},"equals":function(e){return this.options===e||this.options.match===e}},a.prototype={"addHandler":function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},"removeHandler":function(e){var n=this.handlers;t(n,function(t,i){return t.equals(e)?(t.destroy(),!n.splice(i,1)):void 0})},"matches":function(){return this.mql.matches||this.isUnconditional},"clear":function(){t(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},"assess":function(){var e=this.matches()?"on":"off";t(this.handlers,function(t){t[e]()})}},o.prototype={"register":function(e,r,o){var s=this.queries,l=o&&this.browserIsIncapable;return s[e]||(s[e]=new a(e,l)),i(r)&&(r={"match":r}),n(r)||(r=[r]),t(r,function(t){s[e].addHandler(t)}),this},"unregister":function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},new o}),function(e){"use strict";e.picturefill=function(){for(var t=e.document.getElementsByTagName("span"),n=0,i=t.length;i>n;n++)if(null!==t[n].getAttribute("data-picture")){for(var r=t[n].getElementsByTagName("span"),a=[],o=0,s=r.length;s>o;o++){var l=r[o].getAttribute("data-media");(!l||e.matchMedia&&e.matchMedia(l).matches)&&a.push(r[o])}var u=t[n].getElementsByTagName("img")[0];if(a.length){var c=a.pop();if(u&&"NOSCRIPT"!==u.parentNode.nodeName){if(c===u.parentNode)continue}else u=e.document.createElement("img"),u.alt=t[n].getAttribute("data-alt");u.src=c.getAttribute("data-src"),c.appendChild(u),u.removeAttribute("width"),u.removeAttribute("height")}else u&&u.parentNode.removeChild(u)}},e.addEventListener?(e.addEventListener("resize",e.picturefill,!1),e.addEventListener("DOMContentLoaded",function(){e.picturefill(),e.removeEventListener("load",e.picturefill,!1)},!1),e.addEventListener("load",e.picturefill,!1)):e.attachEvent&&e.attachEvent("onload",e.picturefill)}(this),function(e,t){"use strict";function n(e){for(var t in e)if(void 0!==c.style[e[t]])return!0;return!1}var i,r,a,o,s={"csscolumns":"columnCount"},l=e("html"),u="Webkit Moz O ms".split(" "),c=document.createElement("div");l.addClass("jsenabled");for(i in s)r=s[i],a=r.charAt(0).toUpperCase()+r.slice(1),o=(r+" "+u.join(a+" ")+a).split(" "),n(o)&&l.addClass(i);var d=navigator.userAgent.match(/Firefox\/([\d|\.]+)/i);if(d&&d.length>1&&d[1]>=30&&e(function(){e("select").parent("div").addClass("moz-select")}),t.IE10Mobile=!1,"-ms-user-select"in document.documentElement.style&&navigator.userAgent.match(/IEMobile\/10\.0/)){t.IE10Mobile=!0;var p=document.createElement("style");p.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}")),document.getElementsByTagName("head")[0].appendChild(p)}t.WebKitVersion=99999;
123var f=navigator.userAgent.split(/WebKit\/(\d+\.\d+)/i);if(f.length>2&&(t.WebKitVersion=parseFloat(f[1]),t.WebKitVersion=t.WebKitVersion||99999),t.CookiesEnabled=!(!e.cookie("cd","1",{"path":"/"})||!e.cookie("cd")),e.removeCookie("cd"),t.CookiesEnabled){var h=!e.cookie("c");e.cookie("c","1",{"path":"/","expires":28}),h&&e(function(){t.ShowPageNotification&&t.ShowPageNotification('We use cookies to improve your experience of this site – <a href="/help/cookies">learn more</a>.')})}t.dev=l.hasClass("dev")}(jQuery,window.Plymouth=window.Plymouth||{}),function(e){function t(){$("[data-module]").each(function(e,t){var i=$(t).data("module");n[i](t)})}var n={};e.Modules={"register":function(e,t){n[e]=t}},$(t)}(window.Plymouth=window.Plymouth||{}),function(e){e.Analytics=e.Analytics||{},e.Analytics.Event=function(t,n,i,r,a){t&&n&&("undefined"!=typeof ga?ga("send",{"hitType":"event","eventCategory":t,"eventAction":n,"eventLabel":i,"eventValue":r,"hitCallback":a}):"undefined"!=typeof _gaq&&("function"==typeof a&&_gaq.push(["_set","hitCallback",a]),_gaq.push(["_trackEvent",t,n,i,r])),e.dev&&console&&console.log&&console.log("Custom event recorded:",t,n,i,r))}}(window.Plymouth=window.Plymouth||{}),$(function(){$(".module-accordion-body").hide(),$(".module-accordion").addClass("module-accordion-closed"),$(".module-accordion-header").on("click",function(){var e=$
123(this),t=e.parent();t.toggleClass("module-accordion-closed"),t.toggleClass("module-accordion-open"),e.next().slideToggle(),Plymouth.Analytics.Event("course-accordion",t.hasClass("module-accordion-open")?"opened":"closed",e.text())})}),function(e){function t(t){"use strict";function n(t){var n=i.container.clientWidth,r=n-i.thumbnails.scrollWidth,a=i.thumbnails.offsetLeft;if(0!==n){t&&(t.preventDefault(),t.stopPropagation());var o=0,s=e(i.thumbnails).children();if(e(this).hasClass("next")){for(;o<s.length&&s[o].offsetLeft+a<n;)o++;o+1==s.length?a=r:(o=Math.max(--o,0),a=-s[o].offsetLeft)}if(e(this).hasClass("previous")){for(;o<s.length&&-s[o].offsetLeft-n>a;)o++;a=-s[o].offsetLeft}t&&t.gesture?(t.gesture.preventDefault(),a+=t.gesture.deltaX,e(i.thumbnails).addClass("touch")):e(i.thumbnails).removeClass("touch"),a=Math.max(r,Math.min(a,0)),i.thumbnails.style.left=a+"px",0===a?i.button.previous.removeClass("active"):i.button.previous.addClass("active"),a===r?i.button.next.removeClass("active"):i.button.next.addClass("active")}}var i={"thumbnails":e(".thumbnails",t)[0],"button":{"previous":e(".button.previous",t),"next":e(".button.next",t)}};i.container=i.thumbnails.parentNode,e(window).on("resize",n).load(n),i.button.previous.on("click",n),i.button.next.on("click",n),e(i.container).closest(".tab-control").find(".tab").on("click",function(){n()}),Hammer(i.container).on("dragleft dragright",n)}Plymouth.CarouselInitializer=t,Plymouth.Modules.register("carousel",t)}(jQuery),function(){Plymouth.Modules.register("content-with-toggles",function(e){"use strict";function t(e,t){var n=Math.floor((s.width()+1)/e.width()),l=u.index(e),c=Math.min(u.length-1,(Math.floor(l/n)+1)*n-1),d=$(window),p=d.scrollTop()+(d.height()-100);t.insertAfter(u[c]),i=e,r=t,i.addClass("is-active"),r.addClass("open"),o=a.width(),r.offset().top>p&&$("html, body").animate({"scrollTop":e.offset().top},1e3)}function n(){i&&(i.removeClass("is-active"),r.removeClass("open"),i=r=null,o=a.width())}var i,r,a=$("body"),o=a.width(),s=$(e),l=($(".course-hero").length?"course":"article")+"-cta",u=$(".call-to-action",e);$(window).on("resize",function(){i&&a.width()!=o&&n(),o=a.width()}),u.on("click",function(r){var a=$(this).closest("a"),o=!1,s=i&&i[0]==a[0],u=$.trim(a.attr("href"));if(n(),!s&&0===u.indexOf("#")){var c=$(u,e);o=c.length>0,o&&(t(a,c),Plymouth.Analytics.Event(l,"clicked",this.innerHTML.replace(/<span class="cta-icon">.+<\/span>/gi,"").replace(/<[^>]+>/g," ").replace(/\s+/g," ")))}(o||s)&&r.preventDefault()})})}(),function(e){"use strict";function t(e){new n(e)}function n(t){if(!t||!t.elements||!t.elements.length)return null;this.form=t,this.form.noValidate=!0,this.field=[],this.trigger=[],this.date=[],this.group={},this.InitialiseFields();var n,i=this;for(n=0;n<this.field.length;n++)this.CheckField(this.field[n]);for(n=0;n<this.trigger.length;n++)this.GroupField(this.trigger[n]);e(this.trigger).on("click change",function(){i.GroupField(this)}),e(this.field).on("blur",function(){i.CheckField(this)}).on("valid invalid",function(e){e.preventDefault(),i.FieldError(this)}),e(this.form).on("submit",function(e){i.CheckForm(e)})}var i={"dateFormat":"dd-mm-yy","requiredClass":"required","disableClass":"disabled","errorClass":"error","groupAttr":"data-formgroup","groupTriggerAttr":"data-formgrouptrigger","groupTriggerValAttr":"data-formgrouptriggervalue","scrollToElement":500};n.prototype.InitialiseFields=function(){var t,n,a=this;for(t=0;t<this.form.elements.length;t++)if(n=this.form.elements[t],"INPUT"===n.nodeName||"TEXTAREA"===n.nodeName||"SELECT"===n.nodeName){if(this.field.push(n),"INPUT"===n.nodeName&&"text"===n.type&&"date"===n.getAttribute("type")&&(this.date.push(n),e.datepicker)){var o={"dateFormat":i.dateFormat,"changeYear":!0,"changeMonth":!0,"onClose":function(){a.CheckField(this)}},s=r.Date.Parse(n.getAttribute("min"),[2,1,0]),l=r.Date.Parse(n.getAttribute("max"),[2,1,0]);s&&(o.minDate=s),l&&(o.maxDate=l),e(n).datepicker(o)}var u,c,d=n.getAttribute(i.groupAttr),p=n.getAttribute(i.groupTriggerAttr);if(d)for(d=d.replace(/\s+/,"").split(","),u=0;u<d.length;u++)c=d[u],this.group[c]=this.group[c]||[],this.group[c].push(n);p&&this.trigger.push(n)}},n.prototype.CheckField=function(t){var n=e(t);("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName)&&(t.value=t.value.replace(/^\s|\s$/g,"").replace(/\r/g,"").replace(/\n+/g,"<nl>").replace(/\s+/g," ").replace(/\s*<nl>
123\s*/g,"\n").replace(/\n+/g,"\n")),null!==t.getAttribute("required")?n.parent().addClass(i.requiredClass):n.parent().removeClass(i.requiredClass),void 0!==t.willValidate?("INPUT"===t.nodeName&&t.type!==t.getAttribute("type")&&t.setCustomValidity(!t.disabled&&this.FieldValid(t)?"":"error"),t.checkValidity()&&e(t).trigger({"type":"valid"})):(t.validity=t.validity||{},t.validity.valid=!0,t.disabled||(t.validity.valid=this.FieldValid(t)),n.trigger({"type":t.validity.valid?"valid":"invalid"}))},n.prototype.FieldValid=function(e){var t=!0,n=e.value,i=e.getAttribute("type"),a=e.getAttribute("required"),o=e.getAttribute("maxlength"),s=e.getAttribute("min"),l=e.getAttribute("max"),u=e.getAttribute("step"),c=e.getAttribute("pattern");switch(i){case"date":var d=r.Date.Parse(n);t=d&&(!s||d>=r.Date.Parse(s,[2,1,0]))&&(!l||d<=r.Date.Parse(l,[2,1,0])),t&&(n=r.Date.Format(d));break;case"email":n=r.Email.Parse(n),t=!!n;break;case"number":case"range":var p=r.Number.Parse(n);if(t=p!==!1&&(!s||p>=s)&&(!l||l>=p),t&&u){var f=(p-(s?s:0))/u;t=f===Math.floor(f)}t&&(n=p);break;default:t=t&&(!s||n.length>=s)&&(!l||n.length<=l)}return t=t&&(!a||("checkbox"===i||"radio"===i)&&e.checked||"checkbox"!==i&&"radio"!==i&&""!==n),t&&c&&(c=new RegExp(c),t=c.test(n)),t&&o&&"checkbox"!==i&&"radio"!==i&&(t=n.length<=o),t&&n!==e.value&&(e.value=n),t},n.prototype.GroupField=function(t){var n=t.getAttribute(i.groupTriggerAttr),r=t.getAttribute(i.groupTriggerValAttr);if(n){n=n.replace(/\s+/,"").split(","),r=r?r.replace(/\s+/,"").split(","):[];var a,o,s,l,u,c,d;for(a=0;a<n.length;a++)if(o=n[a],this.group[o])for(r[a]?c=r[a]:(d="SELECT"===t.nodeName?t.options[t.selectedIndex].value:t.value,c=d?d:null),s=("checkbox"===t.type||"radio"===t.type)&&t.checked||"checkbox"!==t.type&&"radio"!==t.type&&t.value===c||"SELECT"===t.nodeName&&t.options[t.selectedIndex].value===c,u=e(this.group[o]).parent(),s?u.removeClass(i.disableClass):u.addClass(i.disableClass),l=0;l<this.group[o].length;l++)this.group[o][l].disabled=!s}},n.prototype.CheckForm=function(t){var n,r=null,a=!0;for(n=0;n<this.field.length;n++)this.CheckField(this.field[n]),a&=this.field[n].validity.valid||this.field[n].disabled,null!==r||a||(r=n);return a||(t.preventDefault(),this.field[r].focus&&this.field[r].focus(),e("html,body").animate({"scrollTop":e(this.field[r]).parent().offset().top},i.scrollToElement),t.stopPropagation()),a},n.prototype.FieldError=function(t){var n=e(t).parent();t.validity.valid?n.removeClass(i.errorClass):n.addClass(i.errorClass)};var r={};r.Number=function(){function e(e){return e=parseFloat(e),isNaN(e)&&(e=!1),e}return{"Parse":e}}(),r.Date=function(){function e(e,t){t=t||i;var r=!1;e=String(e).replace(/^\D+|\D+$/g,""),e=e.replace(/\D+/g,n);var a=e.split(n,3);if(3==a.length){var o=parseInt(a[t[0]],10),s=parseInt(a[t[1]],10),l=parseInt(a[t[2]],10);l+=40>=l?2e3:l>40&&100>l?1900:0,r=new Date(l,s-1,o),(o!=r.getDate()||s-1!=r.getMonth()||l!=r.getFullYear())&&(r=!1)}return r}function t(e,t){t=t||i;var r=!1;if(e.getFullYear){var a=[("00"+e.getDate()).slice(-2),("00"+(e.getMonth()+1)).slice(-2),e.getFullYear()];r=a[t[0]]+n+a[t[1]]+n+a[t[2]]}return r}var n="-",i=[0,1,2];return{"Parse":e,"Format":t}}(),r.Email=function(){function e(e){return e=e.toLowerCase(),t.test(e)||(e=!1),e}var t=/^[^@]+@[a-z0-9]+([_\.\-]{0,1}[a-z0-9]+)*([\.]{1}[a-z0-9]+)+$/;return{"Parse":e}}(),Plymouth.Modules.register("validate",t)}(jQuery),function(e){function t(t){function n(t){t.preventDefault();var n=$(t.target),r=n.data("versions");if(i.main.iframe.attr("src","about:blank"),r.video){i.main.mainimage.css({"display":"none"}),i.main.mainvideo.css({"display":"block"}),i.main.iframe.attr("src","//www.youtube.com/embed/"+r.video+"?rel=0&wmode=opaque"),i.main.videomask.attr("title",r.title);var a=r.small;window.matchMedia("(min-width:600px)")&&(a=r.medium),window.matchMedia("(min-width:960px)")&&(a=r.large),i.main.videomask.css({"display":"block","background-image":"url("+a+")","filter":"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+a+"', sizingMethod='scale')","-ms-filter":"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+a+"', sizingMethod='scale')"})}else i.main.mainimage.css({"display":"block"}),i.main.mainvideo.css({"display":"none"}),i.main.versions.small.attr("data-src",r.small),i.main.versions.medium.attr("data-src",r.medium),i.main.versions.large.attr("data-src",r.large),$("img",i.main.wrapper).remove(),e();i.main.titlewrapper.css({"display":"block"}),i.main.title.html(n.attr("alt")),i.main.credits.html(n.data("credits")),i.thumbnails.links.removeClass("active"),n.parent("a").addClass("active")}var i={"main":{"wrapper":$(".main-image-wrapper",t),"mainvideo":$(".responsive-video-wrapper",t),"videomask":$(".video-mask",t),"iframe":$(".responsive-video",t),"mainimage":$(".main-image",t),"versions":{"small":$(".version-small",t),"medium":$(".version-medium",t),"large":$(".version-large",t)},"titlewrapper":$(".main-image-details",t),"title":$(".main-image-details .image-title",t),"credits":$(".main-image-details .image-credits",t)},"thumbnails":{"container":$(".thumbnails-container",t),"list":$(".thumbnails",t),"links":$
123(".thumbnails a",t)},"buttons":{"previous":$(".button.previous",t),"next":$(".button.next",t)}};i.thumbnails.links.first().addClass("active");var r=$("img",i.thumbnails.links[0]).data("versions");r&&r.video?i.main.mainimage.css({"display":"none"}):i.main.mainvideo.css({"display":"none"}),i.thumbnails.container.show(),i.thumbnails.links.on("click",n),Hammer(i.main.wrapper[0]).on("swipeleft swiperight",function(e){var t,n=i.thumbnails.links.filter(".active");0===n.length&&(n=i.thumbnails.links.first()),n=n.parent(),"left"===e.gesture.direction?t=n.next():"right"===e.gesture.direction&&(t=n.prev()),t.length>0&&$("img",t).trigger("click")})}Plymouth.Modules.register("gallery",t)}(window.picturefill||null),function(e){"use strict";Plymouth.Modules.register("map",function(t){var n={"imageSelector":".contact-detail-image-wrapper","mapElement":'<div class="googlemap"></div>',"mapApi":"https://maps.googleapis.com/maps/api/js?key=AIzaSyDberZXBtu3mC1Vyq66VDT3VKL0qCVTWtU&callback=Plymouth.MapStart","mapType":"ROADMAP","mapZoom":16,"mapTypeControl":!1,"mapZoomControl":"DEFAULT","streetViewControl":!1},i=e(t),r=e(n.imageSelector,i),a=i.data("pin");1==r.length&&a instanceof Array&&2==a.length&&e(window).on("load",function(){var e=document.createElement("script");e.src=n.mapApi,document.body.appendChild(e)}),Plymouth.MapStart=function(){{var t=e(n.mapElement).appendTo(r)[0],i={"lat":a[0],"lng":a[1]},o={"center":i,"zoom":n.mapZoom,"mapTypeId":google.maps.MapTypeId[n.mapType],"mapTypeControl":n.mapTypeControl,"streetViewControl":n.streetViewControl,"zoomControl":!!n.mapZoomControl,"zoomControlOptions":{"style":n.mapZoomControl&&google.maps.ZoomControlStyle[n.mapZoomControl]}},s=new google.maps.Map(t,o);new google.maps.Marker({"map":s,"position":i})}}})}(jQuery),function(){"use strict";Plymouth.Modules.register("more-paging",function(e){function t(){o&&!r.hasClass("loading")&&(r.addClass("loading"),$.getJSON(l,{"more_from":o}).done(function(e){o=e.more?o+e.size:"",r.attr("href","#"+o),o||i.addClass("complete");for(var t=0;t<e.results.length;t++)n(e.results[t],t)}).always(function(){r.removeClass("loading"),s&&o&&s>=o?t():$("html, body").animate({"scrollTop":a.offset().top+a.height()},1e3)}))}function n(e,t){setTimeout(function(){a.append(e)},200*t)}var i=$(e),r=$(".more-button a",i),a=$(".more_target"),o=parseInt("0"+r.attr("href").slice(1),10),s=parseInt("0"+window.location.hash.slice(1),10),l=window.location.pathname+".json";i.addClass(o?"enabled":"complete"),o&&(s&&s>=o&&t(),r.on("click",t))})}(),function(e){function t(e){e.style.display="none";e.offsetHeight;e.style.display="block"}var n={"menuLabels":e(".main-navigation label"),"menuOpen":e("#main_navigation_menu")[0],"activeClass":"show_menu","applyTo":e("body"),"searchFilter":e(".global-filters label")};
123n.menuOpen&&(n.menuOpen.checked=!1),n.applyTo.removeClass(n.activeClass),n.menuLabels.on("mousedown touchstart"+(Plymouth&&Plymouth.IE10Mobile?"":" click"),function(e){e.preventDefault(),e.stopPropagation(),n.applyTo.toggleClass(n.activeClass)}),n.staffCheck=e("input[name='profile']"),Plymouth&&Plymouth.WebKitVersion&&Plymouth.WebKitVersion<535&&(n.searchCheck=e("#"+n.searchFilter.attr("for")),n.searchList=n.searchFilter.closest("ul")[0],n.searchCheck.on("change",function(){t(n.searchList)}),n.staffProfile=e(".staff-details"),n.staffCheck.length>1&&1==n.staffProfile.length&&(n.staffProfile=n.staffProfile[0],n.staffCheck.on("change",function(){t(n.staffProfile)}),e(window).load(function(){n.staffCheck[0].checked=!0,t(n.staffProfile)}))),n.staffCheck.length>1&&n.staffCheck.on("change",function(t){var n=e("."+t.target.id),i=e("h2",n),r=i.offset().top;"block"==i.css("display")&&r<e(document).scrollTop()&&e("html,body").animate({"scrollTop":r},500)})}(jQuery),function(e){"use strict";function t(){if(n.node=e("."+n.className),n.node.length>0)return void(n.node=e(n.node[0]));var t=document.createElement(n.tag),i=e(n.insertBefore);t.className=n.className,t.appendChild(document.createElement(n.msgTag)),i.length>0&&(i=i[0],n.node=e(i.parentNode.insertBefore(t,i)))}var n={"tag":"aside","className":"page-notification","msgTag":"p","insertBefore":".app","openClass":"open","delay":300};Plymouth=Plymouth||{},Plymouth.ShowPageNotification=function(i){(n.node||(t(),n.node))&&(n.node.removeClass(n.openClass),e(n.msgTag,n.node).replaceWith("<p>"+i+"</p>"),setTimeout(function(){n.node.addClass(n.openClass)},n.delay))}}(jQuery),function(e){"use strict";function t(){return{"screen":a.height(),"page":o.height(),"scroll":o.scrollTop()}}function n(){if(r){var e=r;r=null,c.enabled=!1,e.animate({"opacity":0},c.scrollDelay,"linear",function(){e.remove()})}}function i(){function i(){var e=t();!u&&Math.abs(e.scroll-l)>e.screen*(1-c.scrollOverlap)&&(n(),a.off("scroll",i))}a=e(window),o=e(document),s=e("html,body");var d=!1,p=t();return l=p.scroll,!c.enabled||p.page<=p.screen||p.scroll+p.screen>e(c.disableIfVisible).last().offset().top?void(c.enabled=!1):(r=e('<div class="scrollhint">O</div>').appendTo(e("body")),r.on("click mousedown touchstart",function(e){if(e.stopPropagation(),u)return!1;u=!0;var i=t(),r=Math.min(i.screen*c.scrollOverlap+i.scroll,i.page);return s.animate({"scrollTop":r},{"duration":c.scrollDelay,"complete":function(){r+i.screen>=i.page&&n(),setTimeout(function(){u=!1},c.clickDelay),d||(d=!0,Plymouth.Analytics.Event("scrollhint","used",window.location.href))}}),!1}),void a.on("scroll",i))}var r,a,o,s,l,u,c={"enabled":!0,"clickDelay":200,"scrollDelay":500,"scrollOverlap":.95,"disableIfVisible":"footer.footer-main"};e(i)}(jQuery),function(e){"use strict";var t={"link":"a.share","width":500,"height":500,"minmargin":10,"GAcategory":"share","GAevent":"click"};e(function(){e(t.link).on("click",function(e){var n=e.target.className.replace(/share/,"").replace(/\s|_|\-/g,"").toLowerCase();if(n&&Plymouth&&Plymouth.Analytics&&Plymouth.Analytics.Event&&Plymouth.Analytics.Event(t.GAcategory,t.GAevent,n),"email"==n)return!0;var i=e.target,r=screen.availWidth||1024,a=screen.availHeight||700,o=Math.min(t.width,r-2*t.minmargin),s=Math.min(t.height,a-2*t.minmargin),l=Math.floor((r-o)/2),u=Math.floor((a-s)/2),c=window.open(i.href,"social","width="+o+",height="+s+",left="+l+",top="+u+",location=0,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=1");return c&&(c.focus(),e.preventDefault()),!!c})})}(jQuery),function(){Plymouth.Modules.register("tab-control",function(e){$(".hidden",e).removeClass("hidden");var t=$(".tab",e),n=$(".tab-content",e);n.addClass("hidden"),n.first().removeClass("hidden"),t.first().addClass("checked"),t.click(function(i){i.preventDefault(),n.addClass("hidden"),t.removeClass("checked");{var r=$(this).data("tab-index"),a="[data-tab-content-index='"+r+"']";$(a,e).removeClass("hidden")}$(this).addClass("checked")})})}(),function(e){"use strict";var t=window.location.host;if(e("body").on("click",function(n){function i(){o&&(document.location=a)}if(!n.isDefaultPrevented()&&Plymouth&&Plymouth.Analytics){var r=e(n.target).closest("a");if(1==r.length&&t!=r[0].host){var a=r[0].href,o=r[0].protocol.indexOf("http")>=0;o&&n.preventDefault(),Plymouth.Analytics.Event("outbound","clicked",a,null,i),setTimeout(i,1e3)}}}),"/study/applicant-journey/apply"===document.location.pathname){var n=Math.random()+"",i=1e13*n;
123document.write('<img src="http://pubads.g.doubleclick.net/activity;xsp=97287;ord='+i+'?" width=1 height=1 border=0/>')}}(jQuery),function(e){"use strict";function t(t){e(t).on("click",n)}function n(t){var n=e(t.currentTarget),i=e("iframe",n.parent());if(n.length&&i.length){var r=i.attr("src").replace(/autoplay=\d+/gi,"")+"&autoplay=1";i.attr("src",r),n.fadeOut(),e(".main-image-details",n.parent().parent()).css({"display":"none"})}}Plymouth.Modules.register("video-player",t)}(jQuery),function(){var e=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=self.Prism={"util":{"type":function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},"clone":function(e){var n=t.util.type(e);switch(n){case"Object":var i={};for(var r in e)e.hasOwnProperty(r)&&(i[r]=t.util.clone(e[r]));return i;case"Array":return e.slice()}return e}},"languages":{"extend":function(e,n){var i=t.util.clone(t.languages[e]);for(var r in n)i[r]=n[r];return i},"insertBefore":function(e,n,i,r){r=r||t.languages;var a=r[e],o={};for(var s in a)if(a.hasOwnProperty(s)){if(s==n)for(var l in i)i.hasOwnProperty(l)&&(o[l]=i[l]);o[s]=a[s]}return r[e]=o},"DFS":function(e,n){for(var i in e)n.call(e,i,e[i]),"Object"===t.util.type(e)&&t.languages.DFS(e[i],n)}},"highlightAll":function(e,n){for(var i,r=document.querySelectorAll('code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'),a=0;i=r[a++];)t.highlightElement(i,e===!0,n)},"highlightElement":function(i,r,a){for(var o,s,l=i;l&&!e.test(l.className);)l=l.parentNode;if(l&&(o=(l.className.match(e)||[,""])[1],s=t.languages[o]),s){i.className=i.className.replace(e,"").replace(/\s+/g," ")+" language-"+o,l=i.parentNode,/pre/i.test(l.nodeName)&&(l.className=l.className.replace(e,"").replace(/\s+/g," ")+" language-"+o);var u=i.textContent;if(u){u=u.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\u00a0/g," ");var c={"element":i,"language":o,"grammar":s,"code":u};if(t.hooks.run("before-highlight",c),r&&self.Worker){var d=new Worker(t.filename);d.onmessage=function(e){c.highlightedCode=n.stringify(JSON.parse(e.data),o),c.element.innerHTML=c.highlightedCode,a&&a.call(c.element),t.hooks.run("after-highlight",c)},d.postMessage(JSON.stringify({"language":c.language,"code":c.code}))}else c.highlightedCode=t.highlight(c.code,c.grammar,c.language),c.element.innerHTML=c.highlightedCode,a&&a.call(i),t.hooks.run("after-highlight",c)}}},"highlight":function(e,i,r){return n.stringify(t.tokenize(e,i),r)},"tokenize":function(e,n){var i=t.Token,r=[e],a=n.rest;if(a){for(var o in a)n[o]=a[o];delete n.rest}e:for(var o in n)if(n.hasOwnProperty(o)&&n[o]){var s=n[o],l=s.inside,u=!!s.lookbehind||0;s=s.pattern||s;for(var c=0;c<r.length;c++){var d=r[c];if(r.length>e.length)break e;if(!(d instanceof i)){s.lastIndex=0;var p=s.exec(d);if(p){u&&(u=p[1].length);var f=p.index-1+u,p=p[0].slice(u),h=p.length,m=f+h,g=d.slice(0,f+1),v=d.slice(m+1),y=[c,1];g&&y.push(g);var b=new i(o,l?t.tokenize(p,l):p);y.push(b),v&&y.push(v),Array.prototype.splice.apply(r,y)}}}}return r},"hooks":{"all":{},"add":function(e,n){var i=t.hooks.all;i[e]=i[e]||[],i[e].push(n)},"run":function(e,n){var i=t.hooks.all[e];if(i&&i.length)for(var r,a=0;r=i[a++];)r(n)}}},n=t.Token=function(e,t){this.type=e,this.content=t};if(n.stringify=function(e,i,r){if("string"==typeof e)return e;if("[object Array]"==Object.prototype.toString.call(e))return e.map(function(t){return n.stringify(t,i,e)}).join("");var a={"type":e.type,"content":n.stringify(e.content,i,r),"tag":"span","classes":["token",e.type],"attributes":{},"language":i,"parent":r};"comment"==a.type&&(a.attributes.spellcheck="true"),t.hooks.run("wrap",a);var o="";for(var s in a.attributes)o+=s+'="'+(a.attributes[s]||"")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'" '+o+">"+a.content+"</"+a.tag+">"},!self.document)return void self.addEventListener("message",function(e){var n=JSON.parse(e.data),i=n.language,r=n.code;self.postMessage(JSON.stringify(t.tokenize(r,t.languages[i]))),self.close()},!1);var i=document.getElementsByTagName("script");i=i[i.length-1],i&&(t.filename=i.src,document.addEventListener&&!i.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",t.highlightAll))}(),Prism.languages.markup={"comment":/<!--[\w\W]*?--(>|>)/g,"prolog":/<\?.+?\?>/,"doctype":/<!DOCTYPE.+?>/,"cdata":/<!\[CDATA\[[\w\W]+?]]>/i,"tag":{"pattern":/<\/?[\w:-]+\s*(?:\s+[\w:-]+(?:=(?:("|')(\\?[\w\W])*?\1|\w+))?\s*)*\/?>/gi,"inside":{"tag":{"pattern":/^<\/?[\w:-]+/i,"inside":{"punctuation":/^<\/?/,"namespace":/^[\w-]+?:/}},"attr-value":{"pattern":/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/gi,"inside":{"punctuation":/=|>|"/g}},"punctuation":/\/?>/g,"attr-name":{"pattern":/[\w:-]+/g,"inside":{"namespace":/^[\w-]+?:/}}}},"entity":/&#?[\da-z]{1,8};/gi},Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Prism.languages.css={"comment":/\/\*[\w\W]*?\*\//g,"atrule":/@[\w-]+?(\s+[^;{]+)?(?=\s*{|\s*;)/gi,"url":/url\((["']?).*?\1\)/gi,"selector":/[^\{\}\s][^\{\}]*(?=\s*\{)/g,"property":/(\b|\B)[a-z-]+(?=\s*:)/gi,"string":/("|')(\\?.)*?\1/g,"important":/\B!important\b/gi,"ignore":/&(lt|gt|amp);/gi,"punctuation":/[\{\};:]/g},Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{"style":{"pattern":/(<|<)style[\w\W]*?(>|>)[\w\W]*?(<|<)\/style(>|>)/gi,"inside":{"tag":{"pattern":/(<|<)style[\w\W]*?(>|>)|(<|<)\/style(>|>)/gi,"inside":Prism.languages.markup.tag.inside},"rest":Prism.languages.css}}}),Prism.languages.clike={"comment":{"pattern":/(^|[^\\])(\/\*[\w\W]*?\*\/|(^|[^:])\/\/.*?(\r?\n|$))/g,"lookbehind":!0},"string":/("|')(\\?.)*?\1/g,"class-name":{"pattern":/((?:class|interface|extends|implements|trait|instanceof|new)\s+)[a-z0-9_\.\\]+/gi,"lookbehind":!0,"inside":{"punctuation":/(\.|\\)/}},"keyword":/\b(if|else|while|do|for|return|in|instanceof|function|new|try|catch|finally|null|break|continue)\b/g,"boolean":/\b(true|false)\b/g,"function":{"pattern":/[a-z0-9_]+\(/gi,"inside":{"punctuation":/\(/}},"number":/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/g,"operator":/[-+]{1,2}|!|=?<|=?>|={1,2}|(&){1,2}|\|?\||\?|\*|\/|\~|\^|\%/g,"ignore":/&(lt|gt|amp);/gi,"punctuation":/[{}[\];(),.:]/g},Prism.languages.javascript=Prism.languages.extend("clike",{"keyword":/\b(var|let|if|else|while|do|for|return|in|instanceof|function|new|with|typeof|try|catch|finally|null|break|continue)\b/g,"number":/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?|NaN|-?Infinity)\b/g}),Prism.languages.insertBefore("javascript","keyword",{"regex":{"pattern":/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/g,"lookbehind":!0}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{"script":{"pattern":/(<|<)script[\w\W]*?(>|>)[\w\W]*?(<|<)\/script(>|>)/gi,"inside":{"tag":{"pattern":/(<|<)script[\w\W]*?(>|>)|(<|<)\/script(>|>)/gi,"inside":Prism.languages.markup.tag.inside},"rest":Prism.languages.javascript}}}),Prism.languages.coffeescript=Prism.languages.extend("javascript",{"block-comment":/([#]{3}\s*\r?\n(.*\s*\r*\n*)\s*?\r?\n[#]{3})/g,"comment":/(\s|^)([#]{1}[^#^\r^\n]{2,}?(\r?\n|$))/g,"keyword":/\b(this|window|delete|class|extends|namespace|extend|ar|let|if|else|while|do|for|each|of|return|in|instanceof|new|with|typeof|try|catch|finally|null|undefined|break|continue)\b/g}),Prism.languages.insertBefore("coffeescript","keyword",{"function":{"pattern":/[a-z|A-z]+\s*[:|=]\s*(\([.|a-z\s|,|:|{|}|\"|\'|=]*\))?\s*->/gi,"inside":{"function-name":/[_?a-z-|A-Z-]+(\s*[:|=])| @[_?$?a-z-|A-Z-]+(\s*)| /g,"operator":/[-+]{1,2}|!|=?<|=?>|={1,2}|(&){1,2}|\|?\||\?|\*|\//g}},"attr-name":/[_?a-z-|A-Z-]+(\s*:)| @[_?$?a-z-|A-Z-]+(\s*)| /g}),Prism.languages.scss=Prism.languages.extend("css",{"comment":{"pattern":/(^|[^\\])(\/\*[\w\W]*?\*\/|\/\/.*?(\r?\n|$))/g,"lookbehind":!0},"atrule":/@[\w-]+(?=\s+(\(|\{|;))/gi,"url":/([-a-z]+-)*url(?=\()/gi,"selector":/([^@;\{\}\(\)]?([^@;\{\}\(\)]|&|\#\{\$[-_\w]+\})+)(?=\s*\{(\}|\s|[^\}]+(:|\{)[^\}]+))/gm}),Prism.languages.insertBefore("scss","atrule",{"keyword":/@(if|else if|else|for|each|while|import|extend|debug|warn|mixin|include|function|return)|(?=@for\s+\$[-_\w]+\s)+from/i}),Prism.languages.insertBefore("scss","property",{"variable":/((\$[-_\w]+)|(#\{\$[-_\w]+\}))/i}),Prism.languages.insertBefore("scss","ignore",{"placeholder":/%[-_\w]+/i,"statement":/\B!(default|optional)\b/gi,"boolean":/\b(true|false)\b/g,"null":/\b(null)\b/g,"operator":/\s+([-+]{1,2}|={1,2}|!=|\|?\||\?|\*|\/|\%)\s+/g}),$(function(){$(".rss-feed").each(function(){$(this).rssfeed($(this).attr("data-rss_url"),{"limit":5,"dateformat":"dd MMMM yyyy"})}),$(".accordion").accordion({"collapsible":!0,"active":!1,"heightStyle":"content","header":".accordion-expandable","animate":{"easing":"easeInOutQuart","duration":150},"icons":{"header":"ui-icon-triangle-1-e","activeHeader":"ui-icon-triangle-1-s"}})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.