text: if(function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function n(t,e,n){var i,r,a=(n=n||ht).createElement("script");if(a.text=t,e)for(i in pt)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&a.setAttribute(i,r);n.head.appendChild(a).parentNode.removeChild(a)}function i(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?it[rt.call(t)]||"object":typeof t}function r(t){var e=!!t&&"length"in t&&t.length,n=i(t);return!ct(t)&&!ut(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}function a(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function s(t,e,n){return ct(e)?ft.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?ft.grep(t,function(t){return t===e!==n}):"string"!=typeof e?ft.grep(t,function(t){return-1<nt.call(e,t)!==n}):ft.filter(e,t,n)}function o(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function l(t){return t}function c(t){throw t}function u(t,e,n,i){var r;try{t&&ct(r=t.promise)?r.call(t).done(e).fail(n):t&&ct(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function h(){ht.removeEventListener("DOMContentLoaded",h),t.removeEventListener("load",h),ft.ready()}function p(t,e){return e.toUpperCase()}function d(t){return t.replace(Et,"ms-").replace(Pt,p)}function f(){this.expando=ft.expando+f.uid++}function m(t,e,n){var i,r;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(It,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&&("null"===r?null:r===+r+""?+r:Mt.test(r)?JSON.parse(r):r)}catch(t){}Ot.set(t,e,n)}else n=void 0;return n}function g(t,e,n,i){var r,a,s=20,o=i?function(){return i.cur()}:function(){return ft.css(t,e,"")},l=o(),c=n&&n[3]||(ft.cssNumber[e]?"":"px"),u=t.nodeType&&(ft.cssNumber[e]||"px"!==c&&+l)&&$t.exec(ft.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)ft.style(t,e,u+c),(1-a)*(1-(a=o()/l||.5))<=0&&(s=0),u/=a;u*=2,ft.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}function v(t,e){for(var n,i,r,a,s,o,l,c=[],u=0,h=t.length;u<h;u++)(i=t[u]).style&&(n=i.style.display,e?("none"===n&&(c[u]=Nt.get(i,"display")||null,c[u]||(i.style.display="")),""===i.style.display&&qt(i)&&(c[u]=(l=s=a=void 0,s=(r=i).ownerDocument,o=r.nodeName,(l=Ut[o])||(a=s.body.appendChild(s.createElement(o)),l=ft.css(a,"display"),a.parentNode.removeChild(a),"none"===l&&(l="block"),Ut[o]=l)))):"none"!==n&&(c[u]="none",Nt.set(i,"display",n)));for(u=0;u<h;u++)null!=c[u]&&(t[u].style.display=c[u]);return t}function y(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&a(t,e)?ft.merge([t],n):n}function b(t,e){for(var n=0,i=t.length;n<i;n++)Nt.set(t[n],"globalEval",!e||Nt.get(e[n],"globalEval"))}function w(t,e,n,r,a){for(var s,o,l,c,u,h,p=e.createDocumentFragment(),d=[],f=0,m=t.length;f<m;f++)if((s=t[f])||0===s)if("object"===i(s))ft.merge(d,s.nodeType?[s]:s);else if(Xt.test(s)){for(o=o||p.appendChild(e.createElement("div")),l=(Wt.exec(s)||["",""])[1].toLowerCase(),c=Kt[l]||Kt._default,o.innerHTML=c[1]+ft.htmlPrefilter(s)+c[2],h=c[0];h--;)o=o.lastChild;ft.merge(d,o.childNodes),(o=p.firstChild).textContent=""}else d.push(e.createTextNode(s));for(p.textContent="",f=0;s=d[f++];)if(r&&-1<ft.inArray(s,r))a&&a.push(s);else if(u=Ft(s),o=y(p.appendChild(s),"script"),u&&b(o),n)for(h=0;s=o[h++];)Yt.test(s.type||"")&&n.push(s);return p}function k(){return!0}function x(){return!1}function D(t,e){return t===function(){try{return ht.activeElement}catch(t){}}()==("focus"===e)}function C(t,e,n,i,r,a){var s,o;if("object"==typeof e){for(o in"string"!=typeof n&&(i=i||n,n=void 0),e)C(t,o,n,i,e[o],a);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=x;else if(!r)return t;return 1===a&&(s=r,(r=function(t){return ft().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=ft.guid++)),t.each(function(){ft.event.add(this,e,r,i,n)})}function S(t,e,n){n?(Nt.set(t,e,!1),ft.event.add(t,e,{namespace:!1,handler:function(t){var i,r,a=Nt.get(this,e);if(1&t.isTrigger&&this[e]){if(a.length)(ft.event.special[e]||{}).delegateType&&t.stopPropagation();else if(a=Z.call(arguments),Nt.set(this,e,a),i=n(this,e),this[e](),a!==(r=Nt.get(this,e))||i?Nt.set(this,e,!1):r={},a!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else a.length&&(Nt.set(this,e,{value:ft.event.trigger(ft.extend(a[0],ft.Event.prototype),a.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Nt.get(t,e)&&ft.event.add(t,e,k)}function T(t,e){return a(t,"table")&&a(11!==e.nodeType?e:e.firstChild,"tr")&&ft(t).children("tbody")[0]||t}function _(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function E(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function P(t,e){var n,i,r,a,s,o;if(1===e.nodeType){if(Nt.hasData(t)&&(o=Nt.get(t).events))for(r in Nt.remove(e,"handle events"),o)for(n=0,i=o[r].length;n<i;n++)ft.event.add(e,r,o[r][n]);Ot.hasData(t)&&(a=Ot.access(t),s=ft.extend({},a),Ot.set(e,s))}}function A(t,e,i,r){e=tt(e);var a,s,o,l,c,u,h=0,p=t.length,d=p-1,f=e[0],m=ct(f);if(m||1<p&&"string"==typeof f&&!lt.checkClone&&te.test(f))return t.each(function(n){var a=t.eq(n);m&&(e[0]=f.call(this,n,a.html())),A(a,e,i,r)});if(p&&(s=(a=w(e,t[0].ownerDocument,!1,t,r)).firstChild,1===a.childNodes.length&&(a=s),s||r)){for(l=(o=ft.map(y(a,"script"),_)).length;h<p;h++)c=a,h!==d&&(c=ft.clone(c,!0,!0),l&&ft.merge(o,y(c,"script"))),i.call(t[h],c,h);if(l)for(u=o[o.length-1].ownerDocument,ft.map(o,E),h=0;h<l;h++)c=o[h],Yt.test(c.type||"")&&!Nt.access(c,"globalEval")&&ft.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?ft._evalUrl&&!c.noModule&&ft._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):n(c.textContent.replace(ee,""),c,u))}return t}function N(t,e,n){for(var i,r=e?ft.filter(e,t):t,a=0;null!=(i=r[a]);a++)n||1!==i.nodeType||ft.cleanData(y(i)),i.parentNode&&(n&&Ft(i)&&b(y(i,"script")),i.parentNode.removeChild(i));return t}function O(t,e,n){var i,r,a,s,o=t.style;return(n=n||ie(t))&&(""!==(s=n.getPropertyValue(e)||n[e])||Ft(t)||(s=ft.style(t,e)),!lt.pixelBoxStyles()&&ne.test(s)&&ae.test(e)&&(i=o.width,r=o.minWidth,a=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=n.width,o.width=i,o.minWidth=r,o.maxWidth=a)),void 0!==s?s+"":s}function M(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function I(t){return ft.cssProps[t]||le[t]||(t in oe?t:le[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=se.length;n--;)if((t=se[n]+e)in oe)return t}(t)||t)}function j(t,e,n){var i=$t.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function $(t,e,n,i,r,a){var s="width"===e?1:0,o=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=ft.css(t,n+Lt[s],!0,r)),i?("content"===n&&(l-=ft.css(t,"padding"+Lt[s],!0,r)),"margin"!==n&&(l-=ft.css(t,"border"+Lt[s]+"Width",!0,r))):(l+=ft.css(t,"padding"+Lt[s],!0,r),"padding"!==n?l+=ft.css(t,"border"+Lt[s]+"Width",!0,r):o+=ft.css(t,"border"+Lt[s]+"Width",!0,r));return!i&&0<=a&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-a-l-o-.5))||0),l}function L(t,e,n){var i=ie(t),r=(!lt.boxSizingReliable()||n)&&"border-box"===ft.css(t,"boxSizing",!1,i),s=r,o=O(t,e,i),l="offset"+e[0].toUpperCase()+e.slice(1);if(ne.test(o)){if(!n)return o;o="auto"}return(!lt.boxSizingReliable()&&r||!lt.reliableTrDimensions()&&a(t,"tr")||"auto"===o||!parseFloat(o)&&"inline"===ft.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===ft.css(t,"boxSizing",!1,i),(s=l in t)&&(o=t[l])),(o=parseFloat(o)||0)+$(t,e,n||(r?"border":"content"),s,i,o)+"px"}function R(t,e,n,i,r){return new R.prototype.init(t,e,n,i,r)}function F(){fe&&(!1===ht.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(F):t.setTimeout(F,ft.fx.interval),ft.fx.tick())}function H(){return t.setTimeout(function(){de=void 0}),de=Date.now()}function q(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=Lt[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function U(t,e,n){for(var i,r=(B.tweeners[e]||[]).concat(B.tweeners["*"]),a=0,s=r.length;a<s;a++)if(i=r[a].call(n,e,t))return i}function B(t,e,n){var i,r,a=0,s=B.prefilters.length,o=ft.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=de||H(),n=Math.max(0,c.startTime+c.duration-e),i=1-(n/c.duration||0),a=0,s=c.tweens.length;a<s;a++)c.tweens[a].run(i);return o.notifyWith(t,[c,i,n]),i<1&&s?n:(s||o.notifyWith(t,[c,1,0]),o.resolveWith(t,[c]),!1)},c=o.promise({elem:t,props:ft.extend({},e),opts:ft.extend(!0,{specialEasing:{},easing:ft.easing._default},n),originalProperties:e,originalOptions:n,startTime:de||H(),duration:n.duration,tweens:[],createTween:function(e,n){var i=ft.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return e?(o.notifyWith(t,[c,1,0]),o.resolveWith(t,[c,e])):o.rejectWith(t,[c,e]),this}}),u=c.props;for((!function(t,e){var n,i,r,a,s;for(n in t)if(r=e[i=d(n)],a=t[n],Array.isArray(a)&&(r=a[1],a=t[n]=a[0]),n!==i&&(t[i]=a,delete t[n]),(s=ft.cssHooks[i])&&"expand"in s)for(n in a=s.expand(a),delete t[i],a)n in t||(t[n]=a[n],e[n]=r);else e[i]=r}(u,c.opts.specialEasing));a<s;a++)if(i=B.prefilters[a].call(c,t,u,c.opts))return ct(i.stop)&&(ft._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return ft.map(u,U,c),ct(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),ft.fx.timer(ft.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}function z(t){return(t.match(Ct)||[]).join(" ")}function V(t){return t.getAttribute&&t.getAttribute("class")||""}function W(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Ct)||[]}function Y(t,e,n,r){var a;if(Array.isArray(e))ft.each(e,function(e,i){n||Pe.test(t)?r(t,i):Y(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==i(e))r(t,e);else for(a in e)Y(t+"["+a+"]",e[a],n,r)}function K(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,a=e.toLowerCase().match(Ct)||[];if(ct(n))for(;i=a[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function X(t,e,n,i){function r(o){var l;return a[o]=!0,ft.each(t[o]||[],function(t,o){var c=o(e,n,i);return"string"!=typeof c||s||a[c]?s?!(l=c):void 0:(e.dataTypes.unshift(c),r(c),!1)}),l}var a={},s=t===He;return r(e.dataTypes[0])||!a["*"]&&r("*")}function G(t,e){var n,i,r=ft.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&ft.extend(!0,t,i),t}var J=[],Q=Object.getPrototypeOf,Z=J.slice,tt=J.flat?function(t){return J.flat.call(t)}:function(t){return J.concat.apply([],t)},et=J.push,nt=J.indexOf,it={},rt=it.toString,at=it.hasOwnProperty,st=at.toString,ot=st.call(Object),lt={},ct=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},ut=function(t){return null!=t&&t===t.window},ht=t.document,pt={type:!0,src:!0,nonce:!0,noModule:!0},dt="3.5.1",ft=function(t,e){return new ft.fn.init(t,e)};ft.fn=ft.prototype={jquery:dt,constructor:ft,length:0,toArray:function(){return Z.call(this)},get:function(t){return null==t?Z.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=ft.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return ft.each(this,t)},map:function(t){return this.pushStack(ft.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(Z.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ft.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(ft.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:et,sort:J.sort,splice:J.splice},ft.extend=ft.fn.extend=function(){var t,e,n,i,r,a,s=arguments[0]||{},o=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[o]||{},o++),"object"==typeof s||ct(s)||(s={}),o===l&&(s=this,o--);o<l;o++)if(null!=(t=arguments[o]))for(e in t)i=t[e],"__proto__"!==e&&s!==i&&(c&&i&&(ft.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[e],a=r&&!Array.isArray(n)?[]:r||ft.isPlainObject(n)?n:{},r=!1,s[e]=ft.extend(c,a,i)):void 0!==i&&(s[e]=i));return s},ft.extend({expando:"jQuery"+(dt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==rt.call(t)||(e=Q(t))&&("function"!=typeof(n=at.call(e,"constructor")&&e.constructor)||st.call(n)!==ot))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,i){n(t,{nonce:e&&e.nonce},i)},each:function(t,e){var n,i=0;if(r(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(r(Object(t))?ft.merge(n,"string"==typeof t?[t]:t):et.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:nt.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,a=t.length,s=!n;r<a;r++)!e(t[r],r)!==s&&i.push(t[r]);return i},map:function(t,e,n){var i,a,s=0,o=[];if(r(t))for(i=t.length;s<i;s++)null!=(a=e(t[s],s,n))&&o.push(a);else for(s in t)null!=(a=e(t[s],s,n))&&o.push(a);return tt(o)},guid:1,support:lt}),"function"==typeof Symbol&&(ft.fn[Symbol.iterator]=J[Symbol.iterator]),ft.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){it["[object "+e+"]"]=e.toLowerCase()});var mt=function(t){function e(t,e,n,i){var r,a,s,o,l,u,p,d=e&&e.ownerDocument,f=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==f&&9!==f&&11!==f)return n;if(!i&&(E(e),e=e||P,N)){if(11!==f&&(l=mt.exec(t)))if(r=l[1]){if(9===f){if(!(s=e.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(d&&(s=d.getElementById(r))&&j(e,s)&&s.id===r)return n.push(s),n}else{if(l[2])return X.apply(n,e.getElementsByTagName(t)),n;if((r=l[3])&&y.getElementsByClassName&&e.getElementsByClassName)return X.apply(n,e.getElementsByClassName(r)),n}if(y.qsa&&!B[t+" "]&&(!O||!O.test(t))&&(1!==f||"object"!==e.nodeName.toLowerCase())){if(p=t,d=e,1===f&&(ot.test(t)||st.test(t))){for((d=gt.test(t)&&c(e.parentNode)||e)===e&&y.scope||((o=e.getAttribute("id"))?o=o.replace(bt,wt):e.setAttribute("id",o=$)),a=(u=x(t)).length;a--;)u[a]=(o?"#"+o:":scope")+" "+h(u[a]);p=u.join(",")}try{return X.apply(n,d.querySelectorAll(p)),n}catch(e){B(t,!0)}finally{o===$&&e.removeAttribute("id")}}}return C(t.replace(rt,"$1"),e,n,i)}function n(){var t=[];return function e(n,i){return t.push(n+" ")>b.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function i(t){return t[$]=!0,t}function r(t){var e=P.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t,e){for(var n=t.split("|"),i=n.length;i--;)b.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function o(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&xt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function l(t){return i(function(e){return e=+e,i(function(n,i){for(var r,a=t([],n.length,e),s=a.length;s--;)n[r=a[s]]&&(n[r]=!(i[r]=n[r]))})})}function c(t){return t&&void 0!==t.getElementsByTagName&&t}function u(){}function h(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,r=e.next,a=r||i,s=n&&"parentNode"===a,o=F++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||s)return t(e,n,r);return!1}:function(e,n,l){var c,u,h,p=[R,o];if(l){for(;e=e[i];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||s)if(u=(h=e[$]||(e[$]={}))[e.uniqueID]||(h[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[i]||e;else{if((c=u[a])&&c[0]===R&&c[1]===o)return p[2]=c[2];if((u[a]=p)[2]=t(e,n,l))return!0}return!1}}function d(t){return 1<t.length?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function f(t,e,n,i,r){for(var a,s=[],o=0,l=t.length,c=null!=e;o<l;o++)(a=t[o])&&(n&&!n(a,i,r)||(s.push(a),c&&e.push(o)));return s}function m(t,n,r,a,s,o){return a&&!a[$]&&(a=m(a)),s&&!s[$]&&(s=m(s,o)),i(function(i,o,l,c){var u,h,p,d=[],m=[],g=o.length,v=i||function(t,n,i){for(var r=0,a=n.length;r<a;r++)e(t,n[r],i);return i}(n||"*",l.nodeType?[l]:l,[]),y=!t||!i&&n?v:f(v,d,t,l,c),b=r?s||(i?t:g||a)?[]:o:y;if(r&&r(y,b,l,c),a)for(u=f(b,m),a(u,[],l,c),h=u.length;h--;)(p=u[h])&&(b[m[h]]=!(y[m[h]]=p));if(i){if(s||t){if(s){for(u=[],h=b.length;h--;)(p=b[h])&&u.push(y[h]=p);s(null,b=[],u,c)}for(h=b.length;h--;)(p=b[h])&&-1<(u=s?J(i,p):d[h])&&(i[u]=!(o[u]=p))}}else b=f(b===o?b.splice(g,b.length):b),s?s(null,o,b,c):X.apply(o,b)})}function g(t){for(var e,n,i,r=t.length,a=b.relative[t[0].type],s=a||b.relative[" "],o=a?1:0,l=p(function(t){return t===e},s,!0),c=p(function(t){return-1<J(e,t)},s,!0),u=[function(t,n,i){var r=!a&&(i||n!==S)||((e=n).nodeType?l(t,n,i):c(t,n,i));return e=null,r}];o<r;o++)if(n=b.relative[t[o].type])u=[p(d(u),n)];else{if((n=b.filter[t[o].type].apply(null,t[o].matches))[$]){for(i=++o;i<r&&!b.relative[t[i].type];i++);return m(1<o&&d(u),1<o&&h(t.slice(0,o-1).concat({value:" "===t[o-2].type?"*":""})).replace(rt,"$1"),n,o<i&&g(t.slice(o,i)),i<r&&g(t=t.slice(i)),i<r&&h(t))}u.push(n)}return d(u)}var v,y,b,w,k,x,D,C,S,T,_,E,P,A,N,O,M,I,j,$="sizzle"+1*new Date,L=t.document,R=0,F=0,H=n(),q=n(),U=n(),B=n(),z=function(t,e){return t===e&&(_=!0),0},V={}.hasOwnProperty,W=[],Y=W.pop,K=W.push,X=W.push,G=W.slice,J=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Z="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\[\\da-fA-F]{1,6}"+Z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",et="\\["+Z+"*("+tt+")(?:"+Z+"*([*^$|!~]?=)"+Z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+Z+"*\\]",nt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+et+")*)|.*)\\)|)",it=new RegExp(Z+"+","g"),rt=new RegExp("^"+Z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Z+"+$","g"),at=new RegExp("^"+Z+"*,"+Z+"*"),st=new RegExp("^"+Z+"*([>+~]|"+Z+")"+Z+"*"),ot=new RegExp(Z+"|>"),lt=new RegExp(nt),ct=new RegExp("^"+tt+"$"),ut={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+et),PSEUDO:new RegExp("^"+nt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Z+"*(even|odd|(([+-]|)(\\d*)n|)"+Z+"*(?:([+-]|)"+Z+"*(\\d+)|))"+Z+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+Z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Z+"*((?:-\\d)?\\d*)"+Z+"*\\)|)(?=[^-]|$)","i")},ht=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,dt=/^h\d$/i,ft=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,vt=new RegExp("\\\\[\\da-fA-F]{1,6}"+Z+"?|\\\\([^\\r\\n\\f])","g"),yt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},bt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},kt=function(){E()},xt=p(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{X.apply(W=G.call(L.childNodes),L.childNodes),W[L.childNodes.length].nodeType}catch(v){X={apply:W.length?function(t,e){K.apply(t,G.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}for(v in y=e.support={},k=e.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!ht.test(e||n&&n.nodeName||"HTML")},E=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:L;return i!=P&&9===i.nodeType&&i.documentElement&&(A=(P=i).documentElement,N=!k(P),L!=P&&(n=P.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",kt,!1):n.attachEvent&&n.attachEvent("onunload",kt)),y.scope=r(function(t){return A.appendChild(t).appendChild(P.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),y.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),y.getElementsByTagName=r(function(t){return t.appendChild(P.createComment("")),!t.getElementsByTagName("*").length}),y.getElementsByClassName=ft.test(P.getElementsByClassName),y.getById=r(function(t){return A.appendChild(t).id=$,!P.getElementsByName||!P.getElementsByName($).length}),y.getById?(b.filter.ID=function(t){var e=t.replace(vt,yt);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&N){var n=e.getElementById(t);return n?[n]:[]}}):(b.filter.ID=function(t){var e=t.replace(vt,yt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&N){var n,i,r,a=e.getElementById(t);if(a){if((n=a.getAttributeNode("id"))&&n.value===t)return[a];for(r=e.getElementsByName(t),i=0;a=r[i++];)if((n=a.getAttributeNode("id"))&&n.value===t)return[a]}return[]}}),b.find.TAG=y.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):y.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,a=e.getElementsByTagName(t);if("*"===t){for(;n=a[r++];)1===n.nodeType&&i.push(n);return i}return a},b.find.CLASS=y.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&N)return e.getElementsByClassName(t)},M=[],O=[],(y.qsa=ft.test(P.querySelectorAll))&&(r(function(t){var e;A.appendChild(t).innerHTML="<a id='"+$+"'></a><select id='"+$+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+Z+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||O.push("\\["+Z+"*(?:value|"+Q+")"),t.querySelectorAll("[id~="+$+"-]").length||O.push("~="),(e=P.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||O.push("\\["+Z+"*name"+Z+"*="+Z+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||O.push(":checked"),t.querySelectorAll("a#"+$+"+*").length||O.push(".#.+[+~]"),t.querySelectorAll("\\\f"),O.push("[\\r\\n\\f]")}),r(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=P.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&O.push("name"+Z+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&O.push(":enabled",":disabled"),A.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&O.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),O.push(",.*:")})),(y.matchesSelector=ft.test(I=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&r(function(t){y.disconnectedMatch=I.call(t,"*"),I.call(t,"[s!='']:x"),M.push("!=",nt)}),O=O.length&&new RegExp(O.join("|")),M=M.length&&new RegExp(M.join("|")),e=ft.test(A.compareDocumentPosition),j=e||ft.test(A.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},z=e?function(t,e){if(t===e)return _=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!y.sortDetached&&e.compareDocumentPosition(t)===n?t==P||t.ownerDocument==L&&j(L,t)?-1:e==P||e.ownerDocument==L&&j(L,e)?1:T?J(T,t)-J(T,e):0:4&n?-1:1)}:function(t,e){if(t===e)return _=!0,0;var n,i=0,r=t.parentNode,a=e.parentNode,o=[t],l=[e];if(!r||!a)return t==P?-1:e==P?1:r?-1:a?1:T?J(T,t)-J(T,e):0;if(r===a)return s(t,e);for(n=t;n=n.parentNode;)o.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;o[i]===l[i];)i++;return i?s(o[i],l[i]):o[i]==L?-1:l[i]==L?1:0}),P},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if(E(t),y.matchesSelector&&N&&!B[n+" "]&&(!M||!M.test(n))&&(!O||!O.test(n)))try{var i=I.call(t,n);if(i||y.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){B(n,!0)}return 0<e(n,P,null,[t]).length},e.contains=function(t,e){return(t.ownerDocument||t)!=P&&E(t),j(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=P&&E(t);var n=b.attrHandle[e.toLowerCase()],i=n&&V.call(b.attrHandle,e.toLowerCase())?n(t,e,!N):void 0;return void 0!==i?i:y.attributes||!N?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.escape=function(t){return(t+"").replace(bt,wt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(_=!y.detectDuplicates,T=!y.sortStable&&t.slice(0),t.sort(z),_){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return T=null,t},w=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=w(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=w(e);return n},(b=e.selectors={cacheLength:50,createPseudo:i,match:ut,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(vt,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(vt,yt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ut.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&lt.test(n)&&(e=x(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(vt,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=H[t+" "];return e||(e=new RegExp("(^|"+Z+")"+t+"("+Z+"|$)"))&&H(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var a=e.attr(r,t);return null==a?"!="===n:!n||(a+="","="===n?a===i:"!="===n?a!==i:"^="===n?i&&0===a.indexOf(i):"*="===n?i&&-1<a.indexOf(i):"$="===n?i&&a.slice(-i.length)===i:"~="===n?-1<(" "+a.replace(it," ")+" ").indexOf(i):"|="===n&&(a===i||a.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var a="nth"!==t.slice(0,3),s="last"!==t.slice(-4),o="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var c,u,h,p,d,f,m=a!==s?"nextSibling":"previousSibling",g=e.parentNode,v=o&&e.nodeName.toLowerCase(),y=!l&&!o,b=!1;if(g){if(a){for(;m;){for(p=e;p=p[m];)if(o?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&y){for(b=(d=(c=(u=(h=(p=g)[$]||(p[$]={}))[p.uniqueID]||(h[p.uniqueID]={}))[t]||[])[0]===R&&c[1])&&c[2],p=d&&g.childNodes[d];p=++d&&p&&p[m]||(b=d=0)||f.pop();)if(1===p.nodeType&&++b&&p===e){u[t]=[R,d,b];break}}else if(y&&(b=d=(c=(u=(h=(p=e)[$]||(p[$]={}))[p.uniqueID]||(h[p.uniqueID]={}))[t]||[])[0]===R&&c[1]),!1===b)for(;(p=++d&&p&&p[m]||(b=d=0)||f.pop())&&((o?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((u=(h=p[$]||(p[$]={}))[p.uniqueID]||(h[p.uniqueID]={}))[t]=[R,b]),p!==e)););return(b-=r)===i||b%i==0&&0<=b/i}}},PSEUDO:function(t,n){var r,a=b.pseudos[t]||b.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return a[$]?a(n):1<a.length?(r=[t,t,"",n],b.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=a(t,n),s=r.length;s--;)t[i=J(t,r[s])]=!(e[i]=r[s])}):function(t){return a(t,0,r)}):a}},pseudos:{not:i(function(t){var e=[],n=[],r=D(t.replace(rt,"$1"));return r[$]?i(function(t,e,n,i){for(var a,s=r(t,null,i,[]),o=t.length;o--;)(a=s[o])&&(t[o]=!(e[o]=a))}):function(t,i,a){return e[0]=t,r(e,null,a,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return 0<e(t,n).length}}),contains:i(function(t){return t=t.replace(vt,yt),function(e){return-1<(e.textContent||w(e)).indexOf(t)}}),lang:i(function(t){return ct.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(vt,yt).toLowerCase(),function(e){var n;do{if(n=N?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===A},focus:function(t){return t===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:o(!1),disabled:o(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return dt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[n<0?n+e:n]}),even:l(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:l(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:l(function(t,e,n){for(var i=n<0?n+e:e<n?e:n;0<=--i;)t.push(i);return t}),gt:l(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[v]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(v);for(v in{submit:!0,reset:!0})b.pseudos[v]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(v);return u.prototype=b.filters=b.pseudos,b.setFilters=new u,x=e.tokenize=function(t,n){var i,r,a,s,o,l,c,u=q[t+" "];if(u)return n?0:u.slice(0);for(o=t,l=[],c=b.preFilter;o;){for(s in i&&!(r=at.exec(o))||(r&&(o=o.slice(r[0].length)||o),l.push(a=[])),i=!1,(r=st.exec(o))&&(i=r.shift(),a.push({value:i,type:r[0].replace(rt," ")}),o=o.slice(i.length)),b.filter)!(r=ut[s].exec(o))||c[s]&&!(r=c[s](r))||(i=r.shift(),a.push({value:i,type:s,matches:r}),o=o.slice(i.length));if(!i)break}return n?o.length:o?e.error(t):q(t,l).slice(0)},D=e.compile=function(t,n){var r,a,s,o,l,c,u=[],h=[],p=U[t+" "];if(!p){for(n||(n=x(t)),r=n.length;r--;)(p=g(n[r]))[$]?u.push(p):h.push(p);(p=U(t,(a=h,o=0<(s=u).length,l=0<a.length,c=function(t,n,i,r,c){
  var u,h,p,d=0,m="0",g=t&&[],v=[],y=S,w=t||l&&b.find.TAG("*",c),k=R+=null==y?1:Math.random()||.1,x=w.length;for(c&&(S=n==P||n||c);m!==x&&null!=(u=w[m]);m++){if(l&&u){for(h=0,n||u.ownerDocument==P||(E(u),i=!N);p=a[h++];)if(p(u,n||P,i)){r.push(u);break}c&&(R=k)}o&&((u=!p&&u)&&d--,t&&g.push(u))}if(d+=m,o&&m!==d){for(h=0;p=s[h++];)p(g,v,n,i);if(t){if(0<d)for(;m--;)g[m]||v[m]||(v[m]=Y.call(r));v=f(v)}X.apply(r,v),c&&!t&&0<v.length&&1<d+s.length&&e.uniqueSort(r)}return c&&(R=k,S=y),g},o?i(c):c))).selector=t}return p},C=e.select=function(t,e,n,i){var r,a,s,o,l,u="function"==typeof t&&t,p=!i&&x(t=u.selector||t);if(n=n||[],1===p.length){if(2<(a=p[0]=p[0].slice(0)).length&&"ID"===(s=a[0]).type&&9===e.nodeType&&N&&b.relative[a[1].type]){if(!(e=(b.find.ID(s.matches[0].replace(vt,yt),e)||[])[0]))return n;u&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(r=ut.needsContext.test(t)?0:a.length;r--&&(s=a[r],!b.relative[o=s.type]);)if((l=b.find[o])&&(i=l(s.matches[0].replace(vt,yt),gt.test(a[0].type)&&c(e.parentNode)||e))){if(a.splice(r,1),!(t=i.length&&h(a)))return X.apply(n,i),n;break}}return(u||D(t,p))(i,e,!N,n,!e||gt.test(t)&&c(e.parentNode)||e),n},y.sortStable=$.split("").sort(z).join("")===$,y.detectDuplicates=!!_,E(),y.sortDetached=r(function(t){return 1&t.compareDocumentPosition(P.createElement("fieldset"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||a("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),y.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||a("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||a(Q,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);ft.find=mt,ft.expr=mt.selectors,ft.expr[":"]=ft.expr.pseudos,ft.uniqueSort=ft.unique=mt.uniqueSort,ft.text=mt.getText,ft.isXMLDoc=mt.isXML,ft.contains=mt.contains,ft.escapeSelector=mt.escape;var gt=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&ft(t).is(n))break;i.push(t)}return i},vt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},yt=ft.expr.match.needsContext,bt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;ft.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?ft.find.matchesSelector(i,t)?[i]:[]:ft.find.matches(t,ft.grep(e,function(t){return 1===t.nodeType}))},ft.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(ft(t).filter(function(){for(e=0;e<i;e++)if(ft.contains(r[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)ft.find(t,r[e],n);return 1<i?ft.uniqueSort(n):n},filter:function(t){return this.pushStack(s(this,t||[],!1))},not:function(t){return this.pushStack(s(this,t||[],!0))},is:function(t){return!!s(this,"string"==typeof t&&yt.test(t)?ft(t):t||[],!1).length}});var wt,kt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ft.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||wt,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:kt.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof ft?e[0]:e,ft.merge(this,ft.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),bt.test(i[1])&&ft.isPlainObject(e))for(i in e)ct(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=ht.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ct(t)?void 0!==n.ready?n.ready(t):t(ft):ft.makeArray(t,this)}).prototype=ft.fn,wt=ft(ht);var xt=/^(?:parents|prev(?:Until|All))/,Dt={children:!0,contents:!0,next:!0,prev:!0};ft.fn.extend({has:function(t){var e=ft(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(ft.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,r=this.length,a=[],s="string"!=typeof t&&ft(t);if(!yt.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&ft.find.matchesSelector(n,t))){a.push(n);break}return this.pushStack(1<a.length?ft.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?nt.call(ft(t),this[0]):nt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ft.uniqueSort(ft.merge(this.get(),ft(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ft.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return gt(t,"parentNode")},parentsUntil:function(t,e,n){return gt(t,"parentNode",n)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return gt(t,"nextSibling")},prevAll:function(t){return gt(t,"previousSibling")},nextUntil:function(t,e,n){return gt(t,"nextSibling",n)},prevUntil:function(t,e,n){return gt(t,"previousSibling",n)},siblings:function(t){return vt((t.parentNode||{}).firstChild,t)},children:function(t){return vt(t.firstChild)},contents:function(t){return null!=t.contentDocument&&Q(t.contentDocument)?t.contentDocument:(a(t,"template")&&(t=t.content||t),ft.merge([],t.childNodes))}},function(t,e){ft.fn[t]=function(n,i){var r=ft.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ft.filter(i,r)),1<this.length&&(Dt[t]||ft.uniqueSort(r),xt.test(t)&&r.reverse()),this.pushStack(r)}});var Ct=/[^\x20\t\r\n\f]+/g;ft.Callbacks=function(t){var e,n;t="string"==typeof t?(e=t,n={},ft.each(e.match(Ct)||[],function(t,e){n[e]=!0}),n):ft.extend({},t);var r,a,s,o,l=[],c=[],u=-1,h=function(){for(o=o||t.once,s=r=!0;c.length;u=-1)for(a=c.shift();++u<l.length;)!1===l[u].apply(a[0],a[1])&&t.stopOnFalse&&(u=l.length,a=!1);t.memory||(a=!1),r=!1,o&&(l=a?[]:"")},p={add:function(){return l&&(a&&!r&&(u=l.length-1,c.push(a)),function e(n){ft.each(n,function(n,r){ct(r)?t.unique&&p.has(r)||l.push(r):r&&r.length&&"string"!==i(r)&&e(r)})}(arguments),a&&!r&&h()),this},remove:function(){return ft.each(arguments,function(t,e){for(var n;-1<(n=ft.inArray(e,l,n));)l.splice(n,1),n<=u&&u--}),this},has:function(t){return t?-1<ft.inArray(t,l):0<l.length},empty:function(){return l&&(l=[]),this},disable:function(){return o=c=[],l=a="",this},disabled:function(){return!l},lock:function(){return o=c=[],a||r||(l=a=""),this},locked:function(){return!!o},fireWith:function(t,e){return o||(e=[t,(e=e||[]).slice?e.slice():e],c.push(e),r||h()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!s}};return p},ft.extend({Deferred:function(e){var n=[["notify","progress",ft.Callbacks("memory"),ft.Callbacks("memory"),2],["resolve","done",ft.Callbacks("once memory"),ft.Callbacks("once memory"),0,"resolved"],["reject","fail",ft.Callbacks("once memory"),ft.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return ft.Deferred(function(e){ft.each(n,function(n,i){var r=ct(t[i[4]])&&t[i[4]];a[i[1]](function(){var t=r&&r.apply(this,arguments);t&&ct(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[i[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(e,i,r){function a(e,n,i,r){return function(){var o=this,u=arguments,h=function(){var t,h;if(!(e<s)){if((t=i.apply(o,u))===n.promise())throw new TypeError("Thenable self-resolution");h=t&&("object"==typeof t||"function"==typeof t)&&t.then,ct(h)?r?h.call(t,a(s,n,l,r),a(s,n,c,r)):(s++,h.call(t,a(s,n,l,r),a(s,n,c,r),a(s,n,l,n.notifyWith))):(i!==l&&(o=void 0,u=[t]),(r||n.resolveWith)(o,u))}},p=r?h:function(){try{h()}catch(t){ft.Deferred.exceptionHook&&ft.Deferred.exceptionHook(t,p.stackTrace),s<=e+1&&(i!==c&&(o=void 0,u=[t]),n.rejectWith(o,u))}};e?p():(ft.Deferred.getStackHook&&(p.stackTrace=ft.Deferred.getStackHook()),t.setTimeout(p))}}var s=0;return ft.Deferred(function(t){n[0][3].add(a(0,t,ct(r)?r:l,t.notifyWith)),n[1][3].add(a(0,t,ct(e)?e:l)),n[2][3].add(a(0,t,ct(i)?i:c))}).promise()},promise:function(t){return null!=t?ft.extend(t,r):r}},a={};return ft.each(n,function(t,e){var s=e[2],o=e[5];r[e[1]]=s.add,o&&s.add(function(){i=o},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),s.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=s.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(t){var e=arguments.length,n=e,i=Array(n),r=Z.call(arguments),a=ft.Deferred(),s=function(t){return function(n){i[t]=this,r[t]=1<arguments.length?Z.call(arguments):n,--e||a.resolveWith(i,r)}};if(e<=1&&(u(t,a.done(s(n)).resolve,a.reject,!e),"pending"===a.state()||ct(r[n]&&r[n].then)))return a.then();for(;n--;)u(r[n],s(n),a.reject);return a.promise()}});var St=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ft.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&St.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},ft.readyException=function(e){t.setTimeout(function(){throw e})};var Tt=ft.Deferred();ft.fn.ready=function(t){return Tt.then(t).catch(function(t){ft.readyException(t)}),this},ft.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--ft.readyWait:ft.isReady)||(ft.isReady=!0)!==t&&0<--ft.readyWait||Tt.resolveWith(ht,[ft])}}),ft.ready.then=Tt.then,"complete"===ht.readyState||"loading"!==ht.readyState&&!ht.documentElement.doScroll?t.setTimeout(ft.ready):(ht.addEventListener("DOMContentLoaded",h),t.addEventListener("load",h));var _t=function(t,e,n,r,a,s,o){var l=0,c=t.length,u=null==n;if("object"===i(n))for(l in a=!0,n)_t(t,e,l,n[l],!0,s,o);else if(void 0!==r&&(a=!0,ct(r)||(o=!0),u&&(o?(e.call(t,r),e=null):(u=e,e=function(t,e,n){return u.call(ft(t),n)})),e))for(;l<c;l++)e(t[l],n,o?r:r.call(t[l],l,e(t[l],n)));return a?t:u?e.call(t):c?e(t[0],n):s},Et=/^-ms-/,Pt=/-([a-z])/g,At=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};f.uid=1,f.prototype={cache:function(t){var e=t[this.expando];return e||(e={},At(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[d(e)]=n;else for(i in e)r[d(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][d(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(d):(e=d(e))in i?[e]:e.match(Ct)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||ft.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!ft.isEmptyObject(e)}};var Nt=new f,Ot=new f,Mt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,It=/[A-Z]/g;ft.extend({hasData:function(t){return Ot.hasData(t)||Nt.hasData(t)},data:function(t,e,n){return Ot.access(t,e,n)},removeData:function(t,e){Ot.remove(t,e)},_data:function(t,e,n){return Nt.access(t,e,n)},_removeData:function(t,e){Nt.remove(t,e)}}),ft.fn.extend({data:function(t,e){var n,i,r,a=this[0],s=a&&a.attributes;if(void 0===t){if(this.length&&(r=Ot.get(a),1===a.nodeType&&!Nt.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=d(i.slice(5)),m(a,i,r[i]));Nt.set(a,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){Ot.set(this,t)}):_t(this,function(e){var n;if(a&&void 0===e)return void 0!==(n=Ot.get(a,t))?n:void 0!==(n=m(a,t))?n:void 0;this.each(function(){Ot.set(this,t,e)})},null,e,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){Ot.remove(this,t)})}}),ft.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Nt.get(t,e),n&&(!i||Array.isArray(n)?i=Nt.access(t,e,ft.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=ft.queue(t,e),i=n.length,r=n.shift(),a=ft._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete a.stop,r.call(t,function(){ft.dequeue(t,e)},a)),!i&&a&&a.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Nt.get(t,n)||Nt.access(t,n,{empty:ft.Callbacks("once memory").add(function(){Nt.remove(t,[e+"queue",n])})})}}),ft.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?ft.queue(this[0],t):void 0===e?this:this.each(function(){var n=ft.queue(this,t,e);ft._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&ft.dequeue(this,t)})},dequeue:function(t){return this.each(function(){ft.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=ft.Deferred(),a=this,s=this.length,o=function(){--i||r.resolveWith(a,[a])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=Nt.get(a[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(o));return o(),r.promise(e)}});var jt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$t=new RegExp("^(?:([+-])=|)("+jt+")([a-z%]*)$","i"),Lt=["Top","Right","Bottom","Left"],Rt=ht.documentElement,Ft=function(t){return ft.contains(t.ownerDocument,t)},Ht={composed:!0};Rt.getRootNode&&(Ft=function(t){return ft.contains(t.ownerDocument,t)||t.getRootNode(Ht)===t.ownerDocument});var qt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&Ft(t)&&"none"===ft.css(t,"display")},Ut={};ft.fn.extend({show:function(){return v(this,!0)},hide:function(){return v(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){qt(this)?ft(this).show():ft(this).hide()})}});var Bt,zt,Vt=/^(?:checkbox|radio)$/i,Wt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Yt=/^$|^module$|\/(?:java|ecma)script/i;Bt=ht.createDocumentFragment().appendChild(ht.createElement("div")),(zt=ht.createElement("input")).setAttribute("type","radio"),zt.setAttribute("checked","checked"),zt.setAttribute("name","t"),Bt.appendChild(zt),lt.checkClone=Bt.cloneNode(!0).cloneNode(!0).lastChild.checked,Bt.innerHTML="<textarea>x</textarea>",lt.noCloneChecked=!!Bt.cloneNode(!0).lastChild.defaultValue,Bt.innerHTML="<option></option>",lt.option=!!Bt.lastChild;var Kt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Kt.tbody=Kt.tfoot=Kt.colgroup=Kt.caption=Kt.thead,Kt.th=Kt.td,lt.option||(Kt.optgroup=Kt.option=[1,"<select multiple='multiple'>","</select>"]);var Xt=/<|&#?\w+;/,Gt=/^key/,Jt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Qt=/^([^.]*)(?:\.(.+)|)/;ft.event={global:{},add:function(t,e,n,i,r){var a,s,o,l,c,u,h,p,d,f,m,g=Nt.get(t);if(At(t))for(n.handler&&(n=(a=n).handler,r=a.selector),r&&ft.find.matchesSelector(Rt,r),n.guid||(n.guid=ft.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(e){return void 0!==ft&&ft.event.triggered!==e.type?ft.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Ct)||[""]).length;c--;)d=m=(o=Qt.exec(e[c])||[])[1],f=(o[2]||"").split(".").sort(),d&&(h=ft.event.special[d]||{},d=(r?h.delegateType:h.bindType)||d,h=ft.event.special[d]||{},u=ft.extend({type:d,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&ft.expr.match.needsContext.test(r),namespace:f.join(".")},a),(p=l[d])||((p=l[d]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,i,f,s)||t.addEventListener&&t.addEventListener(d,s)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,u):p.push(u),ft.event.global[d]=!0)},remove:function(t,e,n,i,r){var a,s,o,l,c,u,h,p,d,f,m,g=Nt.hasData(t)&&Nt.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(Ct)||[""]).length;c--;)if(d=m=(o=Qt.exec(e[c])||[])[1],f=(o[2]||"").split(".").sort(),d){for(h=ft.event.special[d]||{},p=l[d=(i?h.delegateType:h.bindType)||d]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=a=p.length;a--;)u=p[a],!r&&m!==u.origType||n&&n.guid!==u.guid||o&&!o.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(a,1),u.selector&&p.delegateCount--,h.remove&&h.remove.call(t,u));s&&!p.length&&(h.teardown&&!1!==h.teardown.call(t,f,g.handle)||ft.removeEvent(t,d,g.handle),delete l[d])}else for(d in l)ft.event.remove(t,d+e[c],n,i,!0);ft.isEmptyObject(l)&&Nt.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,a,s,o=new Array(arguments.length),l=ft.event.fix(t),c=(Nt.get(this,"events")||Object.create(null))[l.type]||[],u=ft.event.special[l.type]||{};for(o[0]=l,e=1;e<arguments.length;e++)o[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(s=ft.event.handlers.call(this,l,c),e=0;(r=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(a=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==a.namespace&&!l.rnamespace.test(a.namespace)||(l.handleObj=a,l.data=a.data,void 0!==(i=((ft.event.special[a.origType]||{}).handle||a.handler).apply(r.elem,o))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,r,a,s,o=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&1<=t.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(a=[],s={},n=0;n<l;n++)void 0===s[r=(i=e[n]).selector+" "]&&(s[r]=i.needsContext?-1<ft(r,this).index(c):ft.find(r,this,null,[c]).length),s[r]&&a.push(i);a.length&&o.push({elem:c,handlers:a})}return c=this,l<e.length&&o.push({elem:c,handlers:e.slice(l)}),o},addProp:function(t,e){Object.defineProperty(ft.Event.prototype,t,{enumerable:!0,configurable:!0,get:ct(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[ft.expando]?t:new ft.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Vt.test(e.type)&&e.click&&a(e,"input")&&S(e,"click",k),!1},trigger:function(t){var e=this||t;return Vt.test(e.type)&&e.click&&a(e,"input")&&S(e,"click"),!0},_default:function(t){var e=t.target;return Vt.test(e.type)&&e.click&&a(e,"input")&&Nt.get(e,"click")||a(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},ft.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},ft.Event=function(t,e){if(!(this instanceof ft.Event))return new ft.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?k:x,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&ft.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[ft.expando]=!0},ft.Event.prototype={constructor:ft.Event,isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=k,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=k,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=k,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},ft.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Gt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&Jt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},ft.event.addProp),ft.each({focus:"focusin",blur:"focusout"},function(t,e){ft.event.special[t]={setup:function(){return S(this,t,D),!1},trigger:function(){return S(this,t),!0},delegateType:e}}),ft.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){ft.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,r=t.handleObj;return i&&(i===this||ft.contains(this,i))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),ft.fn.extend({on:function(t,e,n,i){return C(this,t,e,n,i)},one:function(t,e,n,i){return C(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,ft(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=x),this.each(function(){ft.event.remove(this,t,n,e)})}});var Zt=/<script|<style|<link/i,te=/checked\s*(?:[^=]|=\s*.checked.)/i,ee=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ft.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,a,s,o,l,c,u=t.cloneNode(!0),h=Ft(t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ft.isXMLDoc(t)))for(s=y(u),i=0,r=(a=y(t)).length;i<r;i++)o=a[i],l=s[i],"input"===(c=l.nodeName.toLowerCase())&&Vt.test(o.type)?l.checked=o.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=o.defaultValue);if(e)if(n)for(a=a||y(t),s=s||y(u),i=0,r=a.length;i<r;i++)P(a[i],s[i]);else P(t,u);return 0<(s=y(u,"script")).length&&b(s,!h&&y(t,"script")),u},cleanData:function(t){for(var e,n,i,r=ft.event.special,a=0;void 0!==(n=t[a]);a++)if(At(n)){if(e=n[Nt.expando]){if(e.events)for(i in e.events)r[i]?ft.event.remove(n,i):ft.removeEvent(n,i,e.handle);n[Nt.expando]=void 0}n[Ot.expando]&&(n[Ot.expando]=void 0)}}}),ft.fn.extend({detach:function(t){return N(this,t,!0)},remove:function(t){return N(this,t)},text:function(t){return _t(this,function(t){return void 0===t?ft.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return A(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||T(this,t).appendChild(t)})},prepend:function(){return A(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=T(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return A(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return A(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(ft.cleanData(y(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return ft.clone(this,t,e)})},html:function(t){return _t(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Zt.test(t)&&!Kt[(Wt.exec(t)||["",""])[1].toLowerCase()]){t=ft.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(ft.cleanData(y(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return A(this,arguments,function(e){var n=this.parentNode;ft.inArray(this,t)<0&&(ft.cleanData(y(this)),n&&n.replaceChild(e,this))},t)}}),ft.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){ft.fn[t]=function(t){for(var n,i=[],r=ft(t),a=r.length-1,s=0;s<=a;s++)n=s===a?this:this.clone(!0),ft(r[s])[e](n),et.apply(i,n.get());return this.pushStack(i)}});var ne=new RegExp("^("+jt+")(?!px)[a-z%]+$","i"),ie=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},re=function(t,e,n){var i,r,a={};for(r in e)a[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=a[r];return i},ae=new RegExp(Lt.join("|"),"i");!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Rt.appendChild(c).appendChild(u);var e=t.getComputedStyle(u);i="1%"!==e.top,l=12===n(e.marginLeft),u.style.right="60%",s=36===n(e.right),r=36===n(e.width),u.style.position="absolute",a=12===n(u.offsetWidth/3),Rt.removeChild(c),u=null}}function n(t){return Math.round(parseFloat(t))}var i,r,a,s,o,l,c=ht.createElement("div"),u=ht.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",lt.clearCloneStyle="content-box"===u.style.backgroundClip,ft.extend(lt,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),a},reliableTrDimensions:function(){var e,n,i,r;return null==o&&(e=ht.createElement("table"),n=ht.createElement("tr"),i=ht.createElement("div"),e.style.cssText="position:absolute;left:-11111px",n.style.height="1px",i.style.height="9px",Rt.appendChild(e).appendChild(n).appendChild(i),r=t.getComputedStyle(n),o=3<parseInt(r.height),Rt.removeChild(e)),o}}))}();var se=["Webkit","Moz","ms"],oe=ht.createElement("div").style,le={},ce=/^(none|table(?!-c[ea]).+)/,ue=/^--/,he={position:"absolute",visibility:"hidden",display:"block"},pe={letterSpacing:"0",fontWeight:"400"};ft.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=O(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,a,s,o=d(e),l=ue.test(e),c=t.style;if(l||(e=I(o)),s=ft.cssHooks[e]||ft.cssHooks[o],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:c[e];"string"==(a=typeof n)&&(r=$t.exec(n))&&r[1]&&(n=g(t,e,r),a="number"),null!=n&&n==n&&("number"!==a||l||(n+=r&&r[3]||(ft.cssNumber[o]?"":"px")),lt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var r,a,s,o=d(e);return ue.test(e)||(e=I(o)),(s=ft.cssHooks[e]||ft.cssHooks[o])&&"get"in s&&(r=s.get(t,!0,n)),void 0===r&&(r=O(t,e,i)),"normal"===r&&e in pe&&(r=pe[e]),""===n||n?(a=parseFloat(r),!0===n||isFinite(a)?a||0:r):r}}),ft.each(["height","width"],function(t,e){ft.cssHooks[e]={get:function(t,n,i){if(n)return!ce.test(ft.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?L(t,e,i):re(t,he,function(){return L(t,e,i)})},set:function(t,n,i){var r,a=ie(t),s=!lt.scrollboxSize()&&"absolute"===a.position,o=(s||i)&&"border-box"===ft.css(t,"boxSizing",!1,a),l=i?$(t,e,i,o,a):0;return o&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(a[e])-$(t,e,"border",!1,a)-.5)),l&&(r=$t.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=ft.css(t,e)),j(0,n,l)}}}),ft.cssHooks.marginLeft=M(lt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(O(t,"marginLeft"))||t.getBoundingClientRect().left-re(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),ft.each({margin:"",padding:"",border:"Width"},function(t,e){ft.cssHooks[t+e]={expand:function(n){for(var i=0,r={},a="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+Lt[i]+e]=a[i]||a[i-2]||a[0];return r}},"margin"!==t&&(ft.cssHooks[t+e].set=j)}),ft.fn.extend({css:function(t,e){return _t(this,function(t,e,n){var i,r,a={},s=0;if(Array.isArray(e)){for(i=ie(t),r=e.length;s<r;s++)a[e[s]]=ft.css(t,e[s],!1,i);return a}return void 0!==n?ft.style(t,e,n):ft.css(t,e)},t,e,1<arguments.length)}}),((ft.Tween=R).prototype={constructor:R,init:function(t,e,n,i,r,a){this.elem=t,this.prop=n,this.easing=r||ft.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=a||(ft.cssNumber[n]?"":"px")},cur:function(){var t=R.propHooks[this.prop];return t&&t.get?t.get(this):R.propHooks._default.get(this)},run:function(t){var e,n=R.propHooks[this.prop];return this.options.duration?this.pos=e=ft.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):R.propHooks._default.set(this),this}}).init.prototype=R.prototype,(R.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=ft.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){ft.fx.step[t.prop]?ft.fx.step[t.prop](t):1!==t.elem.nodeType||!ft.cssHooks[t.prop]&&null==t.elem.style[I(t.prop)]?t.elem[t.prop]=t.now:ft.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=R.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ft.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},ft.fx=R.prototype.init,ft.fx.step={};var de,fe,me,ge,ve=/^(?:toggle|show|hide)$/,ye=/queueHooks$/;ft.Animation=ft.extend(B,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return g(n.elem,t,$t.exec(e),n),n}]},tweener:function(t,e){ct(t)?(e=t,t=["*"]):t=t.match(Ct);for(var n,i=0,r=t.length;i<r;i++)n=t[i],B.tweeners[n]=B.tweeners[n]||[],B.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,a,s,o,l,c,u,h="width"in e||"height"in e,p=this,d={},f=t.style,m=t.nodeType&&qt(t),g=Nt.get(t,"fxshow");for(i in n.queue||(null==(s=ft._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,o=s.empty.fire,s.empty.fire=function(){s.unqueued||o()}),s.unqueued++,p.always(function(){p.always(function(){s.unqueued--,ft.queue(t,"fx").length||s.empty.fire()})})),e)if(r=e[i],ve.test(r)){if(delete e[i],a=a||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}d[i]=g&&g[i]||ft.style(t,i)}if((l=!ft.isEmptyObject(e))||!ft.isEmptyObject(d))for(i in h&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=Nt.get(t,"display")),"none"===(u=ft.css(t,"display"))&&(c?u=c:(v([t],!0),c=t.style.display||c,u=ft.css(t,"display"),v([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===ft.css(t,"float")&&(l||(p.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",p.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,d)l||(g?"hidden"in g&&(m=g.hidden):g=Nt.access(t,"fxshow",{display:c}),a&&(g.hidden=!m),m&&v([t],!0),p.done(function(){for(i in m||v([t]),Nt.remove(t,"fxshow"),d)ft.style(t,i,d[i])})),l=U(m?g[i]:0,i,p),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?B.prefilters.unshift(t):B.prefilters.push(t)}}),ft.speed=function(t,e,n){var i=t&&"object"==typeof t?ft.extend({},t):{complete:n||!n&&e||ct(t)&&t,duration:t,easing:n&&e||e&&!ct(e)&&e};return ft.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in ft.fx.speeds?i.duration=ft.fx.speeds[i.duration]:i.duration=ft.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){
  ct(i.old)&&i.old.call(this),i.queue&&ft.dequeue(this,i.queue)},i},ft.fn.extend({fadeTo:function(t,e,n,i){return this.filter(qt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=ft.isEmptyObject(t),a=ft.speed(e,n,i),s=function(){var e=B(this,ft.extend({},t),a);(r||Nt.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||!1===a.queue?this.each(s):this.queue(a.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",a=ft.timers,s=Nt.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&ye.test(r)&&i(s[r]);for(r=a.length;r--;)a[r].elem!==this||null!=t&&a[r].queue!==t||(a[r].anim.stop(n),e=!1,a.splice(r,1));!e&&n||ft.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=Nt.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],a=ft.timers,s=i?i.length:0;for(n.finish=!0,ft.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=a.length;e--;)a[e].elem===this&&a[e].queue===t&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),ft.each(["toggle","show","hide"],function(t,e){var n=ft.fn[e];ft.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(q(e,!0),t,i,r)}}),ft.each({slideDown:q("show"),slideUp:q("hide"),slideToggle:q("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){ft.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),ft.timers=[],ft.fx.tick=function(){var t,e=0,n=ft.timers;for(de=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||ft.fx.stop(),de=void 0},ft.fx.timer=function(t){ft.timers.push(t),ft.fx.start()},ft.fx.interval=13,ft.fx.start=function(){fe||(fe=!0,F())},ft.fx.stop=function(){fe=null},ft.fx.speeds={slow:600,fast:200,_default:400},ft.fn.delay=function(e,n){return e=ft.fx&&ft.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(n,i){var r=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(r)}})},me=ht.createElement("input"),ge=ht.createElement("select").appendChild(ht.createElement("option")),me.type="checkbox",lt.checkOn=""!==me.value,lt.optSelected=ge.selected,(me=ht.createElement("input")).value="t",me.type="radio",lt.radioValue="t"===me.value;var be,we=ft.expr.attrHandle;ft.fn.extend({attr:function(t,e){return _t(this,ft.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){ft.removeAttr(this,t)})}}),ft.extend({attr:function(t,e,n){var i,r,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===t.getAttribute?ft.prop(t,e,n):(1===a&&ft.isXMLDoc(t)||(r=ft.attrHooks[e.toLowerCase()]||(ft.expr.match.bool.test(e)?be:void 0)),void 0!==n?null===n?void ft.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=ft.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!lt.radioValue&&"radio"===e&&a(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(Ct);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),be={set:function(t,e,n){return!1===e?ft.removeAttr(t,n):t.setAttribute(n,n),n}},ft.each(ft.expr.match.bool.source.match(/\w+/g),function(t,e){var n=we[e]||ft.find.attr;we[e]=function(t,e,i){var r,a,s=e.toLowerCase();return i||(a=we[s],we[s]=r,r=null!=n(t,e,i)?s:null,we[s]=a),r}});var ke=/^(?:input|select|textarea|button)$/i,xe=/^(?:a|area)$/i;ft.fn.extend({prop:function(t,e){return _t(this,ft.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[ft.propFix[t]||t]})}}),ft.extend({prop:function(t,e,n){var i,r,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&ft.isXMLDoc(t)||(e=ft.propFix[e]||e,r=ft.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=ft.find.attr(t,"tabindex");return e?parseInt(e,10):ke.test(t.nodeName)||xe.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),lt.optSelected||(ft.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),ft.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ft.propFix[this.toLowerCase()]=this}),ft.fn.extend({addClass:function(t){var e,n,i,r,a,s,o,l=0;if(ct(t))return this.each(function(e){ft(this).addClass(t.call(this,e,V(this)))});if((e=W(t)).length)for(;n=this[l++];)if(r=V(n),i=1===n.nodeType&&" "+z(r)+" "){for(s=0;a=e[s++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");r!==(o=z(i))&&n.setAttribute("class",o)}return this},removeClass:function(t){var e,n,i,r,a,s,o,l=0;if(ct(t))return this.each(function(e){ft(this).removeClass(t.call(this,e,V(this)))});if(!arguments.length)return this.attr("class","");if((e=W(t)).length)for(;n=this[l++];)if(r=V(n),i=1===n.nodeType&&" "+z(r)+" "){for(s=0;a=e[s++];)for(;-1<i.indexOf(" "+a+" ");)i=i.replace(" "+a+" "," ");r!==(o=z(i))&&n.setAttribute("class",o)}return this},toggleClass:function(t,e){var n=typeof t,i="string"===n||Array.isArray(t);return"boolean"==typeof e&&i?e?this.addClass(t):this.removeClass(t):ct(t)?this.each(function(n){ft(this).toggleClass(t.call(this,n,V(this),e),e)}):this.each(function(){var e,r,a,s;if(i)for(r=0,a=ft(this),s=W(t);e=s[r++];)a.hasClass(e)?a.removeClass(e):a.addClass(e);else void 0!==t&&"boolean"!==n||((e=V(this))&&Nt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Nt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+z(V(n))+" ").indexOf(e))return!0;return!1}});var De=/\r/g;ft.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=ct(t),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,ft(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=ft.map(r,function(t){return null==t?"":t+""})),(e=ft.valHooks[this.type]||ft.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=ft.valHooks[r.type]||ft.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(De,""):null==n?"":n:void 0}}),ft.extend({valHooks:{option:{get:function(t){var e=ft.find.attr(t,"value");return null!=e?e:z(ft.text(t))}},select:{get:function(t){var e,n,i,r=t.options,s=t.selectedIndex,o="select-one"===t.type,l=o?null:[],c=o?s+1:r.length;for(i=s<0?c:o?s:0;i<c;i++)if(((n=r[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!a(n.parentNode,"optgroup"))){if(e=ft(n).val(),o)return e;l.push(e)}return l},set:function(t,e){for(var n,i,r=t.options,a=ft.makeArray(e),s=r.length;s--;)((i=r[s]).selected=-1<ft.inArray(ft.valHooks.option.get(i),a))&&(n=!0);return n||(t.selectedIndex=-1),a}}}}),ft.each(["radio","checkbox"],function(){ft.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<ft.inArray(ft(t).val(),e)}},lt.checkOn||(ft.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),lt.focusin="onfocusin"in t;var Ce=/^(?:focusinfocus|focusoutblur)$/,Se=function(t){t.stopPropagation()};ft.extend(ft.event,{trigger:function(e,n,i,r){var a,s,o,l,c,u,h,p,d=[i||ht],f=at.call(e,"type")?e.type:e,m=at.call(e,"namespace")?e.namespace.split("."):[];if(s=p=o=i=i||ht,3!==i.nodeType&&8!==i.nodeType&&!Ce.test(f+ft.event.triggered)&&(-1<f.indexOf(".")&&(f=(m=f.split(".")).shift(),m.sort()),c=f.indexOf(":")<0&&"on"+f,(e=e[ft.expando]?e:new ft.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:ft.makeArray(n,[e]),h=ft.event.special[f]||{},r||!h.trigger||!1!==h.trigger.apply(i,n))){if(!r&&!h.noBubble&&!ut(i)){for(l=h.delegateType||f,Ce.test(l+f)||(s=s.parentNode);s;s=s.parentNode)d.push(s),o=s;o===(i.ownerDocument||ht)&&d.push(o.defaultView||o.parentWindow||t)}for(a=0;(s=d[a++])&&!e.isPropagationStopped();)p=s,e.type=1<a?l:h.bindType||f,(u=(Nt.get(s,"events")||Object.create(null))[e.type]&&Nt.get(s,"handle"))&&u.apply(s,n),(u=c&&s[c])&&u.apply&&At(s)&&(e.result=u.apply(s,n),!1===e.result&&e.preventDefault());return e.type=f,r||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(d.pop(),n)||!At(i)||c&&ct(i[f])&&!ut(i)&&((o=i[c])&&(i[c]=null),ft.event.triggered=f,e.isPropagationStopped()&&p.addEventListener(f,Se),i[f](),e.isPropagationStopped()&&p.removeEventListener(f,Se),ft.event.triggered=void 0,o&&(i[c]=o)),e.result}},simulate:function(t,e,n){var i=ft.extend(new ft.Event,n,{type:t,isSimulated:!0});ft.event.trigger(i,null,e)}}),ft.fn.extend({trigger:function(t,e){return this.each(function(){ft.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return ft.event.trigger(t,e,n,!0)}}),lt.focusin||ft.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){ft.event.simulate(e,t.target,ft.event.fix(t))};ft.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=Nt.access(i,e);r||i.addEventListener(t,n,!0),Nt.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=Nt.access(i,e)-1;r?Nt.access(i,e,r):(i.removeEventListener(t,n,!0),Nt.remove(i,e))}}});var Te=t.location,_e={guid:Date.now()},Ee=/\?/;ft.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||ft.error("Invalid XML: "+e),n};var Pe=/\[\]$/,Ae=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Oe=/^(?:input|select|textarea|keygen)/i;ft.param=function(t,e){var n,i=[],r=function(t,e){var n=ct(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!ft.isPlainObject(t))ft.each(t,function(){r(this.name,this.value)});else for(n in t)Y(n,t[n],e,r);return i.join("&")},ft.fn.extend({serialize:function(){return ft.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ft.prop(this,"elements");return t?ft.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ft(this).is(":disabled")&&Oe.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!Vt.test(t))}).map(function(t,e){var n=ft(this).val();return null==n?null:Array.isArray(n)?ft.map(n,function(t){return{name:e.name,value:t.replace(Ae,"\r\n")}}):{name:e.name,value:n.replace(Ae,"\r\n")}}).get()}});var Me=/%20/g,Ie=/#.*$/,je=/([?&])_=[^&]*/,$e=/^(.*?):[ \t]*([^\r\n]*)$/gm,Le=/^(?:GET|HEAD)$/,Re=/^\/\//,Fe={},He={},qe="*/".concat("*"),Ue=ht.createElement("a");Ue.href=Te.href,ft.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Te.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Te.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qe,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":JSON.parse,"text xml":ft.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?G(G(t,ft.ajaxSettings),e):G(ft.ajaxSettings,t)},ajaxPrefilter:K(Fe),ajaxTransport:K(He),ajax:function(e,n){function i(e,n,i,o){var c,p,d,w,k,x=n;u||(u=!0,l&&t.clearTimeout(l),r=void 0,s=o||"",D.readyState=0<e?4:0,c=200<=e&&e<300||304===e,i&&(w=function(t,e,n){for(var i,r,a,s,o=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in o)if(o[r]&&o[r].test(i)){l.unshift(r);break}if(l[0]in n)a=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){a=r;break}s||(s=r)}a=a||s}if(a)return a!==l[0]&&l.unshift(a),n[a]}(f,D,i)),!c&&-1<ft.inArray("script",f.dataTypes)&&(f.converters["text script"]=function(){}),w=function(t,e,n,i){var r,a,s,o,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(a=u.shift();a;)if(t.responseFields[a]&&(n[t.responseFields[a]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(s=c[l+" "+a]||c["* "+a]))for(r in c)if((o=r.split(" "))[1]===a&&(s=c[l+" "+o[0]]||c["* "+o[0]])){!0===s?s=c[r]:!0!==c[r]&&(a=o[0],u.unshift(o[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+a}}}return{state:"success",data:e}}(f,w,D,c),c?(f.ifModified&&((k=D.getResponseHeader("Last-Modified"))&&(ft.lastModified[a]=k),(k=D.getResponseHeader("etag"))&&(ft.etag[a]=k)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=w.state,p=w.data,c=!(d=w.error))):(d=x,!e&&x||(x="error",e<0&&(e=0))),D.status=e,D.statusText=(n||x)+"",c?v.resolveWith(m,[p,x,D]):v.rejectWith(m,[D,x,d]),D.statusCode(b),b=void 0,h&&g.trigger(c?"ajaxSuccess":"ajaxError",[D,f,c?p:d]),y.fireWith(m,[D,x]),h&&(g.trigger("ajaxComplete",[D,f]),--ft.active||ft.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var r,a,s,o,l,c,u,h,p,d,f=ft.ajaxSetup({},n),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?ft(m):ft.event,v=ft.Deferred(),y=ft.Callbacks("once memory"),b=f.statusCode||{},w={},k={},x="canceled",D={readyState:0,getResponseHeader:function(t){var e;if(u){if(!o)for(o={};e=$e.exec(s);)o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=o[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(t,e){return null==u&&(t=k[t.toLowerCase()]=k[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==u&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)D.always(t[D.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||x;return r&&r.abort(e),i(0,e),this}};if(v.promise(D),f.url=((e||f.url||Te.href)+"").replace(Re,Te.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(Ct)||[""],null==f.crossDomain){c=ht.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=Ue.protocol+"//"+Ue.host!=c.protocol+"//"+c.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=ft.param(f.data,f.traditional)),X(Fe,f,n,D),u)return D;for(p in(h=ft.event&&f.global)&&0==ft.active++&&ft.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Le.test(f.type),a=f.url.replace(Ie,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Me,"+")):(d=f.url.slice(a.length),f.data&&(f.processData||"string"==typeof f.data)&&(a+=(Ee.test(a)?"&":"?")+f.data,delete f.data),!1===f.cache&&(a=a.replace(je,"$1"),d=(Ee.test(a)?"&":"?")+"_="+_e.guid+++d),f.url=a+d),f.ifModified&&(ft.lastModified[a]&&D.setRequestHeader("If-Modified-Since",ft.lastModified[a]),ft.etag[a]&&D.setRequestHeader("If-None-Match",ft.etag[a])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&D.setRequestHeader("Content-Type",f.contentType),D.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+qe+"; q=0.01":""):f.accepts["*"]),f.headers)D.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(!1===f.beforeSend.call(m,D,f)||u))return D.abort();if(x="abort",y.add(f.complete),D.done(f.success),D.fail(f.error),r=X(He,f,n,D)){if(D.readyState=1,h&&g.trigger("ajaxSend",[D,f]),u)return D;f.async&&0<f.timeout&&(l=t.setTimeout(function(){D.abort("timeout")},f.timeout));try{u=!1,r.send(w,i)}catch(e){if(u)throw e;i(-1,e)}}else i(-1,"No Transport");return D},getJSON:function(t,e,n){return ft.get(t,e,n,"json")},getScript:function(t,e){return ft.get(t,void 0,e,"script")}}),ft.each(["get","post"],function(t,e){ft[e]=function(t,n,i,r){return ct(n)&&(r=r||i,i=n,n=void 0),ft.ajax(ft.extend({url:t,type:e,dataType:r,data:n,success:i},ft.isPlainObject(t)&&t))}}),ft.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),ft._evalUrl=function(t,e,n){return ft.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){ft.globalEval(t,e,n)}})},ft.fn.extend({wrapAll:function(t){var e;return this[0]&&(ct(t)&&(t=t.call(this[0])),e=ft(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return ct(t)?this.each(function(e){ft(this).wrapInner(t.call(this,e))}):this.each(function(){var e=ft(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=ct(t);return this.each(function(n){ft(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){ft(this).replaceWith(this.childNodes)}),this}}),ft.expr.pseudos.hidden=function(t){return!ft.expr.pseudos.visible(t)},ft.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},ft.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var Be={0:200,1223:204},ze=ft.ajaxSettings.xhr();lt.cors=!!ze&&"withCredentials"in ze,lt.ajax=ze=!!ze,ft.ajaxTransport(function(e){var n,i;if(lt.cors||ze&&!e.crossDomain)return{send:function(r,a){var s,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)o[s]=e.xhrFields[s];for(s in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)o.setRequestHeader(s,r[s]);n=function(t){return function(){n&&(n=i=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===t?o.abort():"error"===t?"number"!=typeof o.status?a(0,"error"):a(o.status,o.statusText):a(Be[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=n(),i=o.onerror=o.ontimeout=n("error"),void 0!==o.onabort?o.onabort=i:o.onreadystatechange=function(){4===o.readyState&&t.setTimeout(function(){n&&i()})},n=n("abort");try{o.send(e.hasContent&&e.data||null)}catch(r){if(n)throw r}},abort:function(){n&&n()}}}),ft.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),ft.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return ft.globalEval(t),t}}}),ft.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),ft.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=ft("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){n&&n()}}});var Ve,We=[],Ye=/(=)\?(?=&|$)|\?\?/;ft.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=We.pop()||ft.expando+"_"+_e.guid++;return this[t]=!0,t}}),ft.ajaxPrefilter("json jsonp",function(e,n,i){var r,a,s,o=!1!==e.jsonp&&(Ye.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ye.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=ct(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(Ye,"$1"+r):!1!==e.jsonp&&(e.url+=(Ee.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||ft.error(r+" was not called"),s[0]},e.dataTypes[0]="json",a=t[r],t[r]=function(){s=arguments},i.always(function(){void 0===a?ft(t).removeProp(r):t[r]=a,e[r]&&(e.jsonpCallback=n.jsonpCallback,We.push(r)),s&&ct(a)&&a(s[0]),s=a=void 0}),"script"}),lt.createHTMLDocument=((Ve=ht.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ve.childNodes.length),ft.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(lt.createHTMLDocument?((i=(e=ht.implementation.createHTMLDocument("")).createElement("base")).href=ht.location.href,e.head.appendChild(i)):e=ht),a=!n&&[],(r=bt.exec(t))?[e.createElement(r[1])]:(r=w([t],e,a),a&&a.length&&ft(a).remove(),ft.merge([],r.childNodes)));var i,r,a},ft.fn.load=function(t,e,n){var i,r,a,s=this,o=t.indexOf(" ");return-1<o&&(i=z(t.slice(o)),t=t.slice(0,o)),ct(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),0<s.length&&ft.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){a=arguments,s.html(i?ft("<div>").append(ft.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,a||[t.responseText,e,t])})}),this},ft.expr.pseudos.animated=function(t){return ft.grep(ft.timers,function(e){return t===e.elem}).length},ft.offset={setOffset:function(t,e,n){var i,r,a,s,o,l,c=ft.css(t,"position"),u=ft(t),h={};"static"===c&&(t.style.position="relative"),o=u.offset(),a=ft.css(t,"top"),l=ft.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(a+l).indexOf("auto")?(s=(i=u.position()).top,r=i.left):(s=parseFloat(a)||0,r=parseFloat(l)||0),ct(e)&&(e=e.call(t,n,ft.extend({},o))),null!=e.top&&(h.top=e.top-o.top+s),null!=e.left&&(h.left=e.left-o.left+r),"using"in e?e.using.call(t,h):("number"==typeof h.top&&(h.top+="px"),"number"==typeof h.left&&(h.left+="px"),u.css(h))}},ft.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ft.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===ft.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===ft.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=ft(t).offset()).top+=ft.css(t,"borderTopWidth",!0),r.left+=ft.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-ft.css(i,"marginTop",!0),left:e.left-r.left-ft.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===ft.css(t,"position");)t=t.offsetParent;return t||Rt})}}),ft.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;ft.fn[t]=function(i){return _t(this,function(t,i,r){var a;if(ut(t)?a=t:9===t.nodeType&&(a=t.defaultView),void 0===r)return a?a[e]:t[i];a?a.scrollTo(n?a.pageXOffset:r,n?r:a.pageYOffset):t[i]=r},t,i,arguments.length)}}),ft.each(["top","left"],function(t,e){ft.cssHooks[e]=M(lt.pixelPosition,function(t,n){if(n)return n=O(t,e),ne.test(n)?ft(t).position()[e]+"px":n})}),ft.each({Height:"height",Width:"width"},function(t,e){ft.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){ft.fn[i]=function(r,a){var s=arguments.length&&(n||"boolean"!=typeof r),o=n||(!0===r||!0===a?"margin":"border");return _t(this,function(e,n,r){var a;return ut(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(a=e.documentElement,Math.max(e.body["scroll"+t],a["scroll"+t],e.body["offset"+t],a["offset"+t],a["client"+t])):void 0===r?ft.css(e,n,o):ft.style(e,n,r,o)},e,s?r:void 0,s)}})}),ft.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ft.fn[e]=function(t){return this.on(e,t)}}),ft.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),ft.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){ft.fn[e]=function(t,n){return 0<arguments.length?this.on(e,null,t,n):this.trigger(e)}});var Ke=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;ft.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),ct(t))return i=Z.call(arguments,2),(r=function(){return t.apply(e||this,i.concat(Z.call(arguments)))}).guid=t.guid=t.guid||ft.guid++,r},ft.holdReady=function(t){t?ft.readyWait++:ft.ready(!0)},ft.isArray=Array.isArray,ft.parseJSON=JSON.parse,ft.nodeName=a,ft.isFunction=ct,ft.isWindow=ut,ft.camelCase=d,ft.type=i,ft.now=Date.now,ft.isNumeric=function(t){var e=ft.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},ft.trim=function(t){return null==t?"":(t+"").replace(Ke,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ft});var Xe=t.jQuery,Ge=t.$;return ft.noConflict=function(e){return t.$===ft&&(t.$=Ge),e&&t.jQuery===ft&&(t.jQuery=Xe),ft},void 0===e&&(t.jQuery=t.$=ft),ft}),function(t){"use strict";function e(t,e){if(this.createTextRange){var n=this.createTextRange();n.collapse(!0),n.moveStart("character",t),n.moveEnd("character",e-t),n.select()}else this.setSelectionRange&&(this.focus(),this.setSelectionRange(t,e))}function n(t){var e=this.value.length;if(t="start"==t.toLowerCase()?"Start":"End",document.selection){var n,i,r,a=document.selection.createRange();return n=a.duplicate(),n.expand("textedit"),n.setEndPoint("EndToEnd",a),i=n.text.length-a.text.length,r=i+a.text.length,"Start"==t?i:r}return void 0!==this["selection"+t]&&(e=this["selection"+t]),e}var i={codes:{46:127,188:44,109:45,190:46,191:47,192:96,220:92,222:39,221:93,219:91,173:45,187:61,186:59,189:45,110:46},shifts:{96:"~",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",48:")",45:"_",61:"+",91:"{",93:"}",92:"|",59:":",39:'"',44:"<",46:">",47:"?"}};t.fn.number=function(r,a,s,o){o=void 0===o?",":o,s=void 0===s?".":s,a=void 0===a?0:a;var l="\\u"+("0000"+s.charCodeAt(0).toString(16)).slice(-4),c=new RegExp("[^"+l+"0-9]","g"),u=new RegExp(l,"g");return!0===r?this.is("input:text")?this.on({"keydown.format":function(r){var l=t(this),c=l.data("numFormat"),u=r.keyCode?r.keyCode:r.which,h="",p=n.apply(this,["start"]),d=n.apply(this,["end"]),f="",m=!1;if(i.codes.hasOwnProperty(u)&&(u=i.codes[u]),!r.shiftKey&&u>=65&&90>=u?u+=32:!r.shiftKey&&u>=69&&105>=u?u-=48:r.shiftKey&&i.shifts.hasOwnProperty(u)&&(h=i.shifts[u]),""==h&&(h=String.fromCharCode(u)),8!=u&&45!=u&&127!=u&&h!=s&&!h.match(/[0-9]/)){var g=r.keyCode?r.keyCode:r.which;if(46==g||8==g||127==g||9==g||27==g||13==g||(65==g||82==g||80==g||83==g||70==g||72==g||66==g||74==g||84==g||90==g||61==g||173==g||48==g)&&!0===(r.ctrlKey||r.metaKey)||(86==g||67==g||88==g)&&!0===(r.ctrlKey||r.metaKey)||g>=35&&39>=g||g>=112&&123>=g)return;return r.preventDefault(),!1}if(0==p&&d==this.value.length?8==u?(p=d=1,this.value="",c.init=a>0?-1:0,c.c=a>0?-(a+1):0,e.apply(this,[0,0])):h==s?(p=d=1,this.value="0"+s+new Array(a+1).join("0"),c.init=a>0?1:0,c.c=a>0?-(a+1):0):45==u?(p=d=2,this.value="-0"+s+new Array(a+1).join("0"),c.init=a>0?1:0,c.c=a>0?-(a+1):0,e.apply(this,[2,2])):(c.init=a>0?-1:0,c.c=a>0?-a:0):c.c=d-this.value.length,c.isPartialSelection=p!=d,a>0&&h==s&&p==this.value.length-a-1)c.c++,c.init=Math.max(0,c.init),r.preventDefault(),m=this.value.length+c.c;else if(45!=u||0==p&&0!=this.value.indexOf("-"))if(h==s)c.init=Math.max(0,c.init),r.preventDefault();else if(a>0&&127==u&&p==this.value.length-a-1)r.preventDefault();else if(a>0&&8==u&&p==this.value.length-a)r.preventDefault(),c.c--,m=this.value.length+c.c;else if(a>0&&127==u&&p>this.value.length-a-1){if(""===this.value)return;"0"!=this.value.slice(p,p+1)&&(f=this.value.slice(0,p)+"0"+this.value.slice(p+1),l.val(f)),r.preventDefault(),m=this.value.length+c.c}else if(a>0&&8==u&&p>this.value.length-a){if(""===this.value)return;"0"!=this.value.slice(p-1,p)&&(f=this.value.slice(0,p-1)+"0"+this.value.slice(p),l.val(f)),r.preventDefault(),c.c--,m=this.value.length+c.c}else 127==u&&this.value.slice(p,p+1)==o?r.preventDefault():8==u&&this.value.slice(p-1,p)==o?(r.preventDefault(),c.c--,m=this.value.length+c.c):a>0&&p==d&&this.value.length>a+1&&p>this.value.length-a-1&&isFinite(+h)&&!r.metaKey&&!r.ctrlKey&&!r.altKey&&1===h.length&&(f=d===this.value.length?this.value.slice(0,p-1):this.value.slice(0,p)+this.value.slice(p+1),this.value=f,m=p);else r.preventDefault();!1!==m&&e.apply(this,[m,m]),l.data("numFormat",c)},"keyup.format":function(i){var r,s=t(this),o=s.data("numFormat"),l=i.keyCode?i.keyCode:i.which,c=n.apply(this,["start"]),u=n.apply(this,["end"]);0!==c||0!==u||189!==l&&109!==l||(s.val("-"+s.val()),c=1,o.c=1-this.value.length,o.init=1,s.data("numFormat",o),r=this.value.length+o.c,e.apply(this,[r,r])),""===this.value||(48>l||l>57)&&(96>l||l>105)&&8!==l&&46!==l&&110!==l||(s.val(s.val()),a>0&&(o.init<1?(c=this.value.length-a-(o.init<0?1:0),o.c=c-this.value.length,o.init=1,s.data("numFormat",o)):c>this.value.length-a&&8!=l&&(o.c++,s.data("numFormat",o))),46!=l||o.isPartialSelection||(o.c++,s.data("numFormat",o)),r=this.value.length+o.c,e.apply(this,[r,r]))},"paste.format":function(e){var n=t(this),i=e.originalEvent,r=null;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):i.clipboardData&&i.clipboardData.getData&&(r=i.clipboardData.getData("text/plain")),n.val(r),e.preventDefault(),!1}}).each(function(){var e=t(this).data("numFormat",{c:-(a+1),decimals:a,thousands_sep:o,dec_point:s,regex_dec_num:c,regex_dec:u,init:!!this.value.indexOf(".")});""!==this.value&&e.val(e.val())}):this.each(function(){var e=t(this),n=+e.text().replace(c,"").replace(u,".");e.number(isFinite(n)?+n:0,a,s,o)}):this.text(t.number.apply(window,arguments))};var r=null,a=null;t.isPlainObject(t.valHooks.text)?(t.isFunction(t.valHooks.text.get)&&(r=t.valHooks.text.get),t.isFunction(t.valHooks.text.set)&&(a=t.valHooks.text.set)):t.valHooks.text={},t.valHooks.text.get=function(e){var n,i=t(e),a=i.data("numFormat");return a?""===e.value?"":(n=+e.value.replace(a.regex_dec_num,"").replace(a.regex_dec,"."),(0===e.value.indexOf("-")?"-":"")+(isFinite(n)?n:0)):t.isFunction(r)?r(e):void 0},t.valHooks.text.set=function(e,n){var i=t(e),r=i.data("numFormat");if(r){var s=t.number(n,r.decimals,r.dec_point,r.thousands_sep);return t.isFunction(a)?a(e,s):e.value=s}return t.isFunction(a)?a(e,n):void 0},t.number=function(t,e,n,i){i=void 0===i?"1000"!==new Number(1e3).toLocaleString()?new Number(1e3).toLocaleString().charAt(1):"":i,n=void 0===n?new Number(.1).toLocaleString().charAt(1):n,e=isFinite(+e)?Math.abs(e):0;var r="\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4),a="\\u"+("0000"+i.charCodeAt(0).toString(16)).slice(-4);t=(t+"").replace(".",n).replace(new RegExp(a,"g"),"").replace(new RegExp(r,"g"),".").replace(new RegExp("[^0-9+-Ee.]","g"),"");var s=isFinite(+t)?+t:0,o="";return o=(e?function(t,e){return""+ +(Math.round((""+t).indexOf("e")>0?t:t+"e+"+e)+"e-"+e)}(s,e):""+Math.round(s)).split("."),o[0].length>3&&(o[0]=o[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(o[1]||"").length<e&&(o[1]=o[1]||"",o[1]+=new Array(e-o[1].length+1).join("0")),o.join(n)}}(jQuery),define("number",["jquery"],function(t){return function(){return t.number}}(this)),
  "undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var r=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(r,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof e&&r[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){s.detach().trigger("closed.bs.alert").remove()}var r=t(this),a=r.attr("data-target");a||(a=r.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,""));var s=t("#"===a?[]:a);e&&e.preventDefault(),s.length||(s=r.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var r=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.button"),a="object"==typeof e&&e;r||i.data("bs.button",r=new n(this,a)),"toggle"==e?r.toggle():e&&r.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.7",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",a=i.data();e+="Text",null==a.resetText&&i.data("resetText",i[r]()),setTimeout(t.proxy(function(){i[r](null==a[e]?this.options[e]:a[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.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")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target).closest(".btn");e.call(i,"toggle"),t(n.target).is('input[type="radio"], input[type="checkbox"]')||(n.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.carousel"),a=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),s="string"==typeof e?e:a.slide;r||i.data("bs.carousel",r=new n(this,a)),"number"==typeof e?r.to(e):s?r[s]():a.interval&&r.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i="prev"==t?-1:1,r=(n+i)%this.$items.length;return this.$items.eq(r)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,i){var r=this.$element.find(".item.active"),a=i||this.getItemForDirection(e,r),s=this.interval,o="next"==e?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var c=a[0],u=t.Event("slide.bs.carousel",{relatedTarget:c,direction:o});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=t(this.$indicators.children()[this.getItemIndex(a)]);h&&h.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:c,direction:o});return t.support.transition&&this.$element.hasClass("slide")?(a.addClass(e),a[0].offsetWidth,r.addClass(o),a.addClass(o),r.one("bsTransitionEnd",function(){a.removeClass([e,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(p)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(r.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(p)),s&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var r=function(n){var i,r=t(this),a=t(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var s=t.extend({},a.data(),r.data()),o=r.attr("data-slide-to");o&&(s.interval=!1),e.call(a,s),o&&a.data("bs.carousel").to(o),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),r=n.data("bs.collapse"),a=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!r&&a.toggle&&/show|hide/.test(e)&&(a.toggle=!1),r||n.data("bs.collapse",r=new i(this,a)),"string"==typeof e&&r[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.7",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"))&&e.transitioning)){var a=t.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),e||r.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return o.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[s](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return r.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var r=t(i);this.addAriaAndCollapsedClass(e(r),r)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var r=t(this);r.attr("data-target")||i.preventDefault();var a=e(r),s=a.data("bs.collapse"),o=s?"toggle":r.data();n.call(a,o)})}(jQuery),function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(r).remove(),t(a).each(function(){var i=t(this),r=e(i),a={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(r[0],n.target)||(r.trigger(n=t.Event("hide.bs.dropdown",a)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger(t.Event("hidden.bs.dropdown",a)))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new s(this)),"string"==typeof e&&i[e].call(n)})}var r=".dropdown-backdrop",a='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.7",s.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var a=e(r),s=a.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var o={relatedTarget:this};if(a.trigger(i=t.Event("show.bs.dropdown",o)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger(t.Event("shown.bs.dropdown",o))}return!1}},s.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var r=e(i),s=r.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&r.find(a).trigger("focus"),i.trigger("click");var o=r.find(".dropdown-menu li:not(.disabled):visible a");if(o.length){var l=o.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<o.length-1&&l++,~l||(l=0),o.eq(l).trigger("focus")}}}};var o=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=o,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",a,s.prototype.toggle).on("keydown.bs.dropdown.data-api",a,s.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",s.prototype.keydown)}(jQuery),function(t){"use strict";function e(e,i){return this.each(function(){var r=t(this),a=r.data("bs.modal"),s=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e);a||r.data("bs.modal",a=new n(this,s)),"string"==typeof e?a[e](i):s.show&&a.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),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,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,r=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(r),this.isShown||r.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"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var r=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),r&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var a=t.Event("shown.bs.modal",{relatedTarget:e});r?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(a)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(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"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=t.support.transition&&r;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){if(this.ignoreBackdropClick)return void(this.ignoreBackdropClick=!1);t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;a?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):s()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),r=i.attr("href"),a=t(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=a.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},a.data(),i.data());i.is("a")&&n.preventDefault(),a.one("show.bs.modal",function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(a,s,this)})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tooltip"),a="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||i.data("bs.tooltip",r=new n(this,a)),"string"==typeof e&&r[e]())})}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.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}},n.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.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(var r=this.options.trigger.split(" "),a=r.length;a--;){var s=r[a];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var o="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(o+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var r=this,a=this.tip(),s=this.getUID(this.type);this.setContent(),a.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&a.addClass("fade");var o="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(o);c&&(o=o.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),h=a[0].offsetWidth,p=a[0].offsetHeight;if(c){var d=o,f=this.getPosition(this.$viewport);o="bottom"==o&&u.bottom+p>f.bottom?"top":"top"==o&&u.top-p<f.top?"bottom":"right"==o&&u.right+h>f.width?"left":"left"==o&&u.left-h<f.left?"right":o,a.removeClass(d).addClass(o)}var m=this.getCalculatedOffset(o,u,h,p);this.applyPlacement(m,o);var g=function(){var t=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==t&&r.leave(r)};t.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),r=i[0].offsetWidth,a=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),o=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(o)&&(o=0),e.top+=s,e.left+=o,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,c=i[0].offsetHeight;"top"==n&&c!=a&&(e.top=e.top+a-c);var u=this.getViewportAdjustedDelta(n,e,l,c);u.left?e.left+=u.left:e.top+=u.top;var h=/top|bottom/.test(n),p=h?2*u.left-r+l:2*u.top-a+c,d=h?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(p,i[0][d],h)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function i(){"in"!=r.hoverState&&a.detach(),r.$element&&r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),e&&e()}var r=this,a=t(this.$tip),s=t.Event("hide.bs."+this.type);if(this.$element.trigger(s),!s.isDefaultPrevented())return a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var a=window.SVGElement&&n instanceof window.SVGElement,s=i?{top:0,left:0}:a?null:e.offset(),o={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},r,o,l,s)},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var a=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var o=e.top-a-s.scroll,l=e.top+a-s.scroll+i;o<s.top?r.top=s.top-o:l>s.top+s.height&&(r.top=s.top+s.height-l)}else{var c=e.left-a,u=e.left+a+n;c<s.left?r.left=s.left-c:u>s.right&&(r.left=s.left+s.width-u)}return r},n.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},n.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(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},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.popover"),a="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||i.data("bs.popover",r=new n(this,a)),"string"==typeof e&&r[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.7",n.DEFAULTS=t.extend({},t.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>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),r=i.data("bs.scrollspy"),a="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,a)),"string"==typeof n&&r[n]()})}e.VERSION="3.3.7",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),r=e.data("target")||e.attr("href"),a=/^#./.test(r)&&t(r);return a&&a.length&&a.is(":visible")&&[[a[n]().top+i,r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,a=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=a[a.length-1])&&this.activate(t);if(s&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)s!=a[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(a[t])},e.prototype.activate=function(e){
  this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new n(this)),"string"==typeof e&&r[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a"),a=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(a),e.trigger(s),!s.isDefaultPrevented()&&!a.isDefaultPrevented()){var o=t(i);this.activate(e.closest("li"),n),this.activate(o,o.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},n.prototype.activate=function(e,i,r){function a(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),o?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var s=i.find("> .active"),o=r&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);s.length&&o?s.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),s.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var r=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.affix"),a="object"==typeof e&&e;r||i.data("bs.affix",r=new n(this,a)),"string"==typeof e&&r[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.7",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var r=this.$target.scrollTop(),a=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return r<n&&"top";if("bottom"==this.affixed)return null!=n?!(r+this.unpin<=a.top)&&"bottom":!(r+s<=t-i)&&"bottom";var o=null==this.affixed,l=o?r:a.top,c=o?s:e;return null!=n&&r<=n?"top":null!=i&&l+c>=t-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,r=i.top,a=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(a=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof a&&(a=i.bottom(this.$element));var o=this.getState(s,e,r,a);if(this.affixed!=o){null!=this.unpin&&this.$element.css("top","");var l="affix"+(o?"-"+o:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=o,this.unpin="bottom"==o?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==o&&this.$element.offset({top:s-e-a})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),define("bootstrap",["jquery"],function(t){return function(){return t.bootstrap}}(this)),function(t){"function"==typeof define&&define.amd?define("datepicker",["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t,e){function n(){return new Date(Date.UTC.apply(Date,arguments))}function i(){var t=new Date;return n(t.getFullYear(),t.getMonth(),t.getDate())}function r(t,e){return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t.getUTCDate()===e.getUTCDate()}function a(n,i){return function(){return i!==e&&t.fn.datepicker.deprecated(i),this[n].apply(this,arguments)}}function s(t){return t&&!isNaN(t.getTime())}function o(e,n){function i(t,e){return e.toLowerCase()}var r,a=t(e).data(),s={},o=new RegExp("^"+n.toLowerCase()+"([A-Z])");n=new RegExp("^"+n.toLowerCase());for(var l in a)n.test(l)&&(r=l.replace(o,i),s[r]=a[l]);return s}function l(e){var n={};if(g[e]||(e=e.split("-")[0],g[e])){var i=g[e];return t.each(m,function(t,e){e in i&&(n[e]=i[e])}),n}}var c=function(){var e={get:function(t){return this.slice(t)[0]},contains:function(t){for(var e=t&&t.valueOf(),n=0,i=this.length;n<i;n++)if(0<=this[n].valueOf()-e&&this[n].valueOf()-e<864e5)return n;return-1},remove:function(t){this.splice(t,1)},replace:function(e){e&&(t.isArray(e)||(e=[e]),this.clear(),this.push.apply(this,e))},clear:function(){this.length=0},copy:function(){var t=new c;return t.replace(this),t}};return function(){var n=[];return n.push.apply(n,arguments),t.extend(n,e),n}}(),u=function(e,n){t.data(e,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(n),this.dates=new c,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=t(e),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=t(v.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.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(t,e){return Number(e)+1}),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()};u.prototype={constructor:u,_resolveViewName:function(e){return t.each(v.viewModes,function(n,i){if(e===n||-1!==t.inArray(e,i.names))return e=n,!1}),e},_resolveDaysOfWeek:function(e){return t.isArray(e)||(e=e.split(/[,\s]*/)),t.map(e,Number)},_check_template:function(n){try{return n!==e&&""!==n&&((n.match(/[<>]/g)||[]).length<=0||t(n).length>0)}catch(t){return!1}},_process_options:function(e){this._o=t.extend({},this._o,e);var r=this.o=t.extend({},this._o),a=r.language;g[a]||(a=a.split("-")[0],g[a]||(a=f.language)),r.language=a,r.startView=this._resolveViewName(r.startView),r.minViewMode=this._resolveViewName(r.minViewMode),r.maxViewMode=this._resolveViewName(r.maxViewMode),r.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,r.startView)),!0!==r.multidate&&(r.multidate=Number(r.multidate)||!1,!1!==r.multidate&&(r.multidate=Math.max(0,r.multidate))),r.multidateSeparator=String(r.multidateSeparator),r.weekStart%=7,r.weekEnd=(r.weekStart+6)%7;var s=v.parseFormat(r.format);r.startDate!==-1/0&&(r.startDate?r.startDate instanceof Date?r.startDate=this._local_to_utc(this._zero_time(r.startDate)):r.startDate=v.parseDate(r.startDate,s,r.language,r.assumeNearbyYear):r.startDate=-1/0),r.endDate!==1/0&&(r.endDate?r.endDate instanceof Date?r.endDate=this._local_to_utc(this._zero_time(r.endDate)):r.endDate=v.parseDate(r.endDate,s,r.language,r.assumeNearbyYear):r.endDate=1/0),r.daysOfWeekDisabled=this._resolveDaysOfWeek(r.daysOfWeekDisabled||[]),r.daysOfWeekHighlighted=this._resolveDaysOfWeek(r.daysOfWeekHighlighted||[]),r.datesDisabled=r.datesDisabled||[],t.isArray(r.datesDisabled)||(r.datesDisabled=r.datesDisabled.split(",")),r.datesDisabled=t.map(r.datesDisabled,function(t){return v.parseDate(t,s,r.language,r.assumeNearbyYear)});var o=String(r.orientation).toLowerCase().split(/\s+/g),l=r.orientation.toLowerCase();if(o=t.grep(o,function(t){return/^auto|left|right|top|bottom$/.test(t)}),r.orientation={x:"auto",y:"auto"},l&&"auto"!==l)if(1===o.length)switch(o[0]){case"top":case"bottom":r.orientation.y=o[0];break;case"left":case"right":r.orientation.x=o[0]}else l=t.grep(o,function(t){return/^left|right$/.test(t)}),r.orientation.x=l[0]||"auto",l=t.grep(o,function(t){return/^top|bottom$/.test(t)}),r.orientation.y=l[0]||"auto";if(r.defaultViewDate instanceof Date||"string"==typeof r.defaultViewDate)r.defaultViewDate=v.parseDate(r.defaultViewDate,s,r.language,r.assumeNearbyYear);else if(r.defaultViewDate){var c=r.defaultViewDate.year||(new Date).getFullYear(),u=r.defaultViewDate.month||0,h=r.defaultViewDate.day||1;r.defaultViewDate=n(c,u,h)}else r.defaultViewDate=i()},_applyEvents:function(t){for(var n,i,r,a=0;a<t.length;a++)n=t[a][0],2===t[a].length?(i=e,r=t[a][1]):3===t[a].length&&(i=t[a][1],r=t[a][2]),n.on(r,i)},_unapplyEvents:function(t){for(var n,i,r,a=0;a<t.length;a++)n=t[a][0],2===t[a].length?(r=e,i=t[a][1]):3===t[a].length&&(r=t[a][1],i=t[a][2]),n.off(i,r)},_buildEvents:function(){var e={keyup:t.proxy(function(e){-1===t.inArray(e.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:t.proxy(this.keydown,this),paste:t.proxy(this.paste,this)};!0===this.o.showOnFocus&&(e.focus=t.proxy(this.show,this)),this.isInput?this._events=[[this.element,e]]:this.component&&this.inputField.length?this._events=[[this.inputField,e],[this.component,{click:t.proxy(this.show,this)}]]:this._events=[[this.element,{click:t.proxy(this.show,this),keydown:t.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:t.proxy(function(t){this._focused_from=t.target},this)}],[this.element,{blur:t.proxy(function(t){this._focused_from=t.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":t.proxy(function(t){this.update(t.date)},this)}]),this._secondaryEvents=[[this.picker,{click:t.proxy(this.click,this)}],[this.picker,".prev, .next",{click:t.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:t.proxy(this.dayCellClick,this)}],[t(window),{resize:t.proxy(this.place,this)}],[t(document),{"mousedown touchstart":t.proxy(function(t){this.element.is(t.target)||this.element.find(t.target).length||this.picker.is(t.target)||this.picker.find(t.target).length||this.isInline||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(e,n){var i=n||this.dates.get(-1),r=this._utc_to_local(i);this.element.trigger({type:e,date:r,viewMode:this.viewMode,dates:t.map(this.dates,this._utc_to_local),format:t.proxy(function(t,e){0===arguments.length?(t=this.dates.length-1,e=this.o.format):"string"==typeof t&&(e=t,t=this.dates.length-1),e=e||this.o.format;var n=this.dates.get(t);return v.formatDate(n,e,this.o.language)},this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly))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&&t(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide"),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(e){var n;if(e.originalEvent.clipboardData&&e.originalEvent.clipboardData.types&&-1!==t.inArray("text/plain",e.originalEvent.clipboardData.types))n=e.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;n=window.clipboardData.getData("Text")}this.setDate(n),this.update(),e.preventDefault()},_utc_to_local:function(t){if(!t)return t;var e=new Date(t.getTime()+6e4*t.getTimezoneOffset());return e.getTimezoneOffset()!==t.getTimezoneOffset()&&(e=new Date(t.getTime()+6e4*e.getTimezoneOffset())),e},_local_to_utc:function(t){return t&&new Date(t.getTime()-6e4*t.getTimezoneOffset())},_zero_time:function(t){return t&&new Date(t.getFullYear(),t.getMonth(),t.getDate())},_zero_utc_time:function(t){return t&&n(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())},getDates:function(){return t.map(this.dates,this._utc_to_local)},getUTCDates:function(){return t.map(this.dates,function(t){return new Date(t)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var t=this.dates.get(-1);return t!==e?new Date(t):null},clearDates:function(){this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var e=t.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,e),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var e=t.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,t.map(e,this._utc_to_local)),this},setDate:a("setDates"),setUTCDate:a("setUTCDates"),remove:a("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var t=this.getFormattedDate();return this.inputField.val(t),this},getFormattedDate:function(n){n===e&&(n=this.o.format);var i=this.o.language;return t.map(this.dates,function(t){return v.formatDate(t,n,i)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(t){return this._process_options({startDate:t}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(t){return this._process_options({endDate:t}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(t){return this._process_options({daysOfWeekDisabled:t}),this.update(),this},setDaysOfWeekHighlighted:function(t){return this._process_options({daysOfWeekHighlighted:t}),this.update(),this},setDatesDisabled:function(t){return this._process_options({datesDisabled:t}),this.update(),this},place:function(){if(this.isInline)return this;var e=this.picker.outerWidth(),n=this.picker.outerHeight(),i=t(this.o.container),r=i.width(),a="body"===this.o.container?t(document).scrollTop():i.scrollTop(),s=i.offset(),o=[0];this.element.parents().each(function(){var e=t(this).css("z-index");"auto"!==e&&0!==Number(e)&&o.push(Number(e))});var l=Math.max.apply(Math,o)+this.o.zIndexOffset,c=this.component?this.component.parent().offset():this.element.offset(),u=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),h=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),p=c.left-s.left,d=c.top-s.top;"body"!==this.o.container&&(d+=a),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&&(p-=e-h)):c.left<0?(this.picker.addClass("datepicker-orient-left"),p-=c.left-10):p+e>r?(this.picker.addClass("datepicker-orient-right"),p+=h-e):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var f,m=this.o.orientation.y;if("auto"===m&&(f=-a+d-n,m=f<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+m),"top"===m?d-=n+parseInt(this.picker.css("padding-top")):d+=u,this.o.rtl){var g=r-(p+h);this.picker.css({top:d,right:g,zIndex:l})}else this.picker.css({top:d,left:p,zIndex:l});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var e=this.dates.copy(),n=[],i=!1;return arguments.length?(t.each(arguments,t.proxy(function(t,e){e instanceof Date&&(e=this._local_to_utc(e)),n.push(e)},this)),i=!0):(n=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),n=n&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=t.map(n,t.proxy(function(t){return v.parseDate(t,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),n=t.grep(n,t.proxy(function(t){return!this.dateWithinRange(t)||!t},this),!0),this.dates.replace(n),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),i?(this.setValue(),this.element.change()):this.dates.length&&String(e)!==String(this.dates)&&i&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&e.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var e=this.o.weekStart,n="<tr>";for(this.o.calendarWeeks&&(n+='<th class="cw">&#160;</th>');e<this.o.weekStart+7;)n+='<th class="dow',-1!==t.inArray(e,this.o.daysOfWeekDisabled)&&(n+=" disabled"),n+='">'+g[this.o.language].daysMin[e++%7]+"</th>";n+="</tr>",this.picker.find(".datepicker-days thead").append(n)}},fillMonths:function(){for(var t,e=this._utc_to_local(this.viewDate),n="",i=0;i<12;i++)t=e&&e.getMonth()===i?" focused":"",n+='<span class="month'+t+'">'+g[this.o.language].monthsShort[i]+"</span>";this.picker.find(".datepicker-months td").html(n)},setRange:function(e){e&&e.length?this.range=t.map(e,function(t){return t.valueOf()}):delete this.range,this.fill()},getClassNames:function(e){var n=[],a=this.viewDate.getUTCFullYear(),s=this.viewDate.getUTCMonth(),o=i();return e.getUTCFullYear()<a||e.getUTCFullYear()===a&&e.getUTCMonth()<s?n.push("old"):(e.getUTCFullYear()>a||e.getUTCFullYear()===a&&e.getUTCMonth()>s)&&n.push("new"),this.focusDate&&e.valueOf()===this.focusDate.valueOf()&&n.push("focused"),this.o.todayHighlight&&r(e,o)&&n.push("today"),-1!==this.dates.contains(e)&&n.push("active"),this.dateWithinRange(e)||n.push("disabled"),this.dateIsDisabled(e)&&n.push("disabled","disabled-date"),-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)&&n.push("highlighted"),this.range&&(e>this.range[0]&&e<this.range[this.range.length-1]&&n.push("range"),-1!==t.inArray(e.valueOf(),this.range)&&n.push("selected"),e.valueOf()===this.range[0]&&n.push("range-start"),e.valueOf()===this.range[this.range.length-1]&&n.push("range-end")),n},_fill_yearsView:function(n,i,r,a,s,o,l){for(var c,u,h,p="",d=r/10,f=this.picker.find(n),m=Math.floor(a/r)*r,g=m+9*d,v=Math.floor(this.viewDate.getFullYear()/d)*d,y=t.map(this.dates,function(t){return Math.floor(t.getUTCFullYear()/d)*d}),b=m-d;b<=g+d;b+=d)c=[i],u=null,b===m-d?c.push("old"):b===g+d&&c.push("new"),-1!==t.inArray(b,y)&&c.push("active"),(b<s||b>o)&&c.push("disabled"),b===v&&c.push("focused"),l!==t.noop&&(h=l(new Date(b,0,1)),h===e?h={}:"boolean"==typeof h?h={enabled:h}:"string"==typeof h&&(h={classes:h}),!1===h.enabled&&c.push("disabled"),h.classes&&(c=c.concat(h.classes.split(/\s+/))),h.tooltip&&(u=h.tooltip)),p+='<span class="'+c.join(" ")+'"'+(u?' title="'+u+'"':"")+">"+b+"</span>";f.find(".datepicker-switch").text(m+"-"+g),f.find("td").html(p)},fill:function(){var r,a,s=new Date(this.viewDate),o=s.getUTCFullYear(),l=s.getUTCMonth(),c=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,u=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,p=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,d=g[this.o.language].today||g.en.today||"",f=g[this.o.language].clear||g.en.clear||"",m=g[this.o.language].titleFormat||g.en.titleFormat,y=i(),b=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&y>=this.o.startDate&&y<=this.o.endDate&&!this.weekOfDateIsDisabled(y);if(!isNaN(o)&&!isNaN(l)){this.picker.find(".datepicker-days .datepicker-switch").text(v.formatDate(s,m,this.o.language)),this.picker.find("tfoot .today").text(d).css("display",b?"table-cell":"none"),this.picker.find("tfoot .clear").text(f).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var w=n(o,l,0),k=w.getUTCDate();w.setUTCDate(k-(w.getUTCDay()-this.o.weekStart+7)%7);var x=new Date(w);w.getUTCFullYear()<100&&x.setUTCFullYear(w.getUTCFullYear()),x.setUTCDate(x.getUTCDate()+42),x=x.valueOf();for(var D,C,S=[];w.valueOf()<x;){if((D=w.getUTCDay())===this.o.weekStart&&(S.push("<tr>"),this.o.calendarWeeks)){var T=new Date(+w+(this.o.weekStart-D-7)%7*864e5),_=new Date(Number(T)+(11-T.getUTCDay())%7*864e5),E=new Date(Number(E=n(_.getUTCFullYear(),0,1))+(11-E.getUTCDay())%7*864e5),P=(_-E)/864e5/7+1;S.push('<td class="cw">'+P+"</td>")}C=this.getClassNames(w),C.push("day");var A=w.getUTCDate();this.o.beforeShowDay!==t.noop&&(a=this.o.beforeShowDay(this._utc_to_local(w)),a===e?a={}:"boolean"==typeof a?a={enabled:a}:"string"==typeof a&&(a={classes:a}),!1===a.enabled&&C.push("disabled"),a.classes&&(C=C.concat(a.classes.split(/\s+/))),a.tooltip&&(r=a.tooltip),a.content&&(A=a.content)),C=t.isFunction(t.uniqueSort)?t.uniqueSort(C):t.unique(C),S.push('<td class="'+C.join(" ")+'"'+(r?' title="'+r+'"':"")+' data-date="'+w.getTime().toString()+'">'+A+"</td>"),r=null,D===this.o.weekEnd&&S.push("</tr>"),w.setUTCDate(w.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(S.join(""));var N=g[this.o.language].monthsTitle||g.en.monthsTitle||"Months",O=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?N:o).end().find("tbody span").removeClass("active");if(t.each(this.dates,function(t,e){e.getUTCFullYear()===o&&O.eq(e.getUTCMonth()).addClass("active")}),(o<c||o>h)&&O.addClass("disabled"),o===c&&O.slice(0,u).addClass("disabled"),o===h&&O.slice(p+1).addClass("disabled"),this.o.beforeShowMonth!==t.noop){var M=this;t.each(O,function(n,i){var r=new Date(o,n,1),a=M.o.beforeShowMonth(r);a===e?a={}:"boolean"==typeof a?a={enabled:a}:"string"==typeof a&&(a={classes:a}),!1!==a.enabled||t(i).hasClass("disabled")||t(i).addClass("disabled"),a.classes&&t(i).addClass(a.classes),a.tooltip&&t(i).prop("title",a.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,o,c,h,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,o,c,h,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,o,c,h,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var t,e,n=new Date(this.viewDate),i=n.getUTCFullYear(),r=n.getUTCMonth(),a=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,s=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,o=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,c=1;switch(this.viewMode){case 4:c*=10;case 3:c*=10;case 2:c*=10;case 1:t=Math.floor(i/c)*c<=a,e=Math.floor(i/c)*c+c>o;break;case 0:t=i<=a&&r<=s,e=i>=o&&r>=l}this.picker.find(".prev").toggleClass("disabled",t),this.picker.find(".next").toggleClass("disabled",e)}},click:function(e){e.preventDefault(),e.stopPropagation();var r,a,s,o;r=t(e.target),r.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),r.hasClass("today")&&!r.hasClass("day")&&(this.setViewMode(0),this._setDate(i(),"linked"===this.o.todayBtn?null:"view")),r.hasClass("clear")&&this.clearDates(),r.hasClass("disabled")||(r.hasClass("month")||r.hasClass("year")||r.hasClass("decade")||r.hasClass("century"))&&(this.viewDate.setUTCDate(1),a=1,1===this.viewMode?(o=r.parent().find("span").index(r),s=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(o)):(o=0,s=Number(r.text()),this.viewDate.setUTCFullYear(s)),this._trigger(v.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(n(s,o,a)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(e){var n=t(e.currentTarget),i=n.data("date"),r=new Date(i);this.o.updateViewDate&&(r.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),r.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(r)},navArrowsClick:function(e){var n=t(e.currentTarget),i=n.hasClass("prev")?-1:1;0!==this.viewMode&&(i*=12*v.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,i),this._trigger(v.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(t){var e=this.dates.contains(t);if(t||this.dates.clear(),-1!==e?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(e):!1===this.o.multidate?(this.dates.clear(),this.dates.push(t)):this.dates.push(t),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(t,e){e&&"date"!==e||this._toggle_multidate(t&&new Date(t)),(!e&&this.o.updateViewDate||"view"===e)&&(this.viewDate=t&&new Date(t)),this.fill(),this.setValue(),e&&"view"===e||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||e&&"date"!==e||this.hide()},moveDay:function(t,e){var n=new Date(t);return n.setUTCDate(t.getUTCDate()+e),n},moveWeek:function(t,e){return this.moveDay(t,7*e)},moveMonth:function(t,e){if(!s(t))return this.o.defaultViewDate;if(!e)return t;var n,i,r=new Date(t.valueOf()),a=r.getUTCDate(),o=r.getUTCMonth(),l=Math.abs(e);if(e=e>0?1:-1,1===l)i=-1===e?function(){return r.getUTCMonth()===o}:function(){return r.getUTCMonth()!==n},n=o+e,r.setUTCMonth(n),n=(n+12)%12;else{for(var c=0;c<l;c++)r=this.moveMonth(r,e);n=r.getUTCMonth(),r.setUTCDate(a),i=function(){return n!==r.getUTCMonth()}}for(;i();)r.setUTCDate(--a),r.setUTCMonth(n);return r},moveYear:function(t,e){return this.moveMonth(t,12*e)},moveAvailableDate:function(t,e,n){do{if(t=this[n](t,e),!this.dateWithinRange(t))return!1;n="moveDay"}while(this.dateIsDisabled(t));return t},weekOfDateIsDisabled:function(e){return-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(e){return this.weekOfDateIsDisabled(e)||t.grep(this.o.datesDisabled,function(t){return r(e,t)}).length>0},dateWithinRange:function(t){return t>=this.o.startDate&&t<=this.o.endDate},keydown:function(t){if(!this.picker.is(":visible"))return void(40!==t.keyCode&&27!==t.keyCode||(this.show(),t.stopPropagation()));var e,n,i=!1,r=this.focusDate||this.viewDate;switch(t.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),t.preventDefault(),t.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;e=37===t.keyCode||38===t.keyCode?-1:1,0===this.viewMode?t.ctrlKey?(n=this.moveAvailableDate(r,e,"moveYear"))&&this._trigger("changeYear",this.viewDate):t.shiftKey?(n=this.moveAvailableDate(r,e,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===t.keyCode||39===t.keyCode?n=this.moveAvailableDate(r,e,"moveDay"):this.weekOfDateIsDisabled(r)||(n=this.moveAvailableDate(r,e,"moveWeek")):1===this.viewMode?(38!==t.keyCode&&40!==t.keyCode||(e*=4),n=this.moveAvailableDate(r,e,"moveMonth")):2===this.viewMode&&(38!==t.keyCode&&40!==t.keyCode||(e*=4),n=this.moveAvailableDate(r,e,"moveYear")),n&&(this.focusDate=this.viewDate=n,this.setValue(),this.fill(),t.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),i=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(t.preventDefault(),t.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}i&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(t){this.viewMode=t,this.picker.children("div").hide().filter(".datepicker-"+v.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var h=function(e,n){t.data(e,"datepicker",this),this.element=t(e),this.inputs=t.map(n.inputs,function(t){return t.jquery?t[0]:t}),delete n.inputs,this.keepEmptyValues=n.keepEmptyValues,delete n.keepEmptyValues,d.call(t(this.inputs),n).on("changeDate",t.proxy(this.dateUpdated,this)),this.pickers=t.map(this.inputs,function(e){return t.data(e,"datepicker")}),this.updateDates()};h.prototype={updateDates:function(){this.dates=t.map(this.pickers,function(t){return t.getUTCDate()}),this.updateRanges()},updateRanges:function(){var e=t.map(this.dates,function(t){return t.valueOf()});t.each(this.pickers,function(t,n){n.setRange(e)})},clearDates:function(){t.each(this.pickers,function(t,e){e.clearDates()})},dateUpdated:function(n){if(!this.updating){this.updating=!0;var i=t.data(n.target,"datepicker");if(i!==e){var r=i.getUTCDate(),a=this.keepEmptyValues,s=t.inArray(n.target,this.inputs),o=s-1,l=s+1,c=this.inputs.length;if(-1!==s){if(t.each(this.pickers,function(t,e){e.getUTCDate()||e!==i&&a||e.setUTCDate(r)}),r<this.dates[o])for(;o>=0&&r<this.dates[o];)this.pickers[o--].setUTCDate(r);else if(r>this.dates[l])for(;l<c&&r>this.dates[l];)this.pickers[l++].setUTCDate(r);this.updateDates(),delete this.updating}}}},destroy:function(){t.map(this.pickers,function(t){t.destroy()}),t(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:a("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")}
  ;var p=t.fn.datepicker,d=function(n){var i=Array.apply(null,arguments);i.shift();var r;if(this.each(function(){var e=t(this),a=e.data("datepicker"),s="object"==typeof n&&n;if(!a){var c=o(this,"date"),p=t.extend({},f,c,s),d=l(p.language),m=t.extend({},f,d,c,s);e.hasClass("input-daterange")||m.inputs?(t.extend(m,{inputs:m.inputs||e.find("input").toArray()}),a=new h(this,m)):a=new u(this,m),e.data("datepicker",a)}"string"==typeof n&&"function"==typeof a[n]&&(r=a[n].apply(a,i))}),r===e||r instanceof u||r instanceof h)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+n+" function)");return r};t.fn.datepicker=d;var f=t.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:t.noop,beforeShowMonth:t.noop,beforeShowYear:t.noop,beforeShowDecade:t.noop,beforeShowCentury:t.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&#x00AB;",rightArrow:"&#x00BB;"},showWeekDays:!0},m=t.fn.datepicker.locale_opts=["format","rtl","weekStart"];t.fn.datepicker.Constructor=u;var g=t.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"}},v={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(t){if("function"==typeof t.toValue&&"function"==typeof t.toDisplay)return t;var e=t.replace(this.validParts,"\0").split("\0"),n=t.match(this.validParts);if(!e||!e.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:e,parts:n}},parseDate:function(n,r,a,s){function o(t,e){return!0===e&&(e=10),t<100&&(t+=2e3)>(new Date).getFullYear()+e&&(t-=100),t}function l(){var t=this.slice(0,c[d].length),e=c[d].slice(0,t.length);return t.toLowerCase()===e.toLowerCase()}if(!n)return e;if(n instanceof Date)return n;if("string"==typeof r&&(r=v.parseFormat(r)),r.toValue)return r.toValue(n,r,a);var c,h,p,d,f,m={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},y={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(n in y&&(n=y[n]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(n)){for(c=n.match(/([\-+]\d+)([dmwy])/gi),n=new Date,d=0;d<c.length;d++)h=c[d].match(/([\-+]\d+)([dmwy])/i),p=Number(h[1]),f=m[h[2].toLowerCase()],n=u.prototype[f](n,p);return u.prototype._zero_utc_time(n)}c=n&&n.match(this.nonpunctuation)||[];var b,w,k={},x=["yyyy","yy","M","MM","m","mm","d","dd"],D={yyyy:function(t,e){return t.setUTCFullYear(s?o(e,s):e)},m:function(t,e){if(isNaN(t))return t;for(e-=1;e<0;)e+=12;for(e%=12,t.setUTCMonth(e);t.getUTCMonth()!==e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}};D.yy=D.yyyy,D.M=D.MM=D.mm=D.m,D.dd=D.d,n=i();var C=r.parts.slice();if(c.length!==C.length&&(C=t(C).filter(function(e,n){return-1!==t.inArray(n,x)}).toArray()),c.length===C.length){var S;for(d=0,S=C.length;d<S;d++){if(b=parseInt(c[d],10),h=C[d],isNaN(b))switch(h){case"MM":w=t(g[a].months).filter(l),b=t.inArray(w[0],g[a].months)+1;break;case"M":w=t(g[a].monthsShort).filter(l),b=t.inArray(w[0],g[a].monthsShort)+1}k[h]=b}var T,_;for(d=0;d<x.length;d++)(_=x[d])in k&&!isNaN(k[_])&&(T=new Date(n),D[_](T,k[_]),isNaN(T)||(n=T))}return n},formatDate:function(e,n,i){if(!e)return"";if("string"==typeof n&&(n=v.parseFormat(n)),n.toDisplay)return n.toDisplay(e,n,i);var r={d:e.getUTCDate(),D:g[i].daysShort[e.getUTCDay()],DD:g[i].days[e.getUTCDay()],m:e.getUTCMonth()+1,M:g[i].monthsShort[e.getUTCMonth()],MM:g[i].months[e.getUTCMonth()],yy:e.getUTCFullYear().toString().substring(2),yyyy:e.getUTCFullYear()};r.dd=(r.d<10?"0":"")+r.d,r.mm=(r.m<10?"0":"")+r.m,e=[];for(var a=t.extend([],n.separators),s=0,o=n.parts.length;s<=o;s++)a.length&&e.push(a.shift()),e.push(r[n.parts[s]]);return e.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+f.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+f.templates.rightArrow+"</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>'};v.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+v.headTemplate+"<tbody></tbody>"+v.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+v.headTemplate+v.contTemplate+v.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+v.headTemplate+v.contTemplate+v.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+v.headTemplate+v.contTemplate+v.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+v.headTemplate+v.contTemplate+v.footTemplate+"</table></div></div>",t.fn.datepicker.DPGlobal=v,t.fn.datepicker.noConflict=function(){return t.fn.datepicker=p,this},t.fn.datepicker.version="1.9.0",t.fn.datepicker.deprecated=function(t){var e=window.console;e&&e.warn&&e.warn("DEPRECATED: "+t)},t(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(e){var n=t(this);n.data("datepicker")||(e.preventDefault(),d.call(n,"show"))}),t(function(){d.call(t('[data-provide="datepicker-inline"]'))})}),define("handlebars/utils",["exports"],function(t){"use strict";function e(t){return c[t]}function n(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function i(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1}function r(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return h.test(t)?t.replace(u,e):t}function a(t){return!t&&0!==t||!(!f(t)||0!==t.length)}function s(t){var e=n({},t);return e._parent=t,e}function o(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}t.__esModule=!0,t.extend=n,t.indexOf=i,t.escapeExpression=r,t.isEmpty=a,t.createFrame=s,t.blockParams=o,t.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},u=/[&<>"'`=]/g,h=/[&<>"'`=]/,p=Object.prototype.toString;t.toString=p;var d=function(t){return"function"==typeof t};d(/x/)&&(t.isFunction=d=function(t){return"function"==typeof t&&"[object Function]"===p.call(t)}),t.isFunction=d;var f=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===p.call(t)};t.isArray=f}),define("handlebars/exception",["exports","module"],function(t,e){"use strict";function n(t,e){var r=e&&e.loc,a=void 0,s=void 0,o=void 0,l=void 0;r&&(a=r.start.line,s=r.end.line,o=r.start.column,l=r.end.column,t+=" - "+a+":"+o);for(var c=Error.prototype.constructor.call(this,t),u=0;u<i.length;u++)this[i[u]]=c[i[u]];Error.captureStackTrace&&Error.captureStackTrace(this,n);try{r&&(this.lineNumber=a,this.endLineNumber=s,Object.defineProperty?(Object.defineProperty(this,"column",{value:o,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:l,enumerable:!0})):(this.column=o,this.endColumn=l))}catch(t){}}var i=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];n.prototype=new Error,e.exports=n}),define("handlebars/helpers/block-helper-missing",["exports","module","../utils"],function(t,e,n){"use strict";e.exports=function(t){t.registerHelper("blockHelperMissing",function(e,i){var r=i.inverse,a=i.fn;if(!0===e)return a(this);if(!1===e||null==e)return r(this);if(n.isArray(e))return e.length>0?(i.ids&&(i.ids=[i.name]),t.helpers.each(e,i)):r(this);if(i.data&&i.ids){var s=n.createFrame(i.data);s.contextPath=n.appendContextPath(i.data.contextPath,i.name),i={data:s}}return a(e,i)})}}),define("handlebars/helpers/each",["exports","module","../utils","../exception"],function(t,e,n,i){"use strict";var r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.exports=function(t){t.registerHelper("each",function(t,e){function i(e,i,r){c&&(c.key=e,c.index=i,c.first=0===i,c.last=!!r,u&&(c.contextPath=u+e)),l+=a(t[e],{data:c,blockParams:n.blockParams([t[e],e],[u+e,null])})}if(!e)throw new r.default("Must pass iterator to #each");var a=e.fn,s=e.inverse,o=0,l="",c=void 0,u=void 0;if(e.data&&e.ids&&(u=n.appendContextPath(e.data.contextPath,e.ids[0])+"."),n.isFunction(t)&&(t=t.call(this)),e.data&&(c=n.createFrame(e.data)),t&&"object"==typeof t)if(n.isArray(t))for(var h=t.length;o<h;o++)o in t&&i(o,o,o===t.length-1);else if(global.Symbol&&t[global.Symbol.iterator]){for(var p=[],d=t[global.Symbol.iterator](),f=d.next();!f.done;f=d.next())p.push(f.value);t=p;for(var h=t.length;o<h;o++)i(o,o,o===t.length-1)}else!function(){var e=void 0;Object.keys(t).forEach(function(t){void 0!==e&&i(e,o-1),e=t,o++}),void 0!==e&&i(e,o-1,!0)}();return 0===o&&(l=s(this)),l})}}),define("handlebars/helpers/helper-missing",["exports","module","../exception"],function(t,e,n){"use strict";var i=function(t){return t&&t.__esModule?t:{default:t}}(n);e.exports=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})}}),define("handlebars/helpers/if",["exports","module","../utils","../exception"],function(t,e,n,i){"use strict";var r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.exports=function(t){t.registerHelper("if",function(t,e){if(2!=arguments.length)throw new r.default("#if requires exactly one argument");return n.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||n.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){if(2!=arguments.length)throw new r.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})}}),define("handlebars/helpers/log",["exports","module"],function(t,e){"use strict";e.exports=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],i=0;i<arguments.length-1;i++)e.push(arguments[i]);var r=1;null!=n.hash.level?r=n.hash.level:n.data&&null!=n.data.level&&(r=n.data.level),e[0]=r,t.log.apply(t,e)})}}),define("handlebars/helpers/lookup",["exports","module"],function(t,e){"use strict";e.exports=function(t){t.registerHelper("lookup",function(t,e,n){return t?n.lookupProperty(t,e):t})}}),define("handlebars/helpers/with",["exports","module","../utils","../exception"],function(t,e,n,i){"use strict";var r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.exports=function(t){t.registerHelper("with",function(t,e){if(2!=arguments.length)throw new r.default("#with requires exactly one argument");n.isFunction(t)&&(t=t.call(this));var i=e.fn;if(n.isEmpty(t))return e.inverse(this);var a=e.data;return e.data&&e.ids&&(a=n.createFrame(e.data),a.contextPath=n.appendContextPath(e.data.contextPath,e.ids[0])),i(t,{data:a,blockParams:n.blockParams([t],[a&&a.contextPath])})})}}),define("handlebars/helpers",["exports","./helpers/block-helper-missing","./helpers/each","./helpers/helper-missing","./helpers/if","./helpers/log","./helpers/lookup","./helpers/with"],function(t,e,n,i,r,a,s,o){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}function c(t){h.default(t),p.default(t),d.default(t),f.default(t),m.default(t),g.default(t),v.default(t)}function u(t,e,n){t.helpers[e]&&(t.hooks[e]=t.helpers[e],n||delete t.helpers[e])}t.__esModule=!0,t.registerDefaultHelpers=c,t.moveHelperToHooks=u;var h=l(e),p=l(n),d=l(i),f=l(r),m=l(a),g=l(s),v=l(o)}),define("handlebars/decorators/inline",["exports","module","../utils"],function(t,e,n){"use strict";e.exports=function(t){t.registerDecorator("inline",function(t,e,i,r){var a=t;return e.partials||(e.partials={},a=function(r,a){var s=i.partials;i.partials=n.extend({},s,e.partials);var o=t(r,a);return i.partials=s,o}),e.partials[r.args[0]]=r.fn,a})}}),define("handlebars/decorators",["exports","./decorators/inline"],function(t,e){"use strict";function n(t){i.default(t)}t.__esModule=!0,t.registerDefaultDecorators=n;var i=function(t){return t&&t.__esModule?t:{default:t}}(e)}),define("handlebars/logger",["exports","module","./utils"],function(t,e,n){"use strict";var i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=n.indexOf(i.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=i.lookupLevel(t),"undefined"!=typeof console&&i.lookupLevel(i.level)<=t){var e=i.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];console[e].apply(console,r)}}};e.exports=i}),define("handlebars/internal/create-new-lookup-object",["exports","../utils"],function(t,e){"use strict";function n(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.extend.apply(void 0,[Object.create(null)].concat(n))}t.__esModule=!0,t.createNewLookupObject=n}),define("handlebars/internal/proto-access",["exports","./create-new-lookup-object","../logger"],function(t,e,n){"use strict";function i(t){var n=Object.create(null);n.constructor=!1,n.__defineGetter__=!1,n.__defineSetter__=!1,n.__lookupGetter__=!1;var i=Object.create(null);return i.__proto__=!1,{properties:{whitelist:e.createNewLookupObject(i,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:e.createNewLookupObject(n,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}}function r(t,e,n){return"function"==typeof t?a(e.methods,n):a(e.properties,n)}function a(t,e){return void 0!==t.whitelist[e]?!0===t.whitelist[e]:void 0!==t.defaultValue?t.defaultValue:(s(e),!1)}function s(t){!0!==l[t]&&(l[t]=!0,n.log("error",'Handlebars: Access has been denied to resolve the property "'+t+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}function o(){Object.keys(l).forEach(function(t){delete l[t]})}t.__esModule=!0,t.createProtoAccessControl=i,t.resultIsAllowed=r,t.resetLoggedProperties=o;var l=Object.create(null)}),define("handlebars/base",["exports","./utils","./exception","./helpers","./decorators","./logger","./internal/proto-access"],function(t,e,n,i,r,a,s){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function l(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},i.registerDefaultHelpers(this),r.registerDefaultDecorators(this)}t.__esModule=!0,t.HandlebarsEnvironment=l;var c=o(n),u=o(a);t.VERSION="4.7.6";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};t.REVISION_CHANGES=h;l.prototype={constructor:l,logger:u.default,log:u.default.log,registerHelper:function(t,n){if("[object Object]"===e.toString.call(t)){if(n)throw new c.default("Arg not supported with multiple helpers");e.extend(this.helpers,t)}else this.helpers[t]=n},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,n){if("[object Object]"===e.toString.call(t))e.extend(this.partials,t);else{if(void 0===n)throw new c.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=n}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,n){if("[object Object]"===e.toString.call(t)){if(n)throw new c.default("Arg not supported with multiple decorators");e.extend(this.decorators,t)}else this.decorators[t]=n},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){s.resetLoggedProperties()}};var p=u.default.log;t.log=p,t.createFrame=e.createFrame,t.logger=u.default}),define("handlebars/safe-string",["exports","module"],function(t,e){"use strict";function n(t){this.string=t}n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e.exports=n}),define("handlebars/internal/wrapHelper",["exports"],function(t){"use strict";function e(t,e){return"function"!=typeof t?t:function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)}}t.__esModule=!0,t.wrapHelper=e}),define("handlebars/runtime",["exports","./utils","./exception","./base","./helpers","./internal/wrapHelper","./internal/proto-access"],function(t,e,n,i,r,a,s){"use strict";function o(t){var e=t&&t[0]||1,n=i.COMPILER_REVISION;if(!(e>=i.LAST_COMPATIBLE_COMPILER_REVISION&&e<=i.COMPILER_REVISION)){if(e<i.LAST_COMPATIBLE_COMPILER_REVISION){var r=i.REVISION_CHANGES[n],a=i.REVISION_CHANGES[e];throw new v.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+a+").")}throw new v.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function l(t,n){function i(i,r,a){a.hash&&(r=e.extend({},r,a.hash),a.ids&&(a.ids[0]=!0)),i=n.VM.resolvePartial.call(this,i,r,a);var s=e.extend({},a,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),o=n.VM.invokePartial.call(this,i,r,s);if(null==o&&n.compile&&(a.partials[a.name]=n.compile(i,t.compilerOptions,n),o=a.partials[a.name](r,s)),null!=o){if(a.indent){for(var l=o.split("\n"),c=0,u=l.length;c<u&&(l[c]||c+1!==u);c++)l[c]=a.indent+l[c];o=l.join("\n")}return o}throw new v.default("The partial "+a.name+" could not be compiled when running in runtime-only mode")}function a(e){function n(e){return""+t.main(l,e,l.helpers,l.partials,r,o,s)}var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=i.data;a._setup(i),!i.partial&&t.useData&&(r=d(e,r));var s=void 0,o=t.useBlockParams?[]:void 0;return t.useDepths&&(s=i.depths?e!=i.depths[0]?[e].concat(i.depths):i.depths:[e]),(n=f(t.main,n,l,i.depths||[],r,o))(e,i)}if(!n)throw new v.default("No environment passed to template");if(!t||!t.main)throw new v.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,n.VM.checkRevision(t.compiler);var o=t.compiler&&7===t.compiler[0],l={strict:function(t,e,n){if(!(t&&e in t))throw new v.default('"'+e+'" not defined in '+t,{loc:n});return t[e]},lookupProperty:function(t,e){var n=t[e];return null==n?n:Object.prototype.hasOwnProperty.call(t,e)?n:s.resultIsAllowed(n,l.protoAccessControl,e)?n:void 0},lookup:function(t,e){for(var n=t.length,i=0;i<n;i++){if(null!=(t[i]&&l.lookupProperty(t[i],e)))return t[i][e]}},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:e.escapeExpression,invokePartial:i,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,i,r){var a=this.programs[t],s=this.fn(t);return e||r||i||n?a=c(this,t,s,e,n,i,r):a||(a=this.programs[t]=c(this,t,s)),a},data:function(t,e){for(;t&&e--;)t=t._parent;return t},mergeIfNeeded:function(t,n){var i=t||n;return t&&n&&t!==n&&(i=e.extend({},n,t)),i},nullContext:Object.seal({}),noop:n.VM.noop,compilerInfo:t.compiler};return a.isTop=!0,a._setup=function(i){if(i.partial)l.protoAccessControl=i.protoAccessControl,l.helpers=i.helpers,l.partials=i.partials,l.decorators=i.decorators,l.hooks=i.hooks;else{var a=e.extend({},n.helpers,i.helpers);m(a,l),l.helpers=a,t.usePartial&&(l.partials=l.mergeIfNeeded(i.partials,n.partials)),(t.usePartial||t.useDecorators)&&(l.decorators=e.extend({},n.decorators,i.decorators)),l.hooks={},l.protoAccessControl=s.createProtoAccessControl(i);var c=i.allowCallsToHelperMissing||o;r.moveHelperToHooks(l,"helperMissing",c),r.moveHelperToHooks(l,"blockHelperMissing",c)}},a._child=function(e,n,i,r){if(t.useBlockParams&&!i)throw new v.default("must pass block params");if(t.useDepths&&!r)throw new v.default("must pass parent depths");return c(l,e,t[e],n,0,i,r)},a}function c(t,e,n,i,r,a,s){function o(e){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=s;return!s||e==s[0]||e===t.nullContext&&null===s[0]||(o=[e].concat(s)),n(t,e,t.helpers,t.partials,r.data||i,a&&[r.blockParams].concat(a),o)}return o=f(n,o,t,s,i,a),o.program=e,o.depth=s?s.length:0,o.blockParams=r||0,o}function u(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function h(t,n,r){var a=r.data&&r.data["partial-block"];r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var s=void 0;if(r.fn&&r.fn!==p&&function(){r.data=i.createFrame(r.data);var t=r.fn;s=r.data["partial-block"]=function(e){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=i.createFrame(n.data),n.data["partial-block"]=a,t(e,n)},t.partials&&(r.partials=e.extend({},r.partials,t.partials))}(),void 0===t&&s&&(t=s),void 0===t)throw new v.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(n,r)}function p(){return""}function d(t,e){return e&&"root"in e||(e=e?i.createFrame(e):{},e.root=t),e}function f(t,n,i,r,a,s){if(t.decorator){var o={};n=t.decorator(n,o,i,r&&r[0],a,s,r),e.extend(n,o)}return n}function m(t,e){Object.keys(t).forEach(function(n){var i=t[n];t[n]=g(i,e)})}function g(t,n){var i=n.lookupProperty;return a.wrapHelper(t,function(t){return e.extend({lookupProperty:i},t)})}t.__esModule=!0,t.checkRevision=o,t.template=l,t.wrapProgram=c,t.resolvePartial=u,t.invokePartial=h,t.noop=p;var v=function(t){return t&&t.__esModule?t:{default:t}}(n)}),define("handlebars/no-conflict",["exports","module"],function(t,e){"use strict";e.exports=function(t){var e="undefined"!=typeof global?global:window,n=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=n),t}}}),define("handlebars.runtime",["exports","module","./handlebars/base","./handlebars/safe-string","./handlebars/exception","./handlebars/utils","./handlebars/runtime","./handlebars/no-conflict"],function(t,e,n,i,r,a,s,o){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}function c(){var t=new n.HandlebarsEnvironment;return a.extend(t,n),t.SafeString=u.default,t.Exception=h.default,t.Utils=a,t.escapeExpression=a.escapeExpression,t.VM=s,t.template=function(e){return s.template(e,t)},t}var u=l(i),h=l(r),p=l(o),d=c();d.create=c,p.default(d),d.default=d,e.exports=d}),define("handlebars/compiler/ast",["exports","module"],function(t,e){"use strict";var n={helpers:{helperExpression:function(t){return"SubExpression"===t.type||("MustacheStatement"===t.type||"BlockStatement"===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!n.helpers.scopedId(t)&&!t.depth}}};e.exports=n}),define("handlebars/compiler/parser",["exports","module"],function(t,e){"use strict";var n=function(){function t(){this.yy={}}var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(t,e,n,i,r,a,s){var o=a.length-1;switch(r){case 1:return a[o-1];case 2:this.$=i.prepareProgram(a[o]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=a[o];break;case 9:this.$={type:"CommentStatement",value:i.stripComment(a[o]),strip:i.stripFlags(a[o],a[o]),loc:i.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:a[o],value:a[o],loc:i.locInfo(this._$)};break;case 11:this.$=i.prepareRawBlock(a[o-2],a[o-1],a[o],this._$);break;case 12:this.$={path:a[o-3],params:a[o-2],hash:a[o-1]};break;case 13:this.$=i.prepareBlock(a[o-3],a[o-2],a[o-1],a[o],!1,this._$);break;case 14:this.$=i.prepareBlock(a[o-3],a[o-2],a[o-1],a[o],!0,this._$);break;case 15:this.$={open:a[o-5],path:a[o-4],params:a[o-3],hash:a[o-2],blockParams:a[o-1],strip:i.stripFlags(a[o-5],a[o])};break;case 16:case 17:this.$={path:a[o-4],params:a[o-3],hash:a[o-2],blockParams:a[o-1],strip:i.stripFlags(a[o-5],a[o])};break;case 18:this.$={strip:i.stripFlags(a[o-1],a[o-1]),program:a[o]};break;case 19:var l=i.prepareBlock(a[o-2],a[o-1],a[o],a[o],!1,this._$),c=i.prepareProgram([l],a[o-1].loc);c.chained=!0,this.$={strip:a[o-2].strip,program:c,chain:!0};break;case 20:this.$=a[o];break;case 21:this.$={path:a[o-1],strip:i.stripFlags(a[o-2],a[o])};break;case 22:case 23:this.$=i.prepareMustache(a[o-3],a[o-2],a[o-1],a[o-4],i.stripFlags(a[o-4],a[o]),this._$);break;case 24:this.$={type:"PartialStatement",name:a[o-3],params:a[o-2],hash:a[o-1],indent:"",strip:i.stripFlags(a[o-4],a[o]),loc:i.locInfo(this._$)};break;case 25:this.$=i.preparePartialBlock(a[o-2],a[o-1],a[o],this._$);break;case 26:this.$={path:a[o-3],params:a[o-2],hash:a[o-1],strip:i.stripFlags(a[o-4],a[o])};break;case 27:case 28:this.$=a[o];break;case 29:this.$={type:"SubExpression",path:a[o-3],params:a[o-2],hash:a[o-1],loc:i.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:a[o],loc:i.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:i.id(a[o-2]),value:a[o],loc:i.locInfo(this._$)};break;case 32:this.$=i.id(a[o-1]);break;case 33:case 34:this.$=a[o];break;case 35:this.$={type:"StringLiteral",value:a[o],original:a[o],loc:i.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(a[o]),original:Number(a[o]),loc:i.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===a[o],original:"true"===a[o],loc:i.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:i.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:i.locInfo(this._$)};break;case 40:case 41:this.$=a[o];break;case 42:this.$=i.preparePath(!0,a[o],this._$);break;case 43:this.$=i.preparePath(!1,a[o],this._$);break;case 44:a[o-2].push({part:i.id(a[o]),original:a[o],separator:a[o-1]}),this.$=a[o-2];break;case 45:this.$=[{part:i.id(a[o]),original:a[o]}];break;case 46:this.$=[];break;case 47:a[o-1].push(a[o]);break;case 48:this.$=[];break;case 49:a[o-1].push(a[o]);break;case 50:this.$=[];break;case 51:a[o-1].push(a[o]);break;case 58:this.$=[];break;case 59:a[o-1].push(a[o]);break;case 64:this.$=[];break;case 65:a[o-1].push(a[o]);break;case 70:this.$=[];break;case 71:a[o-1].push(a[o]);break;case 78:this.$=[];break;case 79:a[o-1].push(a[o]);break;case 82:this.$=[];break;case 83:a[o-1].push(a[o]);break;case 86:this.$=[];break;case 87:a[o-1].push(a[o]);break;case 90:this.$=[];break;case 91:a[o-1].push(a[o]);break;case 94:this.$=[];break;case 95:a[o-1].push(a[o]);break;case 98:this.$=[a[o]];break;case 99:a[o-1].push(a[o]);break;case 100:this.$=[a[o]];break;case 101:a[o-1].push(a[o])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],
  47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(t,e){throw new Error(t)},parse:function(t){var e=this,n=[0],i=[null],r=[],a=this.table,s="",o=0,l=0,c=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;r.push(u);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var p,d,f,m,g,v,y,b,w,k={};;){if(f=n[n.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null!==p&&void 0!==p||(p=function(){var t;return t=e.lexer.lex()||1,"number"!=typeof t&&(t=e.symbols_[t]||t),t}()),m=a[f]&&a[f][p]),void 0===m||!m.length||!m[0]){var x="";if(!c){w=[];for(v in a[f])this.terminals_[v]&&v>2&&w.push("'"+this.terminals_[v]+"'");x=this.lexer.showPosition?"Parse error on line "+(o+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:u,expected:w})}}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+p);switch(m[0]){case 1:n.push(p),i.push(this.lexer.yytext),r.push(this.lexer.yylloc),n.push(m[1]),p=null,d?(p=d,d=null):(l=this.lexer.yyleng,s=this.lexer.yytext,o=this.lexer.yylineno,u=this.lexer.yylloc,c>0&&c--);break;case 2:if(y=this.productions_[m[1]][1],k.$=i[i.length-y],k._$={first_line:r[r.length-(y||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(y||1)].first_column,last_column:r[r.length-1].last_column},h&&(k._$.range=[r[r.length-(y||1)].range[0],r[r.length-1].range[1]]),void 0!==(g=this.performAction.call(k,s,l,o,this.yy,m[1],i,r)))return g;y&&(n=n.slice(0,-1*y*2),i=i.slice(0,-1*y),r=r.slice(0,-1*y)),n.push(this.productions_[m[1]][0]),i.push(k.$),r.push(k._$),b=a[n[n.length-2]][n[n.length-1]],n.push(b);break;case 3:return!0}}return!0}},n=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,e,n,i,r;this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),s=0;s<a.length&&(!(n=this._input.match(this.rules[a[s]]))||e&&!(n[0].length>e[0].length)||(e=n,i=s,this.options.flex));s++);return e?(r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,a[i],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)}};return t.options={},t.performAction=function(t,e,n,i){function r(t,n){return e.yytext=e.yytext.substring(t,e.yyleng-n+t)}switch(n){case 0:if("\\\\"===e.yytext.slice(-2)?(r(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(r(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(r(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=r(1,2).replace(/\\"/g,'"'),80;case 32:return e.yytext=r(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},t.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],t.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},t}();return e.lexer=n,t.prototype=e,e.Parser=t,new t}();e.exports=n}),define("handlebars/compiler/visitor",["exports","module","../exception"],function(t,e,n){"use strict";function i(){this.parents=[]}function r(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function a(t){r.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function s(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}var o=function(t){return t&&t.__esModule?t:{default:t}}(n);i.prototype={constructor:i,mutating:!1,acceptKey:function(t,e){var n=this.accept(t[e]);if(this.mutating){if(n&&!i.prototype[n.type])throw new o.default('Unexpected node type "'+n.type+'" found when accepting '+e+" on "+t.type);t[e]=n}},acceptRequired:function(t,e){if(this.acceptKey(t,e),!t[e])throw new o.default(t.type+" requires "+e)},acceptArray:function(t){for(var e=0,n=t.length;e<n;e++)this.acceptKey(t,e),t[e]||(t.splice(e,1),e--,n--)},accept:function(t){if(t){if(!this[t.type])throw new o.default("Unknown type: "+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var e=this[t.type](t);return this.current=this.parents.shift(),!this.mutating||e?e:!1!==e?t:void 0}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:r,Decorator:r,BlockStatement:a,DecoratorBlock:a,PartialStatement:s,PartialBlockStatement:function(t){s.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:r,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,"value")}},e.exports=i}),define("handlebars/compiler/whitespace-control",["exports","module","./visitor"],function(t,e,n){"use strict";function i(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function r(t,e,n){void 0===e&&(e=t.length);var i=t[e-1],r=t[e-2];return i?"ContentStatement"===i.type?(r||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(i.original):void 0:n}function a(t,e,n){void 0===e&&(e=-1);var i=t[e+1],r=t[e+2];return i?"ContentStatement"===i.type?(r||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(i.original):void 0:n}function s(t,e,n){var i=t[null==e?0:e+1];if(i&&"ContentStatement"===i.type&&(n||!i.rightStripped)){var r=i.value;i.value=i.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),i.rightStripped=i.value!==r}}function o(t,e,n){var i=t[null==e?t.length-1:e-1];if(i&&"ContentStatement"===i.type&&(n||!i.leftStripped)){var r=i.value;return i.value=i.value.replace(n?/\s+$/:/[ \t]+$/,""),i.leftStripped=i.value!==r,i.leftStripped}}var l=function(t){return t&&t.__esModule?t:{default:t}}(n);i.prototype=new l.default,i.prototype.Program=function(t){var e=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var i=t.body,l=0,c=i.length;l<c;l++){var u=i[l],h=this.accept(u);if(h){var p=r(i,l,n),d=a(i,l,n),f=h.openStandalone&&p,m=h.closeStandalone&&d,g=h.inlineStandalone&&p&&d;h.close&&s(i,l,!0),h.open&&o(i,l,!0),e&&g&&(s(i,l),o(i,l)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(i[l-1].original)[1])),e&&f&&(s((u.program||u.inverse).body),o(i,l)),e&&m&&(s(i,l),o((u.inverse||u.program).body))}}return t},i.prototype.BlockStatement=i.prototype.DecoratorBlock=i.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,n=t.program&&t.inverse,i=n,l=n;if(n&&n.chained)for(i=n.body[0].program;l.chained;)l=l.body[l.body.length-1].program;var c={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:a(e.body),closeStandalone:r((i||e).body)};if(t.openStrip.close&&s(e.body,null,!0),n){var u=t.inverseStrip;u.open&&o(e.body,null,!0),u.close&&s(i.body,null,!0),t.closeStrip.open&&o(l.body,null,!0),!this.options.ignoreStandalone&&r(e.body)&&a(i.body)&&(o(e.body),s(i.body))}else t.closeStrip.open&&o(e.body,null,!0);return c},i.prototype.Decorator=i.prototype.MustacheStatement=function(t){return t.strip},i.prototype.PartialStatement=i.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}},e.exports=i}),define("handlebars/compiler/helpers",["exports","../exception"],function(t,e){"use strict";function n(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var n={loc:t.path.loc};throw new d.default(t.path.original+" doesn't match "+e,n)}}function i(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function r(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function a(t,e){return{open:"~"===t.charAt(2),close:"~"===e.charAt(e.length-3)}}function s(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function o(t,e,n){n=this.locInfo(n);for(var i=t?"@":"",r=[],a=0,s=0,o=e.length;s<o;s++){var l=e[s].part,c=e[s].original!==l;if(i+=(e[s].separator||"")+l,c||".."!==l&&"."!==l&&"this"!==l)r.push(l);else{if(r.length>0)throw new d.default("Invalid path: "+i,{loc:n});".."===l&&a++}}return{type:"PathExpression",data:t,depth:a,parts:r,original:i,loc:n}}function l(t,e,n,i,r,a){var s=i.charAt(3)||i.charAt(2),o="{"!==s&&"&"!==s;return{type:/\*/.test(i)?"Decorator":"MustacheStatement",path:t,params:e,hash:n,escaped:o,strip:r,loc:this.locInfo(a)}}function c(t,e,i,r){n(t,i),r=this.locInfo(r);var a={type:"Program",body:e,strip:{},loc:r};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:a,openStrip:{},inverseStrip:{},closeStrip:{},loc:r}}function u(t,e,i,r,a,s){r&&r.path&&n(t,r);var o=/\*/.test(t.open);e.blockParams=t.blockParams;var l=void 0,c=void 0;if(i){if(o)throw new d.default("Unexpected inverse block on decorator",i);i.chain&&(i.program.body[0].closeStrip=r.strip),c=i.strip,l=i.program}return a&&(a=l,l=e,e=a),{type:o?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:l,openStrip:t.strip,inverseStrip:c,closeStrip:r&&r.strip,loc:this.locInfo(s)}}function h(t,e){if(!e&&t.length){var n=t[0].loc,i=t[t.length-1].loc;n&&i&&(e={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:i.end.line,column:i.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function p(t,e,i,r){return n(t,i),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:i&&i.strip,loc:this.locInfo(r)}}t.__esModule=!0,t.SourceLocation=i,t.id=r,t.stripFlags=a,t.stripComment=s,t.preparePath=o,t.prepareMustache=l,t.prepareRawBlock=c,t.prepareBlock=u,t.prepareProgram=h,t.preparePartialBlock=p;var d=function(t){return t&&t.__esModule?t:{default:t}}(e)}),define("handlebars/compiler/base",["exports","./parser","./whitespace-control","./helpers","../utils"],function(t,e,n,i,r){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){return"Program"===t.type?t:(l.default.yy=u,u.locInfo=function(t){return new u.SourceLocation(e&&e.srcName,t)},l.default.parse(t))}function o(t,e){var n=s(t,e);return new c.default(e).accept(n)}t.__esModule=!0,t.parseWithoutProcessing=s,t.parse=o;var l=a(e),c=a(n);t.parser=l.default;var u={};r.extend(u,i)}),define("handlebars/compiler/compiler",["exports","../exception","../utils","./ast"],function(t,e,n,i){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function a(){}function s(t,e,n){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new u.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var i=n.parse(t,e),r=(new n.Compiler).compile(i,e);return(new n.JavaScriptCompiler).compile(r,e)}function o(t,e,i){function r(){var n=i.parse(t,e),r=(new i.Compiler).compile(n,e),a=(new i.JavaScriptCompiler).compile(r,e,void 0,!0);return i.template(a)}function a(t,e){return s||(s=r()),s.call(this,t,e)}if(void 0===e&&(e={}),null==t||"string"!=typeof t&&"Program"!==t.type)throw new u.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=n.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=void 0;return a._setup=function(t){return s||(s=r()),s._setup(t)},a._child=function(t,e,n,i){return s||(s=r()),s._child(t,e,n,i)},a}function l(t,e){if(t===e)return!0;if(n.isArray(t)&&n.isArray(e)&&t.length===e.length){for(var i=0;i<t.length;i++)if(!l(t[i],e[i]))return!1;return!0}}function c(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}t.__esModule=!0,t.Compiler=a,t.precompile=s,t.compile=o;var u=r(e),h=r(i),p=[].slice;a.prototype={compiler:a,equals:function(t){var e=this.opcodes.length;if(t.opcodes.length!==e)return!1;for(var n=0;n<e;n++){var i=this.opcodes[n],r=t.opcodes[n];if(i.opcode!==r.opcode||!l(i.args,r.args))return!1}e=this.children.length;for(var n=0;n<e;n++)if(!this.children[n].equals(t.children[n]))return!1;return!0},guid:0,compile:function(t,e){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=e,this.stringParams=e.stringParams,this.trackIds=e.trackIds,e.blockParams=e.blockParams||[],e.knownHelpers=n.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},e.knownHelpers),this.accept(t)},compileProgram:function(t){var e=new this.compiler,n=e.compile(t,this.options),i=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[i]=n,this.useDepths=this.useDepths||n.useDepths,i},accept:function(t){if(!this[t.type])throw new u.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);var e=this[t.type](t);return this.sourceNode.shift(),e},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var e=t.body,n=e.length,i=0;i<n;i++)this.accept(e[i]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){c(t);var e=t.program,n=t.inverse;e=e&&this.compileProgram(e),n=n&&this.compileProgram(n);var i=this.classifySexpr(t);"helper"===i?this.helperSexpr(t,e,n):"simple"===i?(this.simpleSexpr(t),this.opcode("pushProgram",e),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,e,n),this.opcode("pushProgram",e),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var e=t.program&&this.compileProgram(t.program),n=this.setupFullMustacheParams(t,e,void 0),i=t.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,i.original)},PartialStatement:function(t){this.usePartial=!0;var e=t.program;e&&(e=this.compileProgram(t.program));var n=t.params;if(n.length>1)throw new u.default("Unsupported number of partial arguments: "+n.length,t);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=t.name.original,r="SubExpression"===t.name.type;r&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var a=t.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",r,i,a),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){c(t);var e=this.classifySexpr(t);"simple"===e?this.simpleSexpr(t):"helper"===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,n){var i=t.path,r=i.parts[0],a=null!=e||null!=n;this.opcode("getContext",i.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",r,a)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,n){var i=this.setupFullMustacheParams(t,e,n),r=t.path,a=r.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",i.length,a);else{if(this.options.knownHelpersOnly)throw new u.default("You specified knownHelpersOnly, but used the unknown helper "+a,t);r.strict=!0,r.falsy=!0,this.accept(r),this.opcode("invokeHelper",i.length,r.original,h.default.helpers.simpleId(r))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],n=h.default.helpers.scopedId(t),i=!t.depth&&!n&&this.blockParamIndex(e);i?this.opcode("lookupBlockParam",i,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,n):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,n=0,i=e.length;for(this.opcode("pushHash");n<i;n++)this.pushParam(e[n].value);for(;n--;)this.opcode("assignToHash",e[n].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:p.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var e=h.default.helpers.simpleId(t.path),n=e&&!!this.blockParamIndex(t.path.parts[0]),i=!n&&h.default.helpers.helperExpression(t),r=!n&&(i||e);if(r&&!i){var a=t.path.parts[0],s=this.options;s.knownHelpers[a]?i=!0:s.knownHelpersOnly&&(r=!1)}return i?"helper":r?"ambiguous":"simple"},
  pushParams:function(t){for(var e=0,n=t.length;e<n;e++)this.pushParam(t[e])},pushParam:function(t){var e=null!=t.value?t.value:t.original||"";if(this.stringParams)e.replace&&(e=e.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",e,t.type),"SubExpression"===t.type&&this.accept(t);else{if(this.trackIds){var n=void 0;if(!t.parts||h.default.helpers.scopedId(t)||t.depth||(n=this.blockParamIndex(t.parts[0])),n){var i=t.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,i)}else e=t.original||e,e.replace&&(e=e.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,e)}this.accept(t)}},setupFullMustacheParams:function(t,e,n,i){var r=t.params;return this.pushParams(r),this.opcode("pushProgram",e),this.opcode("pushProgram",n),t.hash?this.accept(t.hash):this.opcode("emptyHash",i),r},blockParamIndex:function(t){for(var e=0,i=this.options.blockParams.length;e<i;e++){var r=this.options.blockParams[e],a=r&&n.indexOf(r,t);if(r&&a>=0)return[e,a]}}}}),define("handlebars/compiler/code-gen",["exports","module","../utils"],function(t,e,n){"use strict";function i(t,e,i){if(n.isArray(t)){for(var r=[],a=0,s=t.length;a<s;a++)r.push(e.wrap(t[a],i));return r}return"boolean"==typeof t||"number"==typeof t?t+"":t}function r(t){this.srcFile=t,this.source=[]}var a=void 0;try{if("function"!=typeof define||!define.amd){var s=require("source-map");a=s.SourceNode}}catch(t){}a||(a=function(t,e,n,i){this.src="",i&&this.add(i)},a.prototype={add:function(t){n.isArray(t)&&(t=t.join("")),this.src+=t},prepend:function(t){n.isArray(t)&&(t=t.join("")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),r.prototype={isEmpty:function(){return!this.source.length},prepend:function(t,e){this.source.unshift(this.wrap(t,e))},push:function(t,e){this.source.push(this.wrap(t,e))},merge:function(){var t=this.empty();return this.each(function(e){t.add(["  ",e,"\n"])}),t},each:function(t){for(var e=0,n=this.source.length;e<n;e++)t(this.source[e])},empty:function(){var t=this.currentLocation||{start:{}};return new a(t.start.line,t.start.column,this.srcFile)},wrap:function(t){var e=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return t instanceof a?t:(t=i(t,this,e),new a(e.start.line,e.start.column,this.srcFile,t))},functionCall:function(t,e,n){return n=this.generateList(n),this.wrap([t,e?"."+e+"(":"(",n,")"])},quotedString:function(t){return'"'+(t+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(t){var e=this,n=[];Object.keys(t).forEach(function(r){var a=i(t[r],e);"undefined"!==a&&n.push([e.quotedString(r),":",a])});var r=this.generateList(n);return r.prepend("{"),r.add("}"),r},generateList:function(t){for(var e=this.empty(),n=0,r=t.length;n<r;n++)n&&e.add(","),e.add(i(t[n],this));return e},generateArray:function(t){var e=this.generateList(t);return e.prepend("["),e.add("]"),e}},e.exports=r}),define("handlebars/compiler/javascript-compiler",["exports","module","../base","../exception","../utils","./code-gen"],function(t,e,n,i,r,a){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}function o(t){this.value=t}function l(){}function c(t,e,n,i){var r=e.popStack(),a=0,s=n.length;for(t&&s--;a<s;a++)r=e.nameLookup(r,n[a],i);return t?[e.aliasable("container.strict"),"(",r,", ",e.quotedString(n[a]),", ",JSON.stringify(e.source.currentLocation)," )"]:r}var u=s(i),h=s(a);l.prototype={nameLookup:function(t,e){return this.internalNameLookup(t,e)},depthedLookup:function(t){return[this.aliasable("container.lookup"),'(depths, "',t,'")']},compilerInfo:function(){var t=n.COMPILER_REVISION;return[t,n.REVISION_CHANGES[t]]},appendToBuffer:function(t,e,n){return r.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple?["return ",t,";"]:n?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(t,e){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",t,",",JSON.stringify(e),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(t,e,n,i){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var r=t.opcodes,a=void 0,s=void 0,o=void 0,l=void 0;for(o=0,l=r.length;o<l;o++)a=r[o],this.source.currentLocation=a.loc,s=s||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new u.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),i?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var c=this.createFunctionContext(i);if(this.isChild)return c;var h={compiler:this.compilerInfo(),main:c};this.decorators&&(h.main_d=this.decorators,h.useDecorators=!0);var p=this.context,d=p.programs,f=p.decorators;for(o=0,l=d.length;o<l;o++)d[o]&&(h[o]=d[o],f[o]&&(h[o+"_d"]=f[o],h.useDecorators=!0));return this.environment.usePartial&&(h.usePartial=!0),this.options.data&&(h.useData=!0),this.useDepths&&(h.useDepths=!0),this.useBlockParams&&(h.useBlockParams=!0),this.options.compat&&(h.compat=!0),i?h.compilerOptions=this.options:(h.compiler=JSON.stringify(h.compiler),this.source.currentLocation={start:{line:1,column:0}},h=this.objectLiteral(h),e.srcName?(h=h.toStringWithSourceMap({file:e.destName}),h.map=h.map&&h.map.toString()):h=h.toString()),h},preamble:function(){this.lastContext=0,this.source=new h.default(this.options.srcName),this.decorators=new h.default(this.options.srcName)},createFunctionContext:function(t){var e=this,n="",i=this.stackVars.concat(this.registers.list);i.length>0&&(n+=", "+i.join(", "));var r=0;Object.keys(this.aliases).forEach(function(t){var i=e.aliases[t];i.children&&i.referenceCount>1&&(n+=", alias"+ ++r+"="+t,i.children[0]="alias"+r)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var s=this.mergeSource(n);return t?(a.push(s),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),") {\n  ",s,"}"])},mergeSource:function(t){var e=this.environment.isSimple,n=!this.forceBuffer,i=void 0,r=void 0,a=void 0,s=void 0;return this.source.each(function(t){t.appendToBuffer?(a?t.prepend("  + "):a=t,s=t):(a&&(r?a.prepend("buffer += "):i=!0,s.add(";"),a=s=void 0),r=!0,e||(n=!1))}),n?a?(a.prepend("return "),s.add(";")):r||this.source.push('return "";'):(t+=", buffer = "+(i?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),s.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(i?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n      lookupProperty = container.lookupProperty || function(parent, propertyName) {\n        if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n          return parent[propertyName];\n        }\n        return undefined\n    }\n    ".trim()},blockValue:function(t){var e=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(t,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(e,"call",n))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs("",0,e,!0),this.flushInline();var n=this.topStack();e.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(t){return[" != null ? ",t,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,n,i){var r=0;i||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[r++])),this.resolvePath("context",t,r,e,n)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,n){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",e,0,!0,n)},resolvePath:function(t,e,n,i,r){var a=this;if(this.options.strict||this.options.assumeObjects)return void this.push(c(this.options.strict&&r,this,e,t));for(var s=e.length;n<s;n++)this.replaceStack(function(r){var s=a.nameLookup(r,e[n],t);return i?[" && ",s]:[" != null ? ",s," : ",r]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(t,e){this.pushContext(),this.pushString(e),"SubExpression"!==e&&("string"==typeof t?this.pushString(t):this.pushStackLiteral(t))},emptyHash:function(t){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(t?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var t=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(t.ids)),this.stringParams&&(this.push(this.objectLiteral(t.contexts)),this.push(this.objectLiteral(t.types))),this.push(this.objectLiteral(t.values))},pushString:function(t){this.pushStackLiteral(this.quotedString(t))},pushLiteral:function(t){this.pushStackLiteral(t)},pushProgram:function(t){null!=t?this.pushStackLiteral(this.programExpression(t)):this.pushStackLiteral(null)},registerDecorator:function(t,e){var n=this.nameLookup("decorators",e,"decorator"),i=this.setupHelperArgs(e,t);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",i])," || fn;"])},invokeHelper:function(t,e,n){var i=this.popStack(),r=this.setupHelper(t,e),a=[];n&&a.push(r.name),a.push(i),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var s=["(",this.itemsSeparatedBy(a,"||"),")"],o=this.source.functionCall(s,"call",r.callParams);this.push(o)},itemsSeparatedBy:function(t,e){var n=[];n.push(t[0]);for(var i=1;i<t.length;i++)n.push(e,t[i]);return n},invokeKnownHelper:function(t,e){var n=this.setupHelper(t,e);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(t,e){this.useRegister("helper");var n=this.popStack();this.emptyHash();var i=this.setupHelper(0,t,e),r=this.lastHelper=this.nameLookup("helpers",t,"helper"),a=["(","(helper = ",r," || ",n,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(t,e,n){var i=[],r=this.setupParams(e,1,i);t&&(e=this.popStack(),delete r.name),n&&(r.indent=JSON.stringify(n)),r.helpers="helpers",r.partials="partials",r.decorators="container.decorators",t?i.unshift(e):i.unshift(this.nameLookup("partials",e,"partial")),this.options.compat&&(r.depths="depths"),r=this.objectLiteral(r),i.push(r),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(t){var e=this.popStack(),n=void 0,i=void 0,r=void 0;this.trackIds&&(r=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[t]=n),i&&(a.types[t]=i),r&&(a.ids[t]=r),a.values[t]=e},pushId:function(t,e,n){"BlockParam"===t?this.pushStackLiteral("blockParams["+e[0]+"].path["+e[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===t?this.pushString(e):"SubExpression"===t?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:l,compileChildren:function(t,e){for(var n=t.children,i=void 0,r=void 0,a=0,s=n.length;a<s;a++){i=n[a],r=new this.compiler;var o=this.matchExistingProgram(i);if(null==o){this.context.programs.push("");var l=this.context.programs.length;i.index=l,i.name="program"+l,this.context.programs[l]=r.compile(i,e,this.context,!this.precompile),this.context.decorators[l]=r.decorators,this.context.environments[l]=i,this.useDepths=this.useDepths||r.useDepths,this.useBlockParams=this.useBlockParams||r.useBlockParams,i.useDepths=this.useDepths,i.useBlockParams=this.useBlockParams}else i.index=o.index,i.name="program"+o.index,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams}},matchExistingProgram:function(t){for(var e=0,n=this.context.environments.length;e<n;e++){var i=this.context.environments[e];if(i&&i.equals(t))return i}},programExpression:function(t){var e=this.environment.children[t],n=[e.index,"data",e.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(t){this.registers[t]||(this.registers[t]=!0,this.registers.list.push(t))},push:function(t){return t instanceof o||(t=this.source.wrap(t)),this.inlineStack.push(t),t},pushStackLiteral:function(t){this.push(new o(t))},pushSource:function(t){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),t&&this.source.push(t)},replaceStack:function(t){var e=["("],n=void 0,i=void 0,r=void 0;if(!this.isInline())throw new u.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof o)n=[a.value],e=["(",n],r=!0;else{i=!0;var s=this.incrStack();e=["((",this.push(s)," = ",a,")"],n=this.topStack()}var l=t.call(this,n);r||this.popStack(),i&&this.stackSlot--,this.push(e.concat(l,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,n=t.length;e<n;e++){var i=t[e];if(i instanceof o)this.compileStack.push(i);else{var r=this.incrStack();this.pushSource([r," = ",i,";"]),this.compileStack.push(r)}}},isInline:function(){return this.inlineStack.length},popStack:function(t){var e=this.isInline(),n=(e?this.inlineStack:this.compileStack).pop();if(!t&&n instanceof o)return n.value;if(!e){if(!this.stackSlot)throw new u.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,e=t[t.length-1];return e instanceof o?e.value:e},contextName:function(t){return this.useDepths&&t?"depths["+t+"]":"depth"+t},quotedString:function(t){return this.source.quotedString(t)},objectLiteral:function(t){return this.source.objectLiteral(t)},aliasable:function(t){var e=this.aliases[t];return e?(e.referenceCount++,e):(e=this.aliases[t]=this.source.wrap(t),e.aliasable=!0,e.referenceCount=1,e)},setupHelper:function(t,e,n){var i=[];return{params:i,paramsInit:this.setupHelperArgs(e,t,i,n),name:this.nameLookup("helpers",e,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(i)}},setupParams:function(t,e,n){var i={},r=[],a=[],s=[],o=!n,l=void 0;o&&(n=[]),i.name=this.quotedString(t),i.hash=this.popStack(),this.trackIds&&(i.hashIds=this.popStack()),this.stringParams&&(i.hashTypes=this.popStack(),i.hashContexts=this.popStack());var c=this.popStack(),u=this.popStack();(u||c)&&(i.fn=u||"container.noop",i.inverse=c||"container.noop");for(var h=e;h--;)l=this.popStack(),n[h]=l,this.trackIds&&(s[h]=this.popStack()),this.stringParams&&(a[h]=this.popStack(),r[h]=this.popStack());return o&&(i.args=this.source.generateArray(n)),this.trackIds&&(i.ids=this.source.generateArray(s)),this.stringParams&&(i.types=this.source.generateArray(a),i.contexts=this.source.generateArray(r)),this.options.data&&(i.data="data"),this.useBlockParams&&(i.blockParams="blockParams"),i},setupHelperArgs:function(t,e,n,i){var r=this.setupParams(t,e,n);return r.loc=JSON.stringify(this.source.currentLocation),r=this.objectLiteral(r),i?(this.useRegister("options"),n.push("options"),["options=",r]):n?(n.push(r),""):r}},function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=l.RESERVED_WORDS={},n=0,i=t.length;n<i;n++)e[t[n]]=!0}(),l.isValidJavaScriptVariableName=function(t){return!l.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)},e.exports=l}),define("handlebars",["exports","module","./handlebars.runtime","./handlebars/compiler/ast","./handlebars/compiler/base","./handlebars/compiler/compiler","./handlebars/compiler/javascript-compiler","./handlebars/compiler/visitor","./handlebars/no-conflict"],function(t,e,n,i,r,a,s,o,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}function u(){var t=g();return t.compile=function(e,n){return a.compile(e,n,t)},t.precompile=function(e,n){return a.precompile(e,n,t)},t.AST=p.default,t.Compiler=a.Compiler,t.JavaScriptCompiler=d.default,t.Parser=r.parser,t.parse=r.parse,t.parseWithoutProcessing=r.parseWithoutProcessing,t}var h=c(n),p=c(i),d=c(s),f=c(o),m=c(l),g=h.default.create,v=u();v.create=u,m.default(v),v.Visitor=f.default,v.default=v,e.exports=v}),define("text",["module"],function(t){"use strict";function e(t,e){return void 0===t||""===t?e:t}function n(t,n,i,r){if(n===r)return!0;if(t===i){if("http"===t)return e(n,"80")===e(r,"80");if("https"===t)return e(n,"443")===e(r,"443")}return!1}var i,r,a,s,o,l=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],c=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,u=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,h="undefined"!=typeof location&&location.href,p=h&&location.protocol&&location.protocol.replace(/\:/,""),d=h&&location.hostname,f=h&&(location.port||void 0),m={},g=t.config&&t.config()||{};return i={version:"2.0.16",strip:function(t){if(t){t=t.replace(c,"");var e=t.match(u);e&&(t=e[1])}else t="";return t},jsEscape:function(t){return t.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:g.createXhr||function(){var t,e,n;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(e=0;e<3;e+=1){n=l[e];try{t=new ActiveXObject(n)}catch(t){}if(t){l=[n];break}}return t},parseName:function(t){var e,n,i,r=!1,a=t.lastIndexOf("."),s=0===t.indexOf("./")||0===t.indexOf("../");return-1!==a&&(!s||a>1)?(e=t.substring(0,a),n=t.substring(a+1)):e=t,i=n||e,a=i.indexOf("!"),-1!==a&&(r="strip"===i.substring(a+1),i=i.substring(0,a),n?n=i:e=i),{moduleName:e,ext:n,strip:r}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(t,e,r,a){var s,o,l,c=i.xdRegExp.exec(t);return!c||(s=c[2],o=c[3],o=o.split(":"),l=o[1],o=o[0],(!s||s===e)&&(!o||o.toLowerCase()===r.toLowerCase())&&(!l&&!o||n(s,l,e,a)))},finishLoad:function(t,e,n,r){n=e?i.strip(n):n,g.isBuild&&(m[t]=n),r(n)},load:function(t,e,n,r){if(r&&r.isBuild&&!r.inlineText)return void n();g.isBuild=r&&r.isBuild;var a=i.parseName(t),s=a.moduleName+(a.ext?"."+a.ext:""),o=e.toUrl(s),l=g.useXhr||i.useXhr;if(0===o.indexOf("empty:"))return void n();!h||l(o,p,d,f)?i.get(o,function(e){i.finishLoad(t,a.strip,e,n)},function(t){n.error&&n.error(t)}):e([s],function(t){i.finishLoad(a.moduleName+"."+a.ext,a.strip,t,n)},function(t){n.error&&n.error(t)})},write:function(t,e,n,r){if(m.hasOwnProperty(e)){var a=i.jsEscape(m[e]);n.asModule(t+"!"+e,"define(function () { return '"+a+"';});\n")}},writeFile:function(t,e,n,r,a){var s=i.parseName(e),o=s.ext?"."+s.ext:"",l=s.moduleName+o,c=n.toUrl(s.moduleName+o)+".js";i.load(l,n,function(e){var n=function(t){return r(c,t)};n.asModule=function(t,e){return r.asModule(t,c,e)},i.write(t,l,n,a)},a)}},"node"===g.env||!g.env&&"undefined"!=typeof process&&process.versions&&process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"]?(r=require.nodeRequire("fs"),i.get=function(t,e,n){try{var i=r.readFileSync(t,"utf8");"\ufeff"===i[0]&&(i=i.substring(1)),e(i)}catch(t){n&&n(t)}}):"xhr"===g.env||!g.env&&i.createXhr()?i.get=function(t,e,n,r){var a,s=i.createXhr();if(s.open("GET",t,!0),r)for(a in r)r.hasOwnProperty(a)&&s.setRequestHeader(a.toLowerCase(),r[a]);g.onXhr&&g.onXhr(s,t),s.onreadystatechange=function(i){var r,a;4===s.readyState&&(r=s.status||0,r>399&&r<600?(a=new Error(t+" HTTP status: "+r),a.xhr=s,n&&n(a)):e(s.responseText),g.onXhrComplete&&g.onXhrComplete(s,t))},s.send(null)}:"rhino"===g.env||!g.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java?i.get=function(t,e){var n,i,r=new java.io.File(t),a=java.lang.System.getProperty("line.separator"),s=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(r),"utf-8")),o="";try{for(n=new java.lang.StringBuffer,i=s.readLine(),i&&i.length()&&65279===i.charAt(0)&&(i=i.substring(1)),null!==i&&n.append(i);null!==(i=s.readLine());)n.append(a),n.append(i);o=String(n.toString())}finally{s.close()}e(o)}:("xpconnect"===g.env||!g.env&&"undefined"!=typeof Components&&Components.classes&&Components.interfaces)&&(a=Components.classes,s=Components.interfaces,Components.utils.import("resource://gre/modules/FileUtils.jsm"),o="@mozilla.org/windows-registry-key;1"in a,i.get=function(t,e){var n,i,r,l={};o&&(t=t.replace(/\//g,"\\")),r=new FileUtils.File(t);try{n=a["@mozilla.org/network/file-input-stream;1"].createInstance(s.nsIFileInputStream),n.init(r,1,0,!1),i=a["@mozilla.org/intl/converter-input-stream;1"].createInstance(s.nsIConverterInputStream),i.init(n,"utf-8",n.available(),s.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),i.readString(n.available(),l),i.close(),n.close(),e(l.value)}catch(t){throw new Error((r&&r.path||"")+": "+t)}}),i}),define("text!templates/master.layout.html",[],function(){return'<div class="row">\r\n    <div class="{{#if opt.opt_pricelist_cart_modal }}col-sm-8{{else}}col-sm-12{{/if}}">\r\n        {{{ html.table }}}\r\n\r\n        {{#if opt.opt_pricelist_search }}\r\n        {{{ html.datepicker }}}\r\n        {{/if}}\r\n\r\n        {{#if opt.opt_pricelist_description }}\r\n        {{#if html.description }}\r\n        {{{ html.description }}}\r\n        {{/if}}\r\n        {{/if}}\r\n    </div>\r\n\r\n    {{#if opt.opt_pricelist_cart_modal }}\r\n    <div class="col-sm-4 withCart">\r\n        {{> withCart }}\r\n    </div>\r\n    {{/if}}\r\n</div>\r\n\r\n{{#if opt.opt_pricelist_cart_modal }}\r\n{{> withModal }}\r\n{{/if}}'}),define("text!templates/cart.html",[],function(){return'<div class="withCartContainer">\r\n    <div class="panel panel-info withCartBox">\r\n        <div class="panel-heading text-center">\r\n            <h3>{{_t \'cart.summary\'}}</h3>\r\n        </div>\r\n\r\n        <div class="panel-body">\r\n            <div class="withCartContent">\r\n                {{> withCartItems }}\r\n            </div>\r\n        </div>\r\n\r\n        <div class="panel-footer">\r\n            <div class="row">\r\n                <div class="col-sm-8">\r\n                    <button type="button" data-toggle="modal" data-target="#withModal-{{ slug }}" class="btn btn-warning cartEstimateBtn">\r\n                        {{_t \'cart.get quote\'}}\r\n                    </button>\r\n                </div>\r\n\r\n                <div class="col-sm-4 text-right cartTotal">\r\n                    <p><strong>{{_t \'cart.total\'}}: € <span class="pt-grand-total">0,00</span></strong></p>\r\n                </div>\r\n            </div>\r\n\r\n            <div class="clearfix"></div>\r\n        </div>\r\n    </div>\r\n</div>'}),define("text!templates/cart_items.html",[],function(){return'<ul class="list-group">\r\n\r\n    {{#each cartItems}}\r\n    <li class="list-group-item cart-service cart-service-{{this.id}}">\r\n        <div class="row">\r\n            <div class="col-sm-8">{{this.service_name}}</div>\r\n            <div class="col-sm-4">€ {{this.readable_period_total}}</div>\r\n            <i class="glyphicon glyphicon-remove pull-right text-danger remove" data-service-index="{{ this.id }}-{{ this.num }}" data-service-id="{{ this.id }}"></i>\r\n        </div>\r\n    </li>\r\n    {{else}}\r\n    <li class="list-group-item text-danger nothingMessage">{{_t \'cart.add services and accomodations from the table\'}}</li>\r\n    {{/each}}\r\n</ul>'}),define("text!templates/modal.html",[],function(){return'<div class="modal fade" id="withModal-{{ slug }}" tabindex="-1" role="dialog" aria-labelledby="{{ id }}withLabel">\r\n    <div class="modal-dialog modal-lg">\r\n        <div class="modal-content">\r\n            <div class="modal-header">\r\n                <button type="button" class="close" data-dismiss="modal" aria-label="Close">\r\n                    <span aria-hidden="true">&times;</span></button>\r\n                <h4 class="modal-title" id="{{ id }}withLabel">{{_t \'modal.send quote\'}}</h4>\r\n            </div>\r\n            <div class="modal-body">\r\n                <form class="modal-form" method="POST" action="#">\r\n                    <input type="hidden" name="id" value="{{ id }}"/>\r\n                    <input type="hidden" name="lang" value="{{ lang }}"/>\r\n                    <input type="hidden" name="slug" value="{{ slug }}"/>\r\n                    <input type="hidden" name="params[adults]" value="{{ adults }}"/>\r\n                    <input type="hidden" name="params[children]" value="{{ children }}"/>\r\n\r\n                    <div class="col-xs-12 col-sm-6">\r\n                        <div class="form-group">\r\n                            <label class="control-label">{{_t \'modal.email\'}}</label>\r\n                            <input type="text" name="email" class="form-control" placeholder="your@email.com" required/>\r\n                        </div>\r\n                    </div>\r\n\r\n                    <div class="col-xs-12 col-sm-6">\r\n                        <div class="form-group">\r\n                            <label class="control-label">{{_t \'modal.first name last name\'}}</label>\r\n                            <input type="text" name="from_name" class="form-control" placeholder="Nome Cognome"/>\r\n                        </div>\r\n\r\n                    </div>\r\n\r\n                    <div class="col-xs-12">\r\n                        <div class="form-group">\r\n                            <label class="control-label">{{_t \'modal.note\'}}</label>\r\n                            <textarea class="form-control" rows="3" style="resize: vertical;" name="message"></textarea>\r\n                        </div>\r\n                    </div>\r\n\r\n                    <div class="clearfix"></div>\r\n\r\n                    <div class="m-t-15">\r\n                        <div class="col-sm-6">\r\n                            <h3 class="text-center">{{_t \'modal.your request\'}}</h3>\r\n\r\n                            <table id="requestTable" class="table table-striped table-hover">\r\n                                <tbody>\r\n                                \x3c!--check in--\x3e\r\n                                <tr>\r\n                                    <td>{{_t \'modal.check in\'}}</td>\r\n                                    <td>\r\n                                        <strong>{{ from_ts }}</strong>\r\n                                        <input type="hidden" name="check_in" value="{{ from_ts }}"/>\r\n                                    </td>\r\n                                </tr>\r\n                                \x3c!--check out--\x3e\r\n                                <tr>\r\n                                    <td>{{_t \'modal.check out\'}}</td>\r\n                                    <td>\r\n                                        <strong>{{ to_ts }}</strong>\r\n                                        <input type="hidden" name="check_out" value="{{ to_ts }}"/>\r\n                                    </td>\r\n                                </tr>\r\n                                </tbody>\r\n                            </table>\r\n                        </div>\r\n\r\n                        <div class="col-sm-6">\r\n                            <h3 class="text-center">{{_t \'modal.your services\'}}</h3>\r\n\r\n                            <div class="modal-list"></div>\r\n                        </div>\r\n                    </div>\r\n\r\n                    <div class="clearfix"></div>\r\n\r\n                    <div class="form-group text-center">\r\n                        <input type="hidden" name="submit" value="submit"/>\r\n                        <button type="submit" class="btn btn-success btnModal noBeforeUnload">\r\n                            <i class="glyphicon glyphicon-envelope"></i> &nbsp; {{_t \'modal.send email\'}}\r\n                        </button>\r\n\r\n                        <label class="checkbox">\r\n                            <input type="checkbox" required name="privacy" id="privacy"/> &nbsp;\r\n                            {{_t \'modal.by sending emails, you accept and agree to our\'}}\r\n                            <a href="{{ urls.privacy }}" target="_blank">{{_t \'modal.privacy policy\'}}</a>\r\n                        </label>\r\n                    </div>\r\n                </form>\r\n\r\n                <div class="alert alert-success display-none success-message"></div>\r\n                <div class="alert alert-danger display-none errors-message"></div>\r\n            </div>\r\n\r\n            \x3c!--\r\n            <div class="modal-footer">\r\n                <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button>\r\n                .. btns ...\r\n            </div>\r\n            --\x3e\r\n\r\n        </div>\x3c!-- /.modal-content --\x3e\r\n    </div>\x3c!-- /.modal-dialog --\x3e\r\n</div>\x3c!-- /.modal --\x3e'}),define("text!templates/modal_items.html",[],function(){
  return'<ul class="list-group">\r\n    {{#each cartItems}}\r\n    <li class="list-group-item cart-service-{{this.id}}">\r\n        <div class="row">\r\n            <div class="col-sm-8">{{this.service_name}}</div>\r\n            <div class="col-sm-4">€ {{this.readable_period_total}}</div>\r\n\r\n            <input type="hidden" name="services[{{ this.id }}-{{ this.num }}][id]" value="{{ this.id }}"/>\r\n            <input type="hidden" name="services[{{ this.id }}-{{ this.num }}][period_total]" value="{{ this.period_total }}"/>\r\n            <input type="hidden" name="services[{{ this.id }}-{{ this.num }}][service_name]" value="{{this.service_name}}"/>\r\n        </div>\r\n    </li>\r\n    {{else}}\r\n    <li class="list-group-item text-danger text-center nothingMessage">{{_t \'modal.add services and accomodations from the table\'}} &nbsp;\r\n        <i class="glyphicon glyphicon-remove-circle"></i></li>\r\n    {{/each}}\r\n    <div class="panel-footer">\r\n        <div class="row">\r\n            <div class="col-sm-8">{{_t \'cart.total\'}}:</div>\r\n            <div class="col-sm-4"><strong>€ {{ readable_grand_total }}</strong></div>\r\n\r\n            <input type="hidden" name="params[grand_total]" value="{{ grand_total }}"/>\r\n        </div>\r\n    </div>\r\n</ul>'}),define("text!templates/I18n.json",[],function(){return'{\r\n  "it": {\r\n    "pricelist.render error": "Errore durante la generazione del listino prezzi :(",\r\n    "datepicker.arrival": "Arrivo",\r\n    "datepicker.departure": "Partenza",\r\n    "datepicker.adults": "Adulti",\r\n    "datepicker.children": "Bambini",\r\n    "datepicker.children_age": "Età bambino",\r\n    "datepicker.no more children": "Non più di 4 bambini",\r\n    "datepicker.search": "Calcola",\r\n    "cart.summary": "Riepilogo",\r\n    "cart.get quote": "Richiedi Preventivo",\r\n    "cart.total": "Totale",\r\n    "cart.add services and accomodations from the table": "Aggiungi servizi e alloggi dalla tabella",\r\n    "modal.send quote": "Invia Preventivo",\r\n    "modal.email": "Email",\r\n    "modal.first name last name": "Nome Cognome",\r\n    "modal.note": "Messaggio",\r\n    "modal.your request": "Riepilogo ordine",\r\n    "modal.check in": "Arrivo",\r\n    "modal.check out": "Partenza",\r\n    "modal.your services": "Camera scelta",\r\n    "modal.by sending emails, you accept and agree to our": "Acconsento al trattamento dei dati per le finalità indicate nella",\r\n    "modal.privacy policy": "Privacy Policy",\r\n    "modal.add services and accomodations from the table": "Aggiungi servizi e accomodazioni dalla tabella",\r\n    "modal.send email": "Invia Email",\r\n    "modal.for another quote": "Se vuoi ricevere un altro preventivo fai un\'altra ricerca!",\r\n    "modal.send error": "Errore durante l\'invio, per favore riprova!"\r\n  },\r\n  "fr": {\r\n    "pricelist.render error": "Erreur lors de la génération de la liste de prix",\r\n    "datepicker.arrival": "Arrivée",\r\n    "datepicker.departure": "Depart",\r\n    "datepicker.adults": "Adultes",\r\n    "datepicker.children": "Enfants",\r\n    "datepicker.children_age": "âge de l\'enfant",\r\n    "datepicker.no more children": "Pas plus de 4 enfants",\r\n    "datepicker.search": "Calcule",\r\n    "cart.summary": "Résumé",\r\n    "cart.get quote": "Obtenez un devis",\r\n    "cart.total": "Total",\r\n    "cart.add services and accomodations from the table": "Ajouter des services et des hébergements à partir de la table",\r\n    "modal.send quote": "Envoyer devis",\r\n    "modal.email": "Email",\r\n    "modal.first name last name": "Nom Prénom",\r\n    "modal.note": "Message",\r\n    "modal.your request": "Récapitulatif de la commande",\r\n    "modal.check in": "Arrivée",\r\n    "modal.check out": "Depart",\r\n    "modal.your services": "Choix Maison",\r\n    "modal.by sending emails, you accept and agree to our": "Je consens au traitement des données fournies aux fins indiquées par les informations sur le",\r\n    "modal.privacy policy": "Privacy Policy",\r\n    "modal.add services and accomodations from the table": "Ajouter des services et des hébergements à partir de la table",\r\n    "modal.send email": "Envoyer Email",\r\n    "modal.for another quote": "Si vous souhaitez recevoir un autre devis, faites une autre recherche svp!",\r\n    "modal.send error": "Erreur lors de l\'envoi, veuillez réessayer!"\r\n  },\r\n  "en": {\r\n    "pricelist.render error": "Error while generating price list",\r\n    "datepicker.arrival": "Arrival",\r\n    "datepicker.departure": "Departure",\r\n    "datepicker.adults": "Adults",\r\n    "datepicker.children": "Children",\r\n    "datepicker.children_age": "Child Age",\r\n    "datepicker.no more children": "No more than 4 children",\r\n    "datepicker.search": "Calculate",\r\n    "cart.summary": "Summary",\r\n    "cart.get quote": "Get Quote",\r\n    "cart.total": "Total",\r\n    "cart.add services and accomodations from the table": "Add services and accomodations from the table",\r\n    "modal.send quote": "Send Quote",\r\n    "modal.email": "Email",\r\n    "modal.first name last name": "First/Last Name",\r\n    "modal.note": "Message",\r\n    "modal.your request": "Your Request",\r\n    "modal.check in": "Arrival",\r\n    "modal.check out": "Departure",\r\n    "modal.your services": "Chosed room",\r\n    "modal.by sending emails, you accept and agree to our": "I consent the processing of data provided for the purposes indicated by the information on the",\r\n    "modal.privacy policy": "Privacy Policy",\r\n    "modal.add services and accomodations from the table": "Add services and accomodations from the table",\r\n    "modal.send email": "Send Email",\r\n    "modal.for another quote": "If you wish to receive another quote, please make another search!",\r\n    "modal.send error": "Error while sending, please retry!"\r\n  },\r\n  "de": {\r\n    "pricelist.render error": "Fehler bei der Erstellung der Preisliste",\r\n    "datepicker.arrival": "Ankunft",\r\n    "datepicker.departure": "Abfahrt",\r\n    "datepicker.adults": "Erwachsene",\r\n    "datepicker.children": "Kinder",\r\n    "datepicker.children_age": "Alter des Kindes",\r\n    "datepicker.no more children": "Nicht mehr als 4 Kinder",\r\n    "datepicker.search": "Berechnet",\r\n    "cart.summary": "Zusammenfassung",\r\n    "cart.get quote": "Erhalten Zitat",\r\n    "cart.total": "Gesamt",\r\n    "cart.add services and accomodations from the table": "Services bei und Unterkünfte aus der Tabelle",\r\n    "modal.send quote": "Senden zitat",\r\n    "modal.email": "Email",\r\n    "modal.first name last name": "Name Nachname",\r\n    "modal.note": "Nachricht",\r\n    "modal.your request": "Bestellübersicht",\r\n    "modal.check in": "Ankunft",\r\n    "modal.check out": "Abfahrt",\r\n    "modal.your services": "Haus Wahl",\r\n    "modal.by sending emails, you accept and agree to our": "Ich stimme der Verarbeitung von Daten zu, die zu den in den Informationen auf der Website angegebenen Zwecken bereitgestellt werden",\r\n    "modal.privacy policy": "Privacy Policy",\r\n    "modal.add services and accomodations from the table": "Services bei und Unterkünfte aus der Tabelle",\r\n    "modal.send email": "E-Mail Senden",\r\n    "modal.for another quote": "Wenn Sie ein weiteres Angebot erhalten möchten, bitte führen Sie eine andere Suche durch!",\r\n    "modal.send error": "Fehler beim Senden, bitte versuchen Sie es erneut!"\r\n  },\r\n  "pl": {\r\n    "pricelist.render error": "Błąd podczas generowania cennika",\r\n    "datepicker.title": "Oblicza Uprzedniej",\r\n    "datepicker.arrival": "Data przyjazdu",\r\n    "datepicker.departure": "Data wyjazdu",\r\n    "datepicker.adults": "Dorośli",\r\n    "datepicker.children": "Dzieci",\r\n    "datepicker.children_age": "Wiek dziecka",\r\n    "datepicker.no more children": "Nie więcej niż 4 dzieci",\r\n    "datepicker.search": "Oblicza",\r\n    "cart.summary": "Przegląd",\r\n    "cart.get quote": "Wymagaj uprzedniej",\r\n    "cart.total": "Całkowity",\r\n    "cart.add services and accomodations from the table": "Dodaj usługi i zakwaterowanie od stołu",\r\n    "modal.send quote": "Przesyła Uprzedniej",\r\n    "modal.email": "Adres e-mail",\r\n    "modal.first name last name": "Imię Nazwisko",\r\n    "modal.note": "Wiadomość",\r\n    "modal.your request": "Przegląd porządku",\r\n    "modal.check in": "Data przyjazdu",\r\n    "modal.check out": "Data wyjazdu",\r\n    "modal.your services": "Servizi selezionati",\r\n    "modal.by sending emails, you accept and agree to our": "Poprzez przesłanie e-mail Użytkownik zgadza się i zgody naszą",\r\n    "modal.privacy policy": "Privacy Policy",\r\n    "modal.add services and accomodations from the table": "Dodaj usługi i zakwaterowanie od stołu",\r\n    "modal.send email": "Wyślij e-mail",\r\n    "modal.for another quote": "Jeśli chcesz otrzymać inną wycenę, przeprowadź kolejne wyszukiwanie!",\r\n    "modal.send error": "Błąd wysyłania, spróbuj ponownie!"\r\n  },\r\n  "nl": {\r\n    "pricelist.render error": "Fout tijdens het genereren van de prijslijst",\r\n    "datepicker.title": "Berekent Citaat",\r\n    "datepicker.arrival": "Incheckdatum",\r\n    "datepicker.departure": "Uitcheckdatum",\r\n    "datepicker.adults": "Volwassenen",\r\n    "datepicker.children": "Kinderen",\r\n    "datepicker.children_age": "Leeftijd van het kind",\r\n    "datepicker.no more children": "Niet meer dan 4 kinderen",\r\n    "datepicker.search": "Berekent",\r\n    "cart.summary": "Overzicht",\r\n    "cart.get quote": "Vraag Citaat",\r\n    "cart.total": "Totaal",\r\n    "cart.add services and accomodations from the table": "Toe te voegen accommodatie en diensten uit de tabel",\r\n    "modal.send quote": "Stuur Citaat",\r\n    "modal.email": "E-mailadres",\r\n    "modal.first name last name": "Naam Achternaam",\r\n    "modal.note": "Bericht",\r\n    "modal.your request": "Samenvatting van de bestelling",\r\n    "modal.check in": "Incheckdatum",\r\n    "modal.check out": "Uitcheckdatum",\r\n    "modal.your services": "geselecteerde services",\r\n    "modal.by sending emails, you accept and agree to our": "Door het versturen van de e-mail, accepteert u en gaat ermee akkoord onze",\r\n    "modal.privacy policy": "Privacy Policy",\r\n    "modal.add services and accomodations from the table": "Toe te voegen accommodatie en diensten uit de tabel",\r\n    "modal.send email": "Sturen E-mail",\r\n    "modal.for another quote": "Als u nog een prijsopgave wilt ontvangen, doe dan een nieuwe zoekopdracht!",\r\n    "modal.send error": "Fout bij verzenden, probeer opnieuw!"\r\n  }\r\n}'}),define("withPricelist",["jquery","number","datepicker","handlebars","bootstrap","text!templates/master.layout.html","text!templates/cart.html","text!templates/cart_items.html","text!templates/modal.html","text!templates/modal_items.html","text!templates/I18n.json"],function(t,e,n,i,r,a,s,o,l,c,u){var h=function(t){this.pricelist=t,this.withData={},this.withAllData=h.prototype.withAllData,this.cartData={},this.cartItems={}};return h.prototype.pricelist={},h.prototype.debug=!1,h.prototype.lang="auto",h.prototype.withData={},h.prototype.withAllData={urls:{privacy:"/privacy-policy"}},h.prototype.cartData={},h.prototype.cartItems={},h.prototype.clog=function(t){this.debug&&console.info(t)},h.prototype.setPageData=function(){var e,n=this.pricelist.attr("data-with-slug"),i=this.pricelist.attr("data-with-id"),r=this.pricelist.attr("data-checkinout"),a=this.pricelist.attr("data-checkin"),s=this.pricelist.attr("data-checkout");void 0!==this.pricelist.attr("data-with-lang")?this.withData.lang=this.pricelist.attr("data-with-lang"):this.withData.lang=this.getLanguage(),void 0!==t("#withPricelistScript").attr("data-fallback-lang")&&(this.withData.fallback_lang=t("#withPricelistScript").attr("data-fallback-lang")),e=void 0===n||0==n.length?i:n,this.withData.id=e,void 0!==this.pricelist.attr("data-with-services")&&(this.withData.only_services=this.pricelist.attr("data-with-services"),this.clog("0.1 - Data Show Only Services: "+this.withData.only_services)),void 0!==a&&a.length>0&&void 0!==s&&s.length>0?(this.withData.check_in=a,this.withData.check_out=s,this.clog("0.2 - Set CheckIn - Out: "+a+" - "+s)):void 0!==r&&r.length>0&&(this.withData.check_inout=r,this.clog("0.2 - Set CheckInOut: "+r));var o=this.pricelist.attr("data-with-adults"),l=this.pricelist.attr("data-with-children"),c=this.pricelist.attr("data-with-children-age");this.withData.adults=void 0===o||0==o.length?1:o,this.withData.children=void 0===l||0==l.length?0:l,this.withData.children_age=void 0===c||0==c.length?[]:c.split(",");var u=window.location.href,h=new URL(u);h.searchParams.has("access_token")&&(this.withData.access_token=h.searchParams.get("access_token"),this.clog("0 - setCustomAccessToken"),this.clog(this.withData.access_token)),void 0!==this.pricelist.attr("data-with-description")&&("false"!=this.pricelist.attr("data-with-description")&&0!=this.pricelist.attr("data-with-description")||(this.withData.opt={opt_pricelist_description:!1},this.clog("0.3 - This Pricelist Disable Description!"))),this.clog("0.9 - setPageData"),this.clog(this.withData)},h.prototype.setFormData=function(e){(void 0===e.length||e.length>0)&&(e=t(".period",this.pricelist));var n={},i="",r="",a=[];e.serializeArray().map(function(t){"check_in"==t.name?i=t.value:"check_out"==t.name?r=t.value:"children_age[]"==t.name?a.push(t.value):n[t.name]=t.value}),n.check_inout=i+"-"+r,n.children_age=a,t.extend(this.withData,n),this.clog("setFormData"),this.clog(this.withData)},h.prototype.initPricelist=function(){this.setPageData();var e=this;try{u=t.parseJSON(u)}catch(t){}i.registerHelper("_t",function(t){return e.trans(t)}),t.ajax({url:requirejs.toUrl("")+"requests.php",method:"GET",dataType:"json",data:e.withData,success:function(t){t.success?(e.pricelist.find(".btnSearch").prop("disabled",!1),void 0!==e.withData.check_inout||void 0!==e.withData.with_check_in?t.opt.opt_pricelist_cart_modal=!0:t.opt.opt_pricelist_cart_modal=!1,e.renderPricelist(t),e.clog("1 - Pricelist generated")):e.pricelist.html('<span class="help-block alert alert-danger">'+t.message+"</span>")},error:function(){e.pricelist.html('<span class="help-block alert alert-danger">'+e.trans("pricelist.render error")+"</span>")}})},h.prototype.updatePricelist=function(){this.pricelist.find(".btnSearch").prop("disabled",!0),t(".pricelistTable",this.pricelist).find(".pricelistResult").addClass("table_loader_center").hide("fast",function(){t(this).html('<tr><td colspan="'+t(".pricelistTable",this.pricelist).find("thead th").length+'"><img src="'+requirejs.toUrl("")+'img/loader.svg" class="loader_table" /></td></tr>').show()}),this.setFormData(t(".period",this.pricelist));var e=this;t.ajax({url:requirejs.toUrl("")+"requests.php",method:"GET",dataType:"json",data:e.withData,success:function(n){n.success?(e.pricelist.find(".btnSearch").prop("disabled",!1),t(".pricelistTable",e.pricelist).find("tbody").removeClass("table_loader_center"),n.opt.opt_pricelist_cart_modal=n.opt.opt_pricelist_search,e.renderPricelist(n),e.clog("6 - Pricelist updated"),e.clog("3 - Pricelist totals counter"),e.initCart()):(e.pricelist.find(".btnSearch").prop("disabled",!1),e.pricelist.find(".pricelistTable").html('<span class="help-block alert alert-danger">'+n.message+"</span>"))},error:function(){e.pricelist.find(".btnSearch").prop("disabled",!1),e.pricelist.find(".pricelistTable").html('<span class="help-block alert alert-danger">'+e.trans("pricelist.render error")+"</span>")}})},h.prototype.renderPricelist=function(e){this.clog("renderData"),this.clog(e);var n=i.compile(a);if(e.opt.opt_pricelist_cart_modal){var r=i.compile(s),u=i.compile(o),h=i.compile(l),p=i.compile(c);i.registerPartial("withCart",r),i.registerPartial("withCartItems",u),i.registerPartial("withModal",h),i.registerPartial("withModalItems",p)}var d={urls:this.withAllData.urls};this.withAllData=t.extend(e,this.withData,d),this.pricelist.html(n(this.withAllData)),this.clog("#Pricelist rendered"),t("[data-toggle=tooltip]").tooltip(),e.opt.opt_pricelist_search&&(this.clog("2 - Pricelist search opt enabled"),void 0===this.withData.check_inout&&void 0===this.withData.with_check_in||(this.clog("3 - Pricelist totals counter"),this.initCart()),this.clog("4 - Pricelist datepicker"),this.initDatepicker())},h.prototype.submitModal=function(e){this.pricelist.find(".btnModal").prop("disabled",!0),this.pricelist.find(".success-message").hide(),this.pricelist.find(".errors-message").hide();var n=e.serialize();if(void 0!==this.withData.children_age&&this.withData.children_age.length>0&&(n=n+"&params[children_age]="+this.withData.children_age.toString()),"undefined"!=typeof cookieToString&&void 0!==cookieToString("js_referral")){var i="";void 0!==cookieToString("js_referral_returned")&&(i=" - Referral 2: "+cookieToString("js_referral_returned")),n=n+"&params[ga_refferer]="+cookieToString("js_referral")+i}var r=this;t.ajax({url:requirejs.toUrl("")+"post_requests.php",method:"POST",dataType:"json",data:n,success:function(t){t.success?(r.pricelist.find(".btnModal").prop("disabled",!1),r.pricelist.find(".success-message").html('<h3 class="text-success text-center">'+t.message+'</h3><h1 class="text-center"><i class="glyphicon glyphicon-ok text-success"></i></h1>').show(),r.pricelist.find(".modal-form").html('<h5 class="text-center">'+r.trans("modal.for another quote")+"</h5>"),r.clog("5 - Modal Form Submitted")):(r.pricelist.find(".btnModal").prop("disabled",!1),r.pricelist.find(".errors-message").html('<p class="text-danger text-center">'+t.message+' <i class="glyphicon glyphicon-remove text-danger"></i></p>').show())},error:function(){r.pricelist.find(".btnModal").prop("disabled",!1),r.pricelist.find(".errors-message").html('<p class="text-danger text-center">'+r.trans("modal.send error")+' <i class="glyphicon glyphicon-remove text-danger"></i></p>').show()}})},h.prototype.cartTotals=function(){this.cartItems={},t(".pt-grand-total-all-periods",this.pricelist).number(0,2,","," ").attr("data-amount",0);var e=0,n=this;t(".pt-num-cell .num",this.pricelist).each(function(){for(var i=parseInt(t(this).val()),r=i||0,a=1;a<=r;a++){var s=parseInt(t(this).attr("data-id")),o=parseFloat(t(".pt-total-all-periods-"+s,n.pricelist).attr("data-amount")),l=t(".pt-total-all-periods-"+s,n.pricelist).attr("data-service-name"),c=r*o,u=c||0;t(".pt-total-all-periods-"+s,n.pricelist).number(o,2,","," ");var h=t(".pt-total-all-periods-"+s,n.pricelist).text();t(".pt-grand-total-all-periods-"+s,n.pricelist).number(u,2,","," ").attr("data-amount",u),n.cartItems[s+"-"+a]={id:s,num:a,service_name:l,period_total:o,readable_period_total:h},n.clog("3.3 - Aggiunto: "+s+"/"+r+" name: "+l+" price: "+o),e+=o,n.clog("3.4 - Calcolo: "+o+" +")}}),this.clog(this.cartItems),t(".pt-grand-total",this.pricelist).number(e,2,","," "),this.clog("3.5 - Totale: "+e),this.cartData.grand_total=e,this.cartData.readable_grand_total=t(".pt-grand-total",this.pricelist).first().text(),this.updateCartItems()},h.prototype.addToCart=function(e){var n,i=parseInt(t(".service"+e+" .pt-num-cell .num",this.pricelist).val());i=isNaN(i)?0:i,n=i+1,t(".service"+e+" .pt-num-cell .num",this.pricelist).val(n),this.cartTotals()},h.prototype.removeFromCart=function(e,n){delete this.cartItems[e];var i,r=parseInt(t(".service"+n+" .pt-num-cell .num",this.pricelist).val());i=r-1<=0?0:r-1,t(".service"+n+" .pt-num-cell .num",this.pricelist).val(i),this.cartTotals()},h.prototype.updateCartItems=function(){this.cartData.cartItems=this.cartItems;var e=i.compile(o);t(".withCart .withCartContent",this.pricelist).html(e(this.cartData));var n=i.compile(c);t(".modal",this.pricelist).find(".modal-list").html(n(this.cartData))},h.prototype.initCart=function(){var e=this;this.pricelist.hasClass("cart_enabled")?this.clog("3.2 - Cart yet here"):(this.pricelist.addClass("cart_enabled"),this.clog("3.1 - Cart events enabled"),this.pricelist.on("change",".pt-num-cell input.num",function(){e.cartTotals()}),t(this.pricelist).on("submit",".modal-form",function(){return e.submitModal(t(this)),!1}),this.pricelist.on("click",".add-service",function(){e.addToCart(t(this).attr("data-service-id"))}),t(this.pricelist).on("click",".withCartBox .remove",function(){e.removeFromCart(t(this).attr("data-service-index"),t(this).attr("data-service-id"))})),this.cartTotals()},h.prototype.initDatepicker=function(){var e=this;if(this.pricelist.find(".period").hasClass("dp_enabled"))this.clog("4.2 - Datapicker yet here");else{this.clog("4.1 - Datapicker init");var n=this.pricelist.find(".period");n.addClass("dp_enabled");var i=new Date,r=new Date(this.withAllData.iso_start_date),a=new Date(this.withAllData.iso_end_date),s=n.attr("data-lang");switch(void 0!==s&&0!=s.length||(s=t("html").attr("lang")),void 0!==s&&0!=s.length&&"en"!=s||(s="en-GB"),i.getTime()>r.getTime()&&(r=i),s){case"it":t.fn.datepicker.dates.it={days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],daysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthsShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],today:"Oggi",monthsTitle:"Mesi",clear:"Cancella",weekStart:1,format:"dd/mm/yyyy"};break;case"fr":t.fn.datepicker.dates.fr={days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],daysShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],daysMin:["d","l","ma","me","j","v","s"],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthsShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],today:"Aujourd'hui",monthsTitle:"Mois",clear:"Effacer",weekStart:1,format:"dd/mm/yyyy"};break;case"de":t.fn.datepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],daysShort:["Son","Mon","Die","Mit","Don","Fre","Sam"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",monthsTitle:"Monate",clear:"Löschen",weekStart:1,format:"dd.mm.yyyy"};break;case"pl":t.fn.datepicker.dates.pl={days:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],daysShort:["niedz.","pon.","wt.","śr.","czw.","piąt.","sob."],daysMin:["ndz.","pn.","wt.","śr.","czw.","pt.","sob."],months:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],monthsShort:["sty.","lut.","mar.","kwi.","maj","cze.","lip.","sie.","wrz.","paź.","lis.","gru."],today:"dzisiaj",weekStart:1,clear:"wyczyść",format:"dd.mm.yyyy"};break;case"nl":t.fn.datepicker.dates.nl={days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],daysShort:["zo","ma","di","wo","do","vr","za"],daysMin:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthsShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],today:"Vandaag",monthsTitle:"Maanden",clear:"Wissen",weekStart:1,format:"dd-mm-yyyy"};break;case"hu":t.fn.datepicker.dates.hu={days:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],daysShort:["vas","hét","ked","sze","csü","pén","szo"],daysMin:["V","H","K","Sze","Cs","P","Szo"],months:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],monthsShort:["jan","feb","már","ápr","máj","jún","júl","aug","sze","okt","nov","dec"],today:"ma",weekStart:1,clear:"töröl",titleFormat:"yyyy. MM",format:"yyyy.mm.dd"}}n.datepicker({startDate:r.getDate()+"/"+(r.getMonth()+1)+"/"+r.getFullYear(),endDate:a.getDate()+"/"+(a.getMonth()+1)+"/"+a.getFullYear(),format:"dd/mm/yyyy",inputs:t(".range",n),todayHighlight:!0,todayBtn:"linked",daysOfWeekHighlighted:"0",zIndexOffset:9999,orientation:"bottom",autoclose:!0,language:s}),t(".checkin",n).datepicker().on("changeDate",function(e){t(".checkout",n).focus()}),n.on("submit",function(t){return e.clog("4.3 - Datapicker send new request"),e.updatePricelist(),e.cartItems={},e.updateCartItems(),!1})}},h.prototype.setLanguage=function(e){if(e.length||(e="auto"),"auto"==e&&(e=t("html").attr("lang"),!e.length)){e=(navigator.language||navigator.userLanguage).split("-")[0]}return e.length?this.lang=e:this.lang.length||(this.lang="it"),this.lang},h.prototype.getLanguage=function(){return this.lang.length>0&&"auto"!=this.lang?this.lang:this.setLanguage("auto")},h.prototype.trans=function(t){var e,n=this.getLanguage();return void 0!==u[n]?void 0!==u[n][t]?e=u[n][t]:(e=t.substr(t.indexOf(".")+1),e=e.charAt(0).toUpperCase()+e.slice(1),console.error("Missed translate: "+n+" - for: "+t)):(e=t.substr(t.indexOf(".")+1),e=e.charAt(0).toUpperCase()+e.slice(1),console.error("Missed entire language: "+n+" - when translating: "+t)),e},h}),requirejs.config({paths:{bootstrap:"bower_components/bootstrap/dist/js/bootstrap",jquery:"bower_components/jquery/dist/jquery.min",number:"bower_components/jquery-number/jquery.number.min",datepicker:"bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min",handlebars:"bower_components/handlebars/handlebars.amd",text:"bower_components/text/text"},shim:{bootstrap:{exports:"bootstrap",deps:["jquery"]},datepicker:{exports:"datepicker",deps:["jquery","bootstrap"]},number:{exports:"number",deps:["jquery"]}}});var withBaseUrl=requirejs.toUrl(""),requirecss=[];requirejs(["withPricelist"],function(t){for(var e in requirecss)!function(t){var e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=t,document.getElementsByTagName("head")[0].appendChild(e)}(requirecss[e]);$pricelists=$(".withPricelist"),$pricelists.html('<img src="'+withBaseUrl+'img/loader.svg" class="loader" />');var n=1,i=[];$pricelists.each(function(){var e=$(this);i[n]=new t(e),i[n].initPricelist(),n++})}),define("main",function(){});