if(!function(n,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)}("undefined"!=typeof window?window:this,function(n,t){function ii(n){var t=!!n&&"length"in n&&n.length,r=i.type(n);return"function"===r||i.isWindow(n)?!1:"array"===r||0===t||"number"==typeof t&&t>0&&t-1 in n}function ri(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if("string"==typeof t){if(pe.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return i.inArray(n,t)>-1!==r})}function kr(n,t){do n=n[t];while(n&&1!==n.nodeType);return n}function we(n){var t={};return i.each(n.match(s)||[],function(n,i){t[i]=!0}),t}function dr(){u.addEventListener?(u.removeEventListener("DOMContentLoaded",v),n.removeEventListener("load",v)):(u.detachEvent("onreadystatechange",v),n.detachEvent("onload",v))}function v(){(u.addEventListener||"load"===n.event.type||"complete"===u.readyState)&&(dr(),i.ready())}function nu(n,t,r){if(void 0===r&&1===n.nodeType){var u="data-"+t.replace(ke,"-$1").toLowerCase();if(r=n.getAttribute(u),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:be.test(r)?i.parseJSON(r):r}catch(f){}i.data(n,t,r)}else r=void 0}return r}function fi(n){for(var t in n)if(("data"!==t||!i.isEmptyObject(n[t]))&&"toJSON"!==t)return!1;return!0}function tu(n,t,r,u){if(ot(n)){var s,e,h=i.expando,l=n.nodeType,o=l?i.cache:n,f=l?n[h]:n[h]&&h;if(f&&o[f]&&(u||o[f].data)||void 0!==r||"string"!=typeof t)return f||(f=l?n[h]=c.pop()||i.guid++:h),o[f]||(o[f]=l?{}:{toJSON:i.noop}),"object"!=typeof t&&"function"!=typeof t||(u?o[f]=i.extend(o[f],t):o[f].data=i.extend(o[f].data,t)),e=o[f],u||(e.data||(e.data={}),e=e.data),void 0!==r&&(e[i.camelCase(t)]=r),"string"==typeof t?(s=e[t],null==s&&(s=e[i.camelCase(t)])):s=e,s}}function iu(n,t,u){if(ot(n)){var o,s,h=n.nodeType,f=h?i.cache:n,e=h?n[i.expando]:i.expando;if(f[e]){if(t&&(o=u?f[e]:f[e].data)){for(i.isArray(t)?t=t.concat(i.map(t,i.camelCase)):(t in o)?t=[t]:(t=i.camelCase(t),t=(t in o)?[t]:t.split(" ")),s=t.length;s--;)delete o[t[s]];if(u?!fi(o):!i.isEmptyObject(o))return}(u||(delete f[e].data,fi(f[e])))&&(h?i.cleanData([n],!0):r.deleteExpando||f!=f.window?delete f[e]:f[e]=void 0)}}}function ru(n,t,r,u){var h,e=1,l=20,c=u?function(){return u.cur()}:function(){return i.css(n,t,"")},s=c(),o=r&&r[3]||(i.cssNumber[t]?"":"px"),f=(i.cssNumber[t]||"px"!==o&&+s)&&oi.exec(i.css(n,t));if(f&&f[3]!==o){o=o||f[3];r=r||[];f=+s||1;do e=e||".5",f/=e,i.style(n,t,f+o);while(e!==(e=c()/s)&&1!==e&&--l)}return r&&(f=+f||+s||0,h=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=o,u.start=f,u.end=h)),h}function ou(n){var i=eu.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function f(n,t){var e,u,o=0,r="undefined"!=typeof n.getElementsByTagName?n.getElementsByTagName(t||"*"):"undefined"!=typeof n.querySelectorAll?n.querySelectorAll(t||"*"):void 0;if(!r)for(r=[],e=n.childNodes||n;null!=(u=e[o]);o++)!t||i.nodeName(u,t)?r.push(u):i.merge(r,f(u,t));return void 0===t||t&&i.nodeName(n,t)?i.merge([n],r):r}function ci(n,t){for(var u,r=0;null!=(u=n[r]);r++)i._data(u,"globalEval",!t||i._data(t[r],"globalEval"))}function de(n){si.test(n.type)&&(n.defaultChecked=n.checked)}function hu(n,t,u,e,s){for(var l,h,k,c,w,b,v,d=n.length,y=ou(t),a=[],p=0;d>p;p++)if(h=n[p],h||0===h)if("object"===i.type(h))i.merge(a,h.nodeType?[h]:h);else if(su.test(h)){for(c=c||y.appendChild(t.createElement("div")),w=(uu.exec(h)||["",""])[1].toLowerCase(),v=o[w]||o._default,c.innerHTML=v[1]+i.htmlPrefilter(h)+v[2],l=v[0];l--;)c=c.lastChild;if(!r.leadingWhitespace&&hi.test(h)&&a.push(t.createTextNode(hi.exec(h)[0])),!r.tbody)for(h="table"!==w||li.test(h)?"<table>"!==v[1]||li.test(h)?0:c:c.firstChild,l=h&&h.childNodes.length;l--;)i.nodeName(b=h.childNodes[l],"tbody")&&!b.childNodes.length&&h.removeChild(b);for(i.merge(a,c.childNodes),c.textContent="";c.firstChild;)c.removeChild(c.firstChild);c=y.lastChild}else a.push(t.createTextNode(h));for(c&&y.removeChild(c),r.appendChecked||i.grep(f(a,"input"),de),p=0;h=a[p++];)if(e&&i.inArray(h,e)>-1)s&&s.push(h);else if(k=i.contains(h.ownerDocument,h),c=f(y.appendChild(h),"script"),k&&ci(c),u)for(l=0;h=c[l++];)fu.test(h.type||"")&&u.push(h);return c=null,y}function vt(){return!0}function rt(){return!1}function au(){try{return u.activeElement}catch(n){}}function vi(n,t,r,u,f,e){var o,s;if("object"==typeof t){"string"!=typeof r&&(u=u||r,r=void 0);for(s in t)vi(n,s,r,u,t[s],e);return n}if(null==u&&null==f?(f=r,u=r=void 0):null==f&&("string"==typeof r?(f=u,u=void 0):(f=u,u=r,r=void 0)),f===!1)f=rt;else if(!f)return n;return 1===e&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function yu(n,t){return i.nodeName(n,"table")&&i.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function pu(n){return n.type=(null!==i.find.attr(n,"type"))+"/"+n.type,n}function wu(n){var t=fo.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function bu(n,t){if(1===t.nodeType&&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;o>f;f++)i.event.add(t,u,e[u][f])}r.data&&(r.data=i.extend({},r.data))}}function so(n,t){var u,e,f;if(1===t.nodeType){if(u=t.nodeName.toLowerCase(),!r.noCloneEvent&&t[i.expando]){f=i._data(t);for(e in f.events)i.removeEvent(t,e,f.handle);t.removeAttribute(i.expando)}"script"===u&&t.text!==n.text?(pu(t).text=n.text,wu(t)):"object"===u?(t.parentNode&&(t.outerHTML=n.outerHTML),r.html5Clone&&n.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=n.innerHTML)):"input"===u&&si.test(n.type)?(t.defaultChecked=t.checked=n.checked,t.value!==n.value&&(t.value=n.value)):"option"===u?t.defaultSelected=t.selected=n.defaultSelected:"input"!==u&&"textarea"!==u||(t.defaultValue=n.defaultValue)}}function k(n,t,u,e){t=sr.apply([],t);var l,o,a,h,p,c,s=0,v=n.length,b=v-1,y=t[0],w=i.isFunction(y);if(w||v>1&&"string"==typeof y&&!r.checkClone&&uo.test(y))return n.each(function(i){var r=n.eq(i);w&&(t[0]=y.call(this,i,r.html()));k(r,t,u,e)});if(v&&(c=hu(t,n[0].ownerDocument,!1,n,e),l=c.firstChild,1===c.childNodes.length&&(c=l),l||e)){for(h=i.map(f(c,"script"),pu),a=h.length;v>s;s++)o=c,s!==b&&(o=i.clone(o,!0,!0),a&&i.merge(h,f(o,"script"))),u.call(n[s],o,s);if(a)for(p=h[h.length-1].ownerDocument,i.map(h,wu),s=0;a>s;s++)o=h[s],fu.test(o.type||"")&&!i._data(o,"globalEval")&&i.contains(p,o)&&(o.src?i._evalUrl&&i._evalUrl(o.src):i.globalEval((o.text||o.textContent||o.innerHTML||"").replace(eo,"")));c=l=null}return n}function ku(n,t,r){for(var u,o=t?i.filter(t,n):n,e=0;null!=(u=o[e]);e++)r||1!==u.nodeType||i.cleanData(f(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&ci(f(u,"script")),u.parentNode.removeChild(u));return n}function du(n,t){var r=i(t.createElement(n)).appendTo(t.body),u=i.css(r[0],"display");return r.detach(),u}function yt(n){var r=u,t=pi[n];return t||(t=du(n,r),"none"!==t&&t||(ht=(ht||i("<iframe frameborder='0' width='0' height='0'/>")).appendTo(r.documentElement),r=(ht[0].contentWindow||ht[0].contentDocument).document,r.write(),r.close(),t=du(n,r),ht.detach()),pi[n]=t),t}function bi(n,t){return{get:function(){return n()?void delete this.get:(this.get=t).apply(this,arguments)}}}function ef(n){if(n in ff)return n;for(var i=n.charAt(0).toUpperCase()+n.slice(1),t=uf.length;t--;)if(n=uf[t]+i,n in ff)return n}function of(n,t){for(var f,r,o,e=[],u=0,s=n.length;s>u;u++)r=n[u],r.style&&(e[u]=i._data(r,"olddisplay"),f=r.style.display,t?(e[u]||"none"!==f||(r.style.display=""),""===r.style.display&&st(r)&&(e[u]=i._data(r,"olddisplay",yt(r.nodeName)))):(o=st(r),(f&&"none"!==f||!o)&&i._data(r,"olddisplay",o?f:i.css(r,"display"))));for(u=0;s>u;u++)r=n[u],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?e[u]||"":"none"));return n}function sf(n,t,i){var r=lo.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function hf(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;4>e;e+=2)"margin"===r&&(o+=i.css(n,r+b[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+b[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+b[e]+"Width",!0,f))):(o+=i.css(n,"padding"+b[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+b[e]+"Width",!0,f)));return o}function cf(t,f,e){var h=!0,o="width"===f?t.offsetWidth:t.offsetHeight,s=d(t),c=r.boxSizing&&"border-box"===i.css(t,"boxSizing",!1,s);if(u.msFullscreenElement&&n.top!==n&&t.getClientRects().length&&(o=Math.round(100*t.getBoundingClientRect()[f])),0>=o||null==o){if(o=p(t,f,s),(0>o||null==o)&&(o=t.style[f]),pt.test(o))return o;h=c&&(r.boxSizingReliable()||o===t.style[f]);o=parseFloat(o)||0}return o+hf(t,f,e||(c?"border":"content"),h,s)+"px"}function e(n,t,i,r,u){return new e.prototype.init(n,t,i,r,u)}function vf(){return n.setTimeout(function(){ut=void 0}),ut=i.now()}function bt(n,t){var r,i={height:n},u=0;for(t=t?1:0;4>u;u+=2-t)r=b[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function yf(n,t,i){for(var u,f=(h.tweeners[t]||[]).concat(h.tweeners["*"]),r=0,e=f.length;e>r;r++)if(u=f[r].call(i,t,n))return u}function vo(n,t,u){var f,a,p,v,s,w,h,b,l=this,y={},o=n.style,c=n.nodeType&&st(n),e=i._data(n,"fxshow");u.queue||(s=i._queueHooks(n,"fx"),null==s.unqueued&&(s.unqueued=0,w=s.empty.fire,s.empty.fire=function(){s.unqueued||w()}),s.unqueued++,l.always(function(){l.always(function(){s.unqueued--;i.queue(n,"fx").length||s.empty.fire()})}));1===n.nodeType&&("height"in t||"width"in t)&&(u.overflow=[o.overflow,o.overflowX,o.overflowY],h=i.css(n,"display"),b="none"===h?i._data(n,"olddisplay")||yt(n.nodeName):h,"inline"===b&&"none"===i.css(n,"float")&&(r.inlineBlockNeedsLayout&&"inline"!==yt(n.nodeName)?o.zoom=1:o.display="inline-block"));u.overflow&&(o.overflow="hidden",r.shrinkWrapBlocks()||l.always(function(){o.overflow=u.overflow[0];o.overflowX=u.overflow[1];o.overflowY=u.overflow[2]}));for(f in t)if(a=t[f],lf.exec(a)){if(delete t[f],p=p||"toggle"===a,a===(c?"hide":"show")){if("show"!==a||!e||void 0===e[f])continue;c=!0}y[f]=e&&e[f]||i.style(n,f)}else h=void 0;if(i.isEmptyObject(y))"inline"===("none"===h?yt(n.nodeName):h)&&(o.display=h);else{e?"hidden"in e&&(c=e.hidden):e=i._data(n,"fxshow",{});p&&(e.hidden=!c);c?i(n).show():l.done(function(){i(n).hide()});l.done(function(){var t;i._removeData(n,"fxshow");for(t in y)i.style(n,t,y[t])});for(f in y)v=yf(c?e[f]:0,f,l),f in e||(e[f]=v.start,c&&(v.end=v.start,v.start="width"===f||"height"===f?1:0))}}function yo(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 h(n,t,r){var e,o,s=0,a=h.prefilters.length,f=i.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var s=ut||vf(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,e=u.tweens.length;e>r;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),1>i&&e?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:ut||vf(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;r>i;i++)u.tweens[i].run(1);return t?(f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u,t])):f.rejectWith(n,[u,t]),this}}),c=u.props;for(yo(c,u.opts.specialEasing);a>s;s++)if(e=h.prefilters[s].call(u,n,c,u.opts))return i.isFunction(e.stop)&&(i._queueHooks(u.elem,u.opts.queue).stop=i.proxy(e.stop,e)),e;return i.map(c,yf,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(l,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function nt(n){return i.attr(n,"class")||""}function re(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(s)||[];if(i.isFunction(r))while(u=e[f++])"+"===u.charAt(0)?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function ue(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);return"string"!=typeof s||o||f[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),e(s),!1)}),h}var f={},o=n===tr;return e(t.dataTypes[0])||!f["*"]&&e("*")}function rr(n,t){var u,r,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function ts(n,t,i){for(var o,e,u,f,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(f in s)if(s[f]&&s[f].test(e)){r.unshift(f);break}if(r[0]in i)u=r[0];else{for(f in i){if(!r[0]||n.converters[f+" "+r[0]]){u=f;break}o||(o=f)}u=u||o}if(u)return(u!==r[0]&&r.unshift(u),i[u])}function is(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift())if("*"===u)u=e;else if("*"!==e&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}function rs(n){return n.style&&n.style.display||i.css(n,"display")}function us(n){while(n&&1===n.nodeType){if("none"===rs(n)||"hidden"===n.type)return!0;n=n.parentNode}return!1}function ur(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||es.test(n)?u(n,i):ur(n+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,u)});else if(r||"object"!==i.type(t))u(n,t);else for(f in t)ur(n+"["+f+"]",t[f],r,u)}function fr(){try{return new n.XMLHttpRequest}catch(t){}}function ee(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function oe(n){return i.isWindow(n)?n:9===n.nodeType?n.defaultView||n.parentWindow:!1}var c=[],u=n.document,a=c.slice,sr=c.concat,ti=c.push,hr=c.indexOf,lt={},ce=lt.toString,tt=lt.hasOwnProperty,r={},cr="1.12.3",i=function(n,t){return new i.fn.init(n,t)},le=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ae=/^-ms-/,ve=/-([\da-z])/gi,ye=function(n,t){return t.toUpperCase()},w,ui,yr,pr,wr,br,s,at,gr,o,su,li,ht,pi,d,p,tf,ut,wt,lf,af,pf,wf,kf,df,dt,er,ni,or,se,he;i.fn=i.prototype={jquery:cr,constructor:i,selector:"",length:0,toArray:function(){return a.call(this)},get:function(n){return null!=n?0>n?this[n+this.length]:this[n]:a.call(this)},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t.context=this.context,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(0>n?i:0);return this.pushStack(t>=0&&i>t?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:ti,sort:c.sort,splice:c.splice};i.extend=i.fn.extend=function(){var r,e,t,f,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[u]||{},u++),"object"==typeof n||i.isFunction(n)||(n={}),u===c&&(n=this,u--);c>u;u++)if(null!=(o=arguments[u]))for(f in o)r=n[f],t=o[f],n!==t&&(h&&t&&(i.isPlainObject(t)||(e=i.isArray(t)))?(e?(e=!1,s=r&&i.isArray(r)?r:[]):s=r&&i.isPlainObject(r)?r:{},n[f]=i.extend(h,s,t)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+(cr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray||function(n){return"array"===i.type(n)},isWindow:function(n){return null!=n&&n==n.window},isNumeric:function(n){var t=n&&n.toString();return!i.isArray(n)&&t-parseFloat(t)+1>=0},isEmptyObject:function(n){for(var t in n)return!1;return!0},isPlainObject:function(n){var t;if(!n||"object"!==i.type(n)||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!tt.call(n,"constructor")&&!tt.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}if(!r.ownFirst)for(t in n)return tt.call(n,t);for(t in n);return void 0===t||tt.call(n,t)},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?lt[ce.call(n)]||"object":typeof n},globalEval:function(t){t&&i.trim(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(ae,"ms-").replace(ve,ye)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t){var r,i=0;if(ii(n)){for(r=n.length;r>i;i++)if(t.call(n[i],i,n[i])===!1)break}else for(i in n)if(t.call(n[i],i,n[i])===!1)break;return n},trim:function(n){return null==n?"":(n+"").replace(le,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(ii(Object(n))?i.merge(r,"string"==typeof n?[n]:n):ti.call(r,n)),r},inArray:function(n,t,i){var r;if(t){if(hr)return hr.call(t,n,i);for(r=t.length,i=i?0>i?Math.max(0,r+i):i:0;r>i;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,t){for(var r=+t.length,i=0,u=n.length;r>i;)n[u++]=t[i++];if(r!==r)while(void 0!==t[i])n[u++]=t[i++];return n.length=u,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;e>r;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var e,u,r=0,f=[];if(ii(n))for(e=n.length;e>r;r++)u=t(n[r],r,i),null!=u&&f.push(u);else for(r in n)u=t(n[r],r,i),null!=u&&f.push(u);return sr.apply([],f)},guid:1,proxy:function(n,t){var u,r,f;return"string"==typeof t&&(f=n[t],t=n,n=f),i.isFunction(n)?(u=a.call(arguments,2),r=function(){return n.apply(t||this,u.concat(a.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r):void 0},now:function(){return+new Date},support:r});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=c[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){lt["[object "+t+"]"]=t.toLowerCase()});w=function(n){function u(n,t,r,u){var l,w,a,s,nt,d,y,g,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==v&&9!==v&&11!==v)return r;if(!u&&((t?t.ownerDocument||t:c)!==i&&b(t),t=t||i,h)){if(11!==v&&(d=sr.exec(n)))if(l=d[1]){if(9===v){if(!(a=t.getElementById(l)))return r;if(a.id===l)return r.push(a),r}else if(p&&(a=p.getElementById(l))&&et(t,a)&&a.id===l)return r.push(a),r}else{if(d[2])return k.apply(r,t.getElementsByTagName(n)),r;if((l=d[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(l)),r}if(f.qsa&&!lt[n+" "]&&(!o||!o.test(n))){if(1!==v)p=t,g=n;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(hr,"\\$&"):t.setAttribute("id",s=e),y=ft(n),w=y.length,nt=yi.test(s)?"#"+s:"[id='"+s+"']";w--;)y[w]=nt+" "+yt(y[w]);g=y.join(",");p=gt.test(n)&&ii(t.parentNode)||t}if(g)try{return k.apply(r,p.querySelectorAll(g)),r}catch(tt){}finally{s===e&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function ni(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function l(n){return n[e]=!0,n}function a(n){var t=i.createElement("div");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ti(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function wi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&(~t.sourceIndex||li)-(~n.sourceIndex||li);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function cr(n){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===n}}function lr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function it(n){return l(function(t){return t=+t,l(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 ii(n){return n&&"undefined"!=typeof n.getElementsByTagName&&n}function bi(){}function yt(n){for(var t=0,r=n.length,i="";r>t;t++)i+=n[t].value;return i}function ri(n,t,i){var r=t.dir,u=i&&"parentNode"===r,f=ki++;return t.first?function(t,i,f){while(t=t[r])if(1===t.nodeType||u)return n(t,i,f)}:function(t,i,o){var s,h,c,l=[v,f];if(o){while(t=t[r])if((1===t.nodeType||u)&&n(t,i,o))return!0}else while(t=t[r])if(1===t.nodeType||u){if(c=t[e]||(t[e]={}),h=c[t.uniqueID]||(c[t.uniqueID]={}),(s=h[r])&&s[0]===v&&s[1]===f)return l[2]=s[2];if(h[r]=l,l[2]=n(t,i,o))return!0}}}function ui(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 ar(n,t,i){for(var r=0,f=t.length;f>r;r++)u(n,t[r],i);return i}function pt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;s>f;f++)(e=n[f])&&(i&&!i(e,r,u)||(o.push(e),h&&t.push(f)));return o}function fi(n,t,i,r,u,f){return r&&!r[e]&&(r=fi(r)),u&&!u[e]&&(u=fi(u,f)),l(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||ar(t||"*",o.nodeType?[o]:o,[]),v=!n||!f&&t?b:pt(b,p,n,o,s),h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=pt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=pt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=ri(function(n){return n===o},c,!0),a=ri(function(n){return nt(o,n)>-1},c,!0),f=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];s>i;i++)if(u=t.relative[n[i].type])f=[ri(ui(f),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[e]){for(r=++i;s>r;r++)if(t.relative[n[r].type])break;return fi(i>1&&ui(f),i>1&&yt(n.slice(0,i-1).concat({value:" "===n[i-2].type?"*":""})).replace(at,"$1"),u,r>i&&ei(n.slice(i,r)),s>r&&ei(n=n.slice(r)),s>r&&yt(n))}f.push(u)}return ui(f)}function vr(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,c,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=ht,rt=o||e&&t.find.TAG("*",a),ut=v+=null==it?1:Math.random()||.1,ft=rt.length;for(a&&(ht=s===i||s||a);p!==ft&&null!=(y=rt[p]);p++){if(e&&y){for(nt=0,s||y.ownerDocument===i||(b(y),c=!h);d=n[nt++];)if(d(y,s||i,c)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,c);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=gi.call(l));w=pt(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,ht=it),tt};return f?l(o):o}var rt,f,t,st,oi,ft,wt,si,ht,w,ut,b,i,s,h,o,d,ct,et,e="sizzle"+1*new Date,c=n.document,v=0,ki=0,hi=ni(),ci=ni(),lt=ni(),bt=function(n,t){return n===t&&(ut=!0),0},li=-2147483648,di={}.hasOwnProperty,g=[],gi=g.pop,nr=g.push,k=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;r>i;i++)if(n[i]===t)return i;return-1},kt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",vi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",dt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",tr=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),ir=new RegExp("^"+r+"*,"+r+"*"),rr=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),ur=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),fr=new RegExp(dt),yi=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+dt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+kt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},er=/^(?:input|select|textarea|button)$/i,or=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,sr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,hr=/'|\\/g,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},pi=function(){b()};try{k.apply(g=ai.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(yr){k={apply:g.length?function(n,t){nr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}f=u.support={};oi=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?"HTML"!==t.nodeName:!1};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l!==i&&9===l.nodeType&&l.documentElement?(i=l,s=i.documentElement,h=!oi(i),(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",pi,!1):u.attachEvent&&u.attachEvent("onunload",pi)),f.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),f.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),f.getElementsByClassName=ot.test(i.getElementsByClassName),f.getById=a(function(n){return s.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),f.getById?(t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&h){var i=t.getElementById(n);return i?[i]:[]}},t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}}):(delete t.find.ID,t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i="undefined"!=typeof n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}}),t.find.TAG=f.getElementsByTagName?function(n,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(n):f.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){while(i=u[f++])1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=f.getElementsByClassName&&function(n,t){if("undefined"!=typeof t.getElementsByClassName&&h)return t.getElementsByClassName(n)},d=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+e+"'><\/a><select id='"+e+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+kt+")");n.querySelectorAll("[id~="+e+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]")}),a(function(n){var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length||o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(f.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){f.disconnectedMatch=ct.call(n,"div");ct.call(n,"[s!='']:x");d.push("!=",dt)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},bt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,1&r||!f.sortDetached&&t.compareDocumentPosition(n)===r?n===i||n.ownerDocument===c&&et(c,n)?-1:t===i||t.ownerDocument===c&&et(c,t)?1:w?nt(w,n)-nt(w,t):0:4&r?-1:1)}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(!o||!s)return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;if(o===s)return wi(n,t);for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?wi(f[u],e[u]):f[u]===c?-1:e[u]===c?1:0},i):i};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),t=t.replace(ur,"='$1']"),f.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||f.disconnectedMatch||n.document&&11!==n.document.nodeType)return r}catch(e){}return u(t,i,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)};u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var e=t.attrHandle[r.toLowerCase()],u=e&&di.call(t.attrHandle,r.toLowerCase())?e(n,r,!h):void 0;return void 0!==u?u:f.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!f.detectDuplicates,w=!f.sortStable&&n.slice(0),n.sort(bt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n};st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(3===t||4===t)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&fr.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test("string"==typeof n.className&&n.className||"undefined"!=typeof n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return null==f?"!="===t:t?(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&f.indexOf(i)>-1:"$="===t?i&&f.slice(-i.length)===i:"~="===t?(" "+f.replace(tr," ")+" ").indexOf(i)>-1:"|="===t?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),f="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=f&&t.nodeName.toLowerCase(),g=!h&&!f,l=!1;if(d){if(s){while(k){for(c=t;c=c[k];)if(f?c.nodeName.toLowerCase()===nt:1===c.nodeType)return!1;b=k="only"===n&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(1===c.nodeType&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a),l===!1)while(c=++a&&c&&c[k]||(l=a=0)||b.pop())if((f?c.nodeName.toLowerCase()===nt:1===c.nodeType)&&++l&&(g&&(y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var f,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[e]?r(i):r.length>1?(f=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=nt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,f)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=wt(n.replace(at,"$1"));return i[e]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return u(n,t).length>0}}),contains:l(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||st(t)).indexOf(n)>-1}}),lang:l(function(n){return yi.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return or.test(n.nodeName)},input:function(n){return er.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[0>i?i+t:i]}),even:it(function(n,t){for(var i=0;t>i;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;t>i;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=0>i?i+t:i;--r>=0;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=0>i?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=cr(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=lr(rt);return bi.prototype=t.filters=t.pseudos,t.setFilters=new bi,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=ir.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=rr.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length));for(o in t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},wt=u.compile=function(n,t){var r,u=[],f=[],i=lt[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ei(t[r]),i[e]?u.push(i):f.push(i);i=lt(n,vr(f,u));i.selector=n}return i},si=u.select=function(n,i,r,u){var s,e,o,a,v,l="function"==typeof n&&n,c=!u&&ft(n=l.selector||n);if(r=r||[],1===c.length){if(e=c[0]=c[0].slice(0),e.length>2&&"ID"===(o=e[0]).type&&f.getById&&9===i.nodeType&&h&&t.relative[e[1].type]){if(i=(t.find.ID(o.matches[0].replace(y,p),i)||[])[0],!i)return r;l&&(i=i.parentNode);n=n.slice(e.shift().value.length)}for(s=vt.needsContext.test(n)?0:e.length;s--;){if(o=e[s],t.relative[a=o.type])break;if((v=t.find[a])&&(u=v(o.matches[0].replace(y,p),gt.test(e[0].type)&&ii(i.parentNode)||i))){if(e.splice(s,1),n=u.length&&yt(e),!n)return k.apply(r,u),r;break}}}return(l||wt(n,c))(u,i,!h,r,!i||gt.test(n)&&ii(i.parentNode)||i),r},f.sortStable=e.split("").sort(bt).join("")===e,f.detectDuplicates=!!ut,b(),f.sortDetached=a(function(n){return 1&n.compareDocumentPosition(i.createElement("div"))}),a(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||ti("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||ti("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),a(function(n){return null==n.getAttribute("disabled")})||ti(kt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=w;i.expr=w.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=w.uniqueSort;i.text=w.getText;i.isXMLDoc=w.isXML;i.contains=w.contains;var it=function(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u},lr=function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i},ar=i.expr.match.needsContext,vr=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,pe=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,r=[],u=this,f=u.length;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;f>t;t++)if(i.contains(u[t],this))return!0}));for(t=0;f>t;t++)i.find(n,u[t],r);return r=this.pushStack(f>1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},filter:function(n){return this.pushStack(ri(this,n||[],!1))},not:function(n){return this.pushStack(ri(this,n||[],!0))},is:function(n){return!!ri(this,"string"==typeof n&&ar.test(n)?i(n):n||[],!1).length}});yr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;pr=i.fn.init=function(n,t,r){var f,e;if(!n)return this;if(r=r||ui,"string"==typeof n){if(f="<"===n.charAt(0)&&">"===n.charAt(n.length-1)&&n.length>=3?[null,n,null]:yr.exec(n),!f||!f[1]&&t)return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n);if(f[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(f[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),vr.test(f[1])&&i.isPlainObject(t))for(f in t)i.isFunction(this[f])?this[f](t[f]):this.attr(f,t[f]);return this}if(e=u.getElementById(f[2]),e&&e.parentNode){if(e.id!==f[2])return ui.find(n);this.length=1;this[0]=e}return this.context=u,this.selector=n,this}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?"undefined"!=typeof r.ready?r.ready(n):n(i):(void 0!==n.selector&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))};pr.prototype=i.fn;ui=i(u);wr=/^(?:parents|prev(?:Until|All))/;br={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;u>t;t++)if(i.contains(this,r[t]))return!0})},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=ar.test(n)||"string"!=typeof n?i(n,t||this.context):0;o>f;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?"string"==typeof n?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return it(n,"parentNode")},parentsUntil:function(n,t,i){return it(n,"parentNode",i)},next:function(n){return kr(n,"nextSibling")},prev:function(n){return kr(n,"previousSibling")},nextAll:function(n){return it(n,"nextSibling")},prevAll:function(n){return it(n,"previousSibling")},nextUntil:function(n,t,i){return it(n,"nextSibling",i)},prevUntil:function(n,t,i){return it(n,"previousSibling",i)},siblings:function(n){return lr((n.parentNode||{}).firstChild,n)},children:function(n){return lr(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"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),this.length>1&&(br[n]||(f=i.uniqueSort(f)),wr.test(n)&&(f=f.reverse())),this.pushStack(f)}});s=/\S+/g;i.Callbacks=function(n){n="string"==typeof n?we(n):i.extend({},n);var e,r,h,f,t=[],o=[],u=-1,c=function(){for(f=n.once,h=e=!0;o.length;u=-1)for(r=o.shift();++u<t.length;)t[u].apply(r[0],r[1])===!1&&n.stopOnFalse&&(u=t.length,r=!1);n.memory||(r=!1);e=!1;f&&(t=r?[]:"")},s={add:function(){return t&&(r&&!e&&(u=t.length-1,o.push(r)),function f(r){i.each(r,function(r,u){i.isFunction(u)?n.unique&&s.has(u)||t.push(u):u&&u.length&&"string"!==i.type(u)&&f(u)})}(arguments),r&&!e&&c()),this},remove:function(){return i.each(arguments,function(n,r){for(var f;(f=i.inArray(r,t,f))>-1;)t.splice(f,1),u>=f&&u--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return f=o=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=!0,r||s.disable(),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=t||[],t=[n,t.slice?t.slice():t],o.push(t),e||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s};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(f){i.each(u,function(u,e){var o=i.isFunction(n[u])&&n[u];t[e[1]](function(){var n=o&&o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().progress(f.notify).done(f.resolve).fail(f.reject):f[e[0]+"With"](this===r?f.promise():this,o?[n]:arguments)})});n=null}).promise()},promise:function(n){return null!=n?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[1^n][2].disable,u[2][2].lock);t[i[0]]=function(){return t[i[0]+"With"](this===t?r:this,arguments),this};t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var t=0,u=a.call(arguments),r=u.length,e=1!==r||n&&i.isFunction(n.promise)?r:0,f=1===e?n:i.Deferred(),h=function(n,t,i){return function(r){t[n]=this;i[n]=arguments.length>1?a.call(arguments):r;i===o?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},o,c,s;if(r>1)for(o=new Array(r),c=new Array(r),s=new Array(r);r>t;t++)u[t]&&i.isFunction(u[t].promise)?u[t].promise().progress(h(t,c,o)).done(h(t,s,u)).fail(f.reject):--e;return e||f.resolveWith(s,u),f.promise()}});i.fn.ready=function(n){return i.ready.promise().done(n),this};i.extend({isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0||(at.resolveWith(u,[i]),i.fn.triggerHandler&&(i(u).triggerHandler("ready"),i(u).off("ready"))))}});i.ready.promise=function(t){if(!at)if(at=i.Deferred(),"complete"!==u.readyState&&("loading"===u.readyState||u.documentElement.doScroll))if(u.addEventListener)u.addEventListener("DOMContentLoaded",v),n.addEventListener("load",v);else{u.attachEvent("onreadystatechange",v);n.attachEvent("onload",v);var r=!1;try{r=null==n.frameElement&&u.documentElement}catch(e){}r&&r.doScroll&&!function f(){if(!i.isReady){try{r.doScroll("left")}catch(t){return n.setTimeout(f,50)}dr();i.ready()}}()}else n.setTimeout(i.ready);return at.promise(t)};i.ready.promise();for(gr in i(r))break;r.ownFirst="0"===gr;r.inlineBlockNeedsLayout=!1;i(function(){var f,t,n,i;n=u.getElementsByTagName("body")[0];n&&n.style&&(t=u.createElement("div"),i=u.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",r.inlineBlockNeedsLayout=f=3===t.offsetWidth,f&&(n.style.zoom=1)),n.removeChild(i))}),function(){var n=u.createElement("div");r.deleteExpando=!0;try{delete n.test}catch(t){r.deleteExpando=!1}n=null}();var ot=function(n){var t=i.noData[(n.nodeName+" ").toLowerCase()],r=+n.nodeType||1;return 1!==r&&9!==r?!1:!t||t!==!0&&n.getAttribute("classid")===t},be=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ke=/([A-Z])/g;i.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!fi(n)},data:function(n,t,i){return tu(n,t,i)},removeData:function(n,t){return iu(n,t)},_data:function(n,t,i){return tu(n,t,i,!0)},_removeData:function(n,t){return iu(n,t,!0)}});i.fn.extend({data:function(n,t){var f,u,e,r=this[0],o=r&&r.attributes;if(void 0===n){if(this.length&&(e=i.data(r),1===r.nodeType&&!i._data(r,"parsedAttrs"))){for(f=o.length;f--;)o[f]&&(u=o[f].name,0===u.indexOf("data-")&&(u=i.camelCase(u.slice(5)),nu(r,u,e[u])));i._data(r,"parsedAttrs",!0)}return e}return"object"==typeof n?this.each(function(){i.data(this,n)}):arguments.length>1?this.each(function(){i.data(this,n,t)}):r?nu(r,n,i.data(r,n)):void 0},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)};"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&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");i._removeData(n,r)})})}});i.fn.extend({queue:function(n,t){var r=2;return"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var r,f=1,e=i.Deferred(),u=this,o=this.length,s=function(){--f||e.resolveWith(u,[u])};for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";o--;)r=i._data(u[o],n+"queueHooks"),r&&r.empty&&(f++,r.empty.add(s));return s(),e.promise(t)}}),function(){var n;r.shrinkWrapBlocks=function(){if(null!=n)return n;n=!1;var t,i,r;return i=u.getElementsByTagName("body")[0],i&&i.style?(t=u.createElement("div"),r=u.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(u.createElement("div")).style.width="5px",n=3!==t.offsetWidth),i.removeChild(r),n):void 0}}();var ei=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oi=new RegExp("^(?:([+-])=|)("+ei+")([a-z%]*)$","i"),b=["Top","Right","Bottom","Left"],st=function(n,t){return n=t||n,"none"===i.css(n,"display")||!i.contains(n.ownerDocument,n)};var y=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=null==r;if("object"===i.type(r)){f=!0;for(s in r)y(n,t,s,r[s],!0,e,o)}else if(void 0!==u&&(f=!0,i.isFunction(u)||(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;c>s;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e},si=/^(?:checkbox|radio)$/i,uu=/<([\w:-]+)/,fu=/^$|\/(?:java|ecma)script/i,hi=/^\s+/,eu="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var n=u.createElement("div"),f=u.createDocumentFragment(),t=u.createElement("input");n.innerHTML="  <link/><table><\/table><a href='/a'>a<\/a><input type='checkbox'/>";r.leadingWhitespace=3===n.firstChild.nodeType;r.tbody=!n.getElementsByTagName("tbody").length;r.htmlSerialize=!!n.getElementsByTagName("link").length;r.html5Clone="<:nav><\/:nav>"!==u.createElement("nav").cloneNode(!0).outerHTML;t.type="checkbox";t.checked=!0;f.appendChild(t);r.appendChecked=t.checked;n.innerHTML="<textarea>x<\/textarea>";r.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue;f.appendChild(n);t=u.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);r.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;r.noCloneEvent=!!n.addEventListener;n[i.expando]=1;r.attributes=!n.getAttribute(i.expando)}();o={option:[1,"<select multiple='multiple'>","<\/select>"],legend:[1,"<fieldset>","<\/fieldset>"],area:[1,"<map>","<\/map>"],param:[1,"<object>","<\/object>"],thead:[1,"<table>","<\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],col:[2,"<table><tbody><\/tbody><colgroup>","<\/colgroup><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:r.htmlSerialize?[0,"",""]:[1,"X<div>","<\/div>"]};o.optgroup=o.option;o.tbody=o.tfoot=o.colgroup=o.caption=o.thead;o.th=o.td;su=/<|&#?\w+;/;li=/<tbody/i;!function(){var t,i,f=u.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})i="on"+t,(r[t]=i in n)||(f.setAttribute(i,"t"),r[t]=f.attributes[i].expando===!1);f=null}();var ai=/^(?:input|select|textarea)$/i,ge=/^key/,no=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,cu=/^(?:focusinfocus|focusoutblur)$/,lu=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,r,u,f){var p,v,w,y,o,h,c,l,e,b,k,a=i._data(n);if(a){for(r.handler&&(y=r,r=y.handler,f=y.selector),r.guid||(r.guid=i.guid++),(v=a.events)||(v=a.events={}),(h=a.handle)||(h=a.handle=function(n){if("undefined"!=typeof i&&(!n||i.event.triggered!==n.type))return i.event.dispatch.apply(h.elem,arguments)},h.elem=n),t=(t||"").match(s)||[""],w=t.length;w--;)p=lu.exec(t[w])||[],e=k=p[1],b=(p[2]||"").split(".").sort(),e&&(o=i.event.special[e]||{},e=(f?o.delegateType:o.bindType)||e,o=i.event.special[e]||{},c=i.extend({type:e,origType:k,data:u,handler:r,guid:r.guid,selector:f,needsContext:f&&i.expr.match.needsContext.test(f),namespace:b.join(".")},y),(l=v[e])||(l=v[e]=[],l.delegateCount=0,o.setup&&o.setup.call(n,u,b,h)!==!1||(n.addEventListener?n.addEventListener(e,h,!1):n.attachEvent&&n.attachEvent("on"+e,h))),o.add&&(o.add.call(n,c),c.handler.guid||(c.handler.guid=r.guid)),f?l.splice(l.delegateCount++,0,c):l.push(c),i.event.global[e]=!0);n=null}},remove:function(n,t,r,u,f){var y,o,h,b,p,a,c,l,e,w,k,v=i.hasData(n)&&i._data(n);if(v&&(a=v.events)){for(t=(t||"").match(s)||[""],p=t.length;p--;)if(h=lu.exec(t[p])||[],e=k=h[1],w=(h[2]||"").split(".").sort(),e){for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,l=a[e]||[],h=h[2]&&new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=l.length;y--;)o=l[y],!f&&k!==o.origType||r&&r.guid!==o.guid||h&&!h.test(o.namespace)||u&&u!==o.selector&&("**"!==u||!o.selector)||(l.splice(y,1),o.selector&&l.delegateCount--,c.remove&&c.remove.call(n,o));b&&!l.length&&(c.teardown&&c.teardown.call(n,w,v.handle)!==!1||i.removeEvent(n,e,v.handle),delete a[e])}else for(e in a)i.event.remove(n,e+t[p],r,u,!0);i.isEmptyObject(a)&&(delete v.handle,i._removeData(n,"events"))}},trigger:function(t,r,f,e){var l,a,o,p,c,h,w,y=[f||u],s=tt.call(t,"type")?t.type:t,v=tt.call(t,"namespace")?t.namespace.split("."):[];if(o=h=f=f||u,3!==f.nodeType&&8!==f.nodeType&&!cu.test(s+i.event.triggered)&&(s.indexOf(".")>-1&&(v=s.split("."),s=v.shift(),v.sort()),a=s.indexOf(":")<0&&"on"+s,t=t[i.expando]?t:new i.Event(s,"object"==typeof t&&t),t.isTrigger=e?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=f),r=null==r?[t]:i.makeArray(r,[t]),c=i.event.special[s]||{},e||!c.trigger||c.trigger.apply(f,r)!==!1)){if(!e&&!c.noBubble&&!i.isWindow(f)){for(p=c.delegateType||s,cu.test(p+s)||(o=o.parentNode);o;o=o.parentNode)y.push(o),h=o;h===(f.ownerDocument||u)&&y.push(h.defaultView||h.parentWindow||n)}for(w=0;(o=y[w++])&&!t.isPropagationStopped();)t.type=w>1?p:c.bindType||s,l=(i._data(o,"events")||{})[t.type]&&i._data(o,"handle"),l&&l.apply(o,r),l=a&&o[a],l&&l.apply&&ot(o)&&(t.result=l.apply(o,r),t.result===!1&&t.preventDefault());if(t.type=s,!e&&!t.isDefaultPrevented()&&(!c._default||c._default.apply(y.pop(),r)===!1)&&ot(f)&&a&&f[s]&&!i.isWindow(f)){h=f[a];h&&(f[a]=null);i.event.triggered=s;try{f[s]()}catch(b){}i.event.triggered=void 0;h&&(f[a]=h)}return t.result}},dispatch:function(n){n=i.event.fix(n);var e,o,f,r,t,s=[],h=a.call(arguments),c=(i._data(this,"events")||{})[n.type]||[],u=i.event.special[n.type]||{};if(h[0]=n,n.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,n)!==!1){for(s=i.event.handlers.call(this,n,c),e=0;(r=s[e++])&&!n.isPropagationStopped();)for(n.currentTarget=r.elem,o=0;(t=r.handlers[o++])&&!n.isImmediatePropagationStopped();)n.rnamespace&&!n.rnamespace.test(t.namespace)||(n.handleObj=t,n.data=t.data,f=((i.event.special[t.origType]||{}).handle||t.handler).apply(r.elem,h),void 0!==f&&(n.result=f)===!1&&(n.preventDefault(),n.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,n),n.result}},handlers:function(n,t){var e,u,f,o,h=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&("click"!==n.type||isNaN(n.button)||n.button<1))for(;r!=this;r=r.parentNode||this)if(1===r.nodeType&&(r.disabled!==!0||"click"!==n.type)){for(u=[],e=0;s>e;e++)o=t[e],f=o.selector+" ",void 0===u[f]&&(u[f]=o.needsContext?i(f,this).index(r)>-1:i.find(f,this,null,[r]).length),u[f]&&u.push(o);u.length&&h.push({elem:r,handlers:u})}return s<t.length&&h.push({elem:this,handlers:t.slice(s)}),h},fix:function(n){if(n[i.expando])return n;var e,o,s,r=n.type,f=n,t=this.fixHooks[r];for(t||(this.fixHooks[r]=t=no.test(r)?this.mouseHooks:ge.test(r)?this.keyHooks:{}),s=t.props?this.props.concat(t.props):this.props,n=new i.Event(f),e=s.length;e--;)o=s[e],n[o]=f[o];return n.target||(n.target=f.srcElement||u),3===n.target.nodeType&&(n.target=n.target.parentNode),n.metaKey=!!n.metaKey,t.filter?t.filter(n,f):n},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return null==n.which&&(n.which=null!=t.charCode?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,t){var i,e,r,f=t.button,o=t.fromElement;return null==n.pageX&&null!=t.clientX&&(e=n.target.ownerDocument||u,r=e.documentElement,i=e.body,n.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),n.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),!n.relatedTarget&&o&&(n.relatedTarget=o===n.target?t.toElement:o),n.which||void 0===f||(n.which=1&f?1:2&f?3:4&f?2:0),n}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==au()&&this.focus)try{return this.focus(),!1}catch(n){}},delegateType:"focusin"},blur:{trigger:function(){if(this===au()&&this.blur)return(this.blur(),!1)},delegateType:"focusout"},click:{trigger:function(){if(i.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return(this.click(),!1)},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t);u.isDefaultPrevented()&&r.preventDefault()}};i.removeEvent=u.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)}:function(n,t,i){var r="on"+t;n.detachEvent&&("undefined"==typeof n[r]&&(n[r]=null),n.detachEvent(r,i))};i.Event=function(n,t){return this instanceof i.Event?(n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||void 0===n.defaultPrevented&&n.returnValue===!1?vt:rt):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),void(this[i.expando]=!0)):new i.Event(n,t)};i.Event.prototype={constructor:i.Event,isDefaultPrevented:rt,isPropagationStopped:rt,isImmediatePropagationStopped:rt,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=vt;n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=vt;n&&!this.isSimulated&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=vt;n&&n.stopImmediatePropagation&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});r.submit||(i.event.special.submit={setup:function(){return i.nodeName(this,"form")?!1:void i.event.add(this,"click._submit keypress._submit",function(n){var r=n.target,t=i.nodeName(r,"input")||i.nodeName(r,"button")?i.prop(r,"form"):void 0;t&&!i._data(t,"submit")&&(i.event.add(t,"submit._submit",function(n){n._submitBubble=!0}),i._data(t,"submit",!0))})},postDispatch:function(n){n._submitBubble&&(delete n._submitBubble,this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n))},teardown:function(){return i.nodeName(this,"form")?!1:void i.event.remove(this,"._submit")}});r.change||(i.event.special.change={setup:function(){return ai.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(i.event.add(this,"propertychange._change",function(n){"checked"===n.originalEvent.propertyName&&(this._justChanged=!0)}),i.event.add(this,"click._change",function(n){this._justChanged&&!n.isTrigger&&(this._justChanged=!1);i.event.simulate("change",this,n)})),!1):void i.event.add(this,"beforeactivate._change",function(n){var t=n.target;ai.test(t.nodeName)&&!i._data(t,"change")&&(i.event.add(t,"change._change",function(n){!this.parentNode||n.isSimulated||n.isTrigger||i.event.simulate("change",this.parentNode,n)}),i._data(t,"change",!0))})},handle:function(n){var t=n.target;if(this!==t||n.isSimulated||n.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return n.handleObj.handler.apply(this,arguments)},teardown:function(){return i.event.remove(this,"._change"),!ai.test(this.nodeName)}});r.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var r=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var u=this.ownerDocument||this,f=i._data(u,t);f||u.addEventListener(n,r,!0);i._data(u,t,(f||0)+1)},teardown:function(){var u=this.ownerDocument||this,f=i._data(u,t)-1;f?i._data(u,t,f):(u.removeEventListener(n,r,!0),i._removeData(u,t))}}});i.fn.extend({on:function(n,t,i,r){return vi(this,n,t,i,r)},one:function(n,t,i,r){return vi(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return t!==!1&&"function"!=typeof t||(r=t,t=void 0),r===!1&&(r=rt),this.each(function(){i.event.remove(this,n,r,t)})},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});var to=/ jQuery\d+="(?:null|\d+)"/g,vu=new RegExp("<(?:"+eu+")[\\s/>]","i"),io=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ro=/<script|<style|<link/i,uo=/checked\s*(?:[^=]|=\s*.checked.)/i,fo=/^true\/(.*)/,eo=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,oo=ou(u),yi=oo.appendChild(u.createElement("div"));i.extend({htmlPrefilter:function(n){return n.replace(io,"<$1><\/$2>")},clone:function(n,t,u){var e,c,s,o,h,l=i.contains(n.ownerDocument,n);if(r.html5Clone||i.isXMLDoc(n)||!vu.test("<"+n.nodeName+">")?s=n.cloneNode(!0):(yi.innerHTML=n.outerHTML,yi.removeChild(s=yi.firstChild)),!(r.noCloneEvent&&r.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(e=f(s),h=f(n),o=0;null!=(c=h[o]);++o)e[o]&&so(c,e[o]);if(t)if(u)for(h=h||f(n),e=e||f(s),o=0;null!=(c=h[o]);o++)bu(c,e[o]);else bu(n,s);return e=f(s,"script"),e.length>0&&ci(e,!l&&f(n,"script")),e=h=c=null,s},cleanData:function(n,t){for(var u,e,f,o,l=0,s=i.expando,h=i.cache,a=r.attributes,v=i.event.special;null!=(u=n[l]);l++)if((t||ot(u))&&(f=u[s],o=f&&h[f])){if(o.events)for(e in o.events)v[e]?i.event.remove(u,e):i.removeEvent(u,e,o.handle);h[f]&&(delete h[f],a||"undefined"==typeof u.removeAttribute?u[s]=void 0:u.removeAttribute(s),c.push(f))}}});i.fn.extend({domManip:k,detach:function(n){return ku(this,n,!0)},remove:function(n){return ku(this,n)},text:function(n){return y(this,function(n){return void 0===n?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||u).createTextNode(n))},null,n,arguments.length)},append:function(){return k(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=yu(this,n);t.appendChild(n)}})},prepend:function(){return k(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=yu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return k(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return k(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++){for(1===n.nodeType&&i.cleanData(f(n,!1));n.firstChild;)n.removeChild(n.firstChild);n.options&&i.nodeName(n,"select")&&(n.options.length=0)}return this},clone:function(n,t){return n=null==n?!1:n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return y(this,function(n){var t=this[0]||{},u=0,e=this.length;if(void 0===n)return 1===t.nodeType?t.innerHTML.replace(to,""):void 0;if("string"==typeof n&&!ro.test(n)&&(r.htmlSerialize||!vu.test(n))&&(r.leadingWhitespace||!hi.test(n))&&!o[(uu.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;e>u;u++)t=this[u]||{},1===t.nodeType&&(i.cleanData(f(t,!1)),t.innerHTML=n);t=0}catch(s){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return k(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(f(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,r=0,f=[],e=i(n),o=e.length-1;o>=r;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ti.apply(f,u.get());return this.pushStack(f)}});pi={HTML:"block",BODY:"block"};var gu=/^margin/,pt=new RegExp("^("+ei+")(?!px)[a-z%]+$","i"),wi=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f},nf=u.documentElement;!function(){var f,h,c,e,l,a,s=u.createElement("div"),t=u.createElement("div");if(t.style){t.style.cssText="float:left;opacity:.5";r.opacity="0.5"===t.style.opacity;r.cssFloat=!!t.style.cssFloat;t.style.backgroundClip="content-box";t.cloneNode(!0).style.backgroundClip="";r.clearCloneStyle="content-box"===t.style.backgroundClip;s=u.createElement("div");s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute";t.innerHTML="";s.appendChild(t);r.boxSizing=""===t.style.boxSizing||""===t.style.MozBoxSizing||""===t.style.WebkitBoxSizing;i.extend(r,{reliableHiddenOffsets:function(){return null==f&&o(),e},boxSizingReliable:function(){return null==f&&o(),c},pixelMarginRight:function(){return null==f&&o(),h},pixelPosition:function(){return null==f&&o(),f},reliableMarginRight:function(){return null==f&&o(),l},reliableMarginLeft:function(){return null==f&&o(),a}});function o(){var i,r,o=u.documentElement;o.appendChild(s);t.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";f=c=a=!1;h=l=!0;n.getComputedStyle&&(r=n.getComputedStyle(t),f="1%"!==(r||{}).top,a="2px"===(r||{}).marginLeft,c="4px"===(r||{width:"4px"}).width,t.style.marginRight="50%",h="4px"===(r||{marginRight:"4px"}).marginRight,i=t.appendChild(u.createElement("div")),i.style.cssText=t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",t.style.width="1px",l=!parseFloat((n.getComputedStyle(i)||{}).marginRight),t.removeChild(i));t.style.display="none";e=0===t.getClientRects().length;e&&(t.style.display="",t.innerHTML="<table><tr><td><\/td><td>t<\/td><\/tr><\/table>",i=t.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",e=0===i[0].offsetHeight,e&&(i[0].style.display="",i[1].style.display="none",e=0===i[0].offsetHeight));o.removeChild(s)}}}();tf=/^(top|right|bottom|left)$/;n.getComputedStyle?(d=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},p=function(n,t,u){var o,s,h,f,e=n.style;return u=u||d(n),f=u?u.getPropertyValue(t)||u[t]:void 0,""!==f&&void 0!==f||i.contains(n.ownerDocument,n)||(f=i.style(n,t)),u&&!r.pixelMarginRight()&&pt.test(f)&&gu.test(t)&&(o=e.width,s=e.minWidth,h=e.maxWidth,e.minWidth=e.maxWidth=e.width=f,f=u.width,e.width=o,e.minWidth=s,e.maxWidth=h),void 0===f?f:f+""}):nf.currentStyle&&(d=function(n){return n.currentStyle},p=function(n,t,i){var o,f,e,r,u=n.style;return i=i||d(n),r=i?i[t]:void 0,null==r&&u&&u[t]&&(r=u[t]),pt.test(r)&&!tf.test(t)&&(o=u.left,f=n.runtimeStyle,e=f&&f.left,e&&(f.left=n.currentStyle.left),u.left="fontSize"===t?"1em":r,r=u.pixelLeft+"px",u.left=o,e&&(f.left=e)),void 0===r?r:r+""||"auto"});var ki=/alpha\([^)]*\)/i,ho=/opacity\s*=\s*([^)]*)/i,co=/^(none|table(?!-c[ea]).+)/,lo=new RegExp("^("+ei+")(.*)$","i"),ao={position:"absolute",visibility:"hidden",display:"block"},rf={letterSpacing:"0",fontWeight:"400"},uf=["Webkit","O","Moz","ms"],ff=u.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=p(n,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:r.cssFloat?"cssFloat":"styleFloat"},style:function(n,t,u,f){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var e,h,o,s=i.camelCase(t),c=n.style;if(t=i.cssProps[s]||(i.cssProps[s]=ef(s)||s),o=i.cssHooks[t]||i.cssHooks[s],void 0===u)return o&&"get"in o&&void 0!==(e=o.get(n,!1,f))?e:c[t];if(h=typeof u,"string"===h&&(e=oi.exec(u))&&e[1]&&(u=ru(n,t,e),h="number"),null!=u&&u===u&&("number"===h&&(u+=e&&e[3]||(i.cssNumber[s]?"":"px")),r.clearCloneStyle||""!==u||0!==t.indexOf("background")||(c[t]="inherit"),!(o&&"set"in o&&void 0===(u=o.set(n,u,f)))))try{c[t]=u}catch(l){}}},css:function(n,t,r,u){var s,f,o,e=i.camelCase(t);return t=i.cssProps[e]||(i.cssProps[e]=ef(e)||e),o=i.cssHooks[t]||i.cssHooks[e],o&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=p(n,t,u)),"normal"===f&&t in rf&&(f=rf[t]),""===r||r?(s=parseFloat(f),r===!0||isFinite(s)?s||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return co.test(i.css(n,"display"))&&0===n.offsetWidth?wi(n,ao,function(){return cf(n,t,u)}):cf(n,t,u)},set:function(n,u,f){var e=f&&d(n);return sf(n,u,f?hf(n,t,f,r.boxSizing&&"border-box"===i.css(n,"boxSizing",!1,e),e):0)}}});r.opacity||(i.cssHooks.opacity={get:function(n,t){return ho.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="+100*t+")":"",f=u&&u.filter||r.filter||"";r.zoom=1;(t>=1||""===t)&&""===i.trim(f.replace(ki,""))&&r.removeAttribute&&(r.removeAttribute("filter"),""===t||u&&!u.filter)||(r.filter=ki.test(f)?f.replace(ki,e):f+" "+e)}});i.cssHooks.marginRight=bi(r.reliableMarginRight,function(n,t){if(t)return wi(n,{display:"inline-block"},p,[n,"marginRight"])});i.cssHooks.marginLeft=bi(r.reliableMarginLeft,function(n,t){if(t)return(parseFloat(p(n,"marginLeft"))||(i.contains(n.ownerDocument,n)?n.getBoundingClientRect().left-wi(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}):0))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];4>r;r++)f[n+b[r]+t]=u[r]||u[r-2]||u[0];return f}};gu.test(n)||(i.cssHooks[n+t].set=sf)});i.fn.extend({css:function(n,t){return y(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=d(n),e=t.length;e>u;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)},show:function(){return of(this,!0)},hide:function(){return of(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){st(this)?i(this).show():i(this).hide()})}});i.Tween=e;e.prototype={constructor:e,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=e.propHooks[this.prop];return n&&n.get?n.get(this):e.propHooks._default.get(this)},run:function(n){var t,r=e.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):e.propHooks._default.set(this),this}};e.prototype.init.prototype=e.prototype;e.propHooks={_default:{get:function(n){var t;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),t&&"auto"!==t?t:0)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):1!==n.elem.nodeType||null==n.elem.style[i.cssProps[n.prop]]&&!i.cssHooks[n.prop]?n.elem[n.prop]=n.now:i.style(n.elem,n.prop,n.now+n.unit)}}};e.propHooks.scrollTop=e.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=e.prototype.init;i.fx.step={};lf=/^(?:toggle|show|hide)$/;af=/queueHooks$/;i.Animation=i.extend(h,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return ru(i.elem,n,oi.exec(t),i),i}]},tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.match(s);for(var r,u=0,f=n.length;f>u;u++)r=n[u],h.tweeners[r]=h.tweeners[r]||[],h.tweeners[r].unshift(t)},prefilters:[vo],prefilter:function(n,t){t?h.prefilters.unshift(n):h.prefilters.push(n)}});i.speed=function(n,t,r){var u=n&&"object"==typeof n?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:"number"==typeof u.duration?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,null!=u.queue&&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.fn.extend({fadeTo:function(n,t,i,r){return this.filter(st).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,r,u){var o=i.isEmptyObject(n),e=i.speed(t,r,u),f=function(){var t=h(this,i.extend({},n),e);(o||i._data(this,"finish"))&&t.stop(!0)};return f.finish=f,o||e.queue===!1?this.each(f):this.queue(e.queue,f)},stop:function(n,t,r){var u=function(n){var t=n.stop;delete n.stop;t(r)};return"string"!=typeof n&&(r=t,t=n,n=void 0),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var o=!0,t=null!=n&&n+"queueHooks",e=i.timers,f=i._data(this);if(t)f[t]&&f[t].stop&&u(f[t]);else for(t in f)f[t]&&f[t].stop&&af.test(t)&&u(f[t]);for(t=e.length;t--;)e[t].elem!==this||null!=n&&e[t].queue!==n||(e[t].anim.stop(r),o=!1,e.splice(t,1));!o&&r||i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,f=i._data(this),r=f[n+"queue"],e=f[n+"queueHooks"],u=i.timers,o=r?r.length:0;for(f.finish=!0,i.queue(this,n,[]),e&&e.stop&&e.stop.call(this,!0),t=u.length;t--;)u[t].elem===this&&u[t].queue===n&&(u[t].anim.stop(!0),u.splice(t,1));for(t=0;o>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete f.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(bt(t,!0),n,i,u)}});i.each({slideDown:bt("show"),slideUp:bt("hide"),slideToggle:bt("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.timers=[];i.fx.tick=function(){var r,n=i.timers,t=0;for(ut=i.now();t<n.length;t++)r=n[t],r()||n[t]!==r||n.splice(t--,1);n.length||i.fx.stop();ut=void 0};i.fx.timer=function(n){i.timers.push(n);n()?i.fx.start():i.timers.pop()};i.fx.interval=13;i.fx.start=function(){wt||(wt=n.setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){n.clearInterval(wt);wt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var i,n=u.createElement("input"),t=u.createElement("div"),f=u.createElement("select"),e=f.appendChild(u.createElement("option"));t=u.createElement("div");t.setAttribute("className","t");t.innerHTML="  <link/><table><\/table><a href='/a'>a<\/a><input type='checkbox'/>";i=t.getElementsByTagName("a")[0];n.setAttribute("type","checkbox");t.appendChild(n);i=t.getElementsByTagName("a")[0];i.style.cssText="top:1px";r.getSetAttribute="t"!==t.className;r.style=/top/.test(i.getAttribute("style"));r.hrefNormalized="/a"===i.getAttribute("href");r.checkOn=!!n.value;r.optSelected=e.selected;r.enctype=!!u.createElement("form").enctype;f.disabled=!0;r.optDisabled=!e.disabled;n=u.createElement("input");n.setAttribute("value","");r.input=""===n.getAttribute("value");n.value="t";n.setAttribute("type","radio");r.radioValue="t"===n.value}();pf=/\r/g;wf=/[\x20\t\r\n\f]+/g;i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;1===this.nodeType&&(u=f?n.call(this,r,i(this).val()):n,null==u?u="":"number"==typeof u?u+="":i.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,u,"value")||(this.value=u))})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(r=t.get(u,"value"))?r:(r=u.value,"string"==typeof r?r.replace(pf,""):null==r?"":r)):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:i.trim(i.text(n)).replace(wf," ")}},select:{get:function(n){for(var o,t,s=n.options,u=n.selectedIndex,f="select-one"===n.type||0>u,h=f?null:[],c=f?u+1:s.length,e=0>u?c:f?u:0;c>e;e++)if(t=s[e],(t.selected||e===u)&&(r.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),f)return o;h.push(o)}return h},set:function(n,t){for(var f,r,u=n.options,o=i.makeArray(t),e=u.length;e--;)if(r=u[e],i.inArray(i.valHooks.option.get(r),o)>-1)try{r.selected=f=!0}catch(s){r.scrollHeight}else r.selected=!1;return f||(n.selectedIndex=-1),u}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};r.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});var ft,bf,l=i.expr.attrHandle,di=/^(?:checked|selected)$/i,g=r.getSetAttribute,kt=r.input;i.fn.extend({attr:function(n,t){return y(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return"undefined"==typeof n.getAttribute?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(t=t.toLowerCase(),f=i.attrHooks[t]||(i.expr.match.bool.test(t)?bf:ft)),void 0!==r?null===r?void i.removeAttr(n,t):f&&"set"in f&&void 0!==(u=f.set(n,r,t))?u:(n.setAttribute(t,r+""),r):f&&"get"in f&&null!==(u=f.get(n,t))?u:(u=i.find.attr(n,t),null==u?void 0:u))},attrHooks:{type:{set:function(n,t){if(!r.radioValue&&"radio"===t&&i.nodeName(n,"input")){var u=n.value;return n.setAttribute("type",t),u&&(n.value=u),t}}}},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(s);if(f&&1===n.nodeType)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)?kt&&g||!di.test(r)?n[u]=!1:n[i.camelCase("default-"+r)]=n[u]=!1:i.attr(n,r,""),n.removeAttribute(g?r:u)}});bf={set:function(n,t,r){return t===!1?i.removeAttr(n,r):kt&&g||!di.test(r)?n.setAttribute(!g&&i.propFix[r]||r,r):n[i.camelCase("default-"+r)]=n[r]=!0,r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=l[t]||i.find.attr;l[t]=kt&&g||!di.test(t)?function(n,t,i){var u,f;return i||(f=l[t],l[t]=u,u=null!=r(n,t,i)?t.toLowerCase():null,l[t]=f),u}:function(n,t,r){if(!r)return n[i.camelCase("default-"+t)]?t.toLowerCase():null}});kt&&g||(i.attrHooks.value={set:function(n,t,r){return i.nodeName(n,"input")?void(n.defaultValue=t):ft&&ft.set(n,t,r)}});g||(ft={set:function(n,t,i){var r=n.getAttributeNode(i);return r||n.setAttributeNode(r=n.ownerDocument.createAttribute(i)),r.value=t+="","value"===i||t===n.getAttribute(i)?t:void 0}},l.id=l.name=l.coords=function(n,t,i){var r;if(!i)return(r=n.getAttributeNode(t))&&""!==r.value?r.value:null},i.valHooks.button={get:function(n,t){var i=n.getAttributeNode(t);if(i&&i.specified)return i.value},set:ft.set},i.attrHooks.contenteditable={set:function(n,t,i){ft.set(n,""===t?!1:t,i)}},i.each(["width","height"],function(n,t){i.attrHooks[t]={set:function(n,i){if(""===i)return(n.setAttribute(t,"auto"),i)}}}));r.style||(i.attrHooks.style={get:function(n){return n.style.cssText||void 0},set:function(n,t){return n.style.cssText=t+""}});kf=/^(?:input|select|textarea|button|object)$/i;df=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return y(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=void 0;delete this[n]}catch(t){}})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return 1===e&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):kf.test(n.nodeName)||df.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});r.hrefNormalized||i.each(["href","src"],function(n,t){i.propHooks[t]={get:function(n){return n.getAttribute(t,4)}}});r.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});r.enctype||(i.propFix.enctype="encoding");dt=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var o,t,r,u,f,h,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,nt(this)))});if("string"==typeof n&&n)for(o=n.match(s)||[];t=this[c++];)if(u=nt(t),r=1===t.nodeType&&(" "+u+" ").replace(dt," ")){for(h=0;f=o[h++];)r.indexOf(" "+f+" ")<0&&(r+=f+" ");e=i.trim(r);u!==e&&i.attr(t,"class",e)}return this},removeClass:function(n){var o,r,t,u,f,h,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,nt(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof n&&n)for(o=n.match(s)||[];r=this[c++];)if(u=nt(r),t=1===r.nodeType&&(" "+u+" ").replace(dt," ")){for(h=0;f=o[h++];)while(t.indexOf(" "+f+" ")>-1)t=t.replace(" "+f+" "," ");e=i.trim(t);u!==e&&i.attr(r,"class",e)}return this},toggleClass:function(n,t){var r=typeof n;return"boolean"==typeof t&&"string"===r?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,nt(this),t),t)}):this.each(function(){var t,f,u,e;if("string"===r)for(f=0,u=i(this),e=n.match(s)||[];t=e[f++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else void 0!==n&&"boolean"!==r||(t=nt(this),t&&i._data(this,"__className__",t),i.attr(this,"class",t||n===!1?"":i._data(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&(" "+nt(t)+" ").replace(dt," ").indexOf(i)>-1)return!0;return!1}});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 arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}});var po=n.location,gi=i.now(),nr=/\?/,wo=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;i.parseJSON=function(t){if(n.JSON&&n.JSON.parse)return n.JSON.parse(t+"");var f,r=null,u=i.trim(t+"");return u&&!i.trim(u.replace(wo,function(n,t,i,u){return f&&t&&(r=0),0===r?n:(f=i||t,r+=!u-!i,"")}))?Function("return "+u)():i.error("Invalid JSON: "+t)};i.parseXML=function(t){var r,u;if(!t||"string"!=typeof t)return null;try{n.DOMParser?(u=new n.DOMParser,r=u.parseFromString(t,"text/xml")):(r=new n.ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(t))}catch(f){r=void 0}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var bo=/#.*$/,gf=/([?&])_=[^&]*/,ko=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,go=/^(?:GET|HEAD)$/,ns=/^\/\//,ne=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,te={},tr={},ie="*/".concat("*"),ir=po.href,et=ne.exec(ir.toLowerCase())||[];i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ir,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(et[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ie,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?rr(rr(n,i.ajaxSettings),t):rr(i.ajaxSettings,n)},ajaxPrefilter:re(te),ajaxTransport:re(tr),ajax:function(t,r){function w(t,r,s,c){var y,rt,it,w,tt,l=r;2!==o&&(o=2,k&&n.clearTimeout(k),v=void 0,b=c||"",f.readyState=t>0?4:0,y=t>=200&&300>t||304===t,s&&(w=ts(u,f,s)),w=is(u,w,f,y),y?(u.ifModified&&(tt=f.getResponseHeader("Last-Modified"),tt&&(i.lastModified[e]=tt),tt=f.getResponseHeader("etag"),tt&&(i.etag[e]=tt)),204===t||"HEAD"===u.type?l="nocontent":304===t?l="notmodified":(l=w.state,rt=w.data,it=w.error,y=!it)):(it=l,!t&&l||(l="error",0>t&&(t=0))),f.status=t,f.statusText=(r||l)+"",y?g.resolveWith(h,[rt,l,f]):g.rejectWith(h,[f,l,it]),f.statusCode(p),p=void 0,a&&d.trigger(y?"ajaxSuccess":"ajaxError",[f,u,y?rt:it]),nt.fireWith(h,[f,l]),a&&(d.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var c,l,e,b,k,a,v,y,u=i.ajaxSetup({},r),h=u.context||u,d=u.context&&(h.nodeType||h.jquery)?i(h):i.event,g=i.Deferred(),nt=i.Callbacks("once memory"),p=u.statusCode||{},tt={},it={},o=0,rt="canceled",f={readyState:0,getResponseHeader:function(n){var t;if(2===o){if(!y)for(y={};t=ko.exec(b);)y[t[1].toLowerCase()]=t[2];t=y[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===o?b:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return o||(n=it[i]=it[i]||n,tt[n]=t),this},overrideMimeType:function(n){return o||(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(2>o)for(t in n)p[t]=[p[t],n[t]];else f.always(n[f.status]);return this},abort:function(n){var t=n||rt;return v&&v.abort(t),w(0,t),this}};if(g.promise(f).complete=nt.add,f.success=f.done,f.error=f.fail,u.url=((t||u.url||ir)+"").replace(bo,"").replace(ns,et[1]+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=i.trim(u.dataType||"*").toLowerCase().match(s)||[""],null==u.crossDomain&&(c=ne.exec(u.url.toLowerCase()),u.crossDomain=!(!c||c[1]===et[1]&&c[2]===et[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(et[3]||("http:"===et[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=i.param(u.data,u.traditional)),ue(te,u,r,f),2===o)return f;a=i.event&&u.global;a&&0==i.active++&&i.event.trigger("ajaxStart");u.type=u.type.toUpperCase();u.hasContent=!go.test(u.type);e=u.url;u.hasContent||(u.data&&(e=u.url+=(nr.test(e)?"&":"?")+u.data,delete u.data),u.cache===!1&&(u.url=gf.test(e)?e.replace(gf,"$1_="+gi++):e+(nr.test(e)?"&":"?")+"_="+gi++));u.ifModified&&(i.lastModified[e]&&f.setRequestHeader("If-Modified-Since",i.lastModified[e]),i.etag[e]&&f.setRequestHeader("If-None-Match",i.etag[e]));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType);f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+ie+"; q=0.01":""):u.accepts["*"]);for(l in u.headers)f.setRequestHeader(l,u.headers[l]);if(u.beforeSend&&(u.beforeSend.call(h,f,u)===!1||2===o))return f.abort();rt="abort";for(l in{success:1,error:1,complete:1})f[l](u[l]);if(v=ue(tr,u,r,f)){if(f.readyState=1,a&&d.trigger("ajaxSend",[f,u]),2===o)return f;u.async&&u.timeout>0&&(k=n.setTimeout(function(){f.abort("timeout")},u.timeout));try{o=1;v.send(tt,w)}catch(ut){if(!(2>o))throw ut;w(-1,ut)}}else w(-1,"No Transport");return f},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,t,"script")}});i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:f,data:r,success:u},i.isPlainObject(n)&&n))}});i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})};i.fn.extend({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&&1===n.firstChild.nodeType;)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()}});i.expr.filters.hidden=function(n){return r.reliableHiddenOffsets()?n.offsetWidth<=0&&n.offsetHeight<=0&&!n.getClientRects().length:us(n)};i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)};var fs=/%20/g,es=/\[\]$/,fe=/\r?\n/g,os=/^(?:submit|button|image|reset|file)$/i,ss=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,u=[],f=function(n,t){t=i.isFunction(t)?t():null==t?"":t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(void 0===t&&(t=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)ur(r,n[r],t,f);return u.join("&").replace(fs,"+")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&ss.test(this.nodeName)&&!os.test(n)&&(this.checked||!si.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(fe,"\r\n")}}):{name:t.name,value:r.replace(fe,"\r\n")}}).get()}});i.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return this.isLocal?ee():u.documentMode>8?fr():/^(get|post|head|put|delete|options)$/i.test(this.type)&&fr()||ee()}:fr;var hs=0,gt={},ct=i.ajaxSettings.xhr();return n.attachEvent&&n.attachEvent("onunload",function(){for(var n in gt)gt[n](void 0,!0)}),r.cors=!!ct&&"withCredentials"in ct,ct=r.ajax=!!ct,ct&&i.ajaxTransport(function(t){if(!t.crossDomain||r.cors){var u;return{send:function(r,f){var o,e=t.xhr(),s=++hs;if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&e.setRequestHeader(o,r[o]+"");e.send(t.hasContent&&t.data||null);u=function(n,r){var o,c,h;if(u&&(r||4===e.readyState))if(delete gt[s],u=void 0,e.onreadystatechange=i.noop,r)4!==e.readyState&&e.abort();else{h={};o=e.status;"string"==typeof e.responseText&&(h.text=e.responseText);try{c=e.statusText}catch(l){c=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=h.text?200:404}h&&f(o,c,h,e.getAllResponseHeaders())};t.async?4===e.readyState?n.setTimeout(u):e.onreadystatechange=gt[s]=u:u()},abort:function(){u&&u(void 0,!0)}}}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(n.cache=!1);n.crossDomain&&(n.type="GET",n.global=!1)}),i.ajaxTransport("script",function(n){if(n.crossDomain){var t,r=u.head||i("head")[0]||u.documentElement;return{send:function(i,f){t=u.createElement("script");t.async=!0;n.scriptCharset&&(t.charset=n.scriptCharset);t.src=n.url;t.onload=t.onreadystatechange=function(n,i){(i||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,i||f(200,"success"))};r.insertBefore(t,r.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}}),er=[],ni=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=er.pop()||i.expando+"_"+gi++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,e,o,s=t.jsonp!==!1&&(ni.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ni.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return(f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ni,"$1"+f):t.jsonp!==!1&&(t.url+=(nr.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json",e=n[f],n[f]=function(){o=arguments},u.always(function(){void 0===e?i(n).removeProp(f):n[f]=e;t[f]&&(t.jsonpCallback=r.jsonpCallback,er.push(f));o&&i.isFunction(e)&&e(o[0]);o=e=void 0}),"script")}),i.parseHTML=function(n,t,r){if(!n||"string"!=typeof n)return null;"boolean"==typeof t&&(r=t,t=!1);t=t||u;var f=vr.exec(n),e=!r&&[];return f?[t.createElement(f[1])]:(f=hu([n],t,e),e&&e.length&&i(e).remove(),i.merge([],f.childNodes))},or=i.fn.load,i.fn.load=function(n,t,r){if("string"!=typeof n&&or)return or.apply(this,arguments);var u,o,s,f=this,e=n.indexOf(" ");return e>-1&&(u=i.trim(n.slice(e,n.length)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),f.length>0&&i.ajax({url:n,type:o||"GET",dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).always(r&&function(n,t){f.each(function(){r.apply(this,s||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};"static"===l&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=("absolute"===l||"fixed"===l)&&i.inArray("auto",[s,c])>-1;v?(e=a.position(),h=e.top,o=e.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);i.isFunction(t)&&(t=t.call(n,r,i.extend({},u)));null!=t.top&&(f.top=t.top-u.top+h);null!=t.left&&(f.left=t.left-u.left+o);"using"in t?t.using.call(n,f):a.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var t,f,u={top:0,left:0},r=this[0],e=r&&r.ownerDocument;if(e)return t=e.documentElement,i.contains(t,r)?("undefined"!=typeof r.getBoundingClientRect&&(u=r.getBoundingClientRect()),f=oe(e),{top:u.top+(f.pageYOffset||t.scrollTop)-(t.clientTop||0),left:u.left+(f.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):u},position:function(){if(this[0]){var n,r,t={top:0,left:0},u=this[0];return"fixed"===i.css(u,"position")?r=u.getBoundingClientRect():(n=this.offsetParent(),r=this.offset(),i.nodeName(n[0],"html")||(t=n.offset()),t.top+=i.css(n[0],"borderTopWidth",!0),t.left+=i.css(n[0],"borderLeftWidth",!0)),{top:r.top-t.top-i.css(u,"marginTop",!0),left:r.left-t.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&!i.nodeName(n,"html")&&"static"===i.css(n,"position");)n=n.offsetParent;return n||nf})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r=/Y/.test(t);i.fn[n]=function(u){return y(this,function(n,u,f){var e=oe(n);return void 0===f?e?t in e?e[t]:e.document.documentElement[u]:n[u]:void(e?e.scrollTo(r?i(e).scrollLeft():f,r?f:i(e).scrollTop()):n[u]=f)},n,u,arguments.length,null)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=bi(r.pixelPosition,function(n,r){if(r)return(r=p(n,t),pt.test(r)?i(n).position()[t]+"px":r)})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(u,f){var e=arguments.length&&(r||"boolean"!=typeof u),o=r||(u===!0||f===!0?"margin":"border");return y(this,function(t,r,u){var f;return i.isWindow(t)?t.document.documentElement["client"+n]:9===t.nodeType?(f=t.documentElement,Math.max(t.body["scroll"+n],f["scroll"+n],t.body["offset"+n],f["offset"+n],f["client"+n])):void 0===u?i.css(t,r,o):i.style(t,r,u,o)},t,e?u:void 0,e,null)}})}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)}}),i.fn.size=function(){return this.length},i.fn.andSelf=i.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),se=n.jQuery,he=n.$,i.noConflict=function(t){return n.$===i&&(n.$=he),t&&n.jQuery===i&&(n.jQuery=se),i},t||(n.jQuery=n.$=i),i}),!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n=n||self).Vue=t()}(this,function(){"use strict";function t(n){return null==n}function n(n){return null!=n}function u(n){return!0===n}function bi(n){return"string"==typeof n||"number"==typeof n||"symbol"==typeof n||"boolean"==typeof n}function h(n){return null!==n&&"object"==typeof n}function v(n){return"[object Object]"===tf.call(n)}function uh(n){var t=parseFloat(String(n));return t>=0&&Math.floor(t)===t&&isFinite(n)}function rf(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function uw(n){return null==n?"":Array.isArray(n)||v(n)&&n.toString===tf?JSON.stringify(n,null,2):String(n)}function ki(n){var t=parseFloat(n);return isNaN(t)?n:t}function e(n,t){for(var i=Object.create(null),u=n.split(","),r=0;r<u.length;r++)i[u[r]]=!0;return t?function(n){return i[n.toLowerCase()]}:function(n){return i[n]}}function rt(n,t){if(n.length){var i=n.indexOf(t);if(i>-1)return n.splice(i,1)}}function c(n,t){return ow.call(n,t)}function g(n){var t=Object.create(null);return function(i){return t[i]||(t[i]=n(i))}}function uf(n,t){t=t||0;for(var i=n.length-t,r=new Array(i);i--;)r[i]=n[i+t];return r}function i(n,t){for(var i in t)n[i]=t[i];return n}function fh(n){for(var r={},t=0;t<n.length;t++)n[t]&&i(r,n[t]);return r}function o(){}function gt(n,t){var i,r,u,f,e,o;if(n===t)return!0;if(i=h(n),r=h(t),!i||!r)return!i&&!r&&String(n)===String(t);try{return(u=Array.isArray(n),f=Array.isArray(t),u&&f)?n.length===t.length&&n.every(function(n,i){return gt(n,t[i])}):n instanceof Date&&t instanceof Date?n.getTime()===t.getTime():u||f?!1:(e=Object.keys(n),o=Object.keys(t),e.length===o.length&&e.every(function(i){return gt(n[i],t[i])}))}catch(n){return!1}}function oh(n,t){for(var i=0;i<n.length;i++)if(gt(n[i],t))return i;return-1}function lr(n){var t=!1;return function(){t||(t=!0,n.apply(this,arguments))}}function ei(n,t,i,r){Object.defineProperty(n,t,{value:i,enumerable:!!r,writable:!0,configurable:!0})}function hi(n){return"function"==typeof n&&/native code/.test(n.toString())}function yr(n){nr.push(n);p.target=n}function pr(){nr.pop();p.target=nr[nr.length-1]}function ci(n){return new a(void 0,void 0,void 0,String(n))}function cf(n){var t=new a(n.tag,n.data,n.children&&n.children.slice(),n.text,n.elm,n.context,n.componentOptions,n.asyncFactory);return t.ns=n.ns,t.isStatic=n.isStatic,t.key=n.key,t.isComment=n.isComment,t.fnContext=n.fnContext,t.fnOptions=n.fnOptions,t.fnScopeId=n.fnScopeId,t.asyncMeta=n.asyncMeta,t.isCloned=!0,t}function vt(n){wr=n}function ni(n,t){var i;if(h(n)&&!(n instanceof a))return c(n,"__ob__")&&n.__ob__ instanceof ir?i=n.__ob__:wr&&!si()&&(Array.isArray(n)||v(n))&&Object.isExtensible(n)&&!n._isVue&&(i=new ir(n)),t&&i&&i.vmCount++,i}function ti(n,t,i,r,u){var h=new p,e=Object.getOwnPropertyDescriptor(n,t),f,o,s;e&&!1===e.configurable||(f=e&&e.get,o=e&&e.set,f&&!o||2!==arguments.length||(i=n[t]),s=!u&&ni(i),Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:function(){var t=f?f.call(n):i;return p.target&&(h.depend(),s&&(s.dep.depend(),Array.isArray(t)&&function n(t){for(var i=void 0,r=0,u=t.length;r<u;r++)(i=t[r])&&i.__ob__&&i.__ob__.dep.depend(),Array.isArray(i)&&n(i)}(t))),t},set:function(t){var r=f?f.call(n):i;t===r||t!=t&&r!=r||f&&!o||(o?o.call(n,t):i=t,s=!u&&ni(t),h.notify())}}))}function af(n,t,i){if(Array.isArray(n)&&uh(t))return n.length=Math.max(n.length,t),n.splice(t,1,i),i;if(t in n&&!(t in Object.prototype))return n[t]=i,i;var r=n.__ob__;return n._isVue||r&&r.vmCount?i:r?(ti(r.value,t,i),r.dep.notify(),i):(n[t]=i,i)}function ph(n,t){if(Array.isArray(n)&&uh(t))n.splice(t,1);else{var i=n.__ob__;n._isVue||i&&i.vmCount||c(n,t)&&(delete n[t],i&&i.dep.notify())}}function vf(n,t){if(!t)return n;for(var i,u,r,e=gi?Reflect.ownKeys(t):Object.keys(t),f=0;f<e.length;f++)"__ob__"!==(i=e[f])&&(u=n[i],r=t[i],c(n,i)?u!==r&&v(u)&&v(r)&&vf(u,r):af(n,i,r));return n}function yf(n,t,i){return i?function(){var r="function"==typeof t?t.call(i,i):t,u="function"==typeof n?n.call(i,i):n;return r?vf(r,u):u}:t?n?function(){return vf("function"==typeof t?t.call(this,this):t,"function"==typeof n?n.call(this,this):n)}:t:n}function kw(n,t){var i=t?n?n.concat(t):Array.isArray(t)?t:[t]:n;return i?function(n){for(var i=[],t=0;t<n.length;t++)-1===i.indexOf(n[t])&&i.push(n[t]);return i}(i):i}function dw(n,t){var r=Object.create(n||null);return t?i(r,t):r}function ii(n,t,r){function s(i){var u=tt[i]||wh;e[i]=u(n[i],t[i],r,i)}var f,o,u,e;if("function"==typeof t&&(t=t.options),function(n){var t=n.props,u,i,r,f;if(t){if(r={},Array.isArray(t))for(u=t.length;u--;)"string"==typeof(i=t[u])&&(r[b(i)]={type:null});else if(v(t))for(f in t)i=t[f],r[b(f)]=v(i)?i:{type:i};n.props=r}}(t),function(n){var t=n.inject,e,r,u,f;if(t)if(e=n.inject={},Array.isArray(t))for(r=0;r<t.length;r++)e[t[r]]={from:t[r]};else if(v(t))for(u in t)f=t[u],e[u]=v(f)?i({from:u},f):{from:f}}(t),function(n){var t=n.directives,r,i;if(t)for(r in t)i=t[r],"function"==typeof i&&(t[r]={bind:i,update:i})}(t),!t._base&&(t.extends&&(n=ii(n,t.extends,r)),t.mixins))for(f=0,o=t.mixins.length;f<o;f++)n=ii(n,t.mixins[f],r);e={};for(u in n)s(u);for(u in t)c(n,u)||s(u);return e}function pf(n,t,i){var r,u,f;if("string"==typeof i)return(r=n[t],c(r,i))?r[i]:(u=b(i),c(r,u))?r[u]:(f=hw(u),c(r,f)?r[f]:r[i]||r[u]||r[f])}function wf(n,t,i,r){var f=t[n],h=!c(i,n),u=i[n],o=kh(Boolean,f.type),e,s;return o>-1&&(h&&!c(f,"default")?u=!1:(""===u||u===dt(n))&&(e=kh(String,f.type),(e<0||o<e)&&(u=!0))),void 0===u&&(u=function(n,t,i){if(c(t,"default")){var r=t.default;return n&&n.$options.propsData&&void 0===n.$options.propsData[i]&&void 0!==n._props[i]?n._props[i]:"function"==typeof r&&"Function"!==bf(t.type)?r.call(n):r}}(r,f,n),s=wr,vt(!0),ni(u),vt(s)),u}function bf(n){var t=n&&n.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function bh(n,t){return bf(n)===bf(t)}function kh(n,t){if(!Array.isArray(t))return bh(t,n)?0:-1;for(var i=0,r=t.length;i<r;i++)if(bh(t[i],n))return i;return-1}function ut(n,t,i){var r,u,f;yr();try{if(t)for(r=t;r=r.$parent;)if(u=r.$options.errorCaptured,u)for(f=0;f<u.length;f++)try{if(!1===u[f].call(r,n,t,i))return}catch(n){dh(n,r,"errorCaptured hook")}dh(n,t,i)}finally{pr()}}function br(n,t,i,r,u){var f;try{(f=i?n.apply(t,i):n.call(t))&&!f._isVue&&rf(f)&&!f._handled&&(f.catch(function(n){return ut(n,r,u+" (Promise/async)")}),f._handled=!0)}catch(n){ut(n,r,u)}return f}function dh(n,t,i){if(y.errorHandler)try{return y.errorHandler.call(null,n,t,i)}catch(t){t!==n&&gh(t,null,"config.errorHandler")}gh(n,t,i)}function gh(n){if(!l&&!ef||"undefined"==typeof console)throw n;console.error(n)}function dr(){var t,n;for(gf=!1,t=df.slice(0),df.length=0,n=0;n<t.length;n++)t[n]()}function ne(n,t){var i;if(df.push(function(){if(n)try{n.call(t)}catch(n){ut(n,t,"nextTick")}else i&&i(t)}),gf||(gf=!0,kr()),!n&&"undefined"!=typeof Promise)return new Promise(function(n){i=n})}function nu(n){!function n(t,i){var r,u,e=Array.isArray(t),f;if((e||h(t))&&!Object.isFrozen(t)&&!(t instanceof a)){if(t.__ob__){if(f=t.__ob__.dep.id,i.has(f))return;i.add(f)}if(e)for(r=t.length;r--;)n(t[r],i);else for(u=Object.keys(t),r=u.length;r--;)n(t[u[r]],i)}}(n,te);te.clear()}function re(n,t){function i(){var f=arguments,r=i.fns,u,n;if(!Array.isArray(r))return br(r,null,arguments,t,"v-on handler");for(u=r.slice(),n=0;n<u.length;n++)br(u[n],null,f,t,"v-on handler")}return i.fns=n,i}function ic(n,i,r,f,e,o){var s,h,l,c;for(s in n)h=n[s],l=i[s],c=ie(s),t(h)||(t(l)?(t(h.fns)&&(h=n[s]=re(h,o)),u(c.once)&&(h=n[s]=e(c.name,h,c.capture)),r(c.name,h,c.capture,c.passive,c.params)):h!==l&&(l.fns=h,n[s]=l));for(s in i)t(n[s])&&f((c=ie(s)).name,i[s],c.capture)}function yt(i,r,f){function s(){f.apply(this,arguments);rt(e.fns,s)}var e,o;i instanceof a&&(i=i.data.hook||(i.data.hook={}));o=i[r];t(o)?e=re([s]):n(o.fns)&&u(o.merged)?(e=o).fns.push(s):e=re([o,s]);e.merged=!0;i[r]=e}function rc(t,i,r,u,f){if(n(i)){if(c(i,r))return t[r]=i[r],f||delete i[r],!0;if(c(i,u))return t[r]=i[u],f||delete i[u],!0}return!1}function ue(i){return bi(i)?[ci(i)]:Array.isArray(i)?function i(r,f){for(var o=[],e,c,s,h=0;h<r.length;h++)t(e=r[h])||"boolean"==typeof e||(c=o.length-1,s=o[c],Array.isArray(e)?e.length>0&&(rr((e=i(e,(f||"")+"_"+h))[0])&&rr(s)&&(o[c]=ci(s.text+e[0].text),e.shift()),o.push.apply(o,e)):bi(e)?rr(s)?o[c]=ci(s.text+e):""!==e&&o.push(ci(e)):rr(e)&&rr(s)?o[c]=ci(s.text+e.text):(u(r._isVList)&&n(e.tag)&&t(e.key)&&n(f)&&(e.key="__vlist"+f+"_"+h+"__"),o.push(e)));return o}(i):void 0}function rr(t){return n(t)&&n(t.text)&&!1===t.isComment}function uc(n,t){var r,o,i,u;if(n){for(var f=Object.create(null),s=gi?Reflect.ownKeys(n):Object.keys(n),e=0;e<s.length;e++)if(r=s[e],"__ob__"!==r){for(o=n[r].from,i=t;i;){if(i._provided&&c(i._provided,o)){f[r]=i._provided[o];break}i=i.$parent}!i&&"default"in n[r]&&(u=n[r].default,f[r]="function"==typeof u?u.call(t):u)}return f}}function fe(n,t){var r,u,o,f,s;if(!n||!n.length)return{};for(var i={},e=0,h=n.length;e<h;e++)r=n[e],u=r.data,(u&&u.attrs&&u.attrs.slot&&delete u.attrs.slot,(r.context===t||r.fnContext===t)&&u&&null!=u.slot)?(o=u.slot,f=i[o]||(i[o]=[]),"template"===r.tag?f.push.apply(f,r.children||[]):f.push(r)):(i.default||(i.default=[])).push(r);for(s in i)i[s].every(nb)&&delete i[s];return i}function nb(n){return n.isComment&&!n.asyncFactory||" "===n.text}function tu(n,t,i){var r,e=Object.keys(t).length>0,o=n?!!n.$stable:!e,s=n&&n.$key,u,f;if(n){if(n._normalized)return n._normalized;if(o&&i&&i!==w&&s===i.$key&&!e&&!i.$hasNormal)return i;for(u in r={},n)n[u]&&"$"!==u[0]&&(r[u]=tb(t,u,n[u]))}else r={};for(f in t)f in r||(r[f]=ib(t,f));return n&&Object.isExtensible(n)&&(n._normalized=r),ei(r,"$stable",o),ei(r,"$key",s),ei(r,"$hasNormal",e),r}function tb(n,t,i){var r=function(){var n=arguments.length?i.apply(null,arguments):i({});if(!(n=n&&"object"==typeof n&&!Array.isArray(n)?[n]:ue(n))||0!==n.length&&(1!==n.length||!n[0].isComment))return n};return i.proxy&&Object.defineProperty(n,t,{get:r,enumerable:!0,configurable:!0}),r}function ib(n,t){return function(){return n[t]}}function rb(t,i){var u,r,f,e,s,c,o;if(Array.isArray(t)||"string"==typeof t)for(u=new Array(t.length),r=0,f=t.length;r<f;r++)u[r]=i(t[r],r);else if("number"==typeof t)for(u=new Array(t),r=0;r<t;r++)u[r]=i(r+1,r);else if(h(t))if(gi&&t[Symbol.iterator])for(u=[],c=t[Symbol.iterator](),o=c.next();!o.done;)u.push(i(o.value,u.length)),o=c.next();else for(e=Object.keys(t),u=new Array(e.length),r=0,f=e.length;r<f;r++)s=e[r],u[r]=i(t[s],s,r);return n(u)||(u=[]),u._isVList=!0,u}function ub(n,t,r,u){var f,o=this.$scopedSlots[n],e;return o?(r=r||{},u&&(r=i(i({},u),r)),f=o(r)||t):f=this.$slots[n]||t,e=r&&r.slot,e?this.$createElement("template",{slot:e},f):f}function fb(n){return pf(this.$options,"filters",n)||eh}function fc(n,t){return Array.isArray(n)?-1===n.indexOf(t):n!==t}function eb(n,t,i,r,u){var f=y.keyCodes[t]||i;return u&&r&&!y.keyCodes[t]?fc(u,r):f?fc(f,n):r?dt(r)!==t:void 0}function ob(n,t,i,r,u){var f,e,o;if(i&&h(i)){Array.isArray(i)&&(i=fh(i));e=function(e){var o,s,h;"class"===e||"style"===e||ew(e)?f=n:(o=n.attrs&&n.attrs.type,f=r||y.mustUseProp(t,o,e)?n.domProps||(n.domProps={}):n.attrs||(n.attrs={}));s=b(e);h=dt(e);s in f||h in f||(f[e]=i[e],u&&((n.on||(n.on={}))["update:"+e]=function(n){i[e]=n}))};for(o in i)e(o)}return n}function sb(n,t){var r=this._staticTrees||(this._staticTrees=[]),i=r[n];return i&&!t?i:(ec(i=r[n]=this.$options.staticRenderFns[n].call(this._renderProxy,null,this),"__static__"+n,!1),i)}function hb(n,t,i){return ec(n,"__once__"+t+(i?"_"+i:""),!0),n}function ec(n,t,i){if(Array.isArray(n))for(var r=0;r<n.length;r++)n[r]&&"string"!=typeof n[r]&&oc(n[r],t+"_"+r,i);else oc(n,t,i)}function oc(n,t,i){n.isStatic=!0;n.key=t;n.isOnce=i}function cb(n,t){var u,r,f,e;if(t&&v(t)){u=n.on=n.on?i({},n.on):{};for(r in t)f=u[r],e=t[r],u[r]=f?[].concat(f,e):e}return n}function sc(n,t,i,r){var f,u;for(t=t||{$stable:!i},f=0;f<n.length;f++)u=n[f],Array.isArray(u)?sc(u,t,i):u&&(u.proxy&&(u.fn.proxy=!0),t[u.key]=u.fn);return r&&(t.$key=r),t}function lb(n,t){for(var r,i=0;i<t.length;i+=2)r=t[i],"string"==typeof r&&r&&(n[t[i]]=t[i+1]);return n}function ab(n,t){return"string"==typeof n?t+n:n}function hc(n){n._o=hb;n._n=ki;n._s=uw;n._l=rb;n._t=ub;n._q=gt;n._i=oh;n._m=sb;n._f=fb;n._k=eb;n._b=ob;n._v=ci;n._e=at;n._u=sc;n._g=cb;n._d=lb;n._p=ab}function ee(n,t,i,r,f){var o,s=this,e=f.options,h,l;c(r,"_uid")?(o=Object.create(r))._original=r:(o=r,r=r._original);h=u(e._compiled);l=!h;this.data=n;this.props=t;this.children=i;this.parent=r;this.listeners=n.on||w;this.injections=uc(e.inject,r);this.slots=function(){return s.$slots||tu(n.scopedSlots,s.$slots=fe(i,r)),s.$slots};Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return tu(n.scopedSlots,this.slots())}});h&&(this.$options=e,this.$slots=this.slots(),this.$scopedSlots=tu(n.scopedSlots,this.$slots));this._c=e._scopeId?function(n,t,i,u){var f=ru(o,n,t,i,u,l);return f&&!Array.isArray(f)&&(f.fnScopeId=e._scopeId,f.fnContext=r),f}:function(n,t,i,r){return ru(o,n,t,i,r,l)}}function cc(n,t,i,r){var u=cf(n);return u.fnContext=i,u.fnOptions=r,t.slot&&((u.data||(u.data={})).slot=t.slot),u}function lc(n,t){for(var i in t)n[b(i)]=t[i]}function ac(i,r,f,e,o){var s,c,l,p,v,y;if(!t(i)&&(s=f.$options._base,h(i)&&(i=s.extend(i)),"function"==typeof i))return t(i.cid)&&void 0===(i=function(i,r){var e;if(u(i.error)&&n(i.errorComp))return i.errorComp;if(n(i.resolved))return i.resolved;if(e=uu,e&&n(i.owners)&&-1===i.owners.indexOf(e)&&i.owners.push(e),u(i.loading)&&n(i.loadingComp))return i.loadingComp;if(e&&!n(i.owners)){var o=i.owners=[e],y=!0,s=null,c=null;e.$on("hook:destroyed",function(){return rt(o,e)});var a=function(n){for(var t=0,i=o.length;t<i;t++)o[t].$forceUpdate();n&&(o.length=0,null!==s&&(clearTimeout(s),s=null),null!==c&&(clearTimeout(c),c=null))},v=lr(function(n){i.resolved=he(n,r);y?o.length=0:a(!0)}),l=lr(function(){n(i.errorComp)&&(i.error=!0,a(!0))}),f=i(v,l);return h(f)&&(rf(f)?t(i.resolved)&&f.then(v,l):rf(f.component)&&(f.component.then(v,l),n(f.error)&&(i.errorComp=he(f.error,r)),n(f.loading)&&(i.loadingComp=he(f.loading,r),0===f.delay?i.loading=!0:s=setTimeout(function(){s=null;t(i.resolved)&&t(i.error)&&(i.loading=!0,a(!1))},f.delay||200)),n(f.timeout)&&(c=setTimeout(function(){c=null;t(i.resolved)&&l(null)},f.timeout)))),y=!1,i.loading?i.loadingComp:i.resolved}}(c=i,s))?function(n,t,i,r,u){var f=at();return f.asyncFactory=n,f.asyncMeta={data:t,context:i,children:r,tag:u},f}(c,r,f,e,o):(r=r||{},be(i),n(r.model)&&function(t,i){var o=t.model&&t.model.prop||"value",f=t.model&&t.model.event||"input";(i.attrs||(i.attrs={}))[o]=i.model.value;var e=i.on||(i.on={}),r=e[f],u=i.model.callback;n(r)?(Array.isArray(r)?-1===r.indexOf(u):r!==u)&&(e[f]=[u].concat(r)):e[f]=u}(i.options,r),l=function(i,r){var o=r.options.props,u,e;if(!t(o)){var f={},s=i.attrs,h=i.props;if(n(s)||n(h))for(u in o)e=dt(u),rc(f,h,u,e,!0)||rc(f,s,u,e,!1);return f}}(r,i),u(i.options.functional))?function(t,i,r,u,f){var s=t.options,h={},l=s.props,v,e,o;if(n(l))for(v in l)h[v]=wf(v,l,i||w);else n(r.attrs)&&lc(h,r.attrs),n(r.props)&&lc(h,r.props);if(e=new ee(r,h,f,u,t),o=s.render.call(null,e._c,e),o instanceof a)return cc(o,r,e.parent,s);if(Array.isArray(o)){for(var y=ue(o)||[],p=new Array(y.length),c=0;c<y.length;c++)p[c]=cc(y[c],r,e.parent,s);return p}}(i,l,r,f,e):(p=r.on,(r.on=r.nativeOn,u(i.options.abstract))&&(v=r.slot,r={},v&&(r.slot=v)),!function(n){for(var r=n.hook||(n.hook={}),i=0;i<oe.length;i++){var u=oe[i],t=r[u],f=iu[u];t===f||t&&t._merged||(r[u]=t?vb(f,t):f)}}(r),y=i.options.name||o,new a("vue-component-"+i.cid+(y?"-"+y:""),r,void 0,void 0,void 0,f,{Ctor:i,propsData:l,listeners:p,tag:o,children:e},c))}function vb(n,t){var i=function(i,r){n(i,r);t(i,r)};return i._merged=!0,i}function ru(i,r,f,e,o,s){return(Array.isArray(f)||bi(f))&&(o=e,e=f,f=void 0),u(s)&&(o=se),function(i,r,f,e,o){var s,c,l;return n(f)&&n(f.__ob__)?at():(n(f)&&n(f.is)&&(r=f.is),!r)?at():(Array.isArray(e)&&"function"==typeof e[0]&&((f=f||{}).scopedSlots={"default":e[0]},e.length=0),o===se?e=ue(e):o===vc&&(e=function(n){for(var t=0;t<n.length;t++)if(Array.isArray(n[t]))return Array.prototype.concat.apply([],n);return n}(e)),"string"==typeof r?(c=i.$vnode&&i.$vnode.ns||y.getTagNamespace(r),s=y.isReservedTag(r)?new a(y.parsePlatformTagName(r),f,e,void 0,void 0,i):f&&f.pre||!n(l=pf(i.$options,"components",r))?new a(r,f,e,void 0,void 0,i):ac(l,f,i,e,r)):s=ac(r,f,i,e),Array.isArray(s)?s:n(s)?(n(c)&&function i(r,f,e){var s,h,o;if(r.ns=f,"foreignObject"===r.tag&&(f=void 0,e=!0),n(r.children))for(s=0,h=r.children.length;s<h;s++)o=r.children[s],n(o.tag)&&(t(o.ns)||u(e)&&"svg"!==o.tag)&&i(o,f,e)}(s,c),n(f)&&function(n){h(n.style)&&nu(n.style);h(n.class)&&nu(n.class)}(f),s):at())}(i,r,f,e,o)}function he(n,t){return(n.__esModule||gi&&"Module"===n[Symbol.toStringTag])&&(n=n.default),h(n)?t.extend(n):n}function fu(n){return n.isComment&&n.asyncFactory}function yc(t){var r,i;if(Array.isArray(t))for(r=0;r<t.length;r++)if(i=t[r],n(i)&&(n(i.componentOptions)||fu(i)))return i}function yb(n,t){ur.$on(n,t)}function pb(n,t){ur.$off(n,t)}function wb(n,t){var i=ur;return function r(){null!==t.apply(null,arguments)&&i.$off(n,r)}}function pc(n,t,i){ur=n;ic(t,i||{},yb,pb,wb,n);ur=void 0}function wc(n){var t=pt;return pt=n,function(){pt=t}}function bc(n){for(;n&&(n=n.$parent);)if(n._inactive)return!0;return!1}function ce(n,t){if(t){if(n._directInactive=!1,bc(n))return}else if(n._directInactive)return;if(n._inactive||null===n._inactive){n._inactive=!1;for(var i=0;i<n.$children.length;i++)ce(n.$children[i]);it(n,"activated")}}function it(n,t){var i,u,r,f;if(yr(),i=n.$options[t],u=t+" hook",i)for(r=0,f=i.length;r<f;r++)br(i[r],n,null,n,u);n._hasHookEvent&&n.$emit("hook:"+t);pr()}function bb(){var n,t,i,r;for(kc=ye(),ve=!0,ft.sort(function(n,t){return n.id-t.id}),li=0;li<ft.length;li++)(n=ft[li]).before&&n.before(),t=n.id,eu[t]=null,n.run();i=le.slice();r=ft.slice();li=ft.length=le.length=0;eu={};ae=ve=!1,function(n){for(var t=0;t<n.length;t++)n[t]._inactive=!0,ce(n[t],!0)}(i),function(n){for(var r=n.length,i,t;r--;)i=n[r],t=i.vm,t._watcher===i&&t._isMounted&&!t._isDestroyed&&it(t,"updated")}(r);di&&y.devtools&&di.emit("flush")}function pe(n,t,i){et.get=function(){return this[t][i]};et.set=function(n){this[t][i]=n};Object.defineProperty(n,i,et)}function kb(n){n._watchers=[];var t=n.$options;t.props&&function(n,t){var u=n.$options.propsData||{},f=n._props={},e=n.$options._propKeys=[],i,r;n.$parent&&vt(!1);i=function(i){e.push(i);var r=wf(i,t,u,n);ti(f,i,r);i in n||pe(n,"_props",i)};for(r in t)i(r);vt(!0)}(n,t.props);t.methods&&function(n,t){n.$options.props;for(var i in t)n[i]="function"!=typeof t[i]?o:lw(t[i],n)}(n,t.methods);t.data?function(n){var t=n.$options.data,i,r;v(t=n._data="function"==typeof t?function(n,t){yr();try{return n.call(t,t)}catch(n){return ut(n,t,"data()"),{}}finally{pr()}}(t,n):t||{})||(t={});for(var u=Object.keys(t),f=n.$options.props,e=(n.$options.methods,u.length);e--;)i=u[e],f&&c(f,i)||(r=void 0,36!==(r=(i+"").charCodeAt(0))&&95!==r&&pe(n,"_data",i));ni(t,!0)}(n):ni(n._data={},!0);t.computed&&function(n,t){var f=n._computedWatchers=Object.create(null),e=si(),i,r,u;for(i in t)r=t[i],u="function"==typeof r?r:r.get,e||(f[i]=new k(n,u||o,o,gc)),i in n||nl(n,i,r)}(n,t.computed);t.watch&&t.watch!==of&&function(n,t){var r,i,u;for(r in t)if(i=t[r],Array.isArray(i))for(u=0;u<i.length;u++)we(n,r,i[u]);else we(n,r,i)}(n,t.watch)}function nl(n,t,i){var r=!si();"function"==typeof i?(et.get=r?tl(t):il(i),et.set=o):(et.get=i.get?r&&!1!==i.cache?tl(t):il(i.get):o,et.set=i.set||o);Object.defineProperty(n,t,et)}function tl(n){return function(){var t=this._computedWatchers&&this._computedWatchers[n];if(t)return t.dirty&&t.evaluate(),p.target&&t.depend(),t.value}}function il(n){return function(){return n.call(this,this)}}function we(n,t,i,r){return v(i)&&(r=i,i=i.handler),"string"==typeof i&&(i=n[i]),n.$watch(t,i,r)}function be(n){var t=n.options,r,u;return n.super&&(r=be(n.super),r!==n.superOptions&&(n.superOptions=r,u=function(n){var t,r=n.options,u=n.sealedOptions;for(var i in r)r[i]!==u[i]&&(t||(t={}),t[i]=r[i]);return t}(n),u&&i(n.extendOptions,u),(t=n.options=ii(r,n.extendOptions)).name&&(t.components[t.name]=n))),t}function r(n){this._init(n)}function db(n){n.cid=0;var t=1;n.extend=function(n){var o,r;n=n||{};var u=this,f=u.cid,e=n._Ctor||(n._Ctor={});return e[f]?e[f]:(o=n.name||u.options.name,r=function(n){this._init(n)},(r.prototype=Object.create(u.prototype)).constructor=r,r.cid=t++,r.options=ii(u.options,n),r.super=u,r.options.props&&function(n){var t=n.options.props;for(var i in t)pe(n.prototype,"_props",i)}(r),r.options.computed&&function(n){var t=n.options.computed;for(var i in t)nl(n.prototype,i,t[i])}(r),r.extend=u.extend,r.mixin=u.mixin,r.use=u.use,ar.forEach(function(n){r[n]=u[n]}),o&&(r.options.components[o]=r),r.superOptions=u.options,r.extendOptions=n,r.sealedOptions=i({},r.options),e[f]=r,r)}}function ul(n){return n&&(n.Ctor.options.name||n.tag)}function su(n,t){return Array.isArray(n)?n.indexOf(t)>-1:"string"==typeof n?n.split(",").indexOf(t)>-1:(i=n,"[object RegExp]"===tf.call(i)&&n.test(t));var i}function fl(n,t){var i=n.cache,e=n.keys,o=n._vnode,r,u,f;for(r in i)u=i[r],u&&(f=ul(u.componentOptions),f&&!t(f)&&ke(i,r,e,o))}function ke(n,t,i,r){var u=n[t];!u||r&&u.tag===r.tag||u.componentInstance.$destroy();n[t]=null;rt(i,t)}function uk(t){for(var i=t.data,r=t,u=t;n(u.componentInstance);)(u=u.componentInstance._vnode)&&u.data&&(i=cl(u.data,i));for(;n(r=r.parent);)r&&r.data&&(i=cl(i,r.data));return function(t,i){return n(t)||n(i)?to(t,io(i)):""}(i.staticClass,i.class)}function cl(t,i){return{staticClass:to(t.staticClass,i.staticClass),"class":n(t.class)?[t.class,i.class]:i.class}}function to(n,t){return n?t?n+" "+t:n:t||""}function io(t){return Array.isArray(t)?function(t){for(var r,i="",u=0,f=t.length;u<f;u++)n(r=io(t[u]))&&""!==r&&(i&&(i+=" "),i+=r);return i}(t):h(t)?function(n){var t="";for(var i in n)n[i]&&(t&&(t+=" "),t+=i);return t}(t):"string"==typeof t?t:""}function ll(n){return ro(n)?"svg":"math"===n?"math":void 0}function fo(n){if("string"==typeof n){var t=document.querySelector(n);return t||document.createElement("div")}return n}function ai(t,i){var r=t.data.ref;if(n(r)){var e=t.context,f=t.componentInstance||t.elm,u=e.$refs;i?Array.isArray(u[r])?rt(u[r],f):u[r]===f&&(u[r]=void 0):t.data.refInFor?Array.isArray(u[r])?u[r].indexOf(f)<0&&u[r].push(f):u[r]=[f]:u[r]=f}}function ri(i,r){return i.key===r.key&&(i.tag===r.tag&&i.isComment===r.isComment&&n(i.data)===n(r.data)&&function(t,i){if("input"!==t.tag)return!0;var r,u=n(r=t.data)&&n(r=r.attrs)&&r.type,f=n(r=i.data)&&n(r=r.attrs)&&r.type;return u===f||cu(u)&&cu(f)}(i,r)||u(i.isAsyncPlaceholder)&&i.asyncFactory===r.asyncFactory&&t(r.asyncFactory.error))}function ok(t,i,r){for(var f,e={},u=i;u<=r;++u)n(f=t[u].key)&&(e[f]=u);return e}function eo(n,t){(n.data.directives||t.data.directives)&&function(n,t){var r,u,i,c=n===wt,l=t===wt,o=wl(n.data.directives,n.context),s=wl(t.data.directives,t.context),f=[],e=[],h;for(r in s)u=o[r],i=s[r],u?(i.oldValue=u.value,i.oldArg=u.arg,er(i,"update",t,n),i.def&&i.def.componentUpdated&&e.push(i)):(er(i,"bind",t,n),i.def&&i.def.inserted&&f.push(i));if(f.length&&(h=function(){for(var i=0;i<f.length;i++)er(f[i],"inserted",t,n)},c?yt(t,"insert",h):h()),e.length&&yt(t,"postpatch",function(){for(var i=0;i<e.length;i++)er(e[i],"componentUpdated",t,n)}),!c)for(r in o)s[r]||er(o[r],"unbind",n,n,l)}(n,t)}function wl(n,t){var r,i,u=Object.create(null);if(!n)return u;for(r=0;r<n.length;r++)(i=n[r]).modifiers||(i.modifiers=pl),u[sk(i)]=i,i.def=pf(t.$options,"directives",i.name);return u}function sk(n){return n.rawName||n.name+"."+Object.keys(n.modifiers||{}).join(".")}function er(n,t,i,r,u){var f=n.def&&n.def[t];if(f)try{f(i.elm,n,i,r,u)}catch(r){ut(r,i.context,"directive "+n.name+" "+t+" hook")}}function kl(r,u){var c=u.componentOptions;if(!(n(c)&&!1===c.Ctor.options.inheritAttrs||t(r.data.attrs)&&t(u.data.attrs))){var f,s,o=u.elm,h=r.data.attrs||{},e=u.data.attrs||{};for(f in n(e.__ob__)&&(e=u.data.attrs=i({},e)),e)s=e[f],h[f]!==s&&dl(o,f,s);for(f in(lt||lh)&&e.value!==h.value&&dl(o,"value",e.value),h)t(e[f])&&(no(f)?o.removeAttributeNS(ge,hl(f)):sl(f)||o.removeAttribute(f))}}function dl(n,t,i){n.tagName.indexOf("-")>-1?gl(n,t,i):rk(t)?hu(i)?n.removeAttribute(t):(i="allowfullscreen"===t&&"EMBED"===n.tagName?"true":t,n.setAttribute(t,i)):sl(t)?n.setAttribute(t,ik(t,i)):no(t)?hu(i)?n.removeAttributeNS(ge,hl(t)):n.setAttributeNS(ge,t,i):gl(n,t,i)}function gl(n,t,i){if(hu(i))n.removeAttribute(t);else{if(lt&&!oi&&"TEXTAREA"===n.tagName&&"placeholder"===t&&""!==i&&!n.__ieph){var r=function(t){t.stopImmediatePropagation();n.removeEventListener("input",r)};n.addEventListener("input",r);n.__ieph=!0}n.setAttribute(t,i)}}function ta(i,r){var f=r.elm,s=r.data,e=i.data,u,o;t(s.staticClass)&&t(s.class)&&(t(e)||t(e.staticClass)&&t(e.class))||(u=uk(r),o=f._transitionClasses,n(o)&&(u=to(u,io(o))),u!==f._prevClass&&(f.setAttribute("class",u),f._prevClass=u))}function ho(n){function w(){(f||(f=[])).push(n.slice(e,t).trim());e=t+1}for(var i,u,r,f,h=!1,c=!1,l=!1,a=!1,v=0,y=0,p=0,e=0,o,s,t=0;t<n.length;t++)if(u=i,i=n.charCodeAt(t),h)39===i&&92!==u&&(h=!1);else if(c)34===i&&92!==u&&(c=!1);else if(l)96===i&&92!==u&&(l=!1);else if(a)47===i&&92!==u&&(a=!1);else if(124!==i||124===n.charCodeAt(t+1)||124===n.charCodeAt(t-1)||v||y||p){switch(i){case 34:c=!0;break;case 39:h=!0;break;case 96:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:y++;break;case 93:y--;break;case 123:v++;break;case 125:v--}if(47===i){for(o=t-1,s=void 0;o>=0&&" "===(s=n.charAt(o));o--);s&&ua.test(s)||(a=!0)}}else void 0===r?(e=t+1,r=n.slice(0,t).trim()):w();if(void 0===r?r=n.slice(0,t).trim():0!==e&&w(),f)for(t=0;t<f.length;t++)r=hk(r,f[t]);return r}function hk(n,t){var r=t.indexOf("("),u,i;return r<0?'_f("'+t+'")('+n+")":(u=t.slice(0,r),i=t.slice(r+1),'_f("'+u+'")('+n+(")"!==i?","+i:i))}function fa(n){console.error("[Vue compiler]: "+n)}function or(n,t){return n?n.map(function(n){return n[t]}).filter(function(n){return n}):[]}function ui(n,t,i,r,u){(n.props||(n.props=[])).push(sr({name:t,value:i,dynamic:u},r));n.plain=!1}function co(n,t,i,r,u){(u?n.dynamicAttrs||(n.dynamicAttrs=[]):n.attrs||(n.attrs=[])).push(sr({name:t,value:i,dynamic:u},r));n.plain=!1}function lo(n,t,i,r){n.attrsMap[t]=i;n.attrsList.push(sr({name:t,value:i},r))}function ck(n,t,i,r,u,f,e,o){(n.directives||(n.directives=[])).push(sr({name:t,rawName:i,value:r,arg:u,isDynamicArg:f,modifiers:e},o));n.plain=!1}function ao(n,t,i){return i?"_p("+t+',"'+n+'")':n+t}function ot(n,t,i,r,u,f,e,o){var c,s,h;(r=r||w).right?o?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete r.right):r.middle&&(o?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup"));r.capture&&(delete r.capture,t=ao("!",t,o));r.once&&(delete r.once,t=ao("~",t,o));r.passive&&(delete r.passive,t=ao("&",t,o));r.native?(delete r.native,c=n.nativeEvents||(n.nativeEvents={})):c=n.events||(n.events={});s=sr({value:i.trim(),dynamic:o},e);r!==w&&(s.modifiers=r);h=c[t];Array.isArray(h)?u?h.unshift(s):h.push(s):c[t]=h?u?[s,h]:[h,s]:s;n.plain=!1}function d(n,t,i){var u=f(n,":"+t)||f(n,"v-bind:"+t),r;return null!=u?ho(u):!1!==i&&(r=f(n,t),null!=r)?JSON.stringify(r):void 0}function f(n,t,i){var f;if(null!=(f=n.attrsMap[t]))for(var u=n.attrsList,r=0,e=u.length;r<e;r++)if(u[r].name===t){u.splice(r,1);break}return i&&delete n.attrsMap[t],f}function ea(n,t){for(var u,r=n.attrsList,i=0,f=r.length;i<f;i++)if(u=r[i],t.test(u.name))return r.splice(i,1),u}function sr(n,t){return t&&(null!=t.start&&(n.start=t.start),null!=t.end&&(n.end=t.end)),n}function oa(n,t,i){var u=i||{},e=u.number,r="$$v",f;u.trim&&(r="(typeof $$v === 'string'? $$v.trim(): $$v)");e&&(r="_n("+r+")");f=kt(t,r);n.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+f+"}"}}function kt(n,t){var i=function(n){if(n=n.trim(),oo=n.length,n.indexOf("[")<0||n.lastIndexOf("]")<oo-1)return(bt=n.lastIndexOf("."))>-1?{exp:n.slice(0,bt),key:'"'+n.slice(bt+1)+'"'}:{exp:n,key:null};for(ia=n,bt=au=so=0;!yo();)sa(lu=vo())?ha(lu):91===lu&&lk(lu);return{exp:n.slice(0,au),key:n.slice(au+1,so)}}(n);return null===i.key?n+"="+t:"$set("+i.exp+", "+i.key+", "+t+")"}function vo(){return ia.charCodeAt(++bt)}function yo(){return bt>=oo}function sa(n){return 34===n||39===n}function lk(n){var t=1;for(au=bt;!yo();)if(sa(n=vo()))ha(n);else if(91===n&&t++,93===n&&t--,0===t){so=bt;break}}function ha(n){for(var t=n;!yo()&&(n=vo())!==t;);}function ak(n,t,i){var r=hr;return function u(){null!==t.apply(null,arguments)&&la(n,u,i,r)}}function vk(n,t,i,r){if(ca){var f=kc,u=t;t=u._wrapper=function(n){if(n.target===n.currentTarget||n.timeStamp>=f||n.timeStamp<=0||n.target.ownerDocument!==document)return u.apply(this,arguments)}}hr.addEventListener(n,t,vh?{capture:i,passive:r}:i)}function la(n,t,i,r){(r||hr).removeEventListener(n,t._wrapper||t,i)}function aa(i,r){if(!t(i.data.on)||!t(r.data.on)){var u=r.data.on||{},f=i.data.on||{};hr=r.elm,function(t){if(n(t[cr])){var i=lt?"change":"input";t[i]=[].concat(t[cr],t[i]||[]);delete t[cr]}n(t[vu])&&(t.change=[].concat(t[vu],t.change||[]),delete t[vu])}(u);ic(u,f,vk,la,ak,r.context);hr=void 0}}function ya(r,u){var c,l;if(!t(r.data.domProps)||!t(u.data.domProps)){var e,o,f=u.elm,h=r.data.domProps||{},s=u.data.domProps||{};for(e in n(s.__ob__)&&(s=u.data.domProps=i({},s)),h)e in s||(f[e]="");for(e in s){if(o=s[e],"textContent"===e||"innerHTML"===e){if(u.children&&(u.children.length=0),o===h[e])continue;1===f.childNodes.length&&f.removeChild(f.childNodes[0])}if("value"===e&&"PROGRESS"!==f.tagName)f._value=o,c=t(o)?"":String(o),yk(f,c)&&(f.value=c);else if("innerHTML"===e&&ro(f.tagName)&&t(f.innerHTML)){for((po=po||document.createElement("div")).innerHTML="<svg>"+o+"<\/svg>",l=po.firstChild;f.firstChild;)f.removeChild(f.firstChild);for(;l.firstChild;)f.appendChild(l.firstChild)}else if(o!==h[e])try{f[e]=o}catch(r){}}}}function yk(t,i){return!t.composing&&("OPTION"===t.tagName||function(n,t){var i=!0;try{i=document.activeElement!==n}catch(n){}return i&&n.value!==t}(t,i)||function(t,i){var r=t.value,u=t._vModifiers;if(n(u)){if(u.number)return ki(r)!==ki(i);if(u.trim)return r.trim()!==i.trim()}return r!==i}(t,i))}function bo(n){var t=wa(n.style);return n.staticStyle?i(n.staticStyle,t):t}function wa(n){return Array.isArray(n)?fh(n):"string"==typeof n?wo(n):n}function ga(r,u){var c=u.data,e=r.data,o;if(!(t(c.staticStyle)&&t(c.style)&&t(e.staticStyle)&&t(e.style))){var s,f,l=u.elm,v=e.staticStyle,y=e.normalizedStyle||e.style||{},a=v||y,h=wa(u.data.style)||{};u.data.normalizedStyle=n(h.__ob__)?i({},h):h;o=function(n,t){var r,e={},u,f;if(t)for(u=n;u.componentInstance;)(u=u.componentInstance._vnode)&&u.data&&(r=bo(u.data))&&i(e,r);for((r=bo(n.data))&&i(e,r),f=n;f=f.parent;)f.data&&(r=bo(f.data))&&i(e,r);return e}(u,!0);for(f in a)t(o[f])&&ka(l,f,"");for(f in o)(s=o[f])!==a[f]&&ka(l,f,null==s?"":s)}}function tv(n,t){if(t&&(t=t.trim()))if(n.classList)t.indexOf(" ")>-1?t.split(ko).forEach(function(t){return n.classList.add(t)}):n.classList.add(t);else{var i=" "+(n.getAttribute("class")||"")+" ";i.indexOf(" "+t+" ")<0&&n.setAttribute("class",(i+t).trim())}}function iv(n,t){if(t&&(t=t.trim()))if(n.classList)t.indexOf(" ")>-1?t.split(ko).forEach(function(t){return n.classList.remove(t)}):n.classList.remove(t),n.classList.length||n.removeAttribute("class");else{for(var i=" "+(n.getAttribute("class")||"")+" ",r=" "+t+" ";i.indexOf(r)>=0;)i=i.replace(r," ");(i=i.trim())?n.setAttribute("class",i):n.removeAttribute("class")}}function rv(n){if(n){if("object"==typeof n){var t={};return!1!==n.css&&i(t,uv(n.name||"v")),i(t,n),t}return"string"==typeof n?uv(n):void 0}}function ov(n){ts(function(){ts(n)})}function fi(n,t){var i=n._transitionClasses||(n._transitionClasses=[]);i.indexOf(t)<0&&(i.push(t),tv(n,t))}function st(n,t){n._transitionClasses&&rt(n._transitionClasses,t);iv(n,t)}function sv(n,t,i){var r=cv(n,t),u=r.type,c=r.timeout,f=r.propCount;if(!u)return i();var e=u===yi?wu:ev,o=0,s=function(){n.removeEventListener(e,h);i()},h=function(t){t.target===n&&++o>=f&&s()};setTimeout(function(){o<f&&s()},c+1);n.addEventListener(e,h)}function cv(n,t){var i,r=window.getComputedStyle(n),c=(r[pu+"Delay"]||"").split(", "),s=(r[pu+"Duration"]||"").split(", "),u=lv(c,s),l=(r[ns+"Delay"]||"").split(", "),h=(r[ns+"Duration"]||"").split(", "),f=lv(l,h),e=0,o=0;return t===yi?u>0&&(i=yi,e=u,o=s.length):t===go?f>0&&(i=go,e=f,o=h.length):o=(i=(e=Math.max(u,f))>0?u>f?yi:go:null)?i===yi?s.length:h.length:0,{type:i,timeout:e,propCount:o,hasTransform:i===yi&&hv.test(r[pu+"Property"])}}function lv(n,t){for(;n.length<t.length;)n=n.concat(n);return Math.max.apply(null,t.map(function(t,i){return av(t)+av(n[i])}))}function av(n){return 1e3*Number(n.slice(0,-1).replace(",","."))}function is(i,r){var u=i.elm,f,e;if(n(u._leaveCb)&&(u._leaveCb.cancelled=!0,u._leaveCb()),f=rv(i.data.transition),!t(f)&&!n(u._enterCb)&&1===u.nodeType){for(var ft=f.css,et=f.type,ot=f.enterClass,ht=f.enterToClass,ct=f.enterActiveClass,p=f.appearClass,w=f.appearToClass,b=f.appearActiveClass,lt=f.beforeEnter,at=f.enter,vt=f.afterEnter,wt=f.enterCancelled,bt=f.beforeAppear,l=f.appear,kt=f.afterAppear,dt=f.appearCancelled,v=f.duration,k=pt,s=pt.$vnode;s&&s.parent;)k=s.context,s=s.parent;if(e=!k._isMounted||!i.isRootInsert,!e||l||""===l){var y=e&&p?p:ot,d=e&&b?b:ct,g=e&&w?w:ht,nt=e&&bt||lt,c=e&&"function"==typeof l?l:at,tt=e&&kt||vt,it=e&&dt||wt,rt=ki(h(v)?v.enter:v),a=!1!==ft&&!oi,ut=rs(c),o=u._enterCb=lr(function(){a&&(st(u,g),st(u,d));o.cancelled?(a&&st(u,y),it&&it(u)):tt&&tt(u);u._enterCb=null});i.data.show||yt(i,"insert",function(){var t=u.parentNode,n=t&&t._pending&&t._pending[i.key];n&&n.tag===i.tag&&n.elm._leaveCb&&n.elm._leaveCb();c&&c(u,o)});nt&&nt(u);a&&(fi(u,y),fi(u,d),ov(function(){st(u,y);o.cancelled||(fi(u,g),ut||(yv(rt)?setTimeout(o,rt):sv(u,et,o)))}));i.data.show&&(r&&r(),c&&c(u,o));a||ut||o()}}}function vv(i,r){function g(){e.cancelled||(!i.data.show&&u.parentNode&&((u.parentNode._pending||(u.parentNode._pending={}))[i.key]=i),y&&y(u),o&&(fi(u,s),fi(u,v),ov(function(){st(u,s);e.cancelled||(fi(u,a),k||(yv(d)?setTimeout(e,d):sv(u,tt,e)))})),c&&c(u,e),o||k||e())}var u=i.elm,f;if(n(u._enterCb)&&(u._enterCb.cancelled=!0,u._enterCb()),f=rv(i.data.transition),t(f)||1!==u.nodeType)return r();if(!n(u._leaveCb)){var nt=f.css,tt=f.type,s=f.leaveClass,a=f.leaveToClass,v=f.leaveActiveClass,y=f.beforeLeave,c=f.leave,p=f.afterLeave,w=f.leaveCancelled,b=f.delayLeave,l=f.duration,o=!1!==nt&&!oi,k=rs(c),d=ki(h(l)?l.leave:l),e=u._leaveCb=lr(function(){u.parentNode&&u.parentNode._pending&&(u.parentNode._pending[i.key]=null);o&&(st(u,a),st(u,v));e.cancelled?(o&&st(u,s),w&&w(u)):(r(),p&&p(u));u._leaveCb=null});b?b(g):g()}}function yv(n){return"number"==typeof n&&!isNaN(n)}function rs(i){if(t(i))return!1;var r=i.fns;return n(r)?rs(Array.isArray(r)?r[0]:r):(i._length||i.length)>1}function pv(n,t){!0!==t.data.show&&is(t)}function bv(n,t,i){kv(n,t,i);(lt||lh)&&setTimeout(function(){kv(n,t,i)},0)}function kv(n,t){var u=t.value,f=n.multiple,e,r,i,o;if(!f||Array.isArray(u)){for(i=0,o=n.options.length;i<o;i++)if(r=n.options[i],f)e=oh(u,bu(r))>-1,r.selected!==e&&(r.selected=e);else if(gt(bu(r),u))return void(n.selectedIndex!==i&&(n.selectedIndex=i));f||(n.selectedIndex=-1)}}function dv(n,t){return t.every(function(t){return!gt(t,n)})}function bu(n){return"_value"in n?n._value:n.value}function bk(n){n.target.composing=!0}function gv(n){n.target.composing&&(n.target.composing=!1,fs(n.target,"input"))}function fs(n,t){var i=document.createEvent("HTMLEvents");i.initEvent(t,!0,!0);n.dispatchEvent(i)}function es(n){return!n.componentInstance||n.data&&n.data.transition?n:es(n.componentInstance._vnode)}function ss(n){var t=n&&n.componentOptions;return t&&t.Ctor.options.abstract?ss(yc(t.children)):n}function ty(n){var t={},f=n.$options,i,r,u;for(i in f.propsData)t[i]=n[i];r=f._parentListeners;for(u in r)t[b(u)]=r[u];return t}function iy(n,t){if(/\d-keep-alive$/.test(t.tag))return n("keep-alive",{props:t.componentOptions.propsData})}function nd(n){n.elm._moveCb&&n.elm._moveCb();n.elm._enterCb&&n.elm._enterCb()}function td(n){n.data.newPos=n.elm.getBoundingClientRect()}function id(n){var i=n.data.pos,r=n.data.newPos,u=i.left-r.left,f=i.top-r.top,t;(u||f)&&(n.data.moved=!0,t=n.elm.style,t.transform=t.WebkitTransform="translate("+u+"px,"+f+"px)",t.transitionDuration="0s")}function dd(n,t){var i=t?bd:wd;return n.replace(i,function(n){return pd[n]})}function bs(n,t,i){return{type:1,tag:n,attrsList:t,attrsMap:og(t),rawAttrsMap:{},parent:i,children:[]}}function fg(n,t){function h(n){var l,s,h,f;for((c(n),e||n.processed||(n=gu(n,t)),r.length||n===u||u.if&&(n.elseif||n.else)&&pi(u,{exp:n.elseif,block:n}),i&&!n.forbidden)&&(n.elseif||n.else?(s=n,(h=function(n){for(var t=n.length;t--;){if(1===n[t].type)return n[t];n.pop()}}(i.children))&&h.if&&pi(h,{exp:s.elseif,block:s})):(n.slotScope&&(l=n.slotTarget||'"default"',(i.scopedSlots||(i.scopedSlots={}))[l]=n),i.children.push(n),n.parent=i)),n.children=n.children.filter(function(n){return!n.slotScope}),c(n),n.pre&&(e=!1),vs(n.tag)&&(o=!1),f=0;f<as.length;f++)as[f](n,t)}function c(n){if(!o)for(var t;(t=n.children[n.children.length-1])&&3===t.type&&" "===t.text;)n.children.pop()}py=t.warn||fa;vs=t.isPreTag||nt;ys=t.mustUseProp||nt;by=t.getTagNamespace||nt;t.isReservedTag;cs=or(t.modules,"transformNode");ls=or(t.modules,"preTransformNode");as=or(t.modules,"postTransformNode");wy=t.delimiters;var u,i,r=[],l=!1!==t.preserveWhitespace,s=t.whitespace,e=!1,o=!1;return function(n,t){function r(t){i+=t;n=n.substring(t)}function ft(){var e=n.match(sy),f,t,u;if(e){for(u={tagName:e[1],attrs:[],start:i},r(e[0].length);!(f=n.match(vd))&&(t=n.match(ad)||n.match(ld));)t.start=i,r(t[0].length),t.end=i,u.attrs.push(t);if(f)return u.unarySlash=f[1],r(f[0].length),u.end=i,u}}function et(n){var i=n.tagName,c=n.unarySlash;tt&&("p"===u&&cd(i)&&l(u),rt(i)&&u===i&&l(i));for(var s=it(i)||!!c,h=n.attrs.length,o=new Array(h),f=0;f<h;f++){var r=n.attrs[f],a=r[3]||r[4]||r[5]||"",v="a"===i&&"href"===r[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;o[f]={name:r[1],value:dd(a,v)}}s||(e.push({tag:i,lowerCasedTag:i.toLowerCase(),attrs:o,start:n.start,end:n.end}),u=i);t.start&&t.start(i,o,s,n.start,n.end)}function l(n,r,f){var o,s,h;if(null==r&&(r=i),null==f&&(f=i),n)for(s=n.toLowerCase(),o=e.length-1;o>=0&&e[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(h=e.length-1;h>=o;h--)t.end&&t.end(e[h].tag,r,f);e.length=o;u=o&&e[o-1].tag}else"br"===s?t.start&&t.start(n,[],!0,r,f):"p"===s&&(t.start&&t.start(n,[],!1,r,f),t.end&&t.end(n,r,f))}for(var f,c,y,p,a,d,v,w,u,e=[],tt=t.expectHTML,it=t.isUnaryTag||nt,rt=t.canBeLeftOpenTag||nt,i=0;n;){if(w=n,u&&ay(u)){var b=0,o=u.toLowerCase(),ut=vy[o]||(vy[o]=new RegExp("([\\s\\S]*?)(<\/"+o+"[^>]*>)","i")),k=n.replace(ut,function(n,i,r){return b=r.length,ay(o)||"noscript"===o||(i=i.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),yy(o,i)&&(i=i.slice(1)),t.chars&&t.chars(i),""});i+=n.length-k.length;n=k;l(o,i-b,i)}else{if(f=n.indexOf("<"),0===f){if(cy.test(n)&&(c=n.indexOf("-->"),c>=0)){t.shouldKeepComment&&t.comment(n.substring(4,c),i,i+c+3);r(c+3);continue}if(ly.test(n)&&(y=n.indexOf("]>"),y>=0)){r(y+2);continue}if(p=n.match(yd),p){r(p[0].length);continue}if(a=n.match(hy),a){d=i;r(a[0].length);l(a[1],d,i);continue}if(v=ft(),v){et(v);yy(v.tagName,n)&&r(1);continue}}var s=void 0,h=void 0,g=void 0;if(f>=0){for(h=n.slice(f);!(hy.test(h)||sy.test(h)||cy.test(h)||ly.test(h)||(g=h.indexOf("<",1))<0);)f+=g,h=n.slice(f);s=n.substring(0,f)}f<0&&(s=n);s&&r(s.length);t.chars&&s&&t.chars(s,i-s.length,i)}if(n===w){t.chars&&t.chars(n);break}}l()}(n,{warn:py,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(n,s,c){var y=i&&i.ns||by(n),a,l,v;for(lt&&"svg"===y&&(s=function(n){for(var t,r=[],i=0;i<n.length;i++)t=n[i],rp.test(t.name)||(t.name=t.name.replace(up,""),r.push(t));return r}(s)),l=bs(n,s,i),y&&(l.ns=y),"style"!==(a=l).tag&&("script"!==a.tag||a.attrsMap.type&&"text/javascript"!==a.attrsMap.type)||si()||(l.forbidden=!0),v=0;v<ls.length;v++)l=ls[v](l,t)||l;e||(!function(n){null!=f(n,"v-pre")&&(n.pre=!0)}(l),l.pre&&(e=!0));vs(l.tag)&&(o=!0);e?function(n){var i=n.attrsList,u=i.length,r,t;if(u)for(r=n.attrs=new Array(u),t=0;t<u;t++)r[t]={name:i[t].name,value:JSON.stringify(i[t].value)},null!=i[t].start&&(r[t].start=i[t].start,r[t].end=i[t].end);else n.pre||(n.plain=!0)}(l):l.processed||(tp(l),function(n){var t=f(n,"v-if"),i;t?(n.if=t,pi(n,{exp:t,block:n})):(null!=f(n,"v-else")&&(n.else=!0),i=f(n,"v-else-if"),i&&(n.elseif=i))}(l),function(n){null!=f(n,"v-once")&&(n.once=!0)}(l));u||(u=l);c?h(l):(i=l,r.push(l))},end:function(){var n=r[r.length-1];r.length-=1;i=r[r.length-1];h(n)},chars:function(n){if(i&&(!lt||"textarea"!==i.tag||i.attrsMap.placeholder!==n)){var f,u,r,t=i.children;(n=o||n.trim()?"script"===(f=i).tag||"style"===f.tag?n:ug(n):t.length?s?"condense"===s&&ig.test(n)?"":" ":l?" ":"":"")&&(o||"condense"!==s||(n=n.replace(rg," ")),!e&&" "!==n&&(u=function(n,t){var o=t?ud(t):rd,h;if(o.test(n)){for(var r,s,u,f=[],e=[],i=o.lastIndex=0;r=o.exec(n);)(s=r.index)>i&&(e.push(u=n.slice(i,s)),f.push(JSON.stringify(u))),h=ho(r[1].trim()),f.push("_s("+h+")"),e.push({"@binding":h}),i=s+r[0].length;return i<n.length&&(e.push(u=n.slice(i)),f.push(JSON.stringify(u))),{expression:f.join("+"),tokens:e}}}(n,wy))?r={type:2,expression:u.expression,tokens:u.tokens,text:n}:" "===n&&t.length&&" "===t[t.length-1].text||(r={type:3,text:n}),r&&t.push(r))}},comment:function(n){if(i){var t={type:3,text:n,isComment:!0};i.children.push(t)}}}),u}function gu(n,t){var r,u,i;for((u=d(r=n,"key"))&&(r.key=u),n.plain=!n.key&&!n.scopedSlots&&!n.attrsList.length,function(n){var t=d(n,"ref");t&&(n.ref=t,n.refInFor=function(n){for(var t=n;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(n))}(n),function(n){var r,t,u,e;if("template"===n.tag?(r=f(n,"scope"),n.slotScope=r||f(n,"slot-scope")):(r=f(n,"slot-scope"))&&(n.slotScope=r),t=d(n,"slot"),t&&(n.slotTarget='""'===t?'"default"':t,n.slotTargetDynamic=!(!n.attrsMap[":slot"]&&!n.attrsMap["v-bind:slot"]),"template"===n.tag||n.slotScope||co(n,"slot",t,function(n,t){return n.rawAttrsMap[":"+t]||n.rawAttrsMap["v-bind:"+t]||n.rawAttrsMap[t]}(n,"slot"))),"template"===n.tag){if(u=ea(n,ws),u){var o=ip(u),c=o.name,l=o.dynamic;n.slotTarget=c;n.slotTargetDynamic=l;n.slotScope=u.value||du}}else if(e=ea(n,ws),e){var a=n.scopedSlots||(n.scopedSlots={}),s=ip(e),h=s.name,v=s.dynamic,i=a[h]=bs("template",[],n);i.slotTarget=h;i.slotTargetDynamic=v;i.children=n.children.filter(function(n){if(!n.slotScope)return n.parent=i,!0});i.slotScope=e.value||du;n.children=[];n.plain=!1}}(n),function(n){"slot"===n.tag&&(n.slotName=d(n,"name"))}(n),function(n){var t;(t=d(n,"is"))&&(n.component=t);null!=f(n,"inline-template")&&(n.inlineTemplate=!0)}(n),i=0;i<cs.length;i++)n=cs[i](n,t)||n;return function(n){for(var t,l,f,e,s,u,r=n.attrsList,h,o,i=0,c=r.length;i<c;i++)(t=l=r[i].name,f=r[i].value,ps.test(t))?(n.hasBindings=!0,(e=eg(t.replace(ps,"")))&&(t=t.replace(np,"")),gy.test(t))?(t=t.replace(gy,""),f=ho(f),(u=ku.test(t))&&(t=t.slice(1,-1)),e&&(e.prop&&!u&&"innerHtml"===(t=b(t))&&(t="innerHTML"),e.camel&&!u&&(t=b(t)),e.sync&&(s=kt(f,"$event"),u?ot(n,'"update:"+('+t+")",s,null,!1,0,r[i],!0):(ot(n,"update:"+b(t),s,null,!1,0,r[i]),dt(t)!==b(t)&&ot(n,"update:"+dt(t),s,null,!1,0,r[i])))),e&&e.prop||!n.component&&ys(n.tag,n.attrsMap.type,t)?ui(n,t,f,r[i],u):co(n,t,f,r[i],u)):ky.test(t)?(t=t.replace(ky,""),(u=ku.test(t))&&(t=t.slice(1,-1)),ot(n,t,f,e,!1,0,r[i],u)):(h=(t=t.replace(ps,"")).match(tg),o=h&&h[1],u=!1,o&&(t=t.slice(0,-(o.length+1)),ku.test(o)&&(o=o.slice(1,-1),u=!0)),ck(n,t,l,f,o,u,e,r[i])):(co(n,t,JSON.stringify(f),r[i]),!n.component&&"muted"===t&&ys(n.tag,n.attrsMap.type,t)&&ui(n,t,"true",r[i]))}(n),n}function tp(n){var r,t;(r=f(n,"v-for"))&&(t=function(n){var u=n.match(gd),t,r,i;if(u)return t={},t.for=u[2].trim(),r=u[1].trim().replace(ng,""),i=r.match(dy),i?(t.alias=r.replace(dy,"").trim(),t.iterator1=i[1].trim(),i[2]&&(t.iterator2=i[2].trim())):t.alias=r,t}(r),t&&i(n,t))}function pi(n,t){n.ifConditions||(n.ifConditions=[]);n.ifConditions.push(t)}function ip(n){var t=n.name.replace(ws,"");return t||"#"!==n.name[0]&&(t="default"),ku.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function eg(n){var i=n.match(np),t;if(i)return t={},i.forEach(function(n){t[n.slice(1)]=!0}),t}function og(n){for(var i={},t=0,r=n.length;t<r;t++)i[n[t].name]=n[t].value;return i}function ks(n){return bs(n.tag,n.attrsList.slice(),n.parent)}function cg(n,t){n&&(ep=hg(t.staticKeys||""),ds=t.isReservedTag||nt,function n(t){var i,e,u,r,o,f;if(t.static=function(n){return 2===n.type?!1:3===n.type?!0:!(!n.pre&&(n.hasBindings||n.if||n.for||fw(n.tag)||!ds(n.tag)||function(n){for(;n.parent;){if("template"!==(n=n.parent).tag)return!1;if(n.for)return!0}return!1}(n)||!Object.keys(n).every(ep)))}(t),1===t.type){if(!ds(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(i=0,e=t.children.length;i<e;i++)u=t.children[i],n(u),u.static||(t.static=!1);if(t.ifConditions)for(r=1,o=t.ifConditions.length;r<o;r++)f=t.ifConditions[r].block,n(f),f.static||(t.static=!1)}}(n),function n(t,i){var r,f,u,e;if(1===t.type){if((t.static||t.once)&&(t.staticInFor=i),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(r=0,f=t.children.length;r<f;r++)n(t.children[r],i||!!t.for);if(t.ifConditions)for(u=1,e=t.ifConditions.length;u<e;u++)n(t.ifConditions[u].block,i)}}(n,!1))}function cp(n,t){var e=t?"nativeOn:":"on:",r="",u="",i,f;for(i in n)f=lp(n[i]),n[i]&&n[i].dynamic?u+=i+","+f+",":r+='"'+i+'":'+f+",";return r="{"+r.slice(0,-1)+"}",u?e+"_d("+r+",["+u.slice(0,-1)+"])":e+r}function lp(n){var t,s;if(!n)return"function(){}";if(Array.isArray(n))return"["+n.map(function(n){return lp(n)}).join(",")+"]";var f=op.test(n.value),e=lg.test(n.value),o=op.test(n.value.replace(ag,""));if(n.modifiers){var u="",i="",r=[];for(t in n.modifiers)hp[t]?(i+=hp[t],sp[t]&&r.push(t)):"exact"===t?(s=n.modifiers,i+=ht(["ctrl","shift","alt","meta"].filter(function(n){return!s[n]}).map(function(n){return"$event."+n+"Key"}).join("||"))):r.push(t);return r.length&&(u+=function(n){return"if(!$event.type.indexOf('key')&&"+n.map(yg).join("&&")+")return null;"}(r)),i&&(u+=i),"function($event){"+u+(f?"return "+n.value+"($event)":e?"return ("+n.value+")($event)":o?"return "+n.value:n.value)+"}"}return f||e?n.value:"function($event){"+(o?"return "+n.value:n.value)+"}"}function yg(n){var t=parseInt(n,10),i,r;return t?"$event.keyCode!=="+t:(i=sp[n],r=vg[n],"_k($event.keyCode,"+JSON.stringify(n)+","+JSON.stringify(i)+",$event.key,"+JSON.stringify(r)+")")}function yp(n,t){var i=new vp(t);return{render:"with(this){return "+(n?ct(n,i):'_c("div")')+"}",staticRenderFns:i.staticRenderFns}}function ct(n,t){var i,u,f,r;if(n.parent&&(n.pre=n.pre||n.parent.pre),n.staticRoot&&!n.staticProcessed)return pp(n,t);if(n.once&&!n.onceProcessed)return wp(n,t);if(n.for&&!n.forProcessed)return bp(n,t);if(n.if&&!n.ifProcessed)return gs(n,t);if("template"!==n.tag||n.slotTarget||t.pre){if("slot"===n.tag)return function(n,t){var e=n.slotName||'"default"',u=wi(n,t),i="_t("+e+(u?","+u:""),r=n.attrs||n.dynamicAttrs?nf((n.attrs||[]).concat(n.dynamicAttrs||[]).map(function(n){return{name:b(n.name),value:n.value,dynamic:n.dynamic}})):null,f=n.attrsMap["v-bind"];return(r||f)&&!u&&(i+=",null"),r&&(i+=","+r),f&&(i+=(r?"":",null")+","+f),i+")"}(n,t);for(n.component?i=function(n,t,i){var r=t.inlineTemplate?null:wi(t,i,!0);return"_c("+n+","+kp(t,i)+(r?","+r:"")+")"}(n.component,n,t):((!n.plain||n.pre&&t.maybeComponent(n))&&(u=kp(n,t)),f=n.inlineTemplate?null:wi(n,t,!0),i="_c('"+n.tag+"'"+(u?","+u:"")+(f?","+f:"")+")"),r=0;r<t.transforms.length;r++)i=t.transforms[r](n,i);return i}return wi(n,t)||"void 0"}function pp(n,t){n.staticProcessed=!0;var i=t.pre;return n.pre&&(t.pre=n.pre),t.staticRenderFns.push("with(this){return "+ct(n,t)+"}"),t.pre=i,"_m("+(t.staticRenderFns.length-1)+(n.staticInFor?",true":"")+")"}function wp(n,t){if(n.onceProcessed=!0,n.if&&!n.ifProcessed)return gs(n,t);if(n.staticInFor){for(var r="",i=n.parent;i;){if(i.for){r=i.key;break}i=i.parent}return r?"_o("+ct(n,t)+","+t.onceId+++","+r+")":ct(n,t)}return pp(n,t)}function gs(n,t,i,r){return n.ifProcessed=!0,function n(t,i,r,u){function e(n){return r?r(n,i):n.once?wp(n,i):ct(n,i)}if(!t.length)return u||"_e()";var f=t.shift();return f.exp?"("+f.exp+")?"+e(f.block)+":"+n(t,i,r,u):""+e(f.block)}(n.ifConditions.slice(),t,i,r)}function bp(n,t,i,r){var u=n.for,f=n.alias,e=n.iterator1?","+n.iterator1:"",o=n.iterator2?","+n.iterator2:"";return n.forProcessed=!0,(r||"_l")+"(("+u+"),function("+f+e+o+"){return "+(i||ct)(n,t)+"})"}function kp(n,t){var i="{",f=function(n,t){var u=n.directives,r,h,i,f,e,o,s;if(u){for(e="directives:[",o=!1,r=0,h=u.length;r<h;r++)i=u[r],f=!0,s=t.directives[i.name],s&&(f=!!s(n,i,t.warn)),f&&(o=!0,e+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?",arg:"+(i.isDynamicArg?i.arg:'"'+i.arg+'"'):"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},");if(o)return e.slice(0,-1)+"]"}}(n,t),r,u;for(f&&(i+=f+","),n.key&&(i+="key:"+n.key+","),n.ref&&(i+="ref:"+n.ref+","),n.refInFor&&(i+="refInFor:true,"),n.pre&&(i+="pre:true,"),n.component&&(i+='tag:"'+n.tag+'",'),r=0;r<t.dataGenFns.length;r++)i+=t.dataGenFns[r](n);return(n.attrs&&(i+="attrs:"+nf(n.attrs)+","),n.props&&(i+="domProps:"+nf(n.props)+","),n.events&&(i+=cp(n.events,!1)+","),n.nativeEvents&&(i+=cp(n.nativeEvents,!0)+","),n.slotTarget&&!n.slotScope&&(i+="slot:"+n.slotTarget+","),n.scopedSlots&&(i+=function(n,t,i){var u=n.for||Object.keys(t).some(function(n){var i=t[n];return i.slotTargetDynamic||i.if||i.for||dp(i)}),e=!!n.if,r,f;if(!u)for(r=n.parent;r;){if(r.slotScope&&r.slotScope!==du||r.for){u=!0;break}r.if&&(e=!0);r=r.parent}return f=Object.keys(t).map(function(n){return nh(t[n],i)}).join(","),"scopedSlots:_u(["+f+"]"+(u?",null,true":"")+(!u&&e?",null,false,"+function(n){for(var t=5381,i=n.length;i;)t=33*t^n.charCodeAt(--i);return t>>>0}(f):"")+")"}(n,n.scopedSlots,t)+","),n.model&&(i+="model:{value:"+n.model.value+",callback:"+n.model.callback+",expression:"+n.model.expression+"},"),n.inlineTemplate)&&(u=function(n,t){var i=n.children[0],r;if(i&&1===i.type)return r=yp(i,t.options),"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(n){return"function(){"+n+"}"}).join(",")+"]}"}(n,t),u&&(i+=u+",")),i=i.replace(/,$/,"")+"}",n.dynamicAttrs&&(i="_b("+i+',"'+n.tag+'",'+nf(n.dynamicAttrs)+")"),n.wrapData&&(i=n.wrapData(i)),n.wrapListeners&&(i=n.wrapListeners(i)),i}function dp(n){return 1===n.type&&("slot"===n.tag||n.children.some(dp))}function nh(n,t){var i=n.attrsMap["slot-scope"];if(n.if&&!n.ifProcessed&&!i)return gs(n,t,nh,"null");if(n.for&&!n.forProcessed)return bp(n,t,nh);var r=n.slotScope===du?"":String(n.slotScope),u="function("+r+"){return "+("template"===n.tag?n.if&&i?"("+n.if+")?"+(wi(n,t)||"undefined")+":undefined":wi(n,t)||"undefined":ct(n,t))+"}",f=r?"":",proxy:true";return"{key:"+(n.slotTarget||'"default"')+",fn:"+u+f+"}"}function wi(n,t,i,r,u){var e=n.children,f,s,o,h;if(e.length)return(f=e[0],1===e.length&&f.for&&"template"!==f.tag&&"slot"!==f.tag)?(s=i?t.maybeComponent(f)?",1":",0":"",""+(r||ct)(f,t)+s):(o=i?function(n,t){for(var i,r=0,u=0;u<n.length;u++)if(i=n[u],1===i.type){if(gp(i)||i.ifConditions&&i.ifConditions.some(function(n){return gp(n.block)})){r=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(n){return t(n.block)}))&&(r=1)}return r}(e,t.maybeComponent):0,h=u||pg,"["+e.map(function(n){return h(n,t)}).join(",")+"]"+(o?","+o:""))}function gp(n){return void 0!==n.for||"template"===n.tag||"slot"===n.tag}function pg(n,t){return 1===n.type?ct(n,t):3===n.type&&n.isComment?(r=n,"_e("+JSON.stringify(r.text)+")"):"_v("+(2===(i=n).type?i.expression:nw(JSON.stringify(i.text)))+")";var i,r}function nf(n){for(var i,f,t="",r="",u=0;u<n.length;u++)i=n[u],f=nw(i.value),i.dynamic?r+=i.name+","+f+",":t+='"'+i.name+'":'+f+",";return t="{"+t.slice(0,-1)+"}",r?"_d("+t+",["+r.slice(0,-1)+"])":t}function nw(n){return n.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function tw(n,t){try{return new Function(n)}catch(i){return t.push({err:i,code:n}),o}}function wg(n){var t=Object.create(null);return function(r,u){var f;if((u=i({},u)).warn,delete u.warn,f=u.delimiters?String(u.delimiters)+r:r,t[f])return t[f];var o=n(r,u),e={},s=[];return e.render=tw(o.render,s),e.staticRenderFns=o.staticRenderFns.map(function(n){return tw(n,s)}),t[f]=e}}function rw(n){return(th=th||document.createElement("div")).innerHTML=n?'<a href="\n"/>':'<div a="\n"/>',th.innerHTML.indexOf("&#10;")>0}var w=Object.freeze({}),tf=Object.prototype.toString,fw=e("slot,component",!0),ew=e("key,ref,slot,slot-scope,is"),ow=Object.prototype.hasOwnProperty,sw=/-(\w)/g,b=g(function(n){return n.replace(sw,function(n,t){return t?t.toUpperCase():""})}),hw=g(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}),cw=/\B([A-Z])/g,dt=g(function(n){return n.replace(cw,"-$1").toLowerCase()}),lw=Function.prototype.bind?function(n,t){return n.bind(t)}:function(n,t){function i(i){var r=arguments.length;return r?r>1?n.apply(t,arguments):n.call(t,i):n.call(t)}return i._length=n.length,i},nt=function(){return!1},eh=function(n){return n},sh="data-server-rendered",ar=["component","directive","filter"],hh=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],y={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:nt,isReservedAttr:nt,isUnknownElement:nt,getTagNamespace:o,parsePlatformTagName:eh,mustUseProp:nt,async:!0,_lifecycleHooks:hh},ch=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/,aw=new RegExp("[^"+ch.source+".$_\\d]"),ff,vw="__proto__"in{},l="undefined"!=typeof window,ef="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,yw=ef&&WXEnvironment.platform.toLowerCase(),s=l&&window.navigator.userAgent.toLowerCase(),lt=s&&/msie|trident/.test(s),oi=s&&s.indexOf("msie 9.0")>0,lh=s&&s.indexOf("edge/")>0,pw=(s&&s.indexOf("android"),s&&/iphone|ipad|ipod|ios/.test(s)||"ios"===yw),ah=(s&&/chrome\/\d+/.test(s),s&&/phantomjs/.test(s),s&&s.match(/firefox\/(\d+)/)),of={}.watch,vh=!1,sf,si,di,vr,gi,nr,a,hf,at,lf,tr,yh,wr,ir,tt,wh,nc,te,ie,iu,oe,vc,se,ur,uu,pt,ou,dc,k,et,gc,rl,de,el,fr,cu,al,vl,wt,vi,yl,pl,bl,na,oo,ia,lu,bt,au,so,ra,ua,hr,cr,vu,ca,po,va,pa,wo,nv,ko,ts,hv,wv,us,ny,os,uy,rp,up,ap,vp,iw,th,ih,rh;if(l)try{sf={};Object.defineProperty(sf,"passive",{get:function(){vh=!0}});window.addEventListener("test-passive",null,sf)}catch(w){}si=function(){return void 0===ff&&(ff=!l&&!ef&&"undefined"!=typeof global&&global.process&&"server"===global.process.env.VUE_ENV),ff};di=l&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;gi="undefined"!=typeof Symbol&&hi(Symbol)&&"undefined"!=typeof Reflect&&hi(Reflect.ownKeys);vr="undefined"!=typeof Set&&hi(Set)?Set:function(){function n(){this.set=Object.create(null)}return n.prototype.has=function(n){return!0===this.set[n]},n.prototype.add=function(n){this.set[n]=!0},n.prototype.clear=function(){this.set=Object.create(null)},n}();var ww=o,bw=0,p=function(){this.id=bw++;this.subs=[]};p.prototype.addSub=function(n){this.subs.push(n)};p.prototype.removeSub=function(n){rt(this.subs,n)};p.prototype.depend=function(){p.target&&p.target.addDep(this)};p.prototype.notify=function(){for(var t=this.subs.slice(),n=0,i=t.length;n<i;n++)t[n].update()};p.target=null;nr=[];a=function(n,t,i,r,u,f,e,o){this.tag=n;this.data=t;this.children=i;this.text=r;this.elm=u;this.ns=void 0;this.context=f;this.fnContext=void 0;this.fnOptions=void 0;this.fnScopeId=void 0;this.key=t&&t.key;this.componentOptions=e;this.componentInstance=void 0;this.parent=void 0;this.raw=!1;this.isStatic=!1;this.isRootInsert=!0;this.isComment=!1;this.isCloned=!1;this.isOnce=!1;this.asyncFactory=o;this.asyncMeta=void 0;this.isAsyncPlaceholder=!1};hf={child:{configurable:!0}};hf.child.get=function(){return this.componentInstance};Object.defineProperties(a.prototype,hf);at=function(n){void 0===n&&(n="");var t=new a;return t.text=n,t.isComment=!0,t};lf=Array.prototype;tr=Object.create(lf);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(n){var t=lf[n];ei(tr,n,function(){for(var u,e,f,i=[],r=arguments.length;r--;)i[r]=arguments[r];e=t.apply(this,i);f=this.__ob__;switch(n){case"push":case"unshift":u=i;break;case"splice":u=i.slice(2)}return u&&f.observeArray(u),f.dep.notify(),e})});yh=Object.getOwnPropertyNames(tr);wr=!0;ir=function(n){var t;this.value=n;this.dep=new p;this.vmCount=0;ei(n,"__ob__",this);Array.isArray(n)?(vw?(t=tr,n.__proto__=t):function(n,t,i){for(var u,r=0,f=i.length;r<f;r++)u=i[r],ei(n,u,t[u])}(n,tr,yh),this.observeArray(n)):this.walk(n)};ir.prototype.walk=function(n){for(var i=Object.keys(n),t=0;t<i.length;t++)ti(n,i[t])};ir.prototype.observeArray=function(n){for(var t=0,i=n.length;t<i;t++)ni(n[t])};tt=y.optionMergeStrategies;tt.data=function(n,t,i){return i?yf(n,t,i):t&&"function"!=typeof t?n:yf(n,t)};hh.forEach(function(n){tt[n]=kw});ar.forEach(function(n){tt[n+"s"]=dw});tt.watch=function(n,t){var u,e,r,f;if(n===of&&(n=void 0),t===of&&(t=void 0),!t)return Object.create(n||null);if(!n)return t;u={};for(e in i(u,n),t)r=u[e],f=t[e],r&&!Array.isArray(r)&&(r=[r]),u[e]=r?r.concat(f):Array.isArray(f)?f:[f];return u};tt.props=tt.methods=tt.inject=tt.computed=function(n,t){if(!n)return t;var r=Object.create(null);return i(r,n),t&&i(r,t),r};tt.provide=yf;wh=function(n,t){return void 0===t?n:t};var kr,kf=!1,df=[],gf=!1;if("undefined"!=typeof Promise&&hi(Promise))nc=Promise.resolve(),kr=function(){nc.then(dr);pw&&setTimeout(o)},kf=!0;else if(lt||"undefined"==typeof MutationObserver||!hi(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())kr="undefined"!=typeof setImmediate&&hi(setImmediate)?function(){setImmediate(dr)}:function(){setTimeout(dr,0)};else{var gr=1,gw=new MutationObserver(dr),tc=document.createTextNode(String(gr));gw.observe(tc,{characterData:!0});kr=function(){gr=(gr+1)%2;tc.data=String(gr)};kf=!0}te=new vr;ie=g(function(n){var t="&"===n.charAt(0),i="~"===(n=t?n.slice(1):n).charAt(0),r="!"===(n=i?n.slice(1):n).charAt(0);return{name:n=r?n.slice(1):n,once:i,capture:r,passive:t}});hc(ee.prototype);iu={init:function(t,i){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;iu.prepatch(r,r)}else(t.componentInstance=function(t,i){var r={_isComponent:!0,_parentVnode:t,parent:i},u=t.data.inlineTemplate;return n(u)&&(r.render=u.render,r.staticRenderFns=u.staticRenderFns),new t.componentOptions.Ctor(r)}(t,pt)).$mount(i?t.elm:void 0,i)},prepatch:function(n,t){var i=t.componentOptions;!function(n,t,i,r,u){var f=r.data.scopedSlots,s=n.$scopedSlots,a=!!(f&&!f.$stable||s!==w&&!s.$stable||f&&n.$scopedSlots.$key!==f.$key),v=!!(u||n.$options._renderChildren||a),o,c,l;if(n.$options._parentVnode=r,n.$vnode=r,n._vnode&&(n._vnode.parent=r),n.$options._renderChildren=u,n.$attrs=r.data.attrs||w,n.$listeners=i||w,t&&n.$options.props){vt(!1);for(var y=n._props,h=n.$options._propKeys||[],e=0;e<h.length;e++)o=h[e],c=n.$options.props,y[o]=wf(o,c,t,n);vt(!0);n.$options.propsData=t}i=i||w;l=n.$options._parentListeners;n.$options._parentListeners=i;pc(n,i,l);v&&(n.$slots=fe(u,r.context),n.$forceUpdate())}(t.componentInstance=n.componentInstance,i.propsData,i.listeners,t,i.children)},insert:function(n){var i,r=n.context,t=n.componentInstance;t._isMounted||(t._isMounted=!0,it(t,"mounted"));n.data.keepAlive&&(r._isMounted?((i=t)._inactive=!1,le.push(i)):ce(t,!0))},destroy:function(n){var t=n.componentInstance;t._isDestroyed||(n.data.keepAlive?function n(t,i){if((!i||(t._directInactive=!0,!bc(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)n(t.$children[r]);it(t,"deactivated")}}(t,!0):t.$destroy())}};oe=Object.keys(iu);vc=1;se=2;uu=null;pt=null;var ft=[],le=[],eu={},ae=!1,ve=!1,li=0,kc=0,ye=Date.now;l&&!lt&&(ou=window.performance,ou&&"function"==typeof ou.now&&ye()>document.createEvent("Event").timeStamp&&(ye=function(){return ou.now()}));dc=0;k=function(n,t,i,r,u){this.vm=n;u&&(n._watcher=this);n._watchers.push(this);r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1;this.cb=i;this.id=++dc;this.active=!0;this.dirty=this.lazy;this.deps=[];this.newDeps=[];this.depIds=new vr;this.newDepIds=new vr;this.expression="";"function"==typeof t?this.getter=t:(this.getter=function(n){if(!aw.test(n)){var t=n.split(".");return function(n){for(var i=0;i<t.length;i++){if(!n)return;n=n[t[i]]}return n}}}(t),this.getter||(this.getter=o));this.value=this.lazy?void 0:this.get()};k.prototype.get=function(){var n,t;yr(this);t=this.vm;try{n=this.getter.call(t,t)}catch(n){if(!this.user)throw n;ut(n,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&nu(n);pr();this.cleanupDeps()}return n};k.prototype.addDep=function(n){var t=n.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(n),this.depIds.has(t)||n.addSub(this))};k.prototype.cleanupDeps=function(){for(var i,n,t=this.deps.length;t--;)i=this.deps[t],this.newDepIds.has(i.id)||i.removeSub(this);n=this.depIds;this.depIds=this.newDepIds;this.newDepIds=n;this.newDepIds.clear();n=this.deps;this.deps=this.newDeps;this.newDeps=n;this.newDeps.length=0};k.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(n){var i=n.id,t;if(null==eu[i]){if(eu[i]=!0,ve){for(t=ft.length-1;t>li&&ft[t].id>n.id;)t--;ft.splice(t+1,0,n)}else ft.push(n);ae||(ae=!0,ne(bb))}}(this)};k.prototype.run=function(){var n,t;if(this.active&&(n=this.get(),n!==this.value||h(n)||this.deep))if(t=this.value,this.value=n,this.user)try{this.cb.call(this.vm,n,t)}catch(n){ut(n,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,n,t)};k.prototype.evaluate=function(){this.value=this.get();this.dirty=!1};k.prototype.depend=function(){for(var n=this.deps.length;n--;)this.deps[n].depend()};k.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||rt(this.vm._watchers,this);for(var n=this.deps.length;n--;)this.deps[n].removeSub(this);this.active=!1}};et={enumerable:!0,configurable:!0,get:o,set:o};gc={lazy:!0};rl=0;!function(n){n.prototype._init=function(n){var t=this;t._uid=rl++;t._isVue=!0;n&&n._isComponent?function(n,t){var i=n.$options=Object.create(n.constructor.options),u=t._parentVnode,r;i.parent=t.parent;i._parentVnode=u;r=u.componentOptions;i.propsData=r.propsData;i._parentListeners=r.listeners;i._renderChildren=r.children;i._componentTag=r.tag;t.render&&(i.render=t.render,i.staticRenderFns=t.staticRenderFns)}(t,n):t.$options=ii(be(t.constructor),n||{},t);t._renderProxy=t;t._self=t,function(n){var i=n.$options,t=i.parent;if(t&&!i.abstract){for(;t.$options.abstract&&t.$parent;)t=t.$parent;t.$children.push(n)}n.$parent=t;n.$root=t?t.$root:n;n.$children=[];n.$refs={};n._watcher=null;n._inactive=null;n._directInactive=!1;n._isMounted=!1;n._isDestroyed=!1;n._isBeingDestroyed=!1}(t),function(n){n._events=Object.create(null);n._hasHookEvent=!1;var t=n.$options._parentListeners;t&&pc(n,t)}(t),function(n){var r;n._vnode=null;n._staticTrees=null;var i=n.$options,t=n.$vnode=i._parentVnode,u=t&&t.context;n.$slots=fe(i._renderChildren,u);n.$scopedSlots=w;n._c=function(t,i,r,u){return ru(n,t,i,r,u,!1)};n.$createElement=function(t,i,r,u){return ru(n,t,i,r,u,!0)};r=t&&t.data;ti(n,"$attrs",r&&r.attrs||w,null,!0);ti(n,"$listeners",i._parentListeners||w,null,!0)}(t);it(t,"beforeCreate"),function(n){var t=uc(n.$options.inject,n);t&&(vt(!1),Object.keys(t).forEach(function(i){ti(n,i,t[i])}),vt(!0))}(t);kb(t),function(n){var t=n.$options.provide;t&&(n._provided="function"==typeof t?t.call(n):t)}(t);it(t,"created");t.$options.el&&t.$mount(t.$options.el)}}(r),function(n){var t={get:function(){return this._data}},i={get:function(){return this._props}};Object.defineProperty(n.prototype,"$data",t);Object.defineProperty(n.prototype,"$props",i);n.prototype.$set=af;n.prototype.$delete=ph;n.prototype.$watch=function(n,t,i){if(v(t))return we(this,n,t,i);(i=i||{}).user=!0;var r=new k(this,n,t,i);if(i.immediate)try{t.call(this,r.value)}catch(n){ut(n,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(r),function(n){var t=/^hook:/;n.prototype.$on=function(n,i){var r=this,u,f;if(Array.isArray(n))for(u=0,f=n.length;u<f;u++)r.$on(n[u],i);else(r._events[n]||(r._events[n]=[])).push(i),t.test(n)&&(r._hasHookEvent=!0);return r};n.prototype.$once=function(n,t){function r(){i.$off(n,r);t.apply(i,arguments)}var i=this;return r.fn=t,i.$on(n,r),i};n.prototype.$off=function(n,t){var i=this,u,e,o,r,f;if(!arguments.length)return i._events=Object.create(null),i;if(Array.isArray(n)){for(u=0,e=n.length;u<e;u++)i.$off(n[u],t);return i}if(r=i._events[n],!r)return i;if(!t)return i._events[n]=null,i;for(f=r.length;f--;)if((o=r[f])===t||o.fn===t){r.splice(f,1);break}return i};n.prototype.$emit=function(n){var t=this._events[n];if(t){t=t.length>1?uf(t):t;for(var r=uf(arguments,1),u='event handler for "'+n+'"',i=0,f=t.length;i<f;i++)br(t[i],this,r,this,u)}return this}}(r),function(n){n.prototype._update=function(n,t){var i=this,r=i.$el,u=i._vnode,f=wc(i);i._vnode=n;i.$el=u?i.__patch__(u,n):i.__patch__(i.$el,n,t,!1);f();r&&(r.__vue__=null);i.$el&&(i.$el.__vue__=i);i.$vnode&&i.$parent&&i.$vnode===i.$parent._vnode&&(i.$parent.$el=i.$el)};n.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()};n.prototype.$destroy=function(){var n=this,t,i;if(!n._isBeingDestroyed){for(it(n,"beforeDestroy"),n._isBeingDestroyed=!0,t=n.$parent,!t||t._isBeingDestroyed||n.$options.abstract||rt(t.$children,n),n._watcher&&n._watcher.teardown(),i=n._watchers.length;i--;)n._watchers[i].teardown();n._data.__ob__&&n._data.__ob__.vmCount--;n._isDestroyed=!0;n.__patch__(n._vnode,null);it(n,"destroyed");n.$off();n.$el&&(n.$el.__vue__=null);n.$vnode&&(n.$vnode.parent=null)}}}(r),function(n){hc(n.prototype);n.prototype.$nextTick=function(n){return ne(n,this)};n.prototype._render=function(){var n,t=this,r=t.$options,u=r.render,i=r._parentVnode;i&&(t.$scopedSlots=tu(i.data.scopedSlots,t.$slots,t.$scopedSlots));t.$vnode=i;try{uu=t;n=u.call(t._renderProxy,t.$createElement)}catch(r){ut(r,t,"render");n=t._vnode}finally{uu=null}return Array.isArray(n)&&1===n.length&&(n=n[0]),n instanceof a||(n=at()),n.parent=i,n}}(r);de=[String,RegExp,Array];el={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:de,exclude:de,max:[String,Number]},created:function(){this.cache=Object.create(null);this.keys=[]},destroyed:function(){for(var n in this.cache)ke(this.cache,n,this.keys)},mounted:function(){var n=this;this.$watch("include",function(t){fl(n,function(n){return su(t,n)})});this.$watch("exclude",function(t){fl(n,function(n){return!su(t,n)})})},render:function(){var e=this.$slots.default,n=yc(e),r=n&&n.componentOptions;if(r){var u=ul(r),o=this.include,s=this.exclude;if(o&&(!u||!su(o,u))||s&&u&&su(s,u))return n;var f=this.cache,t=this.keys,i=null==n.key?r.Ctor.cid+(r.tag?"::"+r.tag:""):n.key;f[i]?(n.componentInstance=f[i].componentInstance,rt(t,i),t.push(i)):(f[i]=n,t.push(i),this.max&&t.length>parseInt(this.max)&&ke(f,t[0],t,this._vnode));n.data.keepAlive=!0}return n||e&&e[0]}}};!function(n){var t={get:function(){return y}};Object.defineProperty(n,"config",t);n.util={warn:ww,extend:i,mergeOptions:ii,defineReactive:ti};n.set=af;n.delete=ph;n.nextTick=ne;n.observable=function(n){return ni(n),n};n.options=Object.create(null);ar.forEach(function(t){n.options[t+"s"]=Object.create(null)});n.options._base=n;i(n.options.components,el),function(n){n.use=function(n){var i=this._installedPlugins||(this._installedPlugins=[]),t;return i.indexOf(n)>-1?this:(t=uf(arguments,1),t.unshift(this),"function"==typeof n.install?n.install.apply(n,t):"function"==typeof n&&n.apply(null,t),i.push(n),this)}}(n),function(n){n.mixin=function(n){return this.options=ii(this.options,n),this}}(n);db(n),function(n){ar.forEach(function(t){n[t]=function(n,i){return i?("component"===t&&v(i)&&(i.name=i.name||n,i=this.options._base.extend(i)),"directive"===t&&"function"==typeof i&&(i={bind:i,update:i}),this.options[t+"s"][n]=i,i):this.options[t+"s"][n]}})}(n)}(r);Object.defineProperty(r.prototype,"$isServer",{get:si});Object.defineProperty(r.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(r,"FunctionalRenderContext",{value:ee});r.version="2.6.10";var gb=e("style,class"),nk=e("input,textarea,option,select,progress"),ol=function(n,t,i){return"value"===i&&nk(n)&&"button"!==t||"selected"===i&&"option"===n||"checked"===i&&"input"===n||"muted"===i&&"video"===n},sl=e("contenteditable,draggable,spellcheck"),tk=e("events,caret,typing,plaintext-only"),ik=function(n,t){return hu(t)||"false"===t?"false":"contenteditable"===n&&tk(t)?t:"true"},rk=e("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),ge="http://www.w3.org/1999/xlink",no=function(n){return":"===n.charAt(5)&&"xlink"===n.slice(0,5)},hl=function(n){return no(n)?n.slice(6,n.length):""},hu=function(n){return null==n||!1===n};var fk={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ek=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ro=e("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),uo=function(n){return ek(n)||ro(n)};fr=Object.create(null);cu=e("text,number,password,search,email,tel,url");al=Object.freeze({createElement:function(n,t){var i=document.createElement(n);return"select"!==n?i:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&i.setAttribute("multiple","multiple"),i)},createElementNS:function(n,t){return document.createElementNS(fk[n],t)},createTextNode:function(n){return document.createTextNode(n)},createComment:function(n){return document.createComment(n)},insertBefore:function(n,t,i){n.insertBefore(t,i)},removeChild:function(n,t){n.removeChild(t)},appendChild:function(n,t){n.appendChild(t)},parentNode:function(n){return n.parentNode},nextSibling:function(n){return n.nextSibling},tagName:function(n){return n.tagName},setTextContent:function(n,t){n.textContent=t},setStyleScope:function(n,t){n.setAttribute(t,"")}});vl={create:function(n,t){ai(t)},update:function(n,t){n.data.ref!==t.data.ref&&(ai(n,!0),ai(t))},destroy:function(n){ai(n,!0)}};wt=new a("",{},[]);vi=["create","activate","update","remove","destroy"];yl={create:eo,update:eo,destroy:function(n){eo(n,wt)}};pl=Object.create(null);bl=[vl,yl];na={create:kl,update:kl};ra={create:ta,update:ta};ua=/[\w).+\-_$\]]/;cr="__r";vu="__c";ca=kf&&!(ah&&Number(ah[1])<=53);va={create:aa,update:aa};pa={create:ya,update:ya};wo=g(function(n){var t={},i=/:(.+)/;return n.split(/;(?![^(]*\))/g).forEach(function(n){if(n){var r=n.split(i);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});var yu,pk=/^--/,ba=/\s*!important$/,ka=function(n,t,i){var u,r,f;if(pk.test(t))n.style.setProperty(t,i);else if(ba.test(i))n.style.setProperty(dt(t),i.replace(ba,""),"important");else if(u=wk(t),Array.isArray(i))for(r=0,f=i.length;r<f;r++)n.style[u]=i[r];else n.style[u]=i},da=["Webkit","Moz","ms"],wk=g(function(n){var r,t,i;if(yu=yu||document.createElement("div").style,"filter"!==(n=b(n))&&n in yu)return n;for(r=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<da.length;t++)if(i=da[t]+r,i in yu)return i});nv={create:ga,update:ga};ko=/\s+/;var uv=g(function(n){return{enterClass:n+"-enter",enterToClass:n+"-enter-to",enterActiveClass:n+"-enter-active",leaveClass:n+"-leave",leaveToClass:n+"-leave-to",leaveActiveClass:n+"-leave-active"}}),fv=l&&!oi,yi="transition",go="animation",pu="transition",wu="transitionend",ns="animation",ev="animationend";fv&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(pu="WebkitTransition",wu="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ns="WebkitAnimation",ev="webkitAnimationEnd"));ts=l?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(n){return n()};hv=/\b(transform|all)(,|$)/;wv=function(i){function p(t){var i=r.parentNode(t);n(i)&&r.removeChild(i,t)}function s(t,i,e,o,s,h,c){if(n(t.elm)&&n(h)&&(t=h[c]=cf(t)),t.isRootInsert=!s,!function(t,i,r,e){var o=t.data,s;if(n(o)&&(s=n(t.componentInstance)&&o.keepAlive,n(o=o.hook)&&n(o=o.init)&&o(t,!1),n(t.componentInstance)))return g(t,i),l(r,t.elm,e),u(s)&&function(t,i,r,u){for(var e,o=t;o.componentInstance;)if(o=o.componentInstance._vnode,n(e=o.data)&&n(e=e.transition)){for(e=0;e<f.activate.length;++e)f.activate[e](wt,o);i.push(o);break}l(r,t.elm,u)}(t,i,r,e),!0}(t,i,e,o)){var v=t.data,y=t.children,a=t.tag;n(a)?(t.elm=t.ns?r.createElementNS(t.ns,a):r.createElement(a,t),tt(t),nt(t,y,i),n(v)&&b(t,i),l(e,t.elm,o)):u(t.isComment)?(t.elm=r.createComment(t.text),l(e,t.elm,o)):(t.elm=r.createTextNode(t.text),l(e,t.elm,o))}}function g(t,i){n(t.data.pendingInsert)&&(i.push.apply(i,t.data.pendingInsert),t.data.pendingInsert=null);t.elm=t.componentInstance.$el;w(t)?(b(t,i),tt(t)):(ai(t),i.push(t))}function l(t,i,u){n(t)&&(n(u)?r.parentNode(u)===t&&r.insertBefore(t,i,u):r.appendChild(t,i))}function nt(n,t,i){if(Array.isArray(t))for(var u=0;u<t.length;++u)s(t[u],i,n.elm,null,!0,t,u);else bi(n.text)&&r.appendChild(n.elm,r.createTextNode(String(n.text)))}function w(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return n(t.tag)}function b(t,i){for(var r=0;r<f.create.length;++r)f.create[r](wt,t);n(o=t.data.hook)&&(n(o.create)&&o.create(wt,t),n(o.insert)&&i.push(t))}function tt(t){var i,u;if(n(i=t.fnScopeId))r.setStyleScope(t.elm,i);else for(u=t;u;)n(i=u.context)&&n(i=i.$options._scopeId)&&r.setStyleScope(t.elm,i),u=u.parent;n(i=pt)&&i!==t.context&&i!==t.fnContext&&n(i=i.$options._scopeId)&&r.setStyleScope(t.elm,i)}function it(n,t,i,r,u,f){for(;r<=u;++r)s(i[r],f,n,t,!1,i,r)}function v(t){var i,r,u=t.data;if(n(u))for(n(i=u.hook)&&n(i=i.destroy)&&i(t),i=0;i<f.destroy.length;++i)f.destroy[i](t);if(n(i=t.children))for(r=0;r<t.children.length;++r)v(t.children[r])}function k(t,i,r,u){for(;r<=u;++r){var f=i[r];n(f)&&(n(f.tag)?(rt(f),v(f)):p(f.elm))}}function rt(t,i){if(n(i)||n(t.data)){var r,u=f.remove.length+1;for(n(i)?i.listeners+=u:i=function(n,t){function i(){0==--i.listeners&&p(n)}return i.listeners=t,i}(t.elm,u),n(r=t.componentInstance)&&n(r=r._vnode)&&n(r.data)&&rt(r,i),r=0;r<f.remove.length;++r)f.remove[r](t,i);n(r=t.data.hook)&&n(r=r.remove)?r(t,i):i()}else p(t.elm)}function et(t,i,r,u){for(var e,f=r;f<u;f++)if(e=i[f],n(e)&&ri(t,e))return f}function h(i,e,o,c,l,a){var g,v,y,p,b;if(i!==e)if(n(e.elm)&&n(c)&&(e=c[l]=cf(e)),g=e.elm=i.elm,u(i.isAsyncPlaceholder))n(e.asyncFactory.resolved)?d(i.elm,e,o):e.isAsyncPlaceholder=!0;else if(u(e.isStatic)&&u(i.isStatic)&&e.key===i.key&&(u(e.isCloned)||u(e.isOnce)))e.componentInstance=i.componentInstance;else{if(y=e.data,n(y)&&n(v=y.hook)&&n(v=v.prepatch)&&v(i,e),p=i.children,b=e.children,n(y)&&w(e)){for(v=0;v<f.update.length;++v)f.update[v](i,e);n(v=y.hook)&&n(v=v.update)&&v(i,e)}t(e.text)?n(p)&&n(b)?p!==b&&function(i,u,f,e,o){for(var d,g,nt,w=0,a=0,p=u.length-1,l=u[0],v=u[p],y=f.length-1,c=f[0],b=f[y],tt=!o;w<=p&&a<=y;)t(l)?l=u[++w]:t(v)?v=u[--p]:ri(l,c)?(h(l,c,e,f,a),l=u[++w],c=f[++a]):ri(v,b)?(h(v,b,e,f,y),v=u[--p],b=f[--y]):ri(l,b)?(h(l,b,e,f,y),tt&&r.insertBefore(i,l.elm,r.nextSibling(v.elm)),l=u[++w],b=f[--y]):ri(v,c)?(h(v,c,e,f,a),tt&&r.insertBefore(i,v.elm,l.elm),v=u[--p],c=f[++a]):(t(d)&&(d=ok(u,w,p)),t(g=n(c.key)?d[c.key]:et(c,u,w,p))?s(c,e,i,l.elm,!1,f,a):ri(nt=u[g],c)?(h(nt,c,e,f,a),u[g]=void 0,tt&&r.insertBefore(i,nt.elm,l.elm)):s(c,e,i,l.elm,!1,f,a),c=f[++a]);w>p?it(i,t(f[y+1])?null:f[y+1].elm,f,a,y,e):a>y&&k(0,u,w,p)}(g,p,b,o,a):n(b)?(n(i.text)&&r.setTextContent(g,""),it(g,null,b,0,b.length-1,o)):n(p)?k(0,p,0,p.length-1):n(i.text)&&r.setTextContent(g,""):i.text!==e.text&&r.setTextContent(g,e.text);n(y)&&n(v=y.hook)&&n(v=v.postpatch)&&v(i,e)}}function ut(t,i,r){if(u(r)&&n(t.parent))t.parent.data.pendingInsert=i;else for(var f=0;f<i.length;++f)i[f].data.hook.insert(i[f])}function d(t,i,r,f){var e,y=i.tag,o=i.data,h=i.children,l,v;if(f=f||o&&o.pre,i.elm=t,u(i.isComment)&&n(i.asyncFactory))return i.isAsyncPlaceholder=!0,!0;if(n(o)&&(n(e=o.hook)&&n(e=e.init)&&e(i,!0),n(e=i.componentInstance)))return g(i,r),!0;if(n(y)){if(n(h))if(t.hasChildNodes())if(n(e=o)&&n(e=e.domProps)&&n(e=e.innerHTML)){if(e!==t.innerHTML)return!1}else{for(var a=!0,s=t.firstChild,c=0;c<h.length;c++){if(!s||!d(s,h[c],r,f)){a=!1;break}s=s.nextSibling}if(!a||s)return!1}else nt(i,h,r);if(n(o)){l=!1;for(v in o)if(!ft(v)){l=!0;b(i,r);break}!l&&o.class&&nu(o.class)}}else t.data!==i.text&&(t.data=i.text);return!0}for(var c,f={},y=i.modules,r=i.nodeOps,ft,o=0;o<vi.length;++o)for(f[vi[o]]=[],c=0;c<y.length;++c)n(y[c][vi[o]])&&f[vi[o]].push(y[c][vi[o]]);return ft=e("attrs,class,staticClass,staticStyle,key"),function(i,e,o,c){var it,rt,y,ft,p,et,l,ot,b,g,nt,tt;if(!t(e)){if(rt=!1,y=[],t(i))rt=!0,s(e,y);else if(ft=n(i.nodeType),!ft&&ri(i,e))h(i,e,y,null,null,c);else{if(ft){if(1===i.nodeType&&i.hasAttribute(sh)&&(i.removeAttribute(sh),o=!0),u(o)&&d(i,e,y))return ut(e,y,!0),i;it=i;i=new a(r.tagName(it).toLowerCase(),{},[],void 0,it)}if(p=i.elm,et=r.parentNode(p),s(e,y,p._leaveCb?null:et,r.nextSibling(p)),n(e.parent))for(l=e.parent,ot=w(e);l;){for(b=0;b<f.destroy.length;++b)f.destroy[b](l);if(l.elm=e.elm,ot){for(g=0;g<f.create.length;++g)f.create[g](wt,l);if(nt=l.data.hook.insert,nt.merged)for(tt=1;tt<nt.fns.length;tt++)nt.fns[tt]()}else ai(l);l=l.parent}n(et)?k(0,[i],0,0):n(i.tag)&&v(i)}return ut(e,y,rt),e.elm}n(i)&&v(i)}}({nodeOps:al,modules:[na,ra,va,pa,nv,l?{create:pv,activate:pv,remove:function(n,t){!0!==n.data.show?vv(n,t):t()}}:{}].concat(bl)});oi&&document.addEventListener("selectionchange",function(){var n=document.activeElement;n&&n.vmodel&&fs(n,"input")});us={inserted:function(n,t,i,r){"select"===i.tag?(r.elm&&!r.elm._vOptions?yt(i,"postpatch",function(){us.componentUpdated(n,t,i)}):bv(n,t,i.context),n._vOptions=[].map.call(n.options,bu)):("textarea"===i.tag||cu(n.type))&&(n._vModifiers=t.modifiers,t.modifiers.lazy||(n.addEventListener("compositionstart",bk),n.addEventListener("compositionend",gv),n.addEventListener("change",gv),oi&&(n.vmodel=!0)))},componentUpdated:function(n,t,i){if("select"===i.tag){bv(n,t,i.context);var u=n._vOptions,r=n._vOptions=[].map.call(n.options,bu);r.some(function(n,t){return!gt(n,u[t])})&&(n.multiple?t.value.some(function(n){return dv(n,r)}):t.value!==t.oldValue&&dv(t.value,r))&&fs(n,"change")}}};ny={model:us,show:{bind:function(n,t,i){var r=t.value,f=(i=es(i)).data&&i.data.transition,u=n.__vOriginalDisplay="none"===n.style.display?"":n.style.display;r&&f?(i.data.show=!0,is(i,function(){n.style.display=u})):n.style.display=r?u:"none"},update:function(n,t,i){var r=t.value;!r!=!t.oldValue&&((i=es(i)).data&&i.data.transition?(i.data.show=!0,r?is(i,function(){n.style.display=n.__vOriginalDisplay}):vv(i,function(){n.style.display="none"})):n.style.display=r?n.__vOriginalDisplay:"none")},unbind:function(n,t,i,r,u){u||(n.style.display=n.__vOriginalDisplay)}}};os={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};var kk=function(n){return n.tag||fu(n)},dk=function(n){return"show"===n.name},gk={name:"transition",props:os,abstract:!0,render:function(n){var l=this,e=this.$slots.default,o,u,t,f,h,v,c;if(e&&(e=e.filter(kk)).length){if((o=this.mode,u=e[0],function(n){for(;n=n.parent;)if(n.data.transition)return!0}(this.$vnode))||(t=ss(u),!t))return u;if(this._leaving)return iy(n,u);f="__transition-"+this._uid+"-";t.key=null==t.key?t.isComment?f+"comment":f+t.tag:bi(t.key)?0===String(t.key).indexOf(f)?t.key:f+t.key:t.key;var s=(t.data||(t.data={})).transition=ty(this),a=this._vnode,r=ss(a);if(t.data.directives&&t.data.directives.some(dk)&&(t.data.show=!0),r&&r.data&&!function(n,t){return t.key===n.key&&t.tag===n.tag}(t,r)&&!fu(r)&&(!r.componentInstance||!r.componentInstance._vnode.isComment)){if(h=r.data.transition=i({},s),"out-in"===o)return this._leaving=!0,yt(h,"afterLeave",function(){l._leaving=!1;l.$forceUpdate()}),iy(n,u);if("in-out"===o){if(fu(t))return a;c=function(){v()};yt(s,"afterEnter",c);yt(s,"enterCancelled",c);yt(h,"delayLeave",function(n){v=n})}}return u}}},ry=i({tag:String,moveClass:String},os);delete ry.mode;uy={Transition:gk,TransitionGroup:{props:ry,beforeMount:function(){var n=this,t=this._update;this._update=function(i,r){var u=wc(n);n.__patch__(n._vnode,n.kept,!1,!0);n._vnode=n.kept;u();t.call(n,i,r)}},render:function(n){for(var t,i,e=this.tag||this.$vnode.data.tag||"span",o=Object.create(null),r=this.prevChildren=this.children,s=this.$slots.default||[],h=this.children=[],c=ty(this),u=0;u<s.length;u++)t=s[u],t.tag&&null!=t.key&&0!==String(t.key).indexOf("__vlist")&&(h.push(t),o[t.key]=t,(t.data||(t.data={})).transition=c);if(r){for(var l=[],a=[],f=0;f<r.length;f++)i=r[f],i.data.transition=c,i.data.pos=i.elm.getBoundingClientRect(),o[i.key]?l.push(i):a.push(i);this.kept=n(e,null,l);this.removed=a}return n(e,null,h)},updated:function(){var n=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";n.length&&this.hasMove(n[0].elm,t)&&(n.forEach(nd),n.forEach(td),n.forEach(id),this._reflow=document.body.offsetHeight,n.forEach(function(n){if(n.data.moved){var i=n.elm,r=i.style;fi(i,t);r.transform=r.WebkitTransform=r.transitionDuration="";i.addEventListener(wu,i._moveCb=function n(r){r&&r.target!==i||r&&!/transform$/.test(r.propertyName)||(i.removeEventListener(wu,n),i._moveCb=null,st(i,t))})}}))},methods:{hasMove:function(n,t){var i,r;return fv?this._hasMove?this._hasMove:(i=n.cloneNode(),n._transitionClasses&&n._transitionClasses.forEach(function(n){iv(i,n)}),tv(i,t),i.style.display="none",this.$el.appendChild(i),r=cv(i),this.$el.removeChild(i),this._hasMove=r.hasTransform):!1}}}};r.config.mustUseProp=ol;r.config.isReservedTag=uo;r.config.isReservedAttr=gb;r.config.getTagNamespace=ll;r.config.isUnknownElement=function(n){if(!l)return!0;if(uo(n))return!1;if(n=n.toLowerCase(),null!=fr[n])return fr[n];var t=document.createElement(n);return fr[n]=n.indexOf("-")>-1?t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:/HTMLUnknownElement/.test(t.toString())};i(r.options.directives,ny);i(r.options.components,uy);r.prototype.__patch__=l?wv:o;r.prototype.$mount=function(n,t){return function(n,t,i){var r;return n.$el=t,n.$options.render||(n.$options.render=at),it(n,"beforeMount"),r=function(){n._update(n._render(),i)},new k(n,r,o,{before:function(){n._isMounted&&!n._isDestroyed&&it(n,"beforeUpdate")}},!0),i=!1,null==n.$vnode&&(n._isMounted=!0,it(n,"mounted")),n}(this,n=n&&l?fo(n):void 0,t)};l&&setTimeout(function(){y.devtools&&di&&di.emit("init",r)},0);var rd=/\{\{((?:.|\r?\n)+?)\}\}/g,fy=/[-.*+?^${}()|[\]\/\\]/g,ud=g(function(n){var t=n[0].replace(fy,"\\$&"),i=n[1].replace(fy,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+i,"g")}),fd={staticKeys:["staticClass"],transformNode:function(n,t){var i,r;t.warn;i=f(n,"class");i&&(n.staticClass=JSON.stringify(i));r=d(n,"class",!1);r&&(n.classBinding=r)},genData:function(n){var t="";return n.staticClass&&(t+="staticClass:"+n.staticClass+","),n.classBinding&&(t+="class:"+n.classBinding+","),t}},hs,ed={staticKeys:["staticStyle"],transformNode:function(n,t){var i,r;t.warn;i=f(n,"style");i&&(n.staticStyle=JSON.stringify(wo(i)));r=d(n,"style",!1);r&&(n.styleBinding=r)},genData:function(n){var t="";return n.staticStyle&&(t+="staticStyle:"+n.staticStyle+","),n.styleBinding&&(t+="style:("+n.styleBinding+"),"),t}},od=function(n){return(hs=hs||document.createElement("div")).innerHTML=n,hs.textContent},sd=e("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),hd=e("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),cd=e("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ld=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ad=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ey="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+ch.source+"]*",oy="((?:"+ey+"\\:)?"+ey+")",sy=new RegExp("^<"+oy),vd=/^\s*(\/?)>/,hy=new RegExp("^<\\/"+oy+"[^>]*>"),yd=/^<!DOCTYPE [^>]+>/i,cy=/^<!\--/,ly=/^<!\[/,ay=e("script,style,textarea",!0),vy={},pd={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},wd=/&(?:lt|gt|quot|amp|#39);/g,bd=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,kd=e("pre,textarea",!0),yy=function(n,t){return n&&kd(n)&&"\n"===t[0]};var py,wy,cs,ls,as,vs,ys,by,ky=/^@|^v-on:/,ps=/^v-|^@|^:/,gd=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,dy=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ng=/^\(|\)$/g,ku=/^\[.*\]$/,tg=/:(.*)$/,gy=/^:|^\.|^v-bind:/,np=/\.[^.\]]+(?=[^\]]*$)/g,ws=/^v-slot(:|$)|^#/,ig=/[\r\n]/,rg=/\s+/g,ug=g(od),du="_empty_";rp=/^xmlns:NS\d+/;up=/^NS\d+:/;var fp=[fd,ed,{preTransformNode:function(n,t){var r,u,e,o;if("input"===n.tag){if(u=n.attrsMap,!u["v-model"])return;if((u[":type"]||u["v-bind:type"])&&(r=d(n,"type")),u.type||r||!u["v-bind"]||(r="("+u["v-bind"]+").type"),r){var s=f(n,"v-if",!0),h=s?"&&("+s+")":"",l=null!=f(n,"v-else",!0),c=f(n,"v-else-if",!0),i=ks(n);return tp(i),lo(i,"type","checkbox"),gu(i,t),i.processed=!0,i.if="("+r+")==='checkbox'"+h,pi(i,{exp:i.if,block:i}),e=ks(n),f(e,"v-for",!0),lo(e,"type","radio"),gu(e,t),pi(i,{exp:"("+r+")==='radio'"+h,block:e}),o=ks(n),f(o,"v-for",!0),lo(o,":type",r),gu(o,t),pi(i,{exp:s,block:o}),l?i.else=!0:c&&(i.elseif=c),i}}}}],ep,ds,sg={expectHTML:!0,modules:fp,directives:{model:function(n,t){var i=t.value,r=t.modifiers,u=n.tag,f=n.attrsMap.type;if(n.component)return oa(n,i,r),!1;if("select"===u)!function(n,t,i){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(i&&i.number?"_n(val)":"val")+"});";r=r+" "+kt(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]");ot(n,"change",r,null,!0)}(n,i,r);else if("input"===u&&"checkbox"===f)!function(n,t,i){var f=i&&i.number,r=d(n,"value")||"null",u=d(n,"true-value")||"true",e=d(n,"false-value")||"false";ui(n,"checked","Array.isArray("+t+")?_i("+t+","+r+")>-1"+("true"===u?":("+t+")":":_q("+t+","+u+")"));ot(n,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+u+"):("+e+");if(Array.isArray($$a)){var $$v="+(f?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+kt(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+kt(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+kt(t,"$$c")+"}",null,!0)}(n,i,r);else if("input"===u&&"radio"===f)!function(n,t,i){var u=i&&i.number,r=d(n,"value")||"null";ui(n,"checked","_q("+t+","+(r=u?"_n("+r+")":r)+")");ot(n,"change",kt(t,r),null,!0)}(n,i,r);else if("input"===u||"textarea"===u)!function(n,t,i){var e=n.attrsMap.type,f=i||{},o=f.lazy,s=f.number,h=f.trim,c=!o&&"range"!==e,l=o?"change":"range"===e?cr:"input",r="$event.target.value",u;h&&(r="$event.target.value.trim()");s&&(r="_n("+r+")");u=kt(t,r);c&&(u="if($event.target.composing)return;"+u);ui(n,"value","("+t+")");ot(n,l,u,null,!0);(h||s)&&ot(n,"blur","$forceUpdate()")}(n,i,r);else if(!y.isReservedTag(u))return oa(n,i,r),!1;return!0},text:function(n,t){t.value&&ui(n,"textContent","_s("+t.value+")",t)},html:function(n,t){t.value&&ui(n,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(n){return"pre"===n},isUnaryTag:sd,mustUseProp:ol,canBeLeftOpenTag:hd,isReservedTag:uo,getTagNamespace:ll,staticKeys:function(n){return n.reduce(function(n,t){return n.concat(t.staticKeys||[])},[]).join(",")}(fp)},hg=g(function(n){return e("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(n?","+n:""))});var lg=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*(?:[\w$]+)?\s*\(/,ag=/\([^)]*?\);*$/,op=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,sp={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,"delete":[8,46]},vg={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],"delete":["Backspace","Delete","Del"]},ht=function(n){return"if("+n+")return null;"},hp={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ht("$event.target !== $event.currentTarget"),ctrl:ht("!$event.ctrlKey"),shift:ht("!$event.shiftKey"),alt:ht("!$event.altKey"),meta:ht("!$event.metaKey"),left:ht("'button' in $event && $event.button !== 0"),middle:ht("'button' in $event && $event.button !== 1"),right:ht("'button' in $event && $event.button !== 2")};ap={on:function(n,t){n.wrapListeners=function(n){return"_g("+n+","+t.value+")"}},bind:function(n,t){n.wrapData=function(i){return"_b("+i+",'"+n.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:o};vp=function(n){this.options=n;this.warn=n.warn||fa;this.transforms=or(n.modules,"transformCode");this.dataGenFns=or(n.modules,"genData");this.directives=i(i({},ap),n.directives);var t=n.isReservedTag||nt;this.maybeComponent=function(n){return!!n.component||!t(n.tag)};this.onceId=0;this.staticRenderFns=[];this.pre=!1};new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b");ih=(iw=function(n,t){var i=fg(n.trim(),t),r;return!1!==t.optimize&&cg(i,t),r=yp(i,t),{ast:i,render:r.render,staticRenderFns:r.staticRenderFns}},function(n){function t(t,r){var u=Object.create(n),o=[],s=[],f,e;if(r)for(f in r.modules&&(u.modules=(n.modules||[]).concat(r.modules)),r.directives&&(u.directives=i(Object.create(n.directives||null),r.directives)),r)"modules"!==f&&"directives"!==f&&(u[f]=r[f]);return u.warn=function(n,t,i){(i?s:o).push(n)},e=iw(t.trim(),u),e.errors=o,e.tips=s,e}return{compile:t,compileToFunctions:wg(t)}})(sg);rh=(ih.compile,ih.compileToFunctions);var bg=!!l&&rw(!1),kg=!!l&&rw(!0),dg=g(function(n){var t=fo(n);return t&&t.innerHTML}),gg=r.prototype.$mount;return r.prototype.$mount=function(n,t){var r,i;if((n=n&&fo(n))===document.body||n===document.documentElement)return this;if(r=this.$options,!r.render){if(i=r.template,i)if("string"==typeof i)"#"===i.charAt(0)&&(i=dg(i));else{if(!i.nodeType)return this;i=i.innerHTML}else n&&(i=function(n){if(n.outerHTML)return n.outerHTML;var t=document.createElement("div");return t.appendChild(n.cloneNode(!0)),t.innerHTML}(n));if(i){var u=rh(i,{outputSourceRange:!1,shouldDecodeNewlines:bg,shouldDecodeNewlinesForHref:kg,delimiters:r.delimiters,comments:r.comments},this),f=u.render,e=u.staticRenderFns;r.render=f;r.staticRenderFns=e}}return gg.call(this,n,t)},r.compile=rh,r}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(n){"use strict";var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3");}(jQuery);+function(n){"use strict";function t(){var i=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var t in n)if(void 0!==i.style[t])return{end:n[t]};return!1}n.fn.emulateTransitionEnd=function(t){var i=!1,u=this,r;n(this).one("bsTransitionEnd",function(){i=!0});return r=function(){i||n(u).trigger(n.support.transition.end)},setTimeout(r,t),this};n(function(){n.support.transition=t();n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery);+function(n){"use strict";function u(i){return this.each(function(){var r=n(this),u=r.data("bs.alert");u||r.data("bs.alert",u=new t(this));"string"==typeof i&&u[i].call(r)})}var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.VERSION="3.3.6";t.TRANSITION_DURATION=150;t.prototype.close=function(i){function e(){r.detach().trigger("closed.bs.alert").remove()}var f=n(this),u=f.attr("data-target"),r;u||(u=f.attr("href"),u=u&&u.replace(/.*(?=#[^\s]*$)/,""));r=n(u);i&&i.preventDefault();r.length||(r=f.closest(".alert"));r.trigger(i=n.Event("close.bs.alert"));i.isDefaultPrevented()||(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e())};r=n.fn.alert;n.fn.alert=u;n.fn.alert.Constructor=t;n.fn.alert.noConflict=function(){return n.fn.alert=r,this};n(document).on("click.bs.alert.data-api",i,t.prototype.close)}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f="object"==typeof i&&i;r||u.data("bs.button",r=new t(this,f));"toggle"==i?r.toggle():i&&r.setState(i)})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.isLoading=!1},r;t.VERSION="3.3.6";t.DEFAULTS={loadingText:"loading..."};t.prototype.setState=function(t){var r="disabled",i=this.$element,f=i.is("input")?"val":"html",u=i.data();t+="Text";null==u.resetText&&i.data("resetText",i[f]());setTimeout(n.proxy(function(){i[f](null==u[t]?this.options[t]:u[t]);"loadingText"==t?(this.isLoading=!0,i.addClass(r).attr(r,r)):this.isLoading&&(this.isLoading=!1,i.removeClass(r).removeAttr(r))},this),0)};t.prototype.toggle=function(){var t=!0,i=this.$element.closest('[data-toggle="buttons"]'),n;i.length?(n=this.$element.find("input"),"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),i.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};r=n.fn.button;n.fn.button=i;n.fn.button.Constructor=t;n.fn.button.noConflict=function(){return n.fn.button=r,this};n(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=n(t.target);r.hasClass("btn")||(r=r.closest(".btn"));i.call(r,"toggle");n(t.target).is('input[type="radio"]')||n(t.target).is('input[type="checkbox"]')||t.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){n(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i),e="string"==typeof i?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));"number"==typeof i?r.to(i):e?r[e]():f.interval&&r.pause().cycle()})}var t=function(t,i){this.$element=n(t);this.$indicators=this.$element.find(".carousel-indicators");this.options=i;this.paused=null;this.sliding=null;this.interval=null;this.$active=null;this.$items=null;this.options.keyboard&&this.$element.on("keydown.bs.carousel",n.proxy(this.keydown,this));"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",n.proxy(this.pause,this)).on("mouseleave.bs.carousel",n.proxy(this.cycle,this))},u,r;t.VERSION="3.3.6";t.TRANSITION_DURATION=600;t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0};t.prototype.keydown=function(n){if(!/input|textarea/i.test(n.target.tagName)){switch(n.which){case 37:this.prev();break;case 39:this.next();break;default:return}n.preventDefault()}};t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this};t.prototype.getItemIndex=function(n){return this.$items=n.parent().children(".item"),this.$items.index(n||this.$active)};t.prototype.getItemForDirection=function(n,t){var i=this.getItemIndex(t),f="prev"==n&&0===i||"next"==n&&i==this.$items.length-1,r,u;return f&&!this.options.wrap?t:(r="prev"==n?-1:1,u=(i+r)%this.$items.length,this.$items.eq(u))};t.prototype.to=function(n){var i=this,t=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(n>this.$items.length-1)&&!(0>n))return this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(n)}):t==n?this.pause().cycle():this.slide(n>t?"next":"prev",this.$items.eq(n))};t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};t.prototype.next=function(){if(!this.sliding)return this.slide("next")};t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};t.prototype.slide=function(i,r){var e=this.$element.find(".item.active"),u=r||this.getItemForDirection(i,e),l=this.interval,f="next"==i?"left":"right",a=this,o,s,h,c;return u.hasClass("active")?this.sliding=!1:(o=u[0],s=n.Event("slide.bs.carousel",{relatedTarget:o,direction:f}),(this.$element.trigger(s),!s.isDefaultPrevented())?((this.sliding=!0,l&&this.pause(),this.$indicators.length)&&(this.$indicators.find(".active").removeClass("active"),h=n(this.$indicators.children()[this.getItemIndex(u)]),h&&h.addClass("active")),c=n.Event("slid.bs.carousel",{relatedTarget:o,direction:f}),n.support.transition&&this.$element.hasClass("slide")?(u.addClass(i),u[0].offsetWidth,e.addClass(f),u.addClass(f),e.one("bsTransitionEnd",function(){u.removeClass([i,f].join(" ")).addClass("active");e.removeClass(["active",f].join(" "));a.sliding=!1;setTimeout(function(){a.$element.trigger(c)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(e.removeClass("active"),u.addClass("active"),this.sliding=!1,this.$element.trigger(c)),l&&this.cycle(),this):void 0)};u=n.fn.carousel;n.fn.carousel=i;n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=u,this};r=function(t){var o,r=n(this),u=n(r.attr("data-target")||(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"")),e,f;u.hasClass("carousel")&&(e=n.extend({},u.data(),r.data()),f=r.attr("data-slide-to"),f&&(e.interval=!1),i.call(u,e),f&&u.data("bs.carousel").to(f),t.preventDefault())};n(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r);n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery);+function(n){"use strict";function r(t){var i,r=t.attr("data-target")||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return n(r)}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.collapse"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i);!r&&f.toggle&&/show|hide/.test(i)&&(f.toggle=!1);r||u.data("bs.collapse",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.$trigger=n('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]');this.transitioning=null;this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger);this.options.toggle&&this.toggle()},u;t.VERSION="3.3.6";t.TRANSITION_DURATION=350;t.DEFAULTS={toggle:!0};t.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"};t.prototype.show=function(){var f,r,e,u,o,s;if(!this.transitioning&&!this.$element.hasClass("in")&&(r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing"),!(r&&r.length&&(f=r.data("bs.collapse"),f&&f.transitioning))&&(e=n.Event("show.bs.collapse"),this.$element.trigger(e),!e.isDefaultPrevented()))){if(r&&r.length&&(i.call(r,"hide"),f||r.data("bs.collapse",null)),u=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[u](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[u]("");this.transitioning=0;this.$element.trigger("shown.bs.collapse")},!n.support.transition)return o.call(this);s=n.camelCase(["scroll",u].join("-"));this.$element.one("bsTransitionEnd",n.proxy(o,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[u](this.$element[0][s])}};t.prototype.hide=function(){var r,i,u;if(!this.transitioning&&this.$element.hasClass("in")&&(r=n.Event("hide.bs.collapse"),this.$element.trigger(r),!r.isDefaultPrevented()))return i=this.dimension(),this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,u=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},n.support.transition?void this.$element[i](0).one("bsTransitionEnd",n.proxy(u,this)).emulateTransitionEnd(t.TRANSITION_DURATION):u.call(this)};t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};t.prototype.getParent=function(){return n(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(n.proxy(function(t,i){var u=n(i);this.addAriaAndCollapsedClass(r(u),u)},this)).end()};t.prototype.addAriaAndCollapsedClass=function(n,t){var i=n.hasClass("in");n.attr("aria-expanded",i);t.toggleClass("collapsed",!i).attr("aria-expanded",i)};u=n.fn.collapse;n.fn.collapse=i;n.fn.collapse.Constructor=t;n.fn.collapse.noConflict=function(){return n.fn.collapse=u,this};n(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var u=n(this);u.attr("data-target")||t.preventDefault();var f=r(u),e=f.data("bs.collapse"),o=e?"toggle":u.data();i.call(f,o)})}(jQuery);+function(n){"use strict";function r(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=i&&n(i),r&&r.length?r:t.parent()}function u(t){t&&3===t.which||(n(o).remove(),n(i).each(function(){var u=n(this),i=r(u),f={relatedTarget:this};i.hasClass("open")&&(t&&"click"==t.type&&/input|textarea/i.test(t.target.tagName)&&n.contains(i[0],t.target)||(i.trigger(t=n.Event("hide.bs.dropdown",f)),t.isDefaultPrevented()||(u.attr("aria-expanded","false"),i.removeClass("open").trigger(n.Event("hidden.bs.dropdown",f)))))}))}function e(i){return this.each(function(){var r=n(this),u=r.data("bs.dropdown");u||r.data("bs.dropdown",u=new t(this));"string"==typeof i&&u[i].call(r)})}var o=".dropdown-backdrop",i='[data-toggle="dropdown"]',t=function(t){n(t).on("click.bs.dropdown",this.toggle)},f;t.VERSION="3.3.6";t.prototype.toggle=function(t){var f=n(this),i,o,e;if(!f.is(".disabled, :disabled")){if(i=r(f),o=i.hasClass("open"),u(),!o){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&n(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(n(this)).on("click",u),e={relatedTarget:this},i.trigger(t=n.Event("show.bs.dropdown",e)),t.isDefaultPrevented())return;f.trigger("focus").attr("aria-expanded","true");i.toggleClass("open").trigger(n.Event("shown.bs.dropdown",e))}return!1}};t.prototype.keydown=function(t){var e,o,s,h,f,u;if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(e=n(this),t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled"))){if(o=r(e),s=o.hasClass("open"),!s&&27!=t.which||s&&27==t.which)return 27==t.which&&o.find(i).trigger("focus"),e.trigger("click");h=" li:not(.disabled):visible a";f=o.find(".dropdown-menu"+h);f.length&&(u=f.index(t.target),38==t.which&&u>0&&u--,40==t.which&&u<f.length-1&&u++,~u||(u=0),f.eq(u).trigger("focus"))}};f=n.fn.dropdown;n.fn.dropdown=e;n.fn.dropdown.Constructor=t;n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this};n(document).on("click.bs.dropdown.data-api",u).on("click.bs.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()}).on("click.bs.dropdown.data-api",i,t.prototype.toggle).on("keydown.bs.dropdown.data-api",i,t.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",t.prototype.keydown)}(jQuery);+function(n){"use strict";function i(i,r){return this.each(function(){var f=n(this),u=f.data("bs.modal"),e=n.extend({},t.DEFAULTS,f.data(),"object"==typeof i&&i);u||f.data("bs.modal",u=new t(this,e));"string"==typeof i?u[i](r):e.show&&u.show(r)})}var t=function(t,i){this.options=i;this.$body=n(document.body);this.$element=n(t);this.$dialog=this.$element.find(".modal-dialog");this.$backdrop=null;this.isShown=null;this.originalBodyPad=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,n.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))},r;t.VERSION="3.3.6";t.TRANSITION_DURATION=300;t.BACKDROP_TRANSITION_DURATION=150;t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};t.prototype.toggle=function(n){return this.isShown?this.hide():this.show(n)};t.prototype.show=function(i){var r=this,u=n.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(u);this.isShown||u.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',n.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){n(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var f=n.support.transition&&r.$element.hasClass("fade"),u;r.$element.parent().length||r.$element.appendTo(r.$body);r.$element.show().scrollTop(0);r.adjustDialog();f&&r.$element[0].offsetWidth;r.$element.addClass("in");r.enforceFocus();u=n.Event("shown.bs.modal",{relatedTarget:i});f?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(u)}).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(u)}))};t.prototype.hide=function(i){i&&i.preventDefault();i=n.Event("hide.bs.modal");this.$element.trigger(i);this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),n(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),n.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",n.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())};t.prototype.enforceFocus=function(){n(document).off("focusin.bs.modal").on("focusin.bs.modal",n.proxy(function(n){this.$element[0]===n.target||this.$element.has(n.target).length||this.$element.trigger("focus")},this))};t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",n.proxy(function(n){27==n.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")};t.prototype.resize=function(){this.isShown?n(window).on("resize.bs.modal",n.proxy(this.handleUpdate,this)):n(window).off("resize.bs.modal")};t.prototype.hideModal=function(){var n=this;this.$element.hide();this.backdrop(function(){n.$body.removeClass("modal-open");n.resetAdjustments();n.resetScrollbar();n.$element.trigger("hidden.bs.modal")})};t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};t.prototype.backdrop=function(i){var e=this,f=this.$element.hasClass("fade")?"fade":"",r,u;if(this.isShown&&this.options.backdrop){if(r=n.support.transition&&f,this.$backdrop=n(document.createElement("div")).addClass("modal-backdrop "+f).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",n.proxy(function(n){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(n.target===n.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;r?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):i()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),u=function(){e.removeBackdrop();i&&i()},n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",u).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):u()):i&&i()};t.prototype.handleUpdate=function(){this.adjustDialog()};t.prototype.adjustDialog=function(){var n=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&n?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!n?this.scrollbarWidth:""})};t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};t.prototype.checkScrollbar=function(){var n=window.innerWidth,t;n||(t=document.documentElement.getBoundingClientRect(),n=t.right-Math.abs(t.left));this.bodyIsOverflowing=document.body.clientWidth<n;this.scrollbarWidth=this.measureScrollbar()};t.prototype.setScrollbar=function(){var n=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";this.bodyIsOverflowing&&this.$body.css("padding-right",n+this.scrollbarWidth)};t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)};t.prototype.measureScrollbar=function(){var n=document.createElement("div"),t;return n.className="modal-scrollbar-measure",this.$body.append(n),t=n.offsetWidth-n.clientWidth,this.$body[0].removeChild(n),t};r=n.fn.modal;n.fn.modal=i;n.fn.modal.Constructor=t;n.fn.modal.noConflict=function(){return n.fn.modal=r,this};n(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=n(this),f=r.attr("href"),u=n(r.attr("data-target")||f&&f.replace(/.*(?=#[^\s]+$)/,"")),e=u.data("bs.modal")?"toggle":n.extend({remote:!/#/.test(f)&&f},u.data(),r.data());r.is("a")&&t.preventDefault();u.one("show.bs.modal",function(n){n.isDefaultPrevented()||u.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})});i.call(u,e,this)})}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tooltip"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.tooltip",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.type=null;this.options=null;this.enabled=null;this.timeout=null;this.hoverState=null;this.$element=null;this.inState=null;this.init("tooltip",n,t)},i;t.VERSION="3.3.6";t.TRANSITION_DURATION=150;t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}};t.prototype.init=function(t,i,r){var f,e,u,o,s;if(this.enabled=!0,this.type=t,this.$element=n(i),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&n(n.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(f=this.options.trigger.split(" "),e=f.length;e--;)if(u=f[e],"click"==u)this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else"manual"!=u&&(o="hover"==u?"mouseenter":"focusin",s="hover"==u?"mouseleave":"focusout",this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.leave,this)));this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.getOptions=function(t){return t=n.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t};t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&n.each(this._options,function(n,r){i[n]!=r&&(t[n]=r)}),t};t.prototype.enter=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState["focusin"==t.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())};t.prototype.isInStateTrue=function(){for(var n in this.inState)if(this.inState[n])return!0;return!1};t.prototype.leave=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState["focusout"==t.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide())};t.prototype.show=function(){var c=n.Event("show.bs."+this.type),l,p,e,w,h;if(this.hasContent()&&this.enabled){if(this.$element.trigger(c),l=n.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),c.isDefaultPrevented()||!l)return;var u=this,r=this.tip(),a=this.getUID(this.type);this.setContent();r.attr("id",a);this.$element.attr("aria-describedby",a);this.options.animation&&r.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,v=/\s?auto?\s?/i,y=v.test(i);y&&(i=i.replace(v,"")||"top");r.detach().css({top:0,left:0,display:"block"}).addClass(i).data("bs."+this.type,this);this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);this.$element.trigger("inserted.bs."+this.type);var f=this.getPosition(),o=r[0].offsetWidth,s=r[0].offsetHeight;y&&(p=i,e=this.getPosition(this.$viewport),i="bottom"==i&&f.bottom+s>e.bottom?"top":"top"==i&&f.top-s<e.top?"bottom":"right"==i&&f.right+o>e.width?"left":"left"==i&&f.left-o<e.left?"right":i,r.removeClass(p).addClass(i));w=this.getCalculatedOffset(i,f,o,s);this.applyPlacement(w,i);h=function(){var n=u.hoverState;u.$element.trigger("shown.bs."+u.type);u.hoverState=null;"out"==n&&u.leave(u)};n.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",h).emulateTransitionEnd(t.TRANSITION_DURATION):h()}};t.prototype.applyPlacement=function(t,i){var r=this.tip(),l=r[0].offsetWidth,e=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10),h,f,u;isNaN(o)&&(o=0);isNaN(s)&&(s=0);t.top+=o;t.left+=s;n.offset.setOffset(r[0],n.extend({using:function(n){r.css({top:Math.round(n.top),left:Math.round(n.left)})}},t),0);r.addClass("in");h=r[0].offsetWidth;f=r[0].offsetHeight;"top"==i&&f!=e&&(t.top=t.top+e-f);u=this.getViewportAdjustedDelta(i,t,h,f);u.left?t.left+=u.left:t.top+=u.top;var c=/top|bottom/.test(i),a=c?2*u.left-l+h:2*u.top-e+f,v=c?"offsetWidth":"offsetHeight";r.offset(t);this.replaceArrow(a,r[0][v],c)};t.prototype.replaceArrow=function(n,t,i){this.arrow().css(i?"left":"top",50*(1-n/t)+"%").css(i?"top":"left","")};t.prototype.setContent=function(){var n=this.tip(),t=this.getTitle();n.find(".tooltip-inner")[this.options.html?"html":"text"](t);n.removeClass("fade in top bottom left right")};t.prototype.hide=function(i){function f(){"in"!=u.hoverState&&r.detach();u.$element.removeAttr("aria-describedby").trigger("hidden.bs."+u.type);i&&i()}var u=this,r=n(this.$tip),e=n.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",f).emulateTransitionEnd(t.TRANSITION_DURATION):f(),this.hoverState=null,this)};t.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||"string"!=typeof n.attr("data-original-title"))&&n.attr("data-original-title",n.attr("title")||"").attr("title","")};t.prototype.hasContent=function(){return this.getTitle()};t.prototype.getPosition=function(t){t=t||this.$element;var u=t[0],r="BODY"==u.tagName,i=u.getBoundingClientRect();null==i.width&&(i=n.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var f=r?{top:0,left:0}:t.offset(),e={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},o=r?{width:n(window).width(),height:n(window).height()}:null;return n.extend({},i,e,o,f)};t.prototype.getCalculatedOffset=function(n,t,i,r){return"bottom"==n?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==n?{top:t.top-r,left:t.left+t.width/2-i/2}:"left"==n?{top:t.top+t.height/2-r/2,left:t.left-i}:{top:t.top+t.height/2-r/2,left:t.left+t.width}};t.prototype.getViewportAdjustedDelta=function(n,t,i,r){var f={top:0,left:0},e,u,o,s,h,c;return this.$viewport?(e=this.options.viewport&&this.options.viewport.padding||0,u=this.getPosition(this.$viewport),/right|left/.test(n)?(o=t.top-e-u.scroll,s=t.top+e-u.scroll+r,o<u.top?f.top=u.top-o:s>u.top+u.height&&(f.top=u.top+u.height-s)):(h=t.left-e,c=t.left+e+i,h<u.left?f.left=u.left-h:c>u.right&&(f.left=u.left+u.width-c)),f):f};t.prototype.getTitle=function(){var t=this.$element,n=this.options;return t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)};t.prototype.getUID=function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n};t.prototype.tip=function(){if(!this.$tip&&(this.$tip=n(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};t.prototype.enable=function(){this.enabled=!0};t.prototype.disable=function(){this.enabled=!1};t.prototype.toggleEnabled=function(){this.enabled=!this.enabled};t.prototype.toggle=function(t){var i=this;t&&(i=n(t.currentTarget).data("bs."+this.type),i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)));t?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)};t.prototype.destroy=function(){var n=this;clearTimeout(this.timeout);this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type);n.$tip&&n.$tip.detach();n.$tip=null;n.$arrow=null;n.$viewport=null})};i=n.fn.tooltip;n.fn.tooltip=r;n.fn.tooltip.Constructor=t;n.fn.tooltip.noConflict=function(){return n.fn.tooltip=i,this}}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.popover"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.popover",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.init("popover",n,t)},i;if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.6";t.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-title"><\/h3><div class="popover-content"><\/div><\/div>'});t.prototype=n.extend({},n.fn.tooltip.Constructor.prototype);t.prototype.constructor=t;t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.setContent=function(){var n=this.tip(),i=this.getTitle(),t=this.getContent();n.find(".popover-title")[this.options.html?"html":"text"](i);n.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof t?"html":"append":"text"](t);n.removeClass("fade top bottom left right in");n.find(".popover-title").html()||n.find(".popover-title").hide()};t.prototype.hasContent=function(){return this.getTitle()||this.getContent()};t.prototype.getContent=function(){var t=this.$element,n=this.options;return t.attr("data-content")||("function"==typeof n.content?n.content.call(t[0]):n.content)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};i=n.fn.popover;n.fn.popover=r;n.fn.popover.Constructor=t;n.fn.popover.noConflict=function(){return n.fn.popover=i,this}}(jQuery);+function(n){"use strict";function t(i,r){this.$body=n(document.body);this.$scrollElement=n(n(i).is(document.body)?window:i);this.options=n.extend({},t.DEFAULTS,r);this.selector=(this.options.target||"")+" .nav li > a";this.offsets=[];this.targets=[];this.activeTarget=null;this.scrollHeight=0;this.$scrollElement.on("scroll.bs.scrollspy",n.proxy(this.process,this));this.refresh();this.process()}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.scrollspy"),f="object"==typeof i&&i;r||u.data("bs.scrollspy",r=new t(this,f));"string"==typeof i&&r[i]()})}t.VERSION="3.3.6";t.DEFAULTS={offset:10};t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)};t.prototype.refresh=function(){var t=this,i="offset",r=0;this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();n.isWindow(this.$scrollElement[0])||(i="position",r=this.$scrollElement.scrollTop());this.$body.find(this.selector).map(function(){var f=n(this),u=f.data("target")||f.attr("href"),t=/^#./.test(u)&&n(u);return t&&t.length&&t.is(":visible")&&[[t[i]().top+r,u]]||null}).sort(function(n,t){return n[0]-t[0]}).each(function(){t.offsets.push(this[0]);t.targets.push(this[1])})};t.prototype.process=function(){var n,i=this.$scrollElement.scrollTop()+this.options.offset,f=this.getScrollHeight(),e=this.options.offset+f-this.$scrollElement.height(),t=this.offsets,r=this.targets,u=this.activeTarget;if(this.scrollHeight!=f&&this.refresh(),i>=e)return u!=(n=r[r.length-1])&&this.activate(n);if(u&&i<t[0])return this.activeTarget=null,this.clear();for(n=t.length;n--;)u!=r[n]&&i>=t[n]&&(void 0===t[n+1]||i<t[n+1])&&this.activate(r[n])};t.prototype.activate=function(t){this.activeTarget=t;this.clear();var r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=n(r).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active"));i.trigger("activate.bs.scrollspy")};t.prototype.clear=function(){n(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=n.fn.scrollspy;n.fn.scrollspy=i;n.fn.scrollspy.Constructor=t;n.fn.scrollspy.noConflict=function(){return n.fn.scrollspy=r,this};n(window).on("load.bs.scrollspy.data-api",function(){n('[data-spy="scroll"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tab");r||u.data("bs.tab",r=new t(this));"string"==typeof i&&r[i]()})}var t=function(t){this.element=n(t)},u,i;t.VERSION="3.3.6";t.TRANSITION_DURATION=150;t.prototype.show=function(){var t=this.element,f=t.closest("ul:not(.dropdown-menu)"),i=t.data("target"),u;if(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=f.find(".active:last a"),e=n.Event("hide.bs.tab",{relatedTarget:t[0]}),o=n.Event("show.bs.tab",{relatedTarget:r[0]});(r.trigger(e),t.trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(u=n(i),this.activate(t.closest("li"),f),this.activate(u,u.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]});t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}};t.prototype.activate=function(i,r,u){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1);i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0);o?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade");i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0);u&&u()}var f=r.find("> .active"),o=u&&n.support.transition&&(f.length&&f.hasClass("fade")||!!r.find("> .fade").length);f.length&&o?f.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e();f.removeClass("in")};u=n.fn.tab;n.fn.tab=r;n.fn.tab.Constructor=t;n.fn.tab.noConflict=function(){return n.fn.tab=u,this};i=function(t){t.preventDefault();r.call(n(this),"show")};n(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.affix"),f="object"==typeof i&&i;r||u.data("bs.affix",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.options=n.extend({},t.DEFAULTS,r);this.$target=n(this.options.target).on("scroll.bs.affix.data-api",n.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",n.proxy(this.checkPositionWithEventLoop,this));this.$element=n(i);this.affixed=null;this.unpin=null;this.pinnedOffset=null;this.checkPosition()},r;t.VERSION="3.3.6";t.RESET="affix affix-top affix-bottom";t.DEFAULTS={offset:0,target:window};t.prototype.getState=function(n,t,i,r){var u=this.$target.scrollTop(),f=this.$element.offset(),e=this.$target.height();if(null!=i&&"top"==this.affixed)return i>u?"top":!1;if("bottom"==this.affixed)return null!=i?u+this.unpin<=f.top?!1:"bottom":n-r>=u+e?!1:"bottom";var o=null==this.affixed,s=o?u:f.top,h=o?e:t;return null!=i&&i>=u?"top":null!=r&&s+h>=n-r?"bottom":!1};t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var n=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-n};t.prototype.checkPositionWithEventLoop=function(){setTimeout(n.proxy(this.checkPosition,this),1)};t.prototype.checkPosition=function(){var i,e,o;if(this.$element.is(":visible")){var s=this.$element.height(),r=this.options.offset,f=r.top,u=r.bottom,h=Math.max(n(document).height(),n(document.body).height());if("object"!=typeof r&&(u=f=r),"function"==typeof f&&(f=r.top(this.$element)),"function"==typeof u&&(u=r.bottom(this.$element)),i=this.getState(h,s,f,u),this.affixed!=i){if(null!=this.unpin&&this.$element.css("top",""),e="affix"+(i?"-"+i:""),o=n.Event(e+".bs.affix"),this.$element.trigger(o),o.isDefaultPrevented())return;this.affixed=i;this.unpin="bottom"==i?this.getPinnedOffset():null;this.$element.removeClass(t.RESET).addClass(e).trigger(e.replace("affix","affixed")+".bs.affix")}"bottom"==i&&this.$element.offset({top:h-s-u})}};r=n.fn.affix;n.fn.affix=i;n.fn.affix.Constructor=t;n.fn.affix.noConflict=function(){return n.fn.affix=r,this};n(window).on("load",function(){n('[data-spy="affix"]').each(function(){var r=n(this),t=r.data();t.offset=t.offset||{};null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom);null!=t.offsetTop&&(t.offset.top=t.offsetTop);i.call(r,t)})})}(jQuery);!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):n("object"==typeof exports?require("jquery"):jQuery)}(function(n,t){function u(){return new Date(Date.UTC.apply(Date,arguments))}function h(){var n=new Date;return u(n.getFullYear(),n.getMonth(),n.getDate())}function y(n,t){return n.getUTCFullYear()===t.getUTCFullYear()&&n.getUTCMonth()===t.getUTCMonth()&&n.getUTCDate()===t.getUTCDate()}function c(n){return function(){return this[n].apply(this,arguments)}}function p(n){return n&&!isNaN(n.getTime())}function w(t,i){function o(n,t){return t.toLowerCase()}var u,f=n(t).data(),e={},s=new RegExp("^"+i.toLowerCase()+"([A-Z])"),r;i=new RegExp("^"+i.toLowerCase());for(r in f)i.test(r)&&(u=r.replace(s,o),e[u]=f[r]);return e}function b(t){var u={},i;if(r[t]||(t=t.split("-")[0],r[t]))return i=r[t],n.each(v,function(n,t){t in i&&(u[t]=i[t])}),u}var l=function(){var t={get:function(n){return this.slice(n)[0]},contains:function(n){for(var i=n&&n.valueOf(),t=0,r=this.length;r>t;t++)if(this[t].valueOf()===i)return t;return-1},remove:function(n){this.splice(n,1)},replace:function(t){t&&(n.isArray(t)||(t=[t]),this.clear(),this.push.apply(this,t))},clear:function(){this.length=0},copy:function(){var n=new l;return n.replace(this),n}};return function(){var i=[];return i.push.apply(i,arguments),n.extend(i,t),i}}(),f=function(t,r){n(t).data("datepicker",this);this._process_options(r);this.dates=new l;this.viewDate=this.o.defaultViewDate;this.focusDate=null;this.element=n(t);this.isInline=!1;this.isInput=this.element.is("input");this.component=this.element.hasClass("date")?this.element.find(".add-on, .input-group-addon, .btn"):!1;this.hasInput=this.component&&this.element.find("input").length;this.component&&0===this.component.length&&(this.component=!1);this.picker=n(i.template);this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow);this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow);this._buildEvents();this._attachEvents();this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu");this.o.rtl&&this.picker.addClass("datepicker-rtl");this.viewMode=this.o.startView;this.o.calendarWeeks&&this.picker.find("thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(n,t){return parseInt(t)+1});this._allow_update=!1;this.setStartDate(this._o.startDate);this.setEndDate(this._o.endDate);this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled);this.setDaysOfWeekHighlighted(this.o.daysOfWeekHighlighted);this.setDatesDisabled(this.o.datesDisabled);this.fillDow();this.fillMonths();this._allow_update=!0;this.update();this.showMode();this.isInline&&this.show()},o,a,e,s,v,r,i;f.prototype={constructor:f,_resolveViewName:function(n,i){return 0===n||"days"===n||"month"===n?0:1===n||"months"===n||"year"===n?1:2===n||"years"===n||"decade"===n?2:3===n||"decades"===n||"century"===n?3:4===n||"centuries"===n||"millennium"===n?4:i===t?!1:i},_check_template:function(i){try{if(i===t||""===i)return!1;if((i.match(/[<>]/g)||[]).length<=0)return!0;var r=n(i);return r.length>0}catch(u){return!1}},_process_options:function(t){var f,o,l,a,e,c;if(this._o=n.extend({},this._o,t),f=this.o=n.extend({},this._o),o=f.language,r[o]||(o=o.split("-")[0],r[o]||(o=s.language)),f.language=o,f.startView=this._resolveViewName(f.startView,0),f.minViewMode=this._resolveViewName(f.minViewMode,0),f.maxViewMode=this._resolveViewName(f.maxViewMode,4),f.startView=Math.min(f.startView,f.maxViewMode),f.startView=Math.max(f.startView,f.minViewMode),f.multidate!==!0&&(f.multidate=Number(f.multidate)||!1,f.multidate!==!1&&(f.multidate=Math.max(0,f.multidate))),f.multidateSeparator=String(f.multidateSeparator),f.weekStart%=7,f.weekEnd=(f.weekStart+6)%7,l=i.parseFormat(f.format),(f.startDate!==-(1/0)&&(f.startDate=f.startDate?f.startDate instanceof Date?this._local_to_utc(this._zero_time(f.startDate)):i.parseDate(f.startDate,l,f.language,f.assumeNearbyYear):-(1/0)),f.endDate!==1/0&&(f.endDate=f.endDate?f.endDate instanceof Date?this._local_to_utc(this._zero_time(f.endDate)):i.parseDate(f.endDate,l,f.language,f.assumeNearbyYear):1/0),f.daysOfWeekDisabled=f.daysOfWeekDisabled||[],n.isArray(f.daysOfWeekDisabled)||(f.daysOfWeekDisabled=f.daysOfWeekDisabled.split(/[,\s]*/)),f.daysOfWeekDisabled=n.map(f.daysOfWeekDisabled,function(n){return parseInt(n,10)}),f.daysOfWeekHighlighted=f.daysOfWeekHighlighted||[],n.isArray(f.daysOfWeekHighlighted)||(f.daysOfWeekHighlighted=f.daysOfWeekHighlighted.split(/[,\s]*/)),f.daysOfWeekHighlighted=n.map(f.daysOfWeekHighlighted,function(n){return parseInt(n,10)}),f.datesDisabled=f.datesDisabled||[],n.isArray(f.datesDisabled))||(a=[],a.push(i.parseDate(f.datesDisabled,l,f.language,f.assumeNearbyYear)),f.datesDisabled=a),f.datesDisabled=n.map(f.datesDisabled,function(n){return i.parseDate(n,l,f.language,f.assumeNearbyYear)}),e=String(f.orientation).toLowerCase().split(/\s+/g),c=f.orientation.toLowerCase(),e=n.grep(e,function(n){return/^auto|left|right|top|bottom$/.test(n)}),f.orientation={x:"auto",y:"auto"},c&&"auto"!==c)if(1===e.length)switch(e[0]){case"top":case"bottom":f.orientation.y=e[0];break;case"left":case"right":f.orientation.x=e[0]}else c=n.grep(e,function(n){return/^left|right$/.test(n)}),f.orientation.x=c[0]||"auto",c=n.grep(e,function(n){return/^top|bottom$/.test(n)}),f.orientation.y=c[0]||"auto";if(f.defaultViewDate){var v=f.defaultViewDate.year||(new Date).getFullYear(),y=f.defaultViewDate.month||0,p=f.defaultViewDate.day||1;f.defaultViewDate=u(v,y,p)}else f.defaultViewDate=h()},_events:[],_secondaryEvents:[],_applyEvents:function(n){for(var f,r,u,i=0;i<n.length;i++)f=n[i][0],2===n[i].length?(r=t,u=n[i][1]):3===n[i].length&&(r=n[i][1],u=n[i][2]),f.on(u,r)},_unapplyEvents:function(n){for(var f,r,u,i=0;i<n.length;i++)f=n[i][0],2===n[i].length?(u=t,r=n[i][1]):3===n[i].length&&(u=n[i][1],r=n[i][2]),f.off(r,u)},_buildEvents:function(){var t={keyup:n.proxy(function(t){-1===n.inArray(t.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:n.proxy(this.keydown,this),paste:n.proxy(this.paste,this)};this.o.showOnFocus===!0&&(t.focus=n.proxy(this.show,this));this.isInput?this._events=[[this.element,t]]:this.component&&this.hasInput?this._events=[[this.element.find("input"),t],[this.component,{click:n.proxy(this.show,this)}]]:this.element.is("div")?this.isInline=!0:this._events=[[this.element,{click:n.proxy(this.show,this)}]];this._events.push([this.element,"*",{blur:n.proxy(function(n){this._focused_from=n.target},this)}],[this.element,{blur:n.proxy(function(n){this._focused_from=n.target},this)}]);this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":n.proxy(function(n){this.update(n.date)},this)}]);this._secondaryEvents=[[this.picker,{click:n.proxy(this.click,this)}],[n(window),{resize:n.proxy(this.place,this)}],[n(document),{mousedown:n.proxy(function(n){this.element.is(n.target)||this.element.find(n.target).length||this.picker.is(n.target)||this.picker.find(n.target).length||this.picker.hasClass("datepicker-inline")||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents();this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents();this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(t,r){var u=r||this.dates.get(-1),f=this._utc_to_local(u);this.element.trigger({type:t,date:f,dates:n.map(this.dates,this._utc_to_local),format:n.proxy(function(n,t){0===arguments.length?(n=this.dates.length-1,t=this.o.format):"string"==typeof n&&(t=n,n=this.dates.length-1);t=t||this.o.format;var r=this.dates.get(n);return i.formatDate(r,t,this.o.language)},this)})},show:function(){var t=this.component?this.element.find("input"):this.element;if(!t.attr("readonly")||this.o.enableOnReadonly!==!1)return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&n(this.element).blur(),this},hide:function(){return this.isInline?this:this.picker.is(":visible")?(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.viewMode=this.o.startView,this.showMode(),this.o.forceParse&&(this.isInput&&this.element.val()||this.hasInput&&this.element.find("input").val())&&this.setValue(),this._trigger("hide"),this):this},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(t){var i;if(t.originalEvent.clipboardData&&t.originalEvent.clipboardData.types&&-1!==n.inArray("text/plain",t.originalEvent.clipboardData.types))i=t.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;i=window.clipboardData.getData("Text")}this.setDate(i);this.update();t.preventDefault()},_utc_to_local:function(n){return n&&new Date(n.getTime()+6e4*n.getTimezoneOffset())},_local_to_utc:function(n){return n&&new Date(n.getTime()-6e4*n.getTimezoneOffset())},_zero_time:function(n){return n&&new Date(n.getFullYear(),n.getMonth(),n.getDate())},_zero_utc_time:function(n){return n&&new Date(Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()))},getDates:function(){return n.map(this.dates,this._utc_to_local)},getUTCDates:function(){return n.map(this.dates,function(n){return new Date(n)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var n=this.dates.get(-1);return"undefined"!=typeof n?new Date(n):null},clearDates:function(){var n;this.isInput?n=this.element:this.component&&(n=this.element.find("input"));n&&n.val("");this.update();this._trigger("changeDate");this.o.autoclose&&this.hide()},setDates:function(){var t=n.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,t),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var t=n.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,n.map(t,this._utc_to_local)),this._trigger("changeDate"),this.setValue(),this},setDate:c("setDates"),setUTCDate:c("setUTCDates"),remove:c("destroy"),setValue:function(){var n=this.getFormattedDate();return this.isInput?this.element.val(n):this.component&&this.element.find("input").val(n),this},getFormattedDate:function(r){r===t&&(r=this.o.format);var u=this.o.language;return n.map(this.dates,function(n){return i.formatDate(n,r,u)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(n){return this._process_options({startDate:n}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(n){return this._process_options({endDate:n}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(n){return this._process_options({daysOfWeekDisabled:n}),this.update(),this.updateNavArrows(),this},setDaysOfWeekHighlighted:function(n){return this._process_options({daysOfWeekHighlighted:n}),this.update(),this},setDatesDisabled:function(n){this._process_options({datesDisabled:n});this.update();this.updateNavArrows()},place:function(){var y,r,p;if(this.isInline)return this;var f=this.picker.outerWidth(),s=this.picker.outerHeight(),e=n(this.o.container),h=e.width(),c="body"===this.o.container?n(document).scrollTop():e.scrollTop(),l=e.offset(),a=[];this.element.parents().each(function(){var t=n(this).css("z-index");"auto"!==t&&0!==t&&a.push(parseInt(t))});var v=Math.max.apply(Math,a)+this.o.zIndexOffset,u=this.component?this.component.parent().offset():this.element.offset(),w=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),o=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),t=u.left-l.left,i=u.top-l.top;return"body"!==this.o.container&&(i+=c),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(t-=f-o)):u.left<0?(this.picker.addClass("datepicker-orient-left"),t-=u.left-10):t+f>h?(this.picker.addClass("datepicker-orient-right"),t+=o-f):this.picker.addClass("datepicker-orient-left"),r=this.o.orientation.y,("auto"===r&&(y=-c+i-s,r=0>y?"bottom":"top"),this.picker.addClass("datepicker-orient-"+r),"top"===r?i-=s+parseInt(this.picker.css("padding-top")):i+=w,this.o.rtl)?(p=h-(t+o),this.picker.css({top:i,right:p,zIndex:v})):this.picker.css({top:i,left:t,zIndex:v}),this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var r=this.dates.copy(),t=[],u=!1;return arguments.length?(n.each(arguments,n.proxy(function(n,i){i instanceof Date&&(i=this._local_to_utc(i));t.push(i)},this)),u=!0):(t=this.isInput?this.element.val():this.element.data("date")||this.element.find("input").val(),t=t&&this.o.multidate?t.split(this.o.multidateSeparator):[t],delete this.element.data().date),t=n.map(t,n.proxy(function(n){return i.parseDate(n,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),t=n.grep(t,n.proxy(function(n){return!this.dateWithinRange(n)||!n},this),!0),this.dates.replace(t),this.viewDate=this.dates.length?new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?new Date(this.o.startDate):this.viewDate>this.o.endDate?new Date(this.o.endDate):this.o.defaultViewDate,u?this.setValue():t.length&&String(r)!==String(this.dates)&&this._trigger("changeDate"),!this.dates.length&&r.length&&this._trigger("clearDate"),this.fill(),this.element.change(),this},fillDow:function(){var i=this.o.weekStart,t="<tr>";for(this.o.calendarWeeks&&(this.picker.find(".datepicker-days .datepicker-switch").attr("colspan",function(n,t){return parseInt(t)+1}),t+='<th class="cw">&#160;<\/th>');i<this.o.weekStart+7;)t+='<th class="dow',n.inArray(i,this.o.daysOfWeekDisabled)>-1&&(t+=" disabled"),t+='">'+r[this.o.language].daysMin[i++%7]+"<\/th>";t+="<\/tr>";this.picker.find(".datepicker-days thead").append(t)},fillMonths:function(){for(var u,t=this._utc_to_local(this.viewDate),i="",n=0;12>n;)u=t&&t.getMonth()===n?" focused":"",i+='<span class="month'+u+'">'+r[this.o.language].monthsShort[n++]+"<\/span>";this.picker.find(".datepicker-months td").html(i)},setRange:function(t){t&&t.length?this.range=n.map(t,function(n){return n.valueOf()}):delete this.range;this.fill()},getClassNames:function(t){var i=[],r=this.viewDate.getUTCFullYear(),f=this.viewDate.getUTCMonth(),u=new Date;return t.getUTCFullYear()<r||t.getUTCFullYear()===r&&t.getUTCMonth()<f?i.push("old"):(t.getUTCFullYear()>r||t.getUTCFullYear()===r&&t.getUTCMonth()>f)&&i.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&i.push("focused"),this.o.todayHighlight&&t.getUTCFullYear()===u.getFullYear()&&t.getUTCMonth()===u.getMonth()&&t.getUTCDate()===u.getDate()&&i.push("today"),-1!==this.dates.contains(t)&&i.push("active"),(!this.dateWithinRange(t)||this.dateIsDisabled(t))&&i.push("disabled"),-1!==n.inArray(t.getUTCDay(),this.o.daysOfWeekHighlighted)&&i.push("highlighted"),this.range&&(t>this.range[0]&&t<this.range[this.range.length-1]&&i.push("range"),-1!==n.inArray(t.valueOf(),this.range)&&i.push("selected"),t.valueOf()===this.range[0]&&i.push("range-start"),t.valueOf()===this.range[this.range.length-1]&&i.push("range-end")),i},_fill_yearsView:function(i,r,u,f,e,o,s,h){var w,b,y,k,d,g,a,v,l,p,c;for(w="",b=this.picker.find(i),y=parseInt(e/u,10)*u,d=parseInt(o/f,10)*f,g=parseInt(s/f,10)*f,k=n.map(this.dates,function(n){return parseInt(n.getUTCFullYear()/f,10)*f}),b.find(".datepicker-switch").text(y+"-"+(y+9*f)),a=y-f,v=-1;11>v;v+=1)l=[r],p=null,-1===v?l.push("old"):10===v&&l.push("new"),-1!==n.inArray(a,k)&&l.push("active"),(d>a||a>g)&&l.push("disabled"),a===this.viewDate.getFullYear()&&l.push("focused"),h!==n.noop&&(c=h(new Date(a,0,1)),c===t?c={}:"boolean"==typeof c?c={enabled:c}:"string"==typeof c&&(c={classes:c}),c.enabled===!1&&l.push("disabled"),c.classes&&(l=l.concat(c.classes.split(/\s+/))),c.tooltip&&(p=c.tooltip)),w+='<span class="'+l.join(" ")+'"'+(p?' title="'+p+'"':"")+">"+a+"<\/span>",a+=f;b.find("td").html(w)},fill:function(){var y,e,p=new Date(this.viewDate),o=p.getUTCFullYear(),k=p.getUTCMonth(),a=this.o.startDate!==-(1/0)?this.o.startDate.getUTCFullYear():-(1/0),it=this.o.startDate!==-(1/0)?this.o.startDate.getUTCMonth():-(1/0),v=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,rt=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,ut=r[this.o.language].today||r.en.today||"",ft=r[this.o.language].clear||r.en.clear||"",et=r[this.o.language].titleFormat||r.en.titleFormat,f,w,h,s,c,nt,l,tt;if(!isNaN(o)&&!isNaN(k)){for(this.picker.find(".datepicker-days .datepicker-switch").text(i.formatDate(p,et,this.o.language)),this.picker.find("tfoot .today").text(ut).toggle(this.o.todayBtn!==!1),this.picker.find("tfoot .clear").text(ft).toggle(this.o.clearBtn!==!1),this.picker.find("thead .datepicker-title").text(this.o.title).toggle(""!==this.o.title),this.updateNavArrows(),this.fillMonths(),f=u(o,k-1,28),w=i.getDaysInMonth(f.getUTCFullYear(),f.getUTCMonth()),f.setUTCDate(w),f.setUTCDate(w-(f.getUTCDay()-this.o.weekStart+7)%7),h=new Date(f),f.getUTCFullYear()<100&&h.setUTCFullYear(f.getUTCFullYear()),h.setUTCDate(h.getUTCDate()+42),h=h.valueOf(),c=[];f.valueOf()<h;){if(f.getUTCDay()===this.o.weekStart&&(c.push("<tr>"),this.o.calendarWeeks)){var d=new Date(+f+(this.o.weekStart-f.getUTCDay()-7)%7*864e5),g=new Date(Number(d)+(11-d.getUTCDay())%7*864e5),b=new Date(Number(b=u(g.getUTCFullYear(),0,1))+(11-b.getUTCDay())%7*864e5),ot=(g-b)/6048e5+1;c.push('<td class="cw">'+ot+"<\/td>")}s=this.getClassNames(f);s.push("day");this.o.beforeShowDay!==n.noop&&(e=this.o.beforeShowDay(this._utc_to_local(f)),e===t?e={}:"boolean"==typeof e?e={enabled:e}:"string"==typeof e&&(e={classes:e}),e.enabled===!1&&s.push("disabled"),e.classes&&(s=s.concat(e.classes.split(/\s+/))),e.tooltip&&(y=e.tooltip));s=n.unique(s);c.push('<td class="'+s.join(" ")+'"'+(y?' title="'+y+'"':"")+">"+f.getUTCDate()+"<\/td>");y=null;f.getUTCDay()===this.o.weekEnd&&c.push("<\/tr>");f.setUTCDate(f.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(c.join(""));nt=r[this.o.language].monthsTitle||r.en.monthsTitle||"Months";l=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?nt:o).end().find("span").removeClass("active");(n.each(this.dates,function(n,t){t.getUTCFullYear()===o&&l.eq(t.getUTCMonth()).addClass("active")}),(a>o||o>v)&&l.addClass("disabled"),o===a&&l.slice(0,it).addClass("disabled"),o===v&&l.slice(rt+1).addClass("disabled"),this.o.beforeShowMonth!==n.noop)&&(tt=this,n.each(l,function(i,r){var f=new Date(o,i,1),u=tt.o.beforeShowMonth(f);u===t?u={}:"boolean"==typeof u?u={enabled:u}:"string"==typeof u&&(u={classes:u});u.enabled!==!1||n(r).hasClass("disabled")||n(r).addClass("disabled");u.classes&&n(r).addClass(u.classes);u.tooltip&&n(r).prop("title",u.tooltip)}));this._fill_yearsView(".datepicker-years","year",10,1,o,a,v,this.o.beforeShowYear);this._fill_yearsView(".datepicker-decades","decade",100,10,o,a,v,this.o.beforeShowDecade);this._fill_yearsView(".datepicker-centuries","century",1e3,100,o,a,v,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var t=new Date(this.viewDate),n=t.getUTCFullYear(),i=t.getUTCMonth();switch(this.viewMode){case 0:this.o.startDate!==-(1/0)&&n<=this.o.startDate.getUTCFullYear()&&i<=this.o.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"});this.o.endDate!==1/0&&n>=this.o.endDate.getUTCFullYear()&&i>=this.o.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:case 3:case 4:this.o.startDate!==-(1/0)&&n<=this.o.startDate.getUTCFullYear()||this.o.maxViewMode<2?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"});this.o.endDate!==1/0&&n>=this.o.endDate.getUTCFullYear()||this.o.maxViewMode<2?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}}},click:function(t){var r,c,o,e,f,s,l,a;t.preventDefault();t.stopPropagation();r=n(t.target);r.hasClass("datepicker-switch")&&this.showMode(1);a=r.closest(".prev, .next");a.length>0&&(c=i.modes[this.viewMode].navStep*(a.hasClass("prev")?-1:1),0===this.viewMode?(this.viewDate=this.moveMonth(this.viewDate,c),this._trigger("changeMonth",this.viewDate)):(this.viewDate=this.moveYear(this.viewDate,c),1===this.viewMode&&this._trigger("changeYear",this.viewDate)),this.fill());r.hasClass("today")&&(this.showMode(-2),this._setDate(h(),"linked"===this.o.todayBtn?null:"view"));r.hasClass("clear")&&this.clearDates();r.hasClass("disabled")||(r.hasClass("day")&&(o=parseInt(r.text(),10)||1,e=this.viewDate.getUTCFullYear(),f=this.viewDate.getUTCMonth(),r.hasClass("old")&&(0===f?(f=11,e-=1,s=!0,l=!0):(f-=1,s=!0)),r.hasClass("new")&&(11===f?(f=0,e+=1,s=!0,l=!0):(f+=1,s=!0)),this._setDate(u(e,f,o)),l&&this._trigger("changeYear",this.viewDate),s&&this._trigger("changeMonth",this.viewDate)),r.hasClass("month")&&(this.viewDate.setUTCDate(1),o=1,f=r.parent().find("span").index(r),e=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(f),this._trigger("changeMonth",this.viewDate),1===this.o.minViewMode?(this._setDate(u(e,f,o)),this.showMode()):this.showMode(-1),this.fill()),(r.hasClass("year")||r.hasClass("decade")||r.hasClass("century"))&&(this.viewDate.setUTCDate(1),o=1,f=0,e=parseInt(r.text(),10)||0,this.viewDate.setUTCFullYear(e),r.hasClass("year")&&(this._trigger("changeYear",this.viewDate),2===this.o.minViewMode&&this._setDate(u(e,f,o))),r.hasClass("decade")&&(this._trigger("changeDecade",this.viewDate),3===this.o.minViewMode&&this._setDate(u(e,f,o))),r.hasClass("century")&&(this._trigger("changeCentury",this.viewDate),4===this.o.minViewMode&&this._setDate(u(e,f,o))),this.showMode(-1),this.fill()));this.picker.is(":visible")&&this._focused_from&&n(this._focused_from).focus();delete this._focused_from},_toggle_multidate:function(n){var t=this.dates.contains(n);if(n||this.dates.clear(),-1!==t?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(t):this.o.multidate===!1?(this.dates.clear(),this.dates.push(n)):this.dates.push(n),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(n,t){t&&"date"!==t||this._toggle_multidate(n&&new Date(n));t&&"view"!==t||(this.viewDate=n&&new Date(n));this.fill();this.setValue();t&&"view"===t||this._trigger("changeDate");var i;this.isInput?i=this.element:this.component&&(i=this.element.find("input"));i&&i.change();!this.o.autoclose||t&&"date"!==t||this.hide()},moveDay:function(n,t){var i=new Date(n);return i.setUTCDate(n.getUTCDate()+t),i},moveWeek:function(n,t){return this.moveDay(n,7*t)},moveMonth:function(n,t){var f;if(!p(n))return this.o.defaultViewDate;if(!t)return n;var r,u,i=new Date(n.valueOf()),e=i.getUTCDate(),o=i.getUTCMonth(),s=Math.abs(t);if(t=t>0?1:-1,1===s)u=-1===t?function(){return i.getUTCMonth()===o}:function(){return i.getUTCMonth()!==r},r=o+t,i.setUTCMonth(r),(0>r||r>11)&&(r=(r+12)%12);else{for(f=0;s>f;f++)i=this.moveMonth(i,t);r=i.getUTCMonth();i.setUTCDate(e);u=function(){return r!==i.getUTCMonth()}}for(;u();)i.setUTCDate(--e),i.setUTCMonth(r);return i},moveYear:function(n,t){return this.moveMonth(n,12*t)},moveAvailableDate:function(n,t,i){do{if(n=this[i](n,t),!this.dateWithinRange(n))return!1;i="moveDay"}while(this.dateIsDisabled(n));return n},weekOfDateIsDisabled:function(t){return-1!==n.inArray(t.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(t){return this.weekOfDateIsDisabled(t)||n.grep(this.o.datesDisabled,function(n){return y(t,n)}).length>0},dateWithinRange:function(n){return n>=this.o.startDate&&n<=this.o.endDate},keydown:function(n){var t,i,f,r,u;if(!this.picker.is(":visible"))return void((40===n.keyCode||27===n.keyCode)&&(this.show(),n.stopPropagation()));f=!1;r=this.focusDate||this.viewDate;switch(n.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide();n.preventDefault();n.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;t=37===n.keyCode||38===n.keyCode?-1:1;0===this.viewMode?n.ctrlKey?(i=this.moveAvailableDate(r,t,"moveYear"),i&&this._trigger("changeYear",this.viewDate)):n.shiftKey?(i=this.moveAvailableDate(r,t,"moveMonth"),i&&this._trigger("changeMonth",this.viewDate)):37===n.keyCode||39===n.keyCode?i=this.moveAvailableDate(r,t,"moveDay"):this.weekOfDateIsDisabled(r)||(i=this.moveAvailableDate(r,t,"moveWeek")):1===this.viewMode?((38===n.keyCode||40===n.keyCode)&&(t=4*t),i=this.moveAvailableDate(r,t,"moveMonth")):2===this.viewMode&&((38===n.keyCode||40===n.keyCode)&&(t=4*t),i=this.moveAvailableDate(r,t,"moveYear"));i&&(this.focusDate=this.viewDate=i,this.setValue(),this.fill(),n.preventDefault());break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate;this.o.keyboardNavigation&&(this._toggle_multidate(r),f=!0);this.focusDate=null;this.viewDate=this.dates.get(-1)||this.viewDate;this.setValue();this.fill();this.picker.is(":visible")&&(n.preventDefault(),n.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null;this.viewDate=this.dates.get(-1)||this.viewDate;this.fill();this.hide()}f&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.isInput?u=this.element:this.component&&(u=this.element.find("input")),u&&u.change())},showMode:function(n){n&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,this.viewMode+n)));this.picker.children("div").hide().filter(".datepicker-"+i.modes[this.viewMode].clsName).show();this.updateNavArrows()}};o=function(t,i){n(t).data("datepicker",this);this.element=n(t);this.inputs=n.map(i.inputs,function(n){return n.jquery?n[0]:n});delete i.inputs;e.call(n(this.inputs),i).on("changeDate",n.proxy(this.dateUpdated,this));this.pickers=n.map(this.inputs,function(t){return n(t).data("datepicker")});this.updateDates()};o.prototype={updateDates:function(){this.dates=n.map(this.pickers,function(n){return n.getUTCDate()});this.updateRanges()},updateRanges:function(){var t=n.map(this.dates,function(n){return n.valueOf()});n.each(this.pickers,function(n,i){i.setRange(t)})},dateUpdated:function(t){var f;if(!this.updating&&(this.updating=!0,f=n(t.target).data("datepicker"),"undefined"!=typeof f)){var i=f.getUTCDate(),e=n.inArray(t.target,this.inputs),r=e-1,u=e+1,o=this.inputs.length;if(-1!==e){if(n.each(this.pickers,function(n,t){t.getUTCDate()||t.setUTCDate(i)}),i<this.dates[r])for(;r>=0&&i<this.dates[r];)this.pickers[r--].setUTCDate(i);else if(i>this.dates[u])for(;o>u&&i>this.dates[u];)this.pickers[u++].setUTCDate(i);this.updateDates();delete this.updating}}},remove:function(){n.map(this.pickers,function(n){n.remove()});delete this.element.data().datepicker}};a=n.fn.datepicker;e=function(i){var u=Array.apply(null,arguments),r;if(u.shift(),this.each(function(){var h=n(this),t=h.data("datepicker"),c="object"==typeof i&&i;if(!t){var l=w(this,"date"),a=n.extend({},s,l,c),v=b(a.language),e=n.extend({},s,v,l,c);h.hasClass("input-daterange")||e.inputs?(n.extend(e,{inputs:e.inputs||h.find("input").toArray()}),t=new o(this,e)):t=new f(this,e);h.data("datepicker",t)}"string"==typeof i&&"function"==typeof t[i]&&(r=t[i].apply(t,u))}),r===t||r instanceof f||r instanceof o)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+i+" function)");return r};n.fn.datepicker=e;s=n.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:n.noop,beforeShowMonth:n.noop,beforeShowYear:n.noop,beforeShowDecade:n.noop,beforeShowCentury:n.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-(1/0),startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&laquo;",rightArrow:"&raquo;"}};v=n.fn.datepicker.locale_opts=["format","rtl","weekStart"];n.fn.datepicker.Constructor=f;r=n.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}};i={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10},{clsName:"decades",navFnc:"FullDecade",navStep:100},{clsName:"centuries",navFnc:"FullCentury",navStep:1e3}],isLeapYear:function(n){return n%4==0&&n%100!=0||n%400==0},getDaysInMonth:function(n,t){return[31,i.isLeapYear(n)?29:28,31,30,31,30,31,31,30,31,30,31][t]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(n){if("function"==typeof n.toValue&&"function"==typeof n.toDisplay)return n;var t=n.replace(this.validParts,"\x00").split("\x00"),i=n.match(this.validParts);if(!t||!t.length||!i||0===i.length)throw new Error("Invalid date format.");return{separators:t,parts:i}},parseDate:function(e,o,s,c){function rt(n,t){return t===!0&&(t=10),100>n&&(n+=2e3,n>(new Date).getFullYear()+t&&(n-=100)),n}function ut(){var n=this.slice(0,a[l].length),t=a[l].slice(0,n.length);return n.toLowerCase()===t.toLowerCase()}var p,st,tt,b;if(!e)return t;if(e instanceof Date)return e;if("string"==typeof o&&(o=i.parseFormat(o)),o.toValue)return o.toValue(e,o,s);var v,k,l,d,ft=/([\-+]\d+)([dmwy])/,a=e.match(/([\-+]\d+)([dmwy])/g),et={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},ot={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(e)){for(e=new Date,l=0;l<a.length;l++)v=ft.exec(a[l]),k=parseInt(v[1]),d=et[v[2]],e=f.prototype[d](e,k);return u(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())}if("undefined"!=typeof ot[e]&&(e=ot[e],a=e.match(/([\-+]\d+)([dmwy])/g),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(e))){for(e=new Date,l=0;l<a.length;l++)v=ft.exec(a[l]),k=parseInt(v[1]),d=et[v[2]],e=f.prototype[d](e,k);return u(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())}a=e&&e.match(this.nonpunctuation)||[];e=new Date;var w,g,nt={},it=["yyyy","yy","M","MM","m","mm","d","dd"],y={yyyy:function(n,t){return n.setUTCFullYear(c?rt(t,c):t)},yy:function(n,t){return n.setUTCFullYear(c?rt(t,c):t)},m:function(n,t){if(isNaN(n))return n;for(t-=1;0>t;)t+=12;for(t%=12,n.setUTCMonth(t);n.getUTCMonth()!==t;)n.setUTCDate(n.getUTCDate()-1);return n},d:function(n,t){return n.setUTCDate(t)}};if(y.M=y.MM=y.mm=y.m,y.dd=y.d,e=h(),p=o.parts.slice(),a.length!==p.length&&(p=n(p).filter(function(t,i){return-1!==n.inArray(i,it)}).toArray()),a.length===p.length){for(l=0,st=p.length;st>l;l++){if(w=parseInt(a[l],10),v=p[l],isNaN(w))switch(v){case"MM":g=n(r[s].months).filter(ut);w=n.inArray(g[0],r[s].months)+1;break;case"M":g=n(r[s].monthsShort).filter(ut);w=n.inArray(g[0],r[s].monthsShort)+1}nt[v]=w}for(l=0;l<it.length;l++)b=it[l],b in nt&&!isNaN(nt[b])&&(tt=new Date(e),y[b](tt,nt[b]),isNaN(tt)||(e=tt))}return e},formatDate:function(t,u,f){var e;if(!t)return"";if("string"==typeof u&&(u=i.parseFormat(u)),u.toDisplay)return u.toDisplay(t,u,f);e={d:t.getUTCDate(),D:r[f].daysShort[t.getUTCDay()],DD:r[f].days[t.getUTCDay()],m:t.getUTCMonth()+1,M:r[f].monthsShort[t.getUTCMonth()],MM:r[f].months[t.getUTCMonth()],yy:t.getUTCFullYear().toString().substring(2),yyyy:t.getUTCFullYear()};e.dd=(e.d<10?"0":"")+e.d;e.mm=(e.m<10?"0":"")+e.m;t=[];for(var s=n.extend([],u.separators),o=0,h=u.parts.length;h>=o;o++)s.length&&t.push(s.shift()),t.push(e[u.parts[o]]);return t.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"><\/th><\/tr><tr><th class="prev">&laquo;<\/th><th colspan="5" class="datepicker-switch"><\/th><th class="next">&raquo;<\/th><\/tr><\/thead>',contTemplate:'<tbody><tr><td colspan="7"><\/td><\/tr><\/tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"><\/th><\/tr><tr><th colspan="7" class="clear"><\/th><\/tr><\/tfoot>'};i.template='<div class="datepicker"><div class="datepicker-days"><table class=" table-condensed">'+i.headTemplate+"<tbody><\/tbody>"+i.footTemplate+'<\/table><\/div><div class="datepicker-months"><table class="table-condensed">'+i.headTemplate+i.contTemplate+i.footTemplate+'<\/table><\/div><div class="datepicker-years"><table class="table-condensed">'+i.headTemplate+i.contTemplate+i.footTemplate+'<\/table><\/div><div class="datepicker-decades"><table class="table-condensed">'+i.headTemplate+i.contTemplate+i.footTemplate+'<\/table><\/div><div class="datepicker-centuries"><table class="table-condensed">'+i.headTemplate+i.contTemplate+i.footTemplate+"<\/table><\/div><\/div>";n.fn.datepicker.DPGlobal=i;n.fn.datepicker.noConflict=function(){return n.fn.datepicker=a,this};n.fn.datepicker.version="1.6.0";n(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(t){var i=n(this);i.data("datepicker")||(t.preventDefault(),e.call(i,"show"))});n(function(){e.call(n('[data-provide="datepicker-inline"]'))})}),function(){var n,r,t,i,u,f={}.hasOwnProperty,e=function(n,t){function r(){this.constructor=n}for(var i in t)f.call(t,i)&&(n[i]=t[i]);return r.prototype=t.prototype,n.prototype=new r,n.__super__=t.prototype,n};i=function(){function n(){this.options_index=0;this.parsed=[]}return n.prototype.add_node=function(n){return"OPTGROUP"===n.nodeName.toUpperCase()?this.add_group(n):this.add_option(n)},n.prototype.add_group=function(n){var i,f,t,e,r,u;for(i=this.parsed.length,this.parsed.push({array_index:i,group:!0,label:this.escapeExpression(n.label),title:n.title?n.title:void 0,children:0,disabled:n.disabled,classes:n.className}),r=n.childNodes,u=[],t=0,e=r.length;e>t;t++)f=r[t],u.push(this.add_option(f,i,n.disabled));return u},n.prototype.add_option=function(n,t,i){if("OPTION"===n.nodeName.toUpperCase())return(""!==n.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:n.value,text:n.text,html:n.innerHTML,title:n.title?n.title:void 0,selected:n.selected,disabled:i===!0?i:n.disabled,group_array_index:t,group_label:null!=t?this.parsed[t].label:null,classes:n.className,style:n.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1)},n.prototype.escapeExpression=function(n){var t,i;return null==n||n===!1?"":/[\&\<\>\"\'\`]/.test(n)?(t={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},i=/&(?!\w+;)|[\<\>\"\'\`]/g,n.replace(i,function(n){return t[n]||"&amp;"})):n},n}();i.select_to_array=function(n){var f,r,t,e,u;for(r=new i,u=n.childNodes,t=0,e=u.length;e>t;t++)f=u[t],r.add_node(f);return r.parsed};r=function(){function n(t,i){this.form_field=t;this.options=null!=i?i:{};n.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return n.prototype.set_default_values=function(){var n=this;return this.click_test_action=function(t){return n.test_active_click(t)},this.activate_action=function(t){return n.activate_field(t)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY},n.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||n.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||n.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||n.default_no_result_text},n.prototype.choice_label=function(n){return this.include_group_label_in_selected&&null!=n.group_label?"<b class='group-name'>"+n.group_label+"<\/b>"+n.html:n.html},n.prototype.mouse_enter=function(){return this.mouse_on_container=!0},n.prototype.mouse_leave=function(){return this.mouse_on_container=!1},n.prototype.input_focus=function(){var n=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return n.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},n.prototype.input_blur=function(){var n=this;if(!this.mouse_on_container)return(this.active_field=!1,setTimeout(function(){return n.blur_test()},100))},n.prototype.results_option_build=function(n){var u,t,i,f,r,o,e;for(u="",f=0,e=this.results_data,r=0,o=e.length;o>r&&(t=e[r],i="",i=t.group?this.result_add_group(t):this.result_add_option(t),""!==i&&(f++,u+=i),(null!=n?n.first:void 0)&&(t.selected&&this.is_multiple?this.choice_build(t):t.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(t))),!(f>=this.max_shown_results));r++);return u},n.prototype.result_add_option=function(n){var t,i;return n.search_match&&this.include_option_in_results(n)?(t=[],n.disabled||n.selected&&this.is_multiple||t.push("active-result"),!n.disabled||n.selected&&this.is_multiple||t.push("disabled-result"),n.selected&&t.push("result-selected"),null!=n.group_array_index&&t.push("group-option"),""!==n.classes&&t.push(n.classes),i=document.createElement("li"),i.className=t.join(" "),i.style.cssText=n.style,i.setAttribute("data-option-array-index",n.array_index),i.innerHTML=n.search_text,n.title&&(i.title=n.title),this.outerHTML(i)):""},n.prototype.result_add_group=function(n){var i,t;return(n.search_match||n.group_match)&&n.active_options>0?(i=[],i.push("group-result"),n.classes&&i.push(n.classes),t=document.createElement("li"),t.className=i.join(" "),t.innerHTML=n.search_text,n.title&&(t.title=n.title),this.outerHTML(t)):""},n.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},n.prototype.reset_single_select_options=function(){var i,n,u,r,t;for(r=this.results_data,t=[],n=0,u=r.length;u>n;n++)i=r[n],i.selected?t.push(i.selected=!1):t.push(void 0);return t},n.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},n.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},n.prototype.winnow_results=function(){var e,n,h,u,t,i,r,o,c,f,l,s;for(this.no_results_clear(),u=0,i=this.get_search_text(),e=i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=new RegExp(e,"i"),h=this.get_search_regex(e),s=this.results_data,f=0,l=s.length;l>f;f++)n=s[f],n.search_match=!1,t=null,this.include_option_in_results(n)&&(n.group&&(n.group_match=!1,n.active_options=0),null!=n.group_array_index&&this.results_data[n.group_array_index]&&(t=this.results_data[n.group_array_index],0===t.active_options&&t.search_match&&(u+=1),t.active_options+=1),n.search_text=n.group?n.label:n.html,(!n.group||this.group_search)&&(n.search_match=this.search_string_match(n.search_text,h),n.search_match&&!n.group&&(u+=1),n.search_match?(i.length&&(r=n.search_text.search(c),o=n.search_text.substr(0,r+i.length)+"<\/em>"+n.search_text.substr(r+i.length),n.search_text=o.substr(0,r)+"<em>"+o.substr(r)),null!=t&&(t.group_match=!0)):null!=n.group_array_index&&this.results_data[n.group_array_index].search_match&&(n.search_match=!0)));return this.result_clear_highlight(),1>u&&i.length?(this.update_results_content(""),this.no_results(i)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},n.prototype.get_search_regex=function(n){var t;return t=this.search_contains?"":"^",new RegExp(t+n,"i")},n.prototype.search_string_match=function(n,t){var u,i,r,f;if(t.test(n))return!0;if(this.enable_split_word_search&&(n.indexOf(" ")>=0||0===n.indexOf("["))&&(i=n.replace(/\[|\]/g,"").split(" "),i.length))for(r=0,f=i.length;f>r;r++)if(u=i[r],t.test(u))return!0},n.prototype.choices_count=function(){var i,n,r,t;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=this.form_field.options,n=0,r=t.length;r>n;n++)i=t[n],i.selected&&(this.selected_option_count+=1);return this.selected_option_count},n.prototype.choices_click=function(n){return n.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},n.prototype.keyup_checker=function(n){var t,i;switch(t=null!=(i=n.which)?i:n.keyCode,this.search_field_scale(),t){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(n.preventDefault(),this.results_showing)return this.result_select(n);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:case 18:break;default:return this.results_search()}},n.prototype.clipboard_event_checker=function(){var n=this;return setTimeout(function(){return n.results_search()},50)},n.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+"px"},n.prototype.include_option_in_results=function(n){return this.is_multiple&&!this.display_selected_options&&n.selected?!1:!this.display_disabled_options&&n.disabled?!1:n.empty?!1:!0},n.prototype.search_results_touchstart=function(n){return this.touch_started=!0,this.search_results_mouseover(n)},n.prototype.search_results_touchmove=function(n){return this.touch_started=!1,this.search_results_mouseout(n)},n.prototype.search_results_touchend=function(n){if(this.touch_started)return this.search_results_mouseup(n)},n.prototype.outerHTML=function(n){var t;return n.outerHTML?n.outerHTML:(t=document.createElement("div"),t.appendChild(n),t.innerHTML)},n.browser_is_supported=function(){return/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:/IEMobile/i.test(window.navigator.userAgent)?!1:/Windows Phone/i.test(window.navigator.userAgent)?!1:/BlackBerry/i.test(window.navigator.userAgent)?!1:/BB10/i.test(window.navigator.userAgent)?!1:"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!0},n.default_multiple_text="Select Some Options",n.default_single_text="Select an Option",n.default_no_result_text="No results match",n}();n=jQuery;n.fn.extend({chosen:function(i){return r.browser_is_supported()?this.each(function(){var u,r;return u=n(this),r=u.data("chosen"),"destroy"===i?void(r instanceof t&&r.destroy()):void(r instanceof t||u.data("chosen",new t(this,i)))}):this}});t=function(t){function r(){return u=r.__super__.constructor.apply(this,arguments)}return e(r,t),r.prototype.setup=function(){return this.form_field_jq=n(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},r.prototype.set_up_html=function(){var t,i;return t=["chosen-container"],t.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&t.push(this.form_field.className),this.is_rtl&&t.push("chosen-rtl"),i={"class":t.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(i.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=n("<div />",i),this.is_multiple?this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /><\/li><\/ul><div class="chosen-drop"><ul class="chosen-results"><\/ul><\/div>'):this.container.html('<a class="chosen-single chosen-default"><span>'+this.default_text+'<\/span><div><b><\/b><\/div><\/a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /><\/div><ul class="chosen-results"><\/ul><\/div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},r.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},r.prototype.register_observers=function(){var n=this;return this.container.bind("touchstart.chosen",function(t){return n.container_mousedown(t),t.preventDefault()}),this.container.bind("touchend.chosen",function(t){return n.container_mouseup(t),t.preventDefault()}),this.container.bind("mousedown.chosen",function(t){n.container_mousedown(t)}),this.container.bind("mouseup.chosen",function(t){n.container_mouseup(t)}),this.container.bind("mouseenter.chosen",function(t){n.mouse_enter(t)}),this.container.bind("mouseleave.chosen",function(t){n.mouse_leave(t)}),this.search_results.bind("mouseup.chosen",function(t){n.search_results_mouseup(t)}),this.search_results.bind("mouseover.chosen",function(t){n.search_results_mouseover(t)}),this.search_results.bind("mouseout.chosen",function(t){n.search_results_mouseout(t)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(t){n.search_results_mousewheel(t)}),this.search_results.bind("touchstart.chosen",function(t){n.search_results_touchstart(t)}),this.search_results.bind("touchmove.chosen",function(t){n.search_results_touchmove(t)}),this.search_results.bind("touchend.chosen",function(t){n.search_results_touchend(t)}),this.form_field_jq.bind("chosen:updated.chosen",function(t){n.results_update_field(t)}),this.form_field_jq.bind("chosen:activate.chosen",function(t){n.activate_field(t)}),this.form_field_jq.bind("chosen:open.chosen",function(t){n.container_mousedown(t)}),this.form_field_jq.bind("chosen:close.chosen",function(t){n.input_blur(t)}),this.search_field.bind("blur.chosen",function(t){n.input_blur(t)}),this.search_field.bind("keyup.chosen",function(t){n.keyup_checker(t)}),this.search_field.bind("keydown.chosen",function(t){n.keydown_checker(t)}),this.search_field.bind("focus.chosen",function(t){n.input_focus(t)}),this.search_field.bind("cut.chosen",function(t){n.clipboard_event_checker(t)}),this.search_field.bind("paste.chosen",function(t){n.clipboard_event_checker(t)}),this.is_multiple?this.search_choices.bind("click.chosen",function(t){n.choices_click(t)}):this.container.bind("click.chosen",function(n){n.preventDefault()})},r.prototype.destroy=function(){return n(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},r.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},r.prototype.container_mousedown=function(t){if(!this.is_disabled&&(t&&"mousedown"===t.type&&!this.results_showing&&t.preventDefault(),null==t||!n(t.target).hasClass("search-choice-close")))return(this.active_field?this.is_multiple||!t||n(t.target)[0]!==this.selected_item[0]&&!n(t.target).parents("a.chosen-single").length||(t.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),n(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},r.prototype.container_mouseup=function(n){if("ABBR"===n.target.nodeName&&!this.is_disabled)return this.results_reset(n)},r.prototype.search_results_mousewheel=function(n){var t;return n.originalEvent&&(t=n.originalEvent.deltaY||-n.originalEvent.wheelDelta||n.originalEvent.detail),null!=t?(n.preventDefault(),"DOMMouseScroll"===n.type&&(t=40*t),this.search_results.scrollTop(t+this.search_results.scrollTop())):void 0},r.prototype.blur_test=function(){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},r.prototype.close_field=function(){return n(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},r.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},r.prototype.test_active_click=function(t){var i;return i=n(t.target).closest(".chosen-container"),i.length&&this.container[0]===i[0]?this.active_field=!0:this.close_field()},r.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},r.prototype.result_do_highlight=function(n){var t,i,r,f,u;if(n.length){if(this.result_clear_highlight(),this.result_highlight=n,this.result_highlight.addClass("highlighted"),r=parseInt(this.search_results.css("maxHeight"),10),u=this.search_results.scrollTop(),f=r+u,i=this.result_highlight.position().top+this.search_results.scrollTop(),t=i+this.result_highlight.outerHeight(),t>=f)return this.search_results.scrollTop(t-r>0?t-r:0);if(u>i)return this.search_results.scrollTop(i)}},r.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},r.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},r.prototype.update_results_content=function(n){return this.search_results.html(n)},r.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},r.prototype.set_tab_index=function(){var n;if(this.form_field.tabIndex)return(n=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=n)},r.prototype.set_label_behavior=function(){var t=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=n("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(n){return t.is_multiple?t.container_mousedown(n):t.activate_field()}):void 0},r.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},r.prototype.search_results_mouseup=function(t){var i;return i=n(t.target).hasClass("active-result")?n(t.target):n(t.target).parents(".active-result").first(),i.length?(this.result_highlight=i,this.result_select(t),this.search_field.focus()):void 0},r.prototype.search_results_mouseover=function(t){var i;return i=n(t.target).hasClass("active-result")?n(t.target):n(t.target).parents(".active-result").first(),i?this.result_do_highlight(i):void 0},r.prototype.search_results_mouseout=function(t){if(n(t.target).hasClass("active-result"))return this.result_clear_highlight()},r.prototype.choice_build=function(t){var i,r,u=this;return i=n("<li />",{"class":"search-choice"}).html("<span>"+this.choice_label(t)+"<\/span>"),t.disabled?i.addClass("search-choice-disabled"):(r=n("<a />",{"class":"search-choice-close","data-option-array-index":t.array_index}),r.bind("click.chosen",function(n){return u.choice_destroy_link_click(n)}),i.append(r)),this.search_container.before(i)},r.prototype.choice_destroy_link_click=function(t){return t.preventDefault(),t.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(n(t.target))},r.prototype.choice_destroy=function(n){if(this.result_deselect(n[0].getAttribute("data-option-array-index")))return(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),n.parents("li").first().remove(),this.search_field_scale())},r.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},r.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},r.prototype.result_select=function(n){var i,t;if(this.result_highlight)return(i=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?i.removeClass("active-result"):this.reset_single_select_options(),i.addClass("result-selected"),t=this.results_data[i[0].getAttribute("data-option-array-index")],t.selected=!0,this.form_field.options[t.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(t):this.single_set_selected_text(this.choice_label(t)),(n.metaKey||n.ctrlKey)&&this.is_multiple||this.results_hide(),this.show_search_field_default(),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[t.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,n.preventDefault(),this.search_field_scale()))},r.prototype.single_set_selected_text=function(n){return null==n&&(n=this.default_text),n===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(n)},r.prototype.result_deselect=function(n){var t;return t=this.results_data[n],this.form_field.options[t.options_index].disabled?!1:(t.selected=!1,this.form_field.options[t.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[t.options_index].value}),this.search_field_scale(),!0)},r.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"><\/abbr>'),this.selected_item.addClass("chosen-single-with-deselect"))},r.prototype.get_search_text=function(){return n("<div/>").text(n.trim(this.search_field.val())).html()},r.prototype.winnow_results_set_highlight=function(){var n,t;return t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),n=t.length?t.first():this.search_results.find(".active-result").first(),null!=n?this.result_do_highlight(n):void 0},r.prototype.no_results=function(t){var i;return i=n('<li class="no-results">'+this.results_none_found+' "<span><\/span>"<\/li>'),i.find("span").first().html(t),this.search_results.append(i),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},r.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},r.prototype.keydown_arrow=function(){var n;return this.results_showing&&this.result_highlight?(n=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(n):void 0:this.results_show()},r.prototype.keyup_arrow=function(){var n;return this.results_showing||this.is_multiple?this.result_highlight?(n=this.result_highlight.prevAll("li.active-result"),n.length?this.result_do_highlight(n.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},r.prototype.keydown_backstroke=function(){var n;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(n=this.search_container.siblings("li.search-choice").last(),n.length&&!n.hasClass("search-choice-disabled")?(this.pending_backstroke=n,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},r.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},r.prototype.keydown_checker=function(n){var t,i;switch(t=null!=(i=n.which)?i:n.keyCode,this.search_field_scale(),8!==t&&this.pending_backstroke&&this.clear_backstroke(),t){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(n);this.mouse_on_container=!1;break;case 13:this.results_showing&&n.preventDefault();break;case 32:this.disable_search&&n.preventDefault();break;case 38:n.preventDefault();this.keyup_arrow();break;case 40:n.preventDefault();this.keydown_arrow()}},r.prototype.search_field_scale=function(){var t,u,h,f,e,o,i,r,s;if(this.is_multiple){for(h=0,i=0,e="position:absolute; left: -1000px; top: -1000px; display:none;",o=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],r=0,s=o.length;s>r;r++)f=o[r],e+=f+":"+this.search_field.css(f)+";";return t=n("<div />",{style:e}),t.text(this.search_field.val()),n("body").append(t),i=t.width()+25,t.remove(),u=this.container.outerWidth(),i>u-10&&(i=u-10),this.search_field.css({width:i+"px"})}},r}(r)}.call(this),function(n){var t="columnizer-original-dom";n.fn.columnize=function(i){function r(n,t){try{n.append(t)}catch(i){n[0].appendChild(t[0])}}this.each(function(){var i=n(this);i.data(t,i.clone(!0,!0))});this.cols=[];this.offset=0;this.before=[];this.lastOther=0;this.prevMax=0;this.debug=0;this.setColumnStart=null;this.elipsisText="";var u={width:400,columns:!1,buildOnce:!1,overflow:!1,doneFunc:function(){},target:!1,ignoreImageLoading:!0,columnFloat:"left",lastNeverTallest:!1,accuracy:!1,precise:!1,manualBreaks:!1,cssClassPrefix:"",elipsisText:"...",debug:0};return i=n.extend(u,i),typeof i.width=="string"&&(i.width=parseInt(i.width,10),isNaN(i.width)&&(i.width=u.width)),typeof i.setColumnStart=="function"&&(this.setColumnStart=i.setColumnStart),typeof i.elipsisText=="string"&&(this.elipsisText=i.elipsisText),i.debug&&(this.debug=i.debug),i.setWidth||(i.setWidth=i.precise?function(n){return 100/n}:function(n){return Math.floor(100/n)}),this.each(function(){function f(n,t){var i=t?".":"";return h.length?i+h+"-"+n:i+n}function a(t,u,e,o){for(var v,p,w,c,h,y,b,l,a;(s||e.height()<o)&&u[0].childNodes.length;){if(v=u[0].childNodes[0],n(v).find(f("columnbreak",!0)).length)return;if(n(v).hasClass(f("columnbreak")))return;r(t,n(v))}if(t[0].childNodes.length!==0){if(p=t[0].childNodes,w=p[p.length-1],t[0].removeChild(w),c=n(w),c[0].nodeType==3){for(h=c[0].nodeValue,y=i.width/18,i.accuracy&&(y=i.accuracy),l=null;e.height()<o&&h.length;)a=h.indexOf(" ",y),b=a!=-1?h.substring(0,a):h,l=document.createTextNode(b),r(t,n(l)),h=h.length>y&&a!=-1?h.substring(a):"";if(e.height()>=o&&l!==null&&(t[0].removeChild(l),h=l.nodeValue+h),h.length)c[0].nodeValue=h;else return!1}return u.contents().length?u.prepend(c):r(u,c),c[0].nodeType==3}}function v(n,t,i,u){var e,o,c,h,l,y;if(!n.contents(":last").find(f("columnbreak",!0)).length&&!n.contents(":last").hasClass(f("columnbreak"))&&t.contents().length){if(e=t.contents(":first"),typeof e.get(0)=="undefined"||e.get(0).nodeType!=1)return;o=e.clone(!0);e.hasClass(f("columnbreak"))?(r(n,o),e.remove()):s?(r(n,o),e.remove()):o.get(0).nodeType!=1||o.hasClass(f("dontend"))||(r(n,o),o.is("img")&&i.height()<u+20?e.remove():e.hasClass(f("dontsplit"))&&i.height()<u+20?e.remove():o.is("img")||e.hasClass(f("dontsplit"))?o.remove():(o.empty(),a(o,e,i,u)?e.addClass(f("split")):(e.addClass(f("split")),e.get(0).tagName=="OL"&&(c=o.get(0).childElementCount+o.get(0).start,e.attr("start",c+1)),e.children().length&&v(o,e,i,u)),o.get(0).childNodes.length===0?(o.remove(),e.removeClass(f("split"))):o.get(0).childNodes.length==1&&(h=o.get(0).childNodes[0],h.nodeType==3&&(l=/\S/,y=h.nodeValue,l.test(y)||(o.remove(),e.removeClass(f("split")))))))}}function b(){var c,l,h,u,s,y;if(!t.data("columnized")||t.children().length!=1){if(t.data("columnized",!0),t.data("columnizing",!0),t.empty(),t.append(n("<div class='"+f("first")+" "+f("last")+" "+f("column")+" ' style='width:100%; float: "+i.columnFloat+";'><\/div>")),$col=t.children().eq(t.children().length-1),$destroyable=e.clone(!0),i.overflow){for(targetHeight=i.overflow.height,a($col,$destroyable,$col,targetHeight),$destroyable.contents().find(":first-child").hasClass(f("dontend"))||v($col,$destroyable,$col,targetHeight);$col.contents(":last").length&&o($col.contents(":last").get(0));)c=$col.contents(":last"),c.remove(),$destroyable.prepend(c);for(l="",h=document.createElement("DIV");$destroyable[0].childNodes.length>0;){if(u=$destroyable[0].childNodes[0],u.attributes)for(s=0;s<u.attributes.length;s++)u.attributes[s].nodeName.indexOf("jQuery")===0&&u.removeAttribute(u.attributes[s].nodeName);h.innerHTML="";h.appendChild($destroyable[0].childNodes[0]);l+=h.innerHTML}y=n(i.overflow.id)[0];y.innerHTML=l}else r($col,$destroyable.contents());t.data("columnizing",!1);i.overflow&&i.overflow.doneFunc&&i.overflow.doneFunc();i.doneFunc()}}function o(t){return t.nodeType==3?/^\s+$/.test(t.nodeValue)?t.previousSibling?o(t.previousSibling):!1:!1:t.nodeType!=1?!1:n(t).hasClass(f("dontend"))?!0:t.childNodes.length===0?!1:o(t.childNodes[t.childNodes.length-1])}function w(){var g,l,nt,u,et,h,vt,yt,ot,ut,rt,pt,ft;if(c=0,p!=t.width()){p=t.width();var w=Math.round(t.width()/i.width),tt=i.width,at=i.height;if(i.columns&&(w=i.columns),s&&(w=e.find(f("columnbreak",!0)).length+1,tt=!1),w<=1)return b();if(!t.data("columnizing")){t.data("columnized",!0);t.data("columnizing",!0);t.empty();t.append(n("<div style='width:"+i.setWidth(w)+"%; float: "+i.columnFloat+";'><\/div>"));u=t.children(":last");r(u,e.clone());y=u.height();t.empty();var k=y/w,d=3,it=!1;for(i.overflow?(d=1,k=i.overflow.height):at&&tt&&(d=1,k=at,it=!0),g=0;g<d&&g<20;g++){t.empty();try{l=e.clone(!0)}catch(kt){l=e.clone()}for(l.css("visibility","hidden"),h=0;h<w;h++)nt=h===0?f("first"):"",nt+=" "+f("column"),nt=h==w-1?f("last")+" "+nt:nt,t.append(n("<div class='"+nt+"' style='width:"+i.setWidth(w)+"%; float: "+i.columnFloat+";'><\/div>"));for(h=0;h<w-(i.overflow?0:1)||it&&l.contents().length;){for(t.children().length<=h&&t.append(n("<div class='"+nt+"' style='width:"+i.setWidth(w)+"%; float: "+i.columnFloat+";'><\/div>")),u=t.children().eq(h),it&&u.width(tt+"px"),a(u,l,u,k),v(u,l,u,k);u.contents(":last").length&&o(u.contents(":last").get(0));)et=u.contents(":last"),et.remove(),l.prepend(et);h++;u.contents().length===0&&l.contents().length?u.append(l.contents(":first")):h!=w-(i.overflow?0:1)||i.overflow||l.find(f("columnbreak",!0)).length&&w++}if(i.overflow&&!it)if(vt=!1,yt=document.all&&navigator.appVersion.indexOf("MSIE 7.")!=-1,vt||yt){for(ot="",ut=document.createElement("DIV");l[0].childNodes.length>0;){for(rt=l[0].childNodes[0],h=0;h<rt.attributes.length;h++)rt.attributes[h].nodeName.indexOf("jQuery")===0&&rt.removeAttribute(rt.attributes[h].nodeName);ut.innerHTML="";ut.appendChild(l[0].childNodes[0]);ot+=ut.innerHTML}pt=n(i.overflow.id)[0];pt.innerHTML=ot}else n(i.overflow.id).empty().append(l.contents().clone(!0));else if(it)t.children().each(function(n){u=t.children().eq(n);u.width(tt+"px");n===0?u.addClass(f("first")):n==t.children().length-1?u.addClass(f("last")):(u.removeClass(f("first")),u.removeClass(f("last")))}),t.width(t.children().length*tt+"px");else{u=t.children().eq(t.children().length-1);l.contents().each(function(){u.append(n(this))});var bt=u.height(),dt=bt-k,st=0,ht=1e7,ct=0,lt=!1,wt=0;t.children().each(function(n){return function(t){var r=n.children().eq(t),u=r.children(":last").find(f("columnbreak",!0)).length,i;u||(i=r.height(),lt=!1,st+=i,i>ct&&(ct=i,lt=!0),i<ht&&(ht=i),wt++)}}(t));ft=st/wt;st===0?g=d:i.lastNeverTallest&&lt?(c+=5,k=k+30,g==d-1&&d++):ct-ht>30?k=ft+30:Math.abs(ft-k)>20?k=ft:g=d}t.append(n("<br style='clear:both;'>"))}t.find(f("column",!0)).find(":first"+f("removeiffirst",!0)).remove();t.find(f("column",!0)).find(":last"+f("removeiflast",!0)).remove();t.find(f("split",!0)).find(":first"+f("removeiffirst",!0)).remove();t.find(f("split",!0)).find(":last"+f("removeiflast",!0)).remove();t.data("columnizing",!1);i.overflow&&i.overflow.doneFunc();i.doneFunc()}}}var t=i.target?n(i.target):n(this),y=n(this).height(),e=n("<div><\/div>"),p=0,s=i.manualBreaks,h=u.cssClassPrefix,c,l;if(typeof i.cssClassPrefix=="string"&&(h=i.cssClassPrefix),c=0,r(e,n(this).contents().clone(!0)),!i.ignoreImageLoading&&!i.target&&!t.data("imageLoaded")&&(t.data("imageLoaded",!0),n(this).find("img").length>0)){l=function(n,t){return function(){n.data("firstImageLoaded")||(n.data("firstImageLoaded","true"),r(n.empty(),t.children().clone(!0)),n.columnize(i))}}(n(this),e);n(this).find("img").one("load",l);n(this).find("img").one("abort",l);return}t.empty();w();i.buildOnce||n(window).resize(function(){i.buildOnce||(t.data("timeout")&&clearTimeout(t.data("timeout")),t.data("timeout",setTimeout(w,200)))})})};n.fn.uncolumnize=function(){this.each(function(){var i=n(this),r;(r=i.data(t))&&i.replaceWith(r)})};n.fn.renumberByJS=function(t,i,r,u){var s,f,h,e,c,o,l,a;if(this.setList=function(t,i,r){var c=this.before.parents(),o,u,h,f,s,e;return(o=n(t[this.offset-1]).find(">*"),o.last()[0].tagName!=r.toUpperCase())?(this.debug&&console.log("Last item in previous column, isn't a list..."),0):(o=o.length,u=1,u=this.lastOther<=0?this.before.children().length+1:n(c[this.lastOther]).children().length+1,n(t[this.offset]).find(r+":first li.split").length&&(h=n(t[this.offset-1]).find(r+":last li:last"),this.elipsisText===""||n(t[this.offset-1]).find(r+":last ~ div").length||n(t[this.offset-1]).find(r+":last ~ p").length||n(h).find("ul, ol, dl").length==0&&(f=h.last().text(),s=f.length,f.substring(s-1)==";"?f.substring(s-4)!=this.elipsisText+";"&&(f=f.substring(0,s-1)+this.elipsisText+";"):f.substring(s-3)!=this.elipsisText&&(f+=this.elipsisText),h.last().text(f)),n(t[this.offset]).find(r+":first >li.split >"+r).length==0&&u--),o==1&&(u+=this.prevMax),this.nest>1?(this.debug&&console.log("Supposed to be a nested list...decr"),u--,e=n(t[this.offset-1]).find(r+":first li.split:first"),e.length>0&&(this.debug&&console.log("Previous column started with a split item, so that count is one less than expected"),u--),e=n(t[this.offset]).find(r+":first li:first").clone(),e.children().remove(),n.trim(e.text()).length>0&&(this.debug&&console.log("If that was a complete list in the previous column, don't decr."),u++,n(t[this.offset-1]).find(">"+r+":last ").children().length==0&&(this.debug&&console.log("unless that was empty, in which case revert"),u--))):(e=n(t[this.offset]).find(r+":first li:first "+r+".split li.split"),e.length>0&&(this.debug&&console.log("[Nested] Column started with a split item, so that count is one less than expected"),u--)),this.debug&&console.log("Setting the start value to "+u+" ("+this.prevMax+")"),u>0&&(typeof this.setColumnStart=="function"?this.setColumnStart(i,u):i.attr("start",u)),0)},typeof r=="undefined"&&(r=!1),typeof u=="undefined"&&(u=!1),!r&&!u)throw"renumberByJS(): Bad param, must pass an id or a class";for(s="",this.prevMax=1,s=u?"."+u:"#"+r,f=t.toLowerCase(),h=t.toUpperCase(),this.cols=n(s),this.debug&&console.log("There are "+this.cols.length+" items, looking for "+f),this.before=n(this.cols[0]).find(f+":last"),this.prevMax=this.before.children().length,this.offset=1;this.offset<this.cols.length;this.offset++){if(this.debug&&console.log("iterating "+this.offset+"...[of "+this.cols.length+"]"),this.offset%i==0){this.debug&&console.log("First column (in theory..)");this.prevMax=1;continue}if(this.before=n(this.cols[this.offset-1]).find(f+":last"),this.before.length){if(this.debug&&console.log("Have some "+t+" elements in the previous column"),e=n(this.cols[this.offset]).find(f+":first"),c=n(this.cols[this.offset]).find("*:first"),c[0]!==e[0])continue;for(o=this.before.parents(),this.lastOther=0,l=!1;this.lastOther<o.length;this.lastOther++)if(o[this.lastOther].tagName!=h&&o[this.lastOther].tagName!="LI"){l=!0;this.lastOther--;break}this.nest=1;n(this.cols[this.offset]).find(">"+f+":first li "+f+":first").length&&(this.nest=2);this.setList(this.cols,e,f);this.lastOther--;e=n(this.cols[this.offset]).find(f+":first li "+f+":first");e.length&&(this.before=n(this.cols[this.offset-1]).find(">"+f+":last li "+f+":last"),this.prevMax=0,this.nest=1,this.setList(this.cols,e,f));a=n(this.cols[this.offset-1]).find(">"+f+":last");this.prevMax=a.children().length}}return 0}}(jQuery);!function(n){function i(){}function t(n){function u(t){t.prototype.option||(t.prototype.option=function(t){n.isPlainObject(t)&&(this.options=n.extend(!0,this.options,t))})}function f(i,u){n.fn[i]=function(f){var h,e,s;if("string"==typeof f){for(var c=r.call(arguments,1),o=0,l=this.length;l>o;o++)if(h=this[o],e=n.data(h,i),e)if(n.isFunction(e[f])&&"_"!==f.charAt(0)){if(s=e[f].apply(e,c),void 0!==s)return s}else t("no such method '"+f+"' for "+i+" instance");else t("cannot call methods on "+i+" prior to initialization; attempted to call '"+f+"'");return this}return this.each(function(){var t=n.data(this,i);t?(t.option(f),t._init()):(t=new u(this,f),n.data(this,i,t))})}}if(n){var t="undefined"==typeof console?i:function(n){console.error(n)};return n.bridget=function(n,t){u(t);f(n,t)},n.bridget}}var r=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],t):t("object"==typeof exports?require("jquery"):n.jQuery)}(window),function(n){function f(n){return new RegExp("(^|\\s+)"+n+"(\\s+|$)")}function e(n,u){var f=t(n,u)?r:i;f(n,u)}var t,i,r,u;"classList"in document.documentElement?(t=function(n,t){return n.classList.contains(t)},i=function(n,t){n.classList.add(t)},r=function(n,t){n.classList.remove(t)}):(t=function(n,t){return f(t).test(n.className)},i=function(n,i){t(n,i)||(n.className=n.className+" "+i)},r=function(n,t){n.className=n.className.replace(f(t)," ")});u={hasClass:t,addClass:i,removeClass:r,toggleClass:e,has:t,add:i,remove:r,toggle:e};"function"==typeof define&&define.amd?define("classie/classie",u):"object"==typeof exports?module.exports=u:n.classie=u}(window),function(){"use strict";function t(){}function u(n,t){for(var i=n.length;i--;)if(n[i].listener===t)return i;return-1}function i(n){return function(){return this[n].apply(this,arguments)}}var n=t.prototype,r=this,f=r.EventEmitter;n.getListeners=function(n){var r,t,i=this._getEvents();if(n instanceof RegExp){r={};for(t in i)i.hasOwnProperty(t)&&n.test(t)&&(r[t]=i[t])}else r=i[n]||(i[n]=[]);return r};n.flattenListeners=function(n){for(var i=[],t=0;t<n.length;t+=1)i.push(n[t].listener);return i};n.getListenersAsObject=function(n){var t,i=this.getListeners(n);return i instanceof Array&&(t={},t[n]=i),t||i};n.addListener=function(n,t){var i,r=this.getListenersAsObject(n),f="object"==typeof t;for(i in r)r.hasOwnProperty(i)&&-1===u(r[i],t)&&r[i].push(f?t:{listener:t,once:!1});return this};n.on=i("addListener");n.addOnceListener=function(n,t){return this.addListener(n,{listener:t,once:!0})};n.once=i("addOnceListener");n.defineEvent=function(n){return this.getListeners(n),this};n.defineEvents=function(n){for(var t=0;t<n.length;t+=1)this.defineEvent(n[t]);return this};n.removeListener=function(n,t){var f,i,r=this.getListenersAsObject(n);for(i in r)r.hasOwnProperty(i)&&(f=u(r[i],t),-1!==f&&r[i].splice(f,1));return this};n.off=i("removeListener");n.addListeners=function(n,t){return this.manipulateListeners(!1,n,t)};n.removeListeners=function(n,t){return this.manipulateListeners(!0,n,t)};n.manipulateListeners=function(n,t,i){var r,u,f=n?this.removeListener:this.addListener,e=n?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(r=i.length;r--;)f.call(this,t,i[r]);else for(r in t)t.hasOwnProperty(r)&&(u=t[r])&&("function"==typeof u?f.call(this,r,u):e.call(this,r,u));return this};n.removeEvent=function(n){var t,r=typeof n,i=this._getEvents();if("string"===r)delete i[n];else if(n instanceof RegExp)for(t in i)i.hasOwnProperty(t)&&n.test(t)&&delete i[t];else delete this._events;return this};n.removeAllListeners=i("removeEvent");n.emitEvent=function(n,t){var i,f,r,e,u=this.getListenersAsObject(n);for(r in u)if(u.hasOwnProperty(r))for(f=u[r].length;f--;)i=u[r][f],i.once===!0&&this.removeListener(n,i.listener),e=i.listener.apply(this,t||[]),e===this._getOnceReturnValue()&&this.removeListener(n,i.listener);return this};n.trigger=i("emitEvent");n.emit=function(n){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(n,t)};n.setOnceReturnValue=function(n){return this._onceReturnValue=n,this};n._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0};n._getEvents=function(){return this._events||(this._events={})};t.noConflict=function(){return r.EventEmitter=f,t};"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:r.EventEmitter=t}.call(this),function(n){function f(t){var i=n.event;return i.target=i.target||i.srcElement||t,i}var t=document.documentElement,u=function(){},i,r;t.addEventListener?u=function(n,t,i){n.addEventListener(t,i,!1)}:t.attachEvent&&(u=function(n,t,i){n[t+i]=i.handleEvent?function(){var t=f(n);i.handleEvent.call(i,t)}:function(){var t=f(n);i.call(n,t)};n.attachEvent("on"+t,n[t+i])});i=function(){};t.removeEventListener?i=function(n,t,i){n.removeEventListener(t,i,!1)}:t.detachEvent&&(i=function(n,t,i){n.detachEvent("on"+t,n[t+i]);try{delete n[t+i]}catch(r){n[t+i]=void 0}});r={bind:u,unbind:i};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:n.eventie=r}(window),function(n){function t(n){if(n){if("string"==typeof r[n])return n;n=n.charAt(0).toUpperCase()+n.slice(1);for(var t,u=0,f=i.length;f>u;u++)if(t=i[u]+n,"string"==typeof r[t])return t}}var i="Webkit Moz ms Ms O".split(" "),r=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return t}):"object"==typeof exports?module.exports=t:n.getStyleProperty=t}(window),function(n){function i(n){var t=parseFloat(n),i=-1===n.indexOf("%")&&!isNaN(t);return i&&t}function u(){}function f(){for(var r,i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0,u=t.length;u>n;n++)r=t[n],i[r]=0;return i}function r(r){function c(){var f,t,c,l;h||(h=!0,f=n.getComputedStyle,(o=function(){var n=f?function(n){return f(n,null)}:function(n){return n.currentStyle};return function(t){var i=n(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),i}}(),u=r("boxSizing"))&&(t=document.createElement("div"),t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style[u]="border-box",c=document.body||document.documentElement,c.appendChild(t),l=o(t),s=200===i(l.width),c.removeChild(t)))}function l(n){var e,r,v,h,y,p;if(c(),"string"==typeof n&&(n=document.querySelector(n)),n&&"object"==typeof n&&n.nodeType){if(e=o(n),"none"===e.display)return f();r={};r.width=n.offsetWidth;r.height=n.offsetHeight;for(var tt=r.isBorderBox=!(!u||!e[u]||"border-box"!==e[u]),l=0,it=t.length;it>l;l++)v=t[l],h=e[v],h=a(n,h),y=parseFloat(h),r[v]=isNaN(y)?0:y;var w=r.paddingLeft+r.paddingRight,b=r.paddingTop+r.paddingBottom,rt=r.marginLeft+r.marginRight,ut=r.marginTop+r.marginBottom,k=r.borderLeftWidth+r.borderRightWidth,d=r.borderTopWidth+r.borderBottomWidth,g=tt&&s,nt=i(e.width);return nt!==!1&&(r.width=nt+(g?0:w+k)),p=i(e.height),p!==!1&&(r.height=p+(g?0:b+d)),r.innerWidth=r.width-(w+k),r.innerHeight=r.height-(b+d),r.outerWidth=r.width+rt,r.outerHeight=r.height+ut,r}}function a(t,i){if(n.getComputedStyle||-1===i.indexOf("%"))return i;var r=t.style,e=r.left,u=t.runtimeStyle,f=u&&u.left;return f&&(u.left=t.currentStyle.left),r.left=i,i=r.pixelLeft,r.left=e,f&&(u.left=f),i}var o,u,s,h=!1;return l}var e="undefined"==typeof console?u:function(n){console.error(n)},t=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],r):"object"==typeof exports?module.exports=r(require("desandro-get-style-property")):n.getSize=r(n.getStyleProperty)}(window),function(n){function t(n){"function"==typeof n&&(t.isReady?n():f.push(n))}function r(n){var r="readystatechange"===n.type&&"complete"!==i.readyState;t.isReady||r||e()}function e(){var n,i,r;for(t.isReady=!0,n=0,i=f.length;i>n;n++)r=f[n],r()}function u(u){return"complete"===i.readyState?e():(u.bind(i,"DOMContentLoaded",r),u.bind(i,"readystatechange",r),u.bind(n,"load",r)),t}var i=n.document,f=[];t.isReady=!1;"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],u):"object"==typeof exports?module.exports=u(require("eventie")):n.docReady=u(n.eventie)}(window),function(n){"use strict";function i(n,t){return n[u](t)}function r(n){if(!n.parentNode){var t=document.createDocumentFragment();t.appendChild(n)}}function o(n,t){r(n);for(var u=n.parentNode.querySelectorAll(t),i=0,f=u.length;f>i;i++)if(u[i]===n)return!0;return!1}function s(n,t){return r(n),i(n,t)}var t,u=function(){var u,i;if(n.matches)return"matches";if(n.matchesSelector)return"matchesSelector";for(var r=["webkit","moz","ms","o"],t=0,f=r.length;f>t;t++)if(u=r[t],i=u+"MatchesSelector",n[i])return i}(),f,e;u?(f=document.createElement("div"),e=i(f,"div"),t=e?i:s):t=o;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return t}):"object"==typeof exports?module.exports=t:window.matchesSelector=t}(Element.prototype),function(n,t){"use strict";"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(i,r){return t(n,i,r)}):"object"==typeof exports?module.exports=t(n,require("doc-ready"),require("desandro-matches-selector")):n.fizzyUIUtils=t(n,n.docReady,n.matchesSelector)}(window,function(n,t,i){var r={},f,u;return r.extend=function(n,t){for(var i in t)n[i]=t[i];return n},r.modulo=function(n,t){return(n%t+t)%t},f=Object.prototype.toString,r.isArray=function(n){return"[object Array]"==f.call(n)},r.makeArray=function(n){var t=[],i,u;if(r.isArray(n))t=n;else if(n&&"number"==typeof n.length)for(i=0,u=n.length;u>i;i++)t.push(n[i]);else t.push(n);return t},r.indexOf=Array.prototype.indexOf?function(n,t){return n.indexOf(t)}:function(n,t){for(var i=0,r=n.length;r>i;i++)if(n[i]===t)return i;return-1},r.removeFrom=function(n,t){var i=r.indexOf(n,t);-1!=i&&n.splice(i,1)},r.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(n){return n instanceof HTMLElement}:function(n){return n&&"object"==typeof n&&1==n.nodeType&&"string"==typeof n.nodeName},r.setText=function(){function t(t,i){n=n||(void 0!==document.documentElement.textContent?"textContent":"innerText");t[n]=i}var n;return t}(),r.getParent=function(n,t){for(;n!=document.body;)if(n=n.parentNode,i(n,t))return n},r.getQueryElement=function(n){return"string"==typeof n?document.querySelector(n):n},r.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},r.filterFindElements=function(n,t){var u;n=r.makeArray(n);for(var f=[],e=0,h=n.length;h>e;e++)if(u=n[e],r.isElement(u))if(t){i(u,t)&&f.push(u);for(var s=u.querySelectorAll(t),o=0,c=s.length;c>o;o++)f.push(s[o])}else f.push(u);return f},r.debounceMethod=function(n,t,i){var u=n.prototype[t],r=t+"Timeout";n.prototype[t]=function(){var t=this[r],f,n;t&&clearTimeout(t);f=arguments;n=this;this[r]=setTimeout(function(){u.apply(n,f);delete n[r]},i||100)}},r.toDashed=function(n){return n.replace(/(.)([A-Z])/g,function(n,t,i){return t+"-"+i}).toLowerCase()},u=n.console,r.htmlInit=function(i,f){t(function(){for(var a,t,o,v,s,h=r.toDashed(f),c=document.querySelectorAll(".js-"+h),l="data-"+h+"-options",e=0,y=c.length;y>e;e++){t=c[e];o=t.getAttribute(l);try{a=o&&JSON.parse(o)}catch(p){u&&u.error("Error parsing "+l+" on "+t.nodeName.toLowerCase()+(t.id?"#"+t.id:"")+": "+p);continue}v=new i(t,a);s=n.jQuery;s&&s.data(t,f,v)}})},r}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("flickity/js/cell",["get-size/get-size"],function(i){return t(n,i)}):"object"==typeof exports?module.exports=t(n,require("get-size")):(n.Flickity=n.Flickity||{},n.Flickity.Cell=t(n,n.getSize))}(window,function(n,t){function i(n,t){this.element=n;this.parent=t;this.create()}var r="attachEvent"in n;return i.prototype.create=function(){this.element.style.position="absolute";r&&this.element.setAttribute("unselectable","on");this.x=0;this.shift=0},i.prototype.destroy=function(){this.element.style.position="";var n=this.parent.originSide;this.element.style[n]=""},i.prototype.getSize=function(){this.size=t(this.element)},i.prototype.setPosition=function(n){this.x=n;this.setDefaultTarget();this.renderPosition(n)},i.prototype.setDefaultTarget=function(){var n="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[n]+this.size.width*this.parent.cellAlign},i.prototype.renderPosition=function(n){var t=this.parent.originSide;this.element.style[t]=this.parent.getPositionValue(n)},i.prototype.wrapShift=function(n){this.shift=n;this.renderPosition(this.x+this.parent.slideableWidth*n)},i.prototype.remove=function(){this.element.parentNode.removeChild(this.element)},i}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("flickity/js/animate",["get-style-property/get-style-property","fizzy-ui-utils/utils"],function(i,r){return t(n,i,r)}):"object"==typeof exports?module.exports=t(n,require("desandro-get-style-property"),require("fizzy-ui-utils")):(n.Flickity=n.Flickity||{},n.Flickity.animatePrototype=t(n,n.getStyleProperty,n.fizzyUIUtils))}(window,function(n,t,i){for(var r,o,h,e,c=0,l="webkit moz ms o".split(" "),u=n.requestAnimationFrame,f=n.cancelAnimationFrame,s=0;s<l.length&&(!u||!f);s++)e=l[s],u=u||n[e+"RequestAnimationFrame"],f=f||n[e+"CancelAnimationFrame"]||n[e+"CancelRequestAnimationFrame"];return u&&f||(u=function(t){var i=(new Date).getTime(),r=Math.max(0,16-(i-c)),u=n.setTimeout(function(){t(i+r)},r);return c=i+r,u},f=function(t){n.clearTimeout(t)}),r={},r.startAnimation=function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},r.animate=function(){var n,t;this.applyDragForce();this.applySelectedAttraction();n=this.x;(this.integratePhysics(),this.positionSlider(),this.settle(n),this.isAnimating)&&(t=this,u(function(){t.animate()}))},o=t("transform"),h=!!t("perspective"),r.positionSlider=function(){var n=this.x,t;this.options.wrapAround&&this.cells.length>1&&(n=i.modulo(n,this.slideableWidth),n-=this.slideableWidth,this.shiftWrapCells(n));n+=this.cursorPosition;n=this.options.rightToLeft&&o?-n:n;t=this.getPositionValue(n);o?this.slider.style[o]=h&&this.isAnimating?"translate3d("+t+",0,0)":"translateX("+t+")":this.slider.style[this.originSide]=t},r.positionSliderAtSelected=function(){if(this.cells.length){var n=this.cells[this.selectedIndex];this.x=-n.target;this.positionSlider()}},r.getPositionValue=function(n){return this.options.percentPosition?.01*Math.round(n/this.size.innerWidth*1e4)+"%":Math.round(n)+"px"},r.settle=function(n){this.isPointerDown||Math.round(100*this.x)!=Math.round(100*n)||this.restingFrames++;this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,h&&this.positionSlider(),this.dispatchEvent("settle"))},r.shiftWrapCells=function(n){var i=this.cursorPosition+n,t;this._shiftCells(this.beforeShiftCells,i,-1);t=this.size.innerWidth-(n+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,t,1)},r._shiftCells=function(n,t,i){for(var u,e,r=0,f=n.length;f>r;r++)u=n[r],e=t>0?i:0,u.wrapShift(e),t-=u.size.outerWidth},r._unshiftCells=function(n){if(n&&n.length)for(var t=0,i=n.length;i>t;t++)n[t].wrapShift(0)},r.integratePhysics=function(){this.velocity+=this.accel;this.x+=this.velocity;this.velocity*=this.getFrictionFactor();this.accel=0},r.applyForce=function(n){this.accel+=n},r.getFrictionFactor=function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},r.getRestingPosition=function(){return this.x+this.velocity/(1-this.getFrictionFactor())},r.applyDragForce=function(){if(this.isPointerDown){var n=this.dragX-this.x,t=n-this.velocity;this.applyForce(t)}},r.applySelectedAttraction=function(){var n=this.cells.length;if(!this.isPointerDown&&!this.isFreeScrolling&&n){var t=this.cells[this.selectedIndex],i=this.options.wrapAround&&n>1?this.slideableWidth*Math.floor(this.selectedIndex/n):0,r=-1*(t.target+i)-this.x,u=r*this.options.selectedAttraction;this.applyForce(u)}},r}),function(n,t){"use strict";if("function"==typeof define&&define.amd)define("flickity/js/flickity",["classie/classie","eventEmitter/EventEmitter","eventie/eventie","get-size/get-size","fizzy-ui-utils/utils","./cell","./animate"],function(i,r,u,f,e,o,s){return t(n,i,r,u,f,e,o,s)});else if("object"==typeof exports)module.exports=t(n,require("desandro-classie"),require("wolfy87-eventemitter"),require("eventie"),require("get-size"),require("fizzy-ui-utils"),require("./cell"),require("./animate"));else{var i=n.Flickity;n.Flickity=t(n,n.classie,n.EventEmitter,n.eventie,n.getSize,n.fizzyUIUtils,i.Cell,i.animatePrototype)}}(window,function(n,t,i,r,u,f,e,o){function a(n,t){for(n=f.makeArray(n);n.length;)t.appendChild(n.shift())}function s(n,t){var i=f.getQueryElement(n);return i?(this.element=i,h&&(this.$element=h(this.element)),this.options=f.extend({},this.constructor.defaults),this.option(t),void this._create()):void(v&&v.error("Bad element for Flickity: "+(i||n)))}var h=n.jQuery,c=n.getComputedStyle,v=n.console,b=0,l={},y,p,w;return s.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},s.createMethods=[],f.extend(s.prototype,i.prototype),s.prototype._create=function(){var i=this.guid=++b,t,u,f;for(this.element.flickityGUID=i,l[i]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.accel=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",s.setUnselectable(this.viewport),this._createSlider(),(this.options.resize||this.options.watchCSS)&&(r.bind(n,"resize",this),this.isResizeBound=!0),t=0,u=s.createMethods.length;u>t;t++)f=s.createMethods[t],this[f]();this.options.watchCSS?this.watchCSS():this.activate()},s.prototype.option=function(n){f.extend(this.options,n)},s.prototype.activate=function(){var i,u,n;this.isActive||(this.isActive=!0,t.add(this.element,"flickity-enabled"),this.options.rightToLeft&&t.add(this.element,"flickity-rtl"),this.getSize(),i=this._filterFindCellElements(this.element.children),a(i,this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,r.bind(this.element,"keydown",this)),this.emit("activate"),n=this.options.initialIndex,u=this.isInitActivated?this.selectedIndex:void 0!==n&&this.cells[n]?n:0,this.select(u,!1,!0),this.isInitActivated=!0)},s.prototype._createSlider=function(){var n=document.createElement("div");n.className="flickity-slider";n.style[this.originSide]=0;this.slider=n},s.prototype._filterFindCellElements=function(n){return f.filterFindElements(n,this.options.cellSelector)},s.prototype.reloadCells=function(){this.cells=this._makeCells(this.slider.children);this.positionCells();this._getWrapShiftCells();this.setGallerySize()},s.prototype._makeCells=function(n){for(var u,f,i=this._filterFindCellElements(n),r=[],t=0,o=i.length;o>t;t++)u=i[t],f=new e(u,this),r.push(f);return r},s.prototype.getLastCell=function(){return this.cells[this.cells.length-1]},s.prototype.positionCells=function(){this._sizeCells(this.cells);this._positionCells(0)},s.prototype._positionCells=function(n){var t,u,i,f,r;for(n=n||0,this.maxCellHeight=n?this.maxCellHeight||0:0,t=0,n>0&&(u=this.cells[n-1],t=u.x+u.size.outerWidth),f=this.cells.length,r=n;f>r;r++)i=this.cells[r],i.setPosition(t),t+=i.size.outerWidth,this.maxCellHeight=Math.max(i.size.outerHeight,this.maxCellHeight);this.slideableWidth=t;this._containCells()},s.prototype._sizeCells=function(n){for(var r,t=0,i=n.length;i>t;t++)r=n[t],r.getSize()},s.prototype._init=s.prototype.reposition=function(){this.positionCells();this.positionSliderAtSelected()},s.prototype.getSize=function(){this.size=u(this.element);this.setCellAlign();this.cursorPosition=this.size.innerWidth*this.cellAlign},y={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}},s.prototype.setCellAlign=function(){var n=y[this.options.cellAlign];this.cellAlign=n?n[this.originSide]:this.options.cellAlign},s.prototype.setGallerySize=function(){this.options.setGallerySize&&(this.viewport.style.height=this.maxCellHeight+"px")},s.prototype._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells);this._unshiftCells(this.afterShiftCells);var n=this.cursorPosition,t=this.cells.length-1;this.beforeShiftCells=this._getGapCells(n,t,-1);n=this.size.innerWidth-this.cursorPosition;this.afterShiftCells=this._getGapCells(n,0,1)}},s.prototype._getGapCells=function(n,t,i){for(var r,u=[];n>0;){if(r=this.cells[t],!r)break;u.push(r);t+=i;n-=r.size.outerWidth}return u},s.prototype._containCells=function(){var n;if(this.options.contain&&!this.options.wrapAround&&this.cells.length)for(var r=this.options.rightToLeft?"marginRight":"marginLeft",u=this.options.rightToLeft?"marginLeft":"marginRight",f=this.cells[0].size[r],e=this.getLastCell(),t=this.slideableWidth-e.size[u],o=t-this.size.innerWidth*(1-this.cellAlign),s=t<this.size.innerWidth,i=0,h=this.cells.length;h>i;i++)n=this.cells[i],n.setDefaultTarget(),s?n.target=t*this.cellAlign:(n.target=Math.max(n.target,this.cursorPosition+f),n.target=Math.min(n.target,o))},s.prototype.dispatchEvent=function(n,t,i){var u=[t].concat(i),r;(this.emitEvent(n,u),h&&this.$element)&&(t?(r=h.Event(t),r.type=n,this.$element.trigger(r,i)):this.$element.trigger(n,i))},s.prototype.select=function(n,t,i){if(this.isActive){n=parseInt(n,10);var r=this.cells.length;this.options.wrapAround&&r>1&&(0>n?this.x-=this.slideableWidth:n>=r&&(this.x+=this.slideableWidth));(this.options.wrapAround||t)&&(n=f.modulo(n,r));this.cells[n]&&(this.selectedIndex=n,this.setSelectedCell(),i?this.positionSliderAtSelected():this.startAnimation(),this.dispatchEvent("cellSelect"))}},s.prototype.previous=function(n){this.select(this.selectedIndex-1,n)},s.prototype.next=function(n){this.select(this.selectedIndex+1,n)},s.prototype.setSelectedCell=function(){this._removeSelectedCellClass();this.selectedCell=this.cells[this.selectedIndex];this.selectedElement=this.selectedCell.element;t.add(this.selectedElement,"is-selected")},s.prototype._removeSelectedCellClass=function(){this.selectedCell&&t.remove(this.selectedCell.element,"is-selected")},s.prototype.getCell=function(n){for(var i,t=0,r=this.cells.length;r>t;t++)if(i=this.cells[t],i.element==n)return i},s.prototype.getCells=function(n){var u,i;n=f.makeArray(n);for(var r=[],t=0,e=n.length;e>t;t++)u=n[t],i=this.getCell(u),i&&r.push(i);return r},s.prototype.getCellElements=function(){for(var t=[],n=0,i=this.cells.length;i>n;n++)t.push(this.cells[n].element);return t},s.prototype.getParentCell=function(n){var t=this.getCell(n);return t?t:(n=f.getParent(n,".flickity-slider > *"),this.getCell(n))},s.prototype.getAdjacentCellElements=function(n,t){var r,u,i,o,e;if(!n)return[this.selectedElement];if(t=void 0===t?this.selectedIndex:t,r=this.cells.length,1+2*n>=r)return this.getCellElements();for(u=[],i=t-n;t+n>=i;i++)o=this.options.wrapAround?f.modulo(i,r):i,e=this.cells[o],e&&u.push(e.element);return u},s.prototype.uiChange=function(){this.emit("uiChange")},s.prototype.childUIPointerDown=function(n){this.emitEvent("childUIPointerDown",[n])},s.prototype.onresize=function(){this.watchCSS();this.resize()},f.debounceMethod(s,"onresize",150),s.prototype.resize=function(){this.isActive&&(this.getSize(),this.options.wrapAround&&(this.x=f.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.positionSliderAtSelected())},p=s.supportsConditionalCSS=function(){var n;return function(){var t,i,r;return void 0!==n?n:c?(t=document.createElement("style"),i=document.createTextNode('body:after { content: "foo"; display: none; }'),t.appendChild(i),document.head.appendChild(t),r=c(document.body,":after").content,n=-1!=r.indexOf("foo"),document.head.removeChild(t),n):void(n=!1)}}(),s.prototype.watchCSS=function(){var n=this.options.watchCSS,t,i,r;if(n){if(t=p(),!t)return i="fallbackOn"==n?"activate":"deactivate",void this[i]();r=c(this.element,":after").content;-1!=r.indexOf("flickity")?this.activate():this.deactivate()}},s.prototype.onkeydown=function(n){var t,i;this.options.accessibility&&(!document.activeElement||document.activeElement==this.element)&&(37==n.keyCode?(t=this.options.rightToLeft?"next":"previous",this.uiChange(),this[t]()):39==n.keyCode&&(i=this.options.rightToLeft?"previous":"next",this.uiChange(),this[i]()))},s.prototype.deactivate=function(){var n,i,u;if(this.isActive){for(t.remove(this.element,"flickity-enabled"),t.remove(this.element,"flickity-rtl"),n=0,i=this.cells.length;i>n;n++)u=this.cells[n],u.destroy();this._removeSelectedCellClass();this.element.removeChild(this.viewport);a(this.slider.children,this.element);this.options.accessibility&&(this.element.removeAttribute("tabIndex"),r.unbind(this.element,"keydown",this));this.isActive=!1;this.emit("deactivate")}},s.prototype.destroy=function(){this.deactivate();this.isResizeBound&&r.unbind(n,"resize",this);this.emit("destroy");h&&this.$element&&h.removeData(this.element,"flickity");delete this.element.flickityGUID;delete l[this.guid]},f.extend(s.prototype,o),w="attachEvent"in n,s.setUnselectable=function(n){w&&n.setAttribute("unselectable","on")},s.data=function(n){n=f.getQueryElement(n);var t=n&&n.flickityGUID;return t&&l[t]},f.htmlInit(s,"flickity"),h&&h.bridget&&h.bridget("flickity",s),s.Cell=e,s}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("unipointer/unipointer",["eventEmitter/EventEmitter","eventie/eventie"],function(i,r){return t(n,i,r)}):"object"==typeof exports?module.exports=t(n,require("wolfy87-eventemitter"),require("eventie")):n.Unipointer=t(n,n.EventEmitter,n.eventie)}(window,function(n,t,i){function u(){}function r(){}r.prototype=new t;r.prototype.bindStartEvent=function(n){this._bindStartEvent(n,!0)};r.prototype.unbindStartEvent=function(n){this._bindStartEvent(n,!1)};r.prototype._bindStartEvent=function(t,r){r=void 0===r?!0:!!r;var u=r?"bind":"unbind";n.navigator.pointerEnabled?i[u](t,"pointerdown",this):n.navigator.msPointerEnabled?i[u](t,"MSPointerDown",this):(i[u](t,"mousedown",this),i[u](t,"touchstart",this))};r.prototype.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)};r.prototype.getTouch=function(n){for(var i,t=0,r=n.length;r>t;t++)if(i=n[t],i.identifier==this.pointerIdentifier)return i};r.prototype.onmousedown=function(n){var t=n.button;t&&0!==t&&1!==t||this._pointerDown(n,n)};r.prototype.ontouchstart=function(n){this._pointerDown(n,n.changedTouches[0])};r.prototype.onMSPointerDown=r.prototype.onpointerdown=function(n){this._pointerDown(n,n)};r.prototype._pointerDown=function(n,t){this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==t.pointerId?t.pointerId:t.identifier,this.pointerDown(n,t))};r.prototype.pointerDown=function(n,t){this._bindPostStartEvents(n);this.emitEvent("pointerDown",[n,t])};var f={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"],MSPointerDown:["MSPointerMove","MSPointerUp","MSPointerCancel"]};return r.prototype._bindPostStartEvents=function(t){var o;if(t){for(var r=f[t.type],e=t.preventDefault?n:document,u=0,s=r.length;s>u;u++)o=r[u],i.bind(e,o,this);this._boundPointerEvents={events:r,node:e}}},r.prototype._unbindPostStartEvents=function(){var n=this._boundPointerEvents,t,r,u;if(n&&n.events){for(t=0,r=n.events.length;r>t;t++)u=n.events[t],i.unbind(n.node,u,this);delete this._boundPointerEvents}},r.prototype.onmousemove=function(n){this._pointerMove(n,n)},r.prototype.onMSPointerMove=r.prototype.onpointermove=function(n){n.pointerId==this.pointerIdentifier&&this._pointerMove(n,n)},r.prototype.ontouchmove=function(n){var t=this.getTouch(n.changedTouches);t&&this._pointerMove(n,t)},r.prototype._pointerMove=function(n,t){this.pointerMove(n,t)},r.prototype.pointerMove=function(n,t){this.emitEvent("pointerMove",[n,t])},r.prototype.onmouseup=function(n){this._pointerUp(n,n)},r.prototype.onMSPointerUp=r.prototype.onpointerup=function(n){n.pointerId==this.pointerIdentifier&&this._pointerUp(n,n)},r.prototype.ontouchend=function(n){var t=this.getTouch(n.changedTouches);t&&this._pointerUp(n,t)},r.prototype._pointerUp=function(n,t){this._pointerDone();this.pointerUp(n,t)},r.prototype.pointerUp=function(n,t){this.emitEvent("pointerUp",[n,t])},r.prototype._pointerDone=function(){this.isPointerDown=!1;delete this.pointerIdentifier;this._unbindPostStartEvents();this.pointerDone()},r.prototype.pointerDone=u,r.prototype.onMSPointerCancel=r.prototype.onpointercancel=function(n){n.pointerId==this.pointerIdentifier&&this._pointerCancel(n,n)},r.prototype.ontouchcancel=function(n){var t=this.getTouch(n.changedTouches);t&&this._pointerCancel(n,t)},r.prototype._pointerCancel=function(n,t){this._pointerDone();this.pointerCancel(n,t)},r.prototype.pointerCancel=function(n,t){this.emitEvent("pointerCancel",[n,t])},r.getPointerPoint=function(n){return{x:void 0!==n.pageX?n.pageX:n.clientX,y:void 0!==n.pageY?n.pageY:n.clientY}},r}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("unidragger/unidragger",["eventie/eventie","unipointer/unipointer"],function(i,r){return t(n,i,r)}):"object"==typeof exports?module.exports=t(n,require("eventie"),require("unipointer")):n.Unidragger=t(n,n.eventie,n.Unipointer)}(window,function(n,t,i){function c(){}function u(n){n.preventDefault?n.preventDefault():n.returnValue=!1}function r(){}function o(){return!1}var f,s,h,e;return r.prototype=new i,r.prototype.bindHandles=function(){this._bindHandles(!0)},r.prototype.unbindHandles=function(){this._bindHandles(!1)},f=n.navigator,r.prototype._bindHandles=function(n){var u,i;n=void 0===n?!0:!!n;u=f.pointerEnabled?function(t){t.style.touchAction=n?"none":""}:f.msPointerEnabled?function(t){t.style.msTouchAction=n?"none":""}:function(){n&&h(i)};for(var e=n?"bind":"unbind",r=0,o=this.handles.length;o>r;r++)i=this.handles[r],this._bindStartEvent(i,n),u(i),t[e](i,"click",this)},s="attachEvent"in document.documentElement,h=s?function(n){var r;"IMG"==n.nodeName&&(n.ondragstart=o);for(var i=n.querySelectorAll("img"),t=0,u=i.length;u>t;t++)r=i[t],r.ondragstart=o}:c,r.prototype.pointerDown=function(i,u){if("INPUT"==i.target.nodeName&&"range"==i.target.type)return this.isPointerDown=!1,void delete this.pointerIdentifier;this._dragPointerDown(i,u);var f=document.activeElement;f&&f.blur&&f.blur();this._bindPostStartEvents(i);this.pointerDownScroll=r.getScrollPosition();t.bind(n,"scroll",this);this.emitEvent("pointerDown",[i,u])},r.prototype._dragPointerDown=function(n,t){this.pointerDownPoint=i.getPointerPoint(t);var r="touchstart"==n.type,f=n.target.nodeName;r||"SELECT"==f||u(n)},r.prototype.pointerMove=function(n,t){var i=this._dragPointerMove(n,t);this.emitEvent("pointerMove",[n,t,i]);this._dragMove(n,t,i)},r.prototype._dragPointerMove=function(n,t){var r=i.getPointerPoint(t),u={x:r.x-this.pointerDownPoint.x,y:r.y-this.pointerDownPoint.y};return!this.isDragging&&this.hasDragStarted(u)&&this._dragStart(n,t),u},r.prototype.hasDragStarted=function(n){return Math.abs(n.x)>3||Math.abs(n.y)>3},r.prototype.pointerUp=function(n,t){this.emitEvent("pointerUp",[n,t]);this._dragPointerUp(n,t)},r.prototype._dragPointerUp=function(n,t){this.isDragging?this._dragEnd(n,t):this._staticClick(n,t)},r.prototype.pointerDone=function(){t.unbind(n,"scroll",this)},r.prototype._dragStart=function(n,t){this.isDragging=!0;this.dragStartPoint=r.getPointerPoint(t);this.isPreventingClicks=!0;this.dragStart(n,t)},r.prototype.dragStart=function(n,t){this.emitEvent("dragStart",[n,t])},r.prototype._dragMove=function(n,t,i){this.isDragging&&this.dragMove(n,t,i)},r.prototype.dragMove=function(n,t,i){u(n);this.emitEvent("dragMove",[n,t,i])},r.prototype._dragEnd=function(n,t){this.isDragging=!1;var i=this;setTimeout(function(){delete i.isPreventingClicks});this.dragEnd(n,t)},r.prototype.dragEnd=function(n,t){this.emitEvent("dragEnd",[n,t])},r.prototype.pointerDone=function(){t.unbind(n,"scroll",this);delete this.pointerDownScroll},r.prototype.onclick=function(n){this.isPreventingClicks&&u(n)},r.prototype._staticClick=function(n,t){var i,r;this.isIgnoringMouseUp&&"mouseup"==n.type||(i=n.target.nodeName,(("INPUT"==i||"TEXTAREA"==i)&&n.target.focus(),this.staticClick(n,t),"mouseup"!=n.type)&&(this.isIgnoringMouseUp=!0,r=this,setTimeout(function(){delete r.isIgnoringMouseUp},400)))},r.prototype.staticClick=function(n,t){this.emitEvent("staticClick",[n,t])},r.prototype.onscroll=function(){var n=r.getScrollPosition(),t=this.pointerDownScroll.x-n.x,i=this.pointerDownScroll.y-n.y;(Math.abs(t)>3||Math.abs(i)>3)&&this._pointerDone()},r.getPointerPoint=function(n){return{x:void 0!==n.pageX?n.pageX:n.clientX,y:void 0!==n.pageY?n.pageY:n.clientY}},e=void 0!==n.pageYOffset,r.getScrollPosition=function(){return{x:e?n.pageXOffset:document.body.scrollLeft,y:e?n.pageYOffset:document.body.scrollTop}},r.getPointerPoint=i.getPointerPoint,r}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("flickity/js/drag",["classie/classie","eventie/eventie","./flickity","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,r,u,f,e){return t(n,i,r,u,f,e)}):"object"==typeof exports?module.exports=t(n,require("desandro-classie"),require("eventie"),require("./flickity"),require("unidragger"),require("fizzy-ui-utils")):n.Flickity=t(n,n.classie,n.eventie,n.Flickity,n.Unidragger,n.fizzyUIUtils)}(window,function(n,t,i,r,u,f){function e(n){n.preventDefault?n.preventDefault():n.returnValue=!1}f.extend(r.defaults,{draggable:!0});r.createMethods.push("_createDrag");f.extend(r.prototype,u.prototype);r.prototype._createDrag=function(){this.on("activate",this.bindDrag);this.on("uiChange",this._uiChangeDrag);this.on("childUIPointerDown",this._childUIPointerDownDrag);this.on("deactivate",this.unbindDrag)};r.prototype.bindDrag=function(){this.options.draggable&&!this.isDragBound&&(t.add(this.element,"is-draggable"),this.handles=[this.viewport],this.bindHandles(),this.isDragBound=!0)};r.prototype.unbindDrag=function(){this.isDragBound&&(t.remove(this.element,"is-draggable"),this.unbindHandles(),delete this.isDragBound)};r.prototype._uiChangeDrag=function(){delete this.isFreeScrolling};r.prototype._childUIPointerDownDrag=function(n){e(n);this.pointerDownFocus(n)};r.prototype.pointerDown=function(r,f){if("INPUT"==r.target.nodeName&&"range"==r.target.type)return this.isPointerDown=!1,void delete this.pointerIdentifier;this._dragPointerDown(r,f);var e=document.activeElement;e&&e.blur&&e!=this.element&&e!=document.body&&e.blur();this.pointerDownFocus(r);this.dragX=this.x;t.add(this.viewport,"is-pointer-down");this._bindPostStartEvents(r);this.pointerDownScroll=u.getScrollPosition();i.bind(n,"scroll",this);this.dispatchEvent("pointerDown",r,[f])};var o={touchstart:!0,MSPointerDown:!0},s={INPUT:!0,SELECT:!0};return r.prototype.pointerDownFocus=function(t){if(this.options.accessibility&&!o[t.type]&&!s[t.target.nodeName]){var i=n.pageYOffset;this.element.focus();n.pageYOffset!=i&&n.scrollTo(n.pageXOffset,i)}},r.prototype.hasDragStarted=function(n){return Math.abs(n.x)>3},r.prototype.pointerUp=function(n,i){t.remove(this.viewport,"is-pointer-down");this.dispatchEvent("pointerUp",n,[i]);this._dragPointerUp(n,i)},r.prototype.pointerDone=function(){i.unbind(n,"scroll",this);delete this.pointerDownScroll},r.prototype.dragStart=function(n,t){this.dragStartPosition=this.x;this.startAnimation();this.dispatchEvent("dragStart",n,[t])},r.prototype.dragMove=function(n,t,i){var o,r,u,f;e(n);this.previousDragX=this.dragX;o=this.options.rightToLeft?-1:1;r=this.dragStartPosition+i.x*o;!this.options.wrapAround&&this.cells.length&&(u=Math.max(-this.cells[0].target,this.dragStartPosition),r=r>u?.5*(r+u):r,f=Math.min(-this.getLastCell().target,this.dragStartPosition),r=f>r?.5*(r+f):r);this.dragX=r;this.dragMoveTime=new Date;this.dispatchEvent("dragMove",n,[t,i])},r.prototype.dragEnd=function(n,t){var i,r;this.options.freeScroll&&(this.isFreeScrolling=!0);i=this.dragEndRestingSelect();this.options.freeScroll&&!this.options.wrapAround?(r=this.getRestingPosition(),this.isFreeScrolling=-r>this.cells[0].target&&-r<this.getLastCell().target):this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect());delete this.previousDragX;this.select(i);this.dispatchEvent("dragEnd",n,[t])},r.prototype.dragEndRestingSelect=function(){var n=this.getRestingPosition(),t=Math.abs(this.getCellDistance(-n,this.selectedIndex)),i=this._getClosestResting(n,t,1),r=this._getClosestResting(n,t,-1);return i.distance<r.distance?i.index:r.index},r.prototype._getClosestResting=function(n,t,i){for(var r=this.selectedIndex,u=1/0,f=this.options.contain&&!this.options.wrapAround?function(n,t){return t>=n}:function(n,t){return t>n};f(t,u)&&(r+=i,u=t,t=this.getCellDistance(-n,r),null!==t);)t=Math.abs(t);return{distance:u,index:r-i}},r.prototype.getCellDistance=function(n,t){var i=this.cells.length,r=this.options.wrapAround&&i>1,o=r?f.modulo(t,i):t,u=this.cells[o],e;return u?(e=r?this.slideableWidth*Math.floor(t/i):0,n-(u.target+e)):null},r.prototype.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var n=this.getCellDistance(-this.dragX,this.selectedIndex),t=this.previousDragX-this.dragX;return n>0&&t>0?1:0>n&&0>t?-1:0},r.prototype.staticClick=function(n,t){var i=this.getParentCell(n.target),r=i&&i.element,u=i&&f.indexOf(this.cells,i);this.dispatchEvent("staticClick",n,[t,r,u])},r}),function(n,t){"function"==typeof define&&define.amd?define("tap-listener/tap-listener",["unipointer/unipointer"],function(i){return t(n,i)}):"object"==typeof exports?module.exports=t(n,require("unipointer")):n.TapListener=t(n,n.Unipointer)}(window,function(n,t){function i(n){this.bindTap(n)}i.prototype=new t;i.prototype.bindTap=function(n){n&&(this.unbindTap(),this.tapElement=n,this._bindStartEvent(n,!0))};i.prototype.unbindTap=function(){this.tapElement&&(this._bindStartEvent(this.tapElement,!0),delete this.tapElement)};var r=void 0!==n.pageYOffset;return i.prototype.pointerUp=function(i,u){if(!this.isIgnoringMouseUp||"mouseup"!=i.type){var f=t.getPointerPoint(u),e=this.tapElement.getBoundingClientRect(),o=r?n.pageXOffset:document.body.scrollLeft,s=r?n.pageYOffset:document.body.scrollTop,h=f.x>=e.left+o&&f.x<=e.right+o&&f.y>=e.top+s&&f.y<=e.bottom+s;h&&this.emitEvent("tap",[i,u]);"mouseup"!=i.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),320))}},i.prototype.destroy=function(){this.pointerDone();this.unbindTap()},i}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("flickity/js/prev-next-button",["eventie/eventie","./flickity","tap-listener/tap-listener","fizzy-ui-utils/utils"],function(i,r,u,f){return t(n,i,r,u,f)}):"object"==typeof exports?module.exports=t(n,require("eventie"),require("./flickity"),require("tap-listener"),require("fizzy-ui-utils")):t(n,n.eventie,n.Flickity,n.TapListener,n.fizzyUIUtils)}(window,function(n,t,i,r,u){function f(n,t){this.direction=n;this.parent=t;this._create()}function o(n){return"string"==typeof n?n:"M "+n.x0+",50 L "+n.x1+","+(n.y1+50)+" L "+n.x2+","+(n.y2+50)+" L "+n.x3+",50  L "+n.x2+","+(50-n.y2)+" L "+n.x1+","+(50-n.y1)+" Z"}var e="http://www.w3.org/2000/svg",s=function(){function t(){if(void 0!==n)return n;var t=document.createElement("div");return t.innerHTML="<svg/>",n=(t.firstChild&&t.firstChild.namespaceURI)==e}var n;return t}();return f.prototype=new r,f.prototype._create=function(){var r,n,u,t;this.isEnabled=!0;this.isPrevious=-1==this.direction;r=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==r;n=this.element=document.createElement("button");(n.className="flickity-prev-next-button",n.className+=this.isPrevious?" previous":" next",n.setAttribute("type","button"),this.disable(),n.setAttribute("aria-label",this.isPrevious?"previous":"next"),i.setUnselectable(n),s())?(u=this.createSVG(),n.appendChild(u)):(this.setArrowText(),n.className+=" no-svg");t=this;this.onCellSelect=function(){t.update()};this.parent.on("cellSelect",this.onCellSelect);this.on("tap",this.onTap);this.on("pointerDown",function(n,i){t.parent.childUIPointerDown(i)})},f.prototype.activate=function(){this.bindTap(this.element);t.bind(this.element,"click",this);this.parent.element.appendChild(this.element)},f.prototype.deactivate=function(){this.parent.element.removeChild(this.element);r.prototype.destroy.call(this);t.unbind(this.element,"click",this)},f.prototype.createSVG=function(){var t=document.createElementNS(e,"svg"),n,i;return t.setAttribute("viewBox","0 0 100 100"),n=document.createElementNS(e,"path"),i=o(this.parent.options.arrowShape),n.setAttribute("d",i),n.setAttribute("class","arrow"),this.isLeft||n.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(n),t},f.prototype.setArrowText=function(){var n=this.parent.options,t=this.isLeft?n.leftArrowText:n.rightArrowText;u.setText(this.element,t)},f.prototype.onTap=function(){if(this.isEnabled){this.parent.uiChange();var n=this.isPrevious?"previous":"next";this.parent[n]()}},f.prototype.handleEvent=u.handleEvent,f.prototype.onclick=function(){var n=document.activeElement;n&&n==this.element&&this.onTap()},f.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},f.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},f.prototype.update=function(){var n=this.parent.cells;if(this.parent.options.wrapAround&&n.length>1)return void this.enable();var t=n.length?n.length-1:0,i=this.isPrevious?0:t,r=this.parent.selectedIndex==i?"disable":"enable";this[r]()},f.prototype.destroy=function(){this.deactivate()},u.extend(i.defaults,{prevNextButtons:!0,leftArrowText:"‹",rightArrowText:"›",arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),i.createMethods.push("_createPrevNextButtons"),i.prototype._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new f(-1,this),this.nextButton=new f(1,this),this.on("activate",this.activatePrevNextButtons))},i.prototype.activatePrevNextButtons=function(){this.prevButton.activate();this.nextButton.activate();this.on("deactivate",this.deactivatePrevNextButtons)},i.prototype.deactivatePrevNextButtons=function(){this.prevButton.deactivate();this.nextButton.deactivate();this.off("deactivate",this.deactivatePrevNextButtons)},i.PrevNextButton=f,i}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("flickity/js/page-dots",["eventie/eventie","./flickity","tap-listener/tap-listener","fizzy-ui-utils/utils"],function(i,r,u,f){return t(n,i,r,u,f)}):"object"==typeof exports?module.exports=t(n,require("eventie"),require("./flickity"),require("tap-listener"),require("fizzy-ui-utils")):t(n,n.eventie,n.Flickity,n.TapListener,n.fizzyUIUtils)}(window,function(n,t,i,r,u){function f(n){this.parent=n;this._create()}return f.prototype=new r,f.prototype._create=function(){this.holder=document.createElement("ol");this.holder.className="flickity-page-dots";i.setUnselectable(this.holder);this.dots=[];var n=this;this.onCellSelect=function(){n.updateSelected()};this.parent.on("cellSelect",this.onCellSelect);this.on("tap",this.onTap);this.on("pointerDown",function(t,i){n.parent.childUIPointerDown(i)})},f.prototype.activate=function(){this.setDots();this.bindTap(this.holder);this.parent.element.appendChild(this.holder)},f.prototype.deactivate=function(){this.parent.element.removeChild(this.holder);r.prototype.destroy.call(this)},f.prototype.setDots=function(){var n=this.parent.cells.length-this.dots.length;n>0?this.addDots(n):0>n&&this.removeDots(-n)},f.prototype.addDots=function(n){for(var t,i=document.createDocumentFragment(),r=[];n;)t=document.createElement("li"),t.className="dot",i.appendChild(t),r.push(t),n--;this.holder.appendChild(i);this.dots=this.dots.concat(r)},f.prototype.removeDots=function(n){for(var r,i=this.dots.splice(this.dots.length-n,n),t=0,u=i.length;u>t;t++)r=i[t],this.holder.removeChild(r)},f.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot");this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected")},f.prototype.onTap=function(n){var t=n.target,i;"LI"==t.nodeName&&(this.parent.uiChange(),i=u.indexOf(this.dots,t),this.parent.select(i))},f.prototype.destroy=function(){this.deactivate()},i.PageDots=f,u.extend(i.defaults,{pageDots:!0}),i.createMethods.push("_createPageDots"),i.prototype._createPageDots=function(){this.options.pageDots&&(this.pageDots=new f(this),this.on("activate",this.activatePageDots),this.on("cellAddedRemoved",this.onCellAddedRemovedPageDots),this.on("deactivate",this.deactivatePageDots))},i.prototype.activatePageDots=function(){this.pageDots.activate()},i.prototype.onCellAddedRemovedPageDots=function(){this.pageDots.setDots()},i.prototype.deactivatePageDots=function(){this.pageDots.deactivate()},i.PageDots=f,i}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("flickity/js/player",["eventEmitter/EventEmitter","eventie/eventie","fizzy-ui-utils/utils","./flickity"],function(n,i,r,u){return t(n,i,r,u)}):"object"==typeof exports?module.exports=t(require("wolfy87-eventemitter"),require("eventie"),require("fizzy-ui-utils"),require("./flickity")):t(n.EventEmitter,n.eventie,n.fizzyUIUtils,n.Flickity)}(window,function(n,t,i,r){function u(n){if(this.isPlaying=!1,this.parent=n,f){var t=this;this.onVisibilityChange=function(){t.visibilityChange()}}}var e,f;return"hidden"in document?(e="hidden",f="visibilitychange"):"webkitHidden"in document&&(e="webkitHidden",f="webkitvisibilitychange"),u.prototype=new n,u.prototype.play=function(){this.isPlaying=!0;delete this.isPaused;f&&document.addEventListener(f,this.onVisibilityChange,!1);this.tick()},u.prototype.tick=function(){var n,t;this.isPlaying&&!this.isPaused&&(this.tickTime=new Date,n=this.parent.options.autoPlay,n="number"==typeof n?n:3e3,t=this,this.timeout=setTimeout(function(){t.parent.next(!0);t.tick()},n))},u.prototype.stop=function(){this.isPlaying=!1;delete this.isPaused;this.clear();f&&document.removeEventListener(f,this.onVisibilityChange,!1)},u.prototype.clear=function(){clearTimeout(this.timeout)},u.prototype.pause=function(){this.isPlaying&&(this.isPaused=!0,this.clear())},u.prototype.unpause=function(){this.isPaused&&this.play()},u.prototype.visibilityChange=function(){var n=document[e];this[n?"pause":"unpause"]()},i.extend(r.defaults,{pauseAutoPlayOnHover:!0}),r.createMethods.push("_createPlayer"),r.prototype._createPlayer=function(){this.player=new u(this);this.on("activate",this.activatePlayer);this.on("uiChange",this.stopPlayer);this.on("pointerDown",this.stopPlayer);this.on("deactivate",this.deactivatePlayer)},r.prototype.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),t.bind(this.element,"mouseenter",this),this.isMouseenterBound=!0)},r.prototype.playPlayer=function(){this.player.play()},r.prototype.stopPlayer=function(){this.player.stop()},r.prototype.pausePlayer=function(){this.player.pause()},r.prototype.unpausePlayer=function(){this.player.unpause()},r.prototype.deactivatePlayer=function(){this.player.stop();this.isMouseenterBound&&(t.unbind(this.element,"mouseenter",this),delete this.isMouseenterBound)},r.prototype.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),t.bind(this.element,"mouseleave",this))},r.prototype.onmouseleave=function(){this.player.unpause();t.unbind(this.element,"mouseleave",this)},r.Player=u,r}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("flickity/js/add-remove-cell",["./flickity","fizzy-ui-utils/utils"],function(i,r){return t(n,i,r)}):"object"==typeof exports?module.exports=t(n,require("./flickity"),require("fizzy-ui-utils")):t(n,n.Flickity,n.fizzyUIUtils)}(window,function(n,t,i){function r(n){for(var r,i=document.createDocumentFragment(),t=0,u=n.length;u>t;t++)r=n[t],i.appendChild(r.element);return i}return t.prototype.insert=function(n,t){var i=this._makeCells(n),u,f,e,o,s,h;i&&i.length&&(u=this.cells.length,t=void 0===t?u:t,f=r(i),e=t==u,e?this.slider.appendChild(f):(o=this.cells[t].element,this.slider.insertBefore(f,o)),0===t?this.cells=i.concat(this.cells):e?this.cells=this.cells.concat(i):(s=this.cells.splice(t,u-t),this.cells=this.cells.concat(i).concat(s)),this._sizeCells(i),h=t>this.selectedIndex?0:i.length,this._cellAddedRemoved(t,h))},t.prototype.append=function(n){this.insert(n,this.cells.length)},t.prototype.prepend=function(n){this.insert(n,0)},t.prototype.remove=function(n){for(var r,u=this.getCells(n),e=0,o,t=0,f=u.length;f>t;t++)r=u[t],o=i.indexOf(this.cells,r)<this.selectedIndex,e-=o?1:0;for(t=0,f=u.length;f>t;t++)r=u[t],r.remove(),i.removeFrom(this.cells,r);u.length&&this._cellAddedRemoved(0,e)},t.prototype._cellAddedRemoved=function(n,t){t=t||0;this.selectedIndex+=t;this.selectedIndex=Math.max(0,Math.min(this.cells.length-1,this.selectedIndex));this.emitEvent("cellAddedRemoved",[n,t]);this.cellChange(n,!0)},t.prototype.cellSizeChange=function(n){var t=this.getCell(n),r;t&&(t.getSize(),r=i.indexOf(this.cells,t),this.cellChange(r))},t.prototype.cellChange=function(n,t){var r=this.slideableWidth,i;(this._positionCells(n),this._getWrapShiftCells(),this.setGallerySize(),this.options.freeScroll)?(i=r-this.slideableWidth,this.x+=i*this.cellAlign,this.positionSlider()):(t&&this.positionSliderAtSelected(),this.select(this.selectedIndex))},t}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("flickity/js/lazyload",["classie/classie","eventie/eventie","./flickity","fizzy-ui-utils/utils"],function(i,r,u,f){return t(n,i,r,u,f)}):"object"==typeof exports?module.exports=t(n,require("desandro-classie"),require("eventie"),require("./flickity"),require("fizzy-ui-utils")):t(n,n.classie,n.eventie,n.Flickity,n.fizzyUIUtils)}(window,function(n,t,i,r,u){"use strict";function e(n){if("IMG"==n.nodeName&&n.getAttribute("data-flickity-lazyload"))return[n];var t=n.querySelectorAll("img[data-flickity-lazyload]");return u.makeArray(t)}function f(n,t){this.img=n;this.flickity=t;this.load()}return r.createMethods.push("_createLazyload"),r.prototype._createLazyload=function(){this.on("cellSelect",this.lazyLoad)},r.prototype.lazyLoad=function(){var i=this.options.lazyLoad,o,s,h;if(i){for(var c="number"==typeof i?i:0,u=this.getAdjacentCellElements(c),t=[],n=0,r=u.length;r>n;n++)o=u[n],s=e(o),t=t.concat(s);for(n=0,r=t.length;r>n;n++)h=t[n],new f(h,this)}},f.prototype.handleEvent=u.handleEvent,f.prototype.load=function(){i.bind(this.img,"load",this);i.bind(this.img,"error",this);this.img.src=this.img.getAttribute("data-flickity-lazyload");this.img.removeAttribute("data-flickity-lazyload")},f.prototype.onload=function(n){this.complete(n,"flickity-lazyloaded")},f.prototype.onerror=function(n){this.complete(n,"flickity-lazyerror")},f.prototype.complete=function(n,r){i.unbind(this.img,"load",this);i.unbind(this.img,"error",this);var u=this.flickity.getParentCell(this.img),f=u&&u.element;this.flickity.cellSizeChange(f);t.add(this.img,r);this.flickity.dispatchEvent("lazyLoad",n,f)},r.LazyLoader=f,r}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("flickity/js/index",["./flickity","./drag","./prev-next-button","./page-dots","./player","./add-remove-cell","./lazyload"],t):"object"==typeof exports&&(module.exports=t(require("./flickity"),require("./drag"),require("./prev-next-button"),require("./page-dots"),require("./player"),require("./add-remove-cell"),require("./lazyload")))}(window,function(n){return n}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("flickity-as-nav-for/as-nav-for",["classie/classie","flickity/js/index","fizzy-ui-utils/utils"],function(i,r,u){return t(n,i,r,u)}):"object"==typeof exports?module.exports=t(n,require("desandro-classie"),require("flickity"),require("fizzy-ui-utils")):n.Flickity=t(n,n.classie,n.Flickity,n.fizzyUIUtils)}(window,function(n,t,i,r){return i.createMethods.push("_createAsNavFor"),i.prototype._createAsNavFor=function(){var n,t;this.on("activate",this.activateAsNavFor);this.on("deactivate",this.deactivateAsNavFor);this.on("destroy",this.destroyAsNavFor);n=this.options.asNavFor;n&&(t=this,setTimeout(function(){t.setNavCompanion(n)}))},i.prototype.setNavCompanion=function(n){var t,u;n=r.getQueryElement(n);t=i.data(n);t&&t!=this&&(this.navCompanion=t,u=this,this.onNavCompanionSelect=function(){u.navCompanionSelect()},t.on("cellSelect",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect())},i.prototype.navCompanionSelect=function(){if(this.navCompanion){var n=this.navCompanion.selectedIndex;this.select(n);this.removeNavSelectedElement();this.selectedIndex==n&&(this.navSelectedElement=this.cells[n].element,t.add(this.navSelectedElement,"is-nav-selected"))}},i.prototype.activateAsNavFor=function(){this.navCompanionSelect()},i.prototype.removeNavSelectedElement=function(){this.navSelectedElement&&(t.remove(this.navSelectedElement,"is-nav-selected"),delete this.navSelectedElement)},i.prototype.onNavStaticClick=function(n,t,i,r){"number"==typeof r&&this.navCompanion.select(r)},i.prototype.deactivateAsNavFor=function(){this.removeNavSelectedElement()},i.prototype.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("cellSelect",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},i}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["eventEmitter/EventEmitter","eventie/eventie"],function(i,r){return t(n,i,r)}):"object"==typeof module&&module.exports?module.exports=t(n,require("wolfy87-eventemitter"),require("eventie")):n.imagesLoaded=t(n,n.EventEmitter,n.eventie)}(window,function(n,t,i){function o(n,t){for(var i in t)n[i]=t[i];return n}function l(n){return"[object Array]"==v.call(n)}function a(n){var t=[],i;if(l(n))t=n;else if("number"==typeof n.length)for(i=0;i<n.length;i++)t.push(n[i]);else t.push(n);return t}function r(n,t,i){if(!(this instanceof r))return new r(n,t,i);"string"==typeof n&&(n=document.querySelectorAll(n));this.elements=a(n);this.options=o({},this.options);"function"==typeof t?i=t:o(this.options,t);i&&this.on("always",i);this.getImages();e&&(this.jqDeferred=new e.Deferred);var u=this;setTimeout(function(){u.check()})}function u(n){this.img=n}function f(n,t){this.url=n;this.element=t;this.img=new Image}var e=n.jQuery,s=n.console,v=Object.prototype.toString,h,c;return r.prototype=new t,r.prototype.options={},r.prototype.getImages=function(){var n,t;for(this.images=[],n=0;n<this.elements.length;n++)t=this.elements[n],this.addElementImages(t)},r.prototype.addElementImages=function(n){var i,r,t,f,u,e;if("IMG"==n.nodeName&&this.addImage(n),this.options.background===!0&&this.addElementBackgroundImages(n),i=n.nodeType,i&&h[i]){for(r=n.querySelectorAll("img"),t=0;t<r.length;t++)f=r[t],this.addImage(f);if("string"==typeof this.options.background)for(u=n.querySelectorAll(this.options.background),t=0;t<u.length;t++)e=u[t],this.addElementBackgroundImages(e)}},h={1:!0,9:!0,11:!0},r.prototype.addElementBackgroundImages=function(n){for(var i,r=c(n),u=/url\(['"]*([^'"\)]+)['"]*\)/gi,t=u.exec(r.backgroundImage);null!==t;)i=t&&t[1],i&&this.addBackground(i,n),t=u.exec(r.backgroundImage)},c=n.getComputedStyle||function(n){return n.currentStyle},r.prototype.addImage=function(n){var t=new u(n);this.images.push(t)},r.prototype.addBackground=function(n,t){var i=new f(n,t);this.images.push(i)},r.prototype.check=function(){function i(n,t,i){setTimeout(function(){r.progress(n,t,i)})}var r=this,n,t;if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();for(n=0;n<this.images.length;n++)t=this.images[n],t.once("progress",i),t.check()},r.prototype.progress=function(n,t,i){this.progressedCount++;this.hasAnyBroken=this.hasAnyBroken||!n.isLoaded;this.emit("progress",this,n,t);this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,n);this.progressedCount==this.images.length&&this.complete();this.options.debug&&s&&s.log("progress: "+i,n,t)},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done",n;(this.isComplete=!0,this.emit(t,this),this.emit("always",this),this.jqDeferred)&&(n=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[n](this))},u.prototype=new t,u.prototype.check=function(){var n=this.getIsImageComplete();return n?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,i.bind(this.proxyImage,"load",this),i.bind(this.proxyImage,"error",this),i.bind(this.img,"load",this),i.bind(this.img,"error",this),void(this.proxyImage.src=this.img.src))},u.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},u.prototype.confirm=function(n,t){this.isLoaded=n;this.emit("progress",this,this.img,t)},u.prototype.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},u.prototype.onload=function(){this.confirm(!0,"onload");this.unbindEvents()},u.prototype.onerror=function(){this.confirm(!1,"onerror");this.unbindEvents()},u.prototype.unbindEvents=function(){i.unbind(this.proxyImage,"load",this);i.unbind(this.proxyImage,"error",this);i.unbind(this.img,"load",this);i.unbind(this.img,"error",this)},f.prototype=new u,f.prototype.check=function(){i.bind(this.img,"load",this);i.bind(this.img,"error",this);this.img.src=this.url;var n=this.getIsImageComplete();n&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},f.prototype.unbindEvents=function(){i.unbind(this.img,"load",this);i.unbind(this.img,"error",this)},f.prototype.confirm=function(n,t){this.isLoaded=n;this.emit("progress",this,this.element,t)},r.makeJQueryPlugin=function(t){t=t||n.jQuery;t&&(e=t,e.fn.imagesLoaded=function(n,t){var i=new r(this,n,t);return i.jqDeferred.promise(e(this))})},r.makeJQueryPlugin(),r}),function(n,t){"use strict";"function"==typeof define&&define.amd?define(["flickity/js/index","imagesloaded/imagesloaded"],function(i,r){return t(n,i,r)}):"object"==typeof exports?module.exports=t(n,require("flickity"),require("imagesloaded")):n.Flickity=t(n,n.Flickity,n.imagesLoaded)}(window,function(n,t,i){"use strict";return t.createMethods.push("_createImagesLoaded"),t.prototype._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)},t.prototype.imagesLoaded=function(){function t(t,i){var r=n.getParentCell(i.img);n.cellSizeChange(r&&r.element);n.options.freeScroll||n.positionSliderAtSelected()}if(this.options.imagesLoaded){var n=this;i(this.slider).on("progress",t)}},t}),function(){function ut(t){function r(n,i,r,u,f,e){for(;f>=0&&f<e;f+=t){var o=u?u[f]:f;r=i(r,n[o],o,n)}return r}return function(u,f,o,s){f=e(f,s,4);var h=!i(u)&&n.keys(u),l=(h||u).length,c=t>0?0:l-1;return arguments.length<3&&(o=u[h?h[c]:c],c+=t),r(u,f,o,h,c,l)}}function ft(n){return function(i,r,f){r=t(r,f);for(var o=u(i),e=n>0?0:o-1;e>=0&&e<o;e+=n)if(r(i[e],e,i))return e;return-1}}function et(t,i,f){return function(e,o,s){var c=0,h=u(e);if(typeof s=="number")t>0?c=s>=0?s:Math.max(s+h,c):h=s>=0?Math.min(s+1,h):s+h+1;else if(f&&s&&h)return s=f(e,o),e[s]===o?s:-1;if(o!==o)return s=i(r.call(e,c,h),n.isNaN),s>=0?s+c:-1;for(s=t>0?c:h-1;s>=0&&s<h;s+=t)if(e[s]===o)return s;return-1}}function ot(t,i){var u=d.length,f=t.constructor,e=n.isFunction(f)&&f.prototype||v,r="constructor";for(n.has(t,r)&&!n.contains(i,r)&&i.push(r);u--;)r=d[u],r in t&&t[r]!==e[r]&&!n.contains(i,r)&&i.push(r)}var a=this,lt=a._,s=Array.prototype,v=Object.prototype,at=Function.prototype,vt=s.push,r=s.slice,o=v.toString,yt=v.hasOwnProperty,pt=Array.isArray,nt=Object.keys,y=at.bind,tt=Object.create,p=function(){},n=function(t){if(t instanceof n)return t;if(!(this instanceof n))return new n(t);this._wrapped=t},e,t,h,f,b,k,d,c,ct,l;typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=n),exports._=n):a._=n;n.VERSION="1.8.3";e=function(n,t,i){if(t===void 0)return n;switch(i==null?3:i){case 1:return function(i){return n.call(t,i)};case 2:return function(i,r){return n.call(t,i,r)};case 3:return function(i,r,u){return n.call(t,i,r,u)};case 4:return function(i,r,u,f){return n.call(t,i,r,u,f)}}return function(){return n.apply(t,arguments)}};t=function(t,i,r){return t==null?n.identity:n.isFunction(t)?e(t,i,r):n.isObject(t)?n.matcher(t):n.property(t)};n.iteratee=function(n,i){return t(n,i,Infinity)};var w=function(n,t){return function(i){var e=arguments.length,r,u,f;if(e<2||i==null)return i;for(r=1;r<e;r++){var o=arguments[r],s=n(o),h=s.length;for(u=0;u<h;u++)f=s[u],t&&i[f]!==void 0||(i[f]=o[f])}return i}},it=function(t){if(!n.isObject(t))return{};if(tt)return tt(t);p.prototype=t;var i=new p;return p.prototype=null,i},rt=function(n){return function(t){if(t!=null)return t[n]}},wt=Math.pow(2,53)-1,u=rt("length"),i=function(n){var t=u(n);return typeof t=="number"&&t>=0&&t<=wt};n.each=n.forEach=function(t,r,u){var f,o,s;if(r=e(r,u),i(t))for(f=0,o=t.length;f<o;f++)r(t[f],f,t);else for(s=n.keys(t),f=0,o=s.length;f<o;f++)r(t[s[f]],s[f],t);return t};n.map=n.collect=function(r,u,f){var e,s;u=t(u,f);var o=!i(r)&&n.keys(r),h=(o||r).length,c=Array(h);for(e=0;e<h;e++)s=o?o[e]:e,c[e]=u(r[s],s,r);return c};n.reduce=n.foldl=n.inject=ut(1);n.reduceRight=n.foldr=ut(-1);n.find=n.detect=function(t,r,u){var f;return f=i(t)?n.findIndex(t,r,u):n.findKey(t,r,u),f!==void 0&&f!==-1?t[f]:void 0};n.filter=n.select=function(i,r,u){var f=[];return r=t(r,u),n.each(i,function(n,t,i){r(n,t,i)&&f.push(n)}),f};n.reject=function(i,r,u){return n.filter(i,n.negate(t(r)),u)};n.every=n.all=function(r,u,f){var o,h,e,s;for(u=t(u,f),o=!i(r)&&n.keys(r),h=(o||r).length,e=0;e<h;e++)if(s=o?o[e]:e,!u(r[s],s,r))return!1;return!0};n.some=n.any=function(r,u,f){var o,h,e,s;for(u=t(u,f),o=!i(r)&&n.keys(r),h=(o||r).length,e=0;e<h;e++)if(s=o?o[e]:e,u(r[s],s,r))return!0;return!1};n.contains=n.includes=n.include=function(t,r,u,f){return i(t)||(t=n.values(t)),(typeof u!="number"||f)&&(u=0),n.indexOf(t,r,u)>=0};n.invoke=function(t,i){var u=r.call(arguments,2),f=n.isFunction(i);return n.map(t,function(n){var t=f?i:n[i];return t==null?t:t.apply(n,u)})};n.pluck=function(t,i){return n.map(t,n.property(i))};n.where=function(t,i){return n.filter(t,n.matcher(i))};n.findWhere=function(t,i){return n.find(t,n.matcher(i))};n.max=function(r,u,f){var e=-Infinity,c=-Infinity,h,o,s,l;if(u==null&&r!=null)for(r=i(r)?r:n.values(r),s=0,l=r.length;s<l;s++)h=r[s],h>e&&(e=h);else u=t(u,f),n.each(r,function(n,t,i){o=u(n,t,i);(o>c||o===-Infinity&&e===-Infinity)&&(e=n,c=o)});return e};n.min=function(r,u,f){var e=Infinity,c=Infinity,h,o,s,l;if(u==null&&r!=null)for(r=i(r)?r:n.values(r),s=0,l=r.length;s<l;s++)h=r[s],h<e&&(e=h);else u=t(u,f),n.each(r,function(n,t,i){o=u(n,t,i);(o<c||o===Infinity&&e===Infinity)&&(e=n,c=o)});return e};n.shuffle=function(t){for(var e=i(t)?t:n.values(t),o=e.length,u=Array(o),r=0,f;r<o;r++)f=n.random(0,r),f!==r&&(u[r]=u[f]),u[f]=e[r];return u};n.sample=function(t,r,u){return r==null||u?(i(t)||(t=n.values(t)),t[n.random(t.length-1)]):n.shuffle(t).slice(0,Math.max(0,r))};n.sortBy=function(i,r,u){return r=t(r,u),n.pluck(n.map(i,function(n,t,i){return{value:n,index:t,criteria:r(n,t,i)}}).sort(function(n,t){var i=n.criteria,r=t.criteria;if(i!==r){if(i>r||i===void 0)return 1;if(i<r||r===void 0)return-1}return n.index-t.index}),"value")};h=function(i){return function(r,u,f){var e={};return u=t(u,f),n.each(r,function(n,t){var f=u(n,t,r);i(e,n,f)}),e}};n.groupBy=h(function(t,i,r){n.has(t,r)?t[r].push(i):t[r]=[i]});n.indexBy=h(function(n,t,i){n[i]=t});n.countBy=h(function(t,i,r){n.has(t,r)?t[r]++:t[r]=1});n.toArray=function(t){return t?n.isArray(t)?r.call(t):i(t)?n.map(t,n.identity):n.values(t):[]};n.size=function(t){return t==null?0:i(t)?t.length:n.keys(t).length};n.partition=function(i,r,u){r=t(r,u);var f=[],e=[];return n.each(i,function(n,t,i){(r(n,t,i)?f:e).push(n)}),[f,e]};n.first=n.head=n.take=function(t,i,r){if(t!=null)return i==null||r?t[0]:n.initial(t,t.length-i)};n.initial=function(n,t,i){return r.call(n,0,Math.max(0,n.length-(t==null||i?1:t)))};n.last=function(t,i,r){if(t!=null)return i==null||r?t[t.length-1]:n.rest(t,Math.max(0,t.length-i))};n.rest=n.tail=n.drop=function(n,t,i){return r.call(n,t==null||i?1:t)};n.compact=function(t){return n.filter(t,n.identity)};f=function(t,r,e,o){for(var s,l,a,h=[],v=0,c=o||0,y=u(t);c<y;c++)if(s=t[c],i(s)&&(n.isArray(s)||n.isArguments(s)))for(r||(s=f(s,r,e)),l=0,a=s.length,h.length+=a;l<a;)h[v++]=s[l++];else e||(h[v++]=s);return h};n.flatten=function(n,t){return f(n,t,!1)};n.without=function(t){return n.difference(t,r.call(arguments,1))};n.uniq=n.unique=function(i,r,f,e){var s,c,h,a,o,l;for(n.isBoolean(r)||(e=f,f=r,r=!1),f!=null&&(f=t(f,e)),s=[],c=[],h=0,a=u(i);h<a;h++)o=i[h],l=f?f(o,h,i):o,r?(h&&c===l||s.push(o),c=l):f?n.contains(c,l)||(c.push(l),s.push(o)):n.contains(s,o)||s.push(o);return s};n.union=function(){return n.uniq(f(arguments,!0,!0))};n.intersection=function(t){for(var r,i,f=[],o=arguments.length,e=0,s=u(t);e<s;e++)if(r=t[e],!n.contains(f,r)){for(i=1;i<o;i++)if(!n.contains(arguments[i],r))break;i===o&&f.push(r)}return f};n.difference=function(t){var i=f(arguments,!0,!0,1);return n.filter(t,function(t){return!n.contains(i,t)})};n.zip=function(){return n.unzip(arguments)};n.unzip=function(t){for(var r=t&&n.max(t,u).length||0,f=Array(r),i=0;i<r;i++)f[i]=n.pluck(t,i);return f};n.object=function(n,t){for(var r={},i=0,f=u(n);i<f;i++)t?r[n[i]]=t[i]:r[n[i][0]]=n[i][1];return r};n.findIndex=ft(1);n.findLastIndex=ft(-1);n.sortedIndex=function(n,i,r,f){var o;r=t(r,f,1);for(var h=r(i),e=0,s=u(n);e<s;)o=Math.floor((e+s)/2),r(n[o])<h?e=o+1:s=o;return e};n.indexOf=et(1,n.findIndex,n.sortedIndex);n.lastIndexOf=et(-1,n.findLastIndex);n.range=function(n,t,i){var u,f,r;for(t==null&&(t=n||0,n=0),i=i||1,u=Math.max(Math.ceil((t-n)/i),0),f=Array(u),r=0;r<u;r++,n+=i)f[r]=n;return f};b=function(t,i,r,u,f){if(!(u instanceof i))return t.apply(r,f);var e=it(t.prototype),o=t.apply(e,f);return n.isObject(o)?o:e};n.bind=function(t,i){if(y&&t.bind===y)return y.apply(t,r.call(arguments,1));if(!n.isFunction(t))throw new TypeError("Bind must be called on a function");var f=r.call(arguments,2),u=function(){return b(t,u,i,this,f.concat(r.call(arguments)))};return u};n.partial=function(t){var i=r.call(arguments,1),u=function(){for(var f=0,o=i.length,e=Array(o),r=0;r<o;r++)e[r]=i[r]===n?arguments[f++]:i[r];while(f<arguments.length)e.push(arguments[f++]);return b(t,u,this,this,e)};return u};n.bindAll=function(t){var i,u=arguments.length,r;if(u<=1)throw new Error("bindAll must be passed function names");for(i=1;i<u;i++)r=arguments[i],t[r]=n.bind(t[r],t);return t};n.memoize=function(t,i){var r=function(u){var f=r.cache,e=""+(i?i.apply(this,arguments):u);return n.has(f,e)||(f[e]=t.apply(this,arguments)),f[e]};return r.cache={},r};n.delay=function(n,t){var i=r.call(arguments,2);return setTimeout(function(){return n.apply(null,i)},t)};n.defer=n.partial(n.delay,n,1);n.throttle=function(t,i,r){var f,e,s,u=null,o=0,h;return r||(r={}),h=function(){o=r.leading===!1?0:n.now();u=null;s=t.apply(f,e);u||(f=e=null)},function(){var l=n.now(),c;return o||r.leading!==!1||(o=l),c=i-(l-o),f=this,e=arguments,c<=0||c>i?(u&&(clearTimeout(u),u=null),o=l,s=t.apply(f,e),u||(f=e=null)):u||r.trailing===!1||(u=setTimeout(h,c)),s}};n.debounce=function(t,i,r){var u,f,e,s,o,h=function(){var c=n.now()-s;c<i&&c>=0?u=setTimeout(h,i-c):(u=null,r||(o=t.apply(e,f),u||(e=f=null)))};return function(){e=this;f=arguments;s=n.now();var c=r&&!u;return u||(u=setTimeout(h,i)),c&&(o=t.apply(e,f),e=f=null),o}};n.wrap=function(t,i){return n.partial(i,t)};n.negate=function(n){return function(){return!n.apply(this,arguments)}};n.compose=function(){var n=arguments,t=n.length-1;return function(){for(var r=t,i=n[t].apply(this,arguments);r--;)i=n[r].call(this,i);return i}};n.after=function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}};n.before=function(n,t){var i;return function(){return--n>0&&(i=t.apply(this,arguments)),n<=1&&(t=null),i}};n.once=n.partial(n.before,2);k=!{toString:null}.propertyIsEnumerable("toString");d=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];n.keys=function(t){var i,r;if(!n.isObject(t))return[];if(nt)return nt(t);i=[];for(r in t)n.has(t,r)&&i.push(r);return k&&ot(t,i),i};n.allKeys=function(t){var i,r;if(!n.isObject(t))return[];i=[];for(r in t)i.push(r);return k&&ot(t,i),i};n.values=function(t){for(var r=n.keys(t),u=r.length,f=Array(u),i=0;i<u;i++)f[i]=t[r[i]];return f};n.mapObject=function(i,r,u){var e;r=t(r,u);var o=n.keys(i),h=o.length,s={},f;for(e=0;e<h;e++)f=o[e],s[f]=r(i[f],f,i);return s};n.pairs=function(t){for(var r=n.keys(t),u=r.length,f=Array(u),i=0;i<u;i++)f[i]=[r[i],t[r[i]]];return f};n.invert=function(t){for(var u={},r=n.keys(t),i=0,f=r.length;i<f;i++)u[t[r[i]]]=r[i];return u};n.functions=n.methods=function(t){var i=[];for(var r in t)n.isFunction(t[r])&&i.push(r);return i.sort()};n.extend=w(n.allKeys);n.extendOwn=n.assign=w(n.keys);n.findKey=function(i,r,u){var o,f,e,s;for(r=t(r,u),o=n.keys(i),e=0,s=o.length;e<s;e++)if(f=o[e],r(i[f],f,i))return f};n.pick=function(t,i,r){var c={},u=t,l,o,s,v,h,a;if(u==null)return c;for(n.isFunction(i)?(o=n.allKeys(u),l=e(i,r)):(o=f(arguments,!1,!1,1),l=function(n,t,i){return t in i},u=Object(u)),s=0,v=o.length;s<v;s++)h=o[s],a=u[h],l(a,h,u)&&(c[h]=a);return c};n.omit=function(t,i,r){if(n.isFunction(i))i=n.negate(i);else{var u=n.map(f(arguments,!1,!1,1),String);i=function(t,i){return!n.contains(u,i)}}return n.pick(t,i,r)};n.defaults=w(n.allKeys,!0);n.create=function(t,i){var r=it(t);return i&&n.extendOwn(r,i),r};n.clone=function(t){return n.isObject(t)?n.isArray(t)?t.slice():n.extend({},t):t};n.tap=function(n,t){return t(n),n};n.isMatch=function(t,i){var e=n.keys(i),o=e.length,f,r,u;if(t==null)return!o;for(f=Object(t),r=0;r<o;r++)if(u=e[r],i[u]!==f[u]||!(u in f))return!1;return!0};c=function(t,i,r,u){var h,a,e,s,f,v,l;if(t===i)return t!==0||1/t==1/i;if(t==null||i==null)return t===i;if(t instanceof n&&(t=t._wrapped),i instanceof n&&(i=i._wrapped),h=o.call(t),h!==o.call(i))return!1;switch(h){case"[object RegExp]":case"[object String]":return""+t==""+i;case"[object Number]":return+t!=+t?+i!=+i:+t==0?1/+t==1/i:+t==+i;case"[object Date]":case"[object Boolean]":return+t==+i}if(a=h==="[object Array]",!a&&(typeof t!="object"||typeof i!="object"||(e=t.constructor,s=i.constructor,e!==s&&!(n.isFunction(e)&&e instanceof e&&n.isFunction(s)&&s instanceof s)&&"constructor"in t&&"constructor"in i)))return!1;for(r=r||[],u=u||[],f=r.length;f--;)if(r[f]===t)return u[f]===i;if(r.push(t),u.push(i),a){if(f=t.length,f!==i.length)return!1;while(f--)if(!c(t[f],i[f],r,u))return!1}else{if(v=n.keys(t),f=v.length,n.keys(i).length!==f)return!1;while(f--)if(l=v[f],!(n.has(i,l)&&c(t[l],i[l],r,u)))return!1}return r.pop(),u.pop(),!0};n.isEqual=function(n,t){return c(n,t)};n.isEmpty=function(t){return t==null?!0:i(t)&&(n.isArray(t)||n.isString(t)||n.isArguments(t))?t.length===0:n.keys(t).length===0};n.isElement=function(n){return!!(n&&n.nodeType===1)};n.isArray=pt||function(n){return o.call(n)==="[object Array]"};n.isObject=function(n){var t=typeof n;return t==="function"||t==="object"&&!!n};n.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){n["is"+t]=function(n){return o.call(n)==="[object "+t+"]"}});n.isArguments(arguments)||(n.isArguments=function(t){return n.has(t,"callee")});typeof/./!="function"&&typeof Int8Array!="object"&&(n.isFunction=function(n){return typeof n=="function"||!1});n.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))};n.isNaN=function(t){return n.isNumber(t)&&t!==+t};n.isBoolean=function(n){return n===!0||n===!1||o.call(n)==="[object Boolean]"};n.isNull=function(n){return n===null};n.isUndefined=function(n){return n===void 0};n.has=function(n,t){return n!=null&&yt.call(n,t)};n.noConflict=function(){return a._=lt,this};n.identity=function(n){return n};n.constant=function(n){return function(){return n}};n.noop=function(){};n.property=rt;n.propertyOf=function(n){return n==null?function(){}:function(t){return n[t]}};n.matcher=n.matches=function(t){return t=n.extendOwn({},t),function(i){return n.isMatch(i,t)}};n.times=function(n,t,i){var u=Array(Math.max(0,n)),r;for(t=e(t,i,1),r=0;r<n;r++)u[r]=t(r);return u};n.random=function(n,t){return t==null&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))};n.now=Date.now||function(){return(new Date).getTime()};var st={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},bt=n.invert(st),ht=function(t){var r=function(n){return t[n]},i="(?:"+n.keys(t).join("|")+")",u=RegExp(i),f=RegExp(i,"g");return function(n){return n=n==null?"":""+n,u.test(n)?n.replace(f,r):n}};n.escape=ht(st);n.unescape=ht(bt);n.result=function(t,i,r){var u=t==null?void 0:t[i];return u===void 0&&(u=r),n.isFunction(u)?u.call(t):u};ct=0;n.uniqueId=function(n){var t=++ct+"";return n?n+t:t};n.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var g=/(.)^/,kt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},dt=/\\|'|\r|\n|\u2028|\u2029/g,gt=function(n){return"\\"+kt[n]};n.template=function(t,i,r){var o,f,h;!i&&r&&(i=r);i=n.defaults({},i,n.templateSettings);var c=RegExp([(i.escape||g).source,(i.interpolate||g).source,(i.evaluate||g).source].join("|")+"|$","g"),e=0,u="__p+='";t.replace(c,function(n,i,r,f,o){return u+=t.slice(e,o).replace(dt,gt),e=o+n.length,i?u+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":r?u+="'+\n((__t=("+r+"))==null?'':__t)+\n'":f&&(u+="';\n"+f+"\n__p+='"),n});u+="';\n";i.variable||(u="with(obj||{}){\n"+u+"}\n");u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{o=new Function(i.variable||"obj","_",u)}catch(s){s.source=u;throw s;}return f=function(t){return o.call(this,t,n)},h=i.variable||"obj",f.source="function("+h+"){\n"+u+"}",f};n.chain=function(t){var i=n(t);return i._chain=!0,i};l=function(t,i){return t._chain?n(i).chain():i};n.mixin=function(t){n.each(n.functions(t),function(i){var r=n[i]=t[i];n.prototype[i]=function(){var t=[this._wrapped];return vt.apply(t,arguments),l(this,r.apply(n,t))}})};n.mixin(n);n.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var i=s[t];n.prototype[t]=function(){var n=this._wrapped;return i.apply(n,arguments),(t==="shift"||t==="splice")&&n.length===0&&delete n[0],l(this,n)}});n.each(["concat","join","slice"],function(t){var i=s[t];n.prototype[t]=function(){return l(this,i.apply(this._wrapped,arguments))}});n.prototype.value=function(){return this._wrapped};n.prototype.valueOf=n.prototype.toJSON=n.prototype.value;n.prototype.toString=function(){return""+this._wrapped};typeof define=="function"&&define.amd&&define("underscore",[],function(){return n})}.call(this)