function initCarmaRoi(){carma.roi.init("https://www2.carmamail.com/mail",!0)}function Swipe(n,t){"use strict";function d(){var s,h;f=u.children,tt=f.length,f.length<2&&(t.continuous=!1),a.transitions&&t.continuous&&f.length<3&&(u.appendChild(f[0].cloneNode(!0)),u.appendChild(u.children[1].cloneNode(!0)),f=u.children),l=new Array(f.length);try{r=n.getBoundingClientRect().width||n.offsetWidth}catch(c){}for(u.style.width=f.length*r+"px",s=f.length;s--;)h=f[s],h.style.width=r+"px",h.setAttribute("data-index",s),a.transitions&&(h.style.left=s*-r+"px",o(s,i>s?-r:i<s?r:0,0));t.continuous&&a.transitions&&(o(e(i-1),-r,0),o(e(i+1),r,0)),isNaN&&isNaN(i)&&(i=0),a.transitions||(u.style.left=i*-r+"px"),n.style.visibility="visible"}function et(){t.continuous?w(i-1):i&&w(i-1)}function rt(){t.continuous?w(i+1):i<f.length-1&&w(i+1)}function e(n){return(f.length+n%f.length)%f.length}function w(n,u){var s,v,h;if(i!=n){if(a.transitions){for(s=Math.abs(i-n)/(i-n),t.continuous&&(v=s,s=-l[e(n)]/r,s!==v&&(n=-s*f.length+n)),h=Math.abs(i-n)-1;h--;)o(e((n>i?n:i)-h-1),r*s,0);n=e(n),o(i,r*s,u||c),o(n,0,u||c),t.continuous&&o(e(n-s),-(r*s),0)}else n=e(n),ot(i*-r,n*-r,u||c);i=n,k(t.callback&&t.callback(i,f[i]))}}function o(n,t,i){v(n,t,i),l[n]=t}function v(n,t,r){var e=f[n],u=e&&e.style;u&&(u.webkitTransitionDuration=u.MozTransitionDuration=u.msTransitionDuration=u.OTransitionDuration=u.transitionDuration=r+"ms",u.webkitTransform="translate("+t+"px,0)translateZ(0)",u.msTransform=u.MozTransform=u.OTransform="translateX("+t+"px)",n==i&&it(t))}function ot(n,r,e){if(!e){u.style.left=r+"px";return}var o=+new Date,s=setInterval(function(){var h=+new Date-o;if(h>e){isNaN(r)||(u.style.left=r+"px"),y&&nt(),t.transitionEnd&&t.transitionEnd.call(event,i,f[i]),clearInterval(s);return}isNaN(r)||isNaN(n)||(u.style.left=(r-n)*(Math.floor(h/e*100)/100)+n+"px")},4)}function nt(){ut=setTimeout(rt,y)}function b(){y=0,clearTimeout(ut)}var ft=function(){},k=function(n){setTimeout(n||ft,0)},a={addEventListener:!!window.addEventListener,touch:"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,transitions:function(n){var t=["transitionProperty","WebkitTransition","MozTransition","OTransition","msTransition"],i;for(i in t)if(n.style[t[i]]!==undefined)return!0;return!1}(document.createElement("swipe"))},u,f,l,r,tt,i,c,it,y,ut;if(n){u=n.children[0],t=t||{},i=parseInt(t.startSlide,10)||0,c=t.speed||300,t.continuous=t.continuous!==undefined?t.continuous:!0,it=t.currentSlideMovementHandler||function(){},y=t.auto||0;var g={},s={},p,h={handleEvent:function(n){switch(n.type){case"touchstart":this.start(n);break;case"touchmove":this.move(n);break;case"touchend":k(this.end(n));break;case"webkitTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"otransitionend":case"transitionend":k(this.transitionEnd(n));break;case"resize":k(d.call())}t.stopPropagation&&n.stopPropagation()},start:function(n){var t=n.touches[0];g={x:t.pageX,y:t.pageY,time:+new Date},p=undefined,s={},u.addEventListener("touchmove",this,!1),u.addEventListener("touchend",this,!1)},move:function(n){if(!(n.touches.length>1)&&(!n.scale||n.scale===1)){t.disableScroll&&n.preventDefault();var u=n.touches[0];s={x:u.pageX-g.x,y:u.pageY-g.y},typeof p=="undefined"&&(p=!!(p||Math.abs(s.x)<Math.abs(s.y))),p||(n.preventDefault(),b(),t.continuous?(v(e(i-1),s.x+l[e(i-1)],0),v(i,s.x+l[i],0),v(e(i+1),s.x+l[e(i+1)],0)):(s.x=s.x/(!i&&s.x>0||i==f.length-1&&s.x<0?Math.abs(s.x)/r+1:1),v(i-1,s.x+l[i-1],0),v(i,s.x+l[i],0),v(i+1,s.x+l[i+1],0)))}},end:function(){var y=+new Date-g.time,w=Number(y)<250&&Math.abs(s.x)>20||Math.abs(s.x)>r/2,a=!i&&s.x>0||i==f.length-1&&s.x<0,v;t.continuous&&(a=!1),v=s.x<0,p||(w&&!a?(v?(t.continuous?(o(e(i-1),-r,0),o(e(i+2),r,0)):o(i-1,-r,0),o(i,l[i]-r,c),o(e(i+1),l[e(i+1)]-r,c),i=e(i+1)):(t.continuous?(o(e(i+1),r,0),o(e(i-2),-r,0)):o(i+1,r,0),o(i,l[i]+r,c),o(e(i-1),l[e(i-1)]+r,c),i=e(i-1)),t.callback&&t.callback(i,f[i])):t.continuous?(o(e(i-1),-r,c),o(i,0,c),o(e(i+1),r,c)):(o(i-1,-r,c),o(i,0,c),o(i+1,r,c))),u.removeEventListener("touchmove",h,!1),u.removeEventListener("touchend",h,!1)},transitionEnd:function(n){parseInt(n.target.getAttribute("data-index"),10)==i&&(y&&nt(),t.transitionEnd&&t.transitionEnd.call(n,i,f[i]))}};return d(),y&&nt(),a.addEventListener?(a.touch&&u.addEventListener("touchstart",h,!1),a.transitions&&(u.addEventListener("webkitTransitionEnd",h,!1),u.addEventListener("msTransitionEnd",h,!1),u.addEventListener("oTransitionEnd",h,!1),u.addEventListener("otransitionend",h,!1),u.addEventListener("transitionend",h,!1)),window.addEventListener("resize",h,!1)):window.onresize=function(){d()},{setup:function(){d()},slide:function(n,t){b(),w(n,t)},prev:function(){b(),et()},next:function(){b(),rt()},getPos:function(){return i},getNumSlides:function(){return tt},kill:function(){var n,t;for(b(),u.style.width="auto",u.style.left=0,n=f.length;n--;)t=f[n],t.style.width="100%",t.style.left=0,a.transitions&&v(n,0,0);a.addEventListener?(u.removeEventListener("touchstart",h,!1),u.removeEventListener("webkitTransitionEnd",h,!1),u.removeEventListener("msTransitionEnd",h,!1),u.removeEventListener("oTransitionEnd",h,!1),u.removeEventListener("otransitionend",h,!1),u.removeEventListener("transitionend",h,!1),window.removeEventListener("resize",h,!1)):window.onresize=null}}}}function registerEvent_ConfirmFormSubmit(n,t){if(document.getElementById){var i=document.getElementById(n);i&&(i.onsubmit=function(){return confirm(t)})}}function shouldShowMobileMessage(){return"ontouchstart"in window}function is_touch_device(){return!!("ontouchstart"in window)||window.navigator.msMaxTouchPoints>0}var requirejs,require,define,module,countdown,createCounter,oldQueue,swfobject,deconcept;(function(n,t){function yu(n){var t=wt[n]={};return i.each(n.split(h),function(n,i){t[i]=!0}),t}function ui(n,r,u){if(u===t&&n.nodeType===1){var f="data-"+r.replace(sr,"-$1").toLowerCase();if(u=n.getAttribute(f),typeof u=="string"){try{u=u==="true"?!0:u==="false"?!1:u==="null"?null:+u+""===u?+u:or.test(u)?i.parseJSON(u):u}catch(e){}i.data(n,r,u)}else u=t}return u}function at(n){var t;for(t in n)if((t!=="data"||!i.isEmptyObject(n[t]))&&t!=="toJSON")return!1;return!0}function a(){return!1}function d(){return!0}function b(n){return!n||!n.parentNode||n.parentNode.nodeType===11}function fi(n,t){do n=n[t];while(n&&n.nodeType!==1);return n}function ei(n,t,r){if(t=t||0,i.isFunction(t))return i.grep(n,function(n,i){var u=!!t.call(n,i,n);return u===r});if(t.nodeType)return i.grep(n,function(n){return n===t===r});if(typeof t=="string"){var u=i.grep(n,function(n){return n.nodeType===1});if(fe.test(t))return i.filter(t,u,!r);t=i.filter(t,u)}return i.grep(n,function(n){return i.inArray(n,t)>=0===r})}function oi(n){var i=kr.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function pu(n,t){return n.getElementsByTagName(t)[0]||n.appendChild(n.ownerDocument.createElement(t))}function si(n,t){if(t.nodeType===1&&i.hasData(n)){var u,f,o,s=i._data(n),r=i._data(t,s),e=s.events;if(e){delete r.handle,r.events={};for(u in e)for(f=0,o=e[u].length;f<o;f++)i.event.add(t,u,e[u][f])}r.data&&(r.data=i.extend({},r.data))}}function hi(n,t){var r;t.nodeType===1&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(n),r=t.nodeName.toLowerCase(),r==="object"?(t.parentNode&&(t.outerHTML=n.outerHTML),i.support.html5Clone&&n.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=n.innerHTML)):r==="input"&&nu.test(n.type)?(t.defaultChecked=t.checked=n.checked,t.value!==n.value&&(t.value=n.value)):r==="option"?t.selected=n.defaultSelected:r==="input"||r==="textarea"?t.defaultValue=n.defaultValue:r==="script"&&t.text!==n.text&&(t.text=n.text),t.removeAttribute(i.expando))}function g(n){return typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName("*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll("*"):[]}function ci(n){nu.test(n.type)&&(n.defaultChecked=n.checked)}function li(n,t){if(t in n)return t;for(var r=t.charAt(0).toUpperCase()+t.slice(1),u=t,i=fu.length;i--;)if(t=fu[i]+r,t in n)return t;return u}function nt(n,t){return n=t||n,i.css(n,"display")==="none"||!i.contains(n.ownerDocument,n)}function ai(n,t){for(var r,o,e=[],f=0,s=n.length;f<s;f++)(r=n[f],r.style)&&(e[f]=i._data(r,"olddisplay"),t?(!e[f]&&r.style.display==="none"&&(r.style.display=""),r.style.display===""&&nt(r)&&(e[f]=i._data(r,"olddisplay",wi(r.nodeName)))):(o=u(r,"display"),!e[f]&&o!=="none"&&i._data(r,"olddisplay",o)));for(f=0;f<s;f++)(r=n[f],r.style)&&(t&&r.style.display!=="none"&&r.style.display!==""||(r.style.display=t?e[f]||"":"none"));return n}function vi(n,t,i){var r=be.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function yi(n,t,r,f){for(var e=r===(f?"border":"content")?4:t==="width"?1:0,o=0;e<4;e+=2)r==="margin"&&(o+=i.css(n,r+c[e],!0)),f?(r==="content"&&(o-=parseFloat(u(n,"padding"+c[e]))||0),r!=="margin"&&(o-=parseFloat(u(n,"border"+c[e]+"Width"))||0)):(o+=parseFloat(u(n,"padding"+c[e]))||0,r!=="padding"&&(o+=parseFloat(u(n,"border"+c[e]+"Width"))||0));return o}function pi(n,t,r){var f=t==="width"?n.offsetWidth:n.offsetHeight,e=!0,o=i.support.boxSizing&&i.css(n,"boxSizing")==="border-box";if(f<=0||f==null){if(f=u(n,t),(f<0||f==null)&&(f=n.style[t]),et.test(f))return f;e=o&&(i.support.boxSizingReliable||f===n.style[t]),f=parseFloat(f)||0}return f+yi(n,t,r||(o?"border":"content"),e)+"px"}function wi(n){if(ti[n])return ti[n];var f=i("<"+n+">").appendTo(r.body),t=f.css("display");return f.remove(),(t==="none"||t==="")&&(v=r.body.appendChild(v||i.extend(r.createElement("iframe"),{frameBorder:0,width:0,height:0})),y&&v.createElement||(y=(v.contentWindow||v.contentDocument).document,y.write("<!doctype html><html><body>"),y.close()),f=y.body.appendChild(y.createElement(n)),t=u(f,"display"),r.body.removeChild(v)),ti[n]=t,t}function vt(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||to.test(n)?u(n,i):vt(n+"["+(typeof i=="object"?t:"")+"]",i,r,u)});else if(r||i.type(t)!=="object")u(n,t);else for(f in t)vt(n+"["+f+"]",t[f],r,u)}function bi(n){return function(t,r){typeof t!="string"&&(r=t,t="*");var u,o,f,s=t.toLowerCase().split(h),e=0,c=s.length;if(i.isFunction(r))for(;e<c;e++)u=s[e],f=/^\+/.test(u),f&&(u=u.substr(1)||"*"),o=n[u]=n[u]||[],o[f?"unshift":"push"](r)}}function tt(n,i,r,u,f,e){f=f||i.dataTypes[0],e=e||{},e[f]=!0;for(var o,s=n[f],h=0,l=s?s.length:0,c=n===ii;h<l&&(c||!o);h++)o=s[h](i,r,u),typeof o=="string"&&(!c||e[o]?o=t:(i.dataTypes.unshift(o),o=tt(n,i,r,u,o,e)));return(c||!o)&&!e["*"]&&(o=tt(n,i,r,u,"*",e)),o}function ki(n,r){var u,f,e=i.ajaxSettings.flatOptions||{};for(u in r)r[u]!==t&&((e[u]?n:f||(f={}))[u]=r[u]);f&&i.extend(!0,n,f)}function wu(n,i,r){var o,u,e,s,h=n.contents,f=n.dataTypes,c=n.responseFields;for(u in c)u in r&&(i[c[u]]=r[u]);while(f[0]==="*")f.shift(),o===t&&(o=n.mimeType||i.getResponseHeader("content-type"));if(o)for(u in h)if(h[u]&&h[u].test(o)){f.unshift(u);break}if(f[0]in r)e=f[0];else{for(u in r){if(!f[0]||n.converters[u+" "+f[0]]){e=u;break}s||(s=u)}e=e||s}if(e)return e!==f[0]&&f.unshift(e),r[e]}function bu(n,t){var i,o,r,e,s=n.dataTypes.slice(),f=s[0],u={},h=0;if(n.dataFilter&&(t=n.dataFilter(t,n.dataType)),s[1])for(i in n.converters)u[i.toLowerCase()]=n.converters[i];for(;r=s[++h];)if(r!=="*"){if(f!=="*"&&f!==r){if(i=u[f+" "+r]||u["* "+r],!i)for(o in u)if(e=o.split(" "),e[1]===r&&(i=u[f+" "+e[0]]||u["* "+e[0]],i)){i===!0?i=u[o]:u[o]!==!0&&(r=e[0],s.splice(h--,0,r));break}if(i!==!0)if(i&&n.throws)t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+f+" to "+r}}}f=r}return{state:"success",data:t}}function di(){try{return new n.XMLHttpRequest}catch(t){}}function ku(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function gi(){return setTimeout(function(){ht=t},0),ht=i.now()}function du(n,t){i.each(t,function(t,i){for(var u=(k[t]||[]).concat(k["*"]),r=0,f=u.length;r<f;r++)if(u[r].call(n,t,i))return})}function nr(n,t,r){var e,o=0,l=0,c=lt.length,f=i.Deferred().always(function(){delete h.elem}),h=function(){for(var o=ht||gi(),t=Math.max(0,u.startTime+u.duration-o),i=1-(t/u.duration||0),r=0,e=u.tweens.length;r<e;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),i<1&&e?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{}},r),originalProperties:t,originalOptions:r,startTime:ht||gi(),duration:r.duration,tweens:[],createTween:function(t,r){var e=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(e),e},stop:function(t){for(var i=0,r=t?u.tweens.length:0;i<r;i++)u.tweens[i].run(1);return t?f.resolveWith(n,[u,t]):f.rejectWith(n,[u,t]),this}}),s=u.props;for(gu(s,u.opts.specialEasing);o<c;o++)if(e=lt[o].call(u,n,s,u.opts),e)return e;return du(u,s),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(h,{anim:u,queue:u.opts.queue,elem:n})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function gu(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u),delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function nf(n,t,r){var o,u,a,v,h,c,f,w,s=this,e=n.style,y={},p=[],l=n.nodeType&&nt(n);r.queue||(f=i._queueHooks(n,"fx"),f.unqueued==null&&(f.unqueued=0,w=f.empty.fire,f.empty.fire=function(){f.unqueued||w()}),f.unqueued++,s.always(function(){s.always(function(){f.unqueued--,i.queue(n,"fx").length||f.empty.fire()})})),n.nodeType===1&&("height"in t||"width"in t)&&(r.overflow=[e.overflow,e.overflowX,e.overflowY],i.css(n,"display")==="inline"&&i.css(n,"float")==="none"&&(!i.support.inlineBlockNeedsLayout||wi(n.nodeName)==="inline"?e.display="inline-block":e.zoom=1)),r.overflow&&(e.overflow="hidden",i.support.shrinkWrapBlocks||s.done(function(){e.overflow=r.overflow[0],e.overflowX=r.overflow[1],e.overflowY=r.overflow[2]}));for(o in t)if(a=t[o],vo.exec(a)){if(delete t[o],a===(l?"hide":"show"))continue;p.push(o)}if(v=p.length,v)for(h=i._data(n,"fxshow")||i._data(n,"fxshow",{}),l?i(n).show():s.done(function(){i(n).hide()}),s.done(function(){var t;i.removeData(n,"fxshow",!0);for(t in y)i.style(n,t,y[t])}),o=0;o<v;o++)u=p[o],c=s.createTween(u,l?h[u]:0),y[u]=h[u]||i.style(n,u),u in h||(h[u]=c.start,l&&(c.end=c.start,c.start=u==="width"||u==="height"?1:0))}function f(n,t,i,r,u){return new f.prototype.init(n,t,i,r,u)}function it(n,t){var r,i={height:n},u=0;for(t=t?1:0;u<4;u+=2-t)r=c[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function tr(n){return i.isWindow(n)?n:n.nodeType===9?n.defaultView||n.parentWindow:!1}var ir,rt,r=n.document,tf=n.location,rf=n.navigator,uf=n.jQuery,ff=n.$,rr=Array.prototype.push,o=Array.prototype.slice,ur=Array.prototype.indexOf,ef=Object.prototype.toString,yt=Object.prototype.hasOwnProperty,pt=String.prototype.trim,i=function(n,t){return new i.fn.init(n,t,ir)},ut=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,of=/\S/,h=/\s+/,sf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,hf=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,fr=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,cf=/^[\],:{}\s]*$/,lf=/(?:^|:|,)(?:\s*\[)+/g,af=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,vf=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,yf=/^-ms-/,pf=/-([\da-z])/gi,wf=function(n,t){return(t+"").toUpperCase()},ft=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",ft,!1),i.ready()):r.readyState==="complete"&&(r.detachEvent("onreadystatechange",ft),i.ready())},er={},wt,or,sr,w,st,vu,ri;i.fn=i.prototype={constructor:i,init:function(n,u,f){var e,o,h,s;if(!n)return this;if(n.nodeType)return this.context=this[0]=n,this.length=1,this;if(typeof n=="string"){if(e=n.charAt(0)==="<"&&n.charAt(n.length-1)===">"&&n.length>=3?[null,n,null]:hf.exec(n),e&&(e[1]||!u)){if(e[1])return u=u instanceof i?u[0]:u,s=u&&u.nodeType?u.ownerDocument||u:r,n=i.parseHTML(e[1],s,!0),fr.test(e[1])&&i.isPlainObject(u)&&this.attr.call(n,u,!0),i.merge(this,n);if(o=r.getElementById(e[2]),o&&o.parentNode){if(o.id!==e[2])return f.find(n);this.length=1,this[0]=o}return this.context=r,this.selector=n,this}return!u||u.jquery?(u||f).find(n):this.constructor(u).find(n)}return i.isFunction(n)?f.ready(n):(n.selector!==t&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return o.call(this)},get:function(n){return n==null?this.toArray():n<0?this[this.length+n]:this[n]},pushStack:function(n,t,r){var u=i.merge(this.constructor(),n);return u.prevObject=this,u.context=this.context,t==="find"?u.selector=this.selector+(this.selector?" ":"")+r:t&&(u.selector=this.selector+"."+t+"("+r+")"),u},each:function(n,t){return i.each(this,n,t)},ready:function(n){return i.ready.promise().done(n),this},eq:function(n){return n=+n,n===-1?this.slice(n):this.slice(n,n+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(o.apply(this,arguments),"slice",o.call(arguments).join(","))},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:rr,sort:[].sort,splice:[].splice},i.fn.init.prototype=i.fn,i.extend=i.fn.extend=function(){var o,e,u,r,s,h,n=arguments[0]||{},f=1,l=arguments.length,c=!1;for(typeof n=="boolean"&&(c=n,n=arguments[1]||{},f=2),typeof n!="object"&&!i.isFunction(n)&&(n={}),l===f&&(n=this,--f);f<l;f++)if((o=arguments[f])!=null)for(e in o)(u=n[e],r=o[e],n!==r)&&(c&&r&&(i.isPlainObject(r)||(s=i.isArray(r)))?(s?(s=!1,h=u&&i.isArray(u)?u:[]):h=u&&i.isPlainObject(u)?u:{},n[e]=i.extend(c,h,r)):r!==t&&(n[e]=r));return n},i.extend({noConflict:function(t){return n.$===i&&(n.$=ff),t&&n.jQuery===i&&(n.jQuery=uf),i},isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){if(n===!0?!--i.readyWait:!i.isReady){if(!r.body)return setTimeout(i.ready,1);(i.isReady=!0,n!==!0&&--i.readyWait>0)||(rt.resolveWith(r,[i]),i.fn.trigger&&i(r).trigger("ready").off("ready"))}},isFunction:function(n){return i.type(n)==="function"},isArray:Array.isArray||function(n){return i.type(n)==="array"},isWindow:function(n){return n!=null&&n==n.window},isNumeric:function(n){return!isNaN(parseFloat(n))&&isFinite(n)},type:function(n){return n==null?String(n):er[ef.call(n)]||"object"},isPlainObject:function(n){if(!n||i.type(n)!=="object"||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!yt.call(n,"constructor")&&!yt.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}var r;for(r in n);return r===t||yt.call(n,r)},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},error:function(n){throw new Error(n);},parseHTML:function(n,t,u){var f;return!n||typeof n!="string"?null:(typeof t=="boolean"&&(u=t,t=0),t=t||r,(f=fr.exec(n))?[t.createElement(f[1])]:(f=i.buildFragment([n],t,u?null:[]),i.merge([],(f.cacheable?i.clone(f.fragment):f.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;if(t=i.trim(t),n.JSON&&n.JSON.parse)return n.JSON.parse(t);if(cf.test(t.replace(af,"@").replace(vf,"]").replace(lf,"")))return new Function("return "+t)();i.error("Invalid JSON: "+t)},parseXML:function(r){var u,f;if(!r||typeof r!="string")return null;try{n.DOMParser?(f=new DOMParser,u=f.parseFromString(r,"text/xml")):(u=new ActiveXObject("Microsoft.XMLDOM"),u.async="false",u.loadXML(r))}catch(e){u=t}return(!u||!u.documentElement||u.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+r),u},noop:function(){},globalEval:function(t){t&&of.test(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(yf,"ms-").replace(pf,wf)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,r,u){var f,e=0,o=n.length,s=o===t||i.isFunction(n);if(u){if(s){for(f in n)if(r.apply(n[f],u)===!1)break}else for(;e<o;)if(r.apply(n[e++],u)===!1)break}else if(s){for(f in n)if(r.call(n[f],f,n[f])===!1)break}else for(;e<o;)if(r.call(n[e],e,n[e++])===!1)break;return n},trim:pt&&!pt.call("﻿ ")?function(n){return n==null?"":pt.call(n)}:function(n){return n==null?"":(n+"").replace(sf,"")},makeArray:function(n,t){var r,u=t||[];return n!=null&&(r=i.type(n),n.length==null||r==="string"||r==="function"||r==="regexp"||i.isWindow(n)?rr.call(u,n):i.merge(u,n)),u},inArray:function(n,t,i){var r;if(t){if(ur)return ur.call(t,n,i);for(r=t.length,i=i?i<0?Math.max(0,r+i):i:0;i<r;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,i){var f=i.length,u=n.length,r=0;if(typeof f=="number")for(;r<f;r++)n[u++]=i[r];else while(i[r]!==t)n[u++]=i[r++];return n.length=u,n},grep:function(n,t,i){var u,f=[],r=0,e=n.length;for(i=!!i;r<e;r++)u=!!t(n[r],r),i!==u&&f.push(n[r]);return f},map:function(n,r,u){var f,h,e=[],s=0,o=n.length,c=n instanceof i||o!==t&&typeof o=="number"&&(o>0&&n[0]&&n[o-1]||o===0||i.isArray(n));if(c)for(;s<o;s++)f=r(n[s],s,u),f!=null&&(e[e.length]=f);else for(h in n)f=r(n[h],h,u),f!=null&&(e[e.length]=f);return e.concat.apply([],e)},guid:1,proxy:function(n,r){var f,e,u;return typeof r=="string"&&(f=n[r],r=n,n=f),i.isFunction(n)?(e=o.call(arguments,2),u=function(){return n.apply(r,e.concat(o.call(arguments)))},u.guid=n.guid=n.guid||i.guid++,u):t},access:function(n,r,u,f,e,o,s){var c,l=u==null,h=0,a=n.length;if(u&&typeof u=="object"){for(h in u)i.access(n,r,h,u[h],1,o,f);e=1}else if(f!==t){if(c=s===t&&i.isFunction(f),l&&(c?(c=r,r=function(n,t,r){return c.call(i(n),r)}):(r.call(n,f),r=null)),r)for(;h<a;h++)r(n[h],u,c?f.call(n[h],h,r(n[h],u)):f,s);e=1}return e?n:l?r.call(n):a?r(n[0],u):o},now:function(){return+new Date}}),i.ready.promise=function(t){if(!rt)if(rt=i.Deferred(),r.readyState==="complete")setTimeout(i.ready,1);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",ft,!1),n.addEventListener("load",i.ready,!1);else{r.attachEvent("onreadystatechange",ft),n.attachEvent("onload",i.ready);var u=!1;try{u=n.frameElement==null&&r.documentElement}catch(e){}u&&u.doScroll&&function f(){if(!i.isReady){try{u.doScroll("left")}catch(n){return setTimeout(f,50)}i.ready()}}()}return rt.promise(t)},i.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(n,t){er["[object "+t+"]"]=t.toLowerCase()}),ir=i(r),wt={},i.Callbacks=function(n){n=typeof n=="string"?wt[n]||yu(n):i.extend({},n);var f,c,o,l,s,e,r=[],u=!n.once&&[],a=function(t){for(f=n.memory&&t,c=!0,e=l||0,l=0,s=r.length,o=!0;r&&e<s;e++)if(r[e].apply(t[0],t[1])===!1&&n.stopOnFalse){f=!1;break}o=!1,r&&(u?u.length&&a(u.shift()):f?r=[]:h.disable())},h={add:function(){if(r){var t=r.length;(function u(t){i.each(t,function(t,f){var e=i.type(f);e==="function"&&(!n.unique||!h.has(f))?r.push(f):f&&f.length&&e!=="string"&&u(f)})})(arguments),o?s=r.length:f&&(l=t,a(f))}return this},remove:function(){return r&&i.each(arguments,function(n,t){for(var u;(u=i.inArray(t,r,u))>-1;)r.splice(u,1),o&&(u<=s&&s--,u<=e&&e--)}),this},has:function(n){return i.inArray(n,r)>-1},empty:function(){return r=[],this},disable:function(){return r=u=f=t,this},disabled:function(){return!r},lock:function(){return u=t,f||h.disable(),this},locked:function(){return!u},fireWith:function(n,t){return t=t||[],t=[n,t.slice?t.slice():t],r&&(!c||u)&&(o?u.push(t):a(t)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!c}};return h},i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(r){i.each(u,function(u,f){var e=f[0],o=n[u];t[f[1]](i.isFunction(o)?function(){var n=o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[e+"With"](this===t?r:this,[n])}:r[e])}),n=null}).promise()},promise:function(n){return n!=null?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add,o&&e.add(function(){f=o},u[n^1][2].disable,u[2][2].lock),t[i[0]]=e.fire,t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var t=0,u=o.call(arguments),r=u.length,e=r!==1||n&&i.isFunction(n.promise)?r:0,f=e===1?n:i.Deferred(),c=function(n,t,i){return function(r){t[n]=this,i[n]=arguments.length>1?o.call(arguments):r,i===s?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},s,l,h;if(r>1)for(s=new Array(r),l=new Array(r),h=new Array(r);t<r;t++)u[t]&&i.isFunction(u[t].promise)?u[t].promise().done(c(t,h,u)).fail(f.reject).progress(c(t,l,s)):--e;return e||f.resolveWith(h,u),f.promise()}}),i.support=function(){var u,h,e,c,l,f,o,a,v,s,y,t=r.createElement("div");if(t.setAttribute("className","t"),t.innerHTML="  <link/><table><\/table><a href='/a'>a<\/a><input type='checkbox'/>",h=t.getElementsByTagName("*"),e=t.getElementsByTagName("a")[0],e.style.cssText="top:1px;float:left;opacity:.5",!h||!h.length)return{};c=r.createElement("select"),l=c.appendChild(r.createElement("option")),f=t.getElementsByTagName("input")[0],u={leadingWhitespace:t.firstChild.nodeType===3,tbody:!t.getElementsByTagName("tbody").length,htmlSerialize:!!t.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.5/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:f.value==="on",optSelected:l.selected,getSetAttribute:t.className!=="t",enctype:!!r.createElement("form").enctype,html5Clone:r.createElement("nav").cloneNode(!0).outerHTML!=="<:nav><\/:nav>",boxModel:r.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},f.checked=!0,u.noCloneChecked=f.cloneNode(!0).checked,c.disabled=!0,u.optDisabled=!l.disabled;try{delete t.test}catch(p){u.deleteExpando=!1}if(!t.addEventListener&&t.attachEvent&&t.fireEvent&&(t.attachEvent("onclick",y=function(){u.noCloneEvent=!1}),t.cloneNode(!0).fireEvent("onclick"),t.detachEvent("onclick",y)),f=r.createElement("input"),f.value="t",f.setAttribute("type","radio"),u.radioValue=f.value==="t",f.setAttribute("checked","checked"),f.setAttribute("name","t"),t.appendChild(f),o=r.createDocumentFragment(),o.appendChild(t.lastChild),u.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,u.appendChecked=f.checked,o.removeChild(f),o.appendChild(t),t.attachEvent)for(v in{submit:!0,change:!0,focusin:!0})a="on"+v,s=a in t,s||(t.setAttribute(a,"return;"),s=typeof t[a]=="function"),u[v+"Bubbles"]=s;return i(function(){var i,t,f,e,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",o=r.getElementsByTagName("body")[0];o&&(i=r.createElement("div"),i.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",o.insertBefore(i,o.firstChild),t=r.createElement("div"),i.appendChild(t),t.innerHTML="<table><tr><td><\/td><td>t<\/td><\/tr><\/table>",f=t.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",s=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",u.reliableHiddenOffsets=s&&f[0].offsetHeight===0,t.innerHTML="",t.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%;",u.boxSizing=t.offsetWidth===4,u.doesNotIncludeMarginInBodyOffset=o.offsetTop!==1,n.getComputedStyle&&(u.pixelPosition=(n.getComputedStyle(t,null)||{}).top!=="1%",u.boxSizingReliable=(n.getComputedStyle(t,null)||{width:"4px"}).width==="4px",e=r.createElement("div"),e.style.cssText=t.style.cssText=h,e.style.marginRight=e.style.width="0",t.style.width="1px",t.appendChild(e),u.reliableMarginRight=!parseFloat((n.getComputedStyle(e,null)||{}).marginRight)),typeof t.style.zoom!="undefined"&&(t.innerHTML="",t.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",u.inlineBlockNeedsLayout=t.offsetWidth===3,t.style.display="block",t.style.overflow="visible",t.innerHTML="<div><\/div>",t.firstChild.style.width="5px",u.shrinkWrapBlocks=t.offsetWidth!==3,i.style.zoom=1),o.removeChild(i),i=t=f=e=null)}),o.removeChild(t),h=e=c=l=f=o=t=null,u}(),or=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,sr=/([A-Z])/g,i.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(i.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!at(n)},data:function(n,r,u,f){if(i.acceptData(n)){var s,h,c=i.expando,a=typeof r=="string",l=n.nodeType,o=l?i.cache:n,e=l?n[c]:n[c]&&c;if(e&&o[e]&&(f||o[e].data)||!a||u!==t)return e||(l?n[c]=e=i.deletedIds.pop()||i.guid++:e=c),o[e]||(o[e]={},l||(o[e].toJSON=i.noop)),(typeof r=="object"||typeof r=="function")&&(f?o[e]=i.extend(o[e],r):o[e].data=i.extend(o[e].data,r)),s=o[e],f||(s.data||(s.data={}),s=s.data),u!==t&&(s[i.camelCase(r)]=u),a?(h=s[r],h==null&&(h=s[i.camelCase(r)])):h=s,h}},removeData:function(n,t,r){if(i.acceptData(n)){var e,o,h,s=n.nodeType,u=s?i.cache:n,f=s?n[i.expando]:i.expando;if(u[f]){if(t&&(e=r?u[f]:u[f].data,e)){for(i.isArray(t)||(t in e?t=[t]:(t=i.camelCase(t),t=t in e?[t]:t.split(" "))),o=0,h=t.length;o<h;o++)delete e[t[o]];if(!(r?at:i.isEmptyObject)(e))return}(r||(delete u[f].data,at(u[f])))&&(s?i.cleanData([n],!0):i.support.deleteExpando||u!=u.window?delete u[f]:u[f]=null)}}},_data:function(n,t,r){return i.data(n,t,r,!0)},acceptData:function(n){var t=n.nodeName&&i.noData[n.nodeName.toLowerCase()];return!t||t!==!0&&n.getAttribute("classid")===t}}),i.fn.extend({data:function(n,r){var u,s,h,o,l,e=this[0],c=0,f=null;if(n===t){if(this.length&&(f=i.data(e),e.nodeType===1&&!i._data(e,"parsedAttrs"))){for(h=e.attributes,l=h.length;c<l;c++)o=h[c].name,o.indexOf("data-")||(o=i.camelCase(o.substring(5)),ui(e,o,f[o]));i._data(e,"parsedAttrs",!0)}return f}return typeof n=="object"?this.each(function(){i.data(this,n)}):(u=n.split(".",2),u[1]=u[1]?"."+u[1]:"",s=u[1]+"!",i.access(this,function(r){if(r===t)return f=this.triggerHandler("getData"+s,[u[0]]),f===t&&e&&(f=i.data(e,n),f=ui(e,n,f)),f===t&&u[1]?this.data(u[0]):f;u[1]=r,this.each(function(){var t=i(this);t.triggerHandler("setData"+s,u),i.data(this,n,r),t.triggerHandler("changeData"+s,u)})},null,r,arguments.length>1,null,!1))},removeData:function(n){return this.each(function(){i.removeData(this,n)})}}),i.extend({queue:function(n,t,r){var u;if(n)return t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--),u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f)),!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i.removeData(n,t+"queue",!0),i.removeData(n,r,!0)})})}}),i.fn.extend({queue:function(n,r){var u=2;return typeof n!="string"&&(r=n,n="fx",u--),arguments.length<u?i.queue(this[0],n):r===t?this:this.each(function(){var t=i.queue(this,n,r);i._queueHooks(this,n),n==="fx"&&t[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},delay:function(n,t){return n=i.fx?i.fx.speeds[n]||n:n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,r){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for(typeof n!="string"&&(r=n,n=t),n=n||"fx";s--;)u=i._data(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(r)}});var s,hr,cr,lr=/[\t\r\n]/g,bf=/\r/g,kf=/^(?:button|input)$/i,df=/^(?:button|input|object|select|textarea)$/i,gf=/^a(?:rea|)$/i,ar=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,vr=i.support.getSetAttribute;i.fn.extend({attr:function(n,t){return i.access(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})},prop:function(n,t){return i.access(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=t,delete this[n]}catch(i){}})},addClass:function(n){var r,f,o,t,e,u,s;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(n&&typeof n=="string")for(r=n.split(h),f=0,o=this.length;f<o;f++)if(t=this[f],t.nodeType===1)if(t.className||r.length!==1){for(e=" "+t.className+" ",u=0,s=r.length;u<s;u++)e.indexOf(" "+r[u]+" ")<0&&(e+=r[u]+" ");t.className=i.trim(e)}else t.className=n;return this},removeClass:function(n){var e,r,u,f,s,o,c;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(n&&typeof n=="string"||n===t)for(e=(n||"").split(h),o=0,c=this.length;o<c;o++)if(u=this[o],u.nodeType===1&&u.className){for(r=(" "+u.className+" ").replace(lr," "),f=0,s=e.length;f<s;f++)while(r.indexOf(" "+e[f]+" ")>=0)r=r.replace(" "+e[f]+" "," ");u.className=n?i.trim(r):""}return this},toggleClass:function(n,t){var r=typeof n,u=typeof t=="boolean";return i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if(r==="string")for(var f,s=0,o=i(this),e=t,c=n.split(h);f=c[s++];)e=u?e:!o.hasClass(f),o[e?"addClass":"removeClass"](f);else(r==="undefined"||r==="boolean")&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var i=" "+n+" ",t=0,r=this.length;t<r;t++)if(this[t].nodeType===1&&(" "+this[t].className+" ").replace(lr," ").indexOf(i)>=0)return!0;return!1},val:function(n){var r,u,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var f,o=i(this);this.nodeType===1&&(f=e?n.call(this,u,o.val()):n,f==null?f="":typeof f=="number"?f+="":i.isArray(f)&&(f=i.map(f,function(n){return n==null?"":n+""})),r=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f))})):f?(r=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],r&&"get"in r&&(u=r.get(f,"value"))!==t?u:(u=f.value,typeof u=="string"?u.replace(bf,""):u==null?"":u)):void 0}}),i.extend({valHooks:{option:{get:function(n){var t=n.attributes.value;return!t||t.specified?n.value:n.text}},select:{get:function(n){var o,r,h,t,u=n.selectedIndex,s=[],f=n.options,e=n.type==="select-one";if(u<0)return null;for(r=e?u:0,h=e?u+1:f.length;r<h;r++)if(t=f[r],t.selected&&(i.support.optDisabled?!t.disabled:t.getAttribute("disabled")===null)&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),e)return o;s.push(o)}return e&&!s.length&&f.length?i(f[u]).val():s},set:function(n,t){var r=i.makeArray(t);return i(n).find("option").each(function(){this.selected=i.inArray(i(this).val(),r)>=0}),r.length||(n.selectedIndex=-1),r}}},attrFn:{},attr:function(n,r,u,f){var e,o,h,c=n.nodeType;if(n&&c!==3&&c!==8&&c!==2){if(f&&i.isFunction(i.fn[r]))return i(n)[r](u);if(typeof n.getAttribute=="undefined")return i.prop(n,r,u);if(h=c!==1||!i.isXMLDoc(n),h&&(r=r.toLowerCase(),o=i.attrHooks[r]||(ar.test(r)?hr:s)),u!==t){if(u===null){i.removeAttr(n,r);return}return o&&"set"in o&&h&&(e=o.set(n,u,r))!==t?e:(n.setAttribute(r,u+""),u)}return o&&"get"in o&&h&&(e=o.get(n,r))!==null?e:(e=n.getAttribute(r),e===null?t:e)}},removeAttr:function(n,t){var u,f,r,e,o=0;if(t&&n.nodeType===1)for(f=t.split(h);o<f.length;o++)r=f[o],r&&(u=i.propFix[r]||r,e=ar.test(r),e||i.attr(n,r,""),n.removeAttribute(vr?r:u),e&&u in n&&(n[u]=!1))},attrHooks:{type:{set:function(n,t){if(kf.test(n.nodeName)&&n.parentNode)i.error("type property can't be changed");else if(!i.support.radioValue&&t==="radio"&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}},value:{get:function(n,t){return s&&i.nodeName(n,"button")?s.get(n,t):t in n?n.value:null},set:function(n,t,r){if(s&&i.nodeName(n,"button"))return s.set(n,t,r);n.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(n,r,u){var e,f,s,o=n.nodeType;if(n&&o!==3&&o!==8&&o!==2)return s=o!==1||!i.isXMLDoc(n),s&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(e=f.set(n,u,r))!==t?e:n[r]=u:f&&"get"in f&&(e=f.get(n,r))!==null?e:n[r]},propHooks:{tabIndex:{get:function(n){var i=n.getAttributeNode("tabindex");return i&&i.specified?parseInt(i.value,10):df.test(n.nodeName)||gf.test(n.nodeName)&&n.href?0:t}}}}),hr={get:function(n,r){var u,f=i.prop(n,r);return f===!0||typeof f!="boolean"&&(u=n.getAttributeNode(r))&&u.nodeValue!==!1?r.toLowerCase():t},set:function(n,t,r){var u;return t===!1?i.removeAttr(n,r):(u=i.propFix[r]||r,u in n&&(n[u]=!0),n.setAttribute(r,r.toLowerCase())),r}},vr||(cr={name:!0,id:!0,coords:!0},s=i.valHooks.button={get:function(n,i){var r;return r=n.getAttributeNode(i),r&&(cr[i]?r.value!=="":r.specified)?r.value:t},set:function(n,t,i){var u=n.getAttributeNode(i);return u||(u=r.createAttribute(i),n.setAttributeNode(u)),u.value=t+""}},i.each(["width","height"],function(n,t){i.attrHooks[t]=i.extend(i.attrHooks[t],{set:function(n,i){if(i==="")return n.setAttribute(t,"auto"),i}})}),i.attrHooks.contenteditable={get:s.get,set:function(n,t,i){t===""&&(t="false"),s.set(n,t,i)}}),i.support.hrefNormalized||i.each(["href","src","width","height"],function(n,r){i.attrHooks[r]=i.extend(i.attrHooks[r],{get:function(n){var i=n.getAttribute(r,2);return i===null?t:i}})}),i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText.toLowerCase()||t},set:function(n,t){return n.style.cssText=t+""}}),i.support.optSelected||(i.propHooks.selected=i.extend(i.propHooks.selected,{get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),i.support.enctype||(i.propFix.enctype="encoding"),i.support.checkOn||i.each(["radio","checkbox"],function(){i.valHooks[this]={get:function(n){return n.getAttribute("value")===null?"on":n.value}}}),i.each(["radio","checkbox"],function(){i.valHooks[this]=i.extend(i.valHooks[this],{set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}})});var bt=/^(?:textarea|input|select)$/i,yr=/^([^\.]*|)(?:\.(.+)|)$/,ne=/(?:^|\s)hover(\.\S+|)\b/,te=/^key/,ie=/^(?:mouse|contextmenu)|click/,pr=/^(?:focusinfocus|focusoutblur)$/,wr=function(n){return i.event.special.hover?n:n.replace(ne,"mouseenter$1 mouseleave$1")};i.event={add:function(n,r,u,f,e){var a,s,v,y,p,o,b,l,w,c,h;if(n.nodeType!==3&&n.nodeType!==8&&r&&u&&(a=i._data(n))){for(u.handler&&(w=u,u=w.handler,e=w.selector),u.guid||(u.guid=i.guid++),v=a.events,v||(a.events=v={}),s=a.handle,s||(a.handle=s=function(n){return typeof i!="undefined"&&(!n||i.event.triggered!==n.type)?i.event.dispatch.apply(s.elem,arguments):t},s.elem=n),r=i.trim(wr(r)).split(" "),y=0;y<r.length;y++)p=yr.exec(r[y])||[],o=p[1],b=(p[2]||"").split(".").sort(),h=i.event.special[o]||{},o=(e?h.delegateType:h.bindType)||o,h=i.event.special[o]||{},l=i.extend({type:o,origType:p[1],data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:b.join(".")},w),c=v[o],c||(c=v[o]=[],c.delegateCount=0,h.setup&&h.setup.call(n,f,b,s)!==!1||(n.addEventListener?n.addEventListener(o,s,!1):n.attachEvent&&n.attachEvent("on"+o,s))),h.add&&(h.add.call(n,l),l.handler.guid||(l.handler.guid=u.guid)),e?c.splice(c.delegateCount++,0,l):c.push(l),i.event.global[o]=!0;n=null}},global:{},remove:function(n,t,r,u,f){var l,p,e,w,h,b,a,v,c,o,s,y=i.hasData(n)&&i._data(n);if(y&&(v=y.events)){for(t=i.trim(wr(t||"")).split(" "),l=0;l<t.length;l++){if(p=yr.exec(t[l])||[],e=w=p[1],h=p[2],!e){for(e in v)i.event.remove(n,e+t[l],r,u,!0);continue}for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,o=v[e]||[],b=o.length,h=h?new RegExp("(^|\\.)"+h.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a=0;a<o.length;a++)s=o[a],(f||w===s.origType)&&(!r||r.guid===s.guid)&&(!h||h.test(s.namespace))&&(!u||u===s.selector||u==="**"&&s.selector)&&(o.splice(a--,1),s.selector&&o.delegateCount--,c.remove&&c.remove.call(n,s));o.length===0&&b!==o.length&&((!c.teardown||c.teardown.call(n,h,y.handle)===!1)&&i.removeEvent(n,e,y.handle),delete v[e])}i.isEmptyObject(v)&&(delete y.handle,i.removeData(n,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(u,f,e,o){if(!e||e.nodeType!==3&&e.nodeType!==8){var w,d,c,h,l,v,a,y,p,k,s=u.type||u,b=[];if(pr.test(s+i.event.triggered))return;if(s.indexOf("!")>=0&&(s=s.slice(0,-1),d=!0),s.indexOf(".")>=0&&(b=s.split("."),s=b.shift(),b.sort()),(!e||i.event.customEvent[s])&&!i.event.global[s])return;if(u=typeof u=="object"?u[i.expando]?u:new i.Event(s,u):new i.Event(s),u.type=s,u.isTrigger=!0,u.exclusive=d,u.namespace=b.join("."),u.namespace_re=u.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,v=s.indexOf(":")<0?"on"+s:"",!e){w=i.cache;for(c in w)w[c].events&&w[c].events[s]&&i.event.trigger(u,f,w[c].handle.elem,!0);return}if(u.result=t,u.target||(u.target=e),f=f!=null?i.makeArray(f):[],f.unshift(u),a=i.event.special[s]||{},a.trigger&&a.trigger.apply(e,f)===!1)return;if(p=[[e,a.bindType||s]],!o&&!a.noBubble&&!i.isWindow(e)){for(k=a.delegateType||s,h=pr.test(k+s)?e:e.parentNode,l=e;h;h=h.parentNode)p.push([h,k]),l=h;l===(e.ownerDocument||r)&&p.push([l.defaultView||l.parentWindow||n,k])}for(c=0;c<p.length&&!u.isPropagationStopped();c++)h=p[c][0],u.type=p[c][1],y=(i._data(h,"events")||{})[u.type]&&i._data(h,"handle"),y&&y.apply(h,f),y=v&&h[v],y&&i.acceptData(h)&&y.apply&&y.apply(h,f)===!1&&u.preventDefault();return u.type=s,!o&&!u.isDefaultPrevented()&&(!a._default||a._default.apply(e.ownerDocument,f)===!1)&&(s!=="click"||!i.nodeName(e,"a"))&&i.acceptData(e)&&v&&e[s]&&(s!=="focus"&&s!=="blur"||u.target.offsetWidth!==0)&&!i.isWindow(e)&&(l=e[v],l&&(e[v]=null),i.event.triggered=s,e[s](),i.event.triggered=t,l&&(e[v]=l)),u.result}return},dispatch:function(r){r=i.event.fix(r||n.event);var f,c,e,l,a,h,v,u,s,g,y=(i._data(this,"events")||{})[r.type]||[],p=y.delegateCount,k=o.call(arguments),d=!r.exclusive&&!r.namespace,w=i.event.special[r.type]||{},b=[];if(k[0]=r,r.delegateTarget=this,!w.preDispatch||w.preDispatch.call(this,r)!==!1){if(p&&(!r.button||r.type!=="click"))for(e=r.target;e!=this;e=e.parentNode||this)if(e.disabled!==!0||r.type!=="click"){for(a={},v=[],f=0;f<p;f++)u=y[f],s=u.selector,a[s]===t&&(a[s]=u.needsContext?i(s,this).index(e)>=0:i.find(s,this,null,[e]).length),a[s]&&v.push(u);v.length&&b.push({elem:e,matches:v})}for(y.length>p&&b.push({elem:this,matches:y.slice(p)}),f=0;f<b.length&&!r.isPropagationStopped();f++)for(h=b[f],r.currentTarget=h.elem,c=0;c<h.matches.length&&!r.isImmediatePropagationStopped();c++)u=h.matches[c],(d||!r.namespace&&!u.namespace||r.namespace_re&&r.namespace_re.test(u.namespace))&&(r.data=u.data,r.handleObj=u,l=((i.event.special[u.origType]||{}).handle||u.handler).apply(h.elem,k),l!==t&&(r.result=l,l===!1&&(r.preventDefault(),r.stopPropagation())));return w.postDispatch&&w.postDispatch.call(this,r),r.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return n.which==null&&(n.which=t.charCode!=null?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,i){var o,u,f,e=i.button,s=i.fromElement;return n.pageX==null&&i.clientX!=null&&(o=n.target.ownerDocument||r,u=o.documentElement,f=o.body,n.pageX=i.clientX+(u&&u.scrollLeft||f&&f.scrollLeft||0)-(u&&u.clientLeft||f&&f.clientLeft||0),n.pageY=i.clientY+(u&&u.scrollTop||f&&f.scrollTop||0)-(u&&u.clientTop||f&&f.clientTop||0)),!n.relatedTarget&&s&&(n.relatedTarget=s===n.target?i.toElement:s),!n.which&&e!==t&&(n.which=e&1?1:e&2?3:e&4?2:0),n}},fix:function(n){if(n[i.expando])return n;var f,e,t=n,u=i.event.fixHooks[n.type]||{},o=u.props?this.props.concat(u.props):this.props;for(n=i.Event(t),f=o.length;f;)e=o[--f],n[e]=t[e];return n.target||(n.target=t.srcElement||r),n.target.nodeType===3&&(n.target=n.target.parentNode),n.metaKey=!!n.metaKey,u.filter?u.filter(n,t):n},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(n,t,r){i.isWindow(this)&&(this.onbeforeunload=r)},teardown:function(n,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f),f.isDefaultPrevented()&&r.preventDefault()}},i.event.handle=i.event.dispatch,i.removeEvent=r.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)}:function(n,t,i){var r="on"+t;n.detachEvent&&(typeof n[r]=="undefined"&&(n[r]=null),n.detachEvent(r,i))},i.Event=function(n,t){if(this instanceof i.Event)n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.returnValue===!1||n.getPreventDefault&&n.getPreventDefault()?d:a):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),this[i.expando]=!0;else return new i.Event(n,t)},i.Event.prototype={preventDefault:function(){this.isDefaultPrevented=d;var n=this.originalEvent;n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=d;var n=this.originalEvent;n&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=d,this.stopPropagation()},isDefaultPrevented:a,isPropagationStopped:a,isImmediatePropagationStopped:a},i.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var f,e=this,r=n.relatedTarget,u=n.handleObj,o=u.selector;return r&&(r===e||i.contains(e,r))||(n.type=u.origType,f=u.handler.apply(this,arguments),n.type=t),f}}}),i.support.submitBubbles||(i.event.special.submit={setup:function(){if(i.nodeName(this,"form"))return!1;i.event.add(this,"click._submit keypress._submit",function(n){var u=n.target,r=i.nodeName(u,"input")||i.nodeName(u,"button")?u.form:t;r&&!i._data(r,"_submit_attached")&&(i.event.add(r,"submit._submit",function(n){n._submit_bubble=!0}),i._data(r,"_submit_attached",!0))})},postDispatch:function(n){n._submit_bubble&&(delete n._submit_bubble,this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n,!0))},teardown:function(){if(i.nodeName(this,"form"))return!1;i.event.remove(this,"._submit")}}),i.support.changeBubbles||(i.event.special.change={setup:function(){if(bt.test(this.nodeName))return(this.type==="checkbox"||this.type==="radio")&&(i.event.add(this,"propertychange._change",function(n){n.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),i.event.add(this,"click._change",function(n){this._just_changed&&!n.isTrigger&&(this._just_changed=!1),i.event.simulate("change",this,n,!0)})),!1;i.event.add(this,"beforeactivate._change",function(n){var t=n.target;bt.test(t.nodeName)&&!i._data(t,"_change_attached")&&(i.event.add(t,"change._change",function(n){!this.parentNode||n.isSimulated||n.isTrigger||i.event.simulate("change",this.parentNode,n,!0)}),i._data(t,"_change_attached",!0))})},handle:function(n){var t=n.target;if(this!==t||n.isSimulated||n.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return n.handleObj.handler.apply(this,arguments)},teardown:function(){return i.event.remove(this,"._change"),!bt.test(this.nodeName)}}),i.support.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=0,f=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){u++==0&&r.addEventListener(n,f,!0)},teardown:function(){--u==0&&r.removeEventListener(n,f,!0)}}}),i.fn.extend({on:function(n,r,u,f,e){var o,s;if(typeof n=="object"){typeof r!="string"&&(u=u||r,r=t);for(s in n)this.on(s,r,u,n[s],e);return this}if(u==null&&f==null?(f=r,u=r=t):f==null&&(typeof r=="string"?(f=u,u=t):(f=u,u=r,r=t)),f===!1)f=a;else if(!f)return this;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),this.each(function(){i.event.add(this,n,f,u,r)})},one:function(n,t,i,r){return this.on(n,t,i,r,1)},off:function(n,r,u){var f,e;if(n&&n.preventDefault&&n.handleObj)return f=n.handleObj,i(n.delegateTarget).off(f.namespace?f.origType+"."+f.namespace:f.origType,f.selector,f.handler),this;if(typeof n=="object"){for(e in n)this.off(e,r,n[e]);return this}return(r===!1||typeof r=="function")&&(u=r,r=t),u===!1&&(u=a),this.each(function(){i.event.remove(this,n,u,r)})},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},live:function(n,t,r){return i(this.context).on(n,this.selector,t,r),this},die:function(n,t){return i(this.context).off(n,this.selector||"**",t),this},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){if(this[0])return i.event.trigger(n,t,this[0],!0)},toggle:function(n){var t=arguments,u=n.guid||i.guid++,r=0,f=function(u){var f=(i._data(this,"lastToggle"+n.guid)||0)%r;return i._data(this,"lastToggle"+n.guid,f+1),u.preventDefault(),t[f].apply(this,arguments)||!1};for(f.guid=u;r<t.length;)t[r++].guid=u;return this.click(f)},hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),i.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(n,t){i.fn[t]=function(n,i){return i==null&&(i=n,n=null),arguments.length>0?this.on(t,null,n,i):this.trigger(t)},te.test(t)&&(i.event.fixHooks[t]=i.event.keyHooks),ie.test(t)&&(i.event.fixHooks[t]=i.event.mouseHooks)}),function(n,t){function r(n,t,i,r){i=i||[],t=t||s;var e,u,o,f,h=t.nodeType;if(!n||typeof n!="string")return i;if(h!==1&&h!==9)return[];if(o=it(t),!o&&!r&&(e=di.exec(n)))if(f=e[1]){if(h===9){if(u=t.getElementById(f),!u||!u.parentNode)return i;if(u.id===f)return i.push(u),i}else if(t.ownerDocument&&(u=t.ownerDocument.getElementById(f))&&ni(t,u)&&u.id===f)return i.push(u),i}else{if(e[2])return p.apply(i,w.call(t.getElementsByTagName(n),0)),i;if((f=e[3])&&hi&&t.getElementsByClassName)return p.apply(i,w.call(t.getElementsByClassName(f),0)),i}return lt(n.replace(ft,"$1"),t,i,r,o)}function b(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function dt(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function a(n){return h(function(t){return t=+t,h(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function d(n,t,i){if(n===t)return i;for(var r=n.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}function g(n,t){var o,f,c,h,i,l,a,v=fi[e][n];if(v)return t?0:v.slice(0);for(i=n,l=[],a=u.preFilter;i;){(!o||(f=wi.exec(i)))&&(f&&(i=i.slice(f[0].length)),l.push(c=[])),o=!1,(f=bi.exec(i))&&(c.push(o=new ii(f.shift())),i=i.slice(o.length),o.type=f[0].replace(ft," "));for(h in u.filter)(f=et[h].exec(i))&&(!a[h]||(f=a[h](f,s,!0)))&&(c.push(o=new ii(f.shift())),i=i.slice(o.length),o.type=h,o.matches=f);if(!o)break}return t?i.length:i?r.error(n):fi(n,l).slice(0)}function ot(n,t,i){var r=t.dir,u=i&&t.dir==="parentNode",f=ai++;return t.first?function(t,i,f){while(t=t[r])if(u||t.nodeType===1)return n(t,i,f)}:function(t,i,o){if(o){while(t=t[r])if((u||t.nodeType===1)&&n(t,i,o))return t}else for(var s,h=ut+" "+f+" ",c=h+at;t=t[r];)if(u||t.nodeType===1){if((s=t[e])===c)return t.sizset;if(typeof s=="string"&&s.indexOf(h)===0){if(t.sizset)return t}else{if(t[e]=c,n(t,i,o))return t.sizset=!0,t;t.sizset=!1}}}}function st(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function nt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;f<s;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function ht(n,t,i,r,u,f){return r&&!r[e]&&(r=ht(r)),u&&!u[e]&&(u=ht(u,f)),h(function(f,e,o,s){if(!f||!u){var c,l,a,v=[],y=[],b=e.length,k=f||li(t||"*",o.nodeType?[o]:o,[],f),w=n&&(f||!t)?nt(k,v,n,o,s):k,h=i?u||(f?n:b||r)?[]:e:w;if(i&&i(w,h,o,s),r)for(a=nt(h,y),r(a,[],o,s),c=a.length;c--;)(l=a[c])&&(h[y[c]]=!(w[y[c]]=l));if(f)for(c=n&&h.length;c--;)(l=h[c])&&(f[v[c]]=!(e[v[c]]=l));else h=nt(h===e?h.splice(b,h.length):h),u?u(null,e,h,s):p.apply(e,h)}})}function ct(n){for(var s,r,i,o=n.length,h=u.relative[n[0].type],c=h||u.relative[" "],t=h?1:0,l=ot(function(n){return n===s},c,!0),a=ot(function(n){return ri.call(s,n)>-1},c,!0),f=[function(n,t,i){return!h&&(i||t!==rt)||((s=t).nodeType?l(n,t,i):a(n,t,i))}];t<o;t++)if(r=u.relative[n[t].type])f=[ot(st(f),r)];else{if(r=u.filter[n[t].type].apply(null,n[t].matches),r[e]){for(i=++t;i<o;i++)if(u.relative[n[i].type])break;return ht(t>1&&st(f),t>1&&n.slice(0,t-1).join("").replace(ft,"$1"),r,t<i&&ct(n.slice(t,i)),i<o&&ct(n=n.slice(i)),i<o&&n.join(""))}f.push(r)}return st(f)}function ci(n,t){var f=t.length>0,e=n.length>0,i=function(o,h,c,l,a){var y,b,k,w=[],d=0,v="0",g=o&&[],tt=a!=null,it=rt,et=o||e&&u.find.TAG("*",a&&h.parentNode||h),ft=ut+=it==null?1:Math.E;for(tt&&(rt=h!==s&&h,at=i.el);(y=et[v])!=null;v++){if(e&&y){for(b=0;k=n[b];b++)if(k(y,h,c)){l.push(y);break}tt&&(ut=ft,at=++i.el)}f&&((y=!k&&y)&&d--,o&&g.push(y))}if(d+=v,f&&v!==d){for(b=0;k=t[b];b++)k(g,w,h,c);if(o){if(d>0)while(v--)g[v]||w[v]||(w[v]=vi.call(l));w=nt(w)}p.apply(l,w),tt&&!o&&w.length>0&&d+t.length>1&&r.uniqueSort(l)}return tt&&(ut=ft,rt=it),g};return i.el=0,f?h(i):i}function li(n,t,i,u){for(var f=0,e=t.length;f<e;f++)r(n,t[f],i,u);return i}function lt(n,t,i,r,f){var o,e,s,c,l,h=g(n),a=h.length;if(!r&&h.length===1){if(e=h[0]=h[0].slice(0),e.length>2&&(s=e[0]).type==="ID"&&t.nodeType===9&&!f&&u.relative[e[1].type]){if(t=u.find.ID(s.matches[0].replace(y,""),t,f)[0],!t)return i;n=n.slice(e.shift().length)}for(o=et.POS.test(n)?-1:e.length-1;o>=0;o--){if(s=e[o],u.relative[c=s.type])break;if((l=u.find[c])&&(r=l(s.matches[0].replace(y,""),kt.test(e[0].type)&&t.parentNode||t,f))){if(e.splice(o,1),n=r.length&&e.join(""),!n)return p.apply(i,w.call(r,0)),i;break}}}return yt(n,h)(r,t,f,i,kt.test(n)),i}function gt(){}var at,vt,u,tt,it,ni,yt,pt,k,rt,ti=!0,c="undefined",e=("sizcache"+Math.random()).replace(".",""),ii=String,s=n.document,o=s.documentElement,ut=0,ai=0,vi=[].pop,p=[].push,w=[].slice,ri=[].indexOf||function(n){for(var t=0,i=this.length;t<i;t++)if(this[t]===n)return t;return-1},h=function(n,t){return n[e]=t==null||t,n},wt=function(){var n={},t=[];return h(function(i,r){return t.push(i)>u.cacheLength&&delete n[t.shift()],n[i]=r},n)},ui=wt(),fi=wt(),ei=wt(),f="[\\x20\\t\\r\\n\\f]",v="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",yi=v.replace("w","w#"),pi="([*^$|!~]?=)",oi="\\["+f+"*("+v+")"+f+"*(?:"+pi+f+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+yi+")|)|)"+f+"*\\]",bt=":("+v+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+oi+")|[^:]|\\\\.)*|.*))\\)|)",si=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+f+"*((?:-\\d)?\\d*)"+f+"*\\)|)(?=[^-]|$)",ft=new RegExp("^"+f+"+|((?:^|[^\\\\])(?:\\\\.)*)"+f+"+$","g"),wi=new RegExp("^"+f+"*,"+f+"*"),bi=new RegExp("^"+f+"*([\\x20\\t\\r\\n\\f>+~])"+f+"*"),ki=new RegExp(bt),di=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,fr=/^:not/,kt=/[\x20\t\r\n\f]*[+~]/,er=/:not\($/,gi=/h\d/i,nr=/input|select|textarea|button/i,y=/\\(?!\\)/g,et={ID:new RegExp("^#("+v+")"),CLASS:new RegExp("^\\.("+v+")"),NAME:new RegExp("^\\[name=['\"]?("+v+")['\"]?\\]"),TAG:new RegExp("^("+v.replace("w","w*")+")"),ATTR:new RegExp("^"+oi),PSEUDO:new RegExp("^"+bt),POS:new RegExp(si,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+f+"*(even|odd|(([+-]|)(\\d*)n|)"+f+"*(?:([+-]|)"+f+"*(\\d+)|))"+f+"*\\)|)","i"),needsContext:new RegExp("^"+f+"*[>+~]|"+si,"i")},l=function(n){var t=s.createElement("div");try{return n(t)}catch(i){return!1}finally{t=null}},tr=l(function(n){return n.appendChild(s.createComment("")),!n.getElementsByTagName("*").length}),ir=l(function(n){return n.innerHTML="<a href='#'><\/a>",n.firstChild&&typeof n.firstChild.getAttribute!==c&&n.firstChild.getAttribute("href")==="#"}),rr=l(function(n){n.innerHTML="<select><\/select>";var t=typeof n.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),hi=l(function(n){return n.innerHTML="<div class='hidden e'><\/div><div class='hidden'><\/div>",!n.getElementsByClassName||!n.getElementsByClassName("e").length?!1:(n.lastChild.className="e",n.getElementsByClassName("e").length===2)}),ur=l(function(n){n.id=e+0,n.innerHTML="<a name='"+e+"'><\/a><div name='"+e+"'><\/div>",o.insertBefore(n,o.firstChild);var t=s.getElementsByName&&s.getElementsByName(e).length===2+s.getElementsByName(e+0).length;return vt=!s.getElementById(e),o.removeChild(n),t});try{w.call(o.childNodes,0)[0].nodeType}catch(or){w=function(n){for(var t,i=[];t=this[n];n++)i.push(t);return i}}r.matches=function(n,t){return r(n,null,null,t)},r.matchesSelector=function(n,t){return r(t,null,null,[n]).length>0},tt=r.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=tt(n)}else if(t===3||t===4)return n.nodeValue}else for(;r=n[u];u++)i+=tt(r);return i},it=r.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1},ni=r.contains=o.contains?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&r.contains&&r.contains(i))}:o.compareDocumentPosition?function(n,t){return t&&!!(n.compareDocumentPosition(t)&16)}:function(n,t){while(t=t.parentNode)if(t===n)return!0;return!1},r.attr=function(n,t){var i,r=it(n);return r||(t=t.toLowerCase()),(i=u.attrHandle[t])?i(n):r||rr?n.getAttribute(t):(i=n.getAttributeNode(t),i?typeof n[t]=="boolean"?n[t]?t:null:i.specified?i.value:null:null)},u=r.selectors={cacheLength:50,createPseudo:h,match:et,attrHandle:ir?{}:{href:function(n){return n.getAttribute("href",2)},type:function(n){return n.getAttribute("type")}},find:{ID:vt?function(n,t,i){if(typeof t.getElementById!==c&&!i){var r=t.getElementById(n);return r&&r.parentNode?[r]:[]}}:function(n,i,r){if(typeof i.getElementById!==c&&!r){var u=i.getElementById(n);return u?u.id===n||typeof u.getAttributeNode!==c&&u.getAttributeNode("id").value===n?[u]:t:[]}},TAG:tr?function(n,t){if(typeof t.getElementsByTagName!==c)return t.getElementsByTagName(n)}:function(n,t){var f=t.getElementsByTagName(n),i,r,u;if(n==="*"){for(r=[],u=0;i=f[u];u++)i.nodeType===1&&r.push(i);return r}return f},NAME:ur&&function(n,t){if(typeof t.getElementsByName!==c)return t.getElementsByName(name)},CLASS:hi&&function(n,t,i){if(typeof t.getElementsByClassName!==c&&!i)return t.getElementsByClassName(n)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,""),n[3]=(n[4]||n[5]||"").replace(y,""),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1]==="nth"?(n[2]||r.error(n[0]),n[3]=+(n[3]?n[4]+(n[5]||1):2*(n[2]==="even"||n[2]==="odd")),n[4]=+(n[6]+n[7]||n[2]==="odd")):n[2]&&r.error(n[0]),n},PSEUDO:function(n){var t,i;return et.CHILD.test(n[0])?null:(n[3]?n[2]=n[3]:(t=n[4])&&(ki.test(t)&&(i=g(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(t=t.slice(0,i),n[0]=n[0].slice(0,i)),n[2]=t),n.slice(0,3))}},filter:{ID:vt?function(n){return n=n.replace(y,""),function(t){return t.getAttribute("id")===n}}:function(n){return n=n.replace(y,""),function(t){var i=typeof t.getAttributeNode!==c&&t.getAttributeNode("id");return i&&i.value===n}},TAG:function(n){return n==="*"?function(){return!0}:(n=n.replace(y,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===n})},CLASS:function(n){var t=ui[e][n];return t||(t=ui(n,new RegExp("(^|"+f+")"+n+"("+f+"|$)"))),function(n){return t.test(n.className||typeof n.getAttribute!==c&&n.getAttribute("class")||"")}},ATTR:function(n,t,i){return function(u){var e=r.attr(u,n);return e==null?t==="!=":t?(e+="",t==="="?e===i:t==="!="?e!==i:t==="^="?i&&e.indexOf(i)===0:t==="*="?i&&e.indexOf(i)>-1:t==="$="?i&&e.substr(e.length-i.length)===i:t==="~="?(" "+e+" ").indexOf(i)>-1:t==="|="?e===i||e.substr(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r){return n==="nth"?function(n){var t,u,f=n.parentNode;if(i===1&&r===0)return!0;if(f)for(u=0,t=f.firstChild;t;t=t.nextSibling)if(t.nodeType===1&&(u++,n===t))break;return u-=r,u===i||u%i==0&&u/i>=0}:function(t){var i=t;switch(n){case"only":case"first":while(i=i.previousSibling)if(i.nodeType===1)return!1;if(n==="first")return!0;i=t;case"last":while(i=i.nextSibling)if(i.nodeType===1)return!1;return!0}}},PSEUDO:function(n,t){var f,i=u.pseudos[n]||u.setFilters[n.toLowerCase()]||r.error("unsupported pseudo: "+n);return i[e]?i(t):i.length>1?(f=[n,n,"",t],u.setFilters.hasOwnProperty(n.toLowerCase())?h(function(n,r){for(var u,f=i(n,t),e=f.length;e--;)u=ri.call(n,f[e]),n[u]=!(r[u]=f[e])}):function(n){return i(n,0,f)}):i}},pseudos:{not:h(function(n){var i=[],r=[],t=yt(n.replace(ft,"$1"));return t[e]?h(function(n,i,r,u){for(var e,o=t(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(i[f]=e))}):function(n,u,f){return i[0]=n,t(i,null,f,r),!r.pop()}}),has:h(function(n){return function(t){return r(n,t).length>0}}),contains:h(function(n){return function(t){return(t.textContent||t.innerText||tt(t)).indexOf(n)>-1}}),enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},parent:function(n){return!u.pseudos.empty(n)},empty:function(n){var t;for(n=n.firstChild;n;){if(n.nodeName>"@"||(t=n.nodeType)===3||t===4)return!1;n=n.nextSibling}return!0},header:function(n){return gi.test(n.nodeName)},text:function(n){var t,i;return n.nodeName.toLowerCase()==="input"&&(t=n.type)==="text"&&((i=n.getAttribute("type"))==null||i.toLowerCase()===t)},radio:b("radio"),checkbox:b("checkbox"),file:b("file"),password:b("password"),image:b("image"),submit:dt("submit"),reset:dt("reset"),button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},input:function(n){return nr.test(n.nodeName)},focus:function(n){var t=n.ownerDocument;return n===t.activeElement&&(!t.hasFocus||t.hasFocus())&&(!!n.type||!!n.href)},active:function(n){return n===n.ownerDocument.activeElement},first:a(function(){return[0]}),last:a(function(n,t){return[t-1]}),eq:a(function(n,t,i){return[i<0?i+t:i]}),even:a(function(n,t){for(var r=0;r<t;r+=2)n.push(r);return n}),odd:a(function(n,t){for(var r=1;r<t;r+=2)n.push(r);return n}),lt:a(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:a(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}},pt=o.compareDocumentPosition?function(n,t){return n===t?(k=!0,0):(!n.compareDocumentPosition||!t.compareDocumentPosition?n.compareDocumentPosition:n.compareDocumentPosition(t)&4)?-1:1}:function(n,t){var i;if(n===t)return k=!0,0;if(n.sourceIndex&&t.sourceIndex)return n.sourceIndex-t.sourceIndex;var e,h,u=[],f=[],o=n.parentNode,s=t.parentNode,r=o;if(o===s)return d(n,t);if(!o)return-1;if(!s)return 1;while(r)u.unshift(r),r=r.parentNode;for(r=s;r;)f.unshift(r),r=r.parentNode;for(e=u.length,h=f.length,i=0;i<e&&i<h;i++)if(u[i]!==f[i])return d(u[i],f[i]);return i===e?d(n,f[i],-1):d(u[i],t,1)},[0,0].sort(pt),ti=!k,r.uniqueSort=function(n){var i,t=1;if(k=ti,n.sort(pt),k)for(;i=n[t];t++)i===n[t-1]&&n.splice(t--,1);return n},r.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);},yt=r.compile=function(n,t){var r,u=[],f=[],i=ei[e][n];if(!i){for(t||(t=g(n)),r=t.length;r--;)i=ct(t[r]),i[e]?u.push(i):f.push(i);i=ei(n,ci(f,u))}return i},s.querySelectorAll&&function(){var u,s=lt,h=/'|\\/g,c=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,n=[":focus"],t=[":active",":focus"],i=o.matchesSelector||o.mozMatchesSelector||o.webkitMatchesSelector||o.oMatchesSelector||o.msMatchesSelector;l(function(t){t.innerHTML="<select><option selected=''><\/option><\/select>",t.querySelectorAll("[selected]").length||n.push("\\["+f+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||n.push(":checked")}),l(function(t){t.innerHTML="<p test=''><\/p>",t.querySelectorAll("[test^='']").length&&n.push("[*^$]="+f+"*(?:\"\"|'')"),t.innerHTML="<input type='hidden'/>",t.querySelectorAll(":enabled").length||n.push(":enabled",":disabled")}),n=new RegExp(n.join("|")),lt=function(t,i,r,u,f){if(!u&&!f&&(!n||!n.test(t))){var o,l,a=!0,c=e,y=i,v=i.nodeType===9&&t;if(i.nodeType===1&&i.nodeName.toLowerCase()!=="object"){for(o=g(t),(a=i.getAttribute("id"))?c=a.replace(h,"\\$&"):i.setAttribute("id",c),c="[id='"+c+"'] ",l=o.length;l--;)o[l]=c+o[l].join("");y=kt.test(t)&&i.parentNode||i,v=o.join(",")}if(v)try{return p.apply(r,w.call(y.querySelectorAll(v),0)),r}catch(b){}finally{a||i.removeAttribute("id")}}return s(t,i,r,u,f)},i&&(l(function(n){u=i.call(n,"div");try{i.call(n,"[test!='']:sizzle"),t.push("!=",bt)}catch(r){}}),t=new RegExp(t.join("|")),r.matchesSelector=function(f,e){if(e=e.replace(c,"='$1']"),!it(f)&&!t.test(e)&&(!n||!n.test(e)))try{var o=i.call(f,e);if(o||u||f.document&&f.document.nodeType!==11)return o}catch(s){}return r(e,null,null,[f]).length>0})}(),u.pseudos.nth=u.pseudos.eq,u.filters=gt.prototype=u.pseudos,u.setFilters=new gt,r.attr=i.attr,i.find=r,i.expr=r.selectors,i.expr[":"]=i.expr.pseudos,i.unique=r.uniqueSort,i.text=r.getText,i.isXMLDoc=r.isXML,i.contains=r.contains}(n);var re=/Until$/,ue=/^(?:parents|prev(?:Until|All))/,fe=/^.[^:#\[\.,]*$/,br=i.expr.match.needsContext,ee={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({find:function(n){var t,f,o,u,e,r,s=this;if(typeof n!="string")return i(n).filter(function(){for(t=0,f=s.length;t<f;t++)if(i.contains(s[t],this))return!0});for(r=this.pushStack("","find",n),t=0,f=this.length;t<f;t++)if(o=r.length,i.find(n,this[t],r),t>0)for(u=o;u<r.length;u++)for(e=0;e<o;e++)if(r[e]===r[u]){r.splice(u--,1);break}return r},has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;t<u;t++)if(i.contains(this,r[t]))return!0})},not:function(n){return this.pushStack(ei(this,n,!1),"not",n)},filter:function(n){return this.pushStack(ei(this,n,!0),"filter",n)},is:function(n){return!!n&&(typeof n=="string"?br.test(n)?i(n,this.context).index(this[0])>=0:i.filter(n,this).length>0:this.filter(n).length>0)},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=br.test(n)||typeof n!="string"?i(n,t||this.context):0;f<o;f++)for(r=this[f];r&&r.ownerDocument&&r!==t&&r.nodeType!==11;){if(e?e.index(r)>-1:i.find.matchesSelector(r,n)){u.push(r);break}r=r.parentNode}return u=u.length>1?i.unique(u):u,this.pushStack(u,"closest",n)},index:function(n){return n?typeof n=="string"?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(n,t){var u=typeof n=="string"?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),r=i.merge(this.get(),u);return this.pushStack(b(u[0])||b(r[0])?r:i.unique(r))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}}),i.fn.andSelf=i.fn.addBack,i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return fi(n,"nextSibling")},prev:function(n){return fi(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return re.test(n)||(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),f=this.length>1&&!ee[n]?i.unique(f):f,this.length>1&&ue.test(n)&&(f=f.reverse()),this.pushStack(f,n,o.call(arguments).join(","))}}),i.extend({filter:function(n,t,r){return r&&(n=":not("+n+")"),t.length===1?i.find.matchesSelector(t[0],n)?[t[0]]:[]:i.find.matches(n,t)},dir:function(n,r,u){for(var e=[],f=n[r];f&&f.nodeType!==9&&(u===t||f.nodeType!==1||!i(f).is(u));)f.nodeType===1&&e.push(f),f=f[r];return e},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}});var kr="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",oe=/ jQuery\d+="(?:null|\d+)"/g,kt=/^\s+/,dr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,gr=/<([\w:]+)/,se=/<tbody/i,he=/<|&#?\w+;/,ce=/<(?:script|style|link)/i,le=/<(?:script|object|embed|option|style)/i,dt=new RegExp("<(?:"+kr+")[\\s/>]","i"),nu=/^(?:checkbox|radio)$/,tu=/checked\s*(?:[^=]|=\s*.checked.)/i,ae=/\/(java|ecma)script/i,ve=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,e={option:[1,"<select multiple='multiple'>","<\/select>"],legend:[1,"<fieldset>","<\/fieldset>"],thead:[1,"<table>","<\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],col:[2,"<table><tbody><\/tbody><colgroup>","<\/colgroup><\/table>"],area:[1,"<map>","<\/map>"],_default:[0,"",""]},iu=oi(r),gt=iu.appendChild(r.createElement("div"));e.optgroup=e.option,e.tbody=e.tfoot=e.colgroup=e.caption=e.thead,e.th=e.td,i.support.htmlSerialize||(e._default=[1,"X<div>","<\/div>"]),i.fn.extend({text:function(n){return i.access(this,function(n){return n===t?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n))},null,n,arguments.length)},wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstChild&&n.firstChild.nodeType===1;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(n){(this.nodeType===1||this.nodeType===11)&&this.appendChild(n)})},prepend:function(){return this.domManip(arguments,!0,function(n){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(n,this.firstChild)})},before:function(){if(!b(this[0]))return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this)});if(arguments.length){var n=i.clean(arguments);return this.pushStack(i.merge(n,this),"before",this.selector)}},after:function(){if(!b(this[0]))return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this.nextSibling)});if(arguments.length){var n=i.clean(arguments);return this.pushStack(i.merge(this,n),"after",this.selector)}},remove:function(n,t){for(var r,u=0;(r=this[u])!=null;u++)(!n||i.filter(n,[r]).length)&&(t||r.nodeType!==1||(i.cleanData(r.getElementsByTagName("*")),i.cleanData([r])),r.parentNode&&r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)for(n.nodeType===1&&i.cleanData(n.getElementsByTagName("*"));n.firstChild;)n.removeChild(n.firstChild);return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return i.access(this,function(n){var r=this[0]||{},u=0,f=this.length;if(n===t)return r.nodeType===1?r.innerHTML.replace(oe,""):t;if(typeof n=="string"&&!ce.test(n)&&(i.support.htmlSerialize||!dt.test(n))&&(i.support.leadingWhitespace||!kt.test(n))&&!e[(gr.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(dr,"<$1><\/$2>");try{for(;u<f;u++)r=this[u]||{},r.nodeType===1&&(i.cleanData(r.getElementsByTagName("*")),r.innerHTML=n);r=0}catch(o){}}r&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(n){return b(this[0])?this.length?this.pushStack(i(i.isFunction(n)?n():n),"replaceWith",n):this:i.isFunction(n)?this.each(function(t){var r=i(this),u=r.html();r.replaceWith(n.call(this,t,u))}):(typeof n!="string"&&(n=i(n).detach()),this.each(function(){var t=this.nextSibling,r=this.parentNode;i(this).remove(),t?i(t).before(n):i(r).append(n)}))},detach:function(n){return this.remove(n,!0)},domManip:function(n,r,u){n=[].concat.apply([],n);var h,o,f,a,e=0,s=n[0],c=[],l=this.length;if(!i.support.checkClone&&l>1&&typeof s=="string"&&tu.test(s))return this.each(function(){i(this).domManip(n,r,u)});if(i.isFunction(s))return this.each(function(f){var e=i(this);n[0]=s.call(this,f,r?e.html():t),e.domManip(n,r,u)});if(this[0]){if(h=i.buildFragment(n,this,c),f=h.fragment,o=f.firstChild,f.childNodes.length===1&&(f=o),o)for(r=r&&i.nodeName(o,"tr"),a=h.cacheable||l-1;e<l;e++)u.call(r&&i.nodeName(this[e],"table")?pu(this[e],"tbody"):this[e],e===a?f:i.clone(f,!0,!0));f=o=null,c.length&&i.each(c,function(n,t){t.src?i.ajax?i.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):i.error("no ajax"):i.globalEval((t.text||t.textContent||t.innerHTML||"").replace(ve,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),i.buildFragment=function(n,u,f){var o,s,h,e=n[0];return u=u||r,u=!u.nodeType&&u[0]||u,u=u.ownerDocument||u,n.length===1&&typeof e=="string"&&e.length<512&&u===r&&e.charAt(0)==="<"&&!le.test(e)&&(i.support.checkClone||!tu.test(e))&&(i.support.html5Clone||!dt.test(e))&&(s=!0,o=i.fragments[e],h=o!==t),o||(o=u.createDocumentFragment(),i.clean(n,u,o,f),s&&(i.fragments[e]=h&&o)),{fragment:o,cacheable:s}},i.fragments={},i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(r){var o,u=0,s=[],f=i(r),h=f.length,e=this.length===1&&this[0].parentNode;if((e==null||e&&e.nodeType===11&&e.childNodes.length===1)&&h===1)return f[t](this[0]),this;for(;u<h;u++)o=(u>0?this.clone(!0):this).get(),i(f[u])[t](o),s=s.concat(o);return this.pushStack(s,n,f.selector)}}),i.extend({clone:function(n,t,r){var f,o,u,e;if(i.support.html5Clone||i.isXMLDoc(n)||!dt.test("<"+n.nodeName+">")?e=n.cloneNode(!0):(gt.innerHTML=n.outerHTML,gt.removeChild(e=gt.firstChild)),(!i.support.noCloneEvent||!i.support.noCloneChecked)&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(hi(n,e),f=g(n),o=g(e),u=0;f[u];++u)o[u]&&hi(f[u],o[u]);if(t&&(si(n,e),r))for(f=g(n),o=g(e),u=0;f[u];++u)si(f[u],o[u]);return f=o=null,e},clean:function(n,t,u,f){var h,c,o,p,v,d,s,w,a,g,b,k,y=t===r&&iu,l=[];for(t&&typeof t.createDocumentFragment!="undefined"||(t=r),h=0;(o=n[h])!=null;h++)if(typeof o=="number"&&(o+=""),o){if(typeof o=="string")if(he.test(o)){for(y=y||oi(t),s=t.createElement("div"),y.appendChild(s),o=o.replace(dr,"<$1><\/$2>"),p=(gr.exec(o)||["",""])[1].toLowerCase(),v=e[p]||e._default,d=v[0],s.innerHTML=v[1]+o+v[2];d--;)s=s.lastChild;if(!i.support.tbody)for(w=se.test(o),a=p==="table"&&!w?s.firstChild&&s.firstChild.childNodes:v[1]==="<table>"&&!w?s.childNodes:[],c=a.length-1;c>=0;--c)i.nodeName(a[c],"tbody")&&!a[c].childNodes.length&&a[c].parentNode.removeChild(a[c]);!i.support.leadingWhitespace&&kt.test(o)&&s.insertBefore(t.createTextNode(kt.exec(o)[0]),s.firstChild),o=s.childNodes,s.parentNode.removeChild(s)}else o=t.createTextNode(o);o.nodeType?l.push(o):i.merge(l,o)}if(s&&(o=s=y=null),!i.support.appendChecked)for(h=0;(o=l[h])!=null;h++)i.nodeName(o,"input")?ci(o):typeof o.getElementsByTagName!="undefined"&&i.grep(o.getElementsByTagName("input"),ci);if(u)for(b=function(n){if(!n.type||ae.test(n.type))return f?f.push(n.parentNode?n.parentNode.removeChild(n):n):u.appendChild(n)},h=0;(o=l[h])!=null;h++)i.nodeName(o,"script")&&b(o)||(u.appendChild(o),typeof o.getElementsByTagName!="undefined"&&(k=i.grep(i.merge([],o.getElementsByTagName("script")),b),l.splice.apply(l,[h+1,0].concat(k)),h+=k.length));return l},cleanData:function(n,t){for(var f,u,r,e,h=0,o=i.expando,s=i.cache,c=i.support.deleteExpando,l=i.event.special;(r=n[h])!=null;h++)if((t||i.acceptData(r))&&(u=r[o],f=u&&s[u],f)){if(f.events)for(e in f.events)l[e]?i.event.remove(r,e):i.removeEvent(r,e,f.handle);s[u]&&(delete s[u],c?delete r[o]:r.removeAttribute?r.removeAttribute(o):r[o]=null,i.deletedIds.push(u))}}}),function(){var t,n;i.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}},t=i.uaMatch(rf.userAgent),n={},t.browser&&(n[t.browser]=!0,n.version=t.version),n.chrome?n.webkit=!0:n.webkit&&(n.safari=!0),i.browser=n,i.sub=function(){function n(t,i){return new n.fn.init(t,i)}i.extend(!0,n,this),n.superclass=this,n.fn=n.prototype=this(),n.fn.constructor=n,n.sub=this.sub,n.fn.init=function t(c,r){return r&&r instanceof i&&!(r instanceof n)&&(r=n(r)),i.fn.init.call(this,t,r,u)},n.fn.init.prototype=n.fn;var u=n(r);return n}}();var u,v,y,ni=/alpha\([^)]*\)/i,ye=/opacity=([^)]*)/,pe=/^(top|right|bottom|left)$/,we=/^(none|table(?!-c[ea]).+)/,ru=/^margin/,be=new RegExp("^("+ut+")(.*)$","i"),et=new RegExp("^("+ut+")(?!px)[a-z%]+$","i"),ke=new RegExp("^([-+])=("+ut+")","i"),ti={},de={position:"absolute",visibility:"hidden",display:"block"},uu={letterSpacing:0,fontWeight:400},c=["Top","Right","Bottom","Left"],fu=["Webkit","O","Moz","ms"],ge=i.fn.toggle;i.fn.extend({css:function(n,r){return i.access(this,function(n,r,u){return u!==t?i.style(n,r,u):i.css(n,r)},n,r,arguments.length>1)},show:function(){return ai(this,!0)},hide:function(){return ai(this)},toggle:function(n,t){var r=typeof n=="boolean";return i.isFunction(n)&&i.isFunction(t)?ge.apply(this,arguments):this.each(function(){(r?n:nt(this))?i(this).show():i(this).hide()})}}),i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=u(n,"opacity");return i===""?"1":i}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var o,s,e,h=i.camelCase(r),c=n.style;if(r=i.cssProps[h]||(i.cssProps[h]=li(c,h)),e=i.cssHooks[r]||i.cssHooks[h],u===t)return e&&"get"in e&&(o=e.get(n,!1,f))!==t?o:c[r];if((s=typeof u,s==="string"&&(o=ke.exec(u))&&(u=(o[1]+1)*o[2]+parseFloat(i.css(n,r)),s="number"),u!=null&&(s!=="number"||!isNaN(u)))&&(s!=="number"||i.cssNumber[h]||(u+="px"),!e||!("set"in e)||(u=e.set(n,u,f))!==t))try{c[r]=u}catch(l){}}},css:function(n,r,f,e){var o,c,s,h=i.camelCase(r);return r=i.cssProps[h]||(i.cssProps[h]=li(n.style,h)),s=i.cssHooks[r]||i.cssHooks[h],s&&"get"in s&&(o=s.get(n,!0,e)),o===t&&(o=u(n,r)),o==="normal"&&r in uu&&(o=uu[r]),f||e!==t?(c=parseFloat(o),f||i.isNumeric(c)?c||0:o):o},swap:function(n,t,i){var u,r,f={};for(r in t)f[r]=n.style[r],n.style[r]=t[r];u=i.call(n);for(r in t)n.style[r]=f[r];return u}}),n.getComputedStyle?u=function(t,r){var f,o,s,h,e=n.getComputedStyle(t,null),u=t.style;return e&&(f=e[r],f===""&&!i.contains(t.ownerDocument,t)&&(f=i.style(t,r)),et.test(f)&&ru.test(r)&&(o=u.width,s=u.minWidth,h=u.maxWidth,u.minWidth=u.maxWidth=u.width=f,f=e.width,u.width=o,u.minWidth=s,u.maxWidth=h)),f}:r.documentElement.currentStyle&&(u=function(n,t){var f,u,i=n.currentStyle&&n.currentStyle[t],r=n.style;return i==null&&r&&r[t]&&(i=r[t]),et.test(i)&&!pe.test(t)&&(f=r.left,u=n.runtimeStyle&&n.runtimeStyle.left,u&&(n.runtimeStyle.left=n.currentStyle.left),r.left=t==="fontSize"?"1em":i,i=r.pixelLeft+"px",r.left=f,u&&(n.runtimeStyle.left=u)),i===""?"auto":i}),i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,f){if(r)return n.offsetWidth===0&&we.test(u(n,"display"))?i.swap(n,de,function(){return pi(n,t,f)}):pi(n,t,f)},set:function(n,r,u){return vi(n,r,u?yi(n,t,u,i.support.boxSizing&&i.css(n,"boxSizing")==="border-box"):0)}}}),i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return ye.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,u=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+t*100+")":"",f=u&&u.filter||r.filter||"";(r.zoom=1,t>=1&&i.trim(f.replace(ni,""))===""&&r.removeAttribute&&(r.removeAttribute("filter"),u&&!u.filter))||(r.filter=ni.test(f)?f.replace(ni,e):f+" "+e)}}),i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,t){return i.swap(n,{display:"inline-block"},function(){if(t)return u(n,"marginRight")})}}),!i.support.pixelPosition&&i.fn.position&&i.each(["top","left"],function(n,t){i.cssHooks[t]={get:function(n,r){if(r){var f=u(n,t);return et.test(f)?i(n).position()[t]+"px":f}}}})}),i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){return n.offsetWidth===0&&n.offsetHeight===0||!i.support.reliableHiddenOffsets&&(n.style&&n.style.display||u(n,"display"))==="none"},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)}),i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var u=typeof i=="string"?i.split(" "):[i],f={},r=0;r<4;r++)f[n+c[r]+t]=u[r]||u[r-2]||u[0];return f}},ru.test(n)||(i.cssHooks[n+t].set=vi)});var no=/%20/g,to=/\[\]$/,eu=/\r?\n/g,io=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ro=/^(?:select|textarea)/i;i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?i.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ro.test(this.nodeName)||io.test(this.type))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(eu,"\r\n")}}):{name:t.name,value:r.replace(eu,"\r\n")}}).get()}}),i.param=function(n,r){var u,f=[],e=function(n,t){t=i.isFunction(t)?t():t==null?"":t,f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(r===t&&(r=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(u in n)vt(u,n[u],r,e);return f.join("&").replace(no,"+")};var p,l,uo=/#.*$/,fo=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,eo=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,oo=/^(?:GET|HEAD)$/,so=/^\/\//,ou=/\?/,ho=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,co=/([?&])_=[^&]*/,su=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,hu=i.fn.load,ii={},cu={},lu=["*/"]+["*"];try{l=tf.href}catch(wo){l=r.createElement("a"),l.href="",l=l.href}p=su.exec(l.toLowerCase())||[],i.fn.load=function(n,r,u){if(typeof n!="string"&&hu)return hu.apply(this,arguments);if(!this.length)return this;var f,o,s,h=this,e=n.indexOf(" ");return e>=0&&(f=n.slice(e,n.length),n=n.slice(0,e)),i.isFunction(r)?(u=r,r=t):r&&typeof r=="object"&&(o="POST"),i.ajax({url:n,type:o,dataType:"html",data:r,complete:function(n,t){u&&h.each(u,s||[n.responseText,t,n])}}).done(function(n){s=arguments,h.html(f?i("<div>").append(n.replace(ho,"")).find(f):n)}),this},i.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({type:r,url:n,data:u,success:f,dataType:e})}}),i.extend({getScript:function(n,r){return i.get(n,t,r,"script")},getJSON:function(n,t,r){return i.get(n,t,r,"json")},ajaxSetup:function(n,t){return t?ki(n,i.ajaxSettings):(t=n,n=i.ajaxSettings),ki(n,t),n},ajaxSettings:{url:l,isLocal:eo.test(p[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","*":lu},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":n.String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bi(ii),ajaxTransport:bi(cu),ajax:function(n,r){function y(n,r,h,l){var a,tt,w,it,p,y=r;e!==2&&(e=2,d&&clearTimeout(d),c=t,k=l||"",f.readyState=n>0?4:0,h&&(it=wu(u,f,h)),n>=200&&n<300||n===304?(u.ifModified&&(p=f.getResponseHeader("Last-Modified"),p&&(i.lastModified[o]=p),p=f.getResponseHeader("Etag"),p&&(i.etag[o]=p)),n===304?(y="notmodified",a=!0):(a=bu(u,it),y=a.state,tt=a.data,w=a.error,a=!w)):(w=y,(!y||n)&&(y="error",n<0&&(n=0))),f.status=n,f.statusText=(r||y)+"",a?nt.resolveWith(s,[tt,y,f]):nt.rejectWith(s,[f,y,w]),f.statusCode(b),b=t,v&&g.trigger("ajax"+(a?"Success":"Error"),[f,u,a?tt:w]),ut.fireWith(s,[f,y]),v&&(g.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop")))}var it,rt;typeof n=="object"&&(r=n,n=t),r=r||{};var o,k,w,c,d,a,v,l,u=i.ajaxSetup({},r),s=u.context||u,g=s!==u&&(s.nodeType||s instanceof i)?i(s):i.event,nt=i.Deferred(),ut=i.Callbacks("once memory"),b=u.statusCode||{},ft={},et={},e=0,ot="canceled",f={readyState:0,setRequestHeader:function(n,t){if(!e){var i=n.toLowerCase();n=et[i]=et[i]||n,ft[n]=t}return this},getAllResponseHeaders:function(){return e===2?k:null},getResponseHeader:function(n){var i;if(e===2){if(!w)for(w={};i=fo.exec(k);)w[i[1].toLowerCase()]=i[2];i=w[n.toLowerCase()]}return i===t?null:i},overrideMimeType:function(n){return e||(u.mimeType=n),this},abort:function(n){return n=n||ot,c&&c.abort(n),y(0,n),this}};if(nt.promise(f),f.success=f.done,f.error=f.fail,f.complete=ut.add,f.statusCode=function(n){if(n){var t;if(e<2)for(t in n)b[t]=[b[t],n[t]];else t=n[f.status],f.always(t)}return this},u.url=((n||u.url)+"").replace(uo,"").replace(so,p[1]+"//"),u.dataTypes=i.trim(u.dataType||"*").toLowerCase().split(h),u.crossDomain==null&&(a=su.exec(u.url.toLowerCase())||!1,u.crossDomain=a&&a.join(":")+(a[3]?"":a[1]==="http:"?80:443)!==p.join(":")+(p[3]?"":p[1]==="http:"?80:443)),u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),tt(ii,u,r,f),e===2)return f;v=u.global,u.type=u.type.toUpperCase(),u.hasContent=!oo.test(u.type),v&&i.active++==0&&i.event.trigger("ajaxStart"),u.hasContent||(u.data&&(u.url+=(ou.test(u.url)?"&":"?")+u.data,delete u.data),o=u.url,u.cache===!1&&(it=i.now(),rt=u.url.replace(co,"$1_="+it),u.url=rt+(rt===u.url?(ou.test(u.url)?"&":"?")+"_="+it:""))),(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType),u.ifModified&&(o=o||u.url,i.lastModified[o]&&f.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&f.setRequestHeader("If-None-Match",i.etag[o])),f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+lu+"; q=0.01":""):u.accepts["*"]);for(l in u.headers)f.setRequestHeader(l,u.headers[l]);if(!u.beforeSend||u.beforeSend.call(s,f,u)!==!1&&e!==2){ot="abort";for(l in{success:1,error:1,complete:1})f[l](u[l]);if(c=tt(cu,u,r,f),c){f.readyState=1,v&&g.trigger("ajaxSend",[f,u]),u.async&&u.timeout>0&&(d=setTimeout(function(){f.abort("timeout")},u.timeout));try{e=1,c.send(ft,y)}catch(st){if(e<2)y(-1,st);else throw st;}}else y(-1,"No Transport");return f}return f.abort()},active:0,lastModified:{},etag:{}});var au=[],lo=/\?/,ot=/(=)\?(?=&|$)|\?\?/,ao=i.now();i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=au.pop()||i.expando+"_"+ao++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(r,u,f){var e,s,o,h=r.data,c=r.url,l=r.jsonp!==!1,a=l&&ot.test(c),v=l&&!a&&typeof h=="string"&&!(r.contentType||"").indexOf("application/x-www-form-urlencoded")&&ot.test(h);if(r.dataTypes[0]==="jsonp"||a||v)return e=r.jsonpCallback=i.isFunction(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,s=n[e],a?r.url=c.replace(ot,"$1"+e):v?r.data=h.replace(ot,"$1"+e):l&&(r.url+=(lo.test(c)?"&":"?")+r.jsonp+"="+e),r.converters["script json"]=function(){return o||i.error(e+" was not called"),o[0]},r.dataTypes[0]="json",n[e]=function(){o=arguments},f.always(function(){n[e]=s,r[e]&&(r.jsonpCallback=u.jsonpCallback,au.push(e)),o&&i.isFunction(s)&&s(o[0]),o=s=t}),"script"}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1),n.crossDomain&&(n.type="GET",n.global=!1)}),i.ajaxTransport("script",function(n){if(n.crossDomain){var i,u=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(f,e){i=r.createElement("script"),i.async="async",n.scriptCharset&&(i.charset=n.scriptCharset),i.src=n.url,i.onload=i.onreadystatechange=function(n,r){(r||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,u&&i.parentNode&&u.removeChild(i),i=t,r||e(200,"success"))},u.insertBefore(i,u.firstChild)},abort:function(){i&&i.onload(0,1)}}}}),st=n.ActiveXObject?function(){for(var n in w)w[n](0,1)}:!1,vu=0,i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&di()||ku()}:di,function(n){i.extend(i.support,{ajax:!!n,cors:!!n&&"withCredentials"in n})}(i.ajaxSettings.xhr()),i.support.ajax&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var h,s,o=r.xhr();if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType),r.crossDomain||f["X-Requested-With"]||(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(c){}o.send(r.hasContent&&r.data||null),u=function(n,f){var s,a,v,c,l;try{if(u&&(f||o.readyState===4))if(u=t,h&&(o.onreadystatechange=i.noop,st&&delete w[h]),f)o.readyState!==4&&o.abort();else{s=o.status,v=o.getAllResponseHeaders(),c={},l=o.responseXML,l&&l.documentElement&&(c.xml=l);try{c.text=o.responseText}catch(n){}try{a=o.statusText}catch(y){a=""}!s&&r.isLocal&&!r.crossDomain?s=c.text?200:404:s===1223&&(s=204)}}catch(p){f||e(-1,p)}c&&e(s,a,c,v)},r.async?o.readyState===4?setTimeout(u,0):(h=++vu,st&&(w||(w={},i(n).unload(st)),w[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(0,1)}}}});var ht,ct,vo=/^(?:toggle|show|hide)$/,yo=new RegExp("^(?:([-+])=|)("+ut+")([a-z%]*)$","i"),po=/queueHooks$/,lt=[nf],k={"*":[function(n,t){var o,s,r=this.createTween(n,t),e=yo.exec(t),h=r.cur(),u=+h||0,f=1,c=20;if(e){if(o=+e[2],s=e[3]||(i.cssNumber[n]?"":"px"),s!=="px"&&u){u=i.css(r.elem,n,!0)||o||1;do f=f||".5",u=u/f,i.style(r.elem,n,u+s);while(f!==(f=r.cur()/h)&&f!==1&&--c)}r.unit=s,r.start=u,r.end=e[1]?u+(e[1]+1)*o:o}return r}]};i.Animation=i.extend(nr,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;u<f;u++)r=n[u],k[r]=k[r]||[],k[r].unshift(t)},prefilter:function(n,t){t?lt.unshift(n):lt.push(n)}}),i.Tween=f,f.prototype={constructor:f,init:function(n,t,r,u,f,e){this.elem=n,this.prop=r,this.easing=f||"swing",this.options=t,this.start=this.now=this.cur(),this.end=u,this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=f.propHooks[this.prop];return n&&n.get?n.get(this):f.propHooks._default.get(this)},run:function(n){var t,r=f.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):f.propHooks._default.set(this),this}},f.prototype.init.prototype=f.prototype,f.propHooks={_default:{get:function(n){var t;return n.elem[n.prop]==null||!!n.elem.style&&n.elem.style[n.prop]!=null?(t=i.css(n.elem,n.prop,!1,""),!t||t==="auto"?0:t):n.elem[n.prop]},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.style&&(n.elem.style[i.cssProps[n.prop]]!=null||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}},f.propHooks.scrollTop=f.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}},i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(u,f,e){return u==null||typeof u=="boolean"||!n&&i.isFunction(u)&&i.isFunction(f)?r.apply(this,arguments):this.animate(it(t,!0),u,f,e)}}),i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(nt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,r,u){var e=i.isEmptyObject(n),f=i.speed(t,r,u),o=function(){var t=nr(this,i.extend({},n),f);e&&t.stop(!0)};return e||f.queue===!1?this.each(o):this.queue(f.queue,o)},stop:function(n,r,u){var f=function(n){var t=n.stop;delete n.stop,t(u)};return typeof n!="string"&&(u=r,r=n,n=t),r&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var o=!0,t=n!=null&&n+"queueHooks",e=i.timers,r=i._data(this);if(t)r[t]&&r[t].stop&&f(r[t]);else for(t in r)r[t]&&r[t].stop&&po.test(t)&&f(r[t]);for(t=e.length;t--;)e[t].elem===this&&(n==null||e[t].queue===n)&&(e[t].anim.stop(u),o=!1,e.splice(t,1));(o||!u)&&i.dequeue(this,n)})}}),i.each({slideDown:it("show"),slideUp:it("hide"),slideToggle:it("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}}),i.speed=function(n,t,r){var u=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:typeof u.duration=="number"?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this),u.queue&&i.dequeue(this,u.queue)},u},i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2}},i.timers=[],i.fx=f.prototype.init,i.fx.tick=function(){for(var r,n=i.timers,t=0;t<n.length;t++)r=n[t],r()||n[t]!==r||n.splice(t--,1);n.length||i.fx.stop()},i.fx.timer=function(n){n()&&i.timers.push(n)&&!ct&&(ct=setInterval(i.fx.tick,i.fx.interval))},i.fx.interval=13,i.fx.stop=function(){clearInterval(ct),ct=null},i.fx.speeds={slow:600,fast:200,_default:400},i.fx.step={},i.expr&&i.expr.filters&&(i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length}),ri=/^(?:body|html)$/i,i.fn.offset=function(n){if(arguments.length)return n===t?this:this.each(function(t){i.offset.setOffset(this,n,t)});var u,o,s,h,c,l,a,f={top:0,left:0},r=this[0],e=r&&r.ownerDocument;if(e)return(o=e.body)===r?i.offset.bodyOffset(r):(u=e.documentElement,i.contains(u,r)?(typeof r.getBoundingClientRect!="undefined"&&(f=r.getBoundingClientRect()),s=tr(e),h=u.clientTop||o.clientTop||0,c=u.clientLeft||o.clientLeft||0,l=s.pageYOffset||u.scrollTop,a=s.pageXOffset||u.scrollLeft,{top:f.top+l-h,left:f.left+a-c}):f)},i.offset={bodyOffset:function(n){var t=n.offsetTop,r=n.offsetLeft;return i.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(i.css(n,"marginTop"))||0,r+=parseFloat(i.css(n,"marginLeft"))||0),{top:t,left:r}},setOffset:function(n,t,r){var f=i.css(n,"position");f==="static"&&(n.style.position="relative");var e=i(n),o=e.offset(),l=i.css(n,"top"),a=i.css(n,"left"),v=(f==="absolute"||f==="fixed")&&i.inArray("auto",[l,a])>-1,u={},s={},h,c;v?(s=e.position(),h=s.top,c=s.left):(h=parseFloat(l)||0,c=parseFloat(a)||0),i.isFunction(t)&&(t=t.call(n,r,o)),t.top!=null&&(u.top=t.top-o.top+h),t.left!=null&&(u.left=t.left-o.left+c),"using"in t?t.using.call(n,u):e.css(u)}},i.fn.extend({position:function(){if(this[0]){var u=this[0],n=this.offsetParent(),t=this.offset(),r=ri.test(n[0].nodeName)?{top:0,left:0}:n.offset();return t.top-=parseFloat(i.css(u,"marginTop"))||0,t.left-=parseFloat(i.css(u,"marginLeft"))||0,r.top+=parseFloat(i.css(n[0],"borderTopWidth"))||0,r.left+=parseFloat(i.css(n[0],"borderLeftWidth"))||0,{top:t.top-r.top,left:t.left-r.left}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||r.body;n&&!ri.test(n.nodeName)&&i.css(n,"position")==="static";)n=n.offsetParent;return n||r.body})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var u=/Y/.test(r);i.fn[n]=function(f){return i.access(this,function(n,f,e){var o=tr(n);if(e===t)return o?r in o?o[r]:o.document.documentElement[f]:n[f];o?o.scrollTo(u?i(o).scrollLeft():e,u?e:i(o).scrollTop()):n[f]=e},n,f,arguments.length,null)}}),i.each({Height:"height",Width:"width"},function(n,r){i.each({padding:"inner"+n,content:r,"":"outer"+n},function(u,f){i.fn[f]=function(f,e){var o=arguments.length&&(u||typeof f!="boolean"),s=u||(f===!0||e===!0?"margin":"border");return i.access(this,function(r,u,f){var e;return i.isWindow(r)?r.document.documentElement["client"+n]:r.nodeType===9?(e=r.documentElement,Math.max(r.body["scroll"+n],e["scroll"+n],r.body["offset"+n],e["offset"+n],e["client"+n])):f===t?i.css(r,u,f,s):i.style(r,u,f,s)},r,o?f:t,o,null)}})}),n.jQuery=n.$=i,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return i})})(window),function(n,t){function i(t,i){var u,f,e,o=t.nodeName.toLowerCase();return"area"===o?(u=t.parentNode,f=u.name,!t.href||!f||u.nodeName.toLowerCase()!=="map"?!1:(e=n("img[usemap=#"+f+"]")[0],!!e&&r(e))):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o?t.href||i:i)&&r(t)}function r(t){return n.expr.filters.visible(t)&&!n(t).parents().andSelf().filter(function(){return n.css(this,"visibility")==="hidden"}).length}var u=0,f=/^ui-id-\d+$/;(n.ui=n.ui||{},n.ui.version)||(n.extend(n.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_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}}),n.fn.extend({_focus:n.fn.focus,focus:function(t,i){return typeof t=="number"?this.each(function(){var r=this;setTimeout(function(){n(r).focus(),i&&i.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return t=n.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(n.css(this,"position"))&&/(auto|scroll)/.test(n.css(this,"overflow")+n.css(this,"overflow-y")+n.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(n.css(this,"overflow")+n.css(this,"overflow-y")+n.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?n(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var r=n(this[0]),u,f;r.length&&r[0]!==document;){if(u=r.css("position"),(u==="absolute"||u==="relative"||u==="fixed")&&(f=parseInt(r.css("zIndex"),10),!isNaN(f)&&f!==0))return f;r=r.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})},removeUniqueId:function(){return this.each(function(){f.test(this.id)&&n(this).removeAttr("id")})}}),n.extend(n.expr[":"],{data:n.expr.createPseudo?n.expr.createPseudo(function(t){return function(i){return!!n.data(i,t)}}):function(t,i,r){return!!n.data(t,r[3])},focusable:function(t){return i(t,!isNaN(n.attr(t,"tabindex")))},tabbable:function(t){var r=n.attr(t,"tabindex"),u=isNaN(r);return(u||r>=0)&&i(t,!u)}}),n(function(){var i=document.body,t=i.appendChild(t=document.createElement("div"));t.offsetHeight,n.extend(t.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),n.support.minHeight=t.offsetHeight===100,n.support.selectstart="onselectstart"in t,i.removeChild(t).style.display="none"}),n("<a>").outerWidth(1).jquery||n.each(["Width","Height"],function(i,r){function u(t,i,r,u){return n.each(o,function(){i-=parseFloat(n.css(t,"padding"+this))||0,r&&(i-=parseFloat(n.css(t,"border"+this+"Width"))||0),u&&(i-=parseFloat(n.css(t,"margin"+this))||0)}),i}var o=r==="Width"?["Left","Right"]:["Top","Bottom"],f=r.toLowerCase(),e={innerWidth:n.fn.innerWidth,innerHeight:n.fn.innerHeight,outerWidth:n.fn.outerWidth,outerHeight:n.fn.outerHeight};n.fn["inner"+r]=function(i){return i===t?e["inner"+r].call(this):this.each(function(){n(this).css(f,u(this,i)+"px")})},n.fn["outer"+r]=function(t,i){return typeof t!="number"?e["outer"+r].call(this,t):this.each(function(){n(this).css(f,u(this,t,!0,i)+"px")})}}),n("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(n.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,n.camelCase(i)):t.call(this)}}(n.fn.removeData)),function(){var t=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[];n.ui.ie=t.length?!0:!1,n.ui.ie6=parseFloat(t[1],10)===6}(),n.fn.extend({disableSelection:function(){return this.bind((n.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(n){n.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),n.extend(n.ui,{plugin:{add:function(t,i,r){var u,f=n.ui[t].prototype;for(u in r)f.plugins[u]=f.plugins[u]||[],f.plugins[u].push([i,r[u]])},call:function(n,t,i){var r,u=n.plugins[t];if(u&&n.element[0].parentNode&&n.element[0].parentNode.nodeType!==11)for(r=0;r<u.length;r++)n.options[u[r][0]]&&u[r][1].apply(n.element,i)}},contains:n.contains,hasScroll:function(t,i){if(n(t).css("overflow")==="hidden")return!1;var r=i&&i==="left"?"scrollLeft":"scrollTop",u=!1;return t[r]>0?!0:(t[r]=1,u=t[r]>0,t[r]=0,u)},isOverAxis:function(n,t,i){return n>t&&n<t+i},isOver:function(t,i,r,u,f,e){return n.ui.isOverAxis(t,r,f)&&n.ui.isOverAxis(i,u,e)}}))}(jQuery),function(n,t){var r=0,i=Array.prototype.slice,u=n.cleanData;n.cleanData=function(t){for(var i=0,r;(r=t[i])!=null;i++)try{n(r).triggerHandler("remove")}catch(f){}u(t)},n.widget=function(t,i,r){var o,f,u,s,e=t.split(".")[0];t=t.split(".")[1],o=e+"-"+t,r||(r=i,i=n.Widget),n.expr[":"][o.toLowerCase()]=function(t){return!!n.data(t,o)},n[e]=n[e]||{},f=n[e][t],u=n[e][t]=function(n,t){if(!this._createWidget)return new u(n,t);arguments.length&&this._createWidget(n,t)},n.extend(u,f,{version:r.version,_proto:n.extend({},r),_childConstructors:[]}),s=new i,s.options=n.widget.extend({},s.options),n.each(r,function(t,u){n.isFunction(u)&&(r[t]=function(){var n=function(){return i.prototype[t].apply(this,arguments)},r=function(n){return i.prototype[t].apply(this,n)};return function(){var i=this._super,f=this._superApply,t;return this._super=n,this._superApply=r,t=u.apply(this,arguments),this._super=i,this._superApply=f,t}}())}),u.prototype=n.widget.extend(s,{widgetEventPrefix:f?s.widgetEventPrefix:t},r,{constructor:u,namespace:e,widgetName:t,widgetBaseClass:o,widgetFullName:o}),f?(n.each(f._childConstructors,function(t,i){var r=i.prototype;n.widget(r.namespace+"."+r.widgetName,u,i._proto)}),delete f._childConstructors):i._childConstructors.push(u),n.widget.bridge(t,u)},n.widget.extend=function(r){for(var o=i.call(arguments,1),e=0,s=o.length,u,f;e<s;e++)for(u in o[e])f=o[e][u],o[e].hasOwnProperty(u)&&f!==t&&(r[u]=n.isPlainObject(f)?n.isPlainObject(r[u])?n.widget.extend({},r[u],f):n.widget.extend({},f):f);return r},n.widget.bridge=function(r,u){var f=u.prototype.widgetFullName||r;n.fn[r]=function(e){var h=typeof e=="string",o=i.call(arguments,1),s=this;return e=!h&&o.length?n.widget.extend.apply(null,[e].concat(o)):e,h?this.each(function(){var i,u=n.data(this,f);return u?!n.isFunction(u[e])||e.charAt(0)==="_"?n.error("no such method '"+e+"' for "+r+" widget instance"):(i=u[e].apply(u,o),i!==u&&i!==t?(s=i&&i.jquery?s.pushStack(i.get()):i,!1):void 0):n.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+e+"'")}):this.each(function(){var t=n.data(this,f);t?t.option(e||{})._init():n.data(this,f,new u(e,this))}),s}},n.Widget=function(){},n.Widget._childConstructors=[],n.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,i){i=n(i||this.defaultElement||this)[0],this.element=n(i),this.uuid=r++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=n.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=n(),this.hoverable=n(),this.focusable=n(),i!==this&&(n.data(i,this.widgetName,this),n.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(n){n.target===i&&this.destroy()}}),this.document=n(i.style?i.ownerDocument:i.document||i),this.window=n(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:n.noop,_getCreateEventData:n.noop,_create:n.noop,_init:n.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(n.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:n.noop,widget:function(){return this.element},option:function(i,r){var o=i,u,f,e;if(arguments.length===0)return n.widget.extend({},this.options);if(typeof i=="string")if(o={},u=i.split("."),i=u.shift(),u.length){for(f=o[i]=n.widget.extend({},this.options[i]),e=0;e<u.length-1;e++)f[u[e]]=f[u[e]]||{},f=f[u[e]];if(i=u.pop(),r===t)return f[i]===t?null:f[i];f[i]=r}else{if(r===t)return this.options[i]===t?null:this.options[i];o[i]=r}return this._setOptions(o),this},_setOptions:function(n){var t;for(t in n)this._setOption(t,n[t]);return this},_setOption:function(n,t){return this.options[n]=t,n==="disabled"&&(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,i,r){var f,u=this;typeof t!="boolean"&&(r=i,i=t,t=!1),r?(i=f=n(i),this.bindings=this.bindings.add(i)):(r=i,i=this.element,f=this.widget()),n.each(r,function(r,e){function o(){if(t||u.options.disabled!==!0&&!n(this).hasClass("ui-state-disabled"))return(typeof e=="string"?u[e]:e).apply(u,arguments)}typeof e!="string"&&(o.guid=e.guid=e.guid||o.guid||n.guid++);var s=r.match(/^(\w+)\s*(.*)$/),h=s[1]+u.eventNamespace,c=s[2];c?f.delegate(c,h,o):i.bind(h,o)})},_off:function(n,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,n.unbind(t).undelegate(t)},_delay:function(n,t){function r(){return(typeof n=="string"?i[n]:n).apply(i,arguments)}var i=this;return setTimeout(r,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){n(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){n(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){n(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){n(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,r){var u,f,e=this.options[t];if(r=r||{},i=n.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],f=i.originalEvent,f)for(u in f)u in i||(i[u]=f[u]);return this.element.trigger(i,r),!(n.isFunction(e)&&e.apply(this.element[0],[i].concat(r))===!1||i.isDefaultPrevented())}},n.each({show:"fadeIn",hide:"fadeOut"},function(t,i){n.Widget.prototype["_"+t]=function(r,u,f){typeof u=="string"&&(u={effect:u});var o,e=u?u===!0||typeof u=="number"?i:u.effect||i:t;u=u||{},typeof u=="number"&&(u={duration:u}),o=!n.isEmptyObject(u),u.complete=f,u.delay&&r.delay(u.delay),o&&n.effects&&(n.effects.effect[e]||n.uiBackCompat!==!1&&n.effects[e])?r[t](u):e!==t&&r[e]?r[e](u.duration,u.easing,f):r.queue(function(i){n(this)[t](),f&&f.call(r[0]),i()})}}),n.uiBackCompat!==!1&&(n.Widget.prototype._getCreateOptions=function(){return n.metadata&&n.metadata.get(this.element[0])[this.widgetName]})}(jQuery),function(n){var i=!1;n(document).mouseup(function(){i=!1}),n.widget("ui.mouse",{version:"1.9.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(n){return t._mouseDown(n)}).bind("click."+this.widgetName,function(i){if(!0===n.data(i.target,t.widgetName+".preventClickEvent"))return n.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&n(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!i){this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var r=this,u=t.which===1,f=typeof this.options.cancel=="string"&&t.target.nodeName?n(t.target).closest(this.options.cancel).length:!1;return!u||f||!this._mouseCapture(t)?!0:(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){r.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(t)!==!1,!this._mouseStarted))?(t.preventDefault(),!0):(!0===n.data(t.target,this.widgetName+".preventClickEvent")&&n.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(n){return r._mouseMove(n)},this._mouseUpDelegate=function(n){return r._mouseUp(n)},n(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),i=!0,!0)}},_mouseMove:function(t){return!n.ui.ie||document.documentMode>=9||!!t.button?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return n(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&n.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(n){return Math.max(Math.abs(this._mouseDownEvent.pageX-n.pageX),Math.abs(this._mouseDownEvent.pageY-n.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(n,t){function e(n,t,i){return[parseInt(n[0],10)*(a.test(n[0])?t/100:1),parseInt(n[1],10)*(a.test(n[1])?i/100:1)]}function r(t,i){return parseInt(n.css(t,i),10)||0}n.ui=n.ui||{};var f,u=Math.max,i=Math.abs,o=Math.round,s=/left|center|right/,h=/top|center|bottom/,c=/[\+\-]\d+%?/,l=/^\w+/,a=/%$/,v=n.fn.position;n.position={scrollbarWidth:function(){if(f!==t)return f;var u,r,i=n("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'><\/div><\/div>"),e=i.children()[0];return n("body").append(i),u=e.offsetWidth,i.css("overflow","scroll"),r=e.offsetWidth,u===r&&(r=i[0].clientWidth),i.remove(),f=u-r},getScrollInfo:function(t){var i=t.isWindow?"":t.element.css("overflow-x"),r=t.isWindow?"":t.element.css("overflow-y"),u=i==="scroll"||i==="auto"&&t.width<t.element[0].scrollWidth,f=r==="scroll"||r==="auto"&&t.height<t.element[0].scrollHeight;return{width:u?n.position.scrollbarWidth():0,height:f?n.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=n(t||window),r=n.isWindow(i[0]);return{element:i,isWindow:r,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:r?i.width():i.outerWidth(),height:r?i.height():i.outerHeight()}}},n.fn.position=function(t){if(!t||!t.of)return v.apply(this,arguments);t=n.extend({},t);var b,f,a,p,w,y=n(t.of),nt=n.position.getWithinInfo(t.within),tt=n.position.getScrollInfo(nt),k=y[0],d=(t.collision||"flip").split(" "),g={};return k.nodeType===9?(f=y.width(),a=y.height(),p={top:0,left:0}):n.isWindow(k)?(f=y.width(),a=y.height(),p={top:y.scrollTop(),left:y.scrollLeft()}):k.preventDefault?(t.at="left top",f=a=0,p={top:k.pageY,left:k.pageX}):(f=y.outerWidth(),a=y.outerHeight(),p=y.offset()),w=n.extend({},p),n.each(["my","at"],function(){var n=(t[this]||"").split(" "),i,r;n.length===1&&(n=s.test(n[0])?n.concat(["center"]):h.test(n[0])?["center"].concat(n):["center","center"]),n[0]=s.test(n[0])?n[0]:"center",n[1]=h.test(n[1])?n[1]:"center",i=c.exec(n[0]),r=c.exec(n[1]),g[this]=[i?i[0]:0,r?r[0]:0],t[this]=[l.exec(n[0])[0],l.exec(n[1])[0]]}),d.length===1&&(d[1]=d[0]),t.at[0]==="right"?w.left+=f:t.at[0]==="center"&&(w.left+=f/2),t.at[1]==="bottom"?w.top+=a:t.at[1]==="center"&&(w.top+=a/2),b=e(g.at,f,a),w.left+=b[0],w.top+=b[1],this.each(function(){var k,it,h=n(this),c=h.outerWidth(),l=h.outerHeight(),rt=r(this,"marginLeft"),ut=r(this,"marginTop"),ft=c+rt+r(this,"marginRight")+tt.width,et=l+ut+r(this,"marginBottom")+tt.height,s=n.extend({},w),v=e(g.my,h.outerWidth(),h.outerHeight());t.my[0]==="right"?s.left-=c:t.my[0]==="center"&&(s.left-=c/2),t.my[1]==="bottom"?s.top-=l:t.my[1]==="center"&&(s.top-=l/2),s.left+=v[0],s.top+=v[1],n.support.offsetFractions||(s.left=o(s.left),s.top=o(s.top)),k={marginLeft:rt,marginTop:ut},n.each(["left","top"],function(i,r){n.ui.position[d[i]]&&n.ui.position[d[i]][r](s,{targetWidth:f,targetHeight:a,elemWidth:c,elemHeight:l,collisionPosition:k,collisionWidth:ft,collisionHeight:et,offset:[b[0]+v[0],b[1]+v[1]],my:t.my,at:t.at,within:nt,elem:h})}),n.fn.bgiframe&&h.bgiframe(),t.using&&(it=function(n){var e=p.left-s.left,v=e+f-c,o=p.top-s.top,w=o+a-l,r={target:{element:y,left:p.left,top:p.top,width:f,height:a},element:{element:h,left:s.left,top:s.top,width:c,height:l},horizontal:v<0?"left":e>0?"right":"center",vertical:w<0?"top":o>0?"bottom":"middle"};f<c&&i(e+v)<f&&(r.horizontal="center"),a<l&&i(o+w)<a&&(r.vertical="middle"),r.important=u(i(e),i(v))>u(i(o),i(w))?"horizontal":"vertical",t.using.call(this,n,r)}),h.offset(n.extend(s,{using:it}))})},n.ui.position={fit:{left:function(n,t){var e=t.within,r=e.isWindow?e.scrollLeft:e.offset.left,o=e.width,s=n.left-t.collisionPosition.marginLeft,i=r-s,f=s+t.collisionWidth-o-r,h;t.collisionWidth>o?i>0&&f<=0?(h=n.left+i+t.collisionWidth-o-r,n.left+=i-h):n.left=f>0&&i<=0?r:i>f?r+o-t.collisionWidth:r:i>0?n.left+=i:f>0?n.left-=f:n.left=u(n.left-s,n.left)},top:function(n,t){var o=t.within,r=o.isWindow?o.scrollTop:o.offset.top,e=t.within.height,s=n.top-t.collisionPosition.marginTop,i=r-s,f=s+t.collisionHeight-e-r,h;t.collisionHeight>e?i>0&&f<=0?(h=n.top+i+t.collisionHeight-e-r,n.top+=i-h):n.top=f>0&&i<=0?r:i>f?r+e-t.collisionHeight:r:i>0?n.top+=i:f>0?n.top-=f:n.top=u(n.top-s,n.top)}},flip:{left:function(n,t){var r=t.within,y=r.offset.left+r.scrollLeft,c=r.width,o=r.isWindow?r.scrollLeft:r.offset.left,l=n.left-t.collisionPosition.marginLeft,a=l-o,v=l+t.collisionWidth-c-o,u=t.my[0]==="left"?-t.elemWidth:t.my[0]==="right"?t.elemWidth:0,f=t.at[0]==="left"?t.targetWidth:t.at[0]==="right"?-t.targetWidth:0,e=-2*t.offset[0],s,h;a<0?(s=n.left+u+f+e+t.collisionWidth-c-y,(s<0||s<i(a))&&(n.left+=u+f+e)):v>0&&(h=n.left-t.collisionPosition.marginLeft+u+f+e-o,(h>0||i(h)<v)&&(n.left+=u+f+e))},top:function(n,t){var r=t.within,y=r.offset.top+r.scrollTop,a=r.height,o=r.isWindow?r.scrollTop:r.offset.top,v=n.top-t.collisionPosition.marginTop,s=v-o,h=v+t.collisionHeight-a-o,p=t.my[1]==="top",u=p?-t.elemHeight:t.my[1]==="bottom"?t.elemHeight:0,f=t.at[1]==="top"?t.targetHeight:t.at[1]==="bottom"?-t.targetHeight:0,e=-2*t.offset[1],c,l;s<0?(l=n.top+u+f+e+t.collisionHeight-a-y,n.top+u+f+e>s&&(l<0||l<i(s))&&(n.top+=u+f+e)):h>0&&(c=n.top-t.collisionPosition.marginTop+u+f+e-o,n.top+u+f+e>h&&(c>0||i(c)<h)&&(n.top+=u+f+e))}},flipfit:{left:function(){n.ui.position.flip.left.apply(this,arguments),n.ui.position.fit.left.apply(this,arguments)},top:function(){n.ui.position.flip.top.apply(this,arguments),n.ui.position.fit.top.apply(this,arguments)}}},function(){var t,i,r,u,f,e=document.getElementsByTagName("body")[0],o=document.createElement("div");t=document.createElement(e?"div":"body"),r={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},e&&n.extend(r,{position:"absolute",left:"-1000px",top:"-1000px"});for(f in r)t.style[f]=r[f];t.appendChild(o),i=e||document.documentElement,i.insertBefore(t,i.firstChild),o.style.cssText="position: absolute; left: 10.7432222px;",u=n(o).offset().left,n.support.offsetFractions=u>10&&u<11,t.innerHTML="",i.removeChild(t)}(),n.uiBackCompat!==!1&&function(n){var i=n.fn.position;n.fn.position=function(r){if(!r||!r.offset)return i.call(this,r);var u=r.offset.split(" "),f=r.at.split(" ");return u.length===1&&(u[1]=u[0]),/^\d/.test(u[0])&&(u[0]="+"+u[0]),/^\d/.test(u[1])&&(u[1]="+"+u[1]),f.length===1&&(/left|center|right/.test(f[0])?f[1]="center":(f[1]=f[0],f[0]="center")),i.call(this,n.extend(r,{at:f[0]+u[0]+" "+f[1]+u[1],offset:t}))}}(jQuery)}(jQuery),function(n){var i=0;n.widget("ui.autocomplete",{version:"1.9.2",defaultElement:"<input>",options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,i,r;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(u){if(this.element.prop("readOnly")){t=!0,r=!0,i=!0;return}t=!1,r=!1,i=!1;var f=n.ui.keyCode;switch(u.keyCode){case f.PAGE_UP:t=!0,this._move("previousPage",u);break;case f.PAGE_DOWN:t=!0,this._move("nextPage",u);break;case f.UP:t=!0,this._keyEvent("previous",u);break;case f.DOWN:t=!0,this._keyEvent("next",u);break;case f.ENTER:case f.NUMPAD_ENTER:this.menu.active&&(t=!0,u.preventDefault(),this.menu.select(u));break;case f.TAB:this.menu.active&&this.menu.select(u);break;case f.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(u),u.preventDefault());break;default:i=!0,this._searchTimeout(u)}},keypress:function(r){if(t){t=!1,r.preventDefault();return}if(!i){var u=n.ui.keyCode;switch(r.keyCode){case u.PAGE_UP:this._move("previousPage",r);break;case u.PAGE_DOWN:this._move("nextPage",r);break;case u.UP:this._keyEvent("previous",r);break;case u.DOWN:this._keyEvent("next",r)}}},input:function(n){if(r){r=!1,n.preventDefault();return}this._searchTimeout(n)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(n){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching),this.close(n),this._change(n)}}),this._initSource(),this.menu=n("<ul>").addClass("ui-autocomplete").appendTo(this.document.find(this.options.appendTo||"body")[0]).menu({input:n(),role:null}).zIndex(this.element.zIndex()+1).hide().data("menu"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];n(t.target).closest(".ui-menu-item").length||this._delay(function(){var t=this;this.document.one("mousedown",function(r){r.target===t.element[0]||r.target===i||n.contains(i,r.target)||t.close()})})},menufocus:function(t,i){if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type))){this.menu.blur(),this.document.one("mousemove",function(){n(t.target).trigger(t.originalEvent)});return}var r=i.item.data("ui-autocomplete-item")||i.item.data("item.autocomplete");!1!==this._trigger("focus",t,{item:r})?t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(r.value):this.liveRegion.text(r.value)},menuselect:function(n,t){var i=t.item.data("ui-autocomplete-item")||t.item.data("item.autocomplete"),r=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=r,this._delay(function(){this.previous=r,this.selectedItem=i})),!1!==this._trigger("select",n,{item:i})&&this._value(i.value),this.term=this._value(),this.close(n),this.selectedItem=i}}),this.liveRegion=n("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element),n.fn.bgiframe&&this.menu.element.bgiframe(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(n,t){this._super(n,t),n==="source"&&this._initSource(),n==="appendTo"&&this.menu.element.appendTo(this.document.find(t||"body")[0]),n==="disabled"&&t&&this.xhr&&this.xhr.abort()},_isMultiLine:function(){return this.element.is("textarea")?!0:this.element.is("input")?!1:this.element.prop("isContentEditable")},_initSource:function(){var i,r,t=this;n.isArray(this.options.source)?(i=this.options.source,this.source=function(t,r){r(n.ui.autocomplete.filter(i,t.term))}):typeof this.options.source=="string"?(r=this.options.source,this.source=function(i,u){t.xhr&&t.xhr.abort(),t.xhr=n.ajax({url:r,data:i,dataType:"json",success:function(n){u(n)},error:function(){u([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(n,t){return(n=n!=null?n:this._value(),this.term=this._value(),n.length<this.options.minLength)?this.close(t):this._trigger("search",t)===!1?void 0:this._search(n)},_search:function(n){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:n},this._response())},_response:function(){var n=this,t=++i;return function(r){t===i&&n.__response(r),n.pending--,n.pending||n.element.removeClass("ui-autocomplete-loading")}},__response:function(n){n&&(n=this._normalize(n)),this._trigger("response",null,{content:n}),!this.options.disabled&&n&&n.length&&!this.cancelSearch?(this._suggest(n),this._trigger("open")):this._close()},close:function(n){this.cancelSearch=!0,this._close(n)},_close:function(n){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",n))},_change:function(n){this.previous!==this._value()&&this._trigger("change",n,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:n.map(t,function(t){return typeof t=="string"?{label:t,value:t}:n.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var i=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(i,t),this.menu.refresh(),i.show(),this._resizeMenu(),i.position(n.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var n=this.menu.element;n.outerWidth(Math.max(n.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,i){var r=this;n.each(i,function(n,i){r._renderItemData(t,i)})},_renderItemData:function(n,t){return this._renderItem(n,t).data("ui-autocomplete-item",t)},_renderItem:function(t,i){return n("<li>").append(n("<a>").text(i.label)).appendTo(t)},_move:function(n,t){if(!this.menu.element.is(":visible")){this.search(null,t);return}if(this.menu.isFirstItem()&&/^previous/.test(n)||this.menu.isLastItem()&&/^next/.test(n)){this._value(this.term),this.menu.blur();return}this.menu[n](t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(n,t){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(n,t),t.preventDefault())}}),n.extend(n.ui.autocomplete,{escapeRegex:function(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var r=new RegExp(n.ui.autocomplete.escapeRegex(i),"i");return n.grep(t,function(n){return r.test(n.label||n.value||n)})}}),n.widget("ui.autocomplete",n.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(n){return n+(n>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(n){var t;(this._superApply(arguments),this.options.disabled||this.cancelSearch)||(t=n&&n.length?this.options.messages.results(n.length):this.options.messages.noResults,this.liveRegion.text(t))}})}(jQuery),function(n){var i=!1;n.widget("ui.menu",{version:"1.9.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,n.proxy(function(n){this.options.disabled&&n.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(n){n.preventDefault()},"click .ui-state-disabled > a":function(n){n.preventDefault()},"click .ui-menu-item:has(a)":function(t){var r=n(t.target).closest(".ui-menu-item");!i&&r.not(".ui-state-disabled").length&&(i=!0,this.select(t),r.has(".ui-menu").length?this.expand(t):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var i=n(t.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(t,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(n,t){var i=this.active||this.element.children(".ui-menu-item").eq(0);t||this.focus(n,i)},blur:function(t){this._delay(function(){n.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){n(t.target).closest(".ui-menu").length||this.collapseAll(t),i=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=n(this);t.data("ui-menu-submenu-carat")&&t.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){function o(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var i,f,r,e,u,s=!0;switch(t.keyCode){case n.ui.keyCode.PAGE_UP:this.previousPage(t);break;case n.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case n.ui.keyCode.HOME:this._move("first","first",t);break;case n.ui.keyCode.END:this._move("last","last",t);break;case n.ui.keyCode.UP:this.previous(t);break;case n.ui.keyCode.DOWN:this.next(t);break;case n.ui.keyCode.LEFT:this.collapse(t);break;case n.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case n.ui.keyCode.ENTER:case n.ui.keyCode.SPACE:this._activate(t);break;case n.ui.keyCode.ESCAPE:this.collapse(t);break;default:s=!1,f=this.previousFilter||"",r=String.fromCharCode(t.keyCode),e=!1,clearTimeout(this.filterTimer),r===f?e=!0:r=f+r,u=new RegExp("^"+o(r),"i"),i=this.activeMenu.children(".ui-menu-item").filter(function(){return u.test(n(this).children("a").text())}),i=e&&i.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):i,i.length||(r=String.fromCharCode(t.keyCode),u=new RegExp("^"+o(r),"i"),i=this.activeMenu.children(".ui-menu-item").filter(function(){return u.test(n(this).children("a").text())})),i.length?(this.focus(t,i),i.length>1?(this.previousFilter=r,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}s&&t.preventDefault()},_activate:function(n){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(n):this.select(n))},refresh:function(){var t,r=this.options.icons.submenu,i=this.element.find(this.options.menus);i.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=n(this),i=t.prev("a"),u=n("<span>").addClass("ui-menu-icon ui-icon "+r).data("ui-menu-submenu-carat",!0);i.attr("aria-haspopup","true").prepend(u),t.attr("aria-labelledby",i.attr("id"))}),t=i.add(this.element),t.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),t.children(":not(.ui-menu-item)").each(function(){var t=n(this);/[^\-—–\s]/.test(t.text())||t.addClass("ui-widget-content ui-menu-divider")}),t.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!n.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(n,t){var i,r;this.blur(n,n&&n.type==="focus"),this._scrollIntoView(t),this.active=t.first(),r=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",r.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),n&&n.type==="keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=t.children(".ui-menu"),i.length&&/^mouse/.test(n.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",n,{item:t})},_scrollIntoView:function(t){var e,o,i,r,u,f;this._hasScroll()&&(e=parseFloat(n.css(this.activeMenu[0],"borderTopWidth"))||0,o=parseFloat(n.css(this.activeMenu[0],"paddingTop"))||0,i=t.offset().top-this.activeMenu.offset().top-e-o,r=this.activeMenu.scrollTop(),u=this.activeMenu.height(),f=t.height(),i<0?this.activeMenu.scrollTop(r+i):i+f>u&&this.activeMenu.scrollTop(r+i-u+f))},blur:function(n,t){(t||clearTimeout(this.timer),this.active)&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",n,{item:this.active}))},_startOpening:function(n){(clearTimeout(this.timer),n.attr("aria-hidden")==="true")&&(this.timer=this._delay(function(){this._close(),this._open(n)},this.delay))},_open:function(t){var i=n.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var r=i?this.element:n(t&&t.target).closest(this.element.find(".ui-menu"));r.length||(r=this.element),this._close(r),this.blur(t),this.activeMenu=r},this.delay)},_close:function(n){n||(n=this.active?this.active.parent():this.element),n.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(n){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(n,t))},expand:function(n){var t=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(n,t)}))},next:function(n){this._move("next","first",n)},previous:function(n){this._move("prev","last",n)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(n,t,i){var r;this.active&&(r=n==="first"||n==="last"?this.active[n==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[n+"All"](".ui-menu-item").eq(0)),r&&r.length&&this.active||(r=this.activeMenu.children(".ui-menu-item")[t]()),this.focus(i,r)},nextPage:function(t){var i,r,u;if(!this.active){this.next(t);return}this.isLastItem()||(this._hasScroll()?(r=this.active.offset().top,u=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=n(this),i.offset().top-r-u<0}),this.focus(t,i)):this.focus(t,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]()))},previousPage:function(t){var i,r,u;if(!this.active){this.next(t);return}this.isFirstItem()||(this._hasScroll()?(r=this.active.offset().top,u=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=n(this),i.offset().top-r+u>0}),this.focus(t,i)):this.focus(t,this.activeMenu.children(".ui-menu-item").first()))},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||n(t.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,i)}})}(jQuery),function(n){var i=5;n.widget("ui.slider",n.ui.mouse,{version:"1.9.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var r,u,t=this.options,f=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),o="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'><\/a>",e=[];for(this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"+(t.disabled?" ui-slider-disabled ui-disabled":"")),this.range=n([]),t.range&&(t.range===!0&&(t.values||(t.values=[this._valueMin(),this._valueMin()]),t.values.length&&t.values.length!==2&&(t.values=[t.values[0],t.values[0]])),this.range=n("<div><\/div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(t.range==="min"||t.range==="max"?" ui-slider-range-"+t.range:""))),u=t.values&&t.values.length||1,r=f.length;r<u;r++)e.push(o);this.handles=f.add(n(e.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(n){n.preventDefault()}).mouseenter(function(){t.disabled||n(this).addClass("ui-state-hover")}).mouseleave(function(){n(this).removeClass("ui-state-hover")}).focus(function(){t.disabled?n(this).blur():(n(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),n(this).addClass("ui-state-focus"))}).blur(function(){n(this).removeClass("ui-state-focus")}),this.handles.each(function(t){n(this).data("ui-slider-handle-index",t)}),this._on(this.handles,{keydown:function(t){var o,u,r,f,e=n(t.target).data("ui-slider-handle-index");switch(t.keyCode){case n.ui.keyCode.HOME:case n.ui.keyCode.END:case n.ui.keyCode.PAGE_UP:case n.ui.keyCode.PAGE_DOWN:case n.ui.keyCode.UP:case n.ui.keyCode.RIGHT:case n.ui.keyCode.DOWN:case n.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,n(t.target).addClass("ui-state-active"),o=this._start(t,e),o===!1))return}f=this.options.step,u=this.options.values&&this.options.values.length?r=this.values(e):r=this.value();switch(t.keyCode){case n.ui.keyCode.HOME:r=this._valueMin();break;case n.ui.keyCode.END:r=this._valueMax();break;case n.ui.keyCode.PAGE_UP:r=this._trimAlignValue(u+(this._valueMax()-this._valueMin())/i);break;case n.ui.keyCode.PAGE_DOWN:r=this._trimAlignValue(u-(this._valueMax()-this._valueMin())/i);break;case n.ui.keyCode.UP:case n.ui.keyCode.RIGHT:if(u===this._valueMax())return;r=this._trimAlignValue(u+f);break;case n.ui.keyCode.DOWN:case n.ui.keyCode.LEFT:if(u===this._valueMin())return;r=this._trimAlignValue(u-f)}this._slide(t,e,r)},keyup:function(t){var i=n(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,i),this._change(t,i),n(t.target).removeClass("ui-state-active"))}}),this._refreshValue(),this._animateOff=!1},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(t){var s,u,f,i,r,h,e,c,l=this,o=this.options;return o.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),s={x:t.pageX,y:t.pageY},u=this._normValueFromMouse(s),f=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var e=Math.abs(u-l.values(t));f>e&&(f=e,i=n(this),r=t)}),o.range===!0&&this.values(1)===o.min&&(r+=1,i=n(this.handles[r])),h=this._start(t,r),h===!1?!1:(this._mouseSliding=!0,this._handleIndex=r,i.addClass("ui-state-active").focus(),e=i.offset(),c=!n(t.target).parents().andSelf().is(".ui-slider-handle"),this._clickOffset=c?{left:0,top:0}:{left:t.pageX-e.left-i.width()/2,top:t.pageY-e.top-i.height()/2-(parseInt(i.css("borderTopWidth"),10)||0)-(parseInt(i.css("borderBottomWidth"),10)||0)+(parseInt(i.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,r,u),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(n){var t={x:n.pageX,y:n.pageY},i=this._normValueFromMouse(t);return this._slide(n,this._handleIndex,i),!1},_mouseStop:function(n){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(n,this._handleIndex),this._change(n,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(n){var i,r,t,u,f;return this.orientation==="horizontal"?(i=this.elementSize.width,r=n.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(i=this.elementSize.height,r=n.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),t=r/i,t>1&&(t=1),t<0&&(t=0),this.orientation==="vertical"&&(t=1-t),u=this._valueMax()-this._valueMin(),f=this._valueMin()+t*u,this._trimAlignValue(f)},_start:function(n,t){var i={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("start",n,i)},_slide:function(n,t,i){var r,f,u;this.options.values&&this.options.values.length?(r=this.values(t?0:1),this.options.values.length===2&&this.options.range===!0&&(t===0&&i>r||t===1&&i<r)&&(i=r),i!==this.values(t)&&(f=this.values(),f[t]=i,u=this._trigger("slide",n,{handle:this.handles[t],value:i,values:f}),r=this.values(t?0:1),u!==!1&&this.values(t,i,!0))):i!==this.value()&&(u=this._trigger("slide",n,{handle:this.handles[t],value:i}),u!==!1&&this.value(i))},_stop:function(n,t){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("stop",n,i)},_change:function(n,t){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("change",n,i)}},value:function(n){if(arguments.length){this.options.value=this._trimAlignValue(n),this._refreshValue(),this._change(null,0);return}return this._value()},values:function(t,i){var u,f,r;if(arguments.length>1){this.options.values[t]=this._trimAlignValue(i),this._refreshValue(),this._change(null,t);return}if(!arguments.length)return this._values();if(!n.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(t):this.value();for(u=this.options.values,f=arguments[0],r=0;r<u.length;r+=1)u[r]=this._trimAlignValue(f[r]),this._change(null,r);this._refreshValue()},_setOption:function(t,i){var r,u=0;n.isArray(this.options.values)&&(u=this.options.values.length),n.Widget.prototype._setOption.apply(this,arguments);switch(t){case"disabled":i?(this.handles.filter(".ui-state-focus").blur(),this.handles.removeClass("ui-state-hover"),this.handles.prop("disabled",!0),this.element.addClass("ui-disabled")):(this.handles.prop("disabled",!1),this.element.removeClass("ui-disabled"));break;case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),r=0;r<u;r+=1)this._change(null,r);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1}},_value:function(){var n=this.options.value;return n=this._trimAlignValue(n),n},_values:function(n){var r,t,i;if(arguments.length)return r=this.options.values[n],r=this._trimAlignValue(r),r;for(t=this.options.values.slice(),i=0;i<t.length;i+=1)t[i]=this._trimAlignValue(t[i]);return t},_trimAlignValue:function(n){if(n<=this._valueMin())return this._valueMin();if(n>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,i=(n-this._valueMin())%t,r=n-i;return Math.abs(i)*2>=t&&(r+=i>0?t:-t),parseFloat(r.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var s,t,c,f,h,e=this.options.range,i=this.options,r=this,u=this._animateOff?!1:i.animate,o={};this.options.values&&this.options.values.length?this.handles.each(function(f){t=(r.values(f)-r._valueMin())/(r._valueMax()-r._valueMin())*100,o[r.orientation==="horizontal"?"left":"bottom"]=t+"%",n(this).stop(1,1)[u?"animate":"css"](o,i.animate),r.options.range===!0&&(r.orientation==="horizontal"?(f===0&&r.range.stop(1,1)[u?"animate":"css"]({left:t+"%"},i.animate),f===1&&r.range[u?"animate":"css"]({width:t-s+"%"},{queue:!1,duration:i.animate})):(f===0&&r.range.stop(1,1)[u?"animate":"css"]({bottom:t+"%"},i.animate),f===1&&r.range[u?"animate":"css"]({height:t-s+"%"},{queue:!1,duration:i.animate}))),s=t}):(c=this.value(),f=this._valueMin(),h=this._valueMax(),t=h!==f?(c-f)/(h-f)*100:0,o[this.orientation==="horizontal"?"left":"bottom"]=t+"%",this.handle.stop(1,1)[u?"animate":"css"](o,i.animate),e==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[u?"animate":"css"]({width:t+"%"},i.animate),e==="max"&&this.orientation==="horizontal"&&this.range[u?"animate":"css"]({width:100-t+"%"},{queue:!1,duration:i.animate}),e==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[u?"animate":"css"]({height:t+"%"},i.animate),e==="max"&&this.orientation==="vertical"&&this.range[u?"animate":"css"]({height:100-t+"%"},{queue:!1,duration:i.animate}))}})}(jQuery),function(n){function t(n,t){if(!(n.originalEvent.touches.length>1)){n.preventDefault();var i=n.originalEvent.changedTouches[0],r=document.createEvent("MouseEvents");r.initMouseEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.target.dispatchEvent(r)}}if(n.support.touch="ontouchend"in document,n.support.touch){var i=n.ui.mouse.prototype,u=i._mouseInit,r;i._touchStart=function(n){var i=this;!r&&i._mouseCapture(n.originalEvent.changedTouches[0])&&(r=!0,i._touchMoved=!1,t(n,"mouseover"),t(n,"mousemove"),t(n,"mousedown"))},i._touchMove=function(n){r&&(this._touchMoved=!0,t(n,"mousemove"))},i._touchEnd=function(n){r&&(t(n,"mouseup"),t(n,"mouseout"),this._touchMoved||t(n,"click"),r=!1)},i._mouseInit=function(){var t=this;t.element.bind("touchstart",n.proxy(t,"_touchStart")).bind("touchmove",n.proxy(t,"_touchMove")).bind("touchend",n.proxy(t,"_touchEnd")),u.call(t)}}}(jQuery),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports=="object"?n(require("jquery")):n(jQuery)}(function(n){function i(n){return t.raw?n:encodeURIComponent(n)}function f(n){return t.raw?n:decodeURIComponent(n)}function e(n){return i(t.json?JSON.stringify(n):String(n))}function o(n){n.indexOf('"')===0&&(n=n.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return n=decodeURIComponent(n.replace(u," ")),t.json?JSON.parse(n):n}catch(i){}}function r(i,r){var u=t.raw?i:o(i);return n.isFunction(r)?r(u):u}var u=/\+/g,t=n.cookie=function(u,o,s){var y,a,h,v,c,p;if(o!==undefined&&!n.isFunction(o))return s=n.extend({},t.defaults,s),typeof s.expires=="number"&&(y=s.expires,a=s.expires=new Date,a.setTime(+a+y*864e5)),document.cookie=[i(u),"=",e(o),s.expires?"; expires="+s.expires.toUTCString():"",s.path?"; path="+s.path:"",s.domain?"; domain="+s.domain:"",s.secure?"; secure":""].join("");for(h=u?undefined:{},v=document.cookie?document.cookie.split("; "):[],c=0,p=v.length;c<p;c++){var w=v[c].split("="),b=f(w.shift()),l=w.join("=");if(u&&u===b){h=r(l,o);break}u||(l=r(l))===undefined||(h[b]=l)}return h};t.defaults={},n.removeCookie=function(t,i){return n.cookie(t)===undefined?!1:(n.cookie(t,"",n.extend({},i,{expires:-1})),!n.cookie(t))}}),function(){(function(n){var i=this||eval("this"),r=i.document,f=i.navigator,t=i.jQuery,u=i.JSON;(function(n){"function"==typeof require&&"object"==typeof exports&&"object"==typeof module?n(module.exports||exports,require):"function"==typeof define&&define.amd?define(["exports","require"],n):n(i.ko={})})(function(e,o){function y(n,t){return null===n||typeof n in b?n===t:!1}function k(t,i){var r;return function(){r||(r=setTimeout(function(){r=n,t()},i))}}function d(n,t){var i;return function(){clearTimeout(i),i=setTimeout(n,t)}}function p(n,t,i,r){s.d[n]={init:function(n,u,f,e,o){var c,h;return s.s(function(){var l=s.a.c(u()),f=!i!=!l,e=!h;(e||t||f!==c)&&(e&&s.Y.la()&&(h=s.a.ia(s.f.childNodes(n),!0)),f?(e||s.f.T(n,s.a.ia(h)),s.Ca(r?r(o,l):o,n)):s.f.ja(n),c=f)},null,{o:n}),{controlsDescendantBindings:!0}}},s.h.ha[n]=!1,s.f.Q[n]=!0}var s="undefined"!=typeof e?e:{},b,l,h,c,a,w,v;s.b=function(n,t){for(var i=n.split("."),r=s,u=0;u<i.length-1;u++)r=r[i[u]];r[i[i.length-1]]=t},s.A=function(n,t,i){n[t]=i},s.version="3.2.0",s.b("version",s.version),s.a=function(){function o(n,t){for(var i in n)n.hasOwnProperty(i)&&t(i,n[i])}function c(n,t){if(t)for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return n}function l(n,t){return n.__proto__=t,n}var a={__proto__:[]}instanceof Array,h={},v={},y,e;return h[f&&/Firefox\/2/i.test(f.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"],h.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" "),o(h,function(n,t){if(t.length)for(var i=0,r=t.length;i<r;i++)v[t[i]]=n}),y={propertychange:!0},e=r&&function(){for(var t=3,i=r.createElement("div"),u=i.getElementsByTagName("i");i.innerHTML="<!--[if gt IE "+ ++t+"]><i><\/i><![endif]-->",u[0];);return 4<t?t:n}(),{vb:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],u:function(n,t){for(var i=0,r=n.length;i<r;i++)t(n[i],i)},m:function(n,t){if("function"==typeof Array.prototype.indexOf)return Array.prototype.indexOf.call(n,t);for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},qb:function(n,t,i){for(var r=0,u=n.length;r<u;r++)if(t.call(i,n[r],r))return n[r];return null},ua:function(n,t){var i=s.a.m(n,t);0<i?n.splice(i,1):0===i&&n.shift()},rb:function(n){n=n||[];for(var i=[],t=0,r=n.length;t<r;t++)0>s.a.m(i,n[t])&&i.push(n[t]);return i},Da:function(n,t){n=n||[];for(var r=[],i=0,u=n.length;i<u;i++)r.push(t(n[i],i));return r},ta:function(n,t){n=n||[];for(var r=[],i=0,u=n.length;i<u;i++)t(n[i],i)&&r.push(n[i]);return r},ga:function(n,t){if(t instanceof Array)n.push.apply(n,t);else for(var i=0,r=t.length;i<r;i++)n.push(t[i]);return n},ea:function(n,t,i){var r=s.a.m(s.a.Xa(n),t);0>r?i&&n.push(t):i||n.splice(r,1)},xa:a,extend:c,za:l,Aa:a?l:c,G:o,na:function(n,t){if(!n)return n;var r={},i;for(i in n)n.hasOwnProperty(i)&&(r[i]=t(n[i],i,n));return r},Ka:function(n){for(;n.firstChild;)s.removeNode(n.firstChild)},oc:function(n){n=s.a.S(n);for(var i=r.createElement("div"),t=0,u=n.length;t<u;t++)i.appendChild(s.R(n[t]));return i},ia:function(n,t){for(var r,i=0,f=n.length,u=[];i<f;i++)r=n[i].cloneNode(!0),u.push(t?s.R(r):r);return u},T:function(n,t){if(s.a.Ka(n),t)for(var i=0,r=t.length;i<r;i++)n.appendChild(t[i])},Lb:function(n,t){var r=n.nodeType?[n]:n;if(0<r.length){for(var f=r[0],e=f.parentNode,i=0,u=t.length;i<u;i++)e.insertBefore(t[i],f);for(i=0,u=r.length;i<u;i++)s.removeNode(r[i])}},ka:function(n,t){if(n.length){for(t=8===t.nodeType&&t.parentNode||t;n.length&&n[0].parentNode!==t;)n.shift();if(1<n.length){var i=n[0],r=n[n.length-1];for(n.length=0;i!==r;)if(n.push(i),i=i.nextSibling,!i)return;n.push(r)}}return n},Nb:function(n,t){7>e?n.setAttribute("selected",t):n.selected=t},cb:function(t){return null===t||t===n?"":t.trim?t.trim():t.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},vc:function(n,t){return n=n||"",t.length>n.length?!1:n.substring(0,t.length)===t},cc:function(n,t){if(n===t)return!0;if(11===n.nodeType)return!1;if(t.contains)return t.contains(3===n.nodeType?n.parentNode:n);if(t.compareDocumentPosition)return 16==(t.compareDocumentPosition(n)&16);for(;n&&n!=t;)n=n.parentNode;return!!n},Ja:function(n){return s.a.cc(n,n.ownerDocument.documentElement)},ob:function(n){return!!s.a.qb(n,s.a.Ja)},t:function(n){return n&&n.tagName&&n.tagName.toLowerCase()},n:function(n,i,r){var o=e&&y[i],u,f;if(!o&&t)t(n).bind(i,r);else if(o||"function"!=typeof n.addEventListener)if("undefined"!=typeof n.attachEvent)u=function(t){r.call(n,t)},f="on"+i,n.attachEvent(f,u),s.a.w.da(n,function(){n.detachEvent(f,u)});else throw Error("Browser doesn't support addEventListener or attachEvent");else n.addEventListener(i,r,!1)},oa:function(n,u){if(!n||!n.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var f;if("input"===s.a.t(n)&&n.type&&"click"==u.toLowerCase()?(f=n.type,f="checkbox"==f||"radio"==f):f=!1,t&&!f)t(n).trigger(u);else if("function"==typeof r.createEvent)if("function"==typeof n.dispatchEvent)f=r.createEvent(v[u]||"HTMLEvents"),f.initEvent(u,!0,!0,i,0,0,0,0,0,!1,!1,!1,!1,0,n),n.dispatchEvent(f);else throw Error("The supplied element doesn't support dispatchEvent");else if(f&&n.click)n.click();else if("undefined"!=typeof n.fireEvent)n.fireEvent("on"+u);else throw Error("Browser doesn't support triggering events");},c:function(n){return s.C(n)?n():n},Xa:function(n){return s.C(n)?n.v():n},Ba:function(n,t,i){if(t){var r=/\S+/g,u=n.className.match(r)||[];s.a.u(t.match(r),function(n){s.a.ea(u,n,i)}),n.className=u.join(" ")}},bb:function(t,i){var r=s.a.c(i),u;(null===r||r===n)&&(r=""),u=s.f.firstChild(t),!u||3!=u.nodeType||s.f.nextSibling(u)?s.f.T(t,[t.ownerDocument.createTextNode(r)]):u.data=r,s.a.fc(t)},Mb:function(n,t){if(n.name=t,7>=e)try{n.mergeAttributes(r.createElement("<input name='"+n.name+"'/>"),!1)}catch(i){}},fc:function(n){9<=e&&(n=1==n.nodeType?n:n.parentNode,n.style&&(n.style.zoom=n.style.zoom))},dc:function(n){if(e){var t=n.style.width;n.style.width=0,n.style.width=t}},sc:function(n,t){n=s.a.c(n),t=s.a.c(t);for(var r=[],i=n;i<=t;i++)r.push(i);return r},S:function(n){for(var i=[],t=0,r=n.length;t<r;t++)i.push(n[t]);return i},yc:6===e,zc:7===e,L:e,xb:function(n,t){for(var r=s.a.S(n.getElementsByTagName("input")).concat(s.a.S(n.getElementsByTagName("textarea"))),f="string"==typeof t?function(n){return n.name===t}:function(n){return t.test(n.name)},u=[],i=r.length-1;0<=i;i--)f(r[i])&&u.push(r[i]);return u},pc:function(n){return"string"==typeof n&&(n=s.a.cb(n))?u&&u.parse?u.parse(n):new Function("return "+n)():null},eb:function(n,t,i){if(!u||!u.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return u.stringify(s.a.c(n),t,i)},qc:function(n,t,i){var v,e,h,f,u,c;i=i||{};var l=i.params||{},a=i.includeFields||this.vb,v=n;if("object"==typeof n&&"form"===s.a.t(n))for(v=n.action,e=a.length-1;0<=e;e--)for(h=s.a.xb(n,a[e]),f=h.length-1;0<=f;f--)l[h[f].name]=h[f].value;t=s.a.c(t),u=r.createElement("form"),u.style.display="none",u.action=v,u.method="post";for(c in t)n=r.createElement("input"),n.type="hidden",n.name=c,n.value=s.a.eb(s.a.c(t[c])),u.appendChild(n);o(l,function(n,t){var i=r.createElement("input");i.type="hidden",i.name=n,i.value=t,u.appendChild(i)}),r.body.appendChild(u),i.submitter?i.submitter(u):u.submit(),setTimeout(function(){u.parentNode.removeChild(u)},0)}}}(),s.b("utils",s.a),s.b("utils.arrayForEach",s.a.u),s.b("utils.arrayFirst",s.a.qb),s.b("utils.arrayFilter",s.a.ta),s.b("utils.arrayGetDistinctValues",s.a.rb),s.b("utils.arrayIndexOf",s.a.m),s.b("utils.arrayMap",s.a.Da),s.b("utils.arrayPushAll",s.a.ga),s.b("utils.arrayRemoveItem",s.a.ua),s.b("utils.extend",s.a.extend),s.b("utils.fieldsIncludedWithJsonPost",s.a.vb),s.b("utils.getFormFields",s.a.xb),s.b("utils.peekObservable",s.a.Xa),s.b("utils.postJson",s.a.qc),s.b("utils.parseJson",s.a.pc),s.b("utils.registerEventHandler",s.a.n),s.b("utils.stringifyJson",s.a.eb),s.b("utils.range",s.a.sc),s.b("utils.toggleDomNodeCssClass",s.a.Ba),s.b("utils.triggerEvent",s.a.oa),s.b("utils.unwrapObservable",s.a.c),s.b("utils.objectForEach",s.a.G),s.b("utils.addOrRemoveItem",s.a.ea),s.b("unwrap",s.a.c),Function.prototype.bind||(Function.prototype.bind=function(n){var i=this,t=Array.prototype.slice.call(arguments);return n=t.shift(),function(){return i.apply(n,t.concat(Array.prototype.slice.call(arguments)))}}),s.a.e=new function(){function r(r,f){var e=r[t];if(!e||"null"===e||!i[e]){if(!f)return n;e=r[t]="ko"+u++,i[e]={}}return i[e]}var u=0,t="__ko__"+ +new Date,i={};return{get:function(t,i){var u=r(t,!1);return u===n?n:u[i]},set:function(t,i,u){(u!==n||r(t,!1)!==n)&&(r(t,!0)[i]=u)},clear:function(n){var r=n[t];return r?(delete i[r],n[t]=null,!0):!1},F:function(){return u+++t}}},s.b("utils.domData",s.a.e),s.b("utils.domData.clear",s.a.e.clear),s.a.w=new function(){function i(t,i){var r=s.a.e.get(t,u);return r===n&&i&&(r=[],s.a.e.set(t,u,r)),r}function r(n){var t=i(n,!1),u;if(t)for(t=t.slice(0),u=0;u<t.length;u++)t[u](n);if(s.a.e.clear(n),s.a.w.cleanExternalData(n),f[n.nodeType])for(t=n.firstChild;n=t;)t=n.nextSibling,8===n.nodeType&&r(n)}var u=s.a.e.F(),e={1:!0,8:!0,9:!0},f={1:!0,9:!0};return{da:function(n,t){if("function"!=typeof t)throw Error("Callback must be a function");i(n,!0).push(t)},Kb:function(t,r){var f=i(t,!1);f&&(s.a.ua(f,r),0==f.length&&s.a.e.set(t,u,n))},R:function(n){var t,i,u;if(e[n.nodeType]&&(r(n),f[n.nodeType]))for(t=[],s.a.ga(t,n.getElementsByTagName("*")),i=0,u=t.length;i<u;i++)r(t[i]);return n},removeNode:function(n){s.R(n),n.parentNode&&n.parentNode.removeChild(n)},cleanExternalData:function(n){t&&"function"==typeof t.cleanData&&t.cleanData([n])}}},s.R=s.a.w.R,s.removeNode=s.a.w.removeNode,s.b("cleanNode",s.R),s.b("removeNode",s.removeNode),s.b("utils.domNodeDisposal",s.a.w),s.b("utils.domNodeDisposal.addDisposeCallback",s.a.w.da),s.b("utils.domNodeDisposal.removeDisposeCallback",s.a.w.Kb),function(){s.a.ba=function(n){var u,f;if(t){if(t.parseHTML)u=t.parseHTML(n)||[];else if((u=t.clean([n]))&&u[0]){for(n=u[0];n.parentNode&&11!==n.parentNode.nodeType;)n=n.parentNode;n.parentNode&&n.parentNode.removeChild(n)}}else{for(f=s.a.cb(n).toLowerCase(),u=r.createElement("div"),f=f.match(/^<(thead|tbody|tfoot)/)&&[1,"<table>","<\/table>"]||!f.indexOf("<tr")&&[2,"<table><tbody>","<\/tbody><\/table>"]||(!f.indexOf("<td")||!f.indexOf("<th"))&&[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"]||[0,"",""],n="ignored<div>"+f[1]+n+f[2]+"<\/div>","function"==typeof i.innerShiv?u.appendChild(i.innerShiv(n)):u.innerHTML=n;f[0]--;)u=u.lastChild;u=s.a.S(u.lastChild.childNodes)}return u},s.a.$a=function(i,r){if(s.a.Ka(i),r=s.a.c(r),null!==r&&r!==n)if("string"!=typeof r&&(r=r.toString()),t)t(i).html(r);else for(var f=s.a.ba(r),u=0;u<f.length;u++)i.appendChild(f[u])}}(),s.b("utils.parseHtmlFragment",s.a.ba),s.b("utils.setHtml",s.a.$a),s.D=function(){function i(n,t){var r;if(n)if(8==n.nodeType)r=s.D.Gb(n.nodeValue),null!=r&&t.push({bc:n,mc:r});else if(1==n.nodeType)for(var r=0,u=n.childNodes,f=u.length;r<f;r++)i(u[r],t)}var t={};return{Ua:function(n){if("function"!=typeof n)throw Error("You can only pass a function to ko.memoization.memoize()");var i=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return t[i]=n,"<!--[ko_memo:"+i+"]-->"},Rb:function(i,r){var u=t[i];if(u===n)throw Error("Couldn't find any memo with ID "+i+". Perhaps it's already been unmemoized.");try{return u.apply(null,r||[]),!0}finally{delete t[i]}},Sb:function(n,t){var f=[],u,o,r,e;for(i(n,f),u=0,o=f.length;u<o;u++)r=f[u].bc,e=[r],t&&s.a.ga(e,t),s.D.Rb(f[u].mc,e),r.nodeValue="",r.parentNode&&r.parentNode.removeChild(r)},Gb:function(n){return(n=n.match(/^\[ko_memo\:(.*?)\]$/))?n[1]:null}}}(),s.b("memoization",s.D),s.b("memoization.memoize",s.D.Ua),s.b("memoization.unmemoize",s.D.Rb),s.b("memoization.parseMemoText",s.D.Gb),s.b("memoization.unmemoizeDomNodeAndDescendants",s.D.Sb),s.La={throttle:function(n,t){n.throttleEvaluation=t;var i=null;return s.j({read:n,write:function(r){clearTimeout(i),i=setTimeout(function(){n(r)},t)}})},rateLimit:function(n,t){var i,r,u;"number"==typeof t?i=t:(i=t.timeout,r=t.method),u="notifyWhenChangesStop"==r?d:k,n.Ta(function(n){return u(n,i)})},notify:function(n,t){n.equalityComparer="always"==t?null:y}},b={undefined:1,boolean:1,number:1,string:1},s.b("extenders",s.La),s.Pb=function(n,t,i){this.target=n,this.wa=t,this.ac=i,this.Cb=!1,s.A(this,"dispose",this.K)},s.Pb.prototype.K=function(){this.Cb=!0,this.ac()},s.P=function(){s.a.Aa(this,s.P.fn),this.M={}},l="change",h={U:function(n,t,i){var r=this,u;return i=i||l,u=new s.Pb(r,t?n.bind(t):n,function(){s.a.ua(r.M[i],u),r.nb&&r.nb()}),r.va&&r.va(i),r.M[i]||(r.M[i]=[]),r.M[i].push(u),u},notifySubscribers:function(n,t){if(t=t||l,this.Ab(t))try{s.k.Ea();for(var u=this.M[t].slice(0),r=0,i;i=u[r];++r)i.Cb||i.wa(n)}finally{s.k.end()}},Ta:function(n){var t=this,e=s.C(t),r,u,i,f;t.qa||(t.qa=t.notifySubscribers,t.notifySubscribers=function(n,i){i&&i!==l?"beforeChange"===i?t.kb(n):t.qa(n,i):t.lb(n)}),f=n(function(){e&&i===t&&(i=t()),r=!1,t.Pa(u,i)&&t.qa(u=i)}),t.lb=function(n){r=!0,i=n,f()},t.kb=function(n){r||(u=n,t.qa(n,"beforeChange"))}},Ab:function(n){return this.M[n]&&this.M[n].length},yb:function(){var n=0;return s.a.G(this.M,function(t,i){n+=i.length}),n},Pa:function(n,t){return!this.equalityComparer||!this.equalityComparer(n,t)},extend:function(n){var t=this;return n&&s.a.G(n,function(n,i){var r=s.La[n];"function"==typeof r&&(t=r(t,i)||t)}),t}},s.A(h,"subscribe",h.U),s.A(h,"extend",h.extend),s.A(h,"getSubscriptionsCount",h.yb),s.a.xa&&s.a.za(h,Function.prototype),s.P.fn=h,s.Db=function(n){return null!=n&&"function"==typeof n.U&&"function"==typeof n.notifySubscribers},s.b("subscribable",s.P),s.b("isSubscribable",s.Db),s.Y=s.k=function(){function t(t){r.push(n),n=t}function i(){n=r.pop()}var r=[],n,u=0;return{Ea:t,end:i,Jb:function(t){if(n){if(!s.Db(t))throw Error("Only subscribable things can act as dependencies");n.wa(t,t.Vb||(t.Vb=++u))}},B:function(n,r,u){try{return t(),n.apply(r,u||[])}finally{i()}},la:function(){if(n)return n.s.la()},ma:function(){if(n)return n.ma}}}(),s.b("computedContext",s.Y),s.b("computedContext.getDependenciesCount",s.Y.la),s.b("computedContext.isInitial",s.Y.ma),s.b("computedContext.isSleeping",s.Y.Ac),s.p=function(n){function t(){return 0<arguments.length?(t.Pa(i,arguments[0])&&(t.X(),i=arguments[0],t.W()),this):(s.k.Jb(t),i)}var i=n;return s.P.call(t),s.a.Aa(t,s.p.fn),t.v=function(){return i},t.W=function(){t.notifySubscribers(i)},t.X=function(){t.notifySubscribers(i,"beforeChange")},s.A(t,"peek",t.v),s.A(t,"valueHasMutated",t.W),s.A(t,"valueWillMutate",t.X),t},s.p.fn={equalityComparer:y},c=s.p.rc="__ko_proto__",s.p.fn[c]=s.p,s.a.xa&&s.a.za(s.p.fn,s.P.fn),s.Ma=function(t,i){return null===t||t===n||t[c]===n?!1:t[c]===i?!0:s.Ma(t[c],i)},s.C=function(n){return s.Ma(n,s.p)},s.Ra=function(n){return"function"==typeof n&&n[c]===s.p||"function"==typeof n&&n[c]===s.j&&n.hc?!0:!1},s.b("observable",s.p),s.b("isObservable",s.C),s.b("isWriteableObservable",s.Ra),s.b("isWritableObservable",s.Ra),s.aa=function(n){if(n=n||[],"object"!=typeof n||!("length"in n))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return n=s.p(n),s.a.Aa(n,s.aa.fn),n.extend({trackArrayChanges:!0})},s.aa.fn={remove:function(n){for(var u,r=this.v(),i=[],f="function"!=typeof n||s.C(n)?function(t){return t===n}:n,t=0;t<r.length;t++)u=r[t],f(u)&&(0===i.length&&this.X(),i.push(u),r.splice(t,1),t--);return i.length&&this.W(),i},removeAll:function(t){if(t===n){var i=this.v(),r=i.slice(0);return this.X(),i.splice(0,i.length),this.W(),r}return t?this.remove(function(n){return 0<=s.a.m(t,n)}):[]},destroy:function(n){var i=this.v(),r="function"!=typeof n||s.C(n)?function(t){return t===n}:n,t;for(this.X(),t=i.length-1;0<=t;t--)r(i[t])&&(i[t]._destroy=!0);this.W()},destroyAll:function(t){return t===n?this.destroy(function(){return!0}):t?this.destroy(function(n){return 0<=s.a.m(t,n)}):[]},indexOf:function(n){var t=this();return s.a.m(t,n)},replace:function(n,t){var i=this.indexOf(n);0<=i&&(this.X(),this.v()[i]=t,this.W())}},s.a.u("pop push reverse shift sort splice unshift".split(" "),function(n){s.aa.fn[n]=function(){var t=this.v();return this.X(),this.sb(t,n,arguments),t=t[n].apply(t,arguments),this.W(),t}}),s.a.u(["slice"],function(n){s.aa.fn[n]=function(){var t=this();return t[n].apply(t,arguments)}}),s.a.xa&&s.a.za(s.aa.fn,s.p.fn),s.b("observableArray",s.aa),a="arrayChange",s.La.trackArrayChanges=function(n){function u(){var f,u;r||(r=!0,f=n.notifySubscribers,n.notifySubscribers=function(n,t){return t&&t!==l||++i,f.apply(this,arguments)},u=[].concat(n.v()||[]),t=null,n.U(function(r){if(r=[].concat(r||[]),n.Ab(a)){var f;(!t||1<i)&&(t=s.a.Fa(u,r,{sparse:!0})),f=t,f.length&&n.notifySubscribers(f,a)}u=r,t=null,i=0}))}if(!n.sb){var r=!1,t=null,i=0,f=n.U;n.U=n.subscribe=function(n,t,i){return i===a&&u(),f.apply(this,arguments)},n.sb=function(n,u,f){function c(n,t,i){return l[l.length]={status:n,value:t,index:i}}if(r&&!i){var l=[],e=n.length,h=f.length,o=0;switch(u){case"push":o=e;case"unshift":for(u=0;u<h;u++)c("added",f[u],o+u);break;case"pop":o=e-1;case"shift":e&&c("deleted",n[o],o);break;case"splice":u=Math.min(Math.max(0,0>f[0]?e+f[0]:f[0]),e);for(var e=1===h?e:Math.min(u+(f[1]||0),e),h=u+h-2,o=Math.max(e,h),a=[],v=[],y=2;u<o;++u,++y)u<e&&v.push(c("deleted",n[u],u)),u<h&&a.push(c("added",f[y],u));s.a.wb(v,a);break;default:return}t=l}}}},s.s=s.j=function(t,i,r){function nt(){s.a.G(l,function(n,t){t.K()}),l={}}function tt(){nt(),f=0,b=!0,h=!1}function ot(){var n=u.throttleEvaluation;n&&0<=n?(clearTimeout(ft),ft=setTimeout(a,n)):u.ib?u.ib():a()}function a(t){var a,r,c,d;if(p){if(k)throw Error("A 'pure' computed must not be called recursively");}else if(!b){if(g&&g()){if(!w){y();return}}else w=!1;if(p=!0,v)try{a={},s.k.Ea({wa:function(n,t){a[t]||(a[t]=1,++f)},s:u,ma:n}),f=0,o=e.call(i)}finally{s.k.end(),p=!1}else try{r=l,c=f,s.k.Ea({wa:function(n,t){b||(c&&r[t]?(l[t]=r[t],++f,delete r[t],--c):l[t]||(l[t]=n.U(ot),++f))},s:u,ma:k?n:!f}),l={},f=0;try{d=i?e.call(i):e()}finally{s.k.end(),c&&s.a.G(r,function(n,t){t.K()}),h=!1}u.Pa(o,d)&&(u.notifySubscribers(o,"beforeChange"),o=d,!0!==t&&u.notifySubscribers(o))}finally{p=!1}f||y()}}function u(){if(0<arguments.length){if("function"==typeof ut)ut.apply(i,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return this}return s.k.Jb(u),h&&a(!0),o}function it(){return h&&!f&&a(!0),o}function rt(){return h||0<f}var o,h=!0,p=!1,w=!1,b=!1,e=t,k=!1,v=!1,et;if(e&&"object"==typeof e?(r=e,e=r.read):(r=r||{},e||(e=r.read)),"function"!=typeof e)throw Error("Pass a function that returns the value of the ko.computed");var ut=r.write,c=r.disposeWhenNodeIsRemoved||r.o||null,d=r.disposeWhen||r.Ia,g=d,y=tt,l={},f=0,ft=null;return i||(i=r.owner),s.P.call(u),s.a.Aa(u,s.j.fn),u.v=it,u.la=function(){return f},u.hc="function"==typeof r.write,u.K=function(){y()},u.Z=rt,et=u.Ta,u.Ta=function(n){et.call(u,n),u.ib=function(){u.kb(o),h=!0,u.lb(u)}},r.pure?(v=k=!0,u.va=function(){v&&(v=!1,a(!0))},u.nb=function(){u.yb()||(nt(),v=h=!0)}):r.deferEvaluation&&(u.va=function(){it(),delete u.va}),s.A(u,"peek",u.v),s.A(u,"dispose",u.K),s.A(u,"isActive",u.Z),s.A(u,"getDependenciesCount",u.la),c&&(w=!0,c.nodeType&&(g=function(){return!s.a.Ja(c)||d&&d()})),v||r.deferEvaluation||a(),c&&rt()&&c.nodeType&&(y=function(){s.a.w.Kb(c,y),tt()},s.a.w.da(c,y)),u},s.jc=function(n){return s.Ma(n,s.j)},h=s.p.rc,s.j[h]=s.p,s.j.fn={equalityComparer:y},s.j.fn[h]=s.j,s.a.xa&&s.a.za(s.j.fn,s.P.fn),s.b("dependentObservable",s.j),s.b("computed",s.j),s.b("isComputed",s.jc),s.Ib=function(n,t){return"function"==typeof n?s.s(n,t,{pure:!0}):(n=s.a.extend({},n),n.pure=!0,s.s(n,t))},s.b("pureComputed",s.Ib),function(){function t(u,f,e){if(e=e||new i,u=f(u),"object"!=typeof u||null===u||u===n||u instanceof Date||u instanceof String||u instanceof Number||u instanceof Boolean)return u;var o=u instanceof Array?[]:{};return e.save(u,o),r(u,function(i){var r=f(u[i]),s;switch(typeof r){case"boolean":case"number":case"string":case"function":o[i]=r;break;case"object":case"undefined":s=e.get(r),o[i]=s!==n?s:t(r,f,e)}}),o}function r(n,t){if(n instanceof Array){for(var i=0;i<n.length;i++)t(i);"function"==typeof n.toJSON&&t("toJSON")}else for(i in n)t(i)}function i(){this.keys=[],this.hb=[]}s.Qb=function(n){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return t(n,function(n){for(var t=0;s.C(n)&&10>t;t++)n=n();return n})},s.toJSON=function(n,t,i){return n=s.Qb(n),s.a.eb(n,t,i)},i.prototype={save:function(n,t){var i=s.a.m(this.keys,n);0<=i?this.hb[i]=t:(this.keys.push(n),this.hb.push(t))},get:function(t){return t=s.a.m(this.keys,t),0<=t?this.hb[t]:n}}}(),s.b("toJS",s.Qb),s.b("toJSON",s.toJSON),function(){s.i={q:function(t){switch(s.a.t(t)){case"option":return!0===t.__ko__hasDomDataOptionValue__?s.a.e.get(t,s.d.options.Va):7>=s.a.L?t.getAttributeNode("value")&&t.getAttributeNode("value").specified?t.value:t.text:t.value;case"select":return 0<=t.selectedIndex?s.i.q(t.options[t.selectedIndex]):n;default:return t.value}},ca:function(t,i,r){switch(s.a.t(t)){case"option":switch(typeof i){case"string":s.a.e.set(t,s.d.options.Va,n),"__ko__hasDomDataOptionValue__"in t&&delete t.__ko__hasDomDataOptionValue__,t.value=i;break;default:s.a.e.set(t,s.d.options.Va,i),t.__ko__hasDomDataOptionValue__=!0,t.value="number"==typeof i?i:""}break;case"select":(""===i||null===i)&&(i=n);for(var f=-1,u=0,o=t.options.length,e;u<o;++u)if(e=s.i.q(t.options[u]),e==i||""==e&&i===n){f=u;break}(r||0<=f||i===n&&1<t.size)&&(t.selectedIndex=f);break;default:(null===i||i===n)&&(i=""),t.value=i}}}}(),s.b("selectExtensions",s.i),s.b("selectExtensions.readValue",s.i.q),s.b("selectExtensions.writeValue",s.i.ca),s.h=function(){function n(n){var c,r,i;n=s.a.cb(n),123===n.charCodeAt(0)&&(n=n.slice(1,-1));var a=[],o=n.match(t),h,u,l=0;if(o)for(o.push(","),c=0;r=o[c];++c){if(i=r.charCodeAt(0),44===i){if(0>=l){h&&a.push(u?{key:h,value:u.join("")}:{unknown:h}),h=u=l=0;continue}}else if(58===i){if(!u)continue}else if(47===i&&c&&1<r.length)(i=o[c-1].match(f))&&!e[i[0]]&&(n=n.substr(n.indexOf(r)+1),o=n.match(t),o.push(","),c=-1,r="/");else if(40===i||123===i||91===i)++l;else if(41===i||125===i||93===i)--l;else if(!h&&!u){h=34===i||39===i?r.slice(1,-1):r;continue}u?u.push(r):u=[r]}return a}var r=["true","false","null","undefined"],u=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,t=RegExp("\"(?:[^\"\\\\]|\\\\.)*\"|'(?:[^'\\\\]|\\\\.)*'|/(?:[^/\\\\]|\\\\.)*/w*|[^\\s:,/][^,\"'{}()/:[\\]]*[^\\s,\"'{}()/:[\\]]|[^\\s]","g"),f=/[\])"'A-Za-z0-9_$]+$/,e={"in":1,"return":1,"typeof":1},i={};return{ha:[],V:i,Wa:n,ya:function(t,f){function e(n,t){var a,f;if(!l){if(f=s.getBindingHandler(n),f&&f.preprocess&&!(t=f.preprocess(t,n,e)))return;(f=i[n])&&(a=t,0<=s.a.m(r,a)?a=!1:(f=a.match(u),a=null===f?!1:f[1]?"Object("+f[1]+")"+f[2]:a),f=a),f&&o.push("'"+n+"':function(_z){"+a+"=_z}")}c&&(t="function(){return "+t+" }"),h.push("'"+n+"':"+t)}f=f||{};var h=[],o=[],c=f.valueAccessors,l=f.bindingParams,a="string"==typeof t?n(t):t;return s.a.u(a,function(n){e(n.key||n.unknown,n.value)}),o.length&&e("_ko_property_writers","{"+o.join(",")+" }"),h.join(",")},lc:function(n,t){for(var i=0;i<n.length;i++)if(n[i].key==t)return!0;return!1},pa:function(n,t,i,r,u){n&&s.C(n)?!s.Ra(n)||u&&n.v()===r||n(r):(n=t.get("_ko_property_writers"))&&n[i]&&n[i](r)}}}(),s.b("expressionRewriting",s.h),s.b("expressionRewriting.bindingRewriteValidators",s.h.ha),s.b("expressionRewriting.parseObjectLiteral",s.h.Wa),s.b("expressionRewriting.preProcessBindings",s.h.ya),s.b("expressionRewriting._twoWayBindings",s.h.V),s.b("jsonExpressionRewriting",s.h),s.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",s.h.ya),function(){function n(n){return 8==n.nodeType&&e.test(t?n.text:n.nodeValue)}function i(n){return 8==n.nodeType&&o.test(t?n.text:n.nodeValue)}function u(t,r){for(var u=t,f=1,e=[];u=u.nextSibling;){if(i(u)&&(f--,0===f))return e;e.push(u),n(u)&&f++}if(!r)throw Error("Cannot find closing comment tag to match: "+t.nodeValue);return null}function f(n,t){var i=u(n,t);return i?0<i.length?i[i.length-1].nextSibling:n.nextSibling:null}var t=r&&"<!--test-->"===r.createComment("test").text,e=t?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,o=t?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,h={ul:!0,ol:!0};s.f={Q:{},childNodes:function(t){return n(t)?u(t):t.childNodes},ja:function(t){if(n(t)){t=s.f.childNodes(t);for(var i=0,r=t.length;i<r;i++)s.removeNode(t[i])}else s.a.Ka(t)},T:function(t,i){if(n(t)){s.f.ja(t);for(var u=t.nextSibling,r=0,f=i.length;r<f;r++)u.parentNode.insertBefore(i[r],u)}else s.a.T(t,i)},Hb:function(t,i){n(t)?t.parentNode.insertBefore(i,t.nextSibling):t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i)},Bb:function(t,i,r){r?n(t)?t.parentNode.insertBefore(i,r.nextSibling):r.nextSibling?t.insertBefore(i,r.nextSibling):t.appendChild(i):s.f.Hb(t,i)},firstChild:function(t){return n(t)?!t.nextSibling||i(t.nextSibling)?null:t.nextSibling:t.firstChild},nextSibling:function(t){return n(t)&&(t=f(t)),t.nextSibling&&i(t.nextSibling)?null:t.nextSibling},gc:n,xc:function(n){return(n=(t?n.text:n.nodeValue).match(e))?n[1]:null},Fb:function(t){var o,r,u,e;if(h[s.a.t(t)]&&(o=t.firstChild,o))do if(1===o.nodeType){if(r=o.firstChild,u=null,r)do u?u.push(r):n(r)?(e=f(r,!0),e?r=e:u=[r]):i(r)&&(u=[r]);while(r=r.nextSibling);if(r=u)for(u=o.nextSibling,e=0;e<r.length;e++)u?t.insertBefore(r[e],u):t.appendChild(r[e])}while(o=o.nextSibling)}}}(),s.b("virtualElements",s.f),s.b("virtualElements.allowedBindings",s.f.Q),s.b("virtualElements.emptyNode",s.f.ja),s.b("virtualElements.insertAfter",s.f.Bb),s.b("virtualElements.prepend",s.f.Hb),s.b("virtualElements.setDomNodeChildren",s.f.T),function(){s.J=function(){this.Yb={}},s.a.extend(s.J.prototype,{nodeHasBindings:function(n){switch(n.nodeType){case 1:return null!=n.getAttribute("data-bind")||s.g.getComponentNameForNode(n);case 8:return s.f.gc(n);default:return!1}},getBindings:function(n,t){var i=this.getBindingsString(n,t),i=i?this.parseBindingsString(i,t,n):null;return s.g.mb(i,n,t,!1)},getBindingAccessors:function(n,t){var i=this.getBindingsString(n,t),i=i?this.parseBindingsString(i,t,n,{valueAccessors:!0}):null;return s.g.mb(i,n,t,!0)},getBindingsString:function(n){switch(n.nodeType){case 1:return n.getAttribute("data-bind");case 8:return s.f.xc(n);default:return null}},parseBindingsString:function(n,t,i,r){var u,f,e,o,h;try{return u=this.Yb,f=n+(r&&r.valueAccessors||""),(e=u[f])||(h="with($context){with($data||{}){return{"+s.h.ya(n,r)+"}}}",o=new Function("$context","$element",h),e=u[f]=o),e(t,i)}catch(c){throw c.message="Unable to parse bindings.\nBindings value: "+n+"\nMessage: "+c.message,c;}}}),s.J.instance=new s.J}(),s.b("bindingProvider",s.J),function(){function v(n){return function(){return n}}function u(n){return n()}function o(n){return s.a.na(s.k.B(n),function(t,i){return function(){return n()[i]}})}function y(n,t){return o(this.getBindings.bind(this,n,t))}function h(n,t,i){var r,u=s.f.firstChild(t),f=s.J.instance,e=f.preprocessNode;if(e){for(;r=u;)u=s.f.nextSibling(r),e.call(f,r);u=s.f.firstChild(t)}for(;r=u;)u=s.f.nextSibling(r),c(n,r,i)}function c(n,t,i){var u=!0,r=1===t.nodeType;r&&s.f.Fb(t),(r&&i||s.J.instance.nodeHasBindings(t))&&(u=l(t,null,n,i).shouldBindDescendants),u&&!a[s.a.t(t)]&&h(n,t,!r)}function p(n){var i=[],r={},t=[];return s.a.G(n,function u(f){if(!r[f]){var e=s.getBindingHandler(f);e&&(e.after&&(t.push(f),s.a.u(e.after,function(i){if(n[i]){if(-1!==s.a.m(t,i))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+t.join(", "));u(i)}}),t.length--),i.push({key:f,zb:e})),r[f]=!0}}),i}function l(t,i,r,e){var v=s.a.e.get(t,f),o,l,a,c;if(!i){if(v)throw Error("You cannot apply bindings multiple times to the same element.");s.a.e.set(t,f,!0)}if(!v&&e&&s.Ob(t,r),i&&"function"!=typeof i)o=i;else{var w=s.J.instance,b=w.getBindingAccessors||y,h=s.j(function(){return(o=i?i(r,t):b.call(w,t,r))&&r.I&&r.I(),o},null,{o:t});o&&h.Z()||(h=null)}return o&&(a=h?function(n){return function(){return u(h()[n])}}:function(n){return o[n]},c=function(){return s.a.na(h?h():o,u)},c.get=function(n){return o[n]&&u(a(n))},c.has=function(n){return n in o},e=p(o),s.a.u(e,function(i){var f=i.zb.init,e=i.zb.update,u=i.key;if(8===t.nodeType&&!s.f.Q[u])throw Error("The binding '"+u+"' cannot be used with virtual elements");try{"function"==typeof f&&s.k.B(function(){var i=f(t,a(u),c,r.$data,r);if(i&&i.controlsDescendantBindings){if(l!==n)throw Error("Multiple bindings ("+l+" and "+u+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");l=u}}),"function"==typeof e&&s.j(function(){e(t,a(u),c,r.$data,r)},null,{o:t})}catch(h){throw h.message='Unable to process binding "'+u+": "+o[u]+'"\nMessage: '+h.message,h;}})),{shouldBindDescendants:l===n}}function r(n){return n&&n instanceof s.N?n:new s.N(n)}var a,f,e;s.d={},a={script:!0},s.getBindingHandler=function(n){return s.d[n]},s.N=function(t,i,r,u){var f=this,h="function"==typeof t&&!s.C(t),o,e=s.j(function(){var o=h?t():t,n=s.a.c(o);return i?(i.I&&i.I(),s.a.extend(f,i),e&&(f.I=e)):(f.$parents=[],f.$root=n,f.ko=s),f.$rawData=o,f.$data=n,r&&(f[r]=n),u&&u(f,i,n),f.$data},null,{Ia:function(){return o&&!s.a.ob(o)},o:!0});e.Z()&&(f.I=e,e.equalityComparer=null,o=[],e.Tb=function(t){o.push(t),s.a.w.da(t,function(t){s.a.ua(o,t),o.length||(e.K(),f.I=e=n)})})},s.N.prototype.createChildContext=function(n,t,i){return new s.N(n,this,t,function(n,t){n.$parentContext=t,n.$parent=t.$data,n.$parents=(t.$parents||[]).slice(0),n.$parents.unshift(n.$parent),i&&i(n)})},s.N.prototype.extend=function(n){return new s.N(this.I||this.$data,this,null,function(t,i){t.$rawData=i.$rawData,s.a.extend(t,"function"==typeof n?n():n)})},f=s.a.e.F(),e=s.a.e.F(),s.Ob=function(n,t){if(2==arguments.length)s.a.e.set(n,e,t),t.I&&t.I.Tb(n);else return s.a.e.get(n,e)},s.ra=function(n,t,i){return 1===n.nodeType&&s.f.Fb(n),l(n,t,r(i),!0)},s.Wb=function(n,t,i){return i=r(i),s.ra(n,"function"==typeof t?o(t.bind(null,i,n)):s.a.na(t,v),i)},s.Ca=function(n,t){1!==t.nodeType&&8!==t.nodeType||h(r(n),t,!0)},s.pb=function(n,u){if(!t&&i.jQuery&&(t=i.jQuery),u&&1!==u.nodeType&&8!==u.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");u=u||i.document.body,c(r(n),u,!0)},s.Ha=function(t){switch(t.nodeType){case 1:case 8:var i=s.Ob(t);if(i)return i;if(t.parentNode)return s.Ha(t.parentNode)}return n},s.$b=function(t){return(t=s.Ha(t))?t.$data:n},s.b("bindingHandlers",s.d),s.b("applyBindings",s.pb),s.b("applyBindingsToDescendants",s.Ca),s.b("applyBindingAccessorsToNode",s.ra),s.b("applyBindingsToNode",s.Wb),s.b("contextFor",s.Ha),s.b("dataFor",s.$b)}(),function(n){function u(t,u){var e=i.hasOwnProperty(t)?i[t]:n,o;e||(e=i[t]=new s.P,f(t,function(n){r[t]=n,delete i[t],o?e.notifySubscribers(n):setTimeout(function(){e.notifySubscribers(n)},0)}),o=!0),e.U(u)}function f(n,i){t("getConfig",[n],function(r){r?t("loadComponent",[n,r],function(n){i(n)}):i(null)})}function t(i,r,u,f){var e,o,h;if(f||(f=s.g.loaders.slice(0)),e=f.shift(),e)if(o=e[i],o){if(h=!1,o.apply(e,r.concat(function(n){h?u(null):null!==n?u(n):t(i,r,u,f)}))!==n&&(h=!0,!e.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.");}else t(i,r,u,f);else u(null)}var i={},r={};s.g={get:function(t,i){var f=r.hasOwnProperty(t)?r[t]:n;f?setTimeout(function(){i(f)},0):u(t,i)},tb:function(n){delete r[n]},jb:t},s.g.loaders=[],s.b("components",s.g),s.b("components.get",s.g.get),s.b("components.clearCachedDefinition",s.g.tb)}(),function(){function l(n,i,r,f){function e(){0==--c&&f(o)}var o={},c=2,h=r.template;r=r.viewModel,h?u(i,h,function(t){s.g.jb("loadTemplate",[n,t],function(n){o.template=n,e()})}):e(),r?u(i,r,function(i){s.g.jb("loadViewModel",[n,i],function(n){o[t]=n,e()})}):e()}function e(n,i,r){if("function"==typeof i)r(function(n){return new i(n)});else if("function"==typeof i[t])r(i[t]);else if("instance"in i){var u=i.instance;r(function(){return u})}else"viewModel"in i?e(n,i.viewModel,r):n("Unknown viewModel value: "+i)}function h(n){switch(s.a.t(n)){case"script":return s.a.ba(n.text);case"textarea":return s.a.ba(n.value);case"template":if(c(n.content))return s.a.ia(n.content.childNodes)}return s.a.ia(n.childNodes)}function c(n){return i.DocumentFragment?n instanceof DocumentFragment:n&&11===n.nodeType}function u(n,t,r){"string"==typeof t.require?o||i.require?(o||i.require)([t.require],r):n("Uses require, but no AMD loader is present"):r(t)}function f(n){return function(t){throw Error("Component '"+n+"': "+t);}}var n={},t;s.g.tc=function(t,i){if(!i)throw Error("Invalid configuration for "+t);if(s.g.Qa(t))throw Error("Component "+t+" is already registered");n[t]=i},s.g.Qa=function(t){return t in n},s.g.wc=function(t){delete n[t],s.g.tb(t)},s.g.ub={getConfig:function(t,i){i(n.hasOwnProperty(t)?n[t]:null)},loadComponent:function(n,t,i){var r=f(n);u(r,t,function(t){l(n,r,t,i)})},loadTemplate:function(n,t,u){if(n=f(n),"string"==typeof t)u(s.a.ba(t));else if(t instanceof Array)u(t);else if(c(t))u(s.a.S(t.childNodes));else if(t.element)if(t=t.element,i.HTMLElement?t instanceof HTMLElement:t&&t.tagName&&1===t.nodeType)u(h(t));else if("string"==typeof t){var e=r.getElementById(t);e?u(h(e)):n("Cannot find element with ID "+t)}else n("Unknown element type: "+t);else n("Unknown template value: "+t)},loadViewModel:function(n,t,i){e(f(n),t,i)}},t="createViewModel",s.b("components.register",s.g.tc),s.b("components.isRegistered",s.g.Qa),s.b("components.unregister",s.g.wc),s.b("components.defaultLoader",s.g.ub),s.g.loaders.push(s.g.ub),s.g.Ub=n}(),function(){function n(n,i){var r=n.getAttribute("params");if(r){var r=t.parseBindingsString(r,i,n,{valueAccessors:!0,bindingParams:!0}),r=s.a.na(r,function(t){return s.s(t,null,{o:n})}),u=s.a.na(r,function(t){return t.Z()?s.s(function(){return s.a.c(t())},null,{o:n}):t.v()});return u.hasOwnProperty("$raw")||(u.$raw=r),u}return{$raw:{}}}s.g.getComponentNameForNode=function(n){return n=s.a.t(n),s.g.Qa(n)&&n},s.g.mb=function(t,i,r,u){var f,e;if(1===i.nodeType&&(f=s.g.getComponentNameForNode(i),f)){if(t=t||{},t.component)throw Error('Cannot use the "component" binding on a custom element matching a component');e={name:f,params:n(i,r)},t.component=u?function(){return e}:e}return t};var t=new s.J;9>s.a.L&&(s.g.register=function(n){return function(t){return r.createElement(t),n.apply(this,arguments)}}(s.g.register),r.createDocumentFragment=function(n){return function(){var i=n(),r=s.g.Ub,t;for(t in r)r.hasOwnProperty(t)&&i.createElement(t);return i}}(r.createDocumentFragment))}(),function(){var n=0;s.d.component={init:function(t,i,r,u,f){function h(){var n=e&&e.dispose;"function"==typeof n&&n.call(e),o=null}var e,o;return s.a.w.da(t,h),s.s(function(){var u=s.a.c(i()),r,c,l;if("string"==typeof u?r=u:(r=s.a.c(u.name),c=s.a.c(u.params)),!r)throw Error("No component name specified");l=o=++n,s.g.get(r,function(n){var i,u;if(o===l){if(h(),!n)throw Error("Unknown component '"+r+"'");if(i=n.template,!i)throw Error("Component '"+r+"' has no template");i=s.a.ia(i),s.f.T(t,i),i=c,u=n.createViewModel,n=u?u.call(n,i,{element:t}):i,i=f.createChildContext(n),e=n,s.Ca(i,t)}})},null,{o:t}),{controlsDescendantBindings:!0}}},s.f.Q.component=!0}(),w={"class":"className","for":"htmlFor"},s.d.attr={update:function(t,i){var r=s.a.c(i())||{};s.a.G(r,function(i,r){r=s.a.c(r);var u=!1===r||null===r||r===n;u&&t.removeAttribute(i),8>=s.a.L&&i in w?(i=w[i],u?t.removeAttribute(i):t[i]=r):u||t.setAttribute(i,r.toString()),"name"===i&&s.a.Mb(t,u?"":r.toString())})}},function(){s.d.checked={after:["value","attr"],init:function(t,i,r){function c(){var c=t.checked,n=a?u():c,o;s.Y.ma()||f&&!c||(o=s.k.B(i),e?h!==n?(c&&(s.a.ea(o,n,!0),s.a.ea(o,h,!1)),h=n):s.a.ea(o,n,c):s.h.pa(o,r,"checked",n,!0))}function l(){var n=s.a.c(i());t.checked=e?0<=s.a.m(n,u()):o?n:u()===n}var u=s.Ib(function(){return r.has("checkedValue")?s.a.c(r.get("checkedValue")):r.has("value")?s.a.c(r.get("value")):t.value}),o="checkbox"==t.type,f="radio"==t.type;if(o||f){var e=o&&s.a.c(i())instanceof Array,h=e?u():n,a=f||e;f&&!t.name&&s.d.uniqueName.init(t,function(){return!0}),s.s(c,null,{o:t}),s.a.n(t,"click",c),s.s(l,null,{o:t})}}},s.h.V.checked=!0,s.d.checkedValue={update:function(n,t){n.value=s.a.c(t())}}}(),s.d.css={update:function(n,t){var i=s.a.c(t());"object"==typeof i?s.a.G(i,function(t,i){i=s.a.c(i),s.a.Ba(n,t,i)}):(i=String(i||""),s.a.Ba(n,n.__ko__cssValue,!1),n.__ko__cssValue=i,s.a.Ba(n,i,!0))}},s.d.enable={update:function(n,t){var i=s.a.c(t());i&&n.disabled?n.removeAttribute("disabled"):i||n.disabled||(n.disabled=!0)}},s.d.disable={update:function(n,t){s.d.enable.update(n,function(){return!s.a.c(t())})}},s.d.event={init:function(n,t,i,r,u){var f=t()||{};s.a.G(f,function(f){"string"==typeof f&&s.a.n(n,f,function(n){var o,h=t()[f],e;if(h){try{e=s.a.S(arguments),r=u.$data,e.unshift(r),o=h.apply(r,e)}finally{!0!==o&&(n.preventDefault?n.preventDefault():n.returnValue=!1)}!1===i.get(f+"Bubble")&&(n.cancelBubble=!0,n.stopPropagation&&n.stopPropagation())}})})}},s.d.foreach={Eb:function(n){return function(){var i=n(),t=s.a.Xa(i);return!t||"number"==typeof t.length?{foreach:i,templateEngine:s.O.Oa}:(s.a.c(i),{foreach:t.data,as:t.as,includeDestroyed:t.includeDestroyed,afterAdd:t.afterAdd,beforeRemove:t.beforeRemove,afterRender:t.afterRender,beforeMove:t.beforeMove,afterMove:t.afterMove,templateEngine:s.O.Oa})}},init:function(n,t){return s.d.template.init(n,s.d.foreach.Eb(t))},update:function(n,t,i,r,u){return s.d.template.update(n,s.d.foreach.Eb(t),i,r,u)}},s.h.ha.foreach=!1,s.f.Q.foreach=!0,s.d.hasfocus={init:function(n,t,i){function r(r){var u,f;if(n.__ko_hasfocusUpdating=!0,u=n.ownerDocument,"activeElement"in u){try{f=u.activeElement}catch(e){f=u.body}r=f===n}u=t(),s.h.pa(u,i,"hasfocus",r,!0),n.__ko_hasfocusLastValue=r,n.__ko_hasfocusUpdating=!1}var u=r.bind(null,!0),f=r.bind(null,!1);s.a.n(n,"focus",u),s.a.n(n,"focusin",u),s.a.n(n,"blur",f),s.a.n(n,"focusout",f)},update:function(n,t){var i=!!s.a.c(t());n.__ko_hasfocusUpdating||n.__ko_hasfocusLastValue===i||(i?n.focus():n.blur(),s.k.B(s.a.oa,null,[n,i?"focusin":"focusout"]))}},s.h.V.hasfocus=!0,s.d.hasFocus=s.d.hasfocus,s.h.V.hasFocus=!0,s.d.html={init:function(){return{controlsDescendantBindings:!0}},update:function(n,t){s.a.$a(n,t())}},p("if"),p("ifnot",!1,!0),p("with",!0,!1,function(n,t){return n.createChildContext(t)}),v={},s.d.options={init:function(n){if("select"!==s.a.t(n))throw Error("options binding applies only to SELECT elements");for(;0<n.length;)n.remove(0);return{controlsDescendantBindings:!0}},update:function(t,i,r){function c(){return s.a.ta(t.options,function(n){return n.selected})}function l(n,t,i){var r=typeof t;return"function"==r?t(n):"string"==r?n[t]:i}function a(n,i){if(f.length){var r=0<=s.a.m(f,s.i.q(i[0]));s.a.Nb(i[0],r),h&&!r&&s.k.B(s.a.oa,null,[t,"change"])}}var e=0!=t.length&&t.multiple?t.scrollTop:null,u=s.a.c(i()),y=r.get("optionsIncludeDestroyed"),o,f,h;i={},f=t.multiple?s.a.Da(c(),s.i.q):0<=t.selectedIndex?[s.i.q(t.options[t.selectedIndex])]:[],u&&("undefined"==typeof u.length&&(u=[u]),o=s.a.ta(u,function(t){return y||t===n||null===t||!s.a.c(t._destroy)}),r.has("optionsCaption")&&(u=s.a.c(r.get("optionsCaption")),null!==u&&u!==n&&o.unshift(v))),h=!1,i.beforeRemove=function(n){t.removeChild(n)},u=a,r.has("optionsAfterRender")&&(u=function(t,i){a(0,i),s.k.B(r.get("optionsAfterRender"),null,[i[0],t!==v?t:n])}),s.a.Za(t,o,function(i,u,e){return e.length&&(f=e[0].selected?[s.i.q(e[0])]:[],h=!0),u=t.ownerDocument.createElement("option"),i===v?(s.a.bb(u,r.get("optionsCaption")),s.i.ca(u,n)):(e=l(i,r.get("optionsValue"),i),s.i.ca(u,s.a.c(e)),i=l(i,r.get("optionsText"),e),s.a.bb(u,i)),[u]},i,u),s.k.B(function(){r.get("valueAllowUnset")&&r.has("value")?s.i.ca(t,s.a.c(r.get("value")),!0):(t.multiple?f.length&&c().length<f.length:f.length&&0<=t.selectedIndex?s.i.q(t.options[t.selectedIndex])!==f[0]:f.length||0<=t.selectedIndex)&&s.a.oa(t,"change")}),s.a.dc(t),e&&20<Math.abs(e-t.scrollTop)&&(t.scrollTop=e)}},s.d.options.Va=s.a.e.F(),s.d.selectedOptions={after:["options","foreach"],init:function(n,t,i){s.a.n(n,"change",function(){var u=t(),r=[];s.a.u(n.getElementsByTagName("option"),function(n){n.selected&&r.push(s.i.q(n))}),s.h.pa(u,i,"selectedOptions",r)})},update:function(n,t){if("select"!=s.a.t(n))throw Error("values binding applies only to SELECT elements");var i=s.a.c(t());i&&"number"==typeof i.length&&s.a.u(n.getElementsByTagName("option"),function(n){var t=0<=s.a.m(i,s.i.q(n));s.a.Nb(n,t)})}},s.h.V.selectedOptions=!0,s.d.style={update:function(t,i){var r=s.a.c(i()||{});s.a.G(r,function(i,r){r=s.a.c(r),(null===r||r===n||!1===r)&&(r=""),t.style[i]=r})}},s.d.submit={init:function(n,t,i,r,u){if("function"!=typeof t())throw Error("The value for a submit binding must be a function");s.a.n(n,"submit",function(i){var r,f=t();try{r=f.call(u.$data,n)}finally{!0!==r&&(i.preventDefault?i.preventDefault():i.returnValue=!1)}})}},s.d.text={init:function(){return{controlsDescendantBindings:!0}},update:function(n,t){s.a.bb(n,t())}},s.f.Q.text=!0,function(){if(i&&i.navigator)var t=function(n){if(n)return parseFloat(n[1])},e=i.opera&&i.opera.version&&parseInt(i.opera.version()),r=i.navigator.userAgent,o=t(r.match(/^(?:(?!chrome).)*version\/([^ ]*) safari/i)),h=t(r.match(/Firefox\/([^ ]*)/));if(10>s.a.L)var u=s.a.e.F(),f=s.a.e.F(),c=function(n){var t=this.activeElement;(t=t&&s.a.e.get(t,f))&&t(n)},l=function(n,t){var i=n.ownerDocument;s.a.e.get(i,u)||(s.a.e.set(i,u,!0),s.a.n(i,"selectionchange",c)),s.a.e.set(n,f,t)};s.d.textInput={init:function(t,i,r){function u(n,i){s.a.n(t,n,i)}function p(){var r=s.a.c(i());(null===r||r===n)&&(r=""),v!==n&&r===v?setTimeout(p,4):t.value!==r&&(y=r,t.value=r)}function c(){a||(v=t.value,a=setTimeout(f,4))}function f(){clearTimeout(a),v=a=n;var u=t.value;y!==u&&(y=u,s.h.pa(i(),r,"textInput",u))}var y=t.value,a,v;10>s.a.L?(u("propertychange",function(n){"value"===n.propertyName&&f()}),8==s.a.L&&(u("keyup",f),u("keydown",f)),8<=s.a.L&&(l(t,f),u("dragend",c))):(u("input",f),5>o&&"textarea"===s.a.t(t)?(u("keydown",c),u("paste",c),u("cut",c)):11>e?u("keydown",c):4>h&&(u("DOMAutoComplete",f),u("dragdrop",f),u("drop",f))),u("change",f),s.s(p,null,{o:t})}},s.h.V.textInput=!0,s.d.textinput={preprocess:function(n,t,i){i("textInput",n)}}}(),s.d.uniqueName={init:function(n,t){if(t()){var i="ko_unique_"+ ++s.d.uniqueName.Zb;s.a.Mb(n,i)}}},s.d.uniqueName.Zb=0,s.d.value={after:["options","foreach"],init:function(n,t,i){var o,h;if("input"!=n.tagName.toLowerCase()||"checkbox"!=n.type&&"radio"!=n.type){var r=["change"],u=i.get("valueUpdate"),f=!1,e=null;u&&("string"==typeof u&&(u=[u]),s.a.ga(r,u),r=s.a.rb(r)),o=function(){e=null,f=!1;var r=t(),u=s.i.q(n);s.h.pa(r,i,"value",u)},!s.a.L||"input"!=n.tagName.toLowerCase()||"text"!=n.type||"off"==n.autocomplete||n.form&&"off"==n.form.autocomplete||-1!=s.a.m(r,"propertychange")||(s.a.n(n,"propertychange",function(){f=!0}),s.a.n(n,"focus",function(){f=!1}),s.a.n(n,"blur",function(){f&&o()})),s.a.u(r,function(t){var i=o;s.a.vc(t,"after")&&(i=function(){e=s.i.q(n),setTimeout(o,0)},t=t.substring(5)),s.a.n(n,t,i)}),h=function(){var r=s.a.c(t()),u=s.i.q(n),f;null!==e&&r===e?setTimeout(h,0):r!==u&&("select"===s.a.t(n)?(f=i.get("valueAllowUnset"),u=function(){s.i.ca(n,r,f)},u(),f||r===s.i.q(n)?setTimeout(u,0):s.k.B(s.a.oa,null,[n,"change"])):s.i.ca(n,r))},s.s(h,null,{o:n})}else s.ra(n,{checkedValue:t})},update:function(){}},s.h.V.value=!0,s.d.visible={update:function(n,t){var i=s.a.c(t()),r="none"!=n.style.display;i&&!r?n.style.display="":!i&&r&&(n.style.display="none")}},function(n){s.d[n]={init:function(t,i,r,u,f){return s.d.event.init.call(this,t,function(){var t={};return t[n]=i(),t},r,u,f)}}}("click"),s.H=function(){},s.H.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource");},s.H.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock");},s.H.prototype.makeTemplateSource=function(n,t){if("string"==typeof n){t=t||r;var i=t.getElementById(n);if(!i)throw Error("Cannot find template with ID "+n);return new s.r.l(i)}if(1==n.nodeType||8==n.nodeType)return new s.r.fa(n);throw Error("Unknown template type: "+n);},s.H.prototype.renderTemplate=function(n,t,i,r){return n=this.makeTemplateSource(n,r),this.renderTemplateSource(n,t,i)},s.H.prototype.isTemplateRewritten=function(n,t){return!1===this.allowTemplateRewriting?!0:this.makeTemplateSource(n,t).data("isRewritten")},s.H.prototype.rewriteTemplate=function(n,t,i){n=this.makeTemplateSource(n,i),t=t(n.text()),n.text(t),n.data("isRewritten",!0)},s.b("templateEngine",s.H),s.fb=function(){function n(n,t,i,r){var o,f,u,e;for(n=s.h.Wa(n),o=s.h.ha,f=0;f<n.length;f++)if(u=n[f].key,o.hasOwnProperty(u))if(e=o[u],"function"==typeof e){if(u=e(n[f].value))throw Error(u);}else if(!e)throw Error("This template engine does not support the '"+u+"' binding within its templates");return i="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+s.h.ya(n,{valueAccessors:!0})+" } })()},'"+i.toLowerCase()+"')",r.createJavaScriptEvaluatorBlock(i)+t}var t=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,i=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{ec:function(n,t,i){t.isTemplateRewritten(n,i)||t.rewriteTemplate(n,function(n){return s.fb.nc(n,t)},i)},nc:function(r,u){return r.replace(t,function(t,i,r,f,e){return n(e,i,r,u)}).replace(i,function(t,i){return n(i,"<!-- ko -->","#comment",u)})},Xb:function(n,t){return s.D.Ua(function(i,r){var u=i.nextSibling;u&&u.nodeName.toLowerCase()===t&&s.ra(u,n,r)})}}}(),s.b("__tr_ambtns",s.fb.Xb),function(){var i,t;s.r={},s.r.l=function(n){this.l=n},s.r.l.prototype.text=function(){var n=s.a.t(this.l),n="script"===n?"text":"textarea"===n?"value":"innerHTML",t;if(0==arguments.length)return this.l[n];t=arguments[0],"innerHTML"===n?s.a.$a(this.l,t):this.l[n]=t},i=s.a.e.F()+"_",s.r.l.prototype.data=function(n){if(1===arguments.length)return s.a.e.get(this.l,i+n);s.a.e.set(this.l,i+n,arguments[1])},t=s.a.e.F(),s.r.fa=function(n){this.l=n},s.r.fa.prototype=new s.r.l,s.r.fa.prototype.text=function(){if(0==arguments.length){var i=s.a.e.get(this.l,t)||{};return i.gb===n&&i.Ga&&(i.gb=i.Ga.innerHTML),i.gb}s.a.e.set(this.l,t,{gb:arguments[0]})},s.r.l.prototype.nodes=function(){if(0==arguments.length)return(s.a.e.get(this.l,t)||{}).Ga;s.a.e.set(this.l,t,{Ga:arguments[0]})},s.b("templateSources",s.r),s.b("templateSources.domElement",s.r.l),s.b("templateSources.anonymousTemplate",s.r.fa)}(),function(){function t(n,t,i){var r;for(t=s.f.nextSibling(t);n&&(r=n)!==t;)n=s.f.nextSibling(r),i(r,n)}function f(n,i){if(n.length){var r=n[0],u=n[n.length-1],f=r.parentNode,e=s.J.instance,o=e.preprocessNode;if(o){if(t(r,u,function(n,t){var f=n.previousSibling,i=o.call(e,n);i&&(n===r&&(r=i[0]||t),n===u&&(u=i[i.length-1]||f))}),n.length=0,!r)return;r===u?n.push(r):(n.push(r,u),s.a.ka(n,f))}t(r,u,function(n){1!==n.nodeType&&8!==n.nodeType||s.pb(i,n)}),t(r,u,function(n){1!==n.nodeType&&8!==n.nodeType||s.D.Sb(n,[i])}),s.a.ka(n,f)}}function i(n){return n.nodeType?n:0<n.length?n[0]:null}function e(n,t,u,e,o){o=o||{};var h=n&&i(n),h=h&&h.ownerDocument,c=o.templateEngine||r;if(s.fb.ec(u,c,h),u=c.renderTemplate(u,e,o,h),"number"!=typeof u.length||0<u.length&&"number"!=typeof u[0].nodeType)throw Error("Template engine must return an array of DOM nodes");h=!1;switch(t){case"replaceChildren":s.f.T(n,u),h=!0;break;case"replaceNode":s.a.Lb(n,u),h=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+t);}return h&&(f(u,e),o.afterRender&&s.k.B(o.afterRender,null,[u,e.$data])),u}var r,u;s.ab=function(t){if(t!=n&&!(t instanceof s.H))throw Error("templateEngine must inherit from ko.templateEngine");r=t},s.Ya=function(t,u,f,o,h){if(f=f||{},(f.templateEngine||r)==n)throw Error("Set a template engine before calling renderTemplate");if(h=h||"replaceChildren",o){var c=i(o);return s.j(function(){var n=u&&u instanceof s.N?u:new s.N(s.a.c(u)),r=s.C(t)?t():"function"==typeof t?t(n.$data,n):t,n=e(o,h,r,n,f);"replaceNode"==h&&(o=n,c=i(o))},null,{Ia:function(){return!c||!s.a.Ja(c)},o:c&&"replaceNode"==h?c.parentNode:c})}return s.D.Ua(function(n){s.Ya(t,u,f,n,"replaceNode")})},s.uc=function(t,i,r,u,o){function c(n,t){f(t,h),r.afterRender&&r.afterRender(t,n)}function l(n,i){h=o.createChildContext(n,r.as,function(n){n.$index=i});var u=s.C(t)?t():"function"==typeof t?t(n,h):t;return e(null,"ignoreTargetNode",u,h,r)}var h;return s.j(function(){var t=s.a.c(i)||[];"undefined"==typeof t.length&&(t=[t]),t=s.a.ta(t,function(t){return r.includeDestroyed||t===n||null===t||!s.a.c(t._destroy)}),s.k.B(s.a.Za,null,[u,t,l,r,c])},null,{o:u})},u=s.a.e.F(),s.d.template={init:function(n,t){var i=s.a.c(t());return"string"==typeof i||i.name?s.f.ja(n):(i=s.f.childNodes(n),i=s.a.oc(i),new s.r.fa(n).nodes(i)),{controlsDescendantBindings:!0}},update:function(t,i,r,f,e){var h=i(),o;i=s.a.c(h),r=!0,f=null,"string"==typeof i?i={}:(h=i.name,"if"in i&&(r=s.a.c(i["if"])),r&&"ifnot"in i&&(r=!s.a.c(i.ifnot)),o=s.a.c(i.data)),"foreach"in i?f=s.uc(h||t,r&&i.foreach||[],i,t,e):r?(e="data"in i?e.createChildContext(o,i.as):e,f=s.Ya(h||t,e,i,t)):s.f.ja(t),e=f,(o=s.a.e.get(t,u))&&"function"==typeof o.K&&o.K(),s.a.e.set(t,u,e&&e.Z()?e:n)}},s.h.ha.template=function(n){return n=s.h.Wa(n),1==n.length&&n[0].unknown||s.h.lc(n,"name")?null:"This template engine does not support anonymous templates nested within its templates"},s.f.Q.template=!0}(),s.b("setTemplateEngine",s.ab),s.b("renderTemplate",s.Ya),s.a.wb=function(n,t,i){if(n.length&&t.length)for(var o,r,u,f,e=o=0;(!i||e<i)&&(u=n[o]);++o){for(r=0;f=t[r];++r)if(u.value===f.value){u.moved=f.index,f.moved=u.index,t.splice(r,1),e=r=0;break}e+=r}},s.a.Fa=function(){function n(n,t,i,r,u){for(var o=Math.min,l=Math.max,a=[],c=n.length,f,h=t.length,v=h-c||1,w=c+h+1,y,p,b,e=0;e<=c;e++)for(p=y,a.push(y=[]),b=o(h,e+v),f=l(0,e-1);f<=b;f++)y[f]=f?e?n[e-1]===t[f-1]?p[f-1]:o(p[f]||w,y[f-1]||w)+1:f+1:e+1;for(o=[],l=[],v=[],e=c,f=h;e||f;)h=a[e][f]-1,f&&h===a[e][f-1]?l.push(o[o.length]={status:i,value:t[--f],index:f}):e&&h===a[e-1][f]?v.push(o[o.length]={status:r,value:n[--e],index:e}):(--f,--e,u.sparse||o.push({status:"retained",value:t[f]}));return s.a.wb(l,v,10*c),o.reverse()}return function(t,i,r){return r="boolean"==typeof r?{dontLimitMoves:r}:r||{},t=t||[],i=i||[],t.length<=i.length?n(t,i,"added","deleted",r):n(i,t,"deleted","added",r)}}(),s.b("utils.compareArrays",s.a.Fa),function(){function i(t,i,r,u,f){var e=[],o=s.j(function(){var n=i(r,f,s.a.ka(e,t))||[];0<e.length&&(s.a.Lb(e,n),u&&s.k.B(u,null,[r,n,f])),e.length=0,s.a.ga(e,n)},null,{o:t,Ia:function(){return!s.a.ob(e)}});return{$:e,j:o.Z()?o:n}}var t=s.a.e.F();s.a.Za=function(r,u,f,e,o){function rt(n,t){h=k[t],g!==t&&(tt[n]=h),h.Na(g++),s.a.ka(h.$,r),d.push(h),y.push(h)}function v(n,t){if(n)for(var i=0,r=t.length;i<r;i++)t[i]&&s.a.u(t[i].$,function(r){n(r,i,t[i].sa)})}var c,b,ut;u=u||[],e=e||{};var b=s.a.e.get(r,t)===n,k=s.a.e.get(r,t)||[],it=s.a.Da(k,function(n){return n.sa}),l=s.a.Fa(it,u,e.dontLimitMoves),d=[],a=0,g=0,nt=[],y=[];u=[];for(var tt=[],it=[],h,c=0,p,w;p=l[c];c++)switch(w=p.moved,p.status){case"deleted":w===n&&(h=k[a],h.j&&h.j.K(),nt.push.apply(nt,s.a.ka(h.$,r)),e.beforeRemove&&(u[c]=h,y.push(h))),a++;break;case"retained":rt(c,a++);break;case"added":w!==n?rt(c,w):(h={sa:p.value,Na:s.p(g++)},d.push(h),y.push(h),b||(it[c]=h))}for(v(e.beforeMove,tt),s.a.u(nt,e.beforeRemove?s.R:s.removeNode),c=0,b=s.f.firstChild(r);h=y[c];c++){for(h.$||s.a.extend(h,i(r,f,h.sa,o,h.Na)),a=0;l=h.$[a];b=l.nextSibling,ut=l,a++)l!==b&&s.f.Bb(r,l,ut);!h.ic&&o&&(o(h.sa,h.$,h.Na),h.ic=!0)}v(e.beforeRemove,u),v(e.afterMove,tt),v(e.afterAdd,it),s.a.e.set(r,t,d)}}(),s.b("utils.setDomNodeChildrenFromArrayMapping",s.a.Za),s.O=function(){this.allowTemplateRewriting=!1},s.O.prototype=new s.H,s.O.prototype.renderTemplateSource=function(n){var t=(9>s.a.L?0:n.nodes)?n.nodes():null;return t?s.a.S(t.cloneNode(!0).childNodes):(n=n.text(),s.a.ba(n))},s.O.Oa=new s.O,s.ab(s.O.Oa),s.b("nativeTemplateEngine",s.O),function(){s.Sa=function(){var n=this.kc=function(){if(!t||!t.tmpl)return 0;try{if(0<=t.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(n){}return 1}();this.renderTemplateSource=function(i,u,f){if(f=f||{},2>n)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var e=i.data("precompiled");return e||(e=i.text()||"",e=t.template(null,"{{ko_with $item.koBindingContext}}"+e+"{{/ko_with}}"),i.data("precompiled",e)),i=[u.$data],u=t.extend({koBindingContext:u},f.templateOptions),u=t.tmpl(e,i,u),u.appendTo(r.createElement("div")),t.fragments={},u},this.createJavaScriptEvaluatorBlock=function(n){return"{{ko_code ((function() { return "+n+" })()) }}"},this.addTemplate=function(n,t){r.write("<script type='text/html' id='"+n+"'>"+t+"<\/script>")},0<n&&(t.tmpl.tag.ko_code={open:"__.push($1 || '');"},t.tmpl.tag.ko_with={open:"with($1) {",close:"} "})},s.Sa.prototype=new s.H;var n=new s.Sa;0<n.kc&&s.ab(n),s.b("jqueryTmplTemplateEngine",s.Sa)}()})})()}(),function(n){function s(n){return ot.call(n)==="[object Function]"}function h(n){return ot.call(n)==="[object Array]"}function r(n,t){if(n)for(var i=0;i<n.length;i+=1)if(n[i]&&t(n[i],i,n))break}function it(n,t){if(n)for(var i=n.length-1;i>-1;i-=1)if(n[i]&&t(n[i],i,n))break}function e(n,t){for(var i in n)if(n.hasOwnProperty(i)&&t(n[i],i))break}function b(n,t,i,r){return t&&e(t,function(t,u){(i||!y.call(n,u))&&(r&&typeof t!="string"?(n[u]||(n[u]={}),b(n[u],t,i,r)):n[u]=t)}),n}function i(n,t){return function(){return t.apply(n,arguments)}}function rt(t){if(!t)return t;var i=n;return r(t.split("."),function(n){i=i[n]}),i}function c(n,t,i,r){return t=Error(t+"\nhttp://requirejs.org/docs/errors.html#"+n),t.requireType=n,t.requireModules=r,i&&(t.originalError=i),t}function ht(){return v&&v.readyState==="interactive"?v:(it(document.getElementsByTagName("script"),function(n){if(n.readyState==="interactive")return v=n}),v)}var t,l,a,k,o,d,v,nt,ut,ft,ct=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,lt=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,et=/\.js$/,at=/^\.\//;l=Object.prototype;var ot=l.toString,y=l.hasOwnProperty,vt=Array.prototype.splice,u=!!(typeof window!="undefined"&&navigator&&document),st=!u&&typeof importScripts!="undefined",yt=u&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,tt=typeof opera!="undefined"&&opera.toString()==="[object Opera]",p={},f={},g=[],w=!1;if(typeof define=="undefined"){if(typeof requirejs!="undefined"){if(s(requirejs))return;f=requirejs,requirejs=void 0}typeof require=="undefined"||s(require)||(f=require,require=void 0),t=requirejs=function(n,i,r,u){var f,e="_";return h(n)||typeof n=="string"||(f=n,h(i)?(n=i,i=r,r=u):n=[]),f&&f.context&&(e=f.context),(u=p[e])||(u=p[e]=t.s.newContext(e)),f&&u.configure(f),u.require(n,i,r)},t.config=function(n){return t(n)},t.nextTick=typeof setTimeout!="undefined"?function(n){setTimeout(n,4)}:function(n){n()},require||(require=t),t.version="2.1.1",t.jsExtRegExp=/^\/|:|\?|\.js$/,t.isBrowser=u,l=t.s={contexts:p,newContext:function(f){function it(n,t,i){var r,f,h,e,a,c,v,u=t&&t.split("/"),o,s;if(r=u,o=l.map,s=o&&o["*"],n&&n.charAt(0)===".")if(t){for(r=l.pkgs[t]?u=[t]:u.slice(0,u.length-1),t=n=r.concat(n.split("/")),r=0;t[r];r+=1)if(f=t[r],f===".")t.splice(r,1),r-=1;else if(f==="..")if(r===1&&(t[2]===".."||t[0]===".."))break;else r>0&&(t.splice(r-1,2),r-=2);r=l.pkgs[t=n[0]],n=n.join("/"),r&&n===t+"/"+r.main&&(n=t)}else n.indexOf("./")===0&&(n=n.substring(2));if(i&&(u||s)&&o){for(t=n.split("/"),r=t.length;r>0;r-=1){if(h=t.slice(0,r).join("/"),u)for(f=u.length;f>0;f-=1)if((i=o[u.slice(0,f).join("/")])&&(i=i[h])){e=i,a=r;break}if(e)break;!c&&s&&s[h]&&(c=s[h],v=r)}!e&&c&&(e=c,a=v),e&&(t.splice(0,a,e),n=t.join("/"))}return n}function ni(n){u&&r(document.getElementsByTagName("script"),function(t){if(t.getAttribute("data-requiremodule")===n&&t.getAttribute("data-requirecontext")===o.contextName)return t.parentNode.removeChild(t),!0})}function ct(n){var t=l.paths[n];if(t&&h(t)&&t.length>1)return ni(n),t.shift(),o.require.undef(n),o.require([n]),!0}function ti(n){var i,t=n?n.indexOf("!"):-1;return t>-1&&(i=n.substring(0,t),n=n.substring(t+1,n.length)),[i,n]}function k(n,t,i,r){var h,e,u=null,s=t?t.name:null,l=n,c=!0,f="";return n||(c=!1,n="_@r"+(fi+=1)),n=ti(n),u=n[0],n=n[1],u&&(u=it(u,s,r),e=p[u]),n&&(u?f=e&&e.normalize?e.normalize(n,function(n){return it(n,s,r)}):it(n,s,r):(f=it(n,s,r),n=ti(f),u=n[0],f=n[1],i=!0,h=o.nameToUrl(f))),i=u&&!e&&!i?"_unnormalized"+(ei+=1):"",{prefix:u,name:f,parentMap:t,unnormalized:!!i,url:h,originalName:l,isDefine:c,id:(u?u+"!"+f:f)+i}}function ut(n){var i=n.id,t=a[i];return t||(t=a[i]=new o.Module(n)),t}function ot(n,t,i){var r=n.id,u=a[r];if(y.call(p,r)&&(!u||u.defineEmitComplete))t==="defined"&&i(p[r]);else ut(n).on(t,i)}function d(n,i){var f=n.requireModules,u=!1;if(i)i(n);else if(r(f,function(t){(t=a[t])&&(t.error=n,t.events.error&&(u=!0,t.emit("error",n)))}),!u)t.onError(n)}function lt(){g.length&&(vt.apply(nt,[nt.length-1,0].concat(g)),g=[])}function ii(n,t,i){var u=n.map.id;n.error?n.emit("error",n.error):(t[u]=!0,r(n.depMaps,function(r,u){var f=r.id,e=a[f];!e||n.depMatched[u]||i[f]||(t[f]?(n.defineDep(u,p[f]),n.check()):ii(e,t,i))}),i[u]=!0)}function pt(){var n,i,t,v,s=(t=l.waitSeconds*1e3)&&o.startTime+t<+new Date,f=[],y=[],h=!1,p=!0;if(!bt){if(bt=!0,e(a,function(t){if(n=t.map,i=n.id,t.enabled&&(n.isDefine||y.push(t),!t.error))if(!t.inited&&s)ct(i)?h=v=!0:(f.push(i),ni(i));else if(!t.inited&&t.fetched&&n.isDefine&&(h=!0,!n.prefix))return p=!1}),s&&f.length)return t=c("timeout","Load timeout for modules: "+f,null,f),t.contextName=o.contextName,d(t);p&&r(y,function(n){ii(n,{},{})}),(!s||v)&&h&&(u||st)&&!dt&&(dt=setTimeout(function(){dt=0,pt()},50)),bt=!1}}function wt(n){ut(k(n[0],null,!0)).init(n[1],n[2])}function ri(n){var n=n.currentTarget||n.srcElement,t=o.onScriptLoad;return n.detachEvent&&!tt?n.detachEvent("onreadystatechange",t):n.removeEventListener("load",t,!1),t=o.onScriptError,n.detachEvent&&!tt||n.removeEventListener("error",t,!1),{node:n,id:n&&n.getAttribute("data-requiremodule")}}function ui(){var n;for(lt();nt.length;){if(n=nt.shift(),n[0]===null)return d(c("mismatch","Mismatched anonymous define() module: "+n[n.length-1]));wt(n)}}var bt,kt,o,ft,dt,l={waitSeconds:7,baseUrl:"./",paths:{},pkgs:{},shim:{},map:{},config:{}},a={},gt={},nt=[],p={},ht={},fi=1,ei=1;return ft={require:function(n){return n.require?n.require:n.require=o.makeRequire(n.map)},exports:function(n){return n.usingExports=!0,n.map.isDefine?n.exports?n.exports:n.exports=p[n.map.id]={}:void 0},module:function(n){return n.module?n.module:n.module={id:n.map.id,uri:n.map.url,config:function(){return l.config&&l.config[n.map.id]||{}},exports:p[n.map.id]}}},kt=function(n){this.events=gt[n.id]||{},this.map=n,this.shim=l.shim[n.id],this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0},kt.prototype={init:function(n,t,r,u){if(u=u||{},!this.inited){if(this.factory=t,r)this.on("error",r);else this.events.error&&(r=i(this,function(n){this.emit("error",n)}));this.depMaps=n&&n.slice(0),this.errback=r,this.inited=!0,this.ignore=u.ignore,u.enabled||this.enabled?this.enable():this.check()}},defineDep:function(n,t){this.depMatched[n]||(this.depMatched[n]=!0,this.depCount-=1,this.depExports[n]=t)},fetch:function(){if(!this.fetched){this.fetched=!0,o.startTime=+new Date;var n=this.map;if(this.shim)o.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],i(this,function(){return n.prefix?this.callPlugin():this.load()}));else return n.prefix?this.callPlugin():this.load()}},load:function(){var n=this.map.url;ht[n]||(ht[n]=!0,o.load(this.map.id,n))},check:function(){var r,i,u,n,f;if(this.enabled&&!this.enabling)if(u=this.map.id,i=this.depExports,n=this.exports,f=this.factory,this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(s(f)){if(this.events.error)try{n=o.execCb(u,f,i,n)}catch(e){r=e}else n=o.execCb(u,f,i,n);if(this.map.isDefine&&((i=this.module)&&i.exports!==void 0&&i.exports!==this.exports?n=i.exports:n===void 0&&this.usingExports&&(n=this.exports)),r)return r.requireMap=this.map,r.requireModules=[this.map.id],r.requireType="define",d(this.error=r)}else n=f;if(this.exports=n,this.map.isDefine&&!this.ignore&&(p[u]=n,t.onResourceLoad))t.onResourceLoad(o,this.map,this.depMaps);delete a[u],this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()},callPlugin:function(){var n=this.map,u=n.id,r=k(n.prefix);this.depMaps.push(r),ot(r,"defined",i(this,function(r){var s,f,c,h;if(f=this.map.name,c=this.map.parentMap?this.map.parentMap.name:null,h=o.makeRequire(n.parentMap,{enableBuildCallback:!0,skipMap:!0}),this.map.unnormalized){if(r.normalize&&(f=r.normalize(f,function(n){return it(n,c,!0)})||""),r=k(n.prefix+"!"+f,this.map.parentMap),ot(r,"defined",i(this,function(n){this.init([],function(){return n},null,{enabled:!0,ignore:!0})})),f=a[r.id]){if(this.depMaps.push(r),this.events.error)f.on("error",i(this,function(n){this.emit("error",n)}));f.enable()}}else s=i(this,function(n){this.init([],function(){return n},null,{enabled:!0})}),s.error=i(this,function(n){this.inited=!0,this.error=n,n.requireModules=[u],e(a,function(n){n.map.id.indexOf(u+"_unnormalized")===0&&delete a[n.map.id]}),d(n)}),s.fromText=i(this,function(i,r){var u=n.name,f=k(u),e=w;r&&(i=r),e&&(w=!1),ut(f);try{t.exec(i)}catch(c){throw Error("fromText eval for "+u+" failed: "+c);}e&&(w=!0),this.depMaps.push(f),o.completeLoad(u),h([u],s)}),r.load(n.name,h,s,l)})),o.enable(r,this),this.pluginMaps[r.id]=r},enable:function(){this.enabling=this.enabled=!0,r(this.depMaps,i(this,function(n,t){var r,u;if(typeof n=="string"){if(n=k(n,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[t]=n,r=ft[n.id]){this.depExports[t]=r(this);return}this.depCount+=1,ot(n,"defined",i(this,function(n){this.defineDep(t,n),this.check()})),this.errback&&ot(n,"error",this.errback)}r=n.id,u=a[r],ft[r]||!u||u.enabled||o.enable(n,this)})),e(this.pluginMaps,i(this,function(n){var t=a[n.id];t&&!t.enabled&&o.enable(n,this)})),this.enabling=!1,this.check()},on:function(n,t){var i=this.events[n];i||(i=this.events[n]=[]),i.push(t)},emit:function(n,t){r(this.events[n],function(n){n(t)}),n==="error"&&delete this.events[n]}},o={config:l,contextName:f,registry:a,defined:p,urlFetched:ht,defQueue:nt,Module:kt,makeModuleMap:k,nextTick:t.nextTick,configure:function(n){n.baseUrl&&n.baseUrl.charAt(n.baseUrl.length-1)!=="/"&&(n.baseUrl+="/");var t=l.pkgs,i=l.shim,u={paths:!0,config:!0,map:!0};e(n,function(n,t){u[t]?t==="map"?b(l[t],n,!0,!0):b(l[t],n,!0):l[t]=n}),n.shim&&(e(n.shim,function(n,t){h(n)&&(n={deps:n}),n.exports&&!n.exportsFn&&(n.exportsFn=o.makeShimExports(n)),i[t]=n}),l.shim=i),n.packages&&(r(n.packages,function(n){n=typeof n=="string"?{name:n}:n,t[n.name]={name:n.name,location:n.location||n.name,main:(n.main||"main").replace(at,"").replace(et,"")}}),l.pkgs=t),e(a,function(n,t){n.inited||n.map.unnormalized||(n.map=k(t))}),(n.deps||n.callback)&&o.require(n.deps||[],n.callback)},makeShimExports:function(t){return function(){var i;return t.init&&(i=t.init.apply(n,arguments)),i||rt(t.exports)}},makeRequire:function(n,i){function r(u,e,h){var l,v;return(i.enableBuildCallback&&e&&s(e)&&(e.__requireJsBuild=!0),typeof u=="string")?s(e)?d(c("requireargs","Invalid require call"),h):n&&ft[u]?ft[u](a[n.id]):t.get?t.get(o,u,n):(l=k(u,n,!1,!0),l=l.id,y.call(p,l)?p[l]:d(c("notloaded",'Module name "'+l+'" has not been loaded yet for context: '+f+(n?"":". Use require([])")))):(ui(),o.nextTick(function(){ui(),v=ut(k(null,n)),v.skipMap=i.skipMap,v.init(u,e,h,{enabled:!0}),pt()}),r)}return i=i||{},b(r,{isBrowser:u,toUrl:function(t){var i=t.lastIndexOf("."),r=null;return i!==-1&&(r=t.substring(i,t.length),t=t.substring(0,i)),o.nameToUrl(it(t,n&&n.id,!0),r)},defined:function(t){return t=k(t,n,!1,!0).id,y.call(p,t)},specified:function(t){return t=k(t,n,!1,!0).id,y.call(p,t)||y.call(a,t)}}),n||(r.undef=function(t){lt();var r=k(t,n,!0),i=a[t];delete p[t],delete ht[r.url],delete gt[t],i&&(i.events.defined&&(gt[t]=i.events),delete a[t])}),r},enable:function(n){a[n.id]&&ut(n).enable()},completeLoad:function(n){var i,t,r=l.shim[n]||{},u=r.exports;for(lt();nt.length;){if(t=nt.shift(),t[0]===null){if(t[0]=n,i)break;i=!0}else t[0]===n&&(i=!0);wt(t)}if(t=a[n],!i&&!p[n]&&t&&!t.inited)if(!l.enforceDefine||u&&rt(u))wt([n,r.deps||[],r.exportsFn]);else return ct(n)?void 0:d(c("nodefine","No define call for "+n,null,[n]));pt()},nameToUrl:function(n,i){var o,s,f,r,e,u;if(t.jsExtRegExp.test(n))r=n+(i||"");else{for(o=l.paths,s=l.pkgs,r=n.split("/"),e=r.length;e>0;e-=1)if(u=r.slice(0,e).join("/"),f=s[u],u=o[u]){h(u)&&(u=u[0]),r.splice(0,e,u);break}else if(f){o=n===f.name?f.location+"/"+f.main:f.location,r.splice(0,e,o);break}r=r.join("/"),r+=i||(/\?/.test(r)?"":".js"),r=(r.charAt(0)==="/"||r.match(/^[\w\+\.\-]+:/)?"":l.baseUrl)+r}return l.urlArgs?r+((r.indexOf("?")===-1?"?":"&")+l.urlArgs):r},load:function(n,i){t.load(o,n,i)},execCb:function(n,t,i,r){return t.apply(r,i)},onScriptLoad:function(n){(n.type==="load"||yt.test((n.currentTarget||n.srcElement).readyState))&&(v=null,n=ri(n),o.completeLoad(n.id))},onScriptError:function(n){var t=ri(n);if(!ct(t.id))return d(c("scripterror","Script error",n,[t.id]))}},o.require=o.makeRequire(),o}},t({}),r(["toUrl","undef","defined","specified"],function(n){t[n]=function(){var t=p._;return t.require[n].apply(t,arguments)}}),u&&(a=l.head=document.getElementsByTagName("head")[0],k=document.getElementsByTagName("base")[0])&&(a=l.head=k.parentNode),t.onError=function(n){throw n;},t.load=function(n,t,i){var f=n&&n.config||{},r;if(u)return r=f.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script"),r.type=f.scriptType||"text/javascript",r.charset="utf-8",r.async=!0,r.setAttribute("data-requirecontext",n.contextName),r.setAttribute("data-requiremodule",t),r.attachEvent&&!(r.attachEvent.toString&&r.attachEvent.toString().indexOf("[native code")<0)&&!tt?(w=!0,r.attachEvent("onreadystatechange",n.onScriptLoad)):(r.addEventListener("load",n.onScriptLoad,!1),r.addEventListener("error",n.onScriptError,!1)),r.src=i,nt=r,k?a.insertBefore(r,k):a.appendChild(r),nt=null,r;st&&(importScripts(i),n.completeLoad(t))},u&&it(document.getElementsByTagName("script"),function(n){return a||(a=n.parentNode),(o=n.getAttribute("data-main"))?(f.baseUrl||(d=o.split("/"),ut=d.pop(),ft=d.length?d.join("/")+"/":"./",f.baseUrl=ft,o=ut),o=o.replace(et,""),f.deps=f.deps?f.deps.concat(o):[o],!0):void 0}),define=function(n,t,i){var r,u;typeof n!="string"&&(i=t,t=n,n=null),h(t)||(i=t,t=[]),!t.length&&s(i)&&i.length&&(i.toString().replace(ct,"").replace(lt,function(n,i){t.push(i)}),t=(i.length===1?["require"]:["require","exports","module"]).concat(t)),w&&(r=nt||ht())&&(n||(n=r.getAttribute("data-requiremodule")),u=p[r.getAttribute("data-requirecontext")]),(u?u.defQueue:g).push([n,t,i])},define.amd={jQuery:!0},t.exec=function(b){return eval(b)},t(f)}}(this),typeof JSON!="object"&&(JSON={}),function(){"use strict";function i(n){return n<10?"0"+n:n}function o(n){return e.lastIndex=0,e.test(n)?'"'+n.replace(e,function(n){var t=s[n];return typeof t=="string"?t:"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+n+'"'}function u(i,f){var s,l,h,a,v=n,c,e=f[i];e&&typeof e=="object"&&typeof e.toJSON=="function"&&(e=e.toJSON(i)),typeof t=="function"&&(e=t.call(f,i,e));switch(typeof e){case"string":return o(e);case"number":return isFinite(e)?String(e):"null";case"boolean":case"null":return String(e);case"object":if(!e)return"null";if(n+=r,c=[],Object.prototype.toString.apply(e)==="[object Array]"){for(a=e.length,s=0;s<a;s+=1)c[s]=u(s,e)||"null";return h=c.length===0?"[]":n?"[\n"+n+c.join(",\n"+n)+"\n"+v+"]":"["+c.join(",")+"]",n=v,h}if(t&&typeof t=="object")for(a=t.length,s=0;s<a;s+=1)typeof t[s]=="string"&&(l=t[s],h=u(l,e),h&&c.push(o(l)+(n?": ":":")+h));else for(l in e)Object.prototype.hasOwnProperty.call(e,l)&&(h=u(l,e),h&&c.push(o(l)+(n?": ":":")+h));return h=c.length===0?"{}":n?"{\n"+n+c.join(",\n"+n)+"\n"+v+"}":"{"+c.join(",")+"}",n=v,h}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var f=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n,r,s={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},t;typeof JSON.stringify!="function"&&(JSON.stringify=function(i,f,e){var o;if(n="",r="",typeof e=="number")for(o=0;o<e;o+=1)r+=" ";else typeof e=="string"&&(r=e);if(t=f,f&&typeof f!="function"&&(typeof f!="object"||typeof f.length!="number"))throw new Error("JSON.stringify");return u("",{"":i})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(n,t){var r,u,i=n[t];if(i&&typeof i=="object")for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(u=walk(i,r),u!==undefined?i[r]=u:delete i[r]);return reviver.call(n,t,i)}var j;if(text=String(text),f.lastIndex=0,f.test(text)&&(text=text.replace(f,function(n){return"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse");})}(),countdown=function(n){function l(n,t){var i=n.getTime();return n.setUTCMonth(n.getUTCMonth()+t),Math.round((n.getTime()-i)/864e5)}function h(n){var t=n.getTime(),i=new Date(t);return i.setUTCMonth(n.getUTCMonth()+1),Math.round((i.getTime()-t)/864e5)}function i(n,t){return n+" "+(1===n?o[t]:s[t])}function f(){}function r(n,t,i,r,u,f){if(0<=n[i]&&(t+=n[i],delete n[i]),t/=u,1>=t+1)return 0;if(0<=n[r]){n[r]=+(n[r]+t).toFixed(f);switch(r){case"seconds":if(60!==n.seconds||isNaN(n.minutes))break;n.minutes++,n.seconds=0;case"minutes":if(60!==n.minutes||isNaN(n.hours))break;n.hours++,n.minutes=0;case"hours":if(24!==n.hours||isNaN(n.days))break;n.days++,n.hours=0;case"days":if(7!==n.days||isNaN(n.weeks))break;n.weeks++,n.days=0;case"weeks":if(n.weeks!==h(n.refMonth)/7||isNaN(n.months))break;n.months++,n.weeks=0;case"months":if(12!==n.months||isNaN(n.years))break;n.years++,n.months=0;case"years":if(10!==n.years||isNaN(n.decades))break;n.decades++,n.years=0;case"decades":if(10!==n.decades||isNaN(n.centuries))break;n.centuries++,n.decades=0;case"centuries":if(10!==n.centuries||isNaN(n.millennia))break;n.millennia++,n.centuries=0}return 0}return t}function a(n,t,i,f,o,s){var v,a,c;n.start=t,n.end=i,n.units=f,n.value=i.getTime()-t.getTime(),0>n.value&&(v=i,i=t,t=v),n.refMonth=new Date(t.getFullYear(),t.getMonth(),15);try{for(n.millennia=0,n.centuries=0,n.decades=0,n.years=i.getUTCFullYear()-t.getUTCFullYear(),n.months=i.getUTCMonth()-t.getUTCMonth(),n.weeks=0,n.days=i.getUTCDate()-t.getUTCDate(),n.hours=i.getUTCHours()-t.getUTCHours(),n.minutes=i.getUTCMinutes()-t.getUTCMinutes(),n.seconds=i.getUTCSeconds()-t.getUTCSeconds(),n.milliseconds=i.getUTCMilliseconds()-t.getUTCMilliseconds(),0>n.milliseconds?(a=e(-n.milliseconds/1e3),n.seconds-=a,n.milliseconds+=1e3*a):1e3<=n.milliseconds&&(n.seconds+=u(n.milliseconds/1e3),n.milliseconds%=1e3),0>n.seconds?(a=e(-n.seconds/60),n.minutes-=a,n.seconds+=60*a):60<=n.seconds&&(n.minutes+=u(n.seconds/60),n.seconds%=60),0>n.minutes?(a=e(-n.minutes/60),n.hours-=a,n.minutes+=60*a):60<=n.minutes&&(n.hours+=u(n.minutes/60),n.minutes%=60),0>n.hours?(a=e(-n.hours/24),n.days-=a,n.hours+=24*a):24<=n.hours&&(n.days+=u(n.hours/24),n.hours%=24);0>n.days;)n.months--,n.days+=l(n.refMonth,1);if(7<=n.days&&(n.weeks+=u(n.days/7),n.days%=7),0>n.months?(a=e(-n.months/12),n.years-=a,n.months+=12*a):12<=n.months&&(n.years+=u(n.months/12),n.months%=12),10<=n.years&&(n.decades+=u(n.years/10),n.years%=10,10<=n.decades&&(n.centuries+=u(n.decades/10),n.decades%=10,10<=n.centuries&&(n.millennia+=u(n.centuries/10),n.centuries%=10))),t=0,!(f&1024)||t>=o?(n.centuries+=10*n.millennia,delete n.millennia):n.millennia&&t++,!(f&512)||t>=o?(n.decades+=10*n.centuries,delete n.centuries):n.centuries&&t++,!(f&256)||t>=o?(n.years+=10*n.decades,delete n.decades):n.decades&&t++,!(f&128)||t>=o?(n.months+=12*n.years,delete n.years):n.years&&t++,!(f&64)||t>=o?(n.months&&(n.days+=l(n.refMonth,n.months)),delete n.months,7<=n.days&&(n.weeks+=u(n.days/7),n.days%=7)):n.months&&t++,!(f&32)||t>=o?(n.days+=7*n.weeks,delete n.weeks):n.weeks&&t++,!(f&16)||t>=o?(n.hours+=24*n.days,delete n.days):n.days&&t++,!(f&8)||t>=o?(n.minutes+=60*n.hours,delete n.hours):n.hours&&t++,!(f&4)||t>=o?(n.seconds+=60*n.minutes,delete n.minutes):n.minutes&&t++,!(f&2)||t>=o?(n.milliseconds+=1e3*n.seconds,delete n.seconds):n.seconds&&t++,(!(f&1)||t>=o)&&(c=r(n,0,"milliseconds","seconds",1e3,s),c&&(c=r(n,c,"seconds","minutes",60,s))&&(c=r(n,c,"minutes","hours",60,s))&&(c=r(n,c,"hours","days",24,s))&&(c=r(n,c,"days","weeks",7,s))&&(c=r(n,c,"weeks","months",h(n.refMonth)/7,s)))){f=c;var y,p=n.refMonth,w=p.getTime(),b=new Date(w);if(b.setUTCFullYear(p.getUTCFullYear()+1),y=Math.round((b.getTime()-w)/864e5),(c=r(n,f,"months","years",y/h(n.refMonth),s))&&(c=r(n,c,"years","decades",10,s))&&(c=r(n,c,"decades","centuries",10,s))&&(c=r(n,c,"centuries","millennia",10,s)))throw Error("Fractional unit overflow");}}finally{delete n.refMonth}return n}function t(n,t,i,r,u){var e,s,h,o;return(i=+i||222,r=0<r?r:NaN,u=0<u?20>u?Math.round(u):20:0,"function"==typeof n?(e=n,n=null):n instanceof Date||(n=null!==n&&isFinite(n)?new Date(n):null),"function"==typeof t?(e=t,t=null):t instanceof Date||(t=null!==t&&isFinite(t)?new Date(t):null),!n&&!t)?new f:e?(s=i&1?1e3/30:i&2?1e3:i&4?6e4:i&8?36e5:i&16?864e5:6048e5,o=function(){e(a(new f,n||new Date,t||new Date,i,r,u),h)},o(),h=setInterval(o,s)):a(new f,n||new Date,t||new Date,i,r,u)}var e=Math.ceil,u=Math.floor,o,s,c;return f.prototype.toString=function(){var n=c(this),t=n.length;return t?(1<t&&(n[t-1]="and "+n[t-1]),n.join(", ")):""},f.prototype.toHTML=function(n){var t,i,r;if(n=n||"span",t=c(this),i=t.length,!i)return"";for(r=0;r<i;r++)t[r]="<"+n+">"+t[r]+"<\/"+n+">";return--i&&(t[i]="and "+t[i]),t.join(", ")},c=function(n){var r=[],t=n.millennia;return t&&r.push(i(t,10)),(t=n.centuries)&&r.push(i(t,9)),(t=n.decades)&&r.push(i(t,8)),(t=n.years)&&r.push(i(t,7)),(t=n.months)&&r.push(i(t,6)),(t=n.weeks)&&r.push(i(t,5)),(t=n.days)&&r.push(i(t,4)),(t=n.hours)&&r.push(i(t,3)),(t=n.minutes)&&r.push(i(t,2)),(t=n.seconds)&&r.push(i(t,1)),(t=n.milliseconds)&&r.push(i(t,0)),r},t.MILLISECONDS=1,t.SECONDS=2,t.MINUTES=4,t.HOURS=8,t.DAYS=16,t.WEEKS=32,t.MONTHS=64,t.YEARS=128,t.DECADES=256,t.CENTURIES=512,t.MILLENNIA=1024,t.DEFAULTS=222,t.ALL=2047,t.setLabels=function(n,t){n=n||[],n.split&&(n=n.split("|")),t=t||[],t.split&&(t=t.split("|"));for(var i=0;10>=i;i++)o[i]=n[i]||o[i],s[i]=t[i]||s[i]},(t.resetLabels=function(){o="millisecond second minute hour day week month year decade century millennium".split(" "),s="milliseconds seconds minutes hours days weeks months years decades centuries millennia".split(" ")})(),n&&n.exports&&(n.exports=t),t}(module),createCounter=function(n){function f(){return t.dateCheck.value<0?!0:!1}function e(t,i,r,u,f,e){var h=i?"inline-block":"none",o=$("<img><\/img>"),s;return o.attr("id",t),o.attr("src",r),o.attr("alt",u),o.css("display",h),o.css("width",n.width),o.css("height",n.height),f&&(s=$("<a><\/a>"),e&&s.attr("target","_blank"),s.attr("href",f),o=o.wrap(s).parent()),o}function r(t){var i=$("<span><\/span>");return i.attr("id",t),i.css("margin-right",n.marginRight),i}function s(t){var i=$("<span><\/span>");return i.attr("id",t),i.css("color",n.fontColor),i.css("position","absolute"),i.css("left",n.left),i.css("top",n.top),i.css("font-size",n.fontSize),i.css("font-family",n.fontfamily),i.css("text-shadow",n.textShadow),i}function h(){var n=$("<div><\/div>");return n.css("position","relative"),n}function c(n){document.write(n.prop("outerHTML"))}function i(n,t){document.getElementById(n).style.display=t}function u(n,t){t<10&&(t=("0"+t).slice(-2)),document.getElementById(n).innerHTML=t}function l(n){n.value>-1?(i("CountDown-"+t.randomId+"-counterText","inline-block"),i("CountDown-"+t.randomId+"-countDownImage","inline-block"),i("CountDown-"+t.randomId+"-doneImage","none"),t.settings.showDays&&u("CountDown-"+t.randomId+"-Days",n.days),t.settings.showHours&&u("CountDown-"+t.randomId+"-Hours",n.hours),u("CountDown-"+t.randomId+"-Minutes",n.minutes),u("CountDown-"+t.randomId+"-Seconds",n.seconds)):(i("CountDown-"+t.randomId+"-counterText","none"),i("CountDown-"+t.randomId+"-countDownImage","none"),i("CountDown-"+t.randomId+"-doneImage","inline-block"))}var o={year:2014,day:1,month:1,hours:12,minutes:0,seconds:0,showDays:!1,showHours:!0,left:"267px",top:"140px",width:"775px",height:"300px",fontSize:"65px",fontColor:"#ff4500",marginRight:"20px",textShadow:"0 1px 1px #fff",fontFamily:"Arial,Verdana",countdownImage:{src:"",alt:"",link:"",blank:!1},doneImage:{src:"",alt:"",link:"",blank:!1}},t=this;this.settings=$.extend(!0,{},o,n),this.date=new Date(this.settings.year,this.settings.month-1,this.settings.day,this.settings.hours,this.settings.minutes,this.settings.seconds),this.randomId=+new Date,this.showUnits=(n.showDays?countdown.DAYS:0)|(n.showHours?countdown.HOURS:0)|countdown.MINUTES|countdown.SECONDS,this.dateCheck=countdown(null,t.date,t.showUnits),function(){var u=h(),i=s("CountDown-"+t.randomId+"-counterText");n.showDays&&i.append(r("CountDown-"+t.randomId+"-Days")),i.append(r("CountDown-"+t.randomId+"-Hours")),i.append(r("CountDown-"+t.randomId+"-Minutes")),i.append(r("CountDown-"+t.randomId+"-Seconds")),u.append(e("CountDown-"+t.randomId+"-countDownImage",!f(),n.countdownImage.src,n.countdownImage.alt,n.countdownImage.link,n.countdownImage.blank)),u.append(e("CountDown-"+t.randomId+"-doneImage",f(),n.doneImage.src,n.doneImage.alt,n.doneImage.link,n.doneImage.blank)),u.append(i),c(u),countdown(l,t.date,t.showUnits)}()},function(n){var h="Close",wt="BeforeClose",ii="AfterClose",ri="BeforeAppend",ut="MarkupParse",ft="Open",bt="Change",et="mfp",u="."+et,w="mfp-ready",kt="mfp-removing",ot="mfp-prevent-close",t,b=function(){},st=!!window.jQuery,ht,f=n(window),v,o,k,c,dt,r=function(n,i){t.ev.on(et+n+u,i)},e=function(t,i,r,u){var f=document.createElement("div");return f.className="mfp-"+t,r&&(f.innerHTML=r),u?i&&i.appendChild(f):(f=n(f),i&&f.appendTo(i)),f},i=function(i,r){t.ev.triggerHandler(et+i,r),t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,n.isArray(r)?r:[r]))},ct=function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},lt=function(i){return i===dt&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=n(t.st.closeMarkup.replace("%title%",t.st.tClose)),dt=i),t.currTemplate.closeBtn},gt=function(){n.magnificPopup.instance||(t=new b,t.init(),n.magnificPopup.instance=t)},ui=function(i){if(!n(i).hasClass(ot)){var r=t.st.closeOnContentClick,u=t.st.closeOnBgClick;if(r&&u||!t.content||n(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||n.contains(t.content[0],i)){if(r)return!0}else if(u&&n.contains(document,i))return!0;return!1}},fi=function(){var n=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(n.transition!==undefined)return!0;while(t.length)if(t.pop()+"Transition"in n)return!0;return!1},d,a,g,nt,at,y,p,tt,s,ni,vt,ti,it,pt,rt;b.prototype={constructor:b,init:function(){var i=navigator.appVersion;t.isIE7=i.indexOf("MSIE 7.")!==-1,t.isIE8=i.indexOf("MSIE 8.")!==-1,t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(i),t.isIOS=/iphone|ipad|ipod/gi.test(i),t.supportsTransition=fi(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),v=n(document.body),o=n(document),t.popupsCache={}},open:function(s){var h,y,l,p,a,b,k,d,v;if(s.isObj===!1){for(t.items=s.items.toArray(),t.index=0,y=s.items,h=0;h<y.length;h++)if(l=y[h],l.parsed&&(l=l.el[0]),l===s.el[0]){t.index=h;break}}else t.items=n.isArray(s.items)?s.items:[s.items],t.index=s.index||0;if(t.isOpen){t.updateItemHTML();return}for(t.types=[],c="",t.ev=s.mainEl&&s.mainEl.length?s.mainEl.eq(0):o,s.key?(t.popupsCache[s.key]||(t.popupsCache[s.key]={}),t.currTemplate=t.popupsCache[s.key]):t.currTemplate={},t.st=n.extend(!0,{},n.magnificPopup.defaults,s),t.fixedContentPos=t.st.fixedContentPos==="auto"?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=e("bg").on("click"+u,function(){t.close()}),t.wrap=e("wrap").attr("tabindex",-1).on("click"+u,function(n){ui(n.target)&&t.close()}),t.container=e("container",t.wrap)),t.contentContainer=e("content"),t.st.preloader&&(t.preloader=e("preloader",t.container,t.st.tLoading)),p=n.magnificPopup.modules,h=0;h<p.length;h++)a=p[h],a=a.charAt(0).toUpperCase()+a.slice(1),t["init"+a].call(t);if(i("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(r(ut,function(n,t,i,r){i.close_replaceWith=lt(r.type)}),c+=" mfp-close-btn-in"):t.wrap.append(lt())),t.st.alignTop&&(c+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:f.scrollTop(),position:"absolute"}),t.st.fixedBgPos!==!1&&(t.st.fixedBgPos!=="auto"||t.fixedContentPos)||t.bgOverlay.css({height:o.height(),position:"absolute"}),t.st.enableEscapeKey)o.on("keyup"+u,function(n){n.keyCode===27&&t.close()});f.on("resize"+u,function(){t.updateSize()});t.st.closeOnContentClick||(c+=" mfp-auto-cursor"),c&&t.wrap.addClass(c),b=t.wH=f.height(),k={},t.fixedContentPos&&t._hasScrollBar(b)&&(d=t._getScrollbarSize(),d&&n("body").css({marginLeft:-d/2})),t.fixedContentPos&&(t.isIE7?n("body, html").css("overflow","hidden"):k.overflow="hidden"),v=t.st.mainClass,t.isIE7&&(v+=" mfp-ie7"),v&&t._addClassToMFP(v),t.updateItemHTML(),i("BuildControls"),n("html").css(k),t.bgOverlay.add(t.wrap).prependTo(document.body),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(w),ct()):t.bgOverlay.addClass(w);o.on("focusin"+u,function(i){if(i.target!==t.wrap[0]&&!n.contains(t.wrap[0],i.target))return ct(),!1})},16),t.isOpen=!0,t.updateSize(b),i(ft)},close:function(){t.isOpen&&(i(wt),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(kt),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){var r,f;i(h),r=kt+" "+w+" ",t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(r+=t.st.mainClass+" "),t._removeClassFromMFP(r),t.fixedContentPos&&(f={paddingRight:""},n("body").css({marginLeft:""}),t.isIE7?n("body, html").css("overflow",""):f.overflow="",n("html").css(f)),o.off("keyup"+u+" focusin"+u),t.ev.off(u),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),t.st.showCloseBtn&&(!t.st.closeBtnInside||t.currTemplate[t.currItem.type]===!0)&&t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&n(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,i(ii)},updateSize:function(n){if(t.isIOS){var u=document.documentElement.clientWidth/window.innerWidth,r=window.innerHeight*u;t.wrap.css("height",r),t.wH=r}else t.wH=n||f.height();t.fixedContentPos||t.wrap.css("height",t.wH),i("Resize")},updateItemHTML:function(){var u=t.items[t.index],r,f,e;t.contentContainer.detach(),t.content&&t.content.detach(),u.parsed||(u=t.parseEl(t.index)),r=u.type,i("BeforeChange",[t.currItem?t.currItem.type:"",r]),t.currItem=u,t.currTemplate[r]||(f=t.st[r]?t.st[r].markup:!1,i("FirstMarkupParse",f),t.currTemplate[r]=f?n(f):!0),k&&k!==u.type&&t.container.removeClass("mfp-"+k+"-holder"),e=t["get"+r.charAt(0).toUpperCase()+r.slice(1)](u,t.currTemplate[r]),t.appendContent(e,r),u.preloaded=!0,i(bt,u),k=u.type,t.container.prepend(t.contentContainer),i("AfterChange")},appendContent:function(n,r){t.content=n,n?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[r]===!0?t.content.find(".mfp-close").length||t.content.append(lt()):t.content=n:t.content="",i(ri),t.container.addClass("mfp-"+r+"-holder"),t.contentContainer.append(t.content)},parseEl:function(r){var u=t.items[r],o=u.type,e,f;if(u=u.tagName?{el:n(u)}:{data:u,src:u.src},u.el){for(e=t.types,f=0;f<e.length;f++)if(u.el.hasClass("mfp-"+e[f])){o=e[f];break}u.src=u.el.attr("data-mfp-src"),u.src||(u.src=u.el.attr("href"))}return u.type=o||t.st.type||"inline",u.index=r,u.parsed=!0,t.items[r]=u,i("ElementParse",u),t.items[r]},addGroup:function(n,i){var u=function(r){r.mfpEl=this,t._openClick(r,n,i)},r;if(i||(i={}),r="click.magnificPopup",i.mainEl=n,i.items){i.isObj=!0;n.off(r).on(r,u)}else if(i.isObj=!1,i.delegate)n.off(r).on(r,i.delegate,u);else{i.items=n;n.off(r).on(r,u)}},_openClick:function(i,r,u){var o=u.midClick!==undefined?u.midClick:n.magnificPopup.defaults.midClick,e;if(o||i.which!==2&&!i.ctrlKey&&!i.metaKey){if(e=u.disableOn!==undefined?u.disableOn:n.magnificPopup.defaults.disableOn,e)if(n.isFunction(e)){if(!e.call(t))return!0}else if(f.width()<e)return!0;i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation()),u.el=n(i.mfpEl),u.delegate&&(u.items=r.find(u.delegate)),t.open(u)}},updateStatus:function(n,r){if(t.preloader){ht!==n&&t.container.removeClass("mfp-s-"+ht),r||n!=="loading"||(r=t.st.tLoading);var u={status:n,text:r};i("UpdateStatus",u),n=u.status,r=u.text,t.preloader.html(r);t.preloader.find("a").on("click",function(n){n.stopImmediatePropagation()});t.container.addClass("mfp-s-"+n),ht=n}},_addClassToMFP:function(n){t.bgOverlay.addClass(n),t.wrap.addClass(n)},_removeClassFromMFP:function(n){this.bgOverlay.removeClass(n),t.wrap.removeClass(n)},_hasScrollBar:function(n){return(t.isIE7?o.height():document.body.scrollHeight)>(n||f.height())},_parseMarkup:function(t,r,f){var e;f.data&&(r=n.extend(f.data,r)),i(ut,[t,r,f]),n.each(r,function(n,i){var r,f;if(i===undefined||i===!1)return!0;e=n.split("_"),e.length>1?(r=t.find(u+"-"+e[0]),r.length>0&&(f=e[1],f==="replaceWith"?r[0]!==i[0]&&r.replaceWith(i):f==="img"?r.is("img")?r.attr("src",i):r.replaceWith('<img src="'+i+'" class="'+r.attr("class")+'" />'):r.attr(e[1],i))):t.find(u+"-"+n).html(i)})},_getScrollbarSize:function(){if(t.scrollbarSize===undefined){var n=document.createElement("div");n.id="mfp-sbm",n.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(n),t.scrollbarSize=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return t.scrollbarSize}},n.magnificPopup={instance:null,proto:b.prototype,modules:[],open:function(n,t){return gt(),n||(n={}),n.isObj=!0,n.index=t||0,this.instance.open(n)},close:function(){return n.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(n.magnificPopup.defaults[t]=i.options),n.extend(this.proto,i.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;<\/button>',tClose:"Close (Esc)",tLoading:"Loading..."}},n.fn.magnificPopup=function(i){var r,u,f,e;return gt(),r=n(this),typeof i=="string"?i==="open"?(f=st?r.data("magnificPopup"):r[0].magnificPopup,e=parseInt(arguments[1],10)||0,f.items?u=f.items[e]:(u=r,f.delegate&&(u=u.find(f.delegate)),u=u.eq(e)),t._openClick({mfpEl:u},r,f)):t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1)):(st?r.data("magnificPopup",i):r[0].magnificPopup=i,t.addGroup(r,i)),r},d="inline",at=function(){nt&&(g.after(nt.addClass(a)).detach(),nt=null)},n.magnificPopup.registerModule(d,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(d),r(h+"."+d,function(){at()})},getInline:function(i,r){var f,u,o;return(at(),i.src)?(f=t.st.inline,u=n(i.src),u.length?(o=u[0].parentNode,o&&o.tagName&&(g||(a=f.hiddenClass,g=e(a),a="mfp-"+a),nt=u.after(g).detach().removeClass(a)),t.updateStatus("ready")):(t.updateStatus("error",f.tNotFound),u=n("<div>")),i.inlineElement=u,u):(t.updateStatus("ready"),t._parseMarkup(r,{},i),r)}}}),y="ajax",tt=function(){p&&v.removeClass(p)},n.magnificPopup.registerModule(y,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content<\/a> could not be loaded.'},proto:{initAjax:function(){t.types.push(y),p=t.st.ajax.cursor,r(h+"."+y,function(){tt(),t.req&&t.req.abort()})},getAjax:function(r){p&&v.addClass(p),t.updateStatus("loading");var u=n.extend({url:r.src,success:function(u,f,e){var o={data:u,xhr:e};i("ParseAjax",o),t.appendContent(n(o.data),y),r.finished=!0,tt(),ct(),setTimeout(function(){t.wrap.addClass(w)},16),t.updateStatus("ready"),i("AjaxContentAdded")},error:function(){tt(),r.finished=r.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",r.src))}},t.st.ajax.settings);return t.req=n.ajax(u),""}}}),ni=function(i){if(i.data&&i.data.title!==undefined)return i.data.title;var r=t.st.image.titleSrc;if(r){if(n.isFunction(r))return r.call(t,i);if(i.el)return i.el.attr(r)||""}return""},n.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"><\/div><div class="mfp-img"><\/div><div class="mfp-bottom-bar"><div class="mfp-title"><\/div><div class="mfp-counter"><\/div><\/div><\/div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image<\/a> could not be loaded.'},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image"),r(ft+i,function(){t.currItem.type==="image"&&n.cursor&&v.addClass(n.cursor)}),r(h+i,function(){n.cursor&&v.removeClass(n.cursor),f.off("resize"+u)}),r("Resize"+i,t.resizeImage),t.isLowIE&&r("AfterChange",t.resizeImage)},resizeImage:function(){var n=t.currItem,i;n&&n.img&&t.st.image.verticalFit&&(i=0,t.isLowIE&&(i=parseInt(n.img.css("padding-top"),10)+parseInt(n.img.css("padding-bottom"),10)),n.img.css("max-height",t.wH-i))},_onImageHasSize:function(n){n.img&&(n.hasSize=!0,s&&clearInterval(s),n.isCheckingImgSize=!1,i("ImageHasSize",n),n.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),n.imgHidden=!1))},findImageSize:function(n){var i=0,u=n.img[0],r=function(f){s&&clearInterval(s),s=setInterval(function(){if(u.naturalWidth>0){t._onImageHasSize(n);return}i>200&&clearInterval(s),i++,i===3?r(10):i===40?r(50):i===100&&r(500)},f)};r(1)},getImage:function(r,u){var e=0,o=function(){r&&(r.img[0].complete?(r.img.off(".mfploader"),r===t.currItem&&(t._onImageHasSize(r),t.updateStatus("ready")),r.hasSize=!0,r.loaded=!0,i("ImageLoadComplete")):(e++,e<200?setTimeout(o,100):h()))},h=function(){r&&(r.img.off(".mfploader"),r===t.currItem&&(t._onImageHasSize(r),t.updateStatus("error",c.tError.replace("%url%",r.src))),r.hasSize=!0,r.loaded=!0,r.loadError=!0)},c=t.st.image,l=u.find(".mfp-img"),f;return(l.length&&(f=document.createElement("img"),f.className="mfp-img",r.img=n(f).on("load.mfploader",o).on("error.mfploader",h),f.src=r.src,l.is("img")&&(r.img=r.img.clone()),r.img[0].naturalWidth>0&&(r.hasSize=!0)),t._parseMarkup(u,{title:ni(r),img_replaceWith:r.img},r),t.resizeImage(),r.hasSize)?(s&&clearInterval(s),r.loadError?(u.addClass("mfp-loading"),t.updateStatus("error",c.tError.replace("%url%",r.src))):(u.removeClass("mfp-loading"),t.updateStatus("ready")),u):(t.updateStatus("loading"),r.loading=!0,r.hasSize||(r.imgHidden=!0,u.addClass("mfp-loading"),t.findImageSize(r)),u)}}}),ti=function(){return vt===undefined&&(vt=document.createElement("p").style.MozTransform!==undefined),vt},n.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(n){return n.is("img")?n:n.find("img")}},proto:{initZoom:function(){var u=t.st.zoom,e=".zoom";if(u.enabled&&t.supportsTransition){var s=u.duration,c=function(n){var r=n.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),f="all "+u.duration/1e3+"s "+u.easing,t={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},i="transition";return t["-webkit-"+i]=t["-moz-"+i]=t["-o-"+i]=t[i]=f,r.css(t),r},o=function(){t.content.css("visibility","visible")},f,n;r("BuildControls"+e,function(){if(t._allowZoom()){if(clearTimeout(f),t.content.css("visibility","hidden"),image=t._getItemToZoom(),!image){o();return}n=c(image),n.css(t._getOffset()),t.wrap.append(n),f=setTimeout(function(){n.css(t._getOffset(!0)),f=setTimeout(function(){o(),setTimeout(function(){n.remove(),image=n=null,i("ZoomAnimationEnded")},16)},s)},16)}}),r(wt+e,function(){if(t._allowZoom()){if(clearTimeout(f),t.st.removalDelay=s,!image){if(image=t._getItemToZoom(),!image)return;n=c(image)}n.css(t._getOffset(!0)),t.wrap.append(n),t.content.css("visibility","hidden"),setTimeout(function(){n.css(t._getOffset())},16)}}),r(h+e,function(){t._allowZoom()&&(o(),n&&n.remove())})}},_allowZoom:function(){return t.currItem.type==="image"},_getItemToZoom:function(){return t.currItem.hasSize?t.currItem.img:!1},_getOffset:function(i){var r,u;r=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var f=r.offset(),e=parseInt(r.css("padding-top"),10),o=parseInt(r.css("padding-bottom"),10);return f.top-=n(window).scrollTop()-e,u={width:r.width(),height:(st?r.innerHeight():r[0].offsetHeight)-o-e},ti()?u["-moz-transform"]=u.transform="translate("+f.left+"px,"+f.top+"px)":(u.left=f.left,u.top=f.top),u}}});var l="iframe",ei="//about:blank",yt=function(n){if(t.currTemplate[l]){var i=t.currTemplate[l].find("iframe");i.length&&(n||(i[0].src=ei),t.isIE8&&i.css("display",n?"block":"none"))}};n.magnificPopup.registerModule(l,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"><\/div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen><\/iframe><\/div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(l),r("BeforeChange",function(n,t,i){t!==i&&(t===l?yt():i===l&&yt(!0))}),r(h+"."+l,function(){yt()})},getIframe:function(i,r){var u=i.src,f=t.st.iframe,e;return n.each(f.patterns,function(){if(u.indexOf(this.index)>-1)return this.id&&(u=typeof this.id=="string"?u.substr(u.lastIndexOf(this.id)+this.id.length,u.length):this.id.call(this,u)),u=this.src.replace("%id%",u),!1}),e={},f.srcAction&&(e[f.srcAction]=u),t._parseMarkup(r,e,i),t.updateStatus("ready"),r}}}),it=function(n){var i=t.items.length;return n>i-1?n-i:n<0?i+n:n},pt=function(n,t,i){return n.replace("%curr%",t+1).replace("%total%",i)},n.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"><\/button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var u=t.st.gallery,i=".mfp-gallery",f=Boolean(n.fn.mfpFastClick);if(t.direction=!0,!u||!u.enabled)return!1;c+=" mfp-gallery",r(ft+i,function(){if(u.navigateByImgClick)t.wrap.on("click"+i,".mfp-img",function(){if(t.items.length>1)return t.next(),!1});o.on("keydown"+i,function(n){n.keyCode===37?t.prev():n.keyCode===39&&t.next()})}),r("UpdateStatus"+i,function(n,i){i.text&&(i.text=pt(i.text,t.currItem.index,t.items.length))}),r(ut+i,function(n,i,r,f){var e=t.items.length;r.counter=e>1?pt(u.tCounter,f.index,e):""}),r("BuildControls"+i,function(){if(t.items.length>1&&u.arrows&&!t.arrowLeft){var o=u.arrowMarkup,i=t.arrowLeft=n(o.replace("%title%",u.tPrev).replace("%dir%","left")).addClass(ot),r=t.arrowRight=n(o.replace("%title%",u.tNext).replace("%dir%","right")).addClass(ot),s=f?"mfpFastClick":"click";i[s](function(){t.prev()}),r[s](function(){t.next()}),t.isIE7&&(e("b",i[0],!1,!0),e("a",i[0],!1,!0),e("b",r[0],!1,!0),e("a",r[0],!1,!0)),t.container.append(i.add(r))}}),r(bt+i,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),r(h+i,function(){o.off(i),t.wrap.off("click"+i),t.arrowLeft&&f&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=it(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=it(t.index-1),t.updateItemHTML()},goTo:function(n){t.direction=n>=t.index,t.index=n,t.updateItemHTML()},preloadNearbyImages:function(){for(var i=t.st.gallery.preload,r=Math.min(i[0],t.items.length),u=Math.min(i[1],t.items.length),n=1;n<=(t.direction?u:r);n++)t._preloadItem(t.index+n);for(n=1;n<=(t.direction?r:u);n++)t._preloadItem(t.index-n)},_preloadItem:function(r){if(r=it(r),!t.items[r].preloaded){var u=t.items[r];u.parsed||(u=t.parseEl(r)),i("LazyLoad",u),u.type==="image"&&(u.img=n('<img class="mfp-img" />').on("load.mfploader",function(){u.hasSize=!0}).on("error.mfploader",function(){u.hasSize=!0,u.loadError=!0,i("LazyLoadError",u)}).attr("src",u.src)),u.preloaded=!0}}}}),rt="retina",n.magnificPopup.registerModule(rt,{options:{replaceSrc:function(n){return n.src.replace(/\.\w+$/,function(n){return"@2x"+n})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var i=t.st.retina,n=i.ratio;n=isNaN(n)?n():n,n>1&&(r("ImageHasSize."+rt,function(t,i){i.img.css({"max-width":i.img[0].naturalWidth/n,width:"100%"})}),r("ElementParse."+rt,function(t,r){r.src=i.replaceSrc(r,n)}))}}}}),function(){var u=1e3,i="ontouchstart"in window,r=function(){f.off("touchmove"+t+" touchend"+t)},e="mfpFastClick",t="."+e;n.fn.mfpFastClick=function(e){return n(this).each(function(){var l=n(this),s,a,v,y,h,o,c;if(i)l.on("touchstart"+t,function(n){h=!1,c=1,o=n.originalEvent?n.originalEvent.touches[0]:n.touches[0],v=o.clientX,y=o.clientY;f.on("touchmove"+t,function(n){o=n.originalEvent?n.originalEvent.touches:n.touches,c=o.length,o=o[0],(Math.abs(o.clientX-v)>10||Math.abs(o.clientY-y)>10)&&(h=!0,r())}).on("touchend"+t,function(n){(r(),h||c>1)||(s=!0,n.preventDefault(),clearTimeout(a),a=setTimeout(function(){s=!1},u),e())})});l.on("click"+t,function(){s||e()})})},n.fn.destroyMfpFastClick=function(){n(this).off("touchstart"+t+" click"+t),i&&f.off("touchmove"+t+" touchend"+t)}}()}(window.jQuery||window.Zepto),carma=window.carma||{},carma.roi=carma.roi||function(){function u(n,t,i){document.cookie=n+"="+t+i+"; path=/"}function f(n){for(var r=n+"=",u=document.cookie.split(";"),t,i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1,t.length);if(t.indexOf(r)==0)return t.substring(r.length,t.length)}return null}function e(n){var u=n+"=",t=window.location.search,r=t.indexOf(u,0),i;return r>=0?(i=t.indexOf("&",r),i<0&&(i=t.length),t.substring(r+u.length,i)):null}function o(){var n=e("c_rid"),t;n&&(t=s(),u(r,n,t))}function s(){var n="",i;if(t)switch(typeof t){case"number":i=new Date,i.setTime(i.getTime()+t*36e5),n="; expires="+i.toUTCString();break;case"string":n="; expires="+t;break;case"object":typeof t.toUTCString=="function"&&(n="; expires="+t.toUTCString())}return n}var i=null,n=null,t=null,h=null,r="c_rid";return{init:function(r,u,f,e){i=r+"/roi",t=typeof f!="undefined"?f:null,_isdebug=typeof e!="undefined"?e:!1,u&&o(),n=document.getElementById("carmaRoi"),n||(n=document.createElement("img"),n.setAttribute("id","carmaRoi"),n.setAttribute("width","0"),n.setAttribute("height","0"),document.getElementsByTagName("body")[0].appendChild(n))},register:function(t){t||(t=0);var u=f(r);u&&n.setAttribute("src",i+"?ts="+Math.floor(Math.random()*1e6)+"&rid="+u+"&amount="+t)}}}(),(!window.criteo_q||window.criteo_q instanceof Array)&&(oldQueue=window.criteo_q||[],window.criteo_q=function(){var t={initialized:!1,queue:[],actions:[],disingScheduled:[],accounts:[]},n={tagVersion:"2.0.0",handlerUrlPrefix:("https:"===document.location.protocol?"https://sslwidget.":"http://widget.")+"criteo.com/event",handlerResponseType:"single",handlerParams:{v:"2.0.0"},manualDising:!1,manualFlush:!1,disOnce:!1,eventMap:{viewitem:"vp",viewhome:"vh",viewlist:"vl",viewbasket:"vb",viewsearch:"vs",tracktransaction:"vc",calldising:"dis",setdata:"exd"},propMap:{event:"e",account:"a",product:"p",item:"p","item.id":"i","item.price":"pr","item.quantity":"q","product.id":"i","product.price":"pr","product.quantity":"q",data:"d",keywords:"kw",checkin_date:"din",checkout_date:"dout",deduplication:"dd",user_segment:"si",new_customer:"nc",customer_id:"ci"},setters:{seturl:{cfg:"handlerUrlPrefix",evt:"url"},setaccount:{cfg:"account",evt:"account"},setcalltype:{cfg:"handlerResponseType",evt:"type"},oninitialized:{cfg:"onInitialized",evt:"callback"},beforeappend:{cfg:"beforeAppend",evt:"callback"},aftereval:{cfg:"afterEval",evt:"callback"},onflush:{cfg:"onFlush",evt:"callback"}},flags:{disonce:"disOnce",manualdising:"manualDising",manualflush:"manualFlush",nopartialflush:"noPartialFlush"}},s=function(){for(var i,e=[],u=t.queue,f=0;f<u.length;++f)if(i=u[f],i instanceof Array)u.splice.apply(u,[f+1,0].concat(i));else if(i instanceof Function)u.splice(f+1,0,i());else if(i&&"[object Object]"===i.toString())switch(r(i)){case 0:e.push(i);break;case-1:e=e.concat(u.slice(f)),f=u.length}n.afterEval instanceof Function&&(e=n.afterEval(u,e,t,n)),t.queue=e||[],n.manualFlush||n.noPartialFlush&&0!==t.queue.length||h()},r=function(i){var f,o;if(!t.initialized&&i.requiresDOM&&"no"!==i.requiresDOM)return"blocking"===i.requiresDOM?-1:0;if(delete i.requiresDOM,!i.event)return u(i),1;i.account&&e(i.account,t.accounts),i.event=i.event.toLowerCase();switch(i.event){case"setparameter":for(f in i)"event"!==f.toLowerCase()&&i.hasOwnProperty(f)&&(n.handlerParams[f]=i[f]);return 1;case"calldising":i.hasOwnProperty("account")||(i.account=t.accounts),f=n.handlerResponseType,i.hasOwnProperty("type")&&(f=i.type,delete i.type),e(i.account,t.disingScheduled),"sequential"===f&&(i.dc=!0);break;case"setcustomerid":return i.event="setdata",i.customer_id=i.id,delete i.id,r(i);case"setsitetype":return f="d",("mobile"===i.type||"m"===i.type)&&(f="m"),("tablet"===i.type||"t"===i.type)&&(f="t"),i.event="setdata",delete i.type,i.site_type=f,r(i);case"appendtag":if(t.initialized&&!n.container&&(f=document.body,o=document.createElement("div"),o.setAttribute("id","criteo-tags-div"),o.style.display="none",f.appendChild(o),n.container=o),n.beforeAppend instanceof Function&&(i.element=n.beforeAppend(i.element,t,n)),i.element)if(n.container||"script"!==i.element.tagName.toLowerCase())if(n.container)n.container.appendChild(i.element);else return 0;else f=document.getElementsByTagName("script")[0],i.element.setAttribute("data-owner","criteo-tag"),f.parentNode.insertBefore(i.element,f);return 1;case"gettagstate":return i.callback instanceof Function?i.callback(t,n):1;case"flush":case"flushevents":return h(),1}return(f=n.setters[i.event])?(n[f.cfg]=i[f.evt],1):(f=n.flags[i.event])?(n[f]=!0,1):(t.actions.push(u(i)),1)},h=function(){var e,u,s;if(n.onFlush instanceof Function&&(t.actions=n.onFlush(t.actions,t,n)),0!==t.actions.length){if(!n.manualDising){for(e=[],u=0;u<t.accounts.length;++u)o(t.disingScheduled,t.accounts[u])||e.push(t.accounts[u]);0<e.length&&r({event:"callDising",account:e})}for(e=t.actions,u=[],1===t.accounts.length&&(n.account=t.accounts[0]),n.account&&u.push("a="+i(n.account,[])),n.handlerParams&&(s=decodeURIComponent(i(n.handlerParams,[])),s&&u.push(s)),s=0;s<e.length;++s)e[s].account&&f(n.account,e[s].account)&&delete e[s].account,u.push("p"+s+"="+i(e[s],[]));e=u.join("&"),u=document.createElement("script"),u.setAttribute("async","true"),u.setAttribute("type","text/javascript"),u.setAttribute("src",n.handlerUrlPrefix+"?"+e),t.actions=[],r({event:"appendTag",element:u}),n.disOnce||(t.disingScheduled=[])}},u=function(n){if(n instanceof Function)return n=n(),n instanceof Function?n:u(n);if(n instanceof Array)for(var t=0;t<n.length;++t)n[t]=u(n[t]);else if(n&&"[object Object]"===n.toString())for(t in n)n.hasOwnProperty(t)&&(n[t]=u(n[t]));return n},c=function(t,i){var r=i.join(".");return n.propMap[r]?n.propMap[r]:t},f=function(n,t){if(!(n instanceof Array))return f([n],t);if(!(t instanceof Array))return f(n,[t]);if(n.length!==t.length)return!1;for(var i=0;i<n.length;++i)if(!o(t,n[i]))return!1;return!0},i=function(t,r){var f="",e,u,o;if(t instanceof Function)f=i(t(),r);else if(t instanceof Array){for(e=[],u=0;u<t.length;++u)e[u]=i(t[u],r);f+="["+e.join(",")+"]"}else if(t&&"[object Object]"===t.toString()){e=[];for(u in t)t.hasOwnProperty(u)&&(o=r.concat([u]),e.push(c(u,o)+"="+i(t[u],o)));f+=e.join("&")}else f=1===r.length&&"event"===r[0]?f+(n.eventMap[t.toLowerCase()]?n.eventMap[t.toLowerCase()]:t):f+t;return encodeURIComponent(f)},e=function(n,t){if(n instanceof Array)for(var i=0;i<n.length;++i)e(n[i],t);else o(t,n)||t.push(n)},o=function(n,t){for(var i=0;i<n.length;++i)if(n[i]===t)return!0;return!1};return function(n,t){if("complete"!==n.readyState){var i=!1,r=n.onload,u=n.onreadystatechange;n.onload=n.onreadystatechange=function(){u instanceof Function&&u(),i||n.readyState&&"loaded"!==n.readyState&&"complete"!==n.readyState||(r instanceof Function&&r(),i=!0,t())}}else t()}(document,function(){t.initialized=n.onInitialized instanceof Function?n.onInitialized(t,n):!0,s()}),{push:function(){for(var n=0;n<arguments.length;++n)t.queue.push(arguments[n]);s()}}}(),window.criteo_q.push.apply(window.criteo_q,oldQueue)),(window.jQuery||window.Zepto)&&function(n){n.fn.Swipe=function(t){return this.each(function(){n(this).data("Swipe",new Swipe(n(this)[0],t))})}}(window.jQuery||window.Zepto),define("moment",[],function(n){function g(n,t,i){switch(arguments.length){case 2:return n!=null?n:t;case 3:return n!=null?n:t!=null?t:i;default:throw new Error("Implement me");}}function b(n,t){return yr.call(n,t)}function at(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function hi(n){t.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+n)}function a(n,t){var i=!0;return k(function(){return i&&(hi(n),i=!1),t.apply(this,arguments)},t)}function yu(n,t){oi[n]||(hi(t),oi[n]=!0)}function ci(n,t){return function(i){return r(n.call(this,i),t)}}function pu(n,t){return function(i){return this.localeData().ordinal(n.call(this,i),t)}}function li(){}function ft(n,t){t!==!1&&nr(n),ai(this,n),this._d=new Date(+n._d)}function vt(n){var i=bi(n),r=i.year||0,u=i.quarter||0,f=i.month||0,e=i.week||0,o=i.day||0,s=i.hour||0,h=i.minute||0,c=i.second||0,l=i.millisecond||0;this._milliseconds=+l+c*1e3+h*6e4+s*36e5,this._days=+o+e*7,this._months=+f+u*3+r*12,this._data={},this._locale=t.localeData(),this._bubble()}function k(n,t){for(var i in t)b(t,i)&&(n[i]=t[i]);return b(t,"toString")&&(n.toString=t.toString),b(t,"valueOf")&&(n.valueOf=t.valueOf),n}function ai(n,t){var u,i,r;if(typeof t._isAMomentObject!="undefined"&&(n._isAMomentObject=t._isAMomentObject),typeof t._i!="undefined"&&(n._i=t._i),typeof t._f!="undefined"&&(n._f=t._f),typeof t._l!="undefined"&&(n._l=t._l),typeof t._strict!="undefined"&&(n._strict=t._strict),typeof t._tzm!="undefined"&&(n._tzm=t._tzm),typeof t._isUTC!="undefined"&&(n._isUTC=t._isUTC),typeof t._offset!="undefined"&&(n._offset=t._offset),typeof t._pf!="undefined"&&(n._pf=t._pf),typeof t._locale!="undefined"&&(n._locale=t._locale),rt.length>0)for(u in rt)i=rt[u],r=t[i],typeof r!="undefined"&&(n[i]=r);return n}function o(n){return n<0?Math.ceil(n):Math.floor(n)}function r(n,t,i){for(var r=""+Math.abs(n),u=n>=0;r.length<t;)r="0"+r;return(u?i?"+":"":"-")+r}function vi(n,t){var i={milliseconds:0,months:0};return i.months=t.month()-n.month()+(t.year()-n.year())*12,n.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+n.clone().add(i.months,"M"),i}function wu(n,t){var i;return t=ot(t,n),n.isBefore(t)?i=vi(n,t):(i=vi(t,n),i.milliseconds=-i.milliseconds,i.months=-i.months),i}function yi(n,i){return function(r,u){var f,e;return u===null||isNaN(+u)||(yu(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period)."),e=r,r=u,u=e),r=typeof r=="string"?+r:r,f=t.duration(r,u),pi(this,f,n),this}}function pi(n,i,r,u){var o=i._milliseconds,f=i._days,e=i._months;u=u==null?!0:u,o&&n._d.setTime(+n._d+o*r),f&&cr(n,"Date",dt(n,"Date")+f*r),e&&hr(n,dt(n,"Month")+e*r),u&&t.updateOffset(n,f||e)}function et(n){return Object.prototype.toString.call(n)==="[object Array]"}function bu(n){return Object.prototype.toString.call(n)==="[object Date]"||n instanceof Date}function wi(n,t,r){for(var e=Math.min(n.length,t.length),o=Math.abs(n.length-t.length),f=0,u=0;u<e;u++)(r&&n[u]!==t[u]||!r&&i(n[u])!==i(t[u]))&&f++;return f+o}function f(n){if(n){var t=n.toLowerCase().replace(/(.)s$/,"$1");n=au[n]||vu[t]||t}return n}function bi(n){var r={},i,t;for(t in n)b(n,t)&&(i=f(t),i&&(r[i]=n[t]));return r}function ku(i){var r,u;if(i.indexOf("week")===0)r=7,u="day";else if(i.indexOf("month")===0)r=12,u="month";else return;t[i]=function(f,e){var o,s,c=t._locale[i],h=[];if(typeof f=="number"&&(e=f,f=n),s=function(n){var i=t().utc().set(u,n);return c.call(t._locale,i,f||"")},e!=null)return s(e);for(o=0;o<r;o++)h.push(s(o));return h}}function i(n){var t=+n,i=0;return t!==0&&isFinite(t)&&(i=t>=0?Math.floor(t):Math.ceil(t)),i}function yt(n,t){return new Date(Date.UTC(n,t+1,0)).getUTCDate()}function ki(n,i,r){return d(t([n,11,31+i-r]),i,r).week}function di(n){return gi(n)?366:365}function gi(n){return n%4==0&&n%100!=0||n%400==0}function nr(n){var t;n._a&&n._pf.overflow===-2&&(t=n._a[h]<0||n._a[h]>11?h:n._a[e]<1||n._a[e]>yt(n._a[s],n._a[h])?e:n._a[c]<0||n._a[c]>23?c:n._a[nt]<0||n._a[nt]>59?nt:n._a[tt]<0||n._a[tt]>59?tt:n._a[it]<0||n._a[it]>999?it:-1,n._pf._overflowDayOfYear&&(t<s||t>e)&&(t=e),n._pf.overflow=t)}function tr(n){return n._isValid==null&&(n._isValid=!isNaN(n._d.getTime())&&n._pf.overflow<0&&!n._pf.empty&&!n._pf.invalidMonth&&!n._pf.nullInput&&!n._pf.invalidFormat&&!n._pf.userInvalidated,n._strict&&(n._isValid=n._isValid&&n._pf.charsLeftOver===0&&n._pf.unusedTokens.length===0)),n._isValid}function ir(n){return n?n.toLowerCase().replace("_","-"):n}function du(n){for(var r=0,i,t,f,u;r<n.length;){for(u=ir(n[r]).split("-"),i=u.length,t=ir(n[r+1]),t=t?t.split("-"):null;i>0;){if(f=rr(u.slice(0,i).join("-")),f)return f;if(t&&t.length>=i&&wi(u,t,!0)>=i-1)break;i--}r++}return null}function rr(n){var i=null;if(!w[n]&&pr)try{i=t.locale(),require("./locale/"+n),t.locale(i)}catch(r){}return w[n]}function ot(n,i){return i._isUTC?t(n).zone(i._offset||0):t(n).local()}function gu(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function nf(n){for(var i=n.match(gt),t=0,r=i.length;t<r;t++)i[t]=l[i[t]]?l[i[t]]:gu(i[t]);return function(u){var f="";for(t=0;t<r;t++)f+=i[t]instanceof Function?i[t].call(u,n):i[t];return f}}function pt(n,t){return n.isValid()?(t=ur(t,n.localeData()),lt[t]||(lt[t]=nf(t)),lt[t](n)):n.localeData().invalidDate()}function ur(n,t){function r(n){return t.longDateFormat(n)||n}var i=5;for(ut.lastIndex=0;i>=0&&ut.test(n);)n=n.replace(ut,r),ut.lastIndex=0,i-=1;return n}function tf(n,t){var r,i=t._strict;switch(n){case"Q":return ti;case"DDDD":return ri;case"YYYY":case"GGGG":case"gggg":return i?eu:gr;case"Y":case"G":case"g":return su;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return i?ou:nu;case"S":if(i)return ti;case"SS":if(i)return ii;case"SSS":if(i)return ri;case"DDD":return dr;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return iu;case"a":case"A":return t._locale._meridiemParse;case"X":return uu;case"Z":case"ZZ":return st;case"T":return ru;case"SSSS":return tu;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return i?ii:ni;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return ni;case"Do":return fu;default:return r=new RegExp(sf(of(n.replace("\\","")),"i"))}}function fr(n){n=n||"";var r=n.match(st)||[],f=r[r.length-1]||[],t=(f+"").match(lu)||["-",0,0],u=+(t[1]*60)+i(t[2]);return t[0]==="+"?-u:u}function rf(n,r,u){var o,f=u._a;switch(n){case"Q":r!=null&&(f[h]=(i(r)-1)*3);break;case"M":case"MM":r!=null&&(f[h]=i(r)-1);break;case"MMM":case"MMMM":o=u._locale.monthsParse(r),o!=null?f[h]=o:u._pf.invalidMonth=r;break;case"D":case"DD":r!=null&&(f[e]=i(r));break;case"Do":r!=null&&(f[e]=i(parseInt(r,10)));break;case"DDD":case"DDDD":r!=null&&(u._dayOfYear=i(r));break;case"YY":f[s]=t.parseTwoDigitYear(r);break;case"YYYY":case"YYYYY":case"YYYYYY":f[s]=i(r);break;case"a":case"A":u._isPm=u._locale.isPM(r);break;case"H":case"HH":case"h":case"hh":f[c]=i(r);break;case"m":case"mm":f[nt]=i(r);break;case"s":case"ss":f[tt]=i(r);break;case"S":case"SS":case"SSS":case"SSSS":f[it]=i(("0."+r)*1e3);break;case"X":u._d=new Date(parseFloat(r)*1e3);break;case"Z":case"ZZ":u._useUTC=!0,u._tzm=fr(r);break;case"dd":case"ddd":case"dddd":o=u._locale.weekdaysParse(r),o!=null?(u._w=u._w||{},u._w.d=o):u._pf.invalidWeekday=r;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":n=n.substr(0,1);case"gggg":case"GGGG":case"GGGGG":n=n.substr(0,2),r&&(u._w=u._w||{},u._w[n]=i(r));break;case"gg":case"GG":u._w=u._w||{},u._w[n]=t.parseTwoDigitYear(r)}}function uf(n){var i,o,f,u,r,e,h;i=n._w,i.GG!=null||i.W!=null||i.E!=null?(r=1,e=4,o=g(i.GG,n._a[s],d(t(),1,4).year),f=g(i.W,1),u=g(i.E,1)):(r=n._locale._week.dow,e=n._locale._week.doy,o=g(i.gg,n._a[s],d(t(),r,e).year),f=g(i.w,1),i.d!=null?(u=i.d,u<r&&++f):u=i.e!=null?i.e+r:r),h=bf(o,f,u,e,r),n._a[s]=h.year,n._dayOfYear=h.dayOfYear}function wt(n){var t,i,r=[],u,f;if(!n._d){for(u=ef(n),n._w&&n._a[e]==null&&n._a[h]==null&&uf(n),n._dayOfYear&&(f=g(n._a[s],u[s]),n._dayOfYear>di(f)&&(n._pf._overflowDayOfYear=!0),i=kt(f,0,n._dayOfYear),n._a[h]=i.getUTCMonth(),n._a[e]=i.getUTCDate()),t=0;t<3&&n._a[t]==null;++t)n._a[t]=r[t]=u[t];for(;t<7;t++)n._a[t]=r[t]=n._a[t]==null?t===2?1:0:n._a[t];n._d=(n._useUTC?kt:vf).apply(null,r),n._tzm!=null&&n._d.setUTCMinutes(n._d.getUTCMinutes()+n._tzm)}}function ff(n){var t;n._d||(t=bi(n._i),n._a=[t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond],wt(n))}function ef(n){var t=new Date;return n._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function bt(n){if(n._f===t.ISO_8601){er(n);return}n._a=[],n._pf.empty=!0;for(var i=""+n._i,r,u,e,h=i.length,s=0,o=ur(n._f,n._locale).match(gt)||[],f=0;f<o.length;f++)u=o[f],r=(i.match(tf(u,n))||[])[0],r&&(e=i.substr(0,i.indexOf(r)),e.length>0&&n._pf.unusedInput.push(e),i=i.slice(i.indexOf(r)+r.length),s+=r.length),l[u]?(r?n._pf.empty=!1:n._pf.unusedTokens.push(u),rf(u,r,n)):n._strict&&!r&&n._pf.unusedTokens.push(u);n._pf.charsLeftOver=h-s,i.length>0&&n._pf.unusedInput.push(i),n._isPm&&n._a[c]<12&&(n._a[c]+=12),n._isPm===!1&&n._a[c]===12&&(n._a[c]=0),wt(n),nr(n)}function of(n){return n.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(n,t,i,r,u){return t||i||r||u})}function sf(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function hf(n){var t,f,u,r,i;if(n._f.length===0){n._pf.invalidFormat=!0,n._d=new Date(NaN);return}for(r=0;r<n._f.length;r++)(i=0,t=ai({},n),n._useUTC!=null&&(t._useUTC=n._useUTC),t._pf=at(),t._f=n._f[r],bt(t),tr(t))&&(i+=t._pf.charsLeftOver,i+=t._pf.unusedTokens.length*10,t._pf.score=i,(u==null||i<u)&&(u=i,f=t));k(n,f||t)}function er(n){var t,i,r=n._i,u=hu.exec(r);if(u){for(n._pf.iso=!0,t=0,i=ht.length;t<i;t++)if(ht[t][1].exec(r)){n._f=ht[t][0]+(u[6]||" ");break}for(t=0,i=ct.length;t<i;t++)if(ct[t][1].exec(r)){n._f+=ct[t][0];break}r.match(st)&&(n._f+="Z"),bt(n)}else n._isValid=!1}function cf(n){er(n),n._isValid===!1&&(delete n._isValid,t.createFromInputFallback(n))}function lf(n,t){for(var r=[],i=0;i<n.length;++i)r.push(t(n[i],i));return r}function af(i){var r=i._i,u;r===n?i._d=new Date:bu(r)?i._d=new Date(+r):(u=wr.exec(r))!==null?i._d=new Date(+u[1]):typeof r=="string"?cf(i):et(r)?(i._a=lf(r.slice(0),function(n){return parseInt(n,10)}),wt(i)):typeof r=="object"?ff(i):typeof r=="number"?i._d=new Date(r):t.createFromInputFallback(i)}function vf(n,t,i,r,u,f,e){var o=new Date(n,t,i,r,u,f,e);return n<1970&&o.setFullYear(n),o}function kt(n){var t=new Date(Date.UTC.apply(null,arguments));return n<1970&&t.setUTCFullYear(n),t}function yf(n,t){if(typeof n=="string")if(isNaN(n)){if(n=t.weekdaysParse(n),typeof n!="number")return null}else n=parseInt(n,10);return n}function pf(n,t,i,r,u){return u.relativeTime(t||1,!!i,n,r)}function wf(n,i,r){var u=t.duration(n).abs(),c=p(u.as("s")),e=p(u.as("m")),o=p(u.as("h")),s=p(u.as("d")),h=p(u.as("M")),l=p(u.as("y")),f=c<y.s&&["s",c]||e===1&&["m"]||e<y.m&&["mm",e]||o===1&&["h"]||o<y.h&&["hh",o]||s===1&&["d"]||s<y.d&&["dd",s]||h===1&&["M"]||h<y.M&&["MM",h]||l===1&&["y"]||["yy",l];return f[2]=i,f[3]=+n>0,f[4]=r,pf.apply({},f)}function d(n,i,r){var e=r-i,u=r-n.day(),f;return u>e&&(u-=7),u<e-7&&(u+=7),f=t(n).add(u,"d"),{week:Math.ceil(f.dayOfYear()/7),year:f.year()}}function bf(n,t,i,r,u){var f=kt(n,0,1).getUTCDay(),o,e;return f=f===0?7:f,i=i!=null?i:u,o=u-f+(f>r?7:0)-(f<u?7:0),e=7*(t-1)+(i-u)+o+1,{year:e>0?n:n-1,dayOfYear:e>0?e:di(n-1)+e}}function or(i){var r=i._i,u=i._f;return(i._locale=i._locale||t.localeData(i._l),r===null||u===n&&r==="")?t.invalid({nullInput:!0}):(typeof r=="string"&&(i._i=r=i._locale.preparse(r)),t.isMoment(r))?new ft(r,!0):(u?et(u)?hf(i):bt(i):af(i),new ft(i))}function sr(n,i){var u,r;if(i.length===1&&et(i[0])&&(i=i[0]),!i.length)return t();for(u=i[0],r=1;r<i.length;++r)i[r][n](u)&&(u=i[r]);return u}function hr(n,t){var i;return typeof t=="string"&&(t=n.localeData().monthsParse(t),typeof t!="number")?n:(i=Math.min(n.date(),yt(n.year(),t)),n._d["set"+(n._isUTC?"UTC":"")+"Month"](t,i),n)}function dt(n,t){return n._d["get"+(n._isUTC?"UTC":"")+t]()}function cr(n,t,i){return t==="Month"?hr(n,i):n._d["set"+(n._isUTC?"UTC":"")+t](i)}function v(n,i){return function(r){return r!=null?(cr(this,n,r),t.updateOffset(this,i),this):dt(this,n)}}function lr(n){return n*400/146097}function ar(n){return n*146097/400}function kf(n){t.duration.fn[n]=function(){return this._data[n]}}for(var t,vr="2.8.3",df=typeof global!="undefined"?global:this,gf,p=Math.round,yr=Object.prototype.hasOwnProperty,u,s=0,h=1,e=2,c=3,nt=4,tt=5,it=6,w={},rt=[],pr=typeof module!="undefined"&&module.exports,wr=/^\/?Date\((\-?\d+)/i,br=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,kr=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,gt=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,ut=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,ni=/\d\d?/,dr=/\d{1,3}/,gr=/\d{1,4}/,nu=/[+\-]?\d{1,6}/,tu=/\d+/,iu=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,st=/Z|[\+\-]\d\d:?\d\d/gi,ru=/T/i,uu=/[\+\-]?\d+(\.\d{1,3})?/,fu=/\d{1,2}/,ti=/\d/,ii=/\d\d/,ri=/\d{3}/,eu=/\d{4}/,ou=/[+-]?\d{6}/,su=/[+-]?\d+/,hu=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,cu="YYYY-MM-DDTHH:mm:ssZ",ht=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],ct=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],lu=/([\+\-]|\d\d)/gi,ne="Date|Hours|Minutes|Seconds|Milliseconds".split("|"),ui={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6},au={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},vu={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},lt={},y={s:45,m:45,h:22,d:26,M:11},fi="DDD w W M D d".split(" "),ei="M D H h m s w W".split(" "),l={M:function(){return this.month()+1},MMM:function(n){return this.localeData().monthsShort(this,n)},MMMM:function(n){return this.localeData().months(this,n)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(n){return this.localeData().weekdaysMin(this,n)},ddd:function(n){return this.localeData().weekdaysShort(this,n)},dddd:function(n){return this.localeData().weekdays(this,n)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return r(this.year()%100,2)},YYYY:function(){return r(this.year(),4)},YYYYY:function(){return r(this.year(),5)},YYYYYY:function(){var n=this.year(),t=n>=0?"+":"-";return t+r(Math.abs(n),6)},gg:function(){return r(this.weekYear()%100,2)},gggg:function(){return r(this.weekYear(),4)},ggggg:function(){return r(this.weekYear(),5)},GG:function(){return r(this.isoWeekYear()%100,2)},GGGG:function(){return r(this.isoWeekYear(),4)},GGGGG:function(){return r(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return i(this.milliseconds()/100)},SS:function(){return r(i(this.milliseconds()/10),2)},SSS:function(){return r(this.milliseconds(),3)},SSSS:function(){return r(this.milliseconds(),3)},Z:function(){var n=-this.zone(),t="+";return n<0&&(n=-n,t="-"),t+r(i(n/60),2)+":"+r(i(n)%60,2)},ZZ:function(){var n=-this.zone(),t="+";return n<0&&(n=-n,t="-"),t+r(i(n/60),2)+r(i(n)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},oi={},si=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];fi.length;)u=fi.pop(),l[u+"o"]=pu(l[u],u);while(ei.length)u=ei.pop(),l[u+u]=ci(l[u],2);for(l.DDDD=ci(l.DDD,3),k(li.prototype,{set:function(n){var t,i;for(i in n)t=n[i],typeof t=="function"?this[i]=t:this["_"+i]=t},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(n){return this._months[n.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(n){return this._monthsShort[n.month()]},monthsParse:function(n){var i,r,u;for(this._monthsParse||(this._monthsParse=[]),i=0;i<12;i++)if(this._monthsParse[i]||(r=t.utc([2e3,i]),u="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(u.replace(".",""),"i")),this._monthsParse[i].test(n))return i},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(n){return this._weekdays[n.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(n){return this._weekdaysShort[n.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(n){return this._weekdaysMin[n.day()]},weekdaysParse:function(n){var i,r,u;for(this._weekdaysParse||(this._weekdaysParse=[]),i=0;i<7;i++)if(this._weekdaysParse[i]||(r=t([2e3,1]).day(i),u="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(u.replace(".",""),"i")),this._weekdaysParse[i].test(n))return i},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(n){var t=this._longDateFormat[n];return!t&&this._longDateFormat[n.toUpperCase()]&&(t=this._longDateFormat[n.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(n){return n.slice(1)}),this._longDateFormat[n]=t),t},isPM:function(n){return(n+"").toLowerCase().charAt(0)==="p"},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(n,t,i){return n>11?i?"pm":"PM":i?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(n,t){var i=this._calendar[n];return typeof i=="function"?i.apply(t):i},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(n,t,i,r){var u=this._relativeTime[i];return typeof u=="function"?u(n,t,i,r):u.replace(/%d/i,n)},pastFuture:function(n,t){var i=this._relativeTime[n>0?"future":"past"];return typeof i=="function"?i(t):i.replace(/%s/i,t)},ordinal:function(n){return this._ordinal.replace("%d",n)},_ordinal:"%d",preparse:function(n){return n},postformat:function(n){return n},week:function(n){return d(n,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),t=function(t,i,r,u){var f;return typeof r=="boolean"&&(u=r,r=n),f={},f._isAMomentObject=!0,f._i=t,f._f=i,f._l=r,f._strict=u,f._isUTC=!1,f._pf=at(),or(f)},t.suppressDeprecationWarnings=!1,t.createFromInputFallback=a("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(n){n._d=new Date(n._i)}),t.min=function(){var n=[].slice.call(arguments,0);return sr("isBefore",n)},t.max=function(){var n=[].slice.call(arguments,0);return sr("isAfter",n)},t.utc=function(t,i,r,u){var f;return typeof r=="boolean"&&(u=r,r=n),f={},f._isAMomentObject=!0,f._useUTC=!0,f._isUTC=!0,f._l=r,f._i=t,f._f=i,f._strict=u,f._pf=at(),or(f).utc()},t.unix=function(n){return t(n*1e3)},t.duration=function(n,r){var f=n,u=null,o,h,s,l;return t.isDuration(n)?f={ms:n._milliseconds,d:n._days,M:n._months}:typeof n=="number"?(f={},r?f[r]=n:f.milliseconds=n):(u=br.exec(n))?(o=u[1]==="-"?-1:1,f={y:0,d:i(u[e])*o,h:i(u[c])*o,m:i(u[nt])*o,s:i(u[tt])*o,ms:i(u[it])*o}):(u=kr.exec(n))?(o=u[1]==="-"?-1:1,s=function(n){var t=n&&parseFloat(n.replace(",","."));return(isNaN(t)?0:t)*o},f={y:s(u[2]),M:s(u[3]),d:s(u[4]),h:s(u[5]),m:s(u[6]),s:s(u[7]),w:s(u[8])}):typeof f=="object"&&("from"in f||"to"in f)&&(l=wu(t(f.from),t(f.to)),f={},f.ms=l.milliseconds,f.M=l.months),h=new vt(f),t.isDuration(n)&&b(n,"_locale")&&(h._locale=n._locale),h},t.version=vr,t.defaultFormat=cu,t.ISO_8601=function(){},t.momentProperties=rt,t.updateOffset=function(){},t.relativeTimeThreshold=function(t,i){return y[t]===n?!1:i===n?y[t]:(y[t]=i,!0)},t.lang=a("moment.lang is deprecated. Use moment.locale instead.",function(n,i){return t.locale(n,i)}),t.locale=function(n,i){var r;return n&&(r=typeof i!="undefined"?t.defineLocale(n,i):t.localeData(n),r&&(t.duration._locale=t._locale=r)),t._locale._abbr},t.defineLocale=function(n,i){return i!==null?(i.abbr=n,w[n]||(w[n]=new li),w[n].set(i),t.locale(n),w[n]):(delete w[n],null)},t.langData=a("moment.langData is deprecated. Use moment.localeData instead.",function(n){return t.localeData(n)}),t.localeData=function(n){var i;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return t._locale;if(!et(n)){if(i=rr(n),i)return i;n=[n]}return du(n)},t.isMoment=function(n){return n instanceof ft||n!=null&&b(n,"_isAMomentObject")},t.isDuration=function(n){return n instanceof vt},u=si.length-1;u>=0;--u)ku(si[u]);t.normalizeUnits=function(n){return f(n)},t.invalid=function(n){var i=t.utc(NaN);return n!=null?k(i._pf,n):i._pf.userInvalidated=!0,i},t.parseZone=function(){return t.apply(null,arguments).parseZone()},t.parseTwoDigitYear=function(n){return i(n)+(i(n)>68?1900:2e3)},k(t.fn=ft.prototype,{clone:function(){return t(this)},valueOf:function(){return+this._d+(this._offset||0)*6e4},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var n=t(this).utc();return 0<n.year()&&n.year()<=9999?pt(n,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):pt(n,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var n=this;return[n.year(),n.month(),n.date(),n.hours(),n.minutes(),n.seconds(),n.milliseconds()]},isValid:function(){return tr(this)},isDSTShifted:function(){return this._a?this.isValid()&&wi(this._a,(this._isUTC?t.utc(this._a):t(this._a)).toArray())>0:!1},parsingFlags:function(){return k({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(n){return this.zone(0,n)},local:function(n){return this._isUTC&&(this.zone(0,n),this._isUTC=!1,n&&this.add(this._dateTzOffset(),"m")),this},format:function(n){var i=pt(this,n||t.defaultFormat);return this.localeData().postformat(i)},add:yi(1,"add"),subtract:yi(-1,"subtract"),diff:function(n,i,r){var u=ot(n,this),c=(this.zone()-u.zone())*6e4,e,s,h;return i=f(i),i==="year"||i==="month"?(e=(this.daysInMonth()+u.daysInMonth())*432e5,s=(this.year()-u.year())*12+(this.month()-u.month()),h=this-t(this).startOf("month")-(u-t(u).startOf("month")),h-=(this.zone()-t(this).startOf("month").zone()-(u.zone()-t(u).startOf("month").zone()))*6e4,s+=h/e,i==="year"&&(s=s/12)):(e=this-u,s=i==="second"?e/1e3:i==="minute"?e/6e4:i==="hour"?e/36e5:i==="day"?(e-c)/864e5:i==="week"?(e-c)/6048e5:e),r?s:o(s)},from:function(n,i){return t.duration({to:this,from:n}).locale(this.locale()).humanize(!i)},fromNow:function(n){return this.from(t(),n)},calendar:function(n){var r=n||t(),u=ot(r,this).startOf("day"),i=this.diff(u,"days",!0),f=i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse";return this.format(this.localeData().calendar(f,this))},isLeapYear:function(){return gi(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(n){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return n!=null?(n=yf(n,this.localeData()),this.add(n-t,"d")):t},month:v("Month",!0),startOf:function(n){n=f(n);switch(n){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return n==="week"?this.weekday(0):n==="isoWeek"&&this.isoWeekday(1),n==="quarter"&&this.month(Math.floor(this.month()/3)*3),this},endOf:function(n){return n=f(n),this.startOf(n).add(1,n==="isoWeek"?"week":n).subtract(1,"ms")},isAfter:function(n,i){return i=f(typeof i!="undefined"?i:"millisecond"),i==="millisecond"?(n=t.isMoment(n)?n:t(n),+this>+n):+this.clone().startOf(i)>+t(n).startOf(i)},isBefore:function(n,i){return i=f(typeof i!="undefined"?i:"millisecond"),i==="millisecond"?(n=t.isMoment(n)?n:t(n),+this<+n):+this.clone().startOf(i)<+t(n).startOf(i)},isSame:function(n,i){return i=f(i||"millisecond"),i==="millisecond"?(n=t.isMoment(n)?n:t(n),+this==+n):+this.clone().startOf(i)==+ot(n,this).startOf(i)},min:a("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(n){return n=t.apply(null,arguments),n<this?this:n}),max:a("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(n){return n=t.apply(null,arguments),n>this?this:n}),zone:function(n,i){var r=this._offset||0,u;if(n!=null)typeof n=="string"&&(n=fr(n)),Math.abs(n)<16&&(n=n*60),!this._isUTC&&i&&(u=this._dateTzOffset()),this._offset=n,this._isUTC=!0,u!=null&&this.subtract(u,"m"),r!==n&&(!i||this._changeInProgress?pi(this,t.duration(r-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null));else return this._isUTC?r:this._dateTzOffset();return this},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):typeof this._i=="string"&&this.zone(this._i),this},hasAlignedHourOffset:function(n){return n=n?t(n).zone():0,(this.zone()-n)%60==0},daysInMonth:function(){return yt(this.year(),this.month())},dayOfYear:function(n){var i=p((t(this).startOf("day")-t(this).startOf("year"))/864e5)+1;return n==null?i:this.add(n-i,"d")},quarter:function(n){return n==null?Math.ceil((this.month()+1)/3):this.month((n-1)*3+this.month()%3)},weekYear:function(n){var t=d(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return n==null?t:this.add(n-t,"y")},isoWeekYear:function(n){var t=d(this,1,4).year;return n==null?t:this.add(n-t,"y")},week:function(n){var t=this.localeData().week(this);return n==null?t:this.add((n-t)*7,"d")},isoWeek:function(n){var t=d(this,1,4).week;return n==null?t:this.add((n-t)*7,"d")},weekday:function(n){var t=(this.day()+7-this.localeData()._week.dow)%7;return n==null?t:this.add(n-t,"d")},isoWeekday:function(n){return n==null?this.day()||7:this.day(this.day()%7?n:n-7)},isoWeeksInYear:function(){return ki(this.year(),1,4)},weeksInYear:function(){var n=this.localeData()._week;return ki(this.year(),n.dow,n.doy)},get:function(n){return n=f(n),this[n]()},set:function(n,t){return n=f(n),typeof this[n]=="function"&&this[n](t),this},locale:function(i){var r;return i===n?this._locale._abbr:(r=t.localeData(i),r!=null&&(this._locale=r),this)},lang:a("moment().lang() is deprecated. Use moment().localeData() instead.",function(t){return t===n?this.localeData():this.locale(t)}),localeData:function(){return this._locale},_dateTzOffset:function(){return Math.round(this._d.getTimezoneOffset()/15)*15}}),t.fn.millisecond=t.fn.milliseconds=v("Milliseconds",!1),t.fn.second=t.fn.seconds=v("Seconds",!1),t.fn.minute=t.fn.minutes=v("Minutes",!1),t.fn.hour=t.fn.hours=v("Hours",!0),t.fn.date=v("Date",!0),t.fn.dates=a("dates accessor is deprecated. Use date instead.",v("Date",!0)),t.fn.year=v("FullYear",!0),t.fn.years=a("years accessor is deprecated. Use year instead.",v("FullYear",!0)),t.fn.days=t.fn.day,t.fn.months=t.fn.month,t.fn.weeks=t.fn.week,t.fn.isoWeeks=t.fn.isoWeek,t.fn.quarters=t.fn.quarter,t.fn.toJSON=t.fn.toISOString,k(t.duration.fn=vt.prototype,{_bubble:function(){var s=this._milliseconds,t=this._days,i=this._months,n=this._data,u,f,e,r=0;n.milliseconds=s%1e3,u=o(s/1e3),n.seconds=u%60,f=o(u/60),n.minutes=f%60,e=o(f/60),n.hours=e%24,t+=o(e/24),r=o(lr(t)),t-=o(ar(r)),i+=o(t/30),t%=30,r+=o(i/12),i%=12,n.days=t,n.months=i,n.years=r},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return o(this.days()/7)},valueOf:function(){return this._milliseconds+this._days*864e5+this._months%12*2592e6+i(this._months/12)*31536e6},humanize:function(n){var t=wf(this,!n,this.localeData());return n&&(t=this.localeData().pastFuture(+this,t)),this.localeData().postformat(t)},add:function(n,i){var r=t.duration(n,i);return this._milliseconds+=r._milliseconds,this._days+=r._days,this._months+=r._months,this._bubble(),this},subtract:function(n,i){var r=t.duration(n,i);return this._milliseconds-=r._milliseconds,this._days-=r._days,this._months-=r._months,this._bubble(),this},get:function(n){return n=f(n),this[n.toLowerCase()+"s"]()},as:function(n){var t,i;if(n=f(n),n==="month"||n==="year")return t=this._days+this._milliseconds/864e5,i=this._months+lr(t)*12,n==="month"?i:i/12;t=this._days+ar(this._months/12);switch(n){case"week":return t/7+this._milliseconds/6048e5;case"day":return t+this._milliseconds/864e5;case"hour":return t*24+this._milliseconds/36e5;case"minute":return t*1440+this._milliseconds/6e4;case"second":return t*86400+this._milliseconds/1e3;case"millisecond":return Math.floor(t*864e5)+this._milliseconds;default:throw new Error("Unknown unit "+n);}},lang:t.fn.lang,locale:t.fn.locale,toIsoString:a("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var r=Math.abs(this.years()),u=Math.abs(this.months()),f=Math.abs(this.days()),n=Math.abs(this.hours()),t=Math.abs(this.minutes()),i=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(r?r+"Y":"")+(u?u+"M":"")+(f?f+"D":"")+(n||t||i?"T":"")+(n?n+"H":"")+(t?t+"M":"")+(i?i+"S":""):"P0D"},localeData:function(){return this._locale}}),t.duration.fn.toString=t.duration.fn.toISOString;for(u in ui)b(ui,u)&&kf(u.toLowerCase());return t.duration.fn.asMilliseconds=function(){return this.as("ms")},t.duration.fn.asSeconds=function(){return this.as("s")},t.duration.fn.asMinutes=function(){return this.as("m")},t.duration.fn.asHours=function(){return this.as("h")},t.duration.fn.asDays=function(){return this.as("d")},t.duration.fn.asWeeks=function(){return this.as("weeks")},t.duration.fn.asMonths=function(){return this.as("M")},t.duration.fn.asYears=function(){return this.as("y")},t.locale("en",{ordinal:function(n){var t=n%10,r=i(n%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+r}}),function(n){n(t)}(function(n){return n.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiem:function(n,t,i){return n<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinal:function(n){return n+(n===1||n===8||n>=20?"ste":"de")},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}),function(n){n(t)}(function(n){var t={"1":"١","2":"٢","3":"٣","4":"٤","5":"٥","6":"٦","7":"٧","8":"٨","9":"٩","0":"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};return n.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},meridiem:function(n){return n<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(n){return n.replace(/[۰-۹]/g,function(n){return i[n]}).replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return t[n]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}),function(n){n(t)}(function(n){var u={"1":"١","2":"٢","3":"٣","4":"٤","5":"٥","6":"٦","7":"٧","8":"٨","9":"٩","0":"٠"},f={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(n){return n===0?0:n===1?1:n===2?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5},e={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},t=function(n){return function(t,r){var s=i(t),o=e[n][i(t)];return s===2&&(o=o[r?0:1]),o.replace(/%d/i,t)}},r=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];return n.defineLocale("ar",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},meridiem:function(n){return n<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:t("s"),m:t("m"),mm:t("m"),h:t("h"),hh:t("h"),d:t("d"),dd:t("d"),M:t("M"),MM:t("M"),y:t("y"),yy:t("y")},preparse:function(n){return n.replace(/[۰-۹]/g,function(n){return f[n]}).replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return u[n]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}),function(n){n(t)}(function(n){var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};return n.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiem:function(n){return n<4?"gecə":n<12?"səhər":n<17?"gündüz":"axşam"},ordinal:function(n){if(n===0)return n+"-ıncı";var i=n%10,r=n%100-i,u=n>=100?100:null;return n+(t[i]||t[r]||t[u])},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){function i(n,t){var i=n.split("_");return t%10==1&&t%100!=11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function t(n,t,r){var u={mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return r==="m"?t?"хвіліна":"хвіліну":r==="h"?t?"гадзіна":"гадзіну":n+" "+i(u[r],+n)}function r(n,t){var i={nominative:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_"),accusative:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function u(n,t){var i={nominative:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),accusative:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_")},r=/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/.test(t)?"accusative":"nominative";return i[r][n.day()]}return n.defineLocale("be",{months:r,monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:u,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiem:function(n){return n<4?"ночы":n<12?"раніцы":n<17?"дня":"вечара"},ordinal:function(n,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return(n%10==2||n%10==3)&&n%100!=12&&n%100!=13?n+"-і":n+"-ы";case"D":return n+"-га";default:return n}},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinal:function(n){var t=n%10,i=n%100;return n===0?n+"-ев":i===0?n+"-ен":i>10&&i<20?n+"-ти":t===1?n+"-ви":t===2?n+"-ри":t===7||t===8?n+"-ми":n+"-ти"},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){var t={"1":"১","2":"২","3":"৩","4":"৪","5":"৫","6":"৬","7":"৭","8":"৮","9":"৯","0":"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};return n.defineLocale("bn",{months:"জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রুবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্রু_শনি".split("_"),weekdaysMin:"রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কএক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(n){return n.replace(/[১২৩৪৫৬৭৮৯০]/g,function(n){return i[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return t[n]})},meridiem:function(n){return n<4?"রাত":n<10?"শকাল":n<17?"দুপুর":n<20?"বিকেল":"রাত"},week:{dow:0,doy:6}})}),function(n){n(t)}(function(n){var t={"1":"༡","2":"༢","3":"༣","4":"༤","5":"༥","6":"༦","7":"༧","8":"༨","9":"༩","0":"༠"},i={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};return n.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(n){return n.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(n){return i[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return t[n]})},meridiem:function(n){return n<4?"མཚན་མོ":n<10?"ཞོགས་ཀས":n<17?"ཉིན་གུང":n<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}),function(n){n(t)}(function(t){function i(n,t,i){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return n+" "+f(r[i],n)}function u(n){switch(r(n)){case 1:case 3:case 4:case 5:case 9:return n+" bloaz";default:return n+" vloaz"}}function r(n){return n>9?r(n%10):n}function f(n,t){return t===2?e(n):n}function e(t){var i={m:"v",b:"v",d:"z"};return i[t.charAt(0)]===n?t:i[t.charAt(0)]+t.substring(1)}return t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),longDateFormat:{LT:"h[e]mm A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY LT",LLLL:"dddd, D [a viz] MMMM YYYY LT"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:u},ordinal:function(n){var t=n===1?"añ":"vet";return n+t},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){function t(n,t,i){var r=n+" ";switch(i){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=n===1?"minuta":n===2||n===3||n===4?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=n===1?"sat":n===2||n===3||n===4?"sata":"sati";case"dd":return r+=n===1?"dan":"dana";case"MM":return r+=n===1?"mjesec":n===2||n===3||n===4?"mjeseca":"mjeseci";case"yy":return r+=n===1?"godina":n===2||n===3||n===4?"godine":"godina"}}return n.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),longDateFormat:{LT:"H:mm",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},ordinal:"%d.",week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),longDateFormat:{LT:"H:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:function(){return"[avui a "+(this.hours()!==1?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(this.hours()!==1?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(this.hours()!==1?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(this.hours()!==1?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(this.hours()!==1?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:"%dº",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){function i(n){return n>1&&n<5&&~~(n/10)!=1}function t(n,t,r,u){var f=n+" ";switch(r){case"s":return t||u?"pár sekund":"pár sekundami";case"m":return t?"minuta":u?"minutu":"minutou";case"mm":return t||u?f+(i(n)?"minuty":"minut"):f+"minutami";case"h":return t?"hodina":u?"hodinu":"hodinou";case"hh":return t||u?f+(i(n)?"hodiny":"hodin"):f+"hodinami";case"d":return t||u?"den":"dnem";case"dd":return t||u?f+(i(n)?"dny":"dní"):f+"dny";case"M":return t||u?"měsíc":"měsícem";case"MM":return t||u?f+(i(n)?"měsíce":"měsíců"):f+"měsíci";case"y":return t||u?"rok":"rokem";case"yy":return t||u?f+(i(n)?"roky":"let"):f+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),u="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");return n.defineLocale("cs",{months:r,monthsShort:u,monthsParse:function(n,t){for(var r=[],i=0;i<12;i++)r[i]=new RegExp("^"+n[i]+"$|^"+t[i]+"$","i");return r}(r,u),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd D. MMMM YYYY LT"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("cv",{months:"кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав".split("_"),monthsShort:"кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кĕç_эрн_шăм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кç_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",L:"DD-MM-YYYY",LL:"YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ]",LLL:"YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT",LLLL:"dddd, YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ĕнер] LT [сехетре]",nextWeek:"[Çитес] dddd LT [сехетре]",lastWeek:"[Иртнĕ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(n){var t=/сехет$/i.exec(n)?"рен":/çул$/i.exec(n)?"тан":"ран";return n+t},past:"%s каялла",s:"пĕр-ик çеккунт",m:"пĕр минут",mm:"%d минут",h:"пĕр сехет",hh:"%d сехет",d:"пĕр кун",dd:"%d кун",M:"пĕр уйăх",MM:"%d уйăх",y:"пĕр çул",yy:"%d çул"},ordinal:"%d-мĕш",week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinal:function(n){var t=n,i="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?i=t===40||t===50||t===60||t===80||t===100?"fed":"ain":t>0&&(i=r[t]),n+i},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd [d.] D. MMMM YYYY LT"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){function t(n,t,i){var u={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[n+" Tage",n+" Tagen"],M:["ein Monat","einem Monat"],MM:[n+" Monate",n+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[n+" Jahre",n+" Jahren"]};return t?u[i][0]:u[i][1]}return n.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm [Uhr]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Heute um] LT",sameElse:"L",nextDay:"[Morgen um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gestern um] LT",lastWeek:"[letzten] dddd [um] LT"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){function t(n,t,i){var u={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[n+" Tage",n+" Tagen"],M:["ein Monat","einem Monat"],MM:[n+" Monate",n+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[n+" Jahre",n+" Jahren"]};return t?u[i][0]:u[i][1]}return n.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm [Uhr]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Heute um] LT",sameElse:"L",nextDay:"[Morgen um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gestern um] LT",lastWeek:"[letzten] dddd [um] LT"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(n,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[n.month()]:this._monthsNominativeEl[n.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(n,t,i){return n>11?i?"μμ":"ΜΜ":i?"πμ":"ΠΜ"},isPM:function(n){return(n+"").toLowerCase()[0]==="μ"},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(n,t){var i=this._calendarEl[n],r=t&&t.hours();return typeof i=="function"&&(i=i.apply(t)),i.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinal:function(n){return n+"η"},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",L:"YYYY-MM-DD",LL:"D MMMM, YYYY",LLL:"D MMMM, YYYY LT",LLLL:"dddd, D MMMM, YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i}})}),function(n){n(t)}(function(n){return n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY LT",LLLL:"dddd, [la] D[-an de] MMMM, YYYY LT"},meridiem:function(n,t,i){return n>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinal:"%da",week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");return n.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(n,r){return/-MMM-/.test(r)?i[n.month()]:t[n.month()]},weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),longDateFormat:{LT:"H:mm",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY LT",LLLL:"dddd, D [de] MMMM [de] YYYY LT"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:"%dº",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){function t(n,t,i,r){var u={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[n+" minuti",n+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[n+" tunni",n+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[n+" kuu",n+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[n+" aasta",n+" aastat"]};return t?u[i][2]?u[i][2]:u[i][1]:r?u[i][0]:u[i][1]}return n.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] LT",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] LT",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] LT",llll:"ddd, YYYY[ko] MMM D[a] LT"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinal:"%d.",week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){var t={"1":"۱","2":"۲","3":"۳","4":"۴","5":"۵","6":"۶","7":"۷","8":"۸","9":"۹","0":"۰"},i={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};return n.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},meridiem:function(n){return n<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(n){return n.replace(/[۰-۹]/g,function(n){return i[n]}).replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return t[n]}).replace(/,/g,"،")},ordinal:"%dم",week:{dow:6,doy:12}})}),function(n){n(t)}(function(n){function t(n,t,i,r){var f="";switch(i){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"m":return r?"minuutin":"minuutti";case"mm":f=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":f=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":f=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":f=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":f=r?"vuoden":"vuotta"}return f=u(n,r)+" "+f}function u(n,t){return n<10?t?r[n]:i[n]:n}var i="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",i[7],i[8],i[9]];return n.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] LT",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] LT",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] LT",llll:"ddd, Do MMM YYYY, [klo] LT"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D. MMMM, YYYY LT"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(n){return n+(n===1?"er":"")}})}),function(n){n(t)}(function(n){return n.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(n){return n+(n===1?"er":"")},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("gl",{months:"Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro".split("_"),monthsShort:"Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),weekdays:"Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado".split("_"),weekdaysShort:"Dom._Lun._Mar._Mér._Xov._Ven._Sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mé_Xo_Ve_Sá".split("_"),longDateFormat:{LT:"H:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:function(){return"[hoxe "+(this.hours()!==1?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(this.hours()!==1?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(this.hours()!==1?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(this.hours()!==1?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(this.hours()!==1?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(n){return n==="uns segundos"?"nuns segundos":"en "+n},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinal:"%dº",week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY LT",LLLL:"dddd, D [ב]MMMM YYYY LT",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY LT",llll:"ddd, D MMM YYYY LT"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(n){return n===2?"שעתיים":n+" שעות"},d:"יום",dd:function(n){return n===2?"יומיים":n+" ימים"},M:"חודש",MM:function(n){return n===2?"חודשיים":n+" חודשים"},y:"שנה",yy:function(n){return n===2?"שנתיים":n+" שנים"}}})}),function(n){n(t)}(function(n){var t={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return n.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(n){return n.replace(/[१२३४५६७८९०]/g,function(n){return i[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return t[n]})},meridiem:function(n){return n<4?"रात":n<10?"सुबह":n<17?"दोपहर":n<20?"शाम":"रात"},week:{dow:0,doy:6}})}),function(n){n(t)}(function(n){function t(n,t,i){var r=n+" ";switch(i){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=n===1?"minuta":n===2||n===3||n===4?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=n===1?"sat":n===2||n===3||n===4?"sata":"sati";case"dd":return r+=n===1?"dan":"dana";case"MM":return r+=n===1?"mjesec":n===2||n===3||n===4?"mjeseca":"mjeseci";case"yy":return r+=n===1?"godina":n===2||n===3||n===4?"godine":"godina"}}return n.defineLocale("hr",{months:"sječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),monthsShort:"sje._vel._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),longDateFormat:{LT:"H:mm",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},ordinal:"%d.",week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){function t(n,t,i,r){var u=n,f;switch(i){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return u+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return u+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return u+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return u+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return u+(r||t?" év":" éve")}return""}function i(n){return(n?"":"[múlt] ")+"["+r[this.day()]+"] LT[-kor]"}var r="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");return n.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D., LT",LLLL:"YYYY. MMMM D., dddd LT"},meridiem:function(n,t,i){return n<12?i===!0?"de":"DE":i===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinal:"%d.",week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){function t(n,t){var i={nominative:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_"),accusative:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function i(n){var i="հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_");return i[n.month()]}function r(n){var i="կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_");return i[n.day()]}return n.defineLocale("hy-am",{months:t,monthsShort:i,weekdays:r,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., LT",LLLL:"dddd, D MMMM YYYY թ., LT"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiem:function(n){return n<4?"գիշերվա":n<12?"առավոտվա":n<17?"ցերեկվա":"երեկոյան"},ordinal:function(n,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return n===1?n+"-ին":n+"-րդ";default:return n}},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiem:function(n){return n<11?"pagi":n<15?"siang":n<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){function i(n){return n%100==11?!0:n%10==1?!1:!0}function t(n,t,r,u){var f=n+" ";switch(r){case"s":return t||u?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return t?"mínúta":"mínútu";case"mm":return i(n)?f+(t||u?"mínútur":"mínútum"):t?f+"mínúta":f+"mínútu";case"hh":return i(n)?f+(t||u?"klukkustundir":"klukkustundum"):f+"klukkustund";case"d":return t?"dagur":u?"dag":"degi";case"dd":return i(n)?t?f+"dagar":f+(u?"daga":"dögum"):t?f+"dagur":f+(u?"dag":"degi");case"M":return t?"mánuður":u?"mánuð":"mánuði";case"MM":return i(n)?t?f+"mánuðir":f+(u?"mánuði":"mánuðum"):t?f+"mánuður":f+(u?"mánuð":"mánuði");case"y":return t||u?"ár":"ári";case"yy":return i(n)?f+(t||u?"ár":"árum"):f+(t||u?"ár":"ári")}}return n.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] LT",LLLL:"dddd, D. MMMM YYYY [kl.] LT"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:t,m:t,mm:t,h:"klukkustund",hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"D_L_Ma_Me_G_V_S".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:"[lo scorso] dddd [alle] LT",sameElse:"L"},relativeTime:{future:function(n){return(/^[0-9].+$/.test(n)?"tra":"in")+" "+n},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:"%dº",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日LT",LLLL:"YYYY年M月D日LT dddd"},meridiem:function(n){return n<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}),function(n){n(t)}(function(n){function t(n,t){var i={nominative:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),accusative:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},r=/D[oD] *MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function i(n,t){var i={nominative:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),accusative:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_")},r=/(წინა|შემდეგ)/.test(t)?"accusative":"nominative";return i[r][n.day()]}return n.defineLocale("ka",{months:t,monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:i,weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(n){return/(წამი|წუთი|საათი|წელი)/.test(n)?n.replace(/ი$/,"ში"):n+"ში"},past:function(n){return/(წამი|წუთი|საათი|დღე|თვე)/.test(n)?n.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(n)?n.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinal:function(n){return n===0?n:n===1?n+"-ლი":n<20||n<=100&&n%20==0||n%100==0?"მე-"+n:n+"-ე"},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("km",{months:"មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[ថ្ងៃនៈ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 LT",LLLL:"YYYY년 MMMM D일 dddd LT"},meridiem:function(n){return n<12?"오전":"오후"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇초",ss:"%d초",m:"일분",mm:"%d분",h:"한시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한달",MM:"%d달",y:"일년",yy:"%d년"},ordinal:"%d일",meridiemParse:/(오전|오후)/,isPM:function(n){return n==="오후"}})}),function(n){n(t)}(function(n){function i(n,t,i){var u={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?u[i][0]:u[i][1]}function r(n){var i=n.substr(0,n.indexOf(" "));return t(i)?"a "+n:"an "+n}function u(n){var i=n.substr(0,n.indexOf(" "));return t(i)?"viru "+n:"virun "+n}function t(n){if(n=parseInt(n,10),isNaN(n))return!1;if(n<0)return!0;if(n<10)return 4<=n&&n<=7?!0:!1;if(n<100){var i=n%10,r=n/10;return i===0?t(r):t(i)}if(n<1e4){while(n>=10)n=n/10;return t(n)}return n=n/1e3,t(n)}return n.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),longDateFormat:{LT:"H:mm [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:r,past:u,s:"e puer Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d Méint",y:i,yy:"%d Joer"},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){function o(n,t,i,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function i(n,i,r,u){return i?t(r)[0]:u?t(r)[1]:t(r)[2]}function u(n){return n%10==0||n>10&&n<20}function t(n){return f[n].split("_")}function r(n,r,f,e){var o=n+" ";return n===1?o+i(n,r,f[0],e):r?o+(u(n)?t(f)[1]:t(f)[0]):e?o+t(f)[1]:o+(u(n)?t(f)[1]:t(f)[2])}function s(n,t){var r=t.indexOf("dddd HH:mm")===-1,i=e[n.day()];return r?i:i.substring(0,i.length-2)+"į"}var f={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},e="sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_");return n.defineLocale("lt",{months:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:s,weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], LT [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, LT [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], LT [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, LT [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:o,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},ordinal:function(n){return n+"-oji"},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){function r(n,t,i){var r=n.split("_");return i?t%10==1&&t!==11?r[2]:r[3]:t%10==1&&t!==11?r[0]:r[1]}function t(n,t,u){return n+" "+r(i[u],n,t)}var i={mm:"minūti_minūtes_minūte_minūtes",hh:"stundu_stundas_stunda_stundas",dd:"dienu_dienas_diena_dienas",MM:"mēnesi_mēnešus_mēnesis_mēneši",yy:"gadu_gadus_gads_gadi"};return n.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, LT",LLLL:"YYYY. [gada] D. MMMM, dddd, LT"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"%s vēlāk",past:"%s agrāk",s:"dažas sekundes",m:"minūti",mm:t,h:"stundu",hh:t,d:"dienu",dd:t,M:"mēnesi",MM:t,y:"gadu",yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Во изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Во изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinal:function(n){var t=n%10,i=n%100;return n===0?n+"-ев":i===0?n+"-ен":i>10&&i<20?n+"-ти":t===1?n+"-ви":t===2?n+"-ри":t===7||t===8?n+"-ми":n+"-ти"},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiem:function(n){return n<4?"രാത്രി":n<12?"രാവിലെ":n<17?"ഉച്ച കഴിഞ്ഞ്":n<20?"വൈകുന്നേരം":"രാത്രി"}})}),function(n){n(t)}(function(n){var t={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return n.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%s नंतर",past:"%s पूर्वी",s:"सेकंद",m:"एक मिनिट",mm:"%d मिनिटे",h:"एक तास",hh:"%d तास",d:"एक दिवस",dd:"%d दिवस",M:"एक महिना",MM:"%d महिने",y:"एक वर्ष",yy:"%d वर्षे"},preparse:function(n){return n.replace(/[१२३४५६७८९०]/g,function(n){return i[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return t[n]})},meridiem:function(n){return n<4?"रात्री":n<10?"सकाळी":n<17?"दुपारी":n<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}),function(n){n(t)}(function(n){return n.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiem:function(n){return n<11?"pagi":n<15?"tengahari":n<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){var t={"1":"၁","2":"၂","3":"၃","4":"၄","5":"၅","6":"၆","7":"၇","8":"၈","9":"၉","0":"၀"},i={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};return n.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_င်္ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_င်္ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(n){return n.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(n){return i[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return t[n]})},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tirs_ons_tors_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"H.mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] LT",LLLL:"dddd D. MMMM YYYY [kl.] LT"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){var t={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return n.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आइ._सो._मङ्_बु._बि._शु._श.".split("_"),longDateFormat:{LT:"Aको h:mm बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},preparse:function(n){return n.replace(/[१२३४५६७८९०]/g,function(n){return i[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return t[n]})},meridiem:function(n){return n<3?"राती":n<10?"बिहान":n<15?"दिउँसो":n<18?"बेलुका":n<20?"साँझ":"राती"},calendar:{sameDay:"[आज] LT",nextDay:"[भोली] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडी",s:"केही समय",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_");return n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(n,r){return/-MMM-/.test(r)?i[n.month()]:t[n.month()]},weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),longDateFormat:{LT:"HH:mm",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinal:function(n){return n+(n===1||n===8||n>=20?"ste":"de")},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){function i(n){return n%10<5&&n%10>1&&~~(n/10)%10!=1}function t(n,t,r){var u=n+" ";switch(r){case"m":return t?"minuta":"minutę";case"mm":return u+(i(n)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return u+(i(n)?"godziny":"godzin");case"MM":return u+(i(n)?"miesiące":"miesięcy");case"yy":return u+(i(n)?"lata":"lat")}}var r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),u="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");return n.defineLocale("pl",{months:function(n,t){return/D MMMM/.test(t)?u[n.month()]:r[n.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"N_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:t,mm:t,h:t,hh:t,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:t,y:"rok",yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] LT",LLLL:"dddd, D [de] MMMM [de] YYYY [às] LT"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinal:"%dº"})}),function(n){n(t)}(function(n){return n.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY LT",LLLL:"dddd, D [de] MMMM [de] YYYY LT"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinal:"%dº",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){function t(n,t,i){var u={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(n%100>=20||n>=100&&n%100==0)&&(r=" de "),n+r+u[i]}return n.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){function i(n,t){var i=n.split("_");return t%10==1&&t%100!=11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function t(n,t,r){var u={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return r==="m"?t?"минута":"минуту":n+" "+i(u[r],+n)}function r(n,t){var i={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function u(n,t){var i={nominative:"янв_фев_мар_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function f(n,t){var i={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},r=/\[ ?[Вв] ?(?:прошлую|следующую)? ?\] ?dddd/.test(t)?"accusative":"nominative";return i[r][n.day()]}return n.defineLocale("ru",{months:r,monthsShort:u,weekdays:f,weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return this.day()===2?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(){switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(n){return/^(дня|вечера)$/.test(n)},meridiem:function(n){return n<4?"ночи":n<12?"утра":n<17?"дня":"вечера"},ordinal:function(n,t){switch(t){case"M":case"d":case"DDD":return n+"-й";case"D":return n+"-го";case"w":case"W":return n+"-я";default:return n}},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){function i(n){return n>1&&n<5}function t(n,t,r,u){var f=n+" ";switch(r){case"s":return t||u?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":u?"minútu":"minútou";case"mm":return t||u?f+(i(n)?"minúty":"minút"):f+"minútami";case"h":return t?"hodina":u?"hodinu":"hodinou";case"hh":return t||u?f+(i(n)?"hodiny":"hodín"):f+"hodinami";case"d":return t||u?"deň":"dňom";case"dd":return t||u?f+(i(n)?"dni":"dní"):f+"dňami";case"M":return t||u?"mesiac":"mesiacom";case"MM":return t||u?f+(i(n)?"mesiace":"mesiacov"):f+"mesiacmi";case"y":return t||u?"rok":"rokom";case"yy":return t||u?f+(i(n)?"roky":"rokov"):f+"rokmi"}}var r="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),u="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");return n.defineLocale("sk",{months:r,monthsShort:u,monthsParse:function(n,t){for(var r=[],i=0;i<12;i++)r[i]=new RegExp("^"+n[i]+"$|^"+t[i]+"$","i");return r}(r,u),weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd D. MMMM YYYY LT"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){function t(n,t,i){var r=n+" ";switch(i){case"m":return t?"ena minuta":"eno minuto";case"mm":return r+=n===1?"minuta":n===2?"minuti":n===3||n===4?"minute":"minut";case"h":return t?"ena ura":"eno uro";case"hh":return r+=n===1?"ura":n===2?"uri":n===3||n===4?"ure":"ur";case"dd":return r+=n===1?"dan":"dni";case"MM":return r+=n===1?"mesec":n===2?"meseca":n===3||n===4?"mesece":"mesecev";case"yy":return r+=n===1?"leto":n===2?"leti":n===3||n===4?"leta":"let"}}return n.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),longDateFormat:{LT:"H:mm",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[prejšnja] dddd [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"%s nazaj",s:"nekaj sekund",m:t,mm:t,h:t,hh:t,d:"en dan",dd:t,M:"en mesec",MM:t,y:"eno leto",yy:t},ordinal:"%d.",week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),meridiem:function(n){return n<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinal:"%d.",week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){var t={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(n,t){return n===1?t[0]:n>=2&&n<=4?t[1]:t[2]},translate:function(n,i,r){var u=t.words[r];return r.length===1?i?u[0]:u[1]:n+" "+t.correctGrammaticalCase(n,u)}};return n.defineLocale("sr-cyrl",{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],monthsShort:["јан.","феб.","мар.","апр.","мај","јун","јул","авг.","сеп.","окт.","нов.","дец."],weekdays:["недеља","понедељак","уторак","среда","четвртак","петак","субота"],weekdaysShort:["нед.","пон.","уто.","сре.","чет.","пет.","суб."],weekdaysMin:["не","по","ут","ср","че","пе","су"],longDateFormat:{LT:"H:mm",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var n=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return n[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},ordinal:"%d.",week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){var t={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(n,t){return n===1?t[0]:n>=2&&n<=4?t[1]:t[2]},translate:function(n,i,r){var u=t.words[r];return r.length===1?i?u[0]:u[1]:n+" "+t.correctGrammaticalCase(n,u)}};return n.defineLocale("sr",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sre.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],longDateFormat:{LT:"H:mm",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var n=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return n[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},ordinal:"%d.",week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"dddd LT",lastWeek:"[Förra] dddd[en] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"e":t===1?"a":t===2?"a":t===3?"e":"e";return n+i},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinal:function(n){return n+"வது"},meridiem:function(n){return n>=6&&n<=10?" காலை":n>=10&&n<=14?" நண்பகல்":n>=14&&n<=18?" எற்பாடு":n>=18&&n<=20?" மாலை":n>=20&&n<=24?" இரவு":n>=0&&n<=6?" வைகறை":void 0},week:{dow:0,doy:6}})}),function(n){n(t)}(function(n){return n.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),longDateFormat:{LT:"H นาฬิกา m นาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา LT",LLLL:"วันddddที่ D MMMM YYYY เวลา LT"},meridiem:function(n){return n<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}),function(n){n(t)}(function(n){return n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM DD, YYYY LT"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinal:function(n){return n},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};return n.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(n){if(n===0)return n+"'ıncı";var i=n%10,r=n%100-i,u=n>=100?100:null;return n+(t[i]||t[r]||t[u])},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}),function(n){n(t)}(function(n){return n.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}),function(n){n(t)}(function(n){function r(n,t){var i=n.split("_");return t%10==1&&t%100!=11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function t(n,t,i){var u={mm:"хвилина_хвилини_хвилин",hh:"година_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return i==="m"?t?"хвилина":"хвилину":i==="h"?t?"година":"годину":n+" "+r(u[i],+n)}function u(n,t){var i={nominative:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),accusative:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_")},r=/D[oD]? *MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function f(n,t){var i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return i[r][n.day()]}function i(n){return function(){return n+"о"+(this.hours()===11?"б":"")+"] LT"}}return n.defineLocale("uk",{months:u,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:f,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., LT",LLLL:"dddd, D MMMM YYYY р., LT"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiem:function(n){return n<4?"ночі":n<12?"ранку":n<17?"дня":"вечора"},ordinal:function(n,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return n+"-й";case"D":return n+"-го";default:return n}},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("uz",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"D MMMM YYYY, dddd LT"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}),function(n){n(t)}(function(n){return n.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY LT",LLLL:"dddd, D MMMM [năm] YYYY LT",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY LT",llll:"ddd, D MMM YYYY LT"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinal:function(n){return n},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日LT",LLLL:"YYYY年MMMD日ddddLT",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日LT",llll:"YYYY年MMMD日ddddLT"},meridiem:function(n,t){var r=n*100+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:function(){return this.minutes()===0?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return this.minutes()===0?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return this.minutes()===0?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var i,t;return i=n().startOf("week"),t=this.unix()-i.unix()>=604800?"[下]":"[本]",this.minutes()===0?t+"dddAh点整":t+"dddAh点mm"},lastWeek:function(){var i,t;return i=n().startOf("week"),t=this.unix()<i.unix()?"[上]":"[本]",this.minutes()===0?t+"dddAh点整":t+"dddAh点mm"},sameElse:"LL"},ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"周";default:return n}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1分钟",mm:"%d分钟",h:"1小时",hh:"%d小时",d:"1天",dd:"%d天",M:"1个月",MM:"%d个月",y:"1年",yy:"%d年"},week:{dow:1,doy:4}})}),function(n){n(t)}(function(n){return n.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日LT",LLLL:"YYYY年MMMD日ddddLT",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日LT",llll:"YYYY年MMMD日ddddLT"},meridiem:function(n,t){var r=n*100+t;return r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"週";default:return n}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d分鐘",h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}})}),t.locale("en"),t}),ko.bindingHandlers.highlightText={update:function(n,t){var i=ko.utils.unwrapObservable(t()).replace(/[\\*"']/g,""),r=n.innerHTML.replace(/\\"/g,""),u=r.toLowerCase().indexOf(i.toLowerCase()),f=r.slice(u,u+i.length),e=new RegExp(i,"i"),o='<span class="marked">'+f+"<\/span>";n.innerHTML=n.innerHTML.replace(e,o)}},ko.bindingHandlers.initValue={init:function(n,t,i){var r=t(),u=i();if(typeof r=="object"&&"target"in r&&ko.isObservable(r.target)&&"value"in r)r.target(r.value);else if(typeof r!="object"&&"value"in u&&ko.isObservable(u.value))u.value(r);else throw new Error("Error binding initValue `"+n.getAttribute("data-bind")+"`\nUsage 1: data-bind='initValue:{target:observable, value:1234}'\nUsage 2: data-bind='value:observable, initValue:1234'");}},ko.bindingHandlers.initWithElementContent={init:function(n,t){var i=t();if(ko.isObservable(i))i(n.innerHTML);else throw new Error("Error binding initWithElementContent `"+n.getAttribute("data-bind")+"`\nTarget must be observable");}},ko.bindingHandlers.addToObservableArray={init:function(n,t){var u=t(),f;if(typeof u=="object"&&"target"in u&&"value"in u){for(f in u.value)u.value[f]=ko.observable(u.value[f]);u.target.push(u.value)}}},ko.bindingHandlers.slider={init:function(n,t){var u=ko.unwrap(t());$(n).slider({range:!0,min:ko.unwrap(u.min),max:ko.unwrap(u.max),values:[ko.unwrap(u.minValue),ko.unwrap(u.maxValue)],slide:function(n,t){u.minValue(t.values[0]),u.maxValue(t.values[1])}}),ko.utils.domNodeDisposal.addDisposeCallback(n,function(){$(n).slider("destroy")})},update:function(n,t){var u=ko.unwrap(t());$(n).slider({min:ko.unwrap(u.min),max:ko.unwrap(u.max),values:[ko.unwrap(u.minValue),ko.unwrap(u.maxValue)]})}},ko.bindingHandlers.searchAutocomplete={init:function(n,t,i){var e=ko.unwrap(i().applyTo),r=$(n),f,u;r.append('<div id="formWrapper" style="position: absolute"><\/div>'),f=r.children("#formWrapper").first(),u=r.children("#"+e).first(),u.autocomplete({source:t(),minLength:3,delay:300,appendTo:f,select:function(n,t){u.val(t.item.value),r.submit()},open:function(){return $(this).autocomplete("widget").css("z-index",101),!1}}).data("autocomplete")._resizeMenu=function(){var n=this.menu.element;n.outerWidth(this.element.outerWidth())},u.data("autocomplete")._renderItem=function(n,t){var i=this.term.replace(/[\\*"'?]/g,""),r=t.label.replace(/\\"/g,""),u=r.toLowerCase().indexOf(i.toLowerCase()),f=r.slice(u,u+i.length),e=new RegExp(i,"i"),o='<span class="written">'+f+"<\/span>",s=t.label.replace(e,o);return $("<li><\/li>").data("item.autocomplete",t).append($("<a><\/a>").html(s)).appendTo(n)}}},ko.bindingHandlers.bindHtml={init:function(){return{controlsDescendantBindings:!0}},update:function(n,t,i,r){var u=ko.unwrap(t()),f=ko.unwrap(i().viewModel);(u||u==="")&&($.each(n.childNodes,function(n){ko.cleanNode(n)}),n.innerHTML=u),f=f||r,ko.applyBindingsToDescendants(f,n)}},ko.bindingHandlers.stopBinding={init:function(){throw new Error("StopBinding should no longer be used! You can now nest viewmodels without stopBinding!");}},ko.bindingHandlers.focusOnElement={init:function(n,t){ko.utils.unwrapObservable(t())&&setTimeout(function(){$(n).focus(),ko.isObservable(t())&&t()(!1)},1)},update:function(n,t){ko.utils.unwrapObservable(t())&&($(n).focus(),ko.isObservable(t())&&t()(!1))}},ko.bindingHandlers.onKeyUp={update:function(n,t){var i=ko.utils.unwrapObservable(t()),r;ko.utils.unwrapObservable(i.when)?(r=function(n){n.keyCode==i.key&&i["do"](n)},$(document).unbind("keyup."+i.name).bind("keyup."+i.name,r)):$(document).unbind("keyup."+i.name)}},ko.bindingHandlers.bindOnKey={init:function(n,t){var i=ko.utils.unwrapObservable(t()),r=function(n){i.keys.forEach(function(t){if(n.keyCode==t){if(i.disableOnShiftKey&&n.shiftKey)return;i["do"](n)}})};$(n).bind("keypress."+i.name,r)}},ko.bindingHandlers.scrollToTop={update:function(n,t){ko.utils.unwrapObservable(t())&&$("html, body").animate({scrollTop:0},"slow")}},ko.bindingHandlers.alertBox={init:function(n,t,i){var r,u;$element=$(n),r=ko.utils.unwrapObservable(t()),u=ko.utils.unwrapObservable(i()),$element.addClass("aAlert aAlert-"+r.level);var e=$('<span type="button" class="error-dismiss button"><\/span>'),o=r.headline||u.alertHeadlines[r.level],s=$('<h2 class="header">'+o+"<\/h2>"),h=$('<img class="message-icon" src="/a/i/H/message-'+r.level+'.png" alt="'+r.level+'" />'),f=$('<div class="text-wrapper"><\/div>');$element.append(e),$element.append(h),f.append(s),f.append('<div class="message">'+r.message+"<\/div>"),$element.append(f),e.click(function(){u.closeHandler(r.isVisible)})}},ko.bindingHandlers.ajaxClick={init:function(n,t,i){var r=$(n),f=ko.utils.unwrapObservable(i()),u=$('<div class="loading loader" style="margin-left:5px"><\/div>');r.click(function(n){n.preventDefault(),r.after(u),f.ajaxClick(function(){u.remove()})})}},ko.bindingHandlers.stringResolveReplace={init:function(n,t,i){var r=ko.utils.unwrapObservable(t()),o=ko.utils.unwrapObservable(i()),f=o.replaceValues,u,e;for(u in f)e=new RegExp("{"+u+"}","g"),r=r.replace(e,f[u]);$(n).html(r)}},ko.bindingHandlers.nonEmptyText={update:function(n,t){var i=ko.utils.unwrapObservable(t());i&&$(n).text(i)}},ko.bindingHandlers.setViewModel={init:function(n,t,i,r,u){var e=ko.utils.unwrapObservable(t()),f=$(n).attr("data-initObject");return require([e],function(t){var i,o,s;if(f&&f in window)i=window[f];else if(f)try{i=JSON.parse(f)}catch(h){window.console&&window.console.log(h)}t==undefined&&(t=new function(){}),o=typeof t=="object"?t:new t(i,r);try{n.bound=e,s=u.createChildContext(o),ko.utils.domData.clear(n),ko.applyBindings(s,n)}catch(h){console&&console.error(h,n)}}),{controlsDescendantBindings:!0}}},ko.bindingProvider.instance=function(n){function t(n){return n.nodeType==1&&n.hasAttribute("data-viewmodel")&&!("bound"in n)}return{nodeHasBindings:function(i){return t(i)||n.nodeHasBindings(i)},getBindingAccessors:function(i,r){return t(i)?{setViewModel:function(){return i.getAttribute("data-viewmodel")}}:n.getBindingAccessors(i,r)}}}(ko.bindingProvider.instance),ko.bindingHandlers.selected={update:function(n,t,i,r){var u=i(),f=t(),e=ko.utils.unwrapObservable(u.value),o={selected:f()==e};ko.bindingHandlers.css.update(n,function(){return o},i,r)}},ko.bindingHandlers.selectable={init:function(n,t,i,r,u){var o=i(),f=t(),e=ko.utils.unwrapObservable(o.value),s=o.unselectable,h=function(){s?f(f()===e?"":e):f(e)};ko.bindingHandlers.click.init(n,function(){return h},i,r,u)},update:function(n,t,i,r){var u=i(),f=t(),e=ko.utils.unwrapObservable(u.value),o={selected:f()==e};ko.bindingHandlers.css.update(n,function(){return o},i,r)}},ko.bindingHandlers.hoverPreview={init:function(n,t){var i=t();$(n).mouseover(function(){var t=parseInt($(this).attr("data-index"));i(t)})}},ko.bindingHandlers.clickFullscreenSlider={init:function(n,t){var f=t();$(n).click(function(){f()})}},ko.bindingHandlers.showPopup={update:function(n,t){var f=ko.utils.unwrapObservable(t().showPopup);f==!0?($.magnificPopup.open({items:{src:$(n),type:"inline"},showCloseBtn:!1,closeOnBgClick:!is_touch_device(),callbacks:{open:function(){var n=$.magnificPopup.proto._getScrollbarSize(),t;$("body").css({marginLeft:-n/2}),is_touch_device()||(t=50+n/window.innerWidth*100,$("html, body").css({"background-position":t+"% 0%"}))},close:function(){$("body").css({marginLeft:""}),$("html, body").css({"background-position":"50% 0%"})},afterClose:function(){t().closePopup()}}}),$.magnificPopup.instance.close=function(){var n=ko.utils.unwrapObservable(t().closeHandler);(n==null||n()!=!1)&&$.magnificPopup.proto.close.call(this)}):f==!1&&$.magnificPopup.instance&&$.magnificPopup.close()}},ko.bindingHandlers.loadFullscreenSlider={update:function(n,t){var f=ko.utils.unwrapObservable(t()),e;f.DOMDoneLoading()&&(e=f.currentIndex(),f.swiper(Swipe(n,{startSlide:e}))),$(n).css("max-width",f.highestWidth()*1.1+"px"),$(n).css("max-height",f.highestHeight()*1.1+"px")}},ko.bindingHandlers.setImageSizes={init:function(n,t){var i=ko.utils.unwrapObservable(t()),o=i.src,u=i.highestWidth,f=i.highestHeight,r=$(n),e="";document.addEventListener||(e="?_="+ +new Date),$("<img/>").load(function(){var v=this;v.naturalWidth&&r.width(v.naturalWidth),v.naturalHeight&&r.height(v.naturalHeight);var l=r.width(),a=r.height(),c=l/a,y=c>1,s=0,h=0,e=0,n=0,o=Math.floor(document.documentElement.clientWidth-160),t=Math.floor(document.documentElement.clientHeight-160),p="inherit";o<l&&t<a?y?(e=o,n=o/c,n>t&&(e=t*c,n=t),h=n,s=e):(e=o,n=o*c,n>t&&(e=t/c,n=t),h=t,s=e):o>l&&t<a?(e=t*c,n=t,h=t,s=e):o<l&&t>a?(e=o,n=o/c,s=o,h=n):(h=a,s=l,e=l,n=a),h=h+"px",s=s+"px",f()<n&&f(n),u()<e&&u(e),r.css("max-width",s),r.css("max-height",h),i.imagesDoneLoading(i.imagesDoneLoading()+1),r.css("width",p)}).attr("src",o+e).error(function(){i.imagesDoneLoading(i.imagesDoneLoading()+1)})}},ko.bindingHandlers.setInitSizeSlider={init:function(n){var i=$(n);$(window).resize(function(){i.css("line-height",$(".popup").first().height()-20+"px")})},update:function(n,t){var f=ko.utils.unwrapObservable(t()),e=$(n);e.css("line-height",f+"px")}},ko.bindingHandlers.setSliderButtonsPosition={init:function(n,t){var i=$(n);$(window).resize(function(){var r=is_touch_device(),u=ko.utils.unwrapObservable(t()),n=$(".popup").first().height()/2-50;r?i.css("top",n+"px"):i.css("background-position",u.side+" "+n+"px")})},update:function(n,t){var i=ko.utils.unwrapObservable(t());if(i.DOMDoneLoading()){var r=$(n),f=is_touch_device(),u=$(".popup").first().height()/2-50;f?r.css("top",u+"px"):r.css("background-position",i.side+" "+u+"px")}}},ko.bindingHandlers.initSlider={update:function(n,t,i){var e=ko.utils.unwrapObservable(t()),f;e&&(f=i().swipers,$(function(){f.main=Swipe(n,{speed:775})}))}},ko.bindingHandlers.fadeVisible={init:function(n,t){var f=t().visible;$(n).toggle(ko.utils.unwrapObservable(f))},update:function(n,t){var e=t().effect,f=t().visible;ko.utils.unwrapObservable(f)?$(n).fadeIn():$(n).fadeOut()}},ko.bindingHandlers.checkAndPost={init:function(n,t,i){var o=$(n).attr("id"),s=ko.utils.unwrapObservable(t()),h=document.getElementById(s),e=function(n){ko.bindingHandlers.checkAndPost.keyCheck||f(n),ko.bindingHandlers.checkAndPost.keyCheck=!1},f;ko.bindingHandlers.checkAndPost.keyCheck=!1,f=function(){var r=function(){h.value=n.name,typeof i().doSubmit=="function"?i().doSubmit():n.form.submit()},u=function(){$(n).blur()};i().checkChange!=undefined?i().checkChange(r,u,o):r()},document.addEventListener?n.onkeydown=function(n){ko.bindingHandlers.checkAndPost.keyCheck=!0;var t=13,i=32;if(n&&n.keyCode&&n.keyCode==i||n.keyCode==t)return f(n),!1}:n.onclick=function(n){e(n)},n.onchange=function(n){e(n)}}},ko.bindingHandlers.updateCheckoutAlert={init:function(n,t){var f=ko.utils.unwrapObservable(t()),e=document.getElementById(f);n.onkeyup=function(){e.value=n.name}}},ko.bindingHandlers.cooltip={init:function(n,t){if(!is_touch_device()){var f=$(n),s=ko.utils.unwrapObservable(t()),e=document.getElementById(s),o=$(e);f.mouseover(function(){e.parentNode!=document.body&&o.appendTo("body"),o.css({left:f.offset().left-17,top:f.offset().top+f.height()}),e.style.display="inline-block"}),f.mouseout(function(){e.style.display="none"})}}},ko.bindingHandlers.applyFunction={init:function(n,t){t()}},ko.helper=ko.helper||{},ko.helper.setStickyElement=function(n,t){var i=$(window).scrollTop();i>t?n.addClass("sticky"):n.removeClass("sticky")},ko.bindingHandlers.setSticky={init:function(n,t){function r(){ko.helper.setStickyElement(i,f)}var u=ko.unwrap(t()),i=$(n),f=i.offset().top;u&&(i.css("width",i.parent().width()),$(window).scroll(r),r(),ko.utils.domNodeDisposal.addDisposeCallback(n,function(){$(window).off("scroll",r)}))}},ko.bindingHandlers.doubleScroll={init:function(n,t){var i,u,r;is_touch_device()||t()&&($(n).doubleScroll(),i=$(".suwala-doubleScroll-scroll-wrapper").first(),i!=null&&(u=i.offset().top,r=function(){ko.helper.setStickyElement(i,u)},$(window).scroll(r),r()))}},ko.bindingHandlers.updateScroller={update:function(n,t,i){var u=t(),f=i().shouldUpdateScroller,r;u()&&(r=$(n),r.scrollTop(n.scrollHeight),f(!1))}},ko.bindingHandlers.calculateScroller={update:function(n,t,i){var r=t();if(r()){var u=$(n),s=i().shouldUpdateScroller,f=u.scrollTop()+u.outerHeight(),e=n.scrollHeight,o=15;e<f+o&&e>f-o&&s(!0)}r(!1)}},ko.bindingHandlers.onScrollToBottom={update:function(n,t){var i=$(n),u=t(),r=15;i.scroll(function(){var f=i.scrollTop()+i.outerHeight(),e=n.scrollHeight;e<f+r&&e>f-r&&u()})}},ko.bindingHandlers.URLandBreakify={update:function(n,t){var i=ko.utils.unwrapObservable(t()),r,u;i=i.replace(/\n/g,"<br />"),r=/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\.\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-]*)?\??(?:[\-\+=&;%@\.\w]*)#?(?:[\.\!:\/\\\w]*))?)/g,u=i.replace(r,function(n,t,i,r){var u=r,f=function(){if(u)return"";var t=/.*@.*/g;return t.test(n)?"mailto:":"http://"},e=new RegExp("(http(s)?://)?"+location.host);return"<a "+(e.test(n)?"":'target="_blank"')+' href="'+f()+n+'">'+n+"<\/a>"}),$(n).html(u)}},ko.bindingHandlers.WatchScrollPosition={update:function(n,t){$(n).on("scroll",function(){var n=t();n(this.scrollTop)})}},ko.bindingHandlers.setHeightOnParent={init:function(n){$element=$(n);var t=$element.outerHeight();$element.parent().height(t)}},ko.bindingHandlers.forceChangeEventOnKeyUp={init:function(n,t){$(n).keyup(function(){var n=t();$(this).blur().focus(),n()})}},ko.bindingHandlers.markAllTextOnFocus={init:function(n,t){$(n).focus(function(){var i=ko.utils.unwrapObservable(t());i&&n.setSelectionRange(0,this.value.length)})}},ko.bindingHandlers.paymentCardLogo={getCardLogoSource:function(n){var u="/a/i/G/checkout/VbV.png",f="/a/i/G/checkout/MCSecCode.gif",i="",t=i,e=/^([4-5]).*/,r=e.exec(n);if(r&&r[1])switch(r[1]){case"4":t=u;break;case"5":t=f;break;default:t=i}else t=i;return t},updateLogoFor:function(n,t){var r=ko.bindingHandlers.paymentCardLogo,i=r.getCardLogoSource(n)||"";i.length?$(t).attr("src",i).show():$(t).attr("src",i).hide()},update:function(n,t){var i=ko.bindingHandlers.paymentCardLogo,r=ko.utils.unwrapObservable(t());i.updateLogoFor(r,n)}},ko.bindingHandlers.customRichRelevanceTargetUrl={init:function(n,t){var i=ko.utils.unwrapObservable(t().rrLink),r=ko.utils.unwrapObservable(t().targetUrl),u=window.location.protocol+"//"+window.location.host+r;i=i.replace("TargetUrlPlaceHolder",encodeURIComponent(u)),$(n).attr("href",i)}},ko.bindingHandlers.touchClickSwipeJS={init:function(n,t){var c=$(n),l=c.attr("href"),a="touchclick",v=function(n){require(["Common/concurrencyProtector"],function(c){c(a,function(){var c,l,a;r=u,e=i,u=n.originalEvent.targetTouches[0].clientX,i=n.originalEvent.targetTouches[0].clientY,(r!==undefined||r===!1)&&(a=e-i,s+=Math.abs(r-u),h+=Math.abs(e-i),c=Math.abs(r-u),l=Math.abs(e-i)),(s>f||h>f)&&(o=!1),l>c&&ko.utils.unwrapObservable(t().enableScrollOnSwipeJS)&&scrollBy(0,a)})})},o=!0,f=ko.utils.unwrapObservable(t().threshold),r,e,u,i,s,h;if(f=parseInt(f),is_touch_device())c.on("touchstart",function(n){window.doAscrollHorizontalSwipeJS=!0,u=n.originalEvent.targetTouches[0].clientX,i=n.originalEvent.targetTouches[0].clientY,s=0,h=0,o=!0}).on("touchmove",function(n){v(n)}).on("touchend",function(){o&&(location.href=l)})}},ko.bindingHandlers.customizeRichPromoLink={init:function(n,t){var i=ko.utils.unwrapObservable(t().link),r=window.location.protocol+"//"+window.location.host,u=/ct=http(s)?%3A%2F%2F([a-z0-9]+\.)*[a-z0-9]+\.[a-z]+/;i=i.replace(u,"ct="+encodeURIComponent(r)),$(n).attr("href",i)}},require(["moment"],function(n){ko.bindingHandlers.date={update:function(t,i,r){var o=i(),s=r(),f=ko.utils.unwrapObservable(o),h=s.format||"DD/MM/YYYY hh:mm:ss a",e="";f!==null&&f!==undefined&&f.length>0&&(e=n(f).format(h)),$(t).is("input")===!0?$(t).val(e):$(t).text(e)}}}),ko.extenders.throttledSubscribe=function(){throw new Error("throttledSubscribe has been deprecated!\nUse the cleaner throttledSubscribe method instead:\n\nko.observable().throttledSubscribe(250, function(value){\n  //react to value here\n});");},ko.subscribable.fn.throttledSubscribe=function(n,t){var i,r,u;t||(t=n,n=1),i=this,r=!1,i.disregardNextUpdate=function(){r=!0},i.updateWithoutNotifyingSubscriber=function(n){i()!==n&&(r=!0,i(n))},u=ko.computed(i).extend({throttle:n}),u.subscribe(function(n){r==!1?t(n):r=!1})},ko.subscribable.fn.throttleFalsing=function(n){var t=this,i=ko.computed(t).extend({throttle:n});return ko.computed(function(){return t()||i()})},Object.defineProperty(String.prototype,"replaceScriptTags",{value:function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}}),Object.defineProperty(String.prototype,"removeWhiteSpaces",{value:function(){return this.replace(/\s/g,"")}}),Object.defineProperty(Date.prototype,"toHHMMSS",{value:function(){return this.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1")}}),Object.defineProperty(Array.prototype,"clone",{value:function(){return this.slice(0)}}),ko.jsonValidationToVmMapper=function(n,t){function e(){for(var n=0;n<u.length;n++)u[n]("")}for(var u=[],f,r,i=0;i<t.length;i++)f=t[i],r=n[f.PropertyName],r.error&&(r.error(f.Errors[0]),u.push(r.error));return e},define("Common/concurrencyProtector",[],function(){return function(n,t){var i=n+".lock",u=function(){localStorage[i]||(localStorage[i]=!0,t(),r&&clearInterval(r),localStorage.removeItem(i))},r;localStorage[i]?r=setInterval(u,50):u()}}),$.ajaxSetup({cache:!1}),swfobject=function(){function w(){var n,i,u,r;if(!c&&document.getElementsByTagName("body")[0]){try{i=f("span"),i.style.display="none",n=t.getElementsByTagName("body")[0].appendChild(i),n.parentNode.removeChild(n),n=null,i=null}catch(e){return}for(c=!0,u=y.length,r=0;r<u;r++)y[r]()}}function kt(n){c?n():y[y.length]=n}function ii(n){if(typeof u.addEventListener!=i)u.addEventListener("load",n,!1);else if(typeof t.addEventListener!=i)t.addEventListener("load",n,!1);else if(typeof u.attachEvent!=i)oi(u,"onload",n);else if(typeof u.onload=="function"){var r=u.onload;u.onload=function(){r(),n()}}else u.onload=n}function ri(){var h=t.getElementsByTagName("body")[0],e=f(o),u,s;e.setAttribute("style","visibility: hidden;"),e.setAttribute("type",b),u=h.appendChild(e),u?(s=0,function c(){if(typeof u.GetVariable!=i)try{var t=u.GetVariable("$version");t&&(t=t.split(" ")[1].split(","),n.pv=[r(t[0]),r(t[1]),r(t[2])])}catch(f){n.pv=[8,0,0]}else if(s<10){s++,setTimeout(c,10);return}h.removeChild(e),u=null,ft()}()):ft()}function ft(){var y=s.length,u,t,o,h,c;if(y>0)for(u=0;u<y;u++){var f=s[u].id,e=s[u].callbackFn,r={success:!1,id:f};if(n.pv[0]>0){if(t=l(f),t)if(!tt(s[u].swfVersion)||n.wk&&n.wk<312)if(s[u].expressInstall&&ot()){o={},o.data=s[u].expressInstall,o.width=t.getAttribute("width")||"0",o.height=t.getAttribute("height")||"0",t.getAttribute("class")&&(o.styleclass=t.getAttribute("class")),t.getAttribute("align")&&(o.align=t.getAttribute("align"));var p={},v=t.getElementsByTagName("param"),w=v.length;for(h=0;h<w;h++)v[h].getAttribute("name").toLowerCase()!="movie"&&(p[v[h].getAttribute("name")]=v[h].getAttribute("value"));st(o,p,f,e)}else ui(t),e&&e(r);else a(f,!0),e&&(r.success=!0,r.ref=et(f),r.id=f,e(r))}else a(f,!0),e&&(c=et(f),c&&typeof c.SetVariable!=i&&(r.success=!0,r.ref=c,r.id=c.id),e(r))}}function et(n){var r=null,t=l(n);return t&&t.nodeName.toUpperCase()==="OBJECT"&&(r=typeof t.SetVariable!==i?t:t.getElementsByTagName(o)[0]||t),r}function ot(){return!g&&tt("6.0.65")&&(n.win||n.mac)&&!(n.wk&&n.wk<312)}function st(e,o,s,h){var c=l(s),y,a,v;s=lt(s),g=!0,it=h||null,wt={success:!1,id:s},c&&(c.nodeName.toUpperCase()=="OBJECT"?(p=ht(c),d=null):(p=c,d=s),e.id=vt,(typeof e.width==i||!/%$/.test(e.width)&&r(e.width)<310)&&(e.width="310"),(typeof e.height==i||!/%$/.test(e.height)&&r(e.height)<137)&&(e.height="137"),y=n.ie?"ActiveX":"PlugIn",a="MMredirectURL="+encodeURIComponent(u.location.toString().replace(/&/g,"%26"))+"&MMplayerType="+y+"&MMdoctitle="+encodeURIComponent(t.title.slice(0,47)+" - Flash Player Installation"),typeof o.flashvars!=i?o.flashvars+="&"+a:o.flashvars=a,n.ie&&c.readyState!=4&&(v=f("div"),s+="SWFObjectNew",v.setAttribute("id",s),c.parentNode.insertBefore(v,c),c.style.display="none",nt(c)),ct(e,o,s))}function ui(t){if(n.ie&&t.readyState!=4){t.style.display="none";var i=f("div");t.parentNode.insertBefore(i,t),i.parentNode.replaceChild(ht(t),i),nt(t)}else t.parentNode.replaceChild(ht(t),t)}function ht(t){var u=f("div"),e,i,s,r;if(n.win&&n.ie)u.innerHTML=t.innerHTML;else if(e=t.getElementsByTagName(o)[0],e&&(i=e.childNodes,i))for(s=i.length,r=0;r<s;r++)i[r].nodeType==1&&i[r].nodeName=="PARAM"||i[r].nodeType==8||u.appendChild(i[r].cloneNode(!0));return u}function fi(n,t){var i=f("div");return i.innerHTML="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'><param name='movie' value='"+n+"'>"+t+"<\/object>",i.firstChild}function ct(t,r,u){var a,v=l(u),e,s,c,h;if(u=lt(u),n.wk&&n.wk<312)return a;if(v){e=n.ie?f("div"):f(o),typeof t.id==i&&(t.id=u);for(h in r)r.hasOwnProperty(h)&&h.toLowerCase()!=="movie"&&ei(e,h,r[h]);n.ie&&(e=fi(t.data,e.innerHTML));for(s in t)t.hasOwnProperty(s)&&(c=s.toLowerCase(),c==="styleclass"?e.setAttribute("class",t[s]):c!=="classid"&&c!=="data"&&e.setAttribute(s,t[s]));n.ie?k[k.length]=t.id:(e.setAttribute("type",b),e.setAttribute("data",t.data)),v.parentNode.replaceChild(e,v),a=e}return a}function ei(n,t,i){var r=f("param");r.setAttribute("name",t),r.setAttribute("value",i),n.appendChild(r)}function nt(t){var i=l(t);i&&i.nodeName.toUpperCase()=="OBJECT"&&(n.ie?(i.style.display="none",function r(){if(i.readyState==4){for(var n in i)typeof i[n]=="function"&&(i[n]=null);i.parentNode.removeChild(i)}else setTimeout(r,10)}()):i.parentNode.removeChild(i))}function dt(n){return n&&n.nodeType&&n.nodeType===1}function lt(n){return dt(n)?n.id:n}function l(n){if(dt(n))return n;var i=null;try{i=t.getElementById(n)}catch(r){}return i}function f(n){return t.createElement(n)}function r(n){return parseInt(n,10)}function oi(n,t,i){n.attachEvent(t,i),v[v.length]=[n,t,i]}function tt(t){t+="";var u=n.pv,i=t.split(".");return i[0]=r(i[0]),i[1]=r(i[1])||0,i[2]=r(i[2])||0,u[0]>i[0]||u[0]==i[0]&&u[1]>i[1]||u[0]==i[0]&&u[1]==i[1]&&u[2]>=i[2]?!0:!1}function gt(r,u,e,o){var l=t.getElementsByTagName("head")[0],s,c;l&&(s=typeof e=="string"?e:"screen",o&&(h=null,rt=null),h&&rt==s||(c=f("style"),c.setAttribute("type","text/css"),c.setAttribute("media",s),h=l.appendChild(c),n.ie&&typeof t.styleSheets!=i&&t.styleSheets.length>0&&(h=t.styleSheets[t.styleSheets.length-1]),rt=s),h&&(typeof h.addRule!=i?h.addRule(r,u):typeof t.createTextNode!=i&&h.appendChild(t.createTextNode(r+" {"+u+"}"))))}function a(n,t){if(bt){var i=t?"visible":"hidden",r=l(n);c&&r?r.style.visibility=i:typeof n=="string"&&gt("#"+n,"visibility:"+i)}}function ni(n){var t=/[\\\"<>\.;]/,r=t.exec(n)!=null;return r&&typeof encodeURIComponent!=i?encodeURIComponent(n):n}var i="undefined",o="object",at="Shockwave Flash",ti="ShockwaveFlash.ShockwaveFlash",b="application/x-shockwave-flash",vt="SWFObjectExprInst",yt="onreadystatechange",u=window,t=document,e=navigator,pt=!1,y=[],s=[],k=[],v=[],p,d,it,wt,c=!1,g=!1,h,rt,bt=!0,ut=!1,n=function(){var a=typeof t.getElementById!=i&&typeof t.getElementsByTagName!=i&&typeof t.createElement!=i,s=e.userAgent.toLowerCase(),h=e.platform.toLowerCase(),v=h?/win/.test(h):/win/.test(s),y=h?/mac/.test(h):/mac/.test(s),p=/webkit/.test(s)?parseFloat(s.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,c=e.appName==="Microsoft Internet Explorer",f=[0,0,0],n=null,l;if(typeof e.plugins!=i&&typeof e.plugins[at]==o)n=e.plugins[at].description,n&&typeof e.mimeTypes!=i&&e.mimeTypes[b]&&e.mimeTypes[b].enabledPlugin&&(pt=!0,c=!1,n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),f[0]=r(n.replace(/^(.*)\..*$/,"$1")),f[1]=r(n.replace(/^.*\.(.*)\s.*$/,"$1")),f[2]=/[a-zA-Z]/.test(n)?r(n.replace(/^.*[a-zA-Z]+(.*)$/,"$1")):0);else if(typeof u.ActiveXObject!=i)try{l=new ActiveXObject(ti),l&&(n=l.GetVariable("$version"),n&&(c=!0,n=n.split(" ")[1].split(","),f=[r(n[0]),r(n[1]),r(n[2])]))}catch(w){}return{w3:a,pv:f,wk:p,ie:c,win:v,mac:y}}(),hi=function(){n.w3&&((typeof t.readyState!=i&&(t.readyState==="complete"||t.readyState==="interactive")||typeof t.readyState==i&&(t.getElementsByTagName("body")[0]||t.body))&&w(),c||(typeof t.addEventListener!=i&&t.addEventListener("DOMContentLoaded",w,!1),n.ie&&(t.attachEvent(yt,function r(){t.readyState=="complete"&&(t.detachEvent(yt,r),w())}),u==top&&function f(){if(!c){try{t.documentElement.doScroll("left")}catch(n){setTimeout(f,0);return}w()}}()),n.wk&&function e(){if(!c){if(!/loaded|complete/.test(t.readyState)){setTimeout(e,0);return}w()}}()))}(),si;return y[0]=function(){pt?ri():ft()},si=function(){n.ie&&window.attachEvent("onunload",function(){for(var e=v.length,r,i,u,f,t=0;t<e;t++)v[t][0].detachEvent(v[t][1],v[t][2]);for(r=k.length,i=0;i<r;i++)nt(k[i]);for(u in n)n[u]=null;n=null;for(f in swfobject)swfobject[f]=null;swfobject=null})}(),{registerObject:function(t,i,r,u){if(n.w3&&t&&i){var f={};f.id=t,f.swfVersion=i,f.expressInstall=r,f.callbackFn=u,s[s.length]=f,a(t,!1)}else u&&u({success:!1,id:t})},getObjectById:function(t){if(n.w3)return et(t)},embedSWF:function(t,r,u,f,e,s,h,c,l,v){var y=lt(r),p={success:!1,id:y};n.w3&&!(n.wk&&n.wk<312)&&t&&r&&u&&f&&e?(a(y,!1),kt(function(){var n,k,w,d,b,g,nt,it;if(u+="",f+="",n={},l&&typeof l===o)for(k in l)n[k]=l[k];if(n.data=t,n.width=u,n.height=f,w={},c&&typeof c===o)for(d in c)w[d]=c[d];if(h&&typeof h===o)for(b in h)h.hasOwnProperty(b)&&(g=ut?encodeURIComponent(b):b,nt=ut?encodeURIComponent(h[b]):h[b],typeof w.flashvars!=i?w.flashvars+="&"+g+"="+nt:w.flashvars=g+"="+nt);if(tt(e))it=ct(n,w,r),n.id==y&&a(y,!0),p.success=!0,p.ref=it,p.id=it.id;else{if(s&&ot()){n.data=s,st(n,w,r,v);return}a(y,!0)}v&&v(p)})):v&&v(p)},switchOffAutoHideShow:function(){bt=!1},enableUriEncoding:function(n){ut=typeof n===i?!0:n},ua:n,getFlashPlayerVersion:function(){return{major:n.pv[0],minor:n.pv[1],release:n.pv[2]}},hasFlashPlayerVersion:tt,createSWF:function(t,i,r){return n.w3?ct(t,i,r):undefined},showExpressInstall:function(t,i,r,u){n.w3&&ot()&&st(t,i,r,u)},removeSWF:function(t){n.w3&&nt(t)},createCSS:function(t,i,r,u){n.w3&&gt(t,i,r,u)},addDomLoadEvent:kt,addLoadEvent:ii,getQueryParamValue:function(n){var r=t.location.search||t.location.hash,u,i;if(r){if(/\?/.test(r)&&(r=r.split("?")[1]),n==null)return ni(r);for(u=r.split("&"),i=0;i<u.length;i++)if(u[i].substring(0,u[i].indexOf("="))==n)return ni(u[i].substring(u[i].indexOf("=")+1))}return""},expressInstallCallback:function(){if(g){var t=l(vt);t&&p&&(t.parentNode.replaceChild(p,t),d&&(a(d,!0),n.ie&&(p.style.display="block")),it&&it(wt)),g=!1}},version:"2.3"}}(),typeof deconcept=="undefined"&&(deconcept={}),typeof deconcept.util=="undefined"&&(deconcept.util={}),typeof deconcept.SWFObjectUtil=="undefined"&&(deconcept.SWFObjectUtil={}),deconcept.SWFObject=function(){},deconcept.SWFObject.prototype={write:function(){}},deconcept.SWFObjectUtil.getPlayerVersion=function(){var t=new deconcept.PlayerVersion([0,0,0]),i,r,n;if(navigator.plugins&&navigator.mimeTypes.length)i=navigator.plugins["Shockwave Flash"],i&&i.description&&(t=new deconcept.PlayerVersion(i.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split(".")));else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0)for(n=1,r=3;n;)try{r++,n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+r),t=new deconcept.PlayerVersion([r,0,0])}catch(u){n=null}else{try{n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(u){try{n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),t=new deconcept.PlayerVersion([6,0,21]),n.AllowScriptAccess="always"}catch(u){if(t.major==6)return t}try{n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(u){}}n!=null&&(t=new deconcept.PlayerVersion(n.GetVariable("$version").split(" ")[1].split(",")))}return t},deconcept.PlayerVersion=function(n){this.major=n[0]!=null?parseInt(n[0]):0,this.minor=n[1]!=null?parseInt(n[1]):0,this.rev=n[2]!=null?parseInt(n[2]):0},deconcept.PlayerVersion.prototype.versionIsValid=function(n){return this.major<n.major?!1:this.major>n.major?!0:this.minor<n.minor?!1:this.minor>n.minor?!0:this.rev<n.rev?!1:!0},deconcept.util={getRequestParameter:function(n){var r=document.location.search||document.location.hash,i,t;if(n==null)return r;if(r)for(i=r.substring(1).split("&"),t=0;t<i.length;t++)if(i[t].substring(0,i[t].indexOf("="))==n)return i[t].substring(i[t].indexOf("=")+1);return""}},deconcept.SWFObjectUtil.cleanupSWFs=function(){for(var t=document.getElementsByTagName("OBJECT"),i,n=t.length-1;n>=0;n--){t[n].style.display="none";for(i in t[n])typeof t[n][i]=="function"&&(t[n][i]=function(){})}},deconcept.SWFObject.doPrepUnload&&(deconcept.unloadSet||(deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){},__flash_savedUnloadHandler=function(){},window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)},window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload),deconcept.unloadSet=!0)),!document.getElementById&&document.all&&(document.getElementById=function(n){return document.all[n]});var getQueryParamValue=deconcept.util.getRequestParameter,FlashObject=deconcept.SWFObject,SWFObject=deconcept.SWFObject;(function(n){n.widget("suwala.doubleScroll",{options:{contentElement:undefined,topScrollBarMarkup:'<div class="suwala-doubleScroll-scroll-wrapper" style="height: 20px;"><div class="suwala-doubleScroll-scroll" style="height: 20px;"><\/div><\/div>',topScrollBarInnerSelector:".suwala-doubleScroll-scroll",scrollCss:{"overflow-x":"scroll","overflow-y":"hidden"},contentCss:{"overflow-x":"scroll","overflow-y":"hidden"}},_create:function(){var t=this,r,i=n(n(t.options.topScrollBarMarkup));t.element.before(i),r=t.options.contentElement!==undefined&&t.element.find(t.options.contentElement).length!==0?t.element.find(t.options.contentElement):t.element.find(">:first-child"),i.scroll(function(){t.element.scrollLeft(i.scrollLeft())}),t.element.scroll(function(){i.scrollLeft(t.element.scrollLeft())}),i.css(t.options.scrollCss),t.element.css(t.options.contentCss),n(t.options.topScrollBarInnerSelector,i).width(r.outerWidth()),i.width(t.element.width())}})})(jQuery),function(n){n(document).ready(function(){n("#homepage .large-vertical .prod.last").prev().remove()})}(jQuery),function(){(function(n,t,i){var r,f,u;return u="slidesjs",f={width:940,height:528,start:1,navigation:{active:!0,effect:"slide"},pagination:{active:!0,effect:"slide"},play:{active:!1,effect:"slide",interval:5e3,auto:!1,swap:!0,pauseOnHover:!1,restartDelay:2500},effect:{slide:{speed:500},fade:{speed:300,crossfade:!0}},callback:{loaded:function(){},start:function(){},complete:function(){}}},r=function(){function t(t,i){this.element=t,this.options=n.extend(!0,{},f,i),this._defaults=f,this._name=u,this.preventStart=!1,this.init()}return t}(),r.prototype.init=function(){var i,o,f,e,s,u,r=this;return i=n(this.element),this.data=n.data(this),n.data(this,"animating",!1),n.data(this,"total",i.children().not(".slidesjs-navigation",i).length),n.data(this,"current",this.options.start-1),n.data(this,"vendorPrefix",this._getVendorPrefix()),typeof TouchEvent!="undefined"&&(n.data(this,"touch",!0),this.options.effect.slide.speed=this.options.effect.slide.speed/2),i.css({overflow:"hidden"}),i.slidesContainer=i.children().not(".slidesjs-navigation",i).wrapAll("<div class='slidesjs-container'>",i).parent().css({overflow:"hidden",position:"relative"}),n(".slidesjs-container",i).wrapInner("<div class='slidesjs-control'>",i).children(),n(".slidesjs-control",i).css({position:"relative",left:0}),n(".slidesjs-control",i).children().addClass("slidesjs-slide").css({position:"absolute",top:0,left:0,width:"100%",zIndex:0,display:"none",webkitBackfaceVisibility:"hidden"}),n.each(n(".slidesjs-control",i).children(),function(t){var i;return i=n(this),i.attr("slidesjs-index",t)}),i.fadeIn(0),this.update(),this.data.touch&&this._setuptouch(),n(".slidesjs-control",i).children(":eq("+this.data.current+")").eq(0).fadeIn(0,function(){return n(this).css({zIndex:10})}),this.options.navigation.active&&(s=n("<a>",{"class":"slidesjs-previous slidesjs-navigation",href:"#",title:"Previous",text:"Previous"}).appendTo(i),o=n("<a>",{"class":"slidesjs-next slidesjs-navigation",href:"#",title:"Next",text:"Next"}).appendTo(i)),n(".slidesjs-next",i).click(function(n){return n.preventDefault(),r.stop(!0),r.next(r.options.navigation.effect)}),n(".slidesjs-previous",i).click(function(n){return n.preventDefault(),r.stop(!0),r.previous(r.options.navigation.effect)}),this.options.play.active&&(e=n("<a>",{"class":"slidesjs-play slidesjs-navigation",href:"#",title:"Play",text:"▶"}).appendTo(i),u=n("<a>",{"class":"slidesjs-stop slidesjs-navigation",href:"#",title:"Stop",text:"ll"}).appendTo(i),e.click(function(n){return n.preventDefault(),r.preventStart=!1,r.play(!0)}),u.click(function(n){return n.preventDefault(),r.preventStart=!0,r.stop(!0)}),this.options.play.swap&&u.css({display:"none"})),this.options.pagination.active&&(f=n("<ul>",{"class":"slidesjs-pagination"}).appendTo(i),n.each(new Array(this.data.total),function(t){var e,i,u,o;return e=n("<li>",{"class":"slidesjs-pagination-item"}).appendTo(f),i=n("<a>",{href:"#","data-slidesjs-item":t,html:t+1}).appendTo(e),u=function(t){return t.preventDefault(),r.stop(!1,!0),r.goto(n(t.currentTarget).attr("data-slidesjs-item")*1+1)},o=function(){r.preventStart||r.play()},i.mouseover(u),r.options.play.auto&&i.mouseout(o),i.click(u)})),n(t).bind("resize",function(){return r.update()}),this._setActive(),this.options.play.auto&&this.play(),this.options.callback.loaded(this.options.start)},r.prototype._setActive=function(t){var i,r;return i=n(this.element),this.data=n.data(this),r=t>-1?t:this.data.current,n(".active",i).removeClass("active"),n(".slidesjs-pagination li:eq("+r+") a",i).addClass("active")},r.prototype.update=function(){var t,r,i;return t=n(this.element),this.data=n.data(this),n(".slidesjs-control",t).children(":not(:eq("+this.data.current+"))").css({display:"none",left:0,zIndex:0}),i=t.width(),r=this.options.height/this.options.width*i,this.options.width=i,this.options.height=r,n(".slidesjs-control, .slidesjs-container",t).css({width:i,height:r})},r.prototype.next=function(t){var i;return i=n(this.element),this.data=n.data(this),n.data(this,"direction","next"),t===void 0&&(t=this.options.navigation.effect),t==="fade"?this._fade():this._slide()},r.prototype.previous=function(t){var i;return i=n(this.element),this.data=n.data(this),n.data(this,"direction","previous"),t===void 0&&(t=this.options.navigation.effect),t==="fade"?this._fade():this._slide()},r.prototype.goto=function(t){var r,i;if(r=n(this.element),this.data=n.data(this),i===void 0&&(i=this.options.pagination.effect),t>this.data.total?t=this.data.total:t<1&&(t=1),typeof t=="number")return i==="fade"?this._fade(t,!0):this._slide(t);if(typeof t=="string"){if(t==="first")return i==="fade"?this._fade(0,!0):this._slide(0);if(t==="last")return i==="fade"?this._fade(this.data.total,!0):this._slide(this.data.total)}},r.prototype._setuptouch=function(){var u,t,i,r;return u=n(this.element),this.data=n.data(this),r=n(".slidesjs-control",u),t=this.data.current+1,i=this.data.current-1,i<0&&(i=this.data.total-1),t>this.data.total-1&&(t=0),r.children(":eq("+t+")").css({display:"block",left:this.options.width}),r.children(":eq("+i+")").css({display:"block",left:-this.options.width})},r.prototype._touchstart=function(t){var r,i;return r=n(this.element),this.data=n.data(this),i=t.originalEvent.touches[0],this._setuptouch(),n.data(this,"touchtimer",Number(new Date)),n.data(this,"touchstartx",i.pageX),n.data(this,"touchstarty",i.pageY),this.stop(!1,!0),t.stopPropagation()},r.prototype._touchend=function(t){var s,u,r,i,e,h,f,o=this;s=n(this.element),this.data=n.data(this),h=t.originalEvent.touches[0],i=n(".slidesjs-control",s),i.position().left>this.options.width*.5||i.position().left>this.options.width*.1&&Number(new Date)-this.data.touchtimer<250?(n.data(this,"direction","previous"),this._slide()):i.position().left<-(this.options.width*.5)||i.position().left<-(this.options.width*.1)&&Number(new Date)-this.data.touchtimer<250?(n.data(this,"direction","next"),this._slide()):(r=this.data.vendorPrefix,f=r+"Transform",u=r+"TransitionDuration",e=r+"TransitionTimingFunction",i[0].style[f]="translateX(0px)",i[0].style[u]=this.options.effect.slide.speed*.85+"ms");i.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){return r=o.data.vendorPrefix,f=r+"Transform",u=r+"TransitionDuration",e=r+"TransitionTimingFunction",i[0].style[f]="",i[0].style[u]="",i[0].style[e]=""});return o.preventStart||o.play(),t.stopPropagation()},r.prototype._touchmove=function(t){var r,u,f,i,e;return r=n(this.element),this.data=n.data(this),i=t.originalEvent.touches[0],u=this.data.vendorPrefix,f=n(".slidesjs-control",r),e=u+"Transform",n.data(this,"scrolling",Math.abs(i.pageX-this.data.touchstartx)<Math.abs(i.pageY-this.data.touchstarty)),this.data.animating||this.data.scrolling||(t.preventDefault(),this._setuptouch(),f[0].style[e]="translateX("+(i.pageX-this.data.touchstartx)+"px)"),t.stopPropagation()},r.prototype.play=function(t){var r,f,u,i=this;return r=n(this.element),this.data=n.data(this),!this.data.playInterval&&(t&&(f=this.data.current,this.data.direction="next",this.options.play.effect==="fade"?this._fade():this._slide()),n.data(this,"playInterval",setInterval(function(){return f=i.data.current,i.data.direction="next",i.options.play.effect==="fade"?i._fade():i._slide()},this.options.play.interval)),u=n(".slidesjs-container",r),this.options.play.pauseOnHover&&(u.unbind(),u.bind("mouseenter",function(){return i.stop()}),u.bind("mouseleave",function(){return i.options.play.restartDelay?n.data(i,"restartDelay",setTimeout(function(){return i.play(!0)},i.options.play.restartDelay)):i.play()})),n.data(this,"playing",!0),n(".slidesjs-play",r).addClass("slidesjs-playing"),this.options.play.swap)?(n(".slidesjs-play",r).hide(),n(".slidesjs-stop",r).show()):void 0},r.prototype.stop=function(t,i){var r;return r=n(this.element),this.data=n.data(this),clearInterval(this.data.playInterval),this.options.play.pauseOnHover&&t&&n(".slidesjs-container",r).unbind(),n.data(this,"playInterval",null),n.data(this,"playing",!1),n(".slidesjs-play",r).removeClass("slidesjs-playing"),this.options.play.swap&&!i?(n(".slidesjs-stop",r).hide(),n(".slidesjs-play",r).show()):void 0},r.prototype._slide=function(t){var l,u,e,h,r,o,i,a,c,s,f=this;if(l=n(this.element),this.data=n.data(this),!this.data.animating&&t!==this.data.current+1){if(n.data(this,"animating",!0),u=this.data.current,t>-1?(t=t-1,s=t>u?1:-1,e=t>u?-this.options.width:this.options.width,r=t):(s=this.data.direction==="next"?1:-1,e=this.data.direction==="next"?-this.options.width:this.options.width,r=u+s),r===-1&&(r=this.data.total-1),r===this.data.total&&(r=0),this._setActive(r),i=n(".slidesjs-control",l),t>-1&&i.children(":not(:eq("+u+"))").css({display:"none",left:0,zIndex:0}),i.children(":eq("+r+")").css({display:"block",left:s*this.options.width,zIndex:10}),this.options.callback.start(u+1),this.data.vendorPrefix){o=this.data.vendorPrefix,c=o+"Transform",h=o+"TransitionDuration",a=o+"TransitionTimingFunction",i[0].style[c]="translateX("+e+"px)",i[0].style[h]=this.options.effect.slide.speed+"ms";return i.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){return i[0].style[c]="",i[0].style[h]="",i.children(":eq("+r+")").css({left:0}),i.children(":eq("+u+")").css({display:"none",left:0,zIndex:0}),n.data(f,"current",r),n.data(f,"animating",!1),i.unbind("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd"),i.children(":not(:eq("+r+"))").css({display:"none",left:0,zIndex:0}),f.data.touch&&f._setuptouch(),f.options.callback.complete(r+1)})}return i.stop().animate({left:e},this.options.effect.slide.speed,function(){return i.css({left:0}),i.children(":eq("+r+")").css({left:0}),i.children(":eq("+u+")").css({display:"none",left:0,zIndex:0},n.data(f,"current",r),n.data(f,"animating",!1),f.options.callback.complete(r+1))})}},r.prototype._fade=function(t,i){var h,e,r,u,s,f=this,o;return h=n(this.element),this.data=n.data(this),o=i?30:this.options.effect.fade.speed,!this.data.animating&&t!==this.data.current+1?(n.data(this,"animating",!0),e=this.data.current,t?(t=t-1,s=t>e?1:-1,r=t):(s=this.data.direction==="next"?1:-1,r=e+s),r===-1&&(r=this.data.total-1),r===this.data.total&&(r=0),this._setActive(r),u=n(".slidesjs-control",h),u.children(":eq("+r+")").css({display:"none",left:0,zIndex:10}),this.options.callback.start(e+1),this.options.effect.fade.crossfade?(u.children(":eq("+this.data.current+")").stop().fadeOut(o),u.children(":eq("+r+")").stop().fadeIn(o,function(){return u.children(":eq("+r+")").css({zIndex:0}),n.data(f,"animating",!1),n.data(f,"current",r),f.options.callback.complete(r+1)})):u.children(":eq("+e+")").stop().fadeOut(o,function(){return u.children(":eq("+r+")").stop().fadeIn(o,function(){return u.children(":eq("+r+")").css({zIndex:10})}),n.data(f,"animating",!1),n.data(f,"current",r),f.options.callback.complete(r+1)})):void 0},r.prototype._getVendorPrefix=function(){var u,n,f,t,r;for(u=i.body||i.documentElement,f=u.style,t="transition",r=["Moz","Webkit","Khtml","O","ms"],t=t.charAt(0).toUpperCase()+t.substr(1),n=0;n<r.length;){if(typeof f[r[n]+t]=="string")return r[n];n++}return!1},n.fn[u]=function(t){return this.each(function(){if(!n.data(this,"plugin_"+u))return n.data(this,"plugin_"+u,new r(this,t))})}})(jQuery,window,document)}.call(this),ChromeifiedSlider=function(n,t,i){var e=3,u=0,f="Slide"+ +new Date,r=$("<div id="+f+' class="slides"><\/div>');i.forEach(function(n){var i,t;n.src&&u<e&&(i=$('<img src="'+n.src+'" alt="'+n.alt+'" />'),n.link?(t=$('<a href="'+n.link+'"><\/a>'),n.blank&&t.attr("target","_blank"),t.append(i),r.append(t)):r.append(i),u++)}),document.write(r.prop("outerHTML")),$(function(){$("#"+f).slidesjs({width:n,height:t,navigation:{active:!1,effect:"fade"},pagination:{effect:"fade"},play:{active:!0,auto:!0,interval:5e3,effect:"fade",swap:!0,pauseOnHover:!1},effect:{fade:{speed:500}}})})},$.extend({redirectPost:function(n,t){var i="";$.each(t,function(n,t){i+='<input type="hidden" name="'+n+'" value="'+t+'">'}),$('<form action="'+n+'" method="POST">'+i+"<\/form>").appendTo($(document.body)).submit()}}),function(n){function r(t,r,u){var f=this,h=t.add(this),e=t.find(u.tabs),o=r.jquery?r:t.children(r),s;e.length||(e=t.children()),o.length||(o=t.parent().find(r)),o.length||(o=n(r)),n.extend(this,{click:function(t,r){var o=e.eq(t),c;if(typeof t=="string"&&t.replace("#","")&&(o=e.filter("[href*="+t.replace("#","")+"]"),t=Math.max(e.index(o),0)),u.rotate){if(c=e.length-1,t<0)return f.click(c,r);if(t>c)return f.click(0,r)}if(!o.length){if(s>=0)return f;t=u.initialIndex,o=e.eq(t)}return t===s?f:(r=r||n.Event(),r.type="onBeforeClick",h.trigger(r,[t]),r.isDefaultPrevented()?void 0:(i[u.effect].call(f,t,function(){r.type="onClick",h.trigger(r,[t])}),s=t,e.removeClass(u.current),o.addClass(u.current),f))},getConf:function(){return u},getTabs:function(){return e},getPanes:function(){return o},getCurrentPane:function(){return o.eq(s)},getCurrentTab:function(){return e.eq(s)},getIndex:function(){return s},next:function(){return f.click(s+1)},prev:function(){return f.click(s-1)},destroy:function(){return e.unbind(u.event).removeClass(u.current),o.find("a[href^=#]").unbind("click.T"),f}}),n.each("onBeforeClick,onClick".split(","),function(t,i){n.isFunction(u[i])&&n(f).bind(i,u[i]),f[i]=function(t){return t&&n(f).bind(i,t),f}}),u.history&&n.fn.history&&(n.tools.history.init(e),u.event="history"),e.each(function(t){n(this).bind(u.event,function(n){return f.click(t,n),n.preventDefault()})}),o.find("a[href^=#]").bind("click.T",function(t){f.click(n(this).attr("href"),t)}),location.hash&&u.tabs=="a"&&t.find("[href="+location.hash+"]").length?f.click(location.hash):(u.initialIndex===0||u.initialIndex>0)&&f.click(u.initialIndex)}n.tools=n.tools||{version:"1.2.5"},n.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:!1,history:!1},addEffect:function(n,t){i[n]=t}};var i={"default":function(n,t){this.getPanes().hide().eq(n).show(),t.call()},fade:function(n,t){var r=this.getConf(),u=r.fadeOutSpeed,i=this.getPanes();u?i.fadeOut(u):i.hide(),i.eq(n).fadeIn(r.fadeInSpeed,t)},slide:function(n,t){this.getPanes().slideUp(200),this.getPanes().eq(n).slideDown(400,t)},ajax:function(n,t){this.getPanes().eq(0).load(this.getTabs().eq(n).attr("href"),t)}},t;n.tools.tabs.addEffect("horizontal",function(i,r){t||(t=this.getPanes().eq(0).width()),this.getCurrentPane().animate({width:0},function(){n(this).hide()}),this.getPanes().eq(i).animate({width:t},function(){n(this).show(),r.call()})}),n.fn.tabs=function(t,i){var u=this.data("tabs");return u&&(u.destroy(),this.removeData("tabs")),n.isFunction(i)&&(i={onBeforeClick:i}),i=n.extend({},n.tools.tabs.conf,i),this.each(function(){u=new r(n(this),t,i),n(this).data("tabs",u)}),i.api?u:this}}(jQuery),function(n){function i(t,i,r){var u=r.relative?t.position().top:t.offset().top,e=r.relative?t.position().left:t.offset().left,f=r.position[0],o;return u-=i.outerHeight()-r.offset[0],e+=t.outerWidth()+r.offset[1],/iPad/i.test(navigator.userAgent)&&(u-=n(window).scrollTop()),o=i.outerHeight()+t.outerHeight(),f=="center"&&(u+=o/2),f=="bottom"&&(u+=o),f=r.position[1],t=i.outerWidth()+t.outerWidth(),f=="center"&&(e-=t/2),f=="left"&&(e-=t),{top:u,left:e}}function r(r,u){var f=this,h=r.add(f),e,l=0,a=0,c=r.attr("title"),v=r.attr("data-tooltip"),y=t[u.effect],s,p=r.is(":input"),b=p&&r.is(":checkbox, :radio, select, :button, :submit"),w=r.attr("type"),o=u.events[w]||u.events[p?b?"widget":"input":"def"];if(!y)throw'Nonexistent effect "'+u.effect+'"';if(o=o.split(/,\s*/),o.length!=2)throw"Tooltip: bad events configuration for "+w;r.bind(o[0],function(n){clearTimeout(l),u.predelay?a=setTimeout(function(){f.show(n)},u.predelay):f.show(n)}).bind(o[1],function(n){clearTimeout(a),u.delay?l=setTimeout(function(){f.hide(n)},u.delay):f.hide(n)}),c&&u.cancelDefault&&(r.removeAttr("title"),r.data("title",c)),n.extend(f,{show:function(t){if(!e&&(v?e=n(v):u.tip?e=n(u.tip).eq(0):c?e=n(u.layout).addClass(u.tipClass).appendTo(document.body).hide().append(c):(e=r.next(),e.length||(e=r.parent().next())),!e.length))throw"Cannot find tooltip for "+r;if(f.isShown())return f;e.stop(!0,!0);var p=i(r,e,u);return(u.tip&&e.html(r.data("title")),t=t||n.Event(),t.type="onBeforeShow",h.trigger(t,[p]),t.isDefaultPrevented())?f:(p=i(r,e,u),e.css({position:"absolute",top:p.top,left:p.left}),s=!0,y[0].call(f,function(){t.type="onShow",s="full",h.trigger(t)}),p=u.events.tooltip.split(/,\s*/),e.data("__set")||(e.bind(p[0],function(){clearTimeout(l),clearTimeout(a)}),p[1]&&!r.is("input:not(:checkbox, :radio), textarea")&&e.bind(p[1],function(n){n.relatedTarget!=r[0]&&r.trigger(o[1].split(" ")[0])}),e.data("__set",!0)),f)},hide:function(i){return!e||!f.isShown()?f:(i=i||n.Event(),i.type="onBeforeHide",h.trigger(i),i.isDefaultPrevented()?void 0:(s=!1,t[u.effect][1].call(f,function(){i.type="onHide",h.trigger(i)}),f))},isShown:function(n){return n?s=="full":s},getConf:function(){return u},getTip:function(){return e},getTrigger:function(){return r}}),n.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(t,i){n.isFunction(u[i])&&n(f).bind(i,u[i]),f[i]=function(t){return t&&n(f).bind(i,t),f}})}n.tools=n.tools||{version:"1.2.5"},n.tools.tooltip={conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,position:["top","center"],offset:[0,0],relative:!1,cancelDefault:!0,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"},layout:"<div/>",tipClass:"tooltip"},addEffect:function(n,i,r){t[n]=[i,r]}};var t={toggle:[function(n){var t=this.getConf(),i=this.getTip();t=t.opacity,t<1&&i.css({opacity:t}),i.show(),n.call()},function(n){this.getTip().hide(),n.call()}],fade:[function(n){var t=this.getConf();this.getTip().fadeTo(t.fadeInSpeed,t.opacity,n)},function(n){this.getTip().fadeOut(this.getConf().fadeOutSpeed,n)}]};n.fn.tooltip=function(t){var i=this.data("tooltip");return i?i:(t=n.extend(!0,{},n.tools.tooltip.conf,t),typeof t.position=="string"&&(t.position=t.position.split(/,?\s/)),this.each(function(){i=new r(n(this),t),n(this).data("tooltip",i)}),t.api?i:this)}}(jQuery),function(n){var i=n.tools.tooltip,t;n.extend(i.conf,{direction:"up",bounce:!1,slideOffset:10,slideInSpeed:200,slideOutSpeed:200,slideFade:!n.browser.msie}),t={up:["-","top"],down:["+","top"],left:["-","left"],right:["+","left"]},i.addEffect("slide",function(n){var i=this.getConf(),r=this.getTip(),u=i.slideFade?{opacity:i.opacity}:{},f=t[i.direction]||t.up;u[f[1]]=f[0]+"="+i.slideOffset,i.slideFade&&r.css({opacity:0}),r.show().animate(u,i.slideInSpeed,n)},function(i){var r=this.getConf(),o=r.slideOffset,f=r.slideFade?{opacity:0}:{},e=t[r.direction]||t.up,u=""+e[0];r.bounce&&(u=u=="+"?"-":"+"),f[e[1]]=u+"="+o,this.getTip().animate(f,r.slideOutSpeed,function(){n(this).hide(),i.call()})})}(jQuery),function(n){function i(t,i){var r=n(i);return r.length<2?r:t.parent().find(i)}function r(r,u){var f=this,l=r.add(f),e=r.children(),h=0,o=u.vertical,a,v,c,y,s;if(t||(t=f),e.length>1&&(e=n(u.items,r)),n.extend(f,{getConf:function(){return u},getIndex:function(){return h},getSize:function(){return f.getItems().size()},getNaviButtons:function(){return c.add(y)},getRoot:function(){return r},getItemWrap:function(){return e},getItems:function(){return e.children(u.item).not("."+u.clonedClass)},move:function(n,t){return f.seekTo(h+n,t)},next:function(n){return f.move(1,n)},prev:function(n){return f.move(-1,n)},begin:function(n){return f.seekTo(0,n)},end:function(n){return f.seekTo(f.getSize()-1,n)},focus:function(){return t=f},addItem:function(t){return t=n(t),u.circular?(e.children("."+u.clonedClass+":last").before(t),e.children("."+u.clonedClass+":first").replaceWith(t.clone().addClass(u.clonedClass))):e.append(t),l.trigger("onAddItem",[t]),f},seekTo:function(i,r,s){var c,a;return(i.jquery||(i*=1),u.circular&&i===0&&h==-1&&r!==0)?f:!u.circular&&i<0||i>f.getSize()||i<-1?f:(c=i,i.jquery?i=f.getItems().index(i):c=f.getItems().eq(i),a=n.Event("onBeforeSeek"),!s&&(l.trigger(a,[i,r]),a.isDefaultPrevented()||!c.length))?f:(c=o?{top:-c.position().top}:{left:-c.position().left},h=i,t=f,r===undefined&&(r=u.speed),e.animate(c,r,u.easing,s||function(){l.trigger("onSeek",[i])}),f)}}),n.each(["onBeforeSeek","onSeek","onAddItem"],function(t,i){n.isFunction(u[i])&&n(f).bind(i,u[i]),f[i]=function(t){return t&&n(f).bind(i,t),f}}),u.circular){a=f.getItems().slice(-1).clone().prependTo(e),v=f.getItems().eq(1).clone().appendTo(e),a.add(v).addClass(u.clonedClass);f.onBeforeSeek(function(n,t,i){if(!n.isDefaultPrevented()){if(t==-1)return f.seekTo(a,i,function(){f.end(0)}),n.preventDefault();t==f.getSize()&&f.seekTo(v,i,function(){f.begin(0)})}});f.seekTo(0,0,function(){})}if(c=i(r,u.prev).click(function(){f.prev()}),y=i(r,u.next).click(function(){f.next()}),!u.circular&&f.getSize()>1){f.onBeforeSeek(function(n,t){setTimeout(function(){n.isDefaultPrevented()||(c.toggleClass(u.disabledClass,t<=0),y.toggleClass(u.disabledClass,t>=f.getSize()-1))},1)});u.initialIndex||c.addClass(u.disabledClass)}u.mousewheel&&n.fn.mousewheel&&r.mousewheel(function(n,t){if(u.mousewheel)return f.move(t<0?1:-1,u.wheelSpeed||50),!1}),u.touch&&(s={},e[0].ontouchstart=function(n){n=n.touches[0],s.x=n.clientX,s.y=n.clientY},e[0].ontouchmove=function(n){if(n.touches.length==1&&!e.is(":animated")){var t=n.touches[0],i=s.x-t.clientX;t=s.y-t.clientY,f[o&&t>0||!o&&i>0?"next":"prev"](),n.preventDefault()}}),u.keyboard&&n(document).bind("keydown.scrollable",function(i){if(!(!u.keyboard||i.altKey||i.ctrlKey||n(i.target).is(":input"))&&!(u.keyboard!="static"&&t!=f)){var r=i.keyCode;if(o&&(r==38||r==40))return f.move(r==38?-1:1),i.preventDefault();if(!o&&(r==37||r==39))return f.move(r==37?-1:1),i.preventDefault()}}),u.initialIndex&&f.seekTo(u.initialIndex,0,function(){})}n.tools=n.tools||{version:"1.2.5"},n.tools.scrollable={conf:{activeClass:"active",circular:!1,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:null,items:".items",keyboard:!0,mousewheel:!1,next:".next",prev:".prev",speed:400,vertical:!1,touch:!0,wheelSpeed:0}};var t;n.fn.scrollable=function(t){var i=this.data("scrollable");return i?i:(t=n.extend({},n.tools.scrollable.conf,t),this.each(function(){i=new r(n(this),t),n(this).data("scrollable",i)}),t.api?i:this)}}(jQuery),function(n){function r(r,u){var f=this,h=r.add(f),v=n(window),s,e,c,o=n.tools.expose&&(u.mask||u.expose),l=Math.random().toString().slice(10),a;if(o&&(typeof o=="string"&&(o={color:o}),o.closeOnClick=o.closeOnEsc=!1),a=u.target||r.attr("rel"),e=a?n(a):r,!e.length)throw"Could not find Overlay: "+a;r&&r.index(e)==-1&&r.click(function(n){return f.load(n),n.preventDefault()}),n.extend(f,{load:function(r){var a;if(f.isOpened())return f;if(a=t[u.effect],!a)throw'Overlay: cannot find effect : "'+u.effect+'"';if(u.oneInstance&&n.each(i,function(){this.close(r)}),r=r||n.Event(),r.type="onBeforeLoad",h.trigger(r),r.isDefaultPrevented())return f;c=!0,o&&n(e).expose(o);var s=u.top,y=u.left,p=e.outerWidth({margin:!0}),w=e.outerHeight({margin:!0});return typeof s=="string"&&(s=s=="center"?Math.max((v.height()-w)/2,0):parseInt(s,10)/100*v.height()),y=="center"&&(y=Math.max((v.width()-p)/2,0)),a[0].call(f,{top:s,left:y},function(){c&&(r.type="onLoad",h.trigger(r))}),o&&u.closeOnClick&&n.mask.getMask().one("click",f.close),u.closeOnClick&&n(document).bind("click."+l,function(t){n(t.target).parents(e).length||f.close(t)}),u.closeOnEsc&&n(document).bind("keydown."+l,function(n){n.keyCode==27&&f.close(n)}),f},close:function(i){return f.isOpened()?(i=i||n.Event(),i.type="onBeforeClose",h.trigger(i),i.isDefaultPrevented()?void 0:(c=!1,t[u.effect][1].call(f,function(){i.type="onClose",h.trigger(i)}),n(document).unbind("click."+l).unbind("keydown."+l),o&&n.mask.close(),f)):f},getOverlay:function(){return e},getTrigger:function(){return r},getClosers:function(){return s},isOpened:function(){return c},getConf:function(){return u}}),n.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(t,i){n.isFunction(u[i])&&n(f).bind(i,u[i]),f[i]=function(t){return t&&n(f).bind(i,t),f}}),s=e.find(u.close||".close"),s.length||u.close||(s=n('<a class="close"><\/a>'),e.prepend(s)),s.click(function(n){f.close(n)}),u.load&&f.load()}n.tools=n.tools||{version:"1.2.5"},n.tools.overlay={addEffect:function(n,i,r){t[n]=[i,r]},conf:{close:null,closeOnClick:!0,closeOnEsc:!0,closeSpeed:"fast",effect:"default",fixed:!n.browser.msie||n.browser.version>6,left:"center",load:!1,mask:null,oneInstance:!0,speed:"normal",target:null,top:"10%"}};var i=[],t={};n.tools.overlay.addEffect("default",function(t,i){var r=this.getConf(),u=n(window);r.fixed||(t.top+=u.scrollTop(),t.left+=u.scrollLeft()),t.position=r.fixed?"fixed":"absolute",this.getOverlay().css(t).fadeIn(r.speed,i)},function(n){this.getOverlay().fadeOut(this.getConf().closeSpeed,n)}),n.fn.overlay=function(t){var u=this.data("overlay");return u?u:(n.isFunction(t)&&(t={onBeforeLoad:t}),t=n.extend(!0,{},n.tools.overlay.conf,t),this.each(function(){u=new r(n(this),t),i.push(u),n(this).data("overlay",u)}),t.api?u:this)}}(jQuery),function(n){function i(n){var t=n.offset();return{top:t.top+n.height()/2,left:t.left+n.width()/2}}function u(r,u){var e=this.getOverlay(),o=this.getConf(),s=this.getTrigger(),v=this,l=e.outerWidth({margin:!0}),f=e.data("img"),a=o.fixed?"fixed":"absolute",h,c;if(!f){if(f=e.css("backgroundImage"),!f)throw"background-image CSS property not set for overlay";f=f.slice(f.indexOf("(")+1,f.indexOf(")")).replace(/\"/g,""),e.css("backgroundImage","none"),f=n('<img src="'+f+'"/>'),f.css({border:0,display:"none"}).width(l),n("body").append(f),e.data("img",f)}h=o.start.top||Math.round(t.height()/2),c=o.start.left||Math.round(t.width()/2),s&&(s=i(s),h=s.top,c=s.left),o.fixed?(h-=t.scrollTop(),c-=t.scrollLeft()):(r.top+=t.scrollTop(),r.left+=t.scrollLeft()),f.css({position:"absolute",top:h,left:c,width:0,zIndex:o.zIndex}).show(),r.position=a,e.css(r),f.animate({top:e.css("top"),left:e.css("left"),width:l},o.speed,function(){e.css("zIndex",o.zIndex+1).fadeIn(o.fadeInSpeed,function(){v.isOpened()&&!n(this).index(e)?u.call():e.hide()})}).css("position",a)}function f(r){var u=this.getOverlay().hide(),f=this.getConf(),o=this.getTrigger(),e;u=u.data("img"),e={top:f.start.top,left:f.start.left,width:0},o&&n.extend(e,i(o)),f.fixed&&u.css({position:"absolute"}).animate({top:"+="+t.scrollTop(),left:"+="+t.scrollLeft()},0),u.animate(e,f.closeSpeed,r)}var r=n.tools.overlay,t=n(window);n.extend(r.conf,{start:{top:null,left:null},fadeInSpeed:"fast",zIndex:9999}),r.addEffect("apple",u,f)}(jQuery),function(n){function o(){if(n.browser.msie){var t=n(document).height(),i=n(window).height();return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t-i<20?i:t]}return[n(document).width(),n(document).height()]}function u(t){if(t)return t.call(n.mask)}var s,t,f,i,r,e;n.tools=n.tools||{version:"1.2.5"},s=n.tools.expose={conf:{maskId:"exposeMask",loadSpeed:"slow",closeSpeed:"fast",closeOnClick:!0,closeOnEsc:!0,zIndex:9998,opacity:.8,startOpacity:0,color:"#fff",onLoad:null,onClose:null}},n.mask={load:function(h,c){if(i)return this;typeof h=="string"&&(h={color:h}),h=h||r,r=h=n.extend(n.extend({},s.conf),h),t=n("#"+h.maskId),t.length||(t=n("<div/>").attr("id",h.maskId),n("body").append(t));var l=o();return(t.css({position:"absolute",top:0,left:0,width:l[0],height:l[1],display:"none",opacity:h.startOpacity,zIndex:h.zIndex}),h.color&&t.css("backgroundColor",h.color),u(h.onBeforeLoad)===!1)?this:(h.closeOnEsc&&n(document).bind("keydown.mask",function(t){t.keyCode==27&&n.mask.close(t)}),h.closeOnClick&&t.bind("click.mask",function(t){n.mask.close(t)}),n(window).bind("resize.mask",function(){n.mask.fit()}),c&&c.length&&(e=c.eq(0).css("zIndex"),n.each(c,function(){var t=n(this);/relative|absolute|fixed/i.test(t.css("position"))||t.css("position","relative")}),f=c.css({zIndex:Math.max(h.zIndex+1,e=="auto"?0:e)})),t.css({display:"block"}).fadeTo(h.loadSpeed,h.opacity,function(){n.mask.fit(),u(h.onLoad),i="full"}),i=!0,this)},close:function(){if(i){if(u(r.onBeforeClose)===!1)return this;t.fadeOut(r.closeSpeed,function(){u(r.onClose),f&&f.css({zIndex:e}),i=!1}),n(document).unbind("keydown.mask"),t.unbind("click.mask"),n(window).unbind("resize.mask")}return this},fit:function(){if(i){var n=o();t.css({width:n[0],height:n[1]})}},getMask:function(){return t},isLoaded:function(n){return n?i=="full":i},getConf:function(){return r},getExposed:function(){return f}},n.fn.mask=function(t){return n.mask.load(t),this},n.fn.expose=function(t){return n.mask.load(t,this),this}}(jQuery),function(n){function f(n){if(n){var i=t.contentWindow.document;i.open().close(),i.location.hash=n}}var r,t,i,u;n.tools=n.tools||{version:"1.2.5"},n.tools.history={init:function(e){u||(n.browser.msie&&n.browser.version<"8"?t||(t=n("<iframe/>").attr("src","javascript:false;").hide().get(0),n("body").append(t),setInterval(function(){var u=t.contentWindow.document,i=u.location.hash;r!==i&&n(window).trigger("hash",i)},100),f(location.hash)):setInterval(function(){var t=location.hash;t!==r&&n(window).trigger("hash",t)},100),i=i?i.add(e):e,e.click(function(i){var r=n(this).attr("href");return t&&f(r),r.slice(0,1)!="#"?(location.href="#"+r,i.preventDefault()):void 0}),u=!0)}},n(window).bind("hash",function(t,u){if(u)i.filter(function(){var t=n(this).attr("href");return t==u||t==u.replace("#","")}).trigger("history",[u]);else{var f=n("ul.tabs > li:not(.nolink)").first().index();i.eq(f).trigger("history",[u])}r=u}),n.fn.history=function(t){return n.tools.history.init(this),this.bind("history",t)}}(jQuery),function(n){n(function(){var t=n("#overlay"),r,i;n(t).length?n(t).html(""):t=n("<div/>").addClass("komplett_overlay").attr("id","overlay").append(n("<div/>").addClass("contentWrap")).appendTo("body"),r=n(t).find(".contentWrap:first"),i=n("#overlayAjaxLoader"),n(i).length||(i=n("<div>").attr("id","overlayAjaxLoader").prependTo(t)),n(t).ajaxStart(function(){r.hide(),n(t).css("left","25%"),i.show()}),n(t).ajaxStop(function(){i.hide(),r.show()})}),n.fn.applyDefaultOverlayOptions=function(t){var i={mask:"#aaa",effect:"default",closeOnClick:!1,fixed:!1};return n.extend({},i,t)},n.fn.applyDefaultFancyboxOptions=function(t){var i={autoScale:!0,transitionIn:"elastic",transitionOut:"elastic",speedIn:200,speedOut:200,type:"image",overlayColor:"#333",titlePosition:"inside",titleFormat:function(n,t,i){return'<span class="fancybox-index">'+(i+1)+" / "+t.length+'<\/span><span class="fancybox-title">'+n+"<\/span>"}};return n.extend({},i,t)}}(jQuery),require.config({baseUrl:"/JScript",waitSeconds:3e4,paths:{async:"Common/async",features:"../Features",Components:"../Components",PageDependentComponents:"../PageDependentComponents",Pages:"../Pages",Layout:"../Layout"},urlArgs:"v="+document.getElementsByName("builddate")[0].content}),$(function(){require(["Common/viewModelLoader"],function(n){n.loadViewModel()})}),define("RR/rrService",[],function(){function n(){var t=this;this.expectedPlacements={};var i={},r={},u={},f={},e={},o={},l=function(n,t){var i=[];$.each(t.items,function(t,r){var u=n[r.id];u&&(r.price=u.Price,r.priceBefore=u.PriceBefore,r.rating=u.Rating,r.ratingImageUrl=u.RatingImageUrl,r.showNetPrices=u.ShowNetPrices,r.buyType=u.BuyType,r.description=u.Description,i.push(r))}),t.items=i},a=function(n){var t=[];$.each(n,function(n,i){$.each(i.items,function(n,i){t.push(i.id)})}),$.getJSON("/rr/ExtendInfo",{itemsIds:JSON.stringify(t)}).done(function(t){var i=n;$.each(i,function(n,i){l(t,i)}),s(i,f,e)})},s=function(n,t,i){n.forEach(function(n){i[n.placement_name]?(i[n.placement_name](n),i[n.placement_name]=null):t[n.placement_name]=n})},h=function(n,t,r,u,f){i[n]=f,c(n),r[n]?t(r[n]):u[n]=t},c=function(n){o[n]&&i[n]&&(i[n](),i[n]=undefined)},v=function(n){$.each(n,function(n,i){t.expectedPlacements[i.placement_name]=!1}),$.each(t.expectedPlacements,function(n,t){t&&(o[n]=!0)})},y=function(){$.each(t.expectedPlacements,function(n){c(n)})};this.setPlacementsFromRRServer=function(n){v(n),y(),a(n),s(n,r,u)},this.getPlacementByPlacementId=function(n,t,i){h(n,t,r,u,i)},this.getExtendedPlacementByPlacementId=function(n,t,i){h(n,t,f,e,i)},this.addExpectedPlacement=function(n){t.expectedPlacements[n]=!0},n=this}return new n}),define("RR/promoService",[],function(){function n(){var i=this,n,t;this.expectedPromos={},n=undefined,t=undefined,this.setPromosFromRRServer=function(i){n?n(i):t=i},this.addExpectedPromo=function(n){i.expectedPromos[n]=!0},this.getPromoPlacements=function(i,r){t?r(t):n=r}}return new n})