switch(function(t,e){function n(t){var e=pt[t]={};return K.each(t.split(et),function(t,n){e[n]=!0}),e}function i(t,n,i){if(i===e&&1===t.nodeType){var o="data-"+n.replace(gt,"-$1").toLowerCase();if(i=t.getAttribute(o),"string"==typeof i){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:mt.test(i)?K.parseJSON(i):i)}catch(t){}K.data(t,n,i)}else i=e}return i}function o(t){var e;for(e in t)if(("data"!==e||!K.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function r(){return!1}function s(){return!0}function a(t){return!t||!t.parentNode||11===t.parentNode.nodeType}function l(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function u(t,e,n){if(e=e||0,K.isFunction(e))return K.grep(t,function(t,i){var o=!!e.call(t,i,t);return o===n});if(e.nodeType)return K.grep(t,function(t){return t===e===n});if("string"==typeof e){var i=K.grep(t,function(t){return 1===t.nodeType});if(Pt.test(e))return K.filter(e,i,!n);e=K.filter(e,i)}return K.grep(t,function(t){return K.inArray(t,e)>=0===n})}function c(t){var e=Bt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function d(t,e){return t.getElementsByTagName(e)[0]||t.appendChild(t.ownerDocument.createElement(e))}function f(t,e){if(1===e.nodeType&&K.hasData(t)){var n,i,o,r=K._data(t),s=K._data(e,r),a=r.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,o=a[n].length;i").appendTo(W.body),n=e.css("display");return e.remove(),"none"!==n&&""!==n||(ie=W.body.appendChild(ie||K.extend(W.createElement("iframe"),{frameBorder:0,width:0,height:0})),oe&&ie.createElement||(oe=(ie.contentWindow||ie.contentDocument).document,oe.write(""),oe.close()),e=oe.body.appendChild(oe.createElement(t)),n=ne(e,"display"),W.body.removeChild(ie)),he[t]=n,n}function k(t,e,n,i){var o;if(K.isArray(e))K.each(e,function(e,o){n||xe.test(t)?i(t,o):k(t+"["+("object"==typeof o?e:"")+"]",o,n,i)});else if(n||"object"!==K.type(e))i(t,e);else for(o in e)k(t+"["+o+"]",e[o],n,i)}function T(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o,r,s=e.toLowerCase().split(et),a=0,l=s.length;if(K.isFunction(n))for(;a)[^>]*$|#([\w\-]*)$)/,ot=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,rt=/^[\],:{}\s]*$/,st=/(?:^|:|,)(?:\s*\[)+/g,at=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,lt=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ut=/^-ms-/,ct=/-([\da-z])/gi,dt=function(t,e){return(e+"").toUpperCase()},ft=function(){W.addEventListener?(W.removeEventListener("DOMContentLoaded",ft,!1),K.ready()):"complete"===W.readyState&&(W.detachEvent("onreadystatechange",ft),K.ready())},ht={};K.fn=K.prototype={constructor:K,init:function(t,n,i){var o,r,s;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if("string"==typeof t){if(o="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:it.exec(t),!o||!o[1]&&n)return!n||n.jquery?(n||i).find(t):this.constructor(n).find(t);if(o[1])return n=n instanceof K?n[0]:n,s=n&&n.nodeType?n.ownerDocument||n:W,t=K.parseHTML(o[1],s,!0),ot.test(o[1])&&K.isPlainObject(n)&&this.attr.call(t,n,!0),K.merge(this,t);if(r=W.getElementById(o[2]),r&&r.parentNode){if(r.id!==o[2])return i.find(t);this.length=1,this[0]=r}return this.context=W,this.selector=t,this}return K.isFunction(t)?i.ready(t):(t.selector!==e&&(this.selector=t.selector,this.context=t.context),K.makeArray(t,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return Q.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t,e,n){var i=K.merge(this.constructor(),t);return i.prevObject=this,i.context=this.context,"find"===e?i.selector=this.selector+(this.selector?" ":"")+n:e&&(i.selector=this.selector+"."+e+"("+n+")"),i},each:function(t,e){return K.each(this,t,e)},ready:function(t){return K.ready.promise().done(t),this},eq:function(t){return t=+t,t===-1?this.slice(t):this.slice(t,t+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Q.apply(this,arguments),"slice",Q.call(arguments).join(","))},map:function(t){return this.pushStack(K.map(this,function(e,n){return t.call(e,n,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:U,sort:[].sort,splice:[].splice},K.fn.init.prototype=K.fn,K.extend=K.fn.extend=function(){var t,n,i,o,r,s,a=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},l=2),"object"==typeof a||K.isFunction(a)||(a={}),u===l&&(a=this,--l);l0||(_.resolveWith(W,[K]),K.fn.trigger&&K(W).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===K.type(t)},isArray:Array.isArray||function(t){return"array"===K.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):ht[Y.call(t)]||"object"},isPlainObject:function(t){if(!t||"object"!==K.type(t)||t.nodeType||K.isWindow(t))return!1;try{if(t.constructor&&!G.call(t,"constructor")&&!G.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}var n;for(n in t);return n===e||G.call(t,n)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,n){var i;return t&&"string"==typeof t?("boolean"==typeof e&&(n=e,e=0),e=e||W,(i=ot.exec(t))?[e.createElement(i[1])]:(i=K.buildFragment([t],e,n?null:[]),K.merge([],(i.cacheable?K.clone(i.fragment):i.fragment).childNodes))):null},parseJSON:function(e){return e&&"string"==typeof e?(e=K.trim(e),t.JSON&&t.JSON.parse?t.JSON.parse(e):rt.test(e.replace(at,"@").replace(lt,"]").replace(st,""))?new Function("return "+e)():void K.error("Invalid JSON: "+e)):null},parseXML:function(n){var i,o;if(!n||"string"!=typeof n)return null;try{t.DOMParser?(o=new DOMParser,i=o.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(t){i=e}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||K.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(e){e&&tt.test(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(ut,"ms-").replace(ct,dt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,n,i){var o,r=0,s=t.length,a=s===e||K.isFunction(t);if(i)if(a){for(o in t)if(n.apply(t[o],i)===!1)break}else for(;r0&&t[0]&&t[l-1]||0===l||K.isArray(t));if(u)for(;a-1;)u.splice(n,1),r&&(n<=a&&a--,n<=l&&l--)}),this},has:function(t){return K.inArray(t,u)>-1},empty:function(){return u=[],this},disable:function(){return u=c=i=e,this},disabled:function(){return!u},lock:function(){return c=e,i||f.disable(),this},locked:function(){return!c},fireWith:function(t,e){return e=e||[],e=[t,e.slice?e.slice():e],!u||o&&!c||(r?c.push(e):d(e)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},K.extend({Deferred:function(t){var e=[["resolve","done",K.Callbacks("once memory"),"resolved"],["reject","fail",K.Callbacks("once memory"),"rejected"],["notify","progress",K.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return K.Deferred(function(n){K.each(e,function(e,i){var r=i[0],s=t[e];o[i[1]](K.isFunction(s)?function(){var t=s.apply(this,arguments);t&&K.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[r+"With"](this===o?n:this,[t])}:n[r])}),t=null}).promise()},promise:function(t){return null!=t?K.extend(t,i):i}},o={};return i.pipe=i.then,K.each(e,function(t,r){var s=r[2],a=r[3];i[r[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),o[r[0]]=s.fire,o[r[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e,n,i,o=0,r=Q.call(arguments),s=r.length,a=1!==s||t&&K.isFunction(t.promise)?s:0,l=1===a?t:K.Deferred(),u=function(t,n,i){return function(o){n[t]=this,i[t]=arguments.length>1?Q.call(arguments):o,i===e?l.notifyWith(n,i):--a||l.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);o
a",n=f.getElementsByTagName("*"),i=f.getElementsByTagName("a")[0],!n||!i||!n.length)return{};o=W.createElement("select"),r=o.appendChild(W.createElement("option")),s=f.getElementsByTagName("input")[0],i.style.cssText="top:1px;float:left;opacity:.5",e={leadingWhitespace:3===f.firstChild.nodeType,tbody:!f.getElementsByTagName("tbody").length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:"/a"===i.getAttribute("href"),opacity:/^0.5/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:"on"===s.value,optSelected:r.selected,getSetAttribute:"t"!==f.className,enctype:!!W.createElement("form").enctype,html5Clone:"<:nav>"!==W.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===W.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},s.checked=!0,e.noCloneChecked=s.cloneNode(!0).checked,o.disabled=!0,e.optDisabled=!r.disabled;try{delete f.test}catch(t){e.deleteExpando=!1}if(!f.addEventListener&&f.attachEvent&&f.fireEvent&&(f.attachEvent("onclick",d=function(){e.noCloneEvent=!1}),f.cloneNode(!0).fireEvent("onclick"),f.detachEvent("onclick",d)),s=W.createElement("input"),s.value="t",s.setAttribute("type","radio"),e.radioValue="t"===s.value,s.setAttribute("checked","checked"),s.setAttribute("name","t"),f.appendChild(s),a=W.createDocumentFragment(),a.appendChild(f.lastChild),e.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,e.appendChecked=s.checked,a.removeChild(s),a.appendChild(f),f.attachEvent)for(u in{submit:!0,change:!0,focusin:!0})l="on"+u,c=l in f,c||(f.setAttribute(l,"return;"),c="function"==typeof f[l]),e[u+"Bubbles"]=c;return K(function(){var n,i,o,r,s="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=W.getElementsByTagName("body")[0];a&&(n=W.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),i=W.createElement("div"),n.appendChild(i),i.innerHTML="
t
",o=i.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",c=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",e.reliableHiddenOffsets=c&&0===o[0].offsetHeight,i.innerHTML="",i.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%;",e.boxSizing=4===i.offsetWidth,e.doesNotIncludeMarginInBodyOffset=1!==a.offsetTop,t.getComputedStyle&&(e.pixelPosition="1%"!==(t.getComputedStyle(i,null)||{}).top,e.boxSizingReliable="4px"===(t.getComputedStyle(i,null)||{width:"4px"}).width,r=W.createElement("div"),r.style.cssText=i.style.cssText=s,r.style.marginRight=r.style.width="0",i.style.width="1px",i.appendChild(r),e.reliableMarginRight=!parseFloat((t.getComputedStyle(r,null)||{}).marginRight)),"undefined"!=typeof i.style.zoom&&(i.innerHTML="",i.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=3===i.offsetWidth,i.style.display="block",i.style.overflow="visible",i.innerHTML="
",i.firstChild.style.width="5px",e.shrinkWrapBlocks=3!==i.offsetWidth,n.style.zoom=1),a.removeChild(n),n=i=o=r=null)}),a.removeChild(f),n=i=o=r=s=a=f=null,e}();var mt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,gt=/([A-Z])/g;K.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(K.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return t=t.nodeType?K.cache[t[K.expando]]:t[K.expando],!!t&&!o(t)},data:function(t,n,i,o){if(K.acceptData(t)){var r,s,a=K.expando,l="string"==typeof n,u=t.nodeType,c=u?K.cache:t,d=u?t[a]:t[a]&&a;if(d&&c[d]&&(o||c[d].data)||!l||i!==e)return d||(u?t[a]=d=K.deletedIds.pop()||K.guid++:d=a),c[d]||(c[d]={},u||(c[d].toJSON=K.noop)),"object"!=typeof n&&"function"!=typeof n||(o?c[d]=K.extend(c[d],n):c[d].data=K.extend(c[d].data,n)),r=c[d],o||(r.data||(r.data={}),r=r.data),i!==e&&(r[K.camelCase(n)]=i),l?(s=r[n],null==s&&(s=r[K.camelCase(n)])):s=r,s}},removeData:function(t,e,n){if(K.acceptData(t)){var i,r,s,a=t.nodeType,l=a?K.cache:t,u=a?t[K.expando]:K.expando;if(l[u]){if(e&&(i=n?l[u]:l[u].data)){K.isArray(e)||(e in i?e=[e]:(e=K.camelCase(e),e=e in i?[e]:e.split(" ")));for(r=0,s=e.length;r1,null,!1))},removeData:function(t){return this.each(function(){K.removeData(this,t)})}}),K.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=K._data(t,e),n&&(!i||K.isArray(n)?i=K._data(t,e,K.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=K.queue(t,e),i=n.length,o=n.shift(),r=K._queueHooks(t,e),s=function(){K.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return K._data(t,n)||K._data(t,n,{empty:K.Callbacks("once memory").add(function(){K.removeData(t,e+"queue",!0),K.removeData(t,n,!0)})})}}),K.fn.extend({queue:function(t,n){var i=2;return"string"!=typeof t&&(n=t,t="fx",i--),arguments.length1)},removeAttr:function(t){return this.each(function(){K.removeAttr(this,t)})},prop:function(t,e){return K.access(this,K.prop,t,e,arguments.length>1)},removeProp:function(t){return t=K.propFix[t]||t,this.each(function(){try{this[t]=e,delete this[t]}catch(t){}})},addClass:function(t){var e,n,i,o,r,s,a;if(K.isFunction(t))return this.each(function(e){K(this).addClass(t.call(this,e,this.className))});if(t&&"string"==typeof t)for(e=t.split(et),n=0,i=this.length;n=0;)i=i.replace(" "+n[r]+" "," ");o.className=t?K.trim(i):""}return this},toggleClass:function(t,e){var n=typeof t,i="boolean"==typeof e;return K.isFunction(t)?this.each(function(n){K(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var o,r=0,s=K(this),a=e,l=t.split(et);o=l[r++];)a=i?a:!s.hasClass(o),s[a?"addClass":"removeClass"](o);else"undefined"!==n&&"boolean"!==n||(this.className&&K._data(this,"__className__",this.className),this.className=this.className||t===!1?"":K._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n=0)return!0;return!1},val:function(t){var n,i,o,r=this[0];{if(arguments.length)return o=K.isFunction(t),this.each(function(i){var r,s=K(this);1===this.nodeType&&(r=o?t.call(this,i,s.val()):t,null==r?r="":"number"==typeof r?r+="":K.isArray(r)&&(r=K.map(r,function(t){return null==t?"":t+""})),n=K.valHooks[this.type]||K.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,r,"value")!==e||(this.value=r))});if(r)return n=K.valHooks[r.type]||K.valHooks[r.nodeName.toLowerCase()],n&&"get"in n&&(i=n.get(r,"value"))!==e?i:(i=r.value,"string"==typeof i?i.replace(wt,""):null==i?"":i)}}}),K.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){for(var e,n,i=t.options,o=t.selectedIndex,r="select-one"===t.type||o<0,s=r?null:[],a=r?o+1:i.length,l=o<0?a:r?o:0;l=0}),n.length||(t.selectedIndex=-1),n}}},attrFn:{},attr:function(t,n,i,o){var r,s,a,l=t.nodeType;if(t&&3!==l&&8!==l&&2!==l)return o&&K.isFunction(K.fn[n])?K(t)[n](i):"undefined"==typeof t.getAttribute?K.prop(t,n,i):(a=1!==l||!K.isXMLDoc(t),a&&(n=n.toLowerCase(),s=K.attrHooks[n]||($t.test(n)?yt:vt)),i!==e?null===i?void K.removeAttr(t,n):s&&"set"in s&&a&&(r=s.set(t,i,n))!==e?r:(t.setAttribute(n,i+""),i):s&&"get"in s&&a&&null!==(r=s.get(t,n))?r:(r=t.getAttribute(n),null===r?e:r))},removeAttr:function(t,e){var n,i,o,r,s=0;if(e&&1===t.nodeType)for(i=e.split(et);s=0}})});var St=/^(?:textarea|input|select)$/i,Nt=/^([^\.]*|)(?:\.(.+)|)$/,jt=/(?:^|\s)hover(\.\S+|)\b/,At=/^key/,Dt=/^(?:mouse|contextmenu)|click/,Lt=/^(?:focusinfocus|focusoutblur)$/,Ft=function(t){return K.event.special.hover?t:t.replace(jt,"mouseenter$1 mouseleave$1")};K.event={add:function(t,n,i,o,r){var s,a,l,u,c,d,f,h,p,m,g;if(3!==t.nodeType&&8!==t.nodeType&&n&&i&&(s=K._data(t))){for(i.handler&&(p=i,i=p.handler,r=p.selector),i.guid||(i.guid=K.guid++),l=s.events,l||(s.events=l={}),a=s.handle,a||(s.handle=a=function(t){return"undefined"==typeof K||t&&K.event.triggered===t.type?e:K.event.dispatch.apply(a.elem,arguments)},a.elem=t),n=K.trim(Ft(n)).split(" "),u=0;u=0&&(g=g.slice(0,-1),a=!0),g.indexOf(".")>=0&&(v=g.split("."),g=v.shift(),v.sort()),o&&!K.event.customEvent[g]||K.event.global[g]))if(n="object"==typeof n?n[K.expando]?n:new K.Event(g,n):new K.Event(g),n.type=g,n.isTrigger=!0,n.exclusive=a,n.namespace=v.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d=g.indexOf(":")<0?"on"+g:"",o){if(n.result=e,n.target||(n.target=o),i=null!=i?K.makeArray(i):[],i.unshift(n),f=K.event.special[g]||{},!f.trigger||f.trigger.apply(o,i)!==!1){if(p=[[o,f.bindType||g]],!r&&!f.noBubble&&!K.isWindow(o)){for(m=f.delegateType||g,u=Lt.test(m+g)?o:o.parentNode,c=o;u;u=u.parentNode)p.push([u,m]),c=u;c===(o.ownerDocument||W)&&p.push([c.defaultView||c.parentWindow||t,m])}for(l=0;l=0:K.find(d,this,null,[r]).length),a[d]&&u.push(c);u.length&&v.push({elem:r,matches:u})}for(f.length>h&&v.push({elem:this,matches:f.slice(h)}),i=0;i0?this.on(e,null,t,n):this.trigger(e)},At.test(e)&&(K.event.fixHooks[e]=K.event.keyHooks),Dt.test(e)&&(K.event.fixHooks[e]=K.event.mouseHooks)}),function(t,e){function n(t,e,n,i){n=n||[],e=e||D;var o,r,s,a,l=e.nodeType;if(!t||"string"!=typeof t)return n;if(1!==l&&9!==l)return[];if(s=w(e),!s&&!i&&(o=nt.exec(t)))if(a=o[1]){if(9===l){if(r=e.getElementById(a),!r||!r.parentNode)return n;if(r.id===a)return n.push(r),n}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(a))&&C(e,r)&&r.id===a)return n.push(r),n}else{if(o[2])return P.apply(n,q.call(e.getElementsByTagName(t),0)),n;if((a=o[3])&&ft&&e.getElementsByClassName)return P.apply(n,q.call(e.getElementsByClassName(a),0)),n}return m(t.replace(J,"$1"),e,n,i,s)}function i(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function o(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function r(t){return B(function(e){return e=+e,B(function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function s(t,e,n){if(t===e)return n;for(var i=t.nextSibling;i;){if(i===e)return-1;i=i.nextSibling}return 1}function a(t,e){var i,o,r,s,a,l,u,c=R[j][t+" "];if(c)return e?0:c.slice(0);for(a=t,l=[],u=b.preFilter;a;){i&&!(o=Z.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),i=!1,(o=tt.exec(a))&&(r.push(i=new A(o.shift())),a=a.slice(i.length),i.type=o[0].replace(J," "));for(s in b.filter)!(o=at[s].exec(a))||u[s]&&!(o=u[s](o))||(r.push(i=new A(o.shift())),a=a.slice(i.length),i.type=s,i.matches=o);if(!i)break}return e?a.length:a?n.error(t):R(t,l).slice(0)}function l(t,e,n){var i=e.dir,o=n&&"parentNode"===e.dir,r=H++;return e.first?function(e,n,r){for(;e=e[i];)if(o||1===e.nodeType)return t(e,n,r)}:function(e,n,s){if(s){for(;e=e[i];)if((o||1===e.nodeType)&&t(e,n,s))return e}else for(var a,l=F+" "+r+" ",u=l+v;e=e[i];)if(o||1===e.nodeType){if((a=e[j])===u)return e.sizset;if("string"==typeof a&&0===a.indexOf(l)){if(e.sizset)return e}else{if(e[j]=u,t(e,n,s))return e.sizset=!0,e;e.sizset=!1}}}}function u(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function c(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,u=null!=e;a-1&&(r[u]=!(s[u]=f))}}else b=c(b===s?b.splice(g,b.length):b),o?o(null,s,b,l):P.apply(s,b)})}function f(t){for(var e,n,i,o=t.length,r=b.relative[t[0].type],s=r||b.relative[" "],a=r?1:0,c=l(function(t){return t===e},s,!0),h=l(function(t){return O.call(e,t)>-1},s,!0),p=[function(t,n,i){return!r&&(i||n!==E)||((e=n).nodeType?c(t,n,i):h(t,n,i))}];a1&&u(p),a>1&&t.slice(0,a-1).join("").replace(J,"$1"),n,a0,o=t.length>0,r=function(s,a,l,u,d){var f,h,p,m=[],g=0,y="0",x=s&&[],w=null!=d,C=E,k=s||o&&b.find.TAG("*",d&&a.parentNode||a),T=F+=null==C?1:Math.E;for(w&&(E=a!==D&&a,v=r.el);null!=(f=k[y]);y++){if(o&&f){for(h=0;p=t[h];h++)if(p(f,a,l)){u.push(f);break}w&&(F=T,v=++r.el)}i&&((f=!p&&f)&&g--,s&&x.push(f))}if(g+=y,i&&y!==g){for(h=0;p=e[h];h++)p(x,m,a,l);if(s){if(g>0)for(;y--;)x[y]||m[y]||(m[y]=M.call(u));m=c(m)}P.apply(u,m),w&&!s&&m.length>0&&g+e.length>1&&n.uniqueSort(u)}return w&&(F=T,E=C),x};return r.el=0,i?B(r):r}function p(t,e,i){for(var o=0,r=e.length;o2&&"ID"===(l=s[0]).type&&9===e.nodeType&&!o&&b.relative[s[1].type]){if(e=b.find.ID(l.matches[0].replace(st,""),e,o)[0],!e)return n;t=t.slice(s.shift().length)}for(r=at.POS.test(t)?-1:s.length-1;r>=0&&(l=s[r],!b.relative[u=l.type]);r--)if((c=b.find[u])&&(i=c(l.matches[0].replace(st,""),it.test(s[0].type)&&e.parentNode||e,o))){if(s.splice(r,1),t=i.length&&s.join(""),!t)return P.apply(n,q.call(i,0)),n;break}}return k(t,d)(i,e,o,n,it.test(t)),n}function g(){}var v,y,b,x,w,C,k,T,$,E,S=!0,N="undefined",j=("sizcache"+Math.random()).replace(".",""),A=String,D=t.document,L=D.documentElement,F=0,H=0,M=[].pop,P=[].push,q=[].slice,O=[].indexOf||function(t){for(var e=0,n=this.length;eb.cacheLength&&delete t[e.shift()],t[n+" "]=i},t)},W=_(),R=_(),I=_(),z="[\\x20\\t\\r\\n\\f]",X="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",U=X.replace("w","w#"),Q="([*^$|!~]?=)",V="\\["+z+"*("+X+")"+z+"*(?:"+Q+z+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+U+")|)|)"+z+"*\\]",Y=":("+X+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+V+")|[^:]|\\\\.)*|.*))\\)|)",G=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)",J=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),Z=new RegExp("^"+z+"*,"+z+"*"),tt=new RegExp("^"+z+"*([\\x20\\t\\r\\n\\f>+~])"+z+"*"),et=new RegExp(Y),nt=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,it=/[\x20\t\r\n\f]*[+~]/,ot=/h\d/i,rt=/input|select|textarea|button/i,st=/\\(?!\\)/g,at={ID:new RegExp("^#("+X+")"),CLASS:new RegExp("^\\.("+X+")"),NAME:new RegExp("^\\[name=['\"]?("+X+")['\"]?\\]"),TAG:new RegExp("^("+X.replace("w","w*")+")"),ATTR:new RegExp("^"+V),PSEUDO:new RegExp("^"+Y),POS:new RegExp(G,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),needsContext:new RegExp("^"+z+"*[>+~]|"+G,"i")},lt=function(t){var e=D.createElement("div");try{return t(e)}catch(t){return!1}finally{e=null}},ut=lt(function(t){return t.appendChild(D.createComment("")),!t.getElementsByTagName("*").length}),ct=lt(function(t){return t.innerHTML="",t.firstChild&&typeof t.firstChild.getAttribute!==N&&"#"===t.firstChild.getAttribute("href")}),dt=lt(function(t){t.innerHTML="";var e=typeof t.lastChild.getAttribute("multiple");return"boolean"!==e&&"string"!==e}),ft=lt(function(t){return t.innerHTML="",!(!t.getElementsByClassName||!t.getElementsByClassName("e").length)&&(t.lastChild.className="e",2===t.getElementsByClassName("e").length)}),ht=lt(function(t){t.id=j+0,t.innerHTML="
",L.insertBefore(t,L.firstChild);var e=D.getElementsByName&&D.getElementsByName(j).length===2+D.getElementsByName(j+0).length;return y=!D.getElementById(j),L.removeChild(t),e});try{q.call(L.childNodes,0)[0].nodeType}catch(t){q=function(t){for(var e,n=[];e=this[t];t++)n.push(e);return n}}n.matches=function(t,e){return n(t,null,null,e)},n.matchesSelector=function(t,e){return n(e,null,null,[t]).length>0},x=n.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=x(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i];i++)n+=x(e);return n},w=n.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},C=n.contains=L.contains?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!!(i&&1===i.nodeType&&n.contains&&n.contains(i))}:L.compareDocumentPosition?function(t,e){return e&&!!(16&t.compareDocumentPosition(e))}:function(t,e){for(;e=e.parentNode;)if(e===t)return!0;return!1},n.attr=function(t,e){var n,i=w(t);return i||(e=e.toLowerCase()),(n=b.attrHandle[e])?n(t):i||dt?t.getAttribute(e):(n=t.getAttributeNode(e),n?"boolean"==typeof t[e]?t[e]?e:null:n.specified?n.value:null:null)},b=n.selectors={cacheLength:50,createPseudo:B,match:at,attrHandle:ct?{}:{href:function(t){return t.getAttribute("href",2)},type:function(t){return t.getAttribute("type")}},find:{ID:y?function(t,e,n){if(typeof e.getElementById!==N&&!n){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}}:function(t,n,i){if(typeof n.getElementById!==N&&!i){var o=n.getElementById(t);return o?o.id===t||typeof o.getAttributeNode!==N&&o.getAttributeNode("id").value===t?[o]:e:[]}},TAG:ut?function(t,e){if(typeof e.getElementsByTagName!==N)return e.getElementsByTagName(t)}:function(t,e){var n=e.getElementsByTagName(t);if("*"===t){for(var i,o=[],r=0;i=n[r];r++)1===i.nodeType&&o.push(i);return o}return n},NAME:ht&&function(t,e){if(typeof e.getElementsByName!==N)return e.getElementsByName(name)},CLASS:ft&&function(t,e,n){if(typeof e.getElementsByClassName!==N&&!n)return e.getElementsByClassName(t)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(st,""),t[3]=(t[4]||t[5]||"").replace(st,""),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1]?(t[2]||n.error(t[0]),t[3]=+(t[3]?t[4]+(t[5]||1):2*("even"===t[2]||"odd"===t[2])),t[4]=+(t[6]+t[7]||"odd"===t[2])):t[2]&&n.error(t[0]),t},PSEUDO:function(t){var e,n;return at.CHILD.test(t[0])?null:(t[3]?t[2]=t[3]:(e=t[4])&&(et.test(e)&&(n=a(e,!0))&&(n=e.indexOf(")",e.length-n)-e.length)&&(e=e.slice(0,n),t[0]=t[0].slice(0,n)),t[2]=e),t.slice(0,3))}},filter:{ID:y?function(t){return t=t.replace(st,""),function(e){return e.getAttribute("id")===t}}:function(t){return t=t.replace(st,""),function(e){var n=typeof e.getAttributeNode!==N&&e.getAttributeNode("id");return n&&n.value===t}},TAG:function(t){return"*"===t?function(){return!0}:(t=t.replace(st,"").toLowerCase(),function(e){return e.nodeName&&e.nodeName.toLowerCase()===t})},CLASS:function(t){var e=W[j][t+" "];return e||(e=new RegExp("(^|"+z+")"+t+"("+z+"|$)"))&&W(t,function(t){return e.test(t.className||typeof t.getAttribute!==N&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(o){var r=n.attr(o,t);return null==r?"!="===e:!e||(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&r.indexOf(i)>-1:"$="===e?i&&r.substr(r.length-i.length)===i:"~="===e?(" "+r+" ").indexOf(i)>-1:"|="===e&&(r===i||r.substr(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i){return"nth"===t?function(t){var e,o,r=t.parentNode;if(1===n&&0===i)return!0;if(r)for(o=0,e=r.firstChild;e&&(1!==e.nodeType||(o++,t!==e));e=e.nextSibling);return o-=i,o===n||o%n===0&&o/n>=0}:function(e){var n=e;switch(t){case"only":case"first":for(;n=n.previousSibling;)if(1===n.nodeType)return!1;if("first"===t)return!0;n=e;case"last":for(;n=n.nextSibling;)if(1===n.nodeType)return!1;return!0}}},PSEUDO:function(t,e){var i,o=b.pseudos[t]||b.setFilters[t.toLowerCase()]||n.error("unsupported pseudo: "+t);return o[j]?o(e):o.length>1?(i=[t,t,"",e],b.setFilters.hasOwnProperty(t.toLowerCase())?B(function(t,n){for(var i,r=o(t,e),s=r.length;s--;)i=O.call(t,r[s]),t[i]=!(n[i]=r[s])}):function(t){return o(t,0,i)}):o}},pseudos:{not:B(function(t){var e=[],n=[],i=k(t.replace(J,"$1"));return i[j]?B(function(t,e,n,o){for(var r,s=i(t,null,o,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))}):function(t,o,r){return e[0]=t,i(e,null,r,n),!n.pop()}}),has:B(function(t){return function(e){return n(t,e).length>0}}),contains:B(function(t){return function(e){return(e.textContent||e.innerText||x(e)).indexOf(t)>-1}}),enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},parent:function(t){return!b.pseudos.empty(t)},empty:function(t){var e;for(t=t.firstChild;t;){if(t.nodeName>"@"||3===(e=t.nodeType)||4===e)return!1;t=t.nextSibling}return!0},header:function(t){return ot.test(t.nodeName)},text:function(t){var e,n;return"input"===t.nodeName.toLowerCase()&&"text"===(e=t.type)&&(null==(n=t.getAttribute("type"))||n.toLowerCase()===e)},radio:i("radio"),checkbox:i("checkbox"),file:i("file"),password:i("password"),image:i("image"),submit:o("submit"),reset:o("reset"),button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},input:function(t){return rt.test(t.nodeName)},focus:function(t){var e=t.ownerDocument;return t===e.activeElement&&(!e.hasFocus||e.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},active:function(t){return t===t.ownerDocument.activeElement},first:r(function(){return[0]}),last:r(function(t,e){return[e-1]}),eq:r(function(t,e,n){return[n<0?n+e:n]}),even:r(function(t,e){for(var n=0;n=0;)t.push(i);return t}),gt:r(function(t,e,n){for(var i=n<0?n+e:n;++i",t.querySelectorAll("[selected]").length||r.push("\\["+z+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||r.push(":checked")}),lt(function(t){t.innerHTML="

",t.querySelectorAll("[test^='']").length&&r.push("[*^$]="+z+"*(?:\"\"|'')"),t.innerHTML="",t.querySelectorAll(":enabled").length||r.push(":enabled",":disabled")}),r=new RegExp(r.join("|")),m=function(t,n,o,s,l){if(!s&&!l&&!r.test(t)){var u,c,d=!0,f=j,h=n,p=9===n.nodeType&&t;if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){for(u=a(t),(d=n.getAttribute("id"))?f=d.replace(i,"\\$&"):n.setAttribute("id",f),f="[id='"+f+"'] ",c=u.length;c--;)u[c]=f+u[c].join("");h=it.test(t)&&n.parentNode||n,p=u.join(",")}if(p)try{return P.apply(o,q.call(h.querySelectorAll(p),0)),o}catch(t){}finally{d||n.removeAttribute("id")}}return e(t,n,o,s,l)},l&&(lt(function(e){t=l.call(e,"div");try{l.call(e,"[test!='']:sizzle"),s.push("!=",Y)}catch(t){}}),s=new RegExp(s.join("|")),n.matchesSelector=function(e,i){if(i=i.replace(o,"='$1']"),!w(e)&&!s.test(i)&&!r.test(i))try{var a=l.call(e,i);if(a||t||e.document&&11!==e.document.nodeType)return a}catch(t){}return n(i,null,null,[e]).length>0})}(),b.pseudos.nth=b.pseudos.eq,b.filters=g.prototype=b.pseudos,b.setFilters=new g,n.attr=K.attr,K.find=n,K.expr=n.selectors,K.expr[":"]=K.expr.pseudos,K.unique=n.uniqueSort,K.text=n.getText,K.isXMLDoc=n.isXML,K.contains=n.contains}(t);var Ht=/Until$/,Mt=/^(?:parents|prev(?:Until|All))/,Pt=/^.[^:#\[\.,]*$/,qt=K.expr.match.needsContext,Ot={children:!0,contents:!0,next:!0,prev:!0};K.fn.extend({find:function(t){var e,n,i,o,r,s,a=this;if("string"!=typeof t)return K(t).filter(function(){for(e=0,n=a.length;e0)for(o=i;o=0:K.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){for(var n,i=0,o=this.length,r=[],s=qt.test(t)||"string"!=typeof t?K(t,e||this.context):0;i-1:K.find.matchesSelector(n,t)){r.push(n);break}n=n.parentNode}return r=r.length>1?K.unique(r):r,this.pushStack(r,"closest",t)},index:function(t){return t?"string"==typeof t?K.inArray(this[0],K(t)):K.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(t,e){var n="string"==typeof t?K(t,e):K.makeArray(t&&t.nodeType?[t]:t),i=K.merge(this.get(),n);return this.pushStack(a(n[0])||a(i[0])?i:K.unique(i))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),K.fn.andSelf=K.fn.addBack,K.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return K.dir(t,"parentNode")},parentsUntil:function(t,e,n){return K.dir(t,"parentNode",n)},next:function(t){return l(t,"nextSibling")},prev:function(t){return l(t,"previousSibling")},nextAll:function(t){return K.dir(t,"nextSibling")},prevAll:function(t){return K.dir(t,"previousSibling")},nextUntil:function(t,e,n){return K.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return K.dir(t,"previousSibling",n)},siblings:function(t){return K.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return K.sibling(t.firstChild)},contents:function(t){return K.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:K.merge([],t.childNodes)}},function(t,e){K.fn[t]=function(n,i){var o=K.map(this,e,n);return Ht.test(t)||(i=n),i&&"string"==typeof i&&(o=K.filter(i,o)),o=this.length>1&&!Ot[t]?K.unique(o):o,this.length>1&&Mt.test(t)&&(o=o.reverse()),this.pushStack(o,t,Q.call(arguments).join(","))}}),K.extend({filter:function(t,e,n){return n&&(t=":not("+t+")"),1===e.length?K.find.matchesSelector(e[0],t)?[e[0]]:[]:K.find.matches(t,e)},dir:function(t,n,i){for(var o=[],r=t[n];r&&9!==r.nodeType&&(i===e||1!==r.nodeType||!K(r).is(i));)1===r.nodeType&&o.push(r),r=r[n];return o},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}});var Bt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",_t=/ jQuery\d+="(?:null|\d+)"/g,Wt=/^\s+/,Rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,It=/<([\w:]+)/,zt=/]","i"),Yt=/^(?:checkbox|radio)$/,Gt=/checked\s*(?:[^=]|=\s*.checked.)/i,Jt=/\/(java|ecma)script/i,Kt=/^\s*\s*$/g,Zt={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},te=c(W),ee=te.appendChild(W.createElement("div"));Zt.optgroup=Zt.option,Zt.tbody=Zt.tfoot=Zt.colgroup=Zt.caption=Zt.thead,Zt.th=Zt.td,K.support.htmlSerialize||(Zt._default=[1,"X
","
"]),K.fn.extend({text:function(t){return K.access(this,function(t){return t===e?K.text(this):this.empty().append((this[0]&&this[0].ownerDocument||W).createTextNode(t))},null,t,arguments.length)},wrapAll:function(t){if(K.isFunction(t))return this.each(function(e){K(this).wrapAll(t.call(this,e))});if(this[0]){var e=K(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return K.isFunction(t)?this.each(function(e){ K(this).wrapInner(t.call(this,e))}):this.each(function(){var e=K(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=K.isFunction(t);return this.each(function(n){K(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){K.nodeName(this,"body")||K(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(t){1!==this.nodeType&&11!==this.nodeType||this.appendChild(t)})},prepend:function(){return this.domManip(arguments,!0,function(t){1!==this.nodeType&&11!==this.nodeType||this.insertBefore(t,this.firstChild)})},before:function(){if(!a(this[0]))return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this)});if(arguments.length){var t=K.clean(arguments);return this.pushStack(K.merge(t,this),"before",this.selector)}},after:function(){if(!a(this[0]))return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this.nextSibling)});if(arguments.length){var t=K.clean(arguments);return this.pushStack(K.merge(this,t),"after",this.selector)}},remove:function(t,e){for(var n,i=0;null!=(n=this[i]);i++)t&&!K.filter(t,[n]).length||(e||1!==n.nodeType||(K.cleanData(n.getElementsByTagName("*")),K.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)for(1===t.nodeType&&K.cleanData(t.getElementsByTagName("*"));t.firstChild;)t.removeChild(t.firstChild);return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return K.clone(this,t,e)})},html:function(t){return K.access(this,function(t){var n=this[0]||{},i=0,o=this.length;if(t===e)return 1===n.nodeType?n.innerHTML.replace(_t,""):e;if("string"==typeof t&&!Ut.test(t)&&(K.support.htmlSerialize||!Vt.test(t))&&(K.support.leadingWhitespace||!Wt.test(t))&&!Zt[(It.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Rt,"<$1>");try{for(;i1&&"string"==typeof u&&Gt.test(u))return this.each(function(){K(this).domManip(t,n,i)});if(K.isFunction(u))return this.each(function(o){var r=K(this);t[0]=u.call(this,o,n?r.html():e),r.domManip(t,n,i)});if(this[0]){if(o=K.buildFragment(t,this,c),s=o.fragment,r=s.firstChild,1===s.childNodes.length&&(s=r),r)for(n=n&&K.nodeName(r,"tr"),a=o.cacheable||f-1;l0?this.clone(!0):this).get(),K(s[o])[e](i),r=r.concat(i);return this.pushStack(r,t,s.selector)}}),K.extend({clone:function(t,e,n){var i,o,r,s;if(K.support.html5Clone||K.isXMLDoc(t)||!Vt.test("<"+t.nodeName+">")?s=t.cloneNode(!0):(ee.innerHTML=t.outerHTML,ee.removeChild(s=ee.firstChild)),!(K.support.noCloneEvent&&K.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||K.isXMLDoc(t)))for(h(t,s),i=p(t),o=p(s),r=0;i[r];++r)o[r]&&h(i[r],o[r]);if(e&&(f(t,s),n))for(i=p(t),o=p(s),r=0;i[r];++r)f(i[r],o[r]);return i=o=null,s},clean:function(t,e,n,i){var o,r,s,a,l,u,d,f,h,p,g,v=e===W&&te,y=[];for(e&&"undefined"!=typeof e.createDocumentFragment||(e=W),o=0;null!=(s=t[o]);o++)if("number"==typeof s&&(s+=""),s){if("string"==typeof s)if(Xt.test(s)){for(v=v||c(e),d=e.createElement("div"),v.appendChild(d),s=s.replace(Rt,"<$1>"),a=(It.exec(s)||["",""])[1].toLowerCase(),l=Zt[a]||Zt._default,u=l[0],d.innerHTML=l[1]+s+l[2];u--;)d=d.lastChild;if(!K.support.tbody)for(f=zt.test(s),h="table"!==a||f?""!==l[1]||f?[]:d.childNodes:d.firstChild&&d.firstChild.childNodes,r=h.length-1;r>=0;--r)K.nodeName(h[r],"tbody")&&!h[r].childNodes.length&&h[r].parentNode.removeChild(h[r]);!K.support.leadingWhitespace&&Wt.test(s)&&d.insertBefore(e.createTextNode(Wt.exec(s)[0]),d.firstChild),s=d.childNodes,d.parentNode.removeChild(d)}else s=e.createTextNode(s);s.nodeType?y.push(s):K.merge(y,s)}if(d&&(s=d=v=null),!K.support.appendChecked)for(o=0;null!=(s=y[o]);o++)K.nodeName(s,"input")?m(s):"undefined"!=typeof s.getElementsByTagName&&K.grep(s.getElementsByTagName("input"),m);if(n)for(p=function(t){if(!t.type||Jt.test(t.type))return i?i.push(t.parentNode?t.parentNode.removeChild(t):t):n.appendChild(t)},o=0;null!=(s=y[o]);o++)K.nodeName(s,"script")&&p(s)||(n.appendChild(s),"undefined"!=typeof s.getElementsByTagName&&(g=K.grep(K.merge([],s.getElementsByTagName("script")),p),y.splice.apply(y,[o+1,0].concat(g)),o+=g.length));return y},cleanData:function(t,e){for(var n,i,o,r,s=0,a=K.expando,l=K.cache,u=K.support.deleteExpando,c=K.event.special;null!=(o=t[s]);s++)if((e||K.acceptData(o))&&(i=o[a],n=i&&l[i])){if(n.events)for(r in n.events)c[r]?K.event.remove(o,r):K.removeEvent(o,r,n.handle);l[i]&&(delete l[i],u?delete o[a]:o.removeAttribute?o.removeAttribute(a):o[a]=null,K.deletedIds.push(i))}}}),function(){var t,e;K.uaMatch=function(t){t=t.toLowerCase();var e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},t=K.uaMatch(I.userAgent),e={},t.browser&&(e[t.browser]=!0,e.version=t.version),e.chrome?e.webkit=!0:e.webkit&&(e.safari=!0),K.browser=e,K.sub=function(){function t(e,n){return new t.fn.init(e,n)}K.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(n,i){return i&&i instanceof K&&!(i instanceof t)&&(i=t(i)),K.fn.init.call(this,n,i,e)},t.fn.init.prototype=t.fn;var e=t(W);return t}}();var ne,ie,oe,re=/alpha\([^)]*\)/i,se=/opacity=([^)]*)/,ae=/^(top|right|bottom|left)$/,le=/^(none|table(?!-c[ea]).+)/,ue=/^margin/,ce=new RegExp("^("+Z+")(.*)$","i"),de=new RegExp("^("+Z+")(?!px)[a-z%]+$","i"),fe=new RegExp("^([-+])=("+Z+")","i"),he={BODY:"block"},pe={position:"absolute",visibility:"hidden",display:"block"},me={letterSpacing:0,fontWeight:400},ge=["Top","Right","Bottom","Left"],ve=["Webkit","O","Moz","ms"],ye=K.fn.toggle;K.fn.extend({css:function(t,n){return K.access(this,function(t,n,i){return i!==e?K.style(t,n,i):K.css(t,n)},t,n,arguments.length>1)},show:function(){return y(this,!0)},hide:function(){return y(this)},toggle:function(t,e){var n="boolean"==typeof t;return K.isFunction(t)&&K.isFunction(e)?ye.apply(this,arguments):this.each(function(){(n?t:v(this))?K(this).show():K(this).hide()})}}),K.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=ne(t,"opacity");return""===n?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":K.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,n,i,o){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,a,l=K.camelCase(n),u=t.style;if(n=K.cssProps[l]||(K.cssProps[l]=g(u,l)),a=K.cssHooks[n]||K.cssHooks[l],i===e)return a&&"get"in a&&(r=a.get(t,!1,o))!==e?r:u[n];if(s=typeof i,"string"===s&&(r=fe.exec(i))&&(i=(r[1]+1)*r[2]+parseFloat(K.css(t,n)),s="number"),!(null==i||"number"===s&&isNaN(i)||("number"!==s||K.cssNumber[l]||(i+="px"),a&&"set"in a&&(i=a.set(t,i,o))===e)))try{u[n]=i}catch(t){}}},css:function(t,n,i,o){var r,s,a,l=K.camelCase(n);return n=K.cssProps[l]||(K.cssProps[l]=g(t.style,l)),a=K.cssHooks[n]||K.cssHooks[l],a&&"get"in a&&(r=a.get(t,!0,o)),r===e&&(r=ne(t,n)),"normal"===r&&n in me&&(r=me[n]),i||o!==e?(s=parseFloat(r),i||K.isNumeric(s)?s||0:r):r},swap:function(t,e,n){var i,o,r={};for(o in e)r[o]=t.style[o],t.style[o]=e[o];i=n.call(t);for(o in e)t.style[o]=r[o];return i}}),t.getComputedStyle?ne=function(e,n){var i,o,r,s,a=t.getComputedStyle(e,null),l=e.style;return a&&(i=a.getPropertyValue(n)||a[n],""!==i||K.contains(e.ownerDocument,e)||(i=K.style(e,n)),de.test(i)&&ue.test(n)&&(o=l.width,r=l.minWidth,s=l.maxWidth,l.minWidth=l.maxWidth=l.width=i,i=a.width,l.width=o,l.minWidth=r,l.maxWidth=s)),i}:W.documentElement.currentStyle&&(ne=function(t,e){var n,i,o=t.currentStyle&&t.currentStyle[e],r=t.style;return null==o&&r&&r[e]&&(o=r[e]),de.test(o)&&!ae.test(e)&&(n=r.left,i=t.runtimeStyle&&t.runtimeStyle.left,i&&(t.runtimeStyle.left=t.currentStyle.left),r.left="fontSize"===e?"1em":o,o=r.pixelLeft+"px",r.left=n,i&&(t.runtimeStyle.left=i)),""===o?"auto":o}),K.each(["height","width"],function(t,e){K.cssHooks[e]={get:function(t,n,i){if(n)return 0===t.offsetWidth&&le.test(ne(t,"display"))?K.swap(t,pe,function(){return w(t,e,i)}):w(t,e,i)},set:function(t,n,i){return b(t,n,i?x(t,e,i,K.support.boxSizing&&"border-box"===K.css(t,"boxSizing")):0)}}}),K.support.opacity||(K.cssHooks.opacity={get:function(t,e){return se.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,o=K.isNumeric(e)?"alpha(opacity="+100*e+")":"",r=i&&i.filter||n.filter||"";n.zoom=1,e>=1&&""===K.trim(r.replace(re,""))&&n.removeAttribute&&(n.removeAttribute("filter"),i&&!i.filter)||(n.filter=re.test(r)?r.replace(re,o):r+" "+o)}}),K(function(){K.support.reliableMarginRight||(K.cssHooks.marginRight={get:function(t,e){return K.swap(t,{display:"inline-block"},function(){if(e)return ne(t,"marginRight")})}}),!K.support.pixelPosition&&K.fn.position&&K.each(["top","left"],function(t,e){K.cssHooks[e]={get:function(t,n){if(n){var i=ne(t,e);return de.test(i)?K(t).position()[e]+"px":i}}}})}),K.expr&&K.expr.filters&&(K.expr.filters.hidden=function(t){return 0===t.offsetWidth&&0===t.offsetHeight||!K.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||ne(t,"display"))},K.expr.filters.visible=function(t){return!K.expr.filters.hidden(t)}),K.each({margin:"",padding:"",border:"Width"},function(t,e){K.cssHooks[t+e]={expand:function(n){var i,o="string"==typeof n?n.split(" "):[n],r={};for(i=0;i<4;i++)r[t+ge[i]+e]=o[i]||o[i-2]||o[0];return r}},ue.test(t)||(K.cssHooks[t+e].set=b)});var be=/%20/g,xe=/\[\]$/,we=/\r?\n/g,Ce=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ke=/^(?:select|textarea)/i;K.fn.extend({serialize:function(){return K.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?K.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ke.test(this.nodeName)||Ce.test(this.type))}).map(function(t,e){var n=K(this).val();return null==n?null:K.isArray(n)?K.map(n,function(t){return{name:e.name,value:t.replace(we,"\r\n")}}):{name:e.name,value:n.replace(we,"\r\n")}}).get()}}),K.param=function(t,n){var i,o=[],r=function(t,e){e=K.isFunction(e)?e():null==e?"":e,o[o.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(n===e&&(n=K.ajaxSettings&&K.ajaxSettings.traditional),K.isArray(t)||t.jquery&&!K.isPlainObject(t))K.each(t,function(){r(this.name,this.value)});else for(i in t)k(i,t[i],n,r);return o.join("&").replace(be,"+")};var Te,$e,Ee=/#.*$/,Se=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ne=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,je=/^(?:GET|HEAD)$/,Ae=/^\/\//,De=/\?/,Le=/)<[^<]*)*<\/script>/gi,Fe=/([?&])_=[^&]*/,He=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Me=K.fn.load,Pe={},qe={},Oe=["*/"]+["*"];try{$e=R.href}catch(t){$e=W.createElement("a"),$e.href="",$e=$e.href}Te=He.exec($e.toLowerCase())||[],K.fn.load=function(t,n,i){if("string"!=typeof t&&Me)return Me.apply(this,arguments);if(!this.length)return this;var o,r,s,a=this,l=t.indexOf(" ");return l>=0&&(o=t.slice(l,t.length),t=t.slice(0,l)),K.isFunction(n)?(i=n,n=e):n&&"object"==typeof n&&(r="POST"),K.ajax({url:t,type:r,dataType:"html",data:n,complete:function(t,e){i&&a.each(i,s||[t.responseText,e,t])}}).done(function(t){s=arguments,a.html(o?K("
").append(t.replace(Le,"")).find(o):t)}),this},K.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(t,e){K.fn[e]=function(t){return this.on(e,t)}}),K.each(["get","post"],function(t,n){K[n]=function(t,i,o,r){return K.isFunction(i)&&(r=r||o,o=i,i=e),K.ajax({type:n,url:t,data:i,success:o,dataType:r})}}),K.extend({getScript:function(t,n){return K.get(t,e,n,"script")},getJSON:function(t,e,n){return K.get(t,e,n,"json")},ajaxSetup:function(t,e){return e?E(t,K.ajaxSettings):(e=t,t=K.ajaxSettings),E(t,e),t},ajaxSettings:{url:$e,isLocal:Ne.test(Te[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Oe},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":t.String,"text html":!0,"text json":K.parseJSON,"text xml":K.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:T(Pe),ajaxTransport:T(qe),ajax:function(t,n){function i(t,n,i,s){var u,d,y,b,w,k=n;2!==x&&(x=2,l&&clearTimeout(l),a=e,r=s||"",C.readyState=t>0?4:0,i&&(b=S(f,C,i)),t>=200&&t<300||304===t?(f.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(K.lastModified[o]=w),w=C.getResponseHeader("Etag"),w&&(K.etag[o]=w)),304===t?(k="notmodified",u=!0):(u=N(f,b),k=u.state,d=u.data,y=u.error,u=!y)):(y=k,k&&!t||(k="error",t<0&&(t=0))),C.status=t,C.statusText=(n||k)+"",u?m.resolveWith(h,[d,k,C]):m.rejectWith(h,[C,k,y]),C.statusCode(v),v=e,c&&p.trigger("ajax"+(u?"Success":"Error"),[C,f,u?d:y]),g.fireWith(h,[C,k]),c&&(p.trigger("ajaxComplete",[C,f]),--K.active||K.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=e),n=n||{};var o,r,s,a,l,u,c,d,f=K.ajaxSetup({},n),h=f.context||f,p=h!==f&&(h.nodeType||h instanceof K)?K(h):K.event,m=K.Deferred(),g=K.Callbacks("once memory"),v=f.statusCode||{},y={},b={},x=0,w="canceled",C={readyState:0,setRequestHeader:function(t,e){if(!x){var n=t.toLowerCase();t=b[n]=b[n]||t,y[t]=e}return this},getAllResponseHeaders:function(){return 2===x?r:null},getResponseHeader:function(t){var n;if(2===x){if(!s)for(s={};n=Se.exec(r);)s[n[1].toLowerCase()]=n[2];n=s[t.toLowerCase()]}return n===e?null:n},overrideMimeType:function(t){return x||(f.mimeType=t),this},abort:function(t){return t=t||w,a&&a.abort(t),i(0,t),this}};if(m.promise(C),C.success=C.done,C.error=C.fail,C.complete=g.add,C.statusCode=function(t){if(t){var e;if(x<2)for(e in t)v[e]=[v[e],t[e]];else e=t[C.status],C.always(e)}return this},f.url=((t||f.url)+"").replace(Ee,"").replace(Ae,Te[1]+"//"),f.dataTypes=K.trim(f.dataType||"*").toLowerCase().split(et),null==f.crossDomain&&(u=He.exec(f.url.toLowerCase()),f.crossDomain=!(!u||u[1]===Te[1]&&u[2]===Te[2]&&(u[3]||("http:"===u[1]?80:443))==(Te[3]||("http:"===Te[1]?80:443)))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=K.param(f.data,f.traditional)),$(Pe,f,n,C),2===x)return C;if(c=f.global,f.type=f.type.toUpperCase(),f.hasContent=!je.test(f.type),c&&0===K.active++&&K.event.trigger("ajaxStart"),!f.hasContent&&(f.data&&(f.url+=(De.test(f.url)?"&":"?")+f.data,delete f.data),o=f.url,f.cache===!1)){var k=K.now(),T=f.url.replace(Fe,"$1_="+k);f.url=T+(T===f.url?(De.test(f.url)?"&":"?")+"_="+k:"")}(f.data&&f.hasContent&&f.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",f.contentType),f.ifModified&&(o=o||f.url,K.lastModified[o]&&C.setRequestHeader("If-Modified-Since",K.lastModified[o]),K.etag[o]&&C.setRequestHeader("If-None-Match",K.etag[o])),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Oe+"; q=0.01":""):f.accepts["*"]);for(d in f.headers)C.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(f.beforeSend.call(h,C,f)===!1||2===x))return C.abort();w="abort";for(d in{success:1,error:1,complete:1})C[d](f[d]);if(a=$(qe,f,n,C)){C.readyState=1,c&&p.trigger("ajaxSend",[C,f]),f.async&&f.timeout>0&&(l=setTimeout(function(){C.abort("timeout")},f.timeout));try{x=1,a.send(y,i)}catch(t){if(!(x<2))throw t;i(-1,t)}}else i(-1,"No Transport");return C},active:0,lastModified:{},etag:{}});var Be=[],_e=/\?/,We=/(=)\?(?=&|$)|\?\?/,Re=K.now();K.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Be.pop()||K.expando+"_"+Re++;return this[t]=!0,t}}),K.ajaxPrefilter("json jsonp",function(n,i,o){var r,s,a,l=n.data,u=n.url,c=n.jsonp!==!1,d=c&&We.test(u),f=c&&!d&&"string"==typeof l&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&We.test(l);if("jsonp"===n.dataTypes[0]||d||f)return r=n.jsonpCallback=K.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,s=t[r],d?n.url=u.replace(We,"$1"+r):f?n.data=l.replace(We,"$1"+r):c&&(n.url+=(_e.test(u)?"&":"?")+n.jsonp+"="+r),n.converters["script json"]=function(){return a||K.error(r+" was not called"),a[0]},n.dataTypes[0]="json",t[r]=function(){a=arguments},o.always(function(){t[r]=s,n[r]&&(n.jsonpCallback=i.jsonpCallback,Be.push(r)),a&&K.isFunction(s)&&s(a[0]),a=s=e}),"script"}),K.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(t){return K.globalEval(t),t}}}),K.ajaxPrefilter("script",function(t){t.cache===e&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),K.ajaxTransport("script",function(t){if(t.crossDomain){var n,i=W.head||W.getElementsByTagName("head")[0]||W.documentElement;return{send:function(o,r){n=W.createElement("script"),n.async="async",t.scriptCharset&&(n.charset=t.scriptCharset),n.src=t.url,n.onload=n.onreadystatechange=function(t,o){(o||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,i&&n.parentNode&&i.removeChild(n),n=e,o||r(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Ie,ze=!!t.ActiveXObject&&function(){for(var t in Ie)Ie[t](0,1)},Xe=0;K.ajaxSettings.xhr=t.ActiveXObject?function(){return!this.isLocal&&j()||A()}:j,function(t){K.extend(K.support,{ajax:!!t,cors:!!t&&"withCredentials"in t})}(K.ajaxSettings.xhr()),K.support.ajax&&K.ajaxTransport(function(n){if(!n.crossDomain||K.support.cors){var i;return{send:function(o,r){var s,a,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(a in n.xhrFields)l[a]=n.xhrFields[a];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");try{for(a in o)l.setRequestHeader(a,o[a])}catch(t){}l.send(n.hasContent&&n.data||null),i=function(t,o){var a,u,c,d,f;try{if(i&&(o||4===l.readyState))if(i=e,s&&(l.onreadystatechange=K.noop,ze&&delete Ie[s]),o)4!==l.readyState&&l.abort();else{a=l.status,c=l.getAllResponseHeaders(),d={},f=l.responseXML,f&&f.documentElement&&(d.xml=f);try{d.text=l.responseText}catch(t){}try{u=l.statusText}catch(t){u=""}a||!n.isLocal||n.crossDomain?1223===a&&(a=204):a=d.text?200:404}}catch(t){o||r(-1,t)}d&&r(a,u,d,c)},n.async?4===l.readyState?setTimeout(i,0):(s=++Xe,ze&&(Ie||(Ie={},K(t).unload(ze)),Ie[s]=i),l.onreadystatechange=i):i()},abort:function(){i&&i(0,1)}}}});var Ue,Qe,Ve=/^(?:toggle|show|hide)$/,Ye=new RegExp("^(?:([-+])=|)("+Z+")([a-z%]*)$","i"),Ge=/queueHooks$/,Je=[M],Ke={"*":[function(t,e){var n,i,o=this.createTween(t,e),r=Ye.exec(e),s=o.cur(),a=+s||0,l=1,u=20;if(r){if(n=+r[2],i=r[3]||(K.cssNumber[t]?"":"px"),"px"!==i&&a){a=K.css(o.elem,t,!0)||n||1;do l=l||".5",a/=l,K.style(o.elem,t,a+i);while(l!==(l=o.cur()/s)&&1!==l&&--u)}o.unit=i,o.start=a,o.end=r[1]?a+(r[1]+1)*n:n}return o}]};K.Animation=K.extend(F,{tweener:function(t,e){K.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,o=t.length;i-1,d={},f={};c?(f=s.position(),o=f.top,r=f.left):(o=parseFloat(l)||0,r=parseFloat(u)||0),K.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(d.top=e.top-a.top+o),null!=e.left&&(d.left=e.left-a.left+r),"using"in e?e.using.call(t,d):s.css(d)}},K.fn.extend({position:function(){if(this[0]){var t=this[0],e=this.offsetParent(),n=this.offset(),i=Ze.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(K.css(t,"marginTop"))||0,n.left-=parseFloat(K.css(t,"marginLeft"))||0,i.top+=parseFloat(K.css(e[0],"borderTopWidth"))||0,i.left+=parseFloat(K.css(e[0],"borderLeftWidth"))||0,{top:n.top-i.top,left:n.left-i.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||W.body;t&&!Ze.test(t.nodeName)&&"static"===K.css(t,"position");)t=t.offsetParent;return t||W.body})}}),K.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var i=/Y/.test(n);K.fn[t]=function(o){return K.access(this,function(t,o,r){var s=O(t);return r===e?s?n in s?s[n]:s.document.documentElement[o]:t[o]:void(s?s.scrollTo(i?K(s).scrollLeft():r,i?r:K(s).scrollTop()):t[o]=r)},t,o,arguments.length,null)}}),K.each({Height:"height",Width:"width"},function(t,n){K.each({padding:"inner"+t,content:n,"":"outer"+t},function(i,o){K.fn[o]=function(o,r){var s=arguments.length&&(i||"boolean"!=typeof o),a=i||(o===!0||r===!0?"margin":"border");return K.access(this,function(n,i,o){var r;return K.isWindow(n)?n.document.documentElement["client"+t]:9===n.nodeType?(r=n.documentElement,Math.max(n.body["scroll"+t],r["scroll"+t],n.body["offset"+t],r["offset"+t],r["client"+t])):o===e?K.css(n,i,o,a):K.style(n,i,o,a)},n,s?o:e,s,null)}})}),t.jQuery=t.$=K,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return K})}(window),function(t,e){t.rails!==e&&t.error("jquery-ujs has already been loaded!");var n,i=t(document);t.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(e){var n=t('meta[name="csrf-token"]').attr("content");n&&e.setRequestHeader("X-CSRF-Token",n)},fire:function(e,n,i){var o=t.Event(n);return e.trigger(o,i),o.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t.attr("href")},handleRemote:function(i){var o,r,s,a,l,u,c,d;if(n.fire(i,"ajax:before")){if(a=i.data("cross-domain"),l=a===e?null:a,u=i.data("with-credentials")||null,c=i.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,i.is("form")){o=i.attr("method"),r=i.attr("action"),s=i.serializeArray();var f=i.data("ujs:submit-button");f&&(s.push(f),i.data("ujs:submit-button",null))}else i.is(n.inputChangeSelector)?(o=i.data("method"),r=i.data("url"),s=i.serialize(),i.data("params")&&(s=s+"&"+i.data("params"))):i.is(n.buttonClickSelector)?(o=i.data("method")||"get",r=i.data("url"),s=i.serialize(),i.data("params")&&(s=s+"&"+i.data("params"))):(o=i.data("method"),r=n.href(i),s=i.data("params")||null);d={type:o||"GET",data:s,dataType:c,beforeSend:function(t,o){return o.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+o.accepts.script),n.fire(i,"ajax:beforeSend",[t,o])},success:function(t,e,n){i.trigger("ajax:success",[t,e,n])},complete:function(t,e){i.trigger("ajax:complete",[t,e])},error:function(t,e,n){i.trigger("ajax:error",[t,e,n])},crossDomain:l},u&&(d.xhrFields={withCredentials:u}),r&&(d.url=r);var h=n.ajax(d);return i.trigger("ajax:send",h),h}return!1},handleMethod:function(i){var o=n.href(i),r=i.data("method"),s=i.attr("target"),a=t("meta[name=csrf-token]").attr("content"),l=t("meta[name=csrf-param]").attr("content"),u=t('
'),c='';l!==e&&a!==e&&(c+=''),s&&u.attr("target",s),u.hide().append(c).appendTo("body"),u.submit()},disableFormElements:function(e){e.find(n.disableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with",e[n]()),e[n](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(n.enableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[n](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(t){var e,i=t.data("confirm"),o=!1;return!i||(n.fire(t,"confirm")&&(o=n.confirm(i),e=n.fire(t,"confirm:complete",[o])),o&&e)},blankInputs:function(e,n,i){var o,r,s=t(),a=n||"input,textarea",l=e.find(a);return l.each(function(){if(o=t(this),r=o.is("input[type=checkbox],input[type=radio]")?o.is(":checked"):o.val(),!r==!i){if(o.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+o.attr("name")+'"]').length)return!0;s=s.add(o)}}),!!s.length&&s},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){t.data("ujs:enable-with",t.html()),t.html(t.data("disable-with")),t.bind("click.railsDisable",function(t){return n.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},n.fire(i,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,i){t.crossDomain||n.CSRFProtection(i)}),i.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(t(this))}),i.delegate(n.linkClickSelector,"click.rails",function(i){var o=t(this),r=o.data("method"),s=o.data("params");if(!n.allowAction(o))return n.stopEverything(i);if(o.is(n.linkDisableSelector)&&n.disableElement(o),o.data("remote")!==e){if((i.metaKey||i.ctrlKey)&&(!r||"GET"===r)&&!s)return!0;var a=n.handleRemote(o);return a===!1?n.enableElement(o):a.error(function(){n.enableElement(o)}),!1}return o.data("method")?(n.handleMethod(o),!1):void 0}),i.delegate(n.buttonClickSelector,"click.rails",function(e){var i=t(this);return n.allowAction(i)?(n.handleRemote(i),!1):n.stopEverything(e)}),i.delegate(n.inputChangeSelector,"change.rails",function(e){var i=t(this);return n.allowAction(i)?(n.handleRemote(i),!1):n.stopEverything(e)}),i.delegate(n.formSubmitSelector,"submit.rails",function(i){var o=t(this),r=o.data("remote")!==e,s=n.blankInputs(o,n.requiredInputSelector),a=n.nonBlankInputs(o,n.fileInputSelector);if(!n.allowAction(o))return n.stopEverything(i);if(s&&o.attr("novalidate")==e&&n.fire(o,"ajax:aborted:required",[s]))return n.stopEverything(i);if(r){if(a){setTimeout(function(){n.disableFormElements(o); },13);var l=n.fire(o,"ajax:aborted:file",[a]);return l||setTimeout(function(){n.enableFormElements(o)},13),l}return n.handleRemote(o),!1}setTimeout(function(){n.disableFormElements(o)},13)}),i.delegate(n.formInputClickSelector,"click.rails",function(e){var i=t(this);if(!n.allowAction(i))return n.stopEverything(e);var o=i.attr("name"),r=o?{name:o,value:i.val()}:null;i.closest("form").data("ujs:submit-button",r)}),i.delegate(n.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&n.disableFormElements(t(this))}),i.delegate(n.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&n.enableFormElements(t(this))}),t(function(){var e=t("meta[name=csrf-token]").attr("content"),n=t("meta[name=csrf-param]").attr("content");t('form input[name="'+n+'"]').val(e)}))}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){function e(){var e=n(this),s=r.settings;return isNaN(e.datetime)||(0==s.cutoff||o(e.datetime)0)||r.isTime(e)&&e.attr("title")||e.attr("title",n)}return e.data("timeago")}function i(t){return r.inWords(o(t))}function o(t){return(new Date).getTime()-t.getTime()}t.timeago=function(e){return i(e instanceof Date?e:"string"==typeof e?t.timeago.parse(e):"number"==typeof e?new Date(e):t.timeago.datetime(e))};var r=t.timeago;t.extend(t.timeago,{settings:{refreshMillis:6e4,allowFuture:!1,localeTitle:!1,cutoff:0,strings:{prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",wordSeparator:" ",numbers:[]}},inWords:function(e){function n(n,o){var r=t.isFunction(n)?n(o,e):n,s=i.numbers&&i.numbers[o]||o;return r.replace(/%d/i,s)}var i=this.settings.strings,o=i.prefixAgo,r=i.suffixAgo;this.settings.allowFuture&&e<0&&(o=i.prefixFromNow,r=i.suffixFromNow);var s=Math.abs(e)/1e3,a=s/60,l=a/60,u=l/24,c=u/365,d=s<45&&n(i.seconds,Math.round(s))||s<90&&n(i.minute,1)||a<45&&n(i.minutes,Math.round(a))||a<90&&n(i.hour,1)||l<24&&n(i.hours,Math.round(l))||l<42&&n(i.day,1)||u<30&&n(i.days,Math.round(u))||u<45&&n(i.month,1)||u<365&&n(i.months,Math.round(u/30))||c<1.5&&n(i.year,1)||n(i.years,Math.round(c)),f=i.wordSeparator||"";return void 0===i.wordSeparator&&(f=" "),t.trim([o,d,r].join(f))},parse:function(e){var n=t.trim(e);return n=n.replace(/\.\d+/,""),n=n.replace(/-/,"/").replace(/-/,"/"),n=n.replace(/T/," ").replace(/Z/," UTC"),n=n.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"),new Date(n)},datetime:function(e){var n=r.isTime(e)?t(e).attr("datetime"):t(e).attr("title");return r.parse(n)},isTime:function(e){return"time"===t(e).get(0).tagName.toLowerCase()}});var s={init:function(){var n=t.proxy(e,this);n();var i=r.settings;i.refreshMillis>0&&setInterval(n,i.refreshMillis)},update:function(n){t(this).data("timeago",{datetime:r.parse(n)}),e.apply(this)},updateFromDOM:function(){t(this).data("timeago",{datetime:r.parse(r.isTime(this)?t(this).attr("datetime"):t(this).attr("title"))}),e.apply(this)}};t.fn.timeago=function(t,e){var n=t?s[t]:s.init;if(!n)throw new Error("Unknown function name '"+t+"' for timeago");return this.each(function(){n.call(this,e)}),this},document.createElement("abbr"),document.createElement("time")}),jQuery.timeago.settings.strings={prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",wordSeparator:" ",numbers:[]},jQuery("html").attr("lang")){case"de":jQuery.timeago.settings.strings={prefixAgo:"vor",prefixFromNow:"in",suffixAgo:"",suffixFromNow:"",seconds:"wenigen Sekunden",minute:"etwa einer Minute",minutes:"%d Minuten",hour:"etwa einer Stunde",hours:"%d Stunden",day:"etwa einem Tag",days:"%d Tagen",month:"etwa einem Monat",months:"%d Monaten",year:"etwa einem Jahr",years:"%d Jahren"};break;case"es":jQuery.timeago.settings.strings={prefixAgo:"hace",prefixFromNow:"dentro de",suffixAgo:"",suffixFromNow:"",seconds:"menos de un minuto",minute:"un minuto",minutes:"unos %d minutos",hour:"una hora",hours:"%d horas",day:"un d\xeda",days:"%d d\xedas",month:"un mes",months:"%d meses",year:"un a\xf1o",years:"%d a\xf1os"};break;case"fr":jQuery.timeago.settings.strings={prefixAgo:"il y a",prefixFromNow:"d'ici",seconds:"moins d'une minute",minute:"environ une minute",minutes:"environ %d minutes",hour:"environ une heure",hours:"environ %d heures",day:"environ un jour",days:"environ %d jours",month:"environ un mois",months:"environ %d mois",year:"un an",years:"%d ans"};break;case"it":jQuery.timeago.settings.strings={suffixAgo:"fa",suffixFromNow:"da ora",seconds:"meno di un minuto",minute:"circa un minuto",minutes:"%d minuti",hour:"circa un'ora",hours:"circa %d ore",day:"un giorno",days:"%d giorni",month:"circa un mese",months:"%d mesi",year:"circa un anno",years:"%d anni"};break;case"pt":jQuery.timeago.settings.strings={suffixAgo:"atr\xe1s",suffixFromNow:"nesse momento",seconds:"alguns segundos",minute:"h\xe1 um minuto",minutes:"h\xe1 %d minutos",hour:"h\xe1 uma hora",hours:"h\xe1 %d horas",day:"h\xe1 um dia",days:"h\xe1 %d dias",month:"h\xe1 um m\xeas",months:"h\xe1 %d meses",year:"h\xe1 um ano",years:"h\xe1 %d anos"};break;case"sv":jQuery.timeago.settings.strings={prefixAgo:"f\xf6r",prefixFromNow:"om",suffixAgo:"sedan",suffixFromNow:"",seconds:"mindre \xe4n en minut",minute:"ungef\xe4r en minut",minutes:"%d minuter",hour:"ungef\xe4r en timme",hours:"ungef\xe4r %d timmar",day:"en dag",days:"%d dagar",month:"ungef\xe4r en m\xe5nad",months:"%d m\xe5nader",year:"ungef\xe4r ett \xe5r",years:"%d \xe5r"}}!function(t){"use strict";function e(t){throw new RangeError("noUiSlider: "+t)}function n(t,n,i){(t[n]||t[i])&&t[n]===t[i]&&e("(Link) '"+n+"' can't match '"+i+"'.'")}function i(t){return Math.max(Math.min(t,100),0)}function o(t,e){return Math.round(t/e)*e}function r(t,e){return 100/(e-t)}function s(t,e){return typeof t==typeof e}function a(e){return e instanceof t||t.zepto&&t.zepto.isZ(e)}function l(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}function u(e){return t.isArray(e)?e:[e]}function c(t,e,n){t.addClass(e),setTimeout(function(){t.removeClass(e)},n)}function d(t,e){return 100*e/(t[1]-t[0])}function f(t,e){return d(t,t[0]<0?e+Math.abs(t[0]):e-t[0])}function h(t,e){return e*(t[1]-t[0])/100+t[0]}function p(t,e){if(e>=t.xVal.slice(-1)[0])return 100;for(var n,i,o,s,a=1;e>=t.xVal[a];)a++;return n=t.xVal[a-1],i=t.xVal[a],o=t.xPct[a-1],s=t.xPct[a],o+f([n,i],e)/r(o,s)}function m(t,e){if(e>=100)return t.xVal.slice(-1)[0];for(var n,i,o,s,a=1;e>=t.xPct[a];)a++;return n=t.xVal[a-1],i=t.xVal[a],o=t.xPct[a-1],s=t.xPct[a],h([n,i],(e-o)*r(o,s))}function g(t,e){for(var n,i,r=1;e>=t.xPct[r];)r++;return t.snap?(n=t.xPct[r-1],i=t.xPct[r],e-n>(i-n)/2?i:n):t.xSteps[r-1]?t.xPct[r-1]+o(e-t.xPct[r-1],t.xSteps[r-1]):e}function v(t){t.preventDefault();var e,n,i=0===t.type.indexOf("touch"),o=0===t.type.indexOf("mouse"),r=0===t.type.indexOf("pointer"),s=t;return 0===t.type.indexOf("MSPointer")&&(r=!0),t.originalEvent&&(t=t.originalEvent),i&&(e=t.changedTouches[0].pageX,n=t.changedTouches[0].pageY),(o||r)&&(r||void 0!==window.pageXOffset||(window.pageXOffset=document.documentElement.scrollLeft,window.pageYOffset=document.documentElement.scrollTop),e=t.clientX+window.pageXOffset,n=t.clientY+window.pageYOffset),s.points=[e,n],s.cursor=o,s}function y(i){void 0===i&&(i={}),"object"!=typeof i&&e("(Format) 'format' option must be an object.");var o={};t(U).each(function(t,n){void 0===i[n]?o[n]=Q[t]:s(i[n],Q[t])?("decimals"===n&&(i[n]<0||i[n]>7)&&e("(Format) 'format.decimals' option must be between 0 and 7."),o[n]=i[n]):e("(Format) 'format."+n+"' must be a "+typeof Q[t]+".")}),n(o,"mark","thousand"),n(o,"prefix","negative"),n(o,"prefix","negativeBefore"),this.settings=o}function b(e,n){if(!(this instanceof b))throw new Error("Link: Don't use Link as a function. Use the 'new' keyword.");if(!e)throw new RangeError("Link: missing parameters.");this.formatting=e.format||{},this.update=!n;var i=this,o=e.target||function(){},r=e.method,s="string"==typeof o&&0===o.indexOf("-tooltip-"),l="string"==typeof o&&0!==o.indexOf("-"),u="function"==typeof o,c=a(o),d=c&&o.is("input, select, textarea"),f=c&&"function"==typeof r,h=c&&"string"==typeof r&&o[r];if(s)return this.method=r||"html",void(this.el=t(o.replace("-tooltip-","")||"
")[0]);if(l)return this.method="val",this.el=document.createElement("input"),this.el.name=o,void(this.el.type="hidden");if(u)return this.target=!1,void(this.method=o);if(c){if(r&&(f||h))return this.target=o,void(this.method=r);if(!r&&d)return this.method="val",this.target=o,void this.target.on("change",function(e){function n(t,e,n){return[n?t:e,n?e:t]}var o=n(null,t(e.target).val(),i.N);i.obj.val(o,{link:i})});if(!r&&!d)return this.method="html",void(this.target=o)}throw new RangeError("Link: Invalid Link.")}function x(t,n){l(n)||e("'step' is not numeric."),t.xSteps[0]=n}function w(n,i){("object"!=typeof i||t.isArray(i))&&e("'range' is not an object."),t.each(i,function(i,o){var r;"number"==typeof o&&(o=[o]),t.isArray(o)||e("'range' contains invalid value."),r="min"===i?0:"max"===i?100:parseFloat(i),l(r)&&l(o[0])||e("'range' value isn't numeric."),n.xPct.push(r),n.xVal.push(o[0]),r?n.xSteps.push(!isNaN(o[1])&&o[1]):isNaN(o[1])||(n.xSteps[0]=o[1])}),t.each(n.xSteps,function(t,e){return!e||void(n.xSteps[t]=d([n.xVal[t],n.xVal[t+1]],e)/r(n.xPct[t],n.xPct[t+1]))})}function C(n,i){"number"==typeof i&&(i=[i]),(!t.isArray(i)||!i.length||i.length>2)&&e("'start' option is incorrect."),n.handles=i.length,n.start=i}function k(t,n){t.snap=n,"boolean"!=typeof n&&e("'snap' option must be a boolean.")}function T(t,n){"lower"===n&&1===t.handles?t.connect=1:"upper"===n&&1===t.handles?t.connect=2:n===!0&&2===t.handles?t.connect=3:n===!1?t.connect=0:e("'connect' option was doesn't match handle count.")}function $(t,n){switch(n){case"horizontal":t.ort=0;break;case"vertical":t.ort=1;break;default:e("'orientation' option is invalid.")}}function E(t,n){t.xPct.length>2&&e("'margin' option is only supported on linear sliders."),t.margin=d(t.xVal,n),l(n)||e("'margin' option must be numeric.")}function S(t,n){switch(n){case"ltr":t.dir=0;break;case"rtl":t.dir=1,t.connect=[0,2,1,3][t.connect];break;default:e("'direction' option was not recognized.")}}function N(t,n){"string"!=typeof n&&e("'behaviour' must be a string containing options.");var i=n.indexOf("tap")>=0,o=n.indexOf("extend")>=0,r=n.indexOf("drag")>=0,s=n.indexOf("fixed")>=0,a=n.indexOf("snap")>=0;t.events={tap:i||a,extend:o,drag:r,fixed:s,snap:a}}function j(n,i,o){n.ser=[i.lower,i.upper],n.formatting=new y(i.format),t.each(n.ser,function(n,r){t.isArray(r)||e("'serialization."+(n?"upper":"lower")+"' must be an array."),t.each(r,function(){this instanceof b||e("'serialization."+(n?"upper":"lower")+"' can only contain Link instances."),this.N=n,this.obj=o,this.scope=this.scope||o,this.formatting=new y(t.extend({},i.format,this.formatting))})}),n.dir&&n.handles>1&&n.ser.reverse()}function A(n,i){var o,r={xPct:[],xVal:[],xSteps:[!1],margin:0};return o={step:{r:!1,t:x},range:{r:!0,t:w},start:{r:!0,t:C},snap:{r:!1,t:k},connect:{r:!0,t:T},orientation:{r:!1,t:$},margin:{r:!1,t:E},direction:{r:!0,t:S},behaviour:{r:!0,t:N},serialization:{r:!0,t:j}},n=t.extend({connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal"},n),n.serialization=t.extend({lower:[],upper:[],format:{}},n.serialization),t.each(o,function(t,o){if(void 0===n[t]){if(!o.r)return!0;e("'"+t+"' is required.")}o.t(r,n[t],i)}),r.style=r.ort?"top":"left",r}function D(e,n){var i=t("
").addClass(X[2]),o=["-lower","-upper"];return e.dir&&o.reverse(),i.children().addClass(X[3]+" "+X[3]+o[n]),i}function L(e,n){return n.el&&(n=new b({target:t(n.el).clone().appendTo(e),method:n.method,format:n.formatting},!0)),n}function F(t,e,n){var i,o=[];for(o.push(new b({format:n},!0)),i=0;i").appendTo(n).addClass(X[1])}function O(e,n,o){function r(){return w[["width","height"][n.ort]]()}function s(t){var e,n=[T.val()];for(e=0;e1&&(o=s?Math.max(o,a):Math.min(o,l)),o<100&&(o=g(n,o)),o=i(parseFloat(o.toFixed(7))),o===$[s]?1!==k.length&&((o===a||o===l)&&0):(e.css(n.style,o+"%"),e.is(":first-child")&&e.toggleClass(X[17],o>50),$[s]=o,n.dir&&(o=100-o),t(C[s]).each(function(){this.write(n,o,e.children(),T)}),!0)}function l(t,e,n){var o=t+e[0],r=t+e[1];return n?(o<0&&(r+=Math.abs(o)),r>100&&(o-=r-100),[i(o),i(r)]):[o,r]}function u(t,e,n){n||c(T,X[14],300),a(t,e,!1),s(["slide","set","change"])}function d(t,e,i,o){return t=t.replace(/\s/g,R+" ")+R,e.on(t,function(t){var e=T.attr("disabled");return e=!(void 0===e||null===e),!T.hasClass(X[14])&&!e&&(t=v(t),t.calcPoint=t.points[n.ort],void i(t,o))})}function f(t,e){var n,i=e.handles||k,o=!1,u=100*(t.calcPoint-e.start)/r(),c=i[0][0]!==k[0][0]?1:0;n=l(u,e.positions,i.length>1),o=a(i[0],n[c],1===i.length),i.length>1&&(o=a(i[1],n[c?0:1],!1)||o),o&&s(["slide"])}function h(e){t("."+X[15]).removeClass(X[15]),e.cursor&&t("body").css("cursor","").off(R),W.off(R),T.removeClass(X[12]),s(["set","change"])}function m(e,n){1===n.handles.length&&n.handles[0].children().addClass(X[15]),e.stopPropagation(),d(z.move,W,f,{start:e.calcPoint,handles:n.handles,positions:[$[0],$[k.length-1]]}),d(z.end,W,h,null),e.cursor&&(t("body").css("cursor",t(e.target).css("cursor")),k.length>1&&T.addClass(X[12]),t("body").on("selectstart"+R,!1))}function y(e){var i,o=e.calcPoint,s=0;e.stopPropagation(),t.each(k,function(){s+=this.offset()[n.style]}),s=o1&&e.reverse(),l&&c(T,X[14],300),u=0;u<(k.length>1?3:1);u++)d=o||C[u%2][0],d=d.valueOf(e[u%2]),d!==!1&&(d=p(n,d),n.dir&&(d=100-d),a(k[u%2],d,!0)!==!0&&t(C[u%2]).each(function(){this.write(n,$[u%2],k[u%2].children(),T,r)}));return i===!0&&s(["set"]),this},e.vGet=function(){var t,e=[];for(t=0;t1?e.reverse():e},e.destroy=function(){return t.each(C,function(){t.each(this,function(){this.target&&this.target.off(R)})}),t(this).off(R).removeClass(X.join(" ")).empty(),o},T.val(n.start)}function B(t){this.length||e("Can't initialize slider on empty selection.");var n=A(t,this);return this.each(function(){O(this,n,t)})}function _(e){return this.each(function(){var n=t(this).val(),i=this.destroy(),o=t.extend({},i,e);t(this).noUiSlider(o),i.start===o.start&&t(this).val(n)})}var W=t(document),R=".nui",I=t.fn.val,z=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},X=["noUi-target","noUi-base","noUi-origin","noUi-handle","noUi-horizontal","noUi-vertical","noUi-background","noUi-connect","noUi-ltr","noUi-rtl","noUi-dragable","","noUi-state-drag","","noUi-state-tap","noUi-active","noUi-extended","noUi-stacking"],U=["decimals","mark","thousand","prefix","postfix","encoder","decoder","negative","negativeBefore"],Q=[2,".","","","",function(t){return t},function(t){return t},"-",""];y.prototype.v=function(t){return this.settings[t]},y.prototype.to=function(t){function e(t){return t.split("").reverse().join("")}t=this.v("encoder")(t);var n="",i="",o="",r="";return t<0&&(n=this.v("negative"),i=this.v("negativeBefore")),t=Math.abs(t).toFixed(this.v("decimals")).toString(),t=t.split("."),0===parseFloat(t)&&(t[0]="0"),this.v("thousand")?(o=e(t[0]).match(/.{1,3}/g),o=e(o.join(e(this.v("thousand"))))):o=t[0],this.v("mark")&&t.length>1&&(r=this.v("mark")+t[1]),i+this.v("prefix")+n+o+r+this.v("postfix")},y.prototype.from=function(t){function e(t){return t.replace(/[\-\/\\\^$*+?.()|\[\]{}]/g,"\\$&")}var n;return null!==t&&void 0!==t&&(t=t.toString(),n=t.replace(new RegExp("^"+e(this.v("negativeBefore"))),""),t!==n?(t=n,n="-"):n="",t=t.replace(new RegExp("^"+e(this.v("prefix"))),""),this.v.negative&&(n="",t=t.replace(new RegExp("^"+e(this.v("negative"))),"-")),t=t.replace(new RegExp(e(this.v("postfix"))+"$"),"").replace(new RegExp(e(this.v("thousand")),"g"),"").replace(this.v("mark"),"."),t=this.v("decoder")(parseFloat(n+t)),!isNaN(t)&&t)},b.prototype.write=function(t,e,n,i,o){this.update&&o===!1||(e=m(t,e),e=this.format(e),this.saved=e,"function"==typeof this.method?this.method.call(this.target[0]||i[0],e,n,i):this.target[this.method](e,n,i))},b.prototype.format=function(t){return this.formatting.to(t)},b.prototype.valueOf=function(t){return this.formatting.from(t)},t.noUiSlider={Link:b},t.fn.noUiSlider=function(t,e){return(e?_:B).call(this,t)},t.fn.val=function(){var e,n,i,o,r=Array.prototype.slice.call(arguments,0);return r.length?("object"==typeof r[1]?(e=r[1].set,n=r[1].link,i=r[1].update,o=r[1].animate):r[1]===!0&&(e=!0),this.each(function(){t(this).hasClass(X[0])?this.vSet(u(r[0]),e,n,i,o):I.apply(t(this),r)})):this.hasClass(X[0])?this[0].vGet():I.apply(this)}}(window.jQuery||window.Zepto),!function(t){"use strict";t(function(){t.support.transition=function(){var t=function(){var t,e=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(void 0!==e.style[t])return n[t]}();return t&&{end:t}}()})}(window.jQuery),!function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.prototype.close=function(e){function n(){i.trigger("closed").remove()}var i,o=t(this),r=o.attr("data-target");r||(r=o.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=t(r),e&&e.preventDefault(),i.length||(i=o.hasClass("alert")?o:o.parent()),i.trigger(e=t.Event("close")),e.isDefaultPrevented()||(i.removeClass("in"),t.support.transition&&i.hasClass("fade")?i.on(t.support.transition.end,n):n())};var i=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var i=t(this),o=i.data("alert");o||i.data("alert",o=new n(this)),"string"==typeof e&&o[e].call(i)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.alert.data-api",e,n.prototype.close)}(window.jQuery),!function(t){"use strict";var e=function(e,n){this.options=n,this.$element=t(e).delegate('[data-dismiss="modal"]',"click.dismiss.modal",t.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};e.prototype={constructor:e,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var e=this,n=t.Event("show");this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.backdrop(function(){var n=t.support.transition&&e.$element.hasClass("fade");e.$element.parent().length||e.$element.appendTo(document.body),e.$element.show(),n&&e.$element[0].offsetWidth,e.$element.addClass("in").attr("aria-hidden",!1),e.enforceFocus(),n?e.$element.one(t.support.transition.end,function(){e.$element.focus().trigger("shown")}):e.$element.focus().trigger("shown")}))},hide:function(e){e&&e.preventDefault();e=t.Event("hide"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),t(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),t.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal())},enforceFocus:function(){var e=this;t(document).on("focusin.modal",function(t){e.$element[0]===t.target||e.$element.has(t.target).length||e.$element.focus()})},escape:function(){var t=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(e){27==e.which&&t.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var e=this,n=setTimeout(function(){e.$element.off(t.support.transition.end),e.hideModal()},500);this.$element.one(t.support.transition.end,function(){clearTimeout(n),e.hideModal()})},hideModal:function(){var t=this;this.$element.hide(),this.backdrop(function(){t.removeBackdrop(),t.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(e){var n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=t.support.transition&&n;if(this.$backdrop=t('