vendor: 42,777 bytes, lines 1-2
1Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,i=function(){},o=function(){return n.apply(this instanceof i&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(i.prototype=this.prototype),o.prototype=new i,o}),function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=pe.type(e);return"function"!==n&&!pe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t,n){if(pe.isFunction(t))return pe.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return pe.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ke.test(t))return pe.filter(t,e,n);t=pe.filter(t,e)}return pe.grep(e,function(e){return pe.inArray(e,t)>-1!==n})}function o(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function r(e){var t={};return pe.each(e.match(Me)||[],function(e,n){t[n]=!0}),t}function s(){ie.addEventListener?(ie.removeEventListener("DOMContentLoaded",a),e.removeEventListener("load",a)):(ie.detachEvent("onreadystatechange",a),e.detachEvent("onload",a))}function a(){(ie.addEventListener||"load"===e.event.type||"complete"===ie.readyState)&&(s(),pe.ready())}function l(e,t,n){if(n===undefined&&1===e.nodeType){var i="data-"+t.replace(ze,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Pe.test(n)?pe.parseJSON(n):n)}catch(e){}pe.data(e,t,n)}else n=undefined}return n}function u(e){var t;for(t in e)if(("data"!==t||!pe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,i){if(Ee(e)){var o,r,s=pe.expando,a=e.nodeType,l=a?pe.cache:e,u=a?e[s]:e[s]&&s;if(u&&l[u]&&(i||l[u].data)||n!==undefined||"string"!=typeof t)return u||(u=a?e[s]=ne.pop()||pe.guid++:s),l[u]||(l[u]=a?{}:{toJSON:pe.noop}),"object"!=typeof t&&"function"!=typeof t||(i?l[u]=pe.extend(l[u],t):l[u].data=pe.extend(l[u].data,t)),r=l[u],i||(r.data||(r.data={}),r=r.data),n!==undefined&&(r[pe.camelCase(t)]=n),"string"==typeof t?null==(o=r[t])&&(o=r[pe.camelCase(t)]):o=r,o}}function d(e,t,n){if(Ee(e)){var i,o,r=e.nodeType,s=r?pe.cache:e,a=r?e[pe.expando]:pe.expando;if(s[a]){if(t&&(i=n?s[a]:s[a].data)){pe.isArray(t)?t=t.concat(pe.map(t,pe.camelCase)):t in i?t=[t]:(t=pe.camelCase(t),t=t in i?[t]:t.split(" ")),o=t.length;for(;o--;)delete i[t[o]];if(n?!u(i):!pe.isEmptyObject(i))return}(n||(delete s[a].data,u(s[a])))&&(r?pe.cleanData([e],!0):de.deleteExpando||s!=s.window?delete s[a]:s[a]=undefined)}}}function h(e,t,n,i){var o,r=1,s=20,a=i?function(){return i.cur()}:function(){return pe.css(e,t,"")},l=a(),u=n&&n[3]||(pe.cssNumber[t]?"":"px"),c=(pe.cssNumber[t]||"px"!==u&&+l)&&Oe.exec(pe.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do{r=r||".5",c/=r,pe.style(e,t,c+u)}while(r!==(r=a()/l)&&1!==r&&--s)}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=o)),o}function p(e){var t=Be.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function f(e,t){var n,i,o=0,r="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):undefined;if(!r)for(r=[],n=e.childNodes||e;null!=(i=n[o]);o++)!t||pe.nodeName(i,t)?r.push(i):pe.merge(r,f(i,t));return t===undefined||t&&pe.nodeName(e,t)?pe.merge([e],r):r}function m(e,t){for(var n,i=0;null!=(n=e[i]);i++)pe._data(n,"globalEval",!t||pe._data(t[i],"globalEval"))}function g(e){Re.test(e.type)&&(e.defaultChecked=e.checked)}function _(e,t,n,i,o){for(var r,s,a,l,u,c,d,h=e.length,_=p(t),v=[],y=0;y<h;y++)if((s=e[y])||0===s)if("object"===pe.type(s))pe.merge(v,s.nodeType?[s]:s);else if(Ue.test(s)){for(l=l||_.appendChild(t.createElement("div")),u=(qe.exec(s)||["",""])[1].toLowerCase(),d=We[u]||We._default,l.innerHTML=d[1]+pe.htmlPrefilter(s)+d[2],r=d[0];r--;)l=l.lastChild;if(!de.leadingWhitespace&&He.test(s)&&v.push(t.createTextNode(He.exec(s)[0])),!de.tbody)for(s="table"!==u||Ye.test(s)?"<table>"!==d[1]||Ye.test(s)?0:l:l.firstChild,r=s&&s.childNodes.length;r--;)pe.nodeName(c=s.childNodes[r],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(pe.merge(v,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=_.lastChild}else v.push(t.createTextNode(s));for(l&&_.removeChild(l),de.appendChecked||pe.grep(f(v,"input"),g),y=0;s=v[y++];)if(i&&pe.inArray(s,i)>-1)o&&o.push(s);else if(a=pe.contains(s.ownerDocument,s),l=f(_.appendChild(s),"script"),a&&m(l),n)for(r=0;s=l[r++];)$e.test(s.type||"")&&n.push(s);return l=null,_}function v(){return!0}function y(){return!1}function b(){try{return ie.activeElement}catch(e){}}function w(e,t,n,i,o,r){var s,a;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=undefined);for(a in t)w(e,a,n,i,t[a],r);return e}if(null==i&&null==o?(o=n,i=n=undefined):null==o&&("string"==typeof n?(o=i,i=undefined):(o=i,i=n,n=undefined)),!1===o)o=y;else if(!o)return e;return 1===r&&(s=o,o=function(e){return pe().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=pe.guid++)),e.each(function(){pe.event.add(this,t,o,i,n)})}function x(e,t){return pe.nodeName(e,"table")&&pe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function k(e){return e.type=(null!==pe.find.attr(e,"type"))+"/"+e.type,e}function T(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function S(e,t){if(1===t.nodeType&&pe.hasData(e)){var n,i,o,r=pe._data(e),s=pe._data(t,r),a=r.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,o=a[n].length;i<o;i++)pe.event.add(t,n,a[n][i])}s.data&&(s.data=pe.extend({},s.data))}}function C(e,t){var n,i,o;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!de.noCloneEvent&&t[pe.expando]){o=pe._data(t);for(i in o.events)pe.removeEvent(t,i,o.handle);t.removeAttribute(pe.expando)}"script"===n&&t.text!==e.text?(k(t).text=e.text,T(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),de.html5Clone&&e.innerHTML&&!pe.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Re.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function L(e,t,n,i){t=re.apply([],t);var o,r,s,a,l,u,c=0,d=e.length,h=d-1,p=t[0],m=pe.isFunction(p);if(m||d>1&&"string"==typeof p&&!de.checkClone&&nt.test(p))return e.each(function(o){var r=e.eq(o);m&&(t[0]=p.call(this,o,r.html())),L(r,t,n,i)});if(d&&(u=_(t,e[0].ownerDocument,!1,e,i),o=u.firstChild,1===u.childNodes.length&&(u=o),o||i)){for(a=pe.map(f(u,"script"),k),s=a.length;c<d;c++)r=u,c!==h&&(r=pe.clone(r,!0,!0),s&&pe.merge(a,f(r,"script"))),n.call(e[c],r,c);if(s)for(l=a[a.length-1].ownerDocument,pe.map(a,T),c=0;c<s;c++)r=a[c],$e.test(r.type||"")&&!pe._data(r,"globalEval")&&pe.contains(l,r)&&(r.src?pe._evalUrl&&pe._evalUrl(r.src):pe.globalEval((r.text||r.textContent||r.innerHTML||"").replace(ot,"")));u=o=null}return e}function M(e,t,n){for(var i,o=t?pe.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||pe.cleanData(f(i)),i.parentNode&&(n&&pe.contains(i.ownerDocument,i)&&m(f(i,"script")),i.parentNode.removeChild(i));return e}function A(e,t){var n=pe(t.createElement(e)).appendTo(t.body),i=pe.css(n[0],"display");return n.detach(),i}function D(e){var t=ie,n=lt[e];return n||(n=A(e,t),"none"!==n&&n||(at=(at||pe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(at[0].contentWindow||at[0].contentDocument).document,t.write(),t.close(),n=A(e,t),at.detach()),lt[e]=n),n}function E(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function P(e){if(e in kt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=xt.length;n--;)if((e=xt[n]+t)in kt)return e}function z(e,t){for(var n,i,o,r=[],s=0,a=e.length;s<a;s++)i=e[s],i.style&&(r[s]=pe._data(i,"olddisplay"),n=i.style.display,t?(r[s]||"none"!==n||(i.style.display=""),""===i.style.display&&je(i)&&(r[s]=pe._data(i,"olddisplay",D(i.nodeName)))):(o=je(i),(n&&"none"!==n||!o)&&pe._data(i,"olddisplay",o?n:pe.css(i,"display"))));for(s=0;s<a;s++)i=e[s],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?r[s]||"":"none"));return e}function I(e,t,n){var i=yt.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function O(e,t,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===t?1:0,s=0;r<4;r+=2)"margin"===n&&(s+=pe.css(e,n+Fe[r],!0,o)),i?("content"===n&&(s-=pe.css(e,"padding"+Fe[r],!0,o)),"margin"!==n&&(s-=pe.css(e,"border"+Fe[r]+"Width",!0,o))):(s+=pe.css(e,"padding"+Fe[r],!0,o),"padding"!==n&&(s+=pe.css(e,"border"+Fe[r]+"Width",!0,o)));return s}function F(e,t,n){var i=!0,o="width"===t?e.offsetWidth:e.offsetHeight,r=pt(e),s=de.boxSizing&&"border-box"===pe.css(e,"boxSizing",!1,r);if(o<=0||null==o){if(o=ft(e,t,r),(o<0||null==o)&&(o=e.style[t]),ct.test(o))return o;i=s&&(de.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+O(e,t,n||(s?"border":"content"),i,r)+"px"}function j(e,t,n,i,o){return new j.prototype.init(e,t,n,i,o)}function N(){return e.setTimeout(function(){Tt=undefined}),Tt=pe.now()}function R(e,t){var n,i={height:e},o=0;for(t=t?1:0;o<4;o+=2-t)n=Fe[o],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function q(e,t,n){for(var i,o=(B.tweeners[t]||[]).concat(B.tweeners["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,t,e))return i}function $(e,t,n){var i,o,r,s,a,l,u,c=this,d={},h=e.style,p=e.nodeType&&je(e),f=pe._data(e,"fxshow");n.queue||(a=pe._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,pe.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=pe.css(e,"display"),"inline"===("none"===u?pe._data(e,"olddisplay")||D(e.nodeName):u)&&"none"===pe.css(e,"float")&&(de.inlineBlockNeedsLayout&&"inline"!==D(e.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",de.shrinkWrapBlocks()||c.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}));for(i in t)if(o=t[i],Ct.exec(o)){if(delete t[i],r=r||"toggle"===o,o===(p?"hide":"show")){if("show"!==o||!f||f[i]===undefined)continue;p=!0}d[i]=f&&f[i]||pe.style(e,i)}else u=undefined;if(pe.isEmptyObject(d))"inline"===("none"===u?D(e.nodeName):u)&&(h.display=u);else{f?"hidden"in f&&(p=f.hidden):f=pe._data(e,"fxshow",{}),r&&(f.hidden=!p),p?pe(e).show():c.done(function(){pe(e).hide()}),c.done(function(){var t;pe._removeData(e,"fxshow");for(t in d)pe.style(e,t,d[t])});for(i in d)s=q(p?f[i]:0,i,c),i in f||(f[i]=s.start,p&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function H(e,t){var n,i,o,r,s;for(n in e)if(i=pe.camelCase(n),o=t[i],r=e[n],pe.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(s=pe.cssHooks[i])&&"expand"in s){r=s.expand(r),delete e[i];for(n in r)n in e||(e[n]=r[n],t[n]=o)}else t[i]=o}function B(e,t,n){var i,o,r=0,s=B.prefilters.length,a=pe.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=Tt||N(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,r=1-i,s=0,l=u.tweens.length;s<l;s++)u.tweens[s].run(r);return a.notifyWith(e,[u,r,n]),r<1&&l?n:(a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:pe.extend({},t),opts:pe.extend(!0,{specialEasing:{},easing:pe.easing._default},n),originalProperties:t,originalOptions:n,startTime:Tt||N(),duration:n.duration,tweens:[],createTween:function(t,n){var i=pe.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(H(c,u.opts.specialEasing);r<s;r++)if(i=B.prefilters[r].call(u,e,c,u.opts))return pe.isFunction(i.stop)&&(pe._queueHooks(u.elem,u.opts.queue).stop=pe.proxy(i.stop,i)),i;return pe.map(c,q,u),pe.isFunction(u.opts.start)&&u.opts.start.call(e,u),pe.fx.timer(pe.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function W(e){return pe.attr(e,"class")||""}function U(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(Me)||[];if(pe.isFunction(n))for(;i=r[o++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Y(e,t,n,i){function o(a){var l;return r[a]=!0,pe.each(e[a]||[],function(e,a){var u=a(t,n,i);return"string"!=typeof u||s||r[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)}),l}var r={},s=e===Qt;return o(t.dataTypes[0])||!r["*"]&&o("*")}function V(e,t){var n,i,o=pe.ajaxSettings.flatOptions||{};for(i in t)t[i]!==undefined&&((o[i]?e:n||(n={}))[i]=t[i]);return n&&pe.extend(!0,e,n),e}function Z(e,t,n){for(var i,o,r,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),o===undefined&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(s in a)if(a[s]&&a[s].test(o)){l.unshift(s);break}if(l[0]in n)r=l[0];else{for(s in n){if(!l[0]||e.converters[s+" "+l[0]]){r=s;break}i||(i=s)}r=r||i}if(r)return r!==l[0]&&l.unshift(r),n[r]}function G(e,t,n,i){var o,r,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(r=c.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=u[l+" "+r]||u["* "+r]))for(o in u)if(a=o.split(" "),a[1]===r&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[o]:!0!==u[o]&&(r=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e["throws"])t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}function J(e){return e.style&&e.style.display||pe.css(e,"display")}function Q(e){if(!pe.contains(e.ownerDocument||ie,e))return!0;for(;e&&1===e.nodeType;){if("none"===J(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function K(e,t,n,i){var o;if(pe.isArray(t))pe.each(t,function(t,o){n||nn.test(e)?i(e,o):K(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)});else if(n||"object"!==pe.type(t))i(e,t);else for(o in t)K(e+"["+o+"]",t[o],n,i)}function X(){try{return new e.XMLHttpRequest}catch(e){}}function ee(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function te(e){return pe.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var ne=[],ie=e.document,oe=ne.slice,re=ne.concat,se=ne.push,ae=ne.indexOf,le={},ue=le.toString,ce=le.hasOwnProperty,de={},he="1.12.4",pe=function(e,t){return new pe.fn.init(e,t)},fe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,me=/^-ms-/,ge=/-([\da-z])/gi,_e=function(e,t){return t.toUpperCase()};pe.fn=pe.prototype={jquery:he,constructor:pe,selector:"",length:0,toArray:function(){return oe.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:oe.call(this)},pushStack:function(e){var t=pe.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return pe.each(this,e)},map:function(e){return this.pushStack(pe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(oe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:se,sort:ne.sort,splice:ne.splice},pe.extend=pe.fn.extend=function(){var e,t,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||pe.isFunction(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(o=arguments[a]))for(i in o)e=s[i],n=o[i],s!==n&&(u&&n&&(pe.isPlainObject(n)||(t=pe.isArray(n)))?(t?(t=!1,r=e&&pe.isArray(e)?e:[]):r=e&&pe.isPlainObject(e)?e:{},s[i]=pe.extend(u,r,n)):n!==undefined&&(s[i]=n));return s},pe.extend({expando:"jQuery"+(he+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===pe.type(e)},isArray:Array.isArray||function(e){return"array"===pe.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!pe.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==pe.type(e)||e.nodeType||pe.isWindow(e))return!1;try{if(e.constructor&&!ce.call(e,"constructor")&&!ce.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!de.ownFirst)for(t in e)return ce.call(e,t);for(t in e);return t===undefined||ce.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?le[ue.call(e)]||"object":typeof e},globalEval:function(t){t&&pe.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(me,"ms-").replace(ge,_e)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var i,o=0;if(n(e))for(i=e.length;o<i&&!1!==t.call(e[o],o,e[o]);o++);else for(o in e)if(!1===t.call(e[o],o,e[o]))break;return e},trim:function(e){return null==e?"":(e+"").replace(fe,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(n(Object(e))?pe.merge(i,"string"==typeof e?[e]:e):se.call(i,e)),i},inArray:function(e,t,n){var i;if(t){if(ae)return ae.call(t,e,n);for(i=t.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;)e[o++]=t[i++];if(n!==n)for(;t[i]!==undefined;)e[o++]=t[i++];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,s=!n;o<r;o++)!t(e[o],o)!==s&&i.push(e[o]);return i},map:function(e,t,i){var o,r,s=0,a=[];if(n(e))for(o=e.length;s<o;s++)null!=(r=t(e[s],s,i))&&a.push(r);else for(s in e)null!=(r=t(e[s],s,i))&&a.push(r);return re.apply([],a)},guid:1,proxy:function(e,t){var n,i,o;return"string"==typeof t&&(o=e[t],t=e,e=o),pe.isFunction(e)?(n=oe.call(arguments,2),i=function(){return e.apply(t||this,n.concat(oe.call(arguments)))},i.guid=e.guid=e.guid||pe.guid++,i):undefined},now:function(){return+new Date},support:de}),"function"==typeof Symbol&&(pe.fn[Symbol.iterator]=ne[Symbol.iterator]),pe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){le["[object "+t+"]"]=t.toLowerCase()});var ve=function(e){function t(e,t,n,i){var o,r,s,a,l,u,d,p,f=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!i&&((t?t.ownerDocument||t:q)!==P&&E(t),t=t||P,I)){if(11!==m&&(u=_e.exec(e)))if(o=u[1]){if(9===m){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(f&&(s=f.getElementById(o))&&N(t,s)&&s.id===o)return n.push(s),n}else{if(u[2])return K.apply(n,t.getElementsByTagName(e)),n;if((o=u[3])&&w.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(o)),n}if(w.qsa&&!U[e+" "]&&(!O||!O.test(e))){if(1!==m)f=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(ye,"\\$&"):t.setAttribute("id",a=R),d=S(e),r=d.length,l=he.test(a)?"#"+a:"[id='"+a+"']";r--;)d[r]=l+" "+h(d[r]);p=d.join(","),f=ve.test(e)&&c(t.parentNode)||t}if(p)try{return K.apply(n,f.querySelectorAll(p)),n}catch(e){}finally{a===R&&t.removeAttribute("id")}}}return L(e.replace(ae,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>x.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[R]=!0,e}function o(e){var t=P.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function r(e,t){for(var n=e.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=t}function s(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return i(function(t){return t=+t,i(function(n,i){for(var o,r=e([],n.length,t),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function h(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function p(e,t,n){var i=t.dir,o=n&&"parentNode"===i,r=H++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var a,l,u,c=[$,r];if(s){for(;t=t[i];)if((1===t.nodeType||o)&&e(t,n,s))return!0}else for(;t=t[i];)if(1===t.nodeType||o){if(u=t[R]||(t[R]={}),l=u[t.uniqueID]||(u[t.uniqueID]={}),(a=l[i])&&a[0]===$&&a[1]===r)return c[2]=a[2];if(l[i]=c,c[2]=e(t,n,s))return!0}}}function f(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function m(e,n,i){for(var o=0,r=n.length;o<r;o++)t(e,n[o],i);return i}function g(e,t,n,i,o){for(var r,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(r=e[a])&&(n&&!n(r,i,o)||(s.push(r),u&&t.push(a)));return s}function _(e,t,n,o,r,s){return o&&!o[R]&&(o=_(o)),r&&!r[R]&&(r=_(r,s)),i(function(i,s,a,l){var u,c,d,h=[],p=[],f=s.length,_=i||m(t||"*",a.nodeType?[a]:a,[]),v=!e||!i&&t?_:g(_,h,e,a,l),y=n?r||(i?e:f||o)?[]:s:v;if(n&&n(v,y,a,l),o)for(u=g(y,p),o(u,[],a,l),c=u.length;c--;)(d=u[c])&&(y[p[c]]=!(v[p[c]]=d));if(i){if(r||e){if(r){for(u=[],c=y.length;c--;)(d=y[c])&&u.push(v[c]=d);r(null,y=[],u,l)}for(c=y.length;c--;)(d=y[c])&&(u=r?ee(i,d):h[c])>-1&&(i[u]=!(s[u]=d))}}else y=g(y===s?y.splice(f,y.length):y),r?r(null,s,y,l):K.apply(s,y)})}function v(e){for(var t,n,i,o=e.length,r=x.relative[e[0].type],s=r||x.relative[" "],a=r?1:0,l=p(function(e){return e===t},s,!0),u=p(function(e){return ee(t,e)>-1},s,!0),c=[function(e,n,i){var o=!r&&(i||n!==M)||((t=n).nodeType?l(e,n,i):u(e,n,i));return t=null,o}];a<o;a++)if(n=x.relative[e[a].type])c=[p(f(c),n)];else{if(n=x.filter[e[a].type].apply(null,e[a].matches),n[R]){for(i=++a;i<o&&!x.relative[e[i].type];i++);return _(a>1&&f(c),a>1&&h(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),n,a<i&&v(e.slice(a,i)),i<o&&v(e=e.slice(i)),i<o&&h(e))}c.push(n)}return f(c)}function y(e,n){var o=n.length>0,r=e.length>0,s=function(i,s,a,l,u){var c,d,h,p=0,f="0",m=i&&[],_=[],v=M,y=i||r&&x.find.TAG("*",u),b=$+=null==v?1:Math.random()||.1,w=y.length;for(u&&(M=s===P||s||u);f!==w&&null!=(c=y[f]);f++){if(r&&c){for(d=0,s||c.ownerDocument===P||(E(c),a=!I);h=e[d++];)if(h(c,s||P,a)){l.push(c);break}u&&($=b)}o&&((c=!h&&c)&&p--,i&&m.push(c))}if(p+=f,o&&f!==p){for(d=0;h=n[d++];)h(m,_,s,a);if(i){if(p>0)for(;f--;)m[f]||_[f]||(_[f]=J.call(l));_=g(_)}K.apply(l,_),u&&!i&&_.length>0&&p+n.length>1&&t.uniqueSort(l)}return u&&($=b,M=v),m};return o?i(s):s}var b,w,x,k,T,S,C,L,M,A,D,E,P,z,I,O,F,j,N,R="sizzle"+1*new Date,q=e.document,$=0,H=0,B=n(),W=n(),U=n(),Y=function(e,t){return e===t&&(D=!0),0},V=1<<31,Z={}.hasOwnProperty,G=[],J=G.pop,Q=G.push,K=G.push,X=G.slice,ee=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",re=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp(ne+"+","g"),ae=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(re),he=new RegExp("^"+ie+"$"),pe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,_e=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,ye=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},xe=function(){E()};try{K.apply(G=X.call(q.childNodes),q.childNodes),G[q.childNodes.length].nodeType}catch(e){K={apply:G.length?function(e,t){Q.apply(e,X.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}w=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},E=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:q;return i!==P&&9===i.nodeType&&i.documentElement?(P=i,z=P.documentElement,I=!T(P),(n=P.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xe,!1):n.attachEvent&&n.attachEvent("onunload",xe)),w.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=o(function(e){return e.appendChild(P.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ge.test(P.getElementsByClassName),w.getById=o(function(e){return z.appendChild(e).id=R,!P.getElementsByName||!P.getElementsByName(R).length}),w.getById?(x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&I){var n=t.getElementById(e);return n?[n]:[]}},x.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}}):(delete x.find.ID,x.filter.ID=function(e){var t=e.replace(be,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),x.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},x.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&I)return t.getElementsByClassName(e)},F=[],O=[],(w.qsa=ge.test(P.querySelectorAll))&&(o(function(e){z.appendChild(e).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||O.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+R+"-]").length||O.push("~="),e.querySelectorAll(":checked").length||O.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||O.push(".#.+[+~]")}),o(function(e){var t=P.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&O.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||O.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),O.push(",.*:")})),(w.matchesSelector=ge.test(j=z.matches||z.webkitMatchesSelector||z.mozMatchesSelector||z.oMatchesSelector||z.msMatchesSelector))&&o(function(e){w.disconnectedMatch=j.call(e,"div"),j.call(e,"[s!='']:x"),F.push("!=",re)}),O=O.length&&new RegExp(O.join("|")),F=F.length&&new RegExp(F.join("|")),t=ge.test(z.compareDocumentPosition),N=t||ge.test(z.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Y=t?function(e,t){if(e===t)return D=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===P||e.ownerDocument===q&&N(q,e)?-1:t===P||t.ownerDocument===q&&N(q,t)?1:A?ee(A,e)-ee(A,t):0:4&n?-1:1)}:function(e,t){if(e===t)return D=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,a=[e],l=[t];if(!o||!r)return e===P?-1:t===P?1:o?-1:r?1:A?ee(A,e)-ee(A,t):0;if(o===r)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?s(a[i],l[i]):a[i]===q?-1:l[i]===q?1:0},P):P},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==P&&E(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&I&&!U[n+" "]&&(!F||!F.test(n))&&(!O||!O.test(n)))try{var i=j.call(e,n);if(i||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return t(n,P,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==P&&E(e),N(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==P&&E(e);var n=x.attrHandle[t.toLowerCase()],i=n&&Z.call(x.attrHandle,t.toLowerCase())?n(e,t,!I):undefined;return i!==undefined?i:w.attributes||!I?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,o=0;if(D=!w.detectDuplicates,A=!w.sortStable&&e.slice(0),e.sort(Y),D){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return A=null,e},k=t.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=k(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=k(t);return n},x=t.selectors={cacheLength:50,createPseudo:i,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=S(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(o){var r=t.attr(o,e);return null==r?"!="===n:!n||(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(se," ")+" ").indexOf(i)>-1:"|="===n&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,h,p,f,m=r!==s?"nextSibling":"previousSibling",g=t.parentNode,_=a&&t.nodeName.toLowerCase(),v=!l&&!a,y=!1;if(g){if(r){for(;m;){for(h=t;h=h[m];)if(a?h.nodeName.toLowerCase()===_:1===h.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&v){for(h=g,d=h[R]||(h[R]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[e]||[],p=u[0]===$&&u[1],y=p&&u[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(y=p=0)||f.pop();)if(1===h.nodeType&&++y&&h===t){c[e]=[$,p,y];break}}else if(v&&(h=t,d=h[R]||(h[R]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[e]||[],p=u[0]===$&&u[1],y=p), 2!1===y)for(;(h=++p&&h&&h[m]||(y=p=0)||f.pop())&&((a?h.nodeName.toLowerCase()!==_:1!==h.nodeType)||!++y||(v&&(d=h[R]||(h[R]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),c[e]=[$,y]),h!==t)););return(y-=o)===i||y%i==0&&y/i>=0}}},PSEUDO:function(e,n){var o,r=x.pseudos[e]||x.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return r[R]?r(n):r.length>1?(o=[e,e,"",n],x.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,o=r(e,n),s=o.length;s--;)i=ee(e,o[s]),e[i]=!(t[i]=o[s])}):function(e){return r(e,0,o)}):r}},pseudos:{not:i(function(e){var t=[],n=[],o=C(e.replace(ae,"$1"));return o[R]?i(function(e,t,n,i){for(var r,s=o(e,null,i,[]),a=e.length;a--;)(r=s[a])&&(e[a]=!(t[a]=r))}):function(e,i,r){return t[0]=e,o(t,null,r,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(be,we),function(t){return(t.textContent||t.innerText||k(t)).indexOf(e)>-1}}),lang:i(function(e){return he.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var n;do{if(n=I?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===z},focus:function(e){return e===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return fe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},x.pseudos.nth=x.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[b]=a(b);for(b in{submit:!0,reset:!0})x.pseudos[b]=l(b);return d.prototype=x.filters=x.pseudos,x.setFilters=new d,S=t.tokenize=function(e,n){var i,o,r,s,a,l,u,c=W[e+" "];if(c)return n?0:c.slice(0);for(a=e,l=[],u=x.preFilter;a;){i&&!(o=le.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),i=!1,(o=ue.exec(a))&&(i=o.shift(),r.push({value:i,type:o[0].replace(ae," ")}),a=a.slice(i.length));for(s in x.filter)!(o=pe[s].exec(a))||u[s]&&!(o=u[s](o))||(i=o.shift(),r.push({value:i,type:s,matches:o}),a=a.slice(i.length));if(!i)break}return n?a.length:a?t.error(e):W(e,l).slice(0)},C=t.compile=function(e,t){var n,i=[],o=[],r=U[e+" "];if(!r){for(t||(t=S(e)),n=t.length;n--;)r=v(t[n]),r[R]?i.push(r):o.push(r);r=U(e,y(o,i)),r.selector=e}return r},L=t.select=function(e,t,n,i){var o,r,s,a,l,u="function"==typeof e&&e,d=!i&&S(e=u.selector||e);if(n=n||[],1===d.length){if(r=d[0]=d[0].slice(0),r.length>2&&"ID"===(s=r[0]).type&&w.getById&&9===t.nodeType&&I&&x.relative[r[1].type]){if(!(t=(x.find.ID(s.matches[0].replace(be,we),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(o=pe.needsContext.test(e)?0:r.length;o--&&(s=r[o],!x.relative[a=s.type]);)if((l=x.find[a])&&(i=l(s.matches[0].replace(be,we),ve.test(r[0].type)&&c(t.parentNode)||t))){if(r.splice(o,1),!(e=i.length&&h(r)))return K.apply(n,i),n;break}}return(u||C(e,d))(i,t,!I,n,!t||ve.test(e)&&c(t.parentNode)||t),n},w.sortStable=R.split("").sort(Y).join("")===R,w.detectDuplicates=!!D,E(),w.sortDetached=o(function(e){return 1&e.compareDocumentPosition(P.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||r("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||r("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||r(te,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(e);pe.find=ve,pe.expr=ve.selectors,pe.expr[":"]=pe.expr.pseudos,pe.uniqueSort=pe.unique=ve.uniqueSort,pe.text=ve.getText,pe.isXMLDoc=ve.isXML,pe.contains=ve.contains;var ye=function(e,t,n){for(var i=[],o=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&pe(e).is(n))break;i.push(e)}return i},be=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},we=pe.expr.match.needsContext,xe=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ke=/^.[^:#\[\.,]*$/;pe.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?pe.find.matchesSelector(i,e)?[i]:[]:pe.find.matches(e,pe.grep(t,function(e){return 1===e.nodeType}))},pe.fn.extend({find:function(e){var t,n=[],i=this,o=i.length;if("string"!=typeof e)return this.pushStack(pe(e).filter(function(){for(t=0;t<o;t++)if(pe.contains(i[t],this))return!0}));for(t=0;t<o;t++)pe.find(e,i[t],n);return n=this.pushStack(o>1?pe.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(i(this,e||[],!1))},not:function(e){return this.pushStack(i(this,e||[],!0))},is:function(e){return!!i(this,"string"==typeof e&&we.test(e)?pe(e):e||[],!1).length}});var Te,Se=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(pe.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||Te,"string"==typeof e){if(!(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Se.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof pe?t[0]:t,pe.merge(this,pe.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:ie,!0)),xe.test(i[1])&&pe.isPlainObject(t))for(i in t)pe.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if((o=ie.getElementById(i[2]))&&o.parentNode){if(o.id!==i[2])return Te.find(e);this.length=1,this[0]=o}return this.context=ie,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):pe.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(pe):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),pe.makeArray(e,this))}).prototype=pe.fn,Te=pe(ie);var Ce=/^(?:parents|prev(?:Until|All))/,Le={children:!0,contents:!0,next:!0,prev:!0};pe.fn.extend({has:function(e){var t,n=pe(e,this),i=n.length;return this.filter(function(){for(t=0;t<i;t++)if(pe.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,o=this.length,r=[],s=we.test(e)||"string"!=typeof e?pe(e,t||this.context):0;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&pe.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?pe.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?pe.inArray(this[0],pe(e)):pe.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(pe.uniqueSort(pe.merge(this.get(),pe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),pe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ye(e,"parentNode")},parentsUntil:function(e,t,n){return ye(e,"parentNode",n)},next:function(e){return o(e,"nextSibling")},prev:function(e){return o(e,"previousSibling")},nextAll:function(e){return ye(e,"nextSibling")},prevAll:function(e){return ye(e,"previousSibling")},nextUntil:function(e,t,n){return ye(e,"nextSibling",n)},prevUntil:function(e,t,n){return ye(e,"previousSibling",n)},siblings:function(e){return be((e.parentNode||{}).firstChild,e)},children:function(e){return be(e.firstChild)},contents:function(e){return pe.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:pe.merge([],e.childNodes)}},function(e,t){pe.fn[e]=function(n,i){var o=pe.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=pe.filter(i,o)),this.length>1&&(Le[e]||(o=pe.uniqueSort(o)),Ce.test(e)&&(o=o.reverse())),this.pushStack(o)}});var Me=/\S+/g;pe.Callbacks=function(e){e="string"==typeof e?r(e):pe.extend({},e);var t,n,i,o,s=[],a=[],l=-1,u=function(){for(o=e.once,i=t=!0;a.length;l=-1)for(n=a.shift();++l<s.length;)!1===s[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=s.length,n=!1);e.memory||(n=!1),t=!1,o&&(s=n?[]:"")},c={add:function(){return s&&(n&&!t&&(l=s.length-1,a.push(n)),function t(n){pe.each(n,function(n,i){pe.isFunction(i)?e.unique&&c.has(i)||s.push(i):i&&i.length&&"string"!==pe.type(i)&&t(i)})}(arguments),n&&!t&&u()),this},remove:function(){return pe.each(arguments,function(e,t){for(var n;(n=pe.inArray(t,s,n))>-1;)s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?pe.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=!0,n||c.disable(),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},pe.extend({Deferred:function(e){var t=[["resolve","done",pe.Callbacks("once memory"),"resolved"],["reject","fail",pe.Callbacks("once memory"),"rejected"],["notify","progress",pe.Callbacks("memory")]],n="pe
2nding",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return pe.Deferred(function(n){pe.each(t,function(t,r){var s=pe.isFunction(e[t])&&e[t];o[r[1]](function(){var e=s&&s.apply(this,arguments);e&&pe.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this===i?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?pe.extend(e,i):i}},o={};return i.pipe=i.then,pe.each(t,function(e,r){var s=r[2],a=r[3];i[r[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),o[r[0]]=function(){return o[r[0]+"With"](this===o?i:this,arguments),this},o[r[0]+"With"]=s.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,i,o=0,r=oe.call(arguments),s=r.length,a=1!==s||e&&pe.isFunction(e.promise)?s:0,l=1===a?e:pe.Deferred(),u=function(e,n,i){return function(o){n[e]=this,i[e]=arguments.length>1?oe.call(arguments):o,i===t?l.notifyWith(n,i):--a||l.resolveWith(n,i)}};if(s>1)for(t=new Array(s),n=new Array(s),i=new Array(s);o<s;o++)r[o]&&pe.isFunction(r[o].promise)?r[o].promise().progress(u(o,n,t)).done(u(o,i,r)).fail(l.reject):--a;return a||l.resolveWith(i,r),l.promise()}});var Ae;pe.fn.ready=function(e){return pe.ready.promise().done(e),this},pe.extend({isReady:!1,readyWait:1,holdReady:function(e){e?pe.readyWait++:pe.ready(!0)},ready:function(e){(!0===e?--pe.readyWait:pe.isReady)||(pe.isReady=!0,!0!==e&&--pe.readyWait>0||(Ae.resolveWith(ie,[pe]),pe.fn.triggerHandler&&(pe(ie).triggerHandler("ready"),pe(ie).off("ready"))))}}),pe.ready.promise=function(t){if(!Ae)if(Ae=pe.Deferred(),"complete"===ie.readyState||"loading"!==ie.readyState&&!ie.documentElement.doScroll)e.setTimeout(pe.ready);else if(ie.addEventListener)ie.addEventListener("DOMContentLoaded",a),e.addEventListener("load",a);else{ie.attachEvent("onreadystatechange",a),e.attachEvent("onload",a);var n=!1;try{n=null==e.frameElement&&ie.documentElement}catch(e){}n&&n.doScroll&&function t(){if(!pe.isReady){try{n.doScroll("left")}catch(n){return e.setTimeout(t,50)}s(),pe.ready()}}()}return Ae.promise(t)},pe.ready.promise();var De;for(De in pe(de))break;de.ownFirst="0"===De,de.inlineBlockNeedsLayout=!1,pe(function(){var e,t,n,i;(n=ie.getElementsByTagName("body")[0])&&n.style&&(t=ie.createElement("div"),i=ie.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",de.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))}),function(){var e=ie.createElement("div");de.deleteExpando=!0;try{delete e.test}catch(e){de.deleteExpando=!1}e=null}();var Ee=function(e){var t=pe.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},Pe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ze=/([A-Z])/g;pe.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?pe.cache[e[pe.expando]]:e[pe.expando])&&!u(e)},data:function(e,t,n){return c(e,t,n)},removeData:function(e,t){return d(e,t)},_data:function(e,t,n){return c(e,t,n,!0)},_removeData:function(e,t){return d(e,t,!0)}}),pe.fn.extend({data:function(e,t){var n,i,o,r=this[0],s=r&&r.attributes;if(e===undefined){if(this.length&&(o=pe.data(r),1===r.nodeType&&!pe._data(r,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=pe.camelCase(i.slice(5)),l(r,i,o[i])));pe._data(r,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){pe.data(this,e)}):arguments.length>1?this.each(function(){pe.data(this,e,t)}):r?l(r,e,pe.data(r,e)):undefined},removeData:function(e){return this.each(function(){pe.removeData(this,e)})}}),pe.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=pe._data(e,t),n&&(!i||pe.isArray(n)?i=pe._data(e,t,pe.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=pe.queue(e,t),i=n.length,o=n.shift(),r=pe._queueHooks(e,t),s=function(){pe.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return pe._data(e,n)||pe._data(e,n,{empty:pe.Callbacks("once memory").add(function(){pe._removeData(e,t+"queue"),pe._removeData(e,n)})})}}),pe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?pe.queue(this[0],e):t===undefined?this:this.each(function(){var n=pe.queue(this,e,t);pe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&pe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){pe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=pe.Deferred(),r=this,s=this.length,a=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";s--;)(n=pe._data(r[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(t)}}),function(){var e;de.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,i;return(n=ie.getElementsByTagName("body")[0])&&n.style?(t=ie.createElement("div"),i=ie.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(ie.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(i),e):void 0}}();var Ie=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Oe=new RegExp("^(?:([+-])=|)("+Ie+")([a-z%]*)$","i"),Fe=["Top","Right","Bottom","Left"],je=function(e,t){return e=t||e,"none"===pe.css(e,"display")||!pe.contains(e.ownerDocument,e)},Ne=function(e,t,n,i,o,r,s){var a=0,l=e.length,u=null==n;
vendor: 4,549 bytes, line 2
2if("object"===pe.type(n)){o=!0;for(a in n)Ne(e,t,a,n[a],!0,r,s)}else if(i!==undefined&&(o=!0,pe.isFunction(i)||(s=!0),u&&(s?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(pe(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return o?e:u?t.call(e):l?t(e[0],n):r},Re=/^(?:checkbox|radio)$/i,qe=/<([\w:-]+)/,$e=/^$|\/(?:java|ecma)script/i,He=/^\s+/,Be="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var e=ie.createElement("div"),t=ie.createDocumentFragment(),n=ie.createElement("input");e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",de.leadingWhitespace=3===e.firstChild.nodeType,de.tbody=!e.getElementsByTagName("tbody").length,de.htmlSerialize=!!e.getElementsByTagName("link").length,de.html5Clone="<:nav></:nav>"!==ie.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),de.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",de.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=ie.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),de.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,de.noCloneEvent=!!e.addEventListener,e[pe.expando]=1,de.attributes=!e.getAttribute(pe.expando)}();var We={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:de.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};We.optgroup=We.option,We.tbody=We.tfoot=We.colgroup=We.caption=We.thead,We.th=We.td;var Ue=/<|&#?\w+;/,Ye=/<tbody/i;!function(){var t,n,i=ie.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(de[t]=n in e)||(i.setAttribute(n,"t"),de[t]=!1===i.attributes[n].expando);i=null}();var Ve=/^(?:input|select|textarea)$/i,Ze=/^key/,Ge=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Je=/^(?:focusinfocus|focusoutblur)$/,Qe=/^([^.]*)(?:\.(.+)|)/;pe.event={global:{},add:function(e,t,n,i,o){var r,s,a,l,u,c,d,h,p,f,m,g=pe._data(e);if(g){for(n.handler&&(l=n,n=l.handler,o=l.selector),n.guid||(n.guid=pe.guid++),(s=g.events)||(s=g.events={}),(c=g.handle)||(c=g.handle=function(e){return void 0===pe||e&&pe.event.triggered===e.type?undefined:pe.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(Me)||[""],a=t.length;a--;)r=Qe.exec(t[a])||[],p=m=r[1],f=(r[2]||"").split(".").sort(),p&&(u=pe.event.special[p]||{},p=(o?u.delegateType:u.bindType)||p,u=pe.event.special[p]||{},d=pe.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&pe.expr.match.needsContext.test(o),namespace:f.join(".")},l),(h=s[p])||(h=s[p]=[],h.delegateCount=0,u.setup&&!1!==u.setup.call(e,i,f,c)||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,d):h.push(d),pe.event.global[p]=!0);e=null}},remove:function(e,t,n,i,o){var r,s,a,l,u,c,d,h,p,f,m,g=pe.hasData(e)&&pe._data(e);if(g&&(c=g.events)){for(t=(t||"").match(Me)||[""],u=t.length;u--;)if(a=Qe.exec(t[u])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p){for(d=pe.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,h=c[p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=h.length;r--;)s=h[r],!o&&m!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(h.splice(r,1),s.selector&&h.delegateCount--,d.remove&&d.remove.call(e,s));l&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||pe.removeEvent(e,p,g.handle),delete c[p])}else for(p in c)pe.event.remove(e,p+t[u],n,i,!0);pe.isEmptyObject(c)&&(delete g.handle,pe._removeData(e,"events"))}},trigger:function(t,n,i,o){var r,s,a,l,u,c,d,h=[i||ie],p=ce.call(t,"type")?t.type:t,f=ce.call(t,"namespace")?t.namespace.split("."):[];if(a=c=i=i||ie,3!==i.nodeType&&8!==i.nodeType&&!Je.test(p+pe.event.triggered)&&(p.indexOf(".")>-1&&(f=p.split("."),p=f.shift(),f.sort()),s=p.indexOf(":")<0&&"on"+p,t=t[pe.expando]?t:new pe.Event(p,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=f.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+f.
2join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=i),n=null==n?[t]:pe.makeArray(n,[t]),u=pe.event.special[p]||{},o||!u.trigger||!1!==u.trigger.apply(i,n))){if(!o&&!u.noBubble&&!pe.isWindow(i)){for(l=u.delegateType||p,Je.test(l+p)||(a=a.parentNode);a;a=a.parentNode)h.push(a),c=a;c===(i.ownerDocument||ie)&&h.push(c.defaultView||c.parentWindow||e)}for(d=0;(a=h[d++])&&!t.isPropagationStopped();)t.type=d>1?l:u.bindType||p,r=(pe._data(a,"events")||{})[t.type]&&pe._data(a,"handle"),r&&r.apply(a,n),(r=s&&a[s])&&r.apply&&Ee(a)&&(t.result=r.apply(a,n),!1===t.result&&t.preventDefault());if(t.type=p,!o&&!t.isDefaultPrevented()&&(!u._default||!1===u._default.apply(h.pop(),n))&&Ee(i)&&s&&i[p]&&!pe.isWindow(i)){c=i[s],c&&(i[s]=null),pe.event.triggered=p;try{i[p]()}catch(e){}pe.event.triggered=undefined,c&&(i[s]=c)}return t.result}},dispatch:function(e){e=pe.event.fix(e);var t,n,i,o,r,s=[],a=oe.call(arguments),l=(pe._data(this,"events")||{})[e.type]||[],u=pe.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(s=pe.event.handlers.call(this,e,l),t=0;(o=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(r.namespace)||(e.handleObj=r,e.data=r.data,(i=((pe.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))!==undefined&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,o,r,s=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],n=0;n<a;n++)r=t[n],o=r.selector+" ",i[o]===undefined&&(i[o]=r.needsContext?pe(o,this).index(l)>-1:pe.find(o,this,null,[l]).length),i[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},fix:function(e){if(e[pe.expando])return e;var t,n,i,o=e.type,r=e,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=Ge.test(o)?this.mouseHooks:Ze.test(o)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,e=new pe.Event(r),t=i.length;t--;)n=i[t],e[n]=r[n];return e.target||(e.target=r.srcElement||ie),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,r):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,o,r=t.button,s=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=e.target.ownerDocument||ie,o=i.documentElement,n=i.body,e.pageX=t.clientX+(o&&o.scrollLeft||n&&n.scrollLeft||0)-(o&&o.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(o&&o.scrollTop||n&&n.scrollTop||0)-(o&&o.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?t.toElement:s),e.which||r===undefined||(e.which=1&r?1:2&r?3:4&r?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==b()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===b()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(pe.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return pe.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var i=pe.extend(new pe.Event,n,{type:e,isSimulated:!0});pe.event.trigger(i,null,t),i.isDefaultPrevented()&&n.preventDefault()}},pe.removeEvent=ie.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var i="on"+t;e.detachEvent&&("undefined"==typeof e[i]&&(e[i]=null),e.detachEvent(i,n))},pe.Event=function(e,t){if(!(this instanceof pe.Event))return new pe.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?v:y):this.type=e,t&&pe.extend(this,t),this.timeStamp=e&&e.timeStamp||pe.now(),this[pe.expando]=!0},pe.Event.prototype={constructor:pe.Event,isDefaultPrevented:y,isPropagationStopped:y,isImmediatePropagationStopped:y,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=v,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=v,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=v,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}}
vendor: 36,921 bytes, lines 2-3
2,pe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){pe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,o=e.relatedTarget,r=e.handleObj;return o&&(o===i||pe.contains(i,o))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),de.submit||(pe.event.special.submit={setup:function(){if(pe.nodeName(this,"form"))return!1;pe.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=pe.nodeName(t,"input")||pe.nodeName(t,"button")?pe.prop(t,"form"):undefined;n&&!pe._data(n,"submit")&&(pe.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),pe._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&pe.event.simulate("submit",this.parentNode,e))},teardown:function(){if(pe.nodeName(this,"form"))return!1;pe.event.remove(this,"._submit")}}),de.change||(pe.event.special.change={setup:function(){if(Ve.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(pe.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),pe.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),pe.event.simulate("change",this,e)})),!1;pe.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ve.test(t.nodeName)&&!pe._data(t,"change")&&(pe.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||pe.event.simulate("change",this.parentNode,e)}),pe._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return pe.event.remove(this,"._change"),!Ve.test(this.nodeName)}}),de.focusin||pe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){pe.event.simulate(t,e.target,pe.event.fix(e))};pe.event.special[t]={setup:function(){var i=this.ownerDocument||this,o=pe._data(i,t);o||i.addEventListener(e,n,!0),pe._data(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=pe._data(i,t)-1;o?pe._data(i,t,o):(i.removeEventListener(e,n,!0),pe._removeData(i,t))}}}),pe.fn.extend({on:function(e,t,n,i){return w(this,e,t,n,i)},one:function(e,t,n,i){return w(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,pe(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=y),this.each(function(){pe.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){pe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return pe.event.trigger(e,t,n,!0)}});var Ke=/ jQuery\d+="(?:null|\d+)"/g,Xe=new RegExp("<(?:"+Be+")[\\s/>]","i"),et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,tt=/<script|<style|<link/i,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/^true\/(.*)/,ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rt=p(ie),st=rt.appendChild(ie.createElement("div"));pe.extend({htmlPrefilter:function(e){return e.replace(et,"<$1></$2>")},clone:function(e,t,n){var i,o,r,s,a,l=pe.contains(e.ownerDocument,e);if(de.html5Clone||pe.isXMLDoc(e)||!Xe.test("<"+e.nodeName+">")?r=e.cloneNode(!0):(st.innerHTML=e.outerHTML,st.removeChild(r=st.firstChild)),!(de.noCloneEvent&&de.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||pe.isXMLDoc(e)))for(i=f(r),a=f(e),s=0;null!=(o=a[s]);++s)i[s]&&C(o,i[s]);if(t)if(n)for(a=a||f(e),i=i||f(r),s=0;null!=(o=a[s]);s++)S(o,i[s]);else S(e,r);return i=f(r,"script"),i.length>0&&m(i,!l&&f(e,"script")),i=a=o=null,r},cleanData:function(e,t){for(var n,i,o,r,s=0,a=pe.expando,l=pe.cache,u=de.attributes,c=pe.event.special;null!=(n=e[s]);s++)if((t||Ee(n))&&(o=n[a],r=o&&l[o])){if(r.events)for(i in r.events)c[i]?pe.event.remove(n,i):pe.removeEvent(n,i,r.handle);l[o]&&(delete l[o],u||"undefined"==typeof n.removeAttribute?n[a]=undefined:n.removeAttribute(a),ne.push(o))}}}),pe.fn.extend({domManip:L,detach:function(e){return M(this,e,!0)},remove:function(e){return M(this,e)},text:function(e){return Ne(this,function(e){return e===undefined?pe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ie).createTextNode(e))},null,e,arguments.length)},append:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){x(this,e).appendChild(e)}})},prepend:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=x(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&pe.cleanData(f(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&pe.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return pe.clone(this,e,t)})},html:function(e){return Ne(this,function(e){var t=this[0]||{},n=0,i=this.length;if(e===undefined)return 1===t.nodeType?t.innerHTML.replace(Ke,""):undefined;if("string"==typeof e&&!tt.test(e)&&(de.htmlSerialize||!Xe.test(e))&&(de.leadingWhitespace||!He.test(e))&&!We[(qe.exec(e)||["",""])[1].toLowerCase()]){e=pe.htmlPrefilter(e);try{for(;n<i;n++)t=this[n]||{},1===t.nodeType&&(pe.cleanData(f(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return L(this,arguments,function(t){var n=this.parentNode;pe.inArray(this,e)<0&&(pe.cleanData(f(this)),n&&n.replaceChild(t,this))},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){pe.fn[e]=function(e){for(var n,i=0,o=[],r=pe(e),s=r.length-1;i<=s;i++)n=i===s?this:this.clone(!0),pe(r[i])[t](n),se.apply(o,n.get());return this.pushStack(o)}});var at,lt={HTML:"block",BODY:"block"},ut=/^margin/,ct=new RegExp("^("+Ie+")(?!px)[a-z%]+$","i"),dt=function(e,t,n,i){var o,r,s={};for(r in t)s[r]=e.style[r],e.style[r]=t[r];o=n.apply(e,i||[]);for(r in t)e.style[r]=s[r];return o},ht=ie.documentElement;!function(){function t(){var t,c,d=ie.documentElement;d.appendChild(l),u.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",n=o=a=!1,i=s=!0,e.getComputedStyle&&(c=e.getComputedStyle(u),n="1%"!==(c||{}).top,a="2px"===(c||{}).marginLeft,o="4px"===(c||{width:"4px"}).width, 3u.style.marginRight="50%",i="4px"===(c||{marginRight:"4px"}).marginRight,t=u.appendChild(ie.createElement("div")),t.style.cssText=u.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",u.style.width="1px",s=!parseFloat((e.getComputedStyle(t)||{}).marginRight),u.removeChild(t)),u.style.display="none",r=0===u.getClientRects().length,r&&(u.style.display="",u.innerHTML="<table><tr><td></td><td>t</td></tr></table>",u.childNodes[0].style.borderCollapse="separate",t=u.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",(r=0===t[0].offsetHeight)&&(t[0].style.display="",t[1].style.display="none",r=0===t[0].offsetHeight)),d.removeChild(l)}var n,i,o,r,s,a,l=ie.createElement("div"),u=ie.createElement("div");u.style&&(u.style.cssText="float:left;opacity:.5",de.opacity="0.5"===u.style.opacity,de.cssFloat=!!u.style.cssFloat,u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",de.clearCloneStyle="content-box"===u.style.backgroundClip,l=ie.createElement("div"),l.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",u.innerHTML="",l.appendChild(u),de.boxSizing=""===u.style.boxSizing||""===u.style.MozBoxSizing||""===u.style.WebkitBoxSizing,pe.extend(de,{reliableHiddenOffsets:function(){return null==n&&t(),r},boxSizingReliable:function(){return null==n&&t(),o},pixelMarginRight:function(){return null==n&&t(),i},pixelPosition:function(){return null==n&&t(),n},reliableMarginRight:function(){return null==n&&t(),s},reliableMarginLeft:function(){return null==n&&t(),a}}))}();var pt,ft,mt=/^(top|right|bottom|left)$/;e.getComputedStyle?(pt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},ft=function(e,t,n){var i,o,r,s,a=e.style;return n=n||pt(e),s=n?n.getPropertyValue(t)||n[t]:undefined,""!==s&&s!==undefined||pe.contains(e.ownerDocument,e)||(s=pe.style(e,t)),n&&!de.pixelMarginRight()&&ct.test(s)&&ut.test(t)&&(i=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=o,a.maxWidth=r),s===undefined?s:s+""}):ht.currentStyle&&(pt=function(e){return e.currentStyle},ft=function(e,t,n){var i,o,r,s,a=e.style;return n=n||pt(e),s=n?n[t]:undefined,null==s&&a&&a[t]&&(s=a[t]),ct.test(s)&&!mt.test(t)&&(i=a.left,o=e.runtimeStyle,r=o&&o.left,r&&(o.left=e.currentStyle.left),a.left="fontSize"===t?"1em":s,s=a.pixelLeft+"px",a.left=i,r&&(o.left=r)),s===undefined?s:s+""||"auto"});var gt=/alpha\([^)]*\)/i,_t=/opacity\s*=\s*([^)]*)/i,vt=/^(none|table(?!-c[ea]).+)/,yt=new RegExp("^("+Ie+")(.*)$","i"),bt={position:"absolute",visibility:"hidden",display:"block"},wt={letterSpacing:"0",fontWeight:"400"},xt=["Webkit","O","Moz","ms"],kt=ie.createElement("div").style;pe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ft(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":de.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,s,a=pe.camelCase(t),l=e.style;if(t=pe.cssProps[a]||(pe.cssProps[a]=P(a)||a),s=pe.cssHooks[t]||pe.cssHooks[a],n===undefined)return s&&"get"in s&&(o=s.get(e,!1,i))!==undefined?o:l[t];if(r=typeof n,"string"===r&&(o=Oe.exec(n))&&o[1]&&(n=h(e,t,o),r="number"),null!=n&&n===n&&("number"===r&&(n+=o&&o[3]||(pe.cssNumber[a]?"":"px")),de.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(s&&"set"in s&&(n=s.set(e,n,i))===undefined)))try{l[t]=n}catch(e){}}},css:function(e,t,n,i){var o,r,s,a=pe.camelCase(t);return t=pe.cssProps[a]||(pe.cssProps[a]=P(a)||a),s=pe.cssHooks[t]||pe.cssHooks[a],s&&"get"in s&&(r=s.get(e,!0,n)),r===undefined&&(r=ft(e,t,i)),"normal"===r&&t in wt&&(r=wt[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),pe.each(["height","width"],function(e,t){pe.cssHooks[t]={get:function(e,n,i){if(n)return vt.test(pe.css(e,"display"))&&0===e.offsetWidth?dt(e,bt,function(){return F(e,t,i)}):F(e,t,i)},set:function(e,n,i){var o=i&&pt(e);return I(e,n,i?O(e,t,i,de.boxSizing&&"border-box"===pe.css(e,"boxSizing",!1,o),o):0)}}}),de.opacity||(pe.cssHooks.opacity={get:function(e,t){return _t.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,o=pe.isNumeric(t)?"alpha(opacity="+100*t+")":"",r=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===pe.trim(r.replace(gt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=gt.test(r)?r.replace(gt,o):r+" "+o)}}),pe.cssHooks.marginRight=E(de.reliableMarginRight,function(e,t){if(t)return dt(e,{display:"inline-block"},ft,[e,"marginRight"])}),pe.cssHooks.marginLeft=E(de.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ft(e,"marginLeft"))||(pe.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-dt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),pe.each({margin:"",padding:"",border:"Width"},function(e,t){pe.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+Fe[i]+t]=r[i]||r[i-2]||r[0];return o}},ut.test(e)||(pe.cssHooks[e+t].set=I)}),pe.fn.extend({css:function(e,t){return Ne(this,function(e,t,n){var i,o,r={},s=0;if(pe.isArray(t)){for(i=pt(e),o=t.length;s<o;s++)r[t[s]]=pe.css(e,t[s],!1,i);return r}return n!==undefined?pe.style(e,t,n):pe.css(e,t)},e,t,arguments.length>1)},show:function(){return z(this,!0)},hide:function(){return z(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){je(this)?pe(this).show():pe(this).hide()})}}),pe.Tween=j,j.prototype={constructor:j,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||pe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(pe.cssNumber[n]?"":"px")},cur:function(){var e=j.propHooks[this.prop];return e&&e.get?e.get(this):j.propHooks._default.get(this)},run:function(e){var t,n=j.propHooks[this.prop];return this.options.duration?this.pos=t=pe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):j.propHooks._default.set(this),this}},j.prototype.init.prototype=j.prototype,j.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=pe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){pe.fx.step[e.prop]?pe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[pe.cssProps[e.prop]]&&!pe.cssHooks[e.prop]?e.elem[e.prop]=e.now:pe.style(e.elem,e.prop,e.now+e.unit)}}},j.propHooks.scrollTop=j.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},pe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},pe.fx=j.prototype.init,pe.fx.step={};var Tt,St,Ct=/^(?:toggle|show|hide)$/,Lt=/queueHooks$/;pe.Animation=pe.extend(B,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return h(n.elem,e,Oe.exec(t),n),n}]},tweener:function(e,t){pe.isFunction(e)?(t=e,e=["*"]):e=e.match(Me);for(var n,i=0,o=e.length;i<o;i++)n=e[i],B.tweeners[n]=B.tweeners[n]||[],B.tweeners[n].unshift(t)},prefilters:[$],prefilter:function(e,t){t?B.prefilters.unshift(e):B.prefilters.push(e)}}),pe.speed=function(e,t,n){var i=e&&"object"==typeof e?pe.extend({},e):{complete:n||!n&&t||pe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!pe.isFunction(t)&&t};return i.duration=pe.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in pe.fx.speeds?pe.fx.speeds[i.duration]:pe.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){pe.isFunction(i.old)&&i.old.call(this),i.queue&&pe.dequeue(this,i.queue)},i},pe.fn.extend({fadeTo:function(e,t,n,i){return this.filter(je).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=pe.isEmptyObject(e),r=pe.speed(t,n,i),s=function(){var t=B(this,pe.extend({},e),r);(o||pe._data(this,"finish"))&&t.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=undefined),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",r=pe.timers,s=pe._data(this);if(o)s[o]&&s[o].stop&&i(s[o]);else for(o in s)s[o]&&s[o].stop&&Lt.test(o)&&i(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||pe.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=pe._data(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=pe.timers,s=i?i.length:0;for(n.finish=!0,pe.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),pe.each(["toggle","show","hide"],function(e,t){var n=pe.fn[t];pe.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(R(t,!0),e,i,o)}}),pe.each({slideDown:R("show"),slideUp:R("hide"),slideToggle:R("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){pe.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),pe.timers=[],pe.fx.tick=function(){var e,t=pe.timers,n=0;for(Tt=pe.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||pe.fx.stop(),Tt=undefined},pe.fx.timer=function(e){pe.timers.push(e),e()?pe.fx.start():pe.timers.pop()},pe.fx.interval=13,pe.fx.start=function(){St||(St=e.setInterval(pe.fx.tick,pe.fx.interval))},pe.fx.stop=function(){e.clearInterval(St),St=null},pe.fx.speeds={slow:600,fast:200,_default:400},pe.fn.delay=function(t,n){return t=pe.fx?pe.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,i){var o=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(o)}})},function(){var e,t=ie.createElement("input"),n=ie.createElement("div"),i=ie.createElement("select"),o=i.appendChild(ie.createElement("option"));n=ie.createElement("div"),n.setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",de.getSetAttribute="t"!==n.className,de.style=/top/.test(e.getAttribute("style")),de.hrefNormalized="/a"===e.getAttribute("href"),de.checkOn=!!t.value,de.optSelected=o.selected,de.enctype=!!ie.createElement("form").enctype,i.disabled=!0,de.optDisabled=!o.disabled,t=ie.createElement("input"),t.setAttribute("value",""),de.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),de.radioValue="t"===t.value}();var Mt=/\r/g,At=/[\x20\t\r\n\f]+/g;pe.fn.extend({val:function(e){var t,n,i,o=this[0];{if(arguments.length)return i=pe.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,pe(this).val()):e,null==o?o="":"number"==typeof o?o+="":pe.isArray(o)&&(o=pe.map(o,function(e){return null==e?"":e+""})),(t=pe.valHooks[this.type]||pe.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&t.set(this,o,"value")!==undefined||(this.value=o))});if(o)return(t=pe.valHooks[o.type]||pe.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&(n=t.get(o,"value"))!==undefined?n:(n=o.value,"string"==typeof n?n.replace(Mt,""):null==n?"":n)}}}),pe.extend({valHooks:{option:{get:function(e){var t=pe.find.attr(e,"value");return null!=t?t:pe.trim(pe.text(e)).replace(At," ")}},select:{get:function(e){for(var t,n,i=e.options,o=e.selectedIndex,r="select-one"===e.type||o<0,s=r?null:[],a=r?o+1:i.length,l=o<0?a:r?o:0;l<a;l++)if(n=i[l],(n.selected||l===o)&&(de.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!pe.nodeName(n.parentNode,"optgroup"))){if(t=pe(n).val(),r)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,r=pe.makeArray(t),s=o.length;s--;)if(i=o[s],pe.inArray(pe.valHooks.option.get(i),r)>-1)try{i.selected=n=!0}catch(e){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),o}}}}),pe.each(["radio","checkbox"],function(){pe.valHooks[this]={set:function(e,t){if(pe.isArray(t))return e.checked=pe.inArray(pe(e).val(),t)>-1}},de.checkOn||(pe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Dt,Et,Pt=pe.expr.attrHandle,zt=/^(?:checked|selected)$/i,It=de.getSetAttribute,Ot=de.input;pe.fn.extend({attr:function(e,t){return Ne(this,pe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){pe.removeAttr(this,e)})}}),pe.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof e.getAttribute?pe.prop(e,t,n):(1===r&&pe.isXMLDoc(e)||(t=t.toLowerCase(),o=pe.attrHooks[t]||(pe.expr.match.bool.test(t)?Et:Dt)),n!==undefined?null===n?void pe.removeAttr(e,t):o&&"set"in o&&(i=o.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:(i=pe.find.attr(e,t),null==i?undefined:i))},attrHooks:{type:{set:function(e,t){if(!de.radioValue&&"radio"===t&&pe.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,o=0,r=t&&t.match(Me);if(r&&1===e.nodeType)for(;n=r[o++];)i=pe.propFix[n]||n,pe.expr.match.bool.test(n)?Ot&&It||!zt.test(n)?e[i]=!1:e[pe.camelCase("default-"+n)]=e[i]=!1:pe.attr(e,n,""),e.removeAttribute(It?n:i)}}),Et={set:function(e,t,n){return!1===t?pe.removeAttr(e,n):Ot&&It||!zt.test(n)?e.setAttribute(!It&&pe.propFix[n]||n,n):e[pe.camelCase("default-"+n)]=e[n]=!0,n}},pe.each(pe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Pt[t]||pe.find.attr;Ot&&It||!zt.test(t)?Pt[t]=function(e,t,i){var o,r;return i||(r=Pt[t],Pt[t]=o,o=null!=n(e,t,i)?t.toLowerCase():null,Pt[t]=r),o}:Pt[t]=function(e,t,n){if(!n)return e[pe.camelCase("default-"+t)]?t.toLowerCase():null}}),Ot&&It||(pe.attrHooks.value={set:function(e,t,n){if(!pe.nodeName(e,"input"))return Dt&&Dt.set(e,t,n);e.defaultValue=t}}),It||(Dt={set:function(e,t,n){var i=e.getAttributeNode(n);if(i||e.setAttributeNode(i=e.ownerDocument.createAttribute(n)),i.value=t+="","value"===n||t===e.getAttribute(n))return t}},Pt.id=Pt.name=Pt.coords=function(e,t,n){var i;if(!n)return(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},pe.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Dt.set},pe.attrHooks.contenteditable={set:function(e,t,n){Dt.set(e,""!==t&&t,n)}},pe.each(["width","height"],function(e,t){pe.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),de.style||(pe.attrHooks.style={get:function(e){return e.style.cssText||undefined},set:function(e,t){return e.style.cssText=t+""}});var Ft=/^(?:input|select|textarea|button|object)$/i,jt=/^(?:a|area)$/i;pe.fn.extend({prop:function(e,t){return Ne(this,pe.prop,e,t,arguments.length>1)},removeProp:function(e){return e=pe.propFix[e]||e,this.each(function(){try{this[e]=undefined,delete this[e]}catch(e){}})}}),pe.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&pe.isXMLDoc(e)||(t=pe.propFix[t]||t,o=pe.propHooks[t]),n!==undefined?o&&"set"in o&&(i=o.set(e,n,t))!==undefined?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=pe.find.attr(e,"tabindex");return t?parseInt(t,10):Ft.test(e.nodeName)||jt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),de.hrefNormalized||pe.each(["href","src"],function(e,t){pe.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),de.optSelected||(pe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),pe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pe.propFix[this.toLowerCase()]=this}),de.enctype||(pe.propFix.enctype="encoding");var Nt=/[\t\r\n\f]/g;pe.fn.extend({addClass:function(e){var t,n,i,o,r,s,a,l=0;if(pe.isFunction(e))return this.each(function(t){pe(this).addClass(e.call(this,t,W(this)))});if("string"==typeof e&&e)for(t=e.match(Me)||[];n=this[l++];)if(o=W(n),i=1===n.nodeType&&(" "+o+" ").replace(Nt," ")){for(s=0;r=t[s++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=pe.trim(i),o!==a&&pe.attr(n,"class",a)}return this},removeClass:function(e){var t,n,i,o,r,s,a,l=0;if(pe.isFunction(e))return this.each(function(t){pe(this).removeClass(e.call(this,t,W(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Me)||[];n=this[l++];)if(o=W(n),i=1===n.nodeType&&(" "+o+" ").replace(Nt," ")){for(s=0;r=t[s++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");a=pe.trim(i),o!==a&&pe.attr(n,"class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):pe.isFunction(e)?this.each(function(n){pe(this).toggleClass(e.call(this,n,W(this),t),t)}):this.each(function(){var t,i,o,r;if("string"===n)for(i=0,o=pe(this),r=e.match(Me)||[];t=r[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else e!==undefined&&"boolean"!==n||(t=W(this),t&&pe._data(this,"__className__",t),pe.attr(this,"class",t||!1===e?"":pe._data(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+W(n)+" ").replace(Nt," ").indexOf(t)>-1)return!0;return!1}}),pe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){pe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),pe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Rt=e.location,qt=pe.now(),$t=/\?/,Ht=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;pe.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,i=null,o=pe.trim(t+"");return o&&!pe.trim(o.replace(Ht,function(e,t,o,r){return n&&t&&(i=0),0===i?e:(n=o||t,i+=!r-!o,"")}))?Function("return "+o)():pe.error("Invalid JSON: "+t)},pe.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(i=new e.DOMParser,n=i.parseFromString(t,"text/xml")):(n=new e.ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(e){n=undefined}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||pe.error("Invalid XML: "+t),n};var Bt=/#.*$/,Wt=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Yt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Vt=/^(?:GET|HEAD)$/,Zt=/^\/\//,Gt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Jt={},Qt={},Kt="*/".concat("*"),Xt=Rt.href,en=Gt.exec(Xt.toLowerCase())||[];pe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Xt,type:"GET",isLocal:Yt.test(en[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kt,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":pe.parseJSON,"text xml":pe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?V(V(e,pe.ajaxSettings),t):V(pe.ajaxSettings,e)},ajaxPrefilter:U(Jt),ajaxTransport:U(Qt),ajax:function(t,n){function i(t,n,i,o){var r,d,v,y,w,k=n;2!==b&&(b=2,l&&e.clearTimeout(l),c=undefined,a=o||"",x.readyState=t>0?4:0,r=t>=200&&t<300||304===t,i&&(y=Z(h,x,i)),y=G(h,y,x,r),r?(h.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(pe.lastModified[s]=w),(w=x.getResponseHeader("etag"))&&(pe.etag[s]=w)),204===t||"HEAD"===h.type?k="nocontent":304===t?k="notmodified":(k=y.state,d=y.data,v=y.error,r=!v)):(v=k,!t&&k||(k="error",t<0&&(t=0))),x.status=t,x.statusText=(n||k)+"",r?m.resolveWith(p,[d,k,x]):m.rejectWith(p,[x,k,v]),x.statusCode(_),_=undefined,u&&f.trigger(r?"ajaxSuccess":"ajaxError",[x,h,r?d:v]),g.fireWith(p,[x,k]),u&&(f.trigger("ajaxComplete",[x,h]),--pe.active||pe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=undefined),n=n||{};var o,r,s,a,l,u,c,d,h=pe.ajaxSetup({},n),p=h.context||h,f=h.context&&(p.nodeType||p.jquery)?pe(p):pe.event,m=pe.Deferred(),g=pe.Callbacks("once memory"),_=h.statusCode||{},v={},y={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!d)for(d={};t=Ut.exec(a);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,v[e]=t),this},overrideMimeType:function(e){return b||(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)_[t]=[_[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),i(0,t),this}};if(m.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,h.url=((t||h.url||Xt)+"").replace(Bt,"").replace(Zt,en[1]+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=pe.trim(h.dataType||"*").toLowerCase().match(Me)||[""],null==h.crossDomain&&(o=Gt.exec(h.url.toLowerCase()),h.crossDomain=!(!o||o[1]===en[1]&&o[2]===en[2]&&(o[3]||("http:"===o[1]?"80":"443"))===(en[3]||("http:"===en[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=pe.param(h.data,h.traditional)),Y(Jt,h,n,x),2===b)return x;u=pe.event&&h.global,u&&0==pe.active++&&pe.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Vt.test(h.type),s=h.url,h.hasContent||(h.data&&(s=h.url+=($t.test(s)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=Wt.test(s)?s.replace(Wt,"$1_="+qt++):s+($t.test(s)?"&":"?")+"_="+qt++)),h.ifModified&&(pe.lastModified[s]&&x.setRequestHeader("If-Modified-Since",pe.lastModified[s]),pe.etag[s]&&x.setRequestHeader("If-None-Match",pe.etag[s])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&x.setRequestHeader("Content-Type",h.contentType),x.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Kt+"; q=0.01":""):h.accepts["*"]);for(r in h.headers)x.setRequestHeader(r,h.headers[r]);if(h.beforeSend&&(!1===h.beforeSend.call(p,x,h)||2===b))return x.abort();w="abort";for(r in{success:1,error:1,complete:1})x[r](h[r]);if(c=Y(Qt,h,n,x)){if(x.readyState=1,u&&f.trigger("ajaxSend",[x,h]),2===b)return x;h.async&&h.timeout>0&&(l=e.setTimeout(function(){x.abort("timeout")},h.timeout));try{b=1,c.send(v,i)}catch(e){if(!(b<2))throw e;i(-1,e)}}else i(-1,"No Transport");return x},getJSON:function(e,t,n){return pe.get(e,t,n,"json")},getScript:function(e,t){return pe.get(e,undefined,t,"script")}}),pe.each(["get","post"],function(e,t){pe[t]=function(e,n,i,o){return pe.isFunction(n)&&(o=o||i,i=n,n=undefined),pe.ajax(pe.extend({url:e,type:t,dataType:o,data:n,success:i},pe.isPlainObject(e)&&e))}}),pe._evalUrl=function(e){return pe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},pe.fn.extend({wrapAll:function(e){if(pe.isFunction(e))return this.each(function(t){pe(this).wrapAll(e.call(this,t))});if(this[0]){var t=pe(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return pe.isFunction(e)?this.each(function(t){pe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=pe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=pe.isFunction(e);return this.each(function(n){pe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){pe.nodeName(this,"body")||pe(this).replaceWith(this.childNodes)}).end()}}),pe.expr.filters.hidden=function(e){return de.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:Q(e)},pe.expr.filters.visible=function(e){return!pe.expr.filters.hidden(e)};var tn=/%20/g,nn=/\[\]$/,on=/\r?\n/g,rn=/^(?:submit|button|image|reset|file)$/i,sn=/^(?:input|select|textarea|keygen)/i;pe.param=function(e,t){var n,i=[],o=function(e,t){t=pe.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===undefined&&(t=pe.ajaxSettings&&pe.ajaxSettings.traditional),pe.isArray(e)||e.jquery&&!pe.isPlainObject(e))pe.each(e,function(){o(this.name,this.value)});else for(n in e)K(n,e[n],t,o);return i.join("&").replace(tn,"+")},pe.fn.extend({serialize:function(){return pe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=pe.prop(this,"elements");return e?pe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!pe(this).is(":disabled")&&sn.test(this.nodeName)&&!rn.test(e)&&(this.checked||!Re.test(e))}).map(function(e,t){var n=pe(this).val();return null==n?null:pe.isArray(n)?pe.map(n,function(e){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),pe.ajaxSettings.xhr=e.ActiveXObject!==undefined?function(){return this.isLocal?ee():ie.documentMode>8?X():/^(get|post|head|put|delete|options)$/i.test(this.type)&&X()||ee()}:X;var an=0,ln={},un=pe.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in ln)ln[e](undefined,!0)}),de.cors=!!un&&"withCredentials"in un,un=de.ajax=!!un,un&&pe.ajaxTransport(function(t){if(!t.crossDomain||de.cors){var n;return{send:function(i,o){var r,s=t.xhr(),a=++an;if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)s[r]=t.xhrFields[r];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(r in i)i[r]!==undefined&&s.setRequestHeader(r,i[r]+"");s.send(t.hasContent&&t.data||null),n=function(e,i){var r,l,u;if(n&&(i||4===s.readyState))if(delete ln[a],n=undefined,s.onreadystatechange=pe.noop,i)4!==s.readyState&&s.abort();else{u={},r=s.status,"string"==typeof s.responseText&&(u.text=s.responseText);try{l=s.statusText}catch(e){l=""}r||!t.isLocal||t.crossDomain?1223===r&&(r=204):r=u.text?200:404}u&&o(r,l,u,s.getAllResponseHeaders())},t.async?4===s.readyState?e.setTimeout(n):s.onreadystatechange=ln[a]=n:n()},abort:function(){n&&n(undefined,!0)}}}}),pe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return pe.globalEval(e),e}}}),pe.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),pe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=ie.head||pe("head")[0]||ie.documentElement;return{send:function(i,o){t=ie.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||o(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(undefined,!0)}}}});var cn=[],dn=/(=)\?(?=&|$)|\?\?/;pe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=cn.pop()||pe.expando+"_"+qt++;return this[e]=!0,e}}),pe.ajaxPrefilter("json jsonp",function(t,n,i){var o,r,s,a=!1!==t.jsonp&&(dn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&dn.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=pe.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(dn,"$1"+o):!1!==t.jsonp&&(t.url+=($t.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return s||pe.error(o+" was not called"),s[0]},t.dataTypes[0]="json",r=e[o],e[o]=function(){s=arguments},i.always(function(){r===undefined?pe(e).removeProp(o):e[o]=r,t[o]&&(t.jsonpCallback=n.jsonpCallback,cn.push(o)),s&&pe.isFunction(r)&&r(s[0]),s=r=undefined}),"script"}),pe.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||ie;var i=xe.exec(e),o=!n&&[];return i?[t.createElement(i[1])]:(i=_([e],t,o),o&&o.length&&pe(o).remove(),pe.merge([],i.childNodes))};var hn=pe.fn.load;pe.fn.load=function(e,t,n){if("string"!=typeof e&&hn)return hn.apply(this,arguments);var i,o,r,s=this,a=e.indexOf(" ");return a>-1&&(i=pe.trim(e.slice(a,e.length)),e=e.slice(0,a)),pe.isFunction(t)?(n=t,t=undefined):t&&"object"==typeof t&&(o="POST"),s.length>0&&pe.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,s.html(i?pe("<div>").append(pe.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},pe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){pe.fn[t]=function(e){return this.on(t,e)}}),pe.expr.filters.animated=function(e){return pe.grep(pe.timers,function(t){return e===t.elem}).length},pe.offset={setOffset:function(e,t,n){var i,o,r,s,a,l,u,c=pe.css(e,"position"),d=pe(e),h={};"static"===c&&(e.style.position="relative"),a=d.offset(),r=pe.css(e,"to
3p"),l=pe.css(e,"left"),u=("absolute"===c||"fixed"===c)&&pe.inArray("auto",[r,l])>-1,u?(i=d.position(),s=i.top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),pe.isFunction(t)&&(t=t.call(e,n,pe.extend({},a))),null!=t.top&&(h.top=t.top-a.top+s),null!=t.left&&(h.left=t.left-a.left+o),"using"in t?t.using.call(e,h):d.css(h)}},pe.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){pe.offset.setOffset(this,e,t)});var t,n,i={top:0,left:0},o=this[0],r=o&&o.ownerDocument;if(r)return t=r.documentElement,pe.contains(t,o)?("undefined"!=typeof o.getBoundingClientRect&&(i=o.getBoundingClientRect()),n=te(r),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===pe.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),pe.nodeName(e[0],"html")||(n=e.offset()),n.top+=pe.css(e[0],"borderTopWidth",!0),n.left+=pe.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-pe.css(i,"marginTop",!0),left:t.left-n.left-pe.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!pe.nodeName(e,"html")&&"static"===pe.css(e,"position");)e=e.offsetParent;return e||ht})}}),pe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);pe.fn[e]=function(i){return Ne(this,function(e,i,o){var r=te(e);if(o===undefined)return r?t in r?r[t]:r.document.documentElement[i]:e[i];r?r.scrollTo(n?pe(r).scrollLeft():o,n?o:pe(r).scrollTop()):e[i]=o},e,i,arguments.length,null)}}),pe.each(["top","left"],function(e,t){pe.cssHooks[t]=E(de.pixelPosition,function(e,n){if(n)return n=ft(e,t),ct.test(n)?pe(e).position()[t]+"px":n})}),pe.each({Height:"height",Width:"width"},function(e,t){pe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){pe.fn[i]=function(i,o){var r=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return Ne(this,function(t,n,i){var o;return pe.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):i===undefined?pe.css(t,n,s):pe.style(t,n,i,s)},t,r?i:undefined,r,null)}})}),pe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),pe.fn.size=function(){return this.length},pe.fn.andSelf=pe.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return pe}) 4;var pn=e.jQuery,fn=e.$;return pe.noConflict=function(t){return e.$===pe&&(e.$=fn),t&&e.jQuery===pe&&(e.jQuery=pn),pe},t||(e.jQuery=e.$=pe),pe}),function(){"use strict";var e=function(e,t){e.rails!==t&&e.error("jquery-ujs has already been loaded!");var n,i=e(document);e.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form:not([data-turbo=true])",formInputClickSelector:"form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return e("meta[name=csrf-token]").attr("content")}
4,csrfParam:function(){return e("meta[name=csrf-param]").attr("content")},CSRFProtection:function(e){var t=n.csrfToken();t&&e.setRequestHeader("X-CSRF-Token",t)},refreshCSRFTokens:function(){e('form input[name="'+n.csrfParam()+'"]').val(n.csrfToken())},fire:function(t,n,i){var o=e.Event(n);return t.trigger(o,i),!1!==o.result},confirm:function(e){return confirm(e)},ajax:function(t){return e.ajax(t)},href:function(e){return e[0].href},isRemote:function(e){return e.data("remote")!==t&&!1!==e.data("remote")},handleRemote:function(i){var o,r,s,a,l,u;if(n.fire(i,"ajax:before")){if(a=i.data("with-credentials")||null,l=i.data("type")||e.ajaxSettings&&e.ajaxSettings.dataType,i.is("form")){o=i.data("ujs:submit-button-formmethod")||i.attr("method"),r=i.data("ujs:submit-button-formaction")||i.attr("action"),s=e(i[0]).serializeArray();var c=i.data("ujs:submit-button");c&&(s.push(c),i.data("ujs:submit-button",null)),i.data("ujs:submit-button-formmethod",null),i.data("ujs:submit-button-formaction",null)}else i.is(n.inputChangeSelector)?(o=i.data("method"),r=i.data("url"),s=i.serialize(),i.data("params")&&(s=s+"&"+i.data("params"))):i.is(n.buttonClickSelector)?(o=i.data("method")||"get",r=i.data("url"),s=i.serialize(),i.data("params")&&(s=s+"&"+i.data("params"))):(o=i.data("method"),r=n.href(i),s=i.data("params")||null);return u={type:o||"GET",data:s,dataType:l,beforeSend:function(e,o){if(o.dataType===t&&e.setRequestHeader("accept","*/*;q=0.5, "+o.accepts.script),!n.fire(i,"ajax:beforeSend",[e,o]))return!1;i.trigger("ajax:send",e)},success:function(e,t,n){i.trigger("ajax:success",[e,t,n])},complete:function(e,t){i.trigger("ajax:complete",[e,t])},error:function(e,t,n){i.trigger("ajax:error",[e,t,n])},crossDomain:n.isCrossDomain(r)},a&&(u.xhrFields={withCredentials:a}),r&&(u.url=r),n.ajax(u)}return!1},isCrossDomain:function(e){var t=document.createElement("a");t.href=location.href;var n=document.createElement("a");try{return n.href=e,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||t.protocol+"//"+t.host==n.protocol+"//"+n.host)}catch(e){return!0}},handleMethod:function(i){var o=n.href(i),r=i.data("method"),s=i.attr("target"),a=n.csrfToken(),l=n.csrfParam(),u=e('<form method="post" action="'+o+'"></form>'),c='<input name="_method" value="'+r+'" type="hidden" />';l===t||a===t||n.isCrossDomain(o)||(c+='<input name="'+l+'" value="'+a+'" type="hidden" />'),s&&u.attr("target",s),u.hide().append(c).appendTo("body"),u.submit()},formElements:function(t,n){return t.is("form")?e(t[0].elements).filter(n):t.find(n)},disableFormElements:function(t){n.formElements(t,n.disableSelector).each(function(){n.disableFormElement(e(this))})},disableFormElement:function(e){var n,i;n=e.is("button")?"html":"val",i=e.data("disable-with"),i!==t&&(e.data("ujs:enable-with",e[n]()),e[n](i)),e.prop("disabled",!0),e.data("ujs:disabled",!0)},enableFormElements:function(t){n.formElements(t,n.enableSelector).each(function(){n.enableFormElement(e(this))})},enableFormElement:function(e){var n=e.is("button")?"html":"val";e.data("ujs:enable-with")!==t&&(e[n](e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.prop("disabled",!1),e.removeData("ujs:disabled")},allowAction:function(e){var t,i=e.data("confirm"),o=!1;if(!i)return!0;if(n.fire(e,"confirm")){try{o=n.confirm(i)}catch(e){(console.error||console.log).call(console,e.stack||e)}t=n.fire(e,"confirm:complete",[o])}return o&&t},blankInputs:function(t,n,i){var o,r,s,a,l=e(),u=n||"input,textarea",c=t.find(u),d={};return c.each(function(){o=e(this),o.is("input[type=radio]")?(a=o.attr("name"),d[a]||(0===t.find('input[type=radio]:checked[name="'+a+'"]').length&&(s=t.find('input[type=radio][name="'+a+'"]'),l=l.add(s)),d[a]=a)):(r=o.is("input[type=checkbox],input[type=radio]")?o.is(":checked"):!!o.val())===i&&(l=l.add(o))}),!!l.length&&l},nonBlankInputs:function(e,t){return n.blankInputs(e,t,!0)},stopEverything:function(t){return e(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!1},disableElement:function(e){var i=e.data("disable-with");i!==t&&(e.data("ujs:enable-with",e.html()),e.html(i)),e.on("click.railsDisable",function(e){return n.stopEverything(e)}),e.data("ujs:disabled",!0)},enableElement:function(e){e.data("ujs:enable-with")!==t&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.off("click.railsDisable"),e.removeData("ujs:disabled")}},n.fire(i,"rails:attachBindings")&&(e.ajaxPrefilter(function(e,t,i){e.crossDomain||n.CSRFProtection(i)}),e(window).on("pageshow.rails",function(){e(e.rails.enableSelector).each(function(){var t=e(this);t.data("ujs:disabled")&&e.rails.enableFormElement(t)}),e(e.rails.linkDisableSelector).each(function(){var t=e(this);t.data("ujs:disabled")&&e.rails.enableElement(t)})}),i.on("ajax:complete",n.linkDisableSelector,function(){n.enableElement(e(this))}),i.on("ajax:complete",n.buttonDisableSelector,function(){n.enableFormElement(e(this))}),i.on("click.rails",n.linkClickSelector,function(t){var i=e(this),o=i.data("method"),r=i.data("params"),s=t.metaKey||t.ctrlKey;if(!n.allowAction(i))return n.stopEverything(t);if(!s&&i.is(n.linkDisableSelector)&&n.disableElement(i),n.isRemote(i)){if
4(s&&(!o||"GET"===o)&&!r)return!0;var a=n.handleRemote(i);return!1===a?n.enableElement(i):a.fail(function(){n.enableElement(i)}),!1}return o?(n.handleMethod(i),!1):void 0}),i.on("click.rails",n.buttonClickSelector,function(t){var i=e(this);if(!n.allowAction(i)||!n.isRemote(i))return n.stopEverything(t);i.is(n.buttonDisableSelector)&&n.disableFormElement(i);var o=n.handleRemote(i);return!1===o?n.enableFormElement(i):o.fail(function(){n.enableFormElement(i)}),!1}),i.on("change.rails",n.inputChangeSelector,function(t){var i=e(this);return n.allowAction(i)&&n.isRemote(i)?(n.handleRemote(i),!1):n.stopEverything(t)}),i.on("submit.rails",n.formSubmitSelector,function(i){var o,r,s=e(this),a=n.isRemote(s);if(!n.allowAction(s))return n.stopEverything(i);if(s.attr("novalidate")===t)if(s.data("ujs:formnovalidate-button")===t){if((o=n.blankInputs(s,n.requiredInputSelector,!1))&&n.fire(s,"ajax:aborted:required",[o]))return n.stopEverything(i)}else s.data("ujs:formnovalidate-button",t);if(a){if(r=n.nonBlankInputs(s,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(s)},13);var l=n.fire(s,"ajax:aborted:file",[r]);return l||setTimeout(function(){n.enableFormElements(s)},13),l}return n.handleRemote(s),!1}setTimeout(function(){n.disableFormElements(s)},13)}),i.on("click.rails",n.formInputClickSelector,function(t){var i=e(this);if(!n.allowAction(i))return n.stopEverything(t);var o=i.attr("name"),r=o?{name:o,value:i.val()}:null,s=i.closest("form");0===s.length&&(s=e("#"+i.attr("form"))),s.data("ujs:submit-button",r),s.data("ujs:formnovalidate-button",i.attr("formnovalidate")),s.data("ujs:submit-button-formaction",i.attr("formaction")),s.data("ujs:submit-button-formmethod",i.attr("formmethod"))}),i.on("ajax:send.rails",n.formSubmitSelector,function(t){this===t.target&&n.disableFormElements(e(this))}),i.on("ajax:complete.rails",n.formSubmitSelector,function(t){this===t.target&&n.enableFormElements(e(this))}),e(function(){n.refreshCSRFTokens()}))};window.jQuery?e(jQuery):"object"==typeof exports&&"object"==typeof module&&(module.exports=e)}(),function(e,t,n,i){"use strict";function o(e){return("string"==typeof e||e instanceof String)&&(e=e.replace(/^['\\/"]+|(;\s?})+|['\\/"]+$/g,"")),e}(function(t){for(var n=t.length,i=e("head");n--;)0===i.has("."+t[n]).length&&i.append('<meta class="'+t[n]+'" />')})(["foundation-mq-small","foundation-mq-medium","foundation-mq-large","foundation-mq-xlarge","foundation-mq-xxlarge","foundation-data-attribute-namespace"]),e(function(){"undefined"!=typeof FastClick&&"undefined"!=typeof n.body&&FastClick.attach(n.body)});var r=function(t,i){if("string"==typeof t){if(i){var o;if(i.jquery){if(!(o=i[0]))return i}else o=i;return e(o.querySelectorAll(t))}return e(n.querySelectorAll(t))}return e(t,i)},s=function(e){var t=[];return e||t.push("data"),this.namespace.length>0&&t.push(this.namespace),t.push(this.name),t.join("-")},a=function(e){for(var t=e.split("-"),n=t.length,i=[];n--;)0!==n?i.push(t[n]):this.namespace.length>0?i.push(this.namespace,t[n]):i.push(t[n]);return i.reverse().join("-")},l=function(t,n){var i=this,o=!r(this).data(this.attr_name(!0));if(r(this.scope).is("["+this.attr_name()+"]")?(r(this.scope).data(this.attr_name(!0)+"-init",e.extend({},this.settings,n||t,this.data_options(r(this.scope)))),o&&this.events(this.scope)):r("["+this.attr_name()+"]",this.scope).each(function(){var o=!r(this).data(i.attr_name(!0)+"-init");r(this).data(i.attr_name(!0)+"-init",e.extend({},i.settings,n||t,i.data_options(r(this)))),o&&i.events(this)}),"string"==typeof t)return this[t].call(this,n)},u=function(e,t){function n(){t(e[0])}function i(){if(this.one("load",n),/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var e=this.attr("src"),t=e.match(/\?/)?"&":"?";t+="random="+(new Date).getTime(),this.attr("src",e+t)}}if(!e.attr("src"))return void n();e[0].complete||4===e[0].readyState?n():i.call(e)};t.matchMedia=t.matchMedia||function(e){var t,n=e.documentElement,i=n.firstElementChild||n.firstChild,o=e.createElement("body"),r=e.createElement("div");return r.id="mq-test-1",r.style.cssText="position:absolute;top:-100em",o.style.background="none",o.appendChild(r),function(e){return r.innerHTML='­<style media="'+e+'"> #mq-test-1 { width: 42px; }</style>',n.insertBefore(o,i),t=42===r.offsetWidth,n.removeChild(o),{matches:t,media:e}}}(n),function(){function e(){n&&(r(e),a&&jQuery.fx.tick())}for(var n,i=0,o=["webkit","moz"],r=t.requestAnimationFrame,s=t.cancelAnimationFrame,a="undefined"!=typeof jQuery.fx;i<o.length&&!r;i++)r=t[o[i]+"RequestAnimationFrame"],s=s||t[o[i]+"CancelAnimationFrame"]||t[o[i]+"CancelRequestAnimationFrame"];r?(t.requestAnimationFrame=r,t.cancelAnimationFrame=s,a&&(jQuery.fx.timer=function(t){t()&&jQuery.timers.push(t)&&!n&&(n=!0,e())},jQuery.fx.stop=function(){n=!1})):(t.requestAnimationFrame=function(e){var n=(new Date).getTime(),o=Math.max(0,16-(n-i)),r=t.setTimeout(function(){e(n+o)},o);return i=n+o,r},t.cancelAnimationFrame=function(e){clearTimeout(e)})}(jQuery),t.Foundation={name:"Foundation",version:"5.4.5",media_queries:{small:r(".foundation-mq-small").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),medium:r(".foundation-mq-medium").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),large:r(".foundation-mq-large").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),xlarge:r(".foundation-mq-xlarge").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),xxlarge:r(".foundation-mq-xxlarge").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,"")},stylesheet:e("<style></style>").appendTo("head")[0].sheet,global:{namespace:i},init:function(e,n,i,o,s){var a=[e,i,o,s],l=[];
vendor: 29,835 bytes, lines 4-5
4if(this.rtl=/rtl/i.test(r("html").attr("dir")),this.scope=e||this.scope,this.set_namespace(),n&&"string"==typeof n&&!/reflow/i.test(n))this.libs.hasOwnProperty(n)&&l.push(this.init_lib(n,a));else for(var u in this.libs)l.push(this.init_lib(u,n));return r(t).load(function(){r(t).trigger("resize.fndtn.clearing").trigger("resize.fndtn.dropdown").trigger("resize.fndtn.equalizer").trigger("resize.fndtn.interchange").trigger("resize.fndtn.joyride").trigger("resize.fndtn.magellan").trigger("resize.fndtn.topbar").trigger("resize.fndtn.slider")}),e},init_lib:function(t,n){return this.libs.hasOwnProperty(t)?(this.patch(this.libs[t]),n&&n.hasOwnProperty(t)?("undefined"!=typeof this.libs[t].settings?e.extend(!0,this.libs[t].settings,n[t]):"undefined"!=typeof this.libs[t].defaults&&e.extend(!0,this.libs[t].defaults,n[t]),this.libs[t].init.apply(this.libs[t],[this.scope,n[t]])):(n=n instanceof Array?n:new Array(n),this.libs[t].init.apply(this.libs[t],n))):function(){}},patch:function(e){e.scope=this.scope,e.namespace=this.global.namespace,e.rtl=this.rtl,e.data_options=this.utils.data_options,e.attr_name=s,e.add_namespace=a,e.bindings=l,e.S=this.utils.S},inherit:function(e,t){for(var n=t.split(" "),i=n.length;i--;)this.utils.hasOwnProperty(n[i])&&(e[n[i]]=this.utils[n[i]])},set_namespace:function(){var t=this.global.namespace===i?e(".foundation-data-attribute-namespace").css("font-family"):this.global.namespace;this.global.namespace=t===i||/false/i.test(t)?"":t},libs:{},utils:{S:r,throttle:function(e,t){var n=null;return function(){var i=this,o=arguments;null==n&&(n=setTimeout(function(){e.apply(i,o),n=null},t))}},debounce:function(e,t,n){var i,o;return function(){var r=this,s=arguments,a=function(){i=null,n||(o=e.apply(r,s))},l=n&&!i;return clearTimeout(i),i=setTimeout(a,t),l&&(o=e.apply(r,s)),o}},data_options:function(t,n){function i(e){return!isNaN(e-0)&&null!==e&&""!==e&&!1!==e&&!0!==e}function o(t){return"string"==typeof t?e.trim(t):t}n=n||"options";var r,s,a,l={},u=function(e){var t=Foundation.global.namespace;return t.length>0?e.data(t+"-"+n):e.data(n)},c=u(t);if("object"==typeof c)return c;for(a=(c||":").split(";"),r=a.length;r--;)s=a[r].split(":"),s=[s[0],s.slice(1).join(":")],/true/i.test(s[1])&&(s[1]=!0),/false/i.test(s[1])&&(s[1]=!1),i(s[1])&&(-1===s[1].indexOf(".")?s[1]=parseInt(s[1],10):s[1]=parseFloat(s[1])),2===s.length&&s[0].length>0&&(l[o(s[0])]=o(s[1]));return l},register_media:function(t,n){Foundation.media_queries[t]===i&&(e("head").append('<meta class="'+n+'"/>'),Foundation.media_queries[t]=o(e("."+n).css("font-family")))},add_custom_rule:function(e,t){if(t===i&&Foundation.stylesheet)Foundation.stylesheet.insertRule(e,Foundation.stylesheet.cssRules.length);else{Foundation.media_queries[t]!==i&&Foundation.stylesheet.insertRule("@media "+Foundation.media_queries[t]+"{ "+e+" }")}},image_loaded:function(e,t){var n=this,i=e.length;0===i&&t(e),e.each(function(){u(n.S(this),function(){0===(i-=1)&&t(e)})})},random_str:function(){return this.fidx||(this.fidx=0),this.prefix=this.prefix||[this.name||"F",(+new Date).toString(36)].join("-"),this.prefix+(this.fidx++).toString(36)}}},e.fn.foundation=function(){var e=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(e)),this})}}(jQuery,window,window.document),function(e){"use strict";Foundation.libs.alert={name:"alert",version:"5.4.5",settings:{callback:function(){}},init:function(e,t,n){this.bindings(t,n)},events:function(){var t=this,n=this.S;e(this.scope).off(".alert").on("click.fndtn.alert","["+this.attr_name()+"] .close",function(e){var i=n(this).closest("["+t.attr_name()+"]"),o=i.data(t.attr_name(!0)+"-init")||t.settings;e.preventDefault(),Modernizr.csstransitions?(i.addClass("alert-close"),i.on("transitionend webkitTransitionEnd oTransitionEnd",function(){n(this).trigger("close").trigger("close.fndtn.alert").remove(),o.callback()})):i.fadeOut(300,function(){n(this).trigger("close").trigger("close.fndtn.alert").remove(),o.callback()})})},reflow:function(){}}}(jQuery,window,window.document),function(e,t){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"5.4.5",settings:{active_class:"open",mega_class:"mega",align:"bottom",is_hover:!1,opened:function(){},closed:function(){}},init:function(e,t,n){Foundation.inherit(this,"throttle"),this.bindings(t,n)},events:function(){var n=this,i=n.S;i(this.scope).off(".dropdown").on("click.fndtn.dropdown","["+this.attr_name()+"]",function(t){(i(this).data(n.attr_name(!0)+"-init")||n.settings).is_hover&&!Modernizr.touch||(t.preventDefault(),n.toggle(e(this)))}).on("mouseenter.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(e){var t,o,r=i(this);clearTimeout(n.timeout),r.data(n.data_attr())?(t=i("#"+r.data(n.data_attr())),o=r):(t=r,o=i("["+n.attr_name()+"='"+t.attr("id")+"']"));var s=o.data(n.attr_name(!0)+"-init")||n.settings;i(e.target).data(n.data_attr())&&s.is_hover&&n.closeall.call(n),s.is_hover&&n.open.apply(n,[t,o])}).on("mouseleave.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(){var e=i(this);n.timeout=setTimeout(function(){if(e.data(n.data_attr())){var t=e.data(n.data_attr(!0)+"-init")||n.settings;t.is_hover&&n.close.call(n,i("#"+e.data(n.data_attr())))}else{var o=i("["+n.attr_name()+'="'+i(this).attr("id")+'"]'),t=o.data(n.attr_name(!0)+"-init")||n.settings;t.is_hover&&n.close.call(n,e)}}.bind(this),150)}).on("click.fndtn.dropdown",function(t){var o=i(t.target).closest("["+n.attr_name()+"-content]");if(!(i(t.target).closest("["+n.attr_name()+"]").length>0))return!i(t.target).data("revealId")&&o.length>0&&(i(t.target).is("["+n.attr_name()+"-content]")||e.contains(o.first()[0],t.target))?void t.stopPropagation():void n.close.call(n,i("["+n.attr_name()+"-content]"))}).on("opened.fndtn.dropdown","["+n.attr_name()+"-content]",function(){n.settings.opened.call(this)}).on("closed.fndtn.dropdown","["+n.attr_name()+"-content]",function(){n.settings.closed.call(this)}),i(t).off(".dropdown").on("resize.fndtn.dropdown",n.throttle(function(){n.resize.call(n)},50)),this.resize()},close:function(t){var n=this;t.each(function(){(e("["+n.attr_name()+"="+t[0].id+"]")||e("aria-controls="+t[0].id+"]")).attr("aria-expanded","false"),n.S(this).hasClass(n.settings.active_class)&&(n.S(this).css(Foundation.rtl?"right":"left","-99999px").attr("aria-hidden","true").removeClass(n.settings.active_class).prev("["+n.attr_name()+"]").removeClass(n.settings.active_class).removeData("target"),n.S(this).trigger("closed").trigger("closed.fndtn.dropdown",[t]))})},closeall:function(){var t=this;e.each(t.S("["+this.attr_name()+"-content]"),function(){t.close.call(t,t.S(this))})},open:function(e,t){this.css(e.addClass(this.settings.active_class),t),e.prev("["+this.attr_name()+"]").addClass(this.settings.active_class),e.data("target",t.get(0)).trigger("opened").trigger("opened.fndtn.dropdown",[e,t]),e.attr("aria-hidden","false"),t.attr("aria-expanded","true"),e.focus()},data_attr:function(){return this.namespace.length>0?this.namespace+"-"+this.name:this.name},toggle:function(e){var t=this.S("#"+e.data(this.data_attr()));0!==t.length&&(this.close.call(this,this.S("["+this.attr_name()+"-content]").not(t)),t.hasClass(this.settings.active_class)?(this.close.call(this,t),t.data("target")!==e.get(0)&&this.open.call(this,t,e)):this.open.call(this,t,e))},resize:function(){var e=this.S("["+this.attr_name()+"-content].open"),t=this.S("["+this.attr_name()+"='"+e.attr("id")+"']");e.length&&t.length&&this.css(e,t)},css:function(e,t){var n=Math.max((t.width()-e.width())/2,8),i=t.data(this.attr_name(!0)+"-init")||this.settings;if(this.clear_idx(),this.small()){var o=this.dirs.bottom.call(e,t,i);e.attr("style","").removeClass("drop-left drop-right drop-top").css({position:"absolute",width:"95%","max-width":"none",top:o.top}),e.css(Foundation.rtl?"right":"left",n)}else this.style(e,t,i);return e},style:function(t,n,i){var o=e.extend({position:"absolute"},this.dirs[i.align].call(t,n,i));t.attr("style","").css(o)},dirs:{_base:function(e){var t=this.offsetParent(),n=t.offset(),i=e.offset();return i.top-=n.top,i.left-=n.left,i},top:function(e,t){var n=Foundation.libs.dropdown,i=n.dirs._base.call(this,e);return this.addClass("drop-top"),(e.outerWidth()<this.outerWidth()||n.small()||this.hasClass(t.mega_menu))&&n.adjust_pip(this,e,t,i),Foundation.rtl?{left:i.left-this.outerWidth()+e.outerWidth(),top:i.top-this.outerHeight()}:{left:i.left,top:i.top-this.outerHeight()}},bottom:function(e,t){var n=Foundation.libs.dropdown,i=n.dirs._base.call(this,e);return(e.outerWidth()<this.outerWidth()||n.small()||this.hasClass(t.mega_menu))&&n.adjust_pip(this,e,t,i),n.rtl?{left:i.left-this.outerWidth()+e.outerWidth(),top:i.top+e.outerHeight()}:{left:i.left,top:i.top+e.outerHeight()}},left:function(e){var t=Foundation.libs.dropdown.dirs._base.call(this,e);return this.addClass("drop-left"),{left:t.left-this.outerWidth(),top:t.top}},right:function(e){var t=Foundation.libs.dropdown.dirs._base.call(this,e);return this.addClass("drop-right"),{left:t.left+e.outerWidth(),top:t.top}}},adjust_pip:function(e,t,n,i){var o=Foundation.stylesheet,r=8;e.hasClass(n.mega_class)?r=i.left+t.outerWidth()/2-8:this.small()&&(r+=i.left-8),this.rule_idx=o.cssRules.length;var s=".f-dropdown.open:before",a=".f-dropdown.open:after",l="left: "+r+"px;",u="left: "+(r-1)+"px;";o.insertRule?(o.insertRule([s,"{",l,"}"].join(" "),this.rule_idx),o.insertRule([a,"{",u,"}"].join(" "),this.rule_idx+1)):(o.addRule(s,l,this.rule_idx),o.addRule(a,u,this.rule_idx+1))},clear_idx:function(){var e=Foundation.stylesheet;this.rule_idx&&(e.deleteRule(this.rule_idx),e.deleteRule(this.rule_idx),delete this.rule_idx)},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},off:function(){this.S(this.scope).off(".fndtn.dropdown"),this.S("html, body").off(".fndtn.dropdown"),this.S(t).off(".fndtn.dropdown"),this.S("[data-dropdown-content]").off(".fndtn.dropdown")},reflow:function(){}}}(jQuery,window,window.document),function(e,t){"use strict";Foundation.libs.interchange={name:"interchange",version:"5.4.5",cache:{},images_loaded:!1,nodes_loaded:!1,settings:{load_attr:"interchange",named_queries:{"default":"only screen",small:Foundation.media_queries.small,medium:Foundation.media_queries.medium,large:Foundation.media_queries.large,xlarge:Foundation.media_queries.xlarge,xxlarge:Foundation.media_queries.xxlarge,landscape:"only screen and (orientation: landscape)",portrait:"only screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx)"},directives:{replace:function(t,n,i){if(/IMG/.test(t[0].nodeName)){var o=t[0].src;if(new RegExp(n,"i").test(o))return;return t[0].src=n,i(t[0].src)}var r=this;if(t.data(this.data_attr+"-last-path")!=n)return/\.(gif|jpg|jpeg|tiff|png)([?#].*)?/i.test(n)?(e(t).css("background-image","url("+n+")"),t.data("interchange-last-path",n),i(n)):e.get(n,function(e){t.html(e),t.data(r.data_attr+"-last-path",n),i()})}}},init:function(t,n,i){Foundation.inherit(this,"throttle random_str"),this.data_attr=this.set_data_attr(),e.extend(!0,this.settings,n,i),this.bindings(n,i),this.load("images"),this.load("nodes")},get_media_hash:function(){var e="";for(var t in this.settings.named_queries)e+=matchMedia(this.settings.named_queries[t]).matches.toString();return e},events:function(){var n,i=this;return e(t).off(".interchange").on("resize.fndtn.interchange",i.throttle(function(){var e=i.get_media_hash();e!==n&&i.resize(),n=e},50)),this},resize:function(){var t=this.cache;if(!this.images_loaded||!this.nodes_loaded)return void setTimeout(e.proxy(this.resize,this),50);for(var n in t)if(t.hasOwnProperty(n)){var i=this.results(n,t[n]);i&&this.settings.directives[i.scenario[1]].call(this,i.el,i.scenario[0],function(){if(arguments[0]instanceof Array)var e=arguments[0];else var e=Array.prototype.slice.call(arguments,0);i.el.trigger(i.scenario[1],e)})}},results:function(e,t){var n=t.length;if(n>0)for(var i=this.S("["+this.add_namespace("data-uuid")+'="'+e+'"]');n--;){var o,r=t[n][2];if(o=this.settings.named_queries.hasOwnProperty(r)?matchMedia(this.settings.named_queries[r]):matchMedia(r),o.matches)return{el:i,scenario:t[n]}}return!1},load:function(e,t){return("undefined"==typeof this["cached_"+e]||t)&&this["update_"+e](),this["cached_"+e]},update_images:function(){var e=this.S("img["+this.data_attr+"]"),t=e.length,n=t,i=0,o=this.data_attr;for(this.cache={},this.cached_images=[],this.images_loaded=0===t;n--;){if(i++,e[n]){(e[n].getAttribute(o)||"").length>0&&this.cached_images.push(e[n])}i===t&&(this.images_loaded=!0,this.enhance("images"))}return this},update_nodes:function(){var e=this.S("["+this.data_attr+"]").not("img"),t=e.length,n=t,i=0,o=this.data_attr;for(this.cached_nodes=[],this.nodes_loaded=0===t;n--;){i++;(e[n].getAttribute(o)||"").length>0&&this.cached_nodes.push(e[n]),i===t&&(this.nodes_loaded=!0,this.enhance("nodes"))}return this},enhance:function(n){for(var i=this["cached_"+n].length;i--;)this.object(e(this["cached_"+n][i]));return e(t).trigger("resize").trigger("resize.fndtn.interchange")},convert_directive:function(e){var t=this.trim(e);return t.length>0?t:"replace"},parse_scenario:function(e){var t=e[0].match(/(.+),\s*(\w+)\s*$/),n=e[1];if(t)var i=t[1],o=t[2];else var r=e[0].split(/,\s*$/),i=r[0],o="";return[this.trim(i),this.convert_directive(o),this.trim(n)]},object:function(e){var t=this.parse_data_attr(e),n=[],i=t.length;if(i>0)for(;i--;){var o=t[i].split(/\((.*?)(\))$/);if(o.length>1){var r=this.parse_scenario(o);n.push(r)}}return this.store(e,n)},store:function(e,t){var n=this.random_str(),i=e.data(this.add_namespace("uuid",!0));return this.cache[i]?this.cache[i]:(e.attr(this.add_namespace("data-uuid"),n),this.cache[n]=t)},trim:function(t){return"string"==typeof t?e.trim(t):t},set_data_attr:function(e){return e?this.namespace.length>0?this.namespace+"-"+this.settings.load_attr:this.settings.load_attr:this.namespace.length>0?"data-"+this.namespace+"-"+this.settings.load_attr:"data-"+this.settings.load_attr},parse_data_attr:function(e){for(var t=e.attr(this.attr_name()).split(/\[(.*?)\]/),n=t.length,i=[];n--;)t[n].replace(/[\W\d]+/,"").length>4&&i.push(t[n]);return i},reflow:function(){this.load("images",!0),this.load("nodes",!0)}}}(jQuery,window,window.document),function(e,t){"use strict";Foundation.libs["magellan-expedition"]={name:"magellan-expedition",version:"5.4.5",settings:{active_class:"active",threshold:0,destination_threshold:20,throttle_delay:30,fixed_top:0},init:function(e,t,n){Foundation.inherit(this,"throttle"),this.bindings(t,n)},events:function(){var n=this,i=n.S,o=n.settings;n.set_expedition_position(),i(n.scope).off(".magellan").on("click.fndtn.magellan","["+n.add_namespace("data-magellan-arrival")+'] a[href^="#"]',function(t){t.preventDefault();var i=e(this).closest("["+n.attr_name()+"]"),o=i.data("magellan-expedition-init"),r=this.hash.split("#").join(""),s=e("a[name='"+r+"']");0===s.length&&(s=e("#"+r));var a=s.offset().top-o.destination_threshold+1;a-=i.outerHeight(),e("html, body").stop().animate({scrollTop:a},700,"swing",function(){history.pushState?history.pushState(null,null,"#"+r):location.hash="#"+r})}).on("scroll.fndtn.magellan",n.throttle(this.check_for_arrivals.bind(this),o.throttle_delay)),e(t).on("resize.fndtn.magellan",n.throttle(this.set_expedition_position.bind(this),o.throttle_delay))},check_for_arrivals:function(){var e=this;e.update_arrivals(),e.update_expedition_positions()},set_expedition_position:function(){var t=this;e("["+this.attr_name()+"=fixed]",t.scope).each(function(){var n,i,o=e(this),r=o.data("magellan-expedition-init"),s=o.attr("styles");o.attr("style",""),n=o.offset().top+r.threshold,i=parseInt(o.data("magellan-fixed-top")),isNaN(i)||(t.settings.fixed_top=i),o.data(t.data_attr("magellan-top-offset"),n),o.attr("style",s)})},update_expedition_positions:function(){var n=this,i=e(t).scrollTop();e("["+this.attr_name()+"=fixed]",n.scope).each(function(){var t=e(this),o=t.data("magellan-expedition-init"),r=t.attr("style"),s=t.data("magellan-top-offset");if(i+n.settings.fixed_top>=s){var a=t.prev("["+n.add_namespace("data-magellan-expedition-clone")+"]");0===a.length&&(a=t.clone(),a.removeAttr(n.attr_name()),a.attr(n.add_namespace("data-magellan-expedition-clone"),""),t.before(a)),t.css({position:"fixed",top:o.fixed_top}).addClass("fixed")}else t.prev("["+n.add_namespace("data-magellan-expedition-clone")+"]").remove(),t.attr("style",r).css("position","").css("top","").removeClass("fixed")})},update_arrivals:function(){var n=this,i=e(t).scrollTop();e("["+this.attr_name()+"]",n.scope).each(function(){var t=e(this),o=t.data(n.attr_name(!0)+"-init"),r=n.offsets(t,i),s=t.find("["+n.add_namespace("data-magellan-arrival")+"]"),a=!1;r.each(function(e,i){if(i.viewport_offset>=i.top_offset){return t.find("["+n.add_namespace("data-magellan-arrival")+"]").not(i.arrival).removeClass(o.active_class),i.arrival.addClass(o.active_class),a=!0,!0}}),a||s.removeClass(o.active_class)})},offsets:function(t,n){var i=this,o=t.data(i.attr_name(!0)+"-init"),r=n;return t.find("["+i.add_namespace("data-magellan-arrival")+"]").map(function(){var n=e(this).data(i.data_attr("magellan-arrival")),s=e("["+i.add_namespace("data-magellan-destination")+"="+n+"]");if(s.length>0){var a=Math.floor(s.offset().top-o.destination_threshold-t.outerHeight());return{destination:s,arrival:e(this),top_offset:a,viewport_offset:r}}}).sort(function(e,t){return e.top_offset<t.top_offset?-1:e.top_offset>t.top_offset?1:0})},data_attr:function(e){return this.namespace.length>0?this.namespace+"-"+e:e},off:function(){this.S(this.scope).off(".magellan"),this.S(t).off(".magellan")},reflow:function(){var t=this;e("["+t.add_namespace("data-magellan-expedition-clone")+"]",t.scope).remove()}}}(jQuery,window,window.document),function(e){"use strict";Foundation.libs.offcanvas={name:"offcanvas",version:"5.4.5",settings:{open_method:"move",close_on_click:!1},init:function(e,t,n){this.bindings(t,n)},events:function(){var t=this,n=t.S,i="",o="",r="";"move"===this.settings.open_method?(i="move-",o="right",r="left"):"overlap_single"===this.settings.open_method?(i="offcanvas-overlap-",o="right",r="left"):"overlap"===this.settings.open_method&&(i="offcanvas-overlap"),n(this.scope).off(".offcanvas").on("click.fndtn.offcanvas",".left-off-canvas-toggle",function(r){t.click_toggle_class(r,i+o),"overlap"!==t.settings.open_method&&n(".left-submenu").removeClass(i+o),e(".left-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".left-off-canvas-menu a",function(r){var s=t.get_settings(r),a=n(this).parent();!s.close_on_click||a.hasClass("has-submenu")||a.hasClass("back")?n(this).parent().hasClass("has-submenu")?(r.preventDefault(),n(this).siblings(".left-submenu").toggleClass(i+o)):a.hasClass("back")&&(r.preventDefault(),a.parent().removeClass(i+o)):(t.hide.call(t,i+o,t.get_wrapper(r)),a.parent().removeClass(i+o)),e(".left-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".right-off-canvas-toggle",function(o){t.click_toggle_class(o,i+r),"overlap"!==t.settings.open_method&&n(".right-submenu").removeClass(i+r),e(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".right-off-canvas-menu a",function(o){var s=t.get_settings(o),a=n(this).parent();!s.close_on_click||a.hasClass("has-submenu")||a.hasClass("back")?n(this).parent().hasClass("has-submenu")?(o.preventDefault(),n(this).siblings(".right-submenu").toggleClass(i+r)):a.hasClass("back")&&(o.preventDefault(),a.parent().removeClass(i+r)):(t.hide.call(t,i+r,t.get_wrapper(o)),a.parent().removeClass(i+r)),e(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(s){t.click_remove_class(s,i+r),n(".right-submenu").removeClass(i+r), 5o&&(t.click_remove_class(s,i+o),n(".left-submenu").removeClass(i+r)),e(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(n){t.click_remove_class(n,i+r),e(".left-off-canvas-toggle").attr("aria-expanded","false"),o&&(t.click_remove_class(n,i+o),e(".right-off-canvas-toggle").attr("aria-expanded","false"))})},toggle:function(e,t){t=t||this.get_wrapper(),t.is("."+e)?this.hide(e,t):this.show(e,t)},show:function(e,t){t=t||this.get_wrapper(),t.trigger("open").trigger("open.fndtn.offcanvas"),t.addClass(e)},hide:function(e,t){t=t||this.get_wrapper(),t.trigger("close").trigger("close.fndtn.offcanvas"),t.removeClass(e)},click_toggle_class:function(e,t){e.preventDefault();var n=this.get_wrapper(e);this.toggle(t,n)},click_remove_class:function(e,t){e.preventDefault();var n=this.get_wrapper(e);this.hide(t,n)},get_settings:function(e){return this.S(e.target).closest("["+this.attr_name()+"]").data(this.attr_name(!0)+"-init")||this.settings},get_wrapper:function(e){var t=this.S(e?e.target:this.scope).closest(".off-canvas-wrap");return 0===t.length&&(t=this.S(".off-canvas-wrap")),t},reflow:function(){}}}(jQuery,window,window.document),function(e,t,n,i){"use strict";function o(e){var t=/fade/i.test(e),n=/pop/i.test(e);return{animate:t||n,pop:n,fade:t}}Foundation.libs.reveal={name:"reveal",version:"5.4.5",locked:!1,settings:{animation:"fadeAndPop",animation_speed:250,close_on_background_click:!0,close_on_esc:!0,dismiss_modal_class:"close-reveal-modal",bg_class:"reveal-modal-bg",root_element:"body",open:function(){},opened:function(){},close:function(){},closed:function(){},bg:e(".reveal-modal-bg"),css:{open:{opacity:0,visibility:"visible",display:"block"},close:{opacity:1,visibility:"hidden",display:"none"}}},init:function(t,n,i){e.extend(!0,this.settings,n,i),this.bindings(n,i)},events:function(){var e=this,t=e.S;return t(this.scope).off(".reveal").on("click.fndtn.reveal","["+this.add_namespace("data-reveal-id")+"]:not([disabled])",function(n){if(n.preventDefault(),!e.locked){var i=t(this),o=i.data(e.data_attr("reveal-ajax"));if(e.locked=!0,void 0===o)e.open.call(e,i);else{var r=!0===o?i.attr("href"):o;e.open.call(e,i,{url:r})}}}),t(n).on("click.fndtn.reveal",this.close_targets(),function(n){if(n.preventDefault(),!e.locked){var i=t("["+e.attr_name()+"].open").data(e.attr_name(!0)+"-init"),o=t(n.target)[0]===t("."+i.bg_class)[0];if(o){if(!i.close_on_background_click)return;n.stopPropagation()}e.locked=!0,e.close.call(e,o?t("["+e.attr_name()+"].open"):t(this).closest("["+e.attr_name()+"]"))}}),t("["+e.attr_name()+"]",this.scope).length>0?t(this.scope).on("open.fndtn.reveal",this.settings.open).on("opened.fndtn.reveal",this.settings.opened).on("opened.fndtn.reveal",this.open_video).on("close.fndtn.reveal",this.settings.close).on("closed.fndtn.reveal",this.settings.closed).on("closed.fndtn.reveal",this.close_video):t(this.scope).on("open.fndtn.reveal","["+e.attr_name()+"]",this.settings.open).on("opened.fndtn.reveal","["+e.attr_name()+"]",this.settings.opened).on("opened.fndtn.reveal","["+e.attr_name()+"]",this.open_video).on("close.fndtn.reveal","["+e.attr_name()+"]",this.settings.close).on("closed.fndtn.reveal","["+e.attr_name()+"]",this.settings.closed).on("closed.fndtn.reveal","["+e.attr_name()+"]",this.close_video),!0},key_up_on:function(){var e=this;return e.S("body").off("keyup.fndtn.reveal").on("keyup.fndtn.reveal",function(t){var n=e.S("["+e.attr_name()+"].open"),i=n.data(e.attr_name(!0)+"-init")||e.settings;i&&27===t.which&&i.close_on_esc&&!e.locked&&e.close.call(e,n)}),!0},key_up_off:function(){return this.S("body").off("keyup.fndtn.reveal"),!0},open:function(n,i){var o,r=this;n?"undefined"!=typeof n.selector?o=r.S("#"+n.data(r.data_attr("reveal-id"))).first():(o=r.S(this.scope),i=n):o=r.S(this.scope);var s=o.data(r.attr_name(!0)+"-init");if(s=s||this.settings,o.hasClass("open")&&n.attr("data-reveal-id")==o.attr("id"))return r.close(o);if(!o.hasClass("open")){var a=r.S("["+r.attr_name()+"].open");if(void 0===o.data("css-top")&&o.data("css-top",parseInt(o.css("top"),10)).data("offset",this.cache_offset(o)),this.key_up_on(o),o.trigger("open").trigger("open.fndtn.reveal"),a.length<1&&this.toggle_bg(o,!0),"string"==typeof i&&(i={url:i}),void 0!==i&&i.url){var l="undefined"!=typeof i.success?i.success:null;e.extend(i,{success:function(t,n,i){e.isFunction(l)&&l(t,n,i),o.html(t),r.S(o).foundation("section","reflow"),r.S(o).children().foundation(),a.length>0&&r.hide(a,s.css.close),r.show(o,s.css.open)}}),e.ajax(i)}else a.length>0&&this.hide(a,s.css.close),this.show(o,s.css.open)}r.S(t).trigger("resize")},close:function(e){var e=e&&e.length?e:this.S(this.scope),t=this.S("["+this.attr_name()+"].open"),n=e.data(this.attr_name(!0)+"-init")||this.settings;t.length>0&&(this.locked=!0,this.key_up_off(e),e.trigger("close").trigger("close.fndtn.reveal"),this.toggle_bg(e,!1),this.hide(t,n.css.close,n))},close_targets:function(){var e="."+this.settings.dismiss_modal_class;return this.settings.close_on_background_click?e+", ."+this.settings.bg_class:e},toggle_bg:function(t,n){0===this.S("."+this.settings.bg_class).length&&(this.settings.bg=e("<div />",{"class":this.settings.bg_class}).appendTo("body").hide());var o=this.settings.bg.filter(":visible").length>0;n!=o&&((n==i?o:!n)?this.hide(this.settings.bg):this.show(this.settings.bg))},show:function(n,i){if(i){var r=n.data(this.attr_name(!0)+"-init")||this.settings,s=r.root_element;if(0===n.parent(s).length){var a=n.wrap('<div style="display: none;" />').parent();n.on("closed.fndtn.reveal.wrapped",function(){n.detach().appendTo(a),n.unwrap().unbind("closed.fndtn.reveal.wrapped")}),n.detach().appendTo(s)}var l=o(r.animation);if(l.animate||(this.locked=!1),l.pop){i.top=e(t).scrollTop()-n.data("offset")+"px";var u={top:e(t).scrollTop()+n.data("css-top")+"px",opacity:1};return setTimeout(function(){return n.css(i).animate(u,r.animation_speed,"linear",function(){this.locked=!1,n.trigger("opened").trigger("opened.fndtn.reveal")}.bind(this)).addClass("open")}.bind(this),r.animation_speed/2)}if(l.fade){i.top=e(t).scrollTop()+n.data("css-top")+"px";var u={opacity:1};return setTimeout(function(){return n.css(i).animate(u,r.animation_speed,"linear",function(){this.locked=!1,n.trigger("opened").trigger("opened.fndtn.reveal")}.bind(this)).addClass("open")}.bind(this),r.animation_speed/2)}return n.css(i).show().css({opacity:1}).addClass("open").trigger("opened").trigger("opened.fndtn.reveal")}var r=this.settings;return o(r.animation).fade?n.fadeIn(r.animation_speed/2):(this.locked=!1,n.show())},hide:function(n,i){if(i){var r=n.data(this.attr_name(!0)+"-init");r=r||this.settings;var s=o(r.animation);if(s.animate||(this.locked=!1),s.pop){var a={top:-e(t).scrollTop()-n.data("offset")+"px",opacity:0};return setTimeout(function(){return n.animate(a,r.animation_speed,"linear",function(){this.locked=!1,n.css(i).trigger("closed").trigger("closed.fndtn.reveal")}.bind(this)).removeClass("open")}.bind(this),r.animation_speed/2)}if(s.fade){var a={opacity:0};return setTimeout(function(){return n.animate(a,r.animation_speed,"linear",function(){this.locked=!1,n.css(i).trigger("closed").trigger("closed.fndtn.reveal")}.bind(this)).removeClass("open")}.bind(this),r.animation_speed/2)}return n.hide().css(i).removeClass("open").trigger("closed").trigger("closed.fndtn.reveal")}var r=this.settings;return o(r.animation).fade?n.fadeOut(r.animation_speed/2):n.hide()},close_video:function(t){var n=e(".flex-video",t.target),i=e("iframe",n);i.length>0&&(i.attr("data-src",i[0].src),i.attr("src",i.attr("src")),n.hide())},open_video:function(t){var n=e(".flex-video",t.target),o=n.find("iframe");if(o.length>0){if("string"==typeof o.attr("data-src"))o[0].src=o.attr("data-src");else{var r=o[0].src;o[0].src=i,o[0].src=r}n.show()}},data_attr:function(e){return this.namespace.length>0?this.namespace+"-"+e:e},cache_offset:function(e){var t=e.show().height()+parseInt(e.css("top"),10);return e.hide(),t},off:function(){e(this.scope).off(".fndtn.reveal")},reflow:function(){}}}(jQuery,window,window.document),function(e,t,n,i){"use strict";Foundation.libs.tab={name:"tab",version:"5.4.5",settings:{active_class:"active",callback:function(){},deep_linking:!1,scroll_to_content:!0,is_hover:!1},default_tab_hashes:[],init:function(e,t,n){var i=this,o=this.S;this.bindings(t,n),this.handle_location_hash_change(),o("["+this.attr_name()+"] > .active > a",this.scope).each(function(){i.default_tab_hashes.push(this.hash)})},events:function(){var e=this,n=this.S,i=function(t){n(this).closest("["+e.attr_name()+"]").data(e.attr_name(!0)+"-init").is_hover&&!Modernizr.touch||(t.preventDefault(),t.stopPropagation(),e.toggle_active_tab(n(this).parent()))};n(this.scope).off(".tab").on("focus.fndtn.tab","["+this.attr_name()+"] > * > a",i).on("click.fndtn.tab","["+this.attr_name()+"] > * > a",i).on("mouseenter.fndtn.tab","["+this.attr_name()+"] > * > a",function(){n(this).closest("["+e.attr_name()+"]").data(e.attr_name(!0)+"-init").is_hover&&e.toggle_active_tab(n(this).parent())}),n(t).on("hashchange.fndtn.tab",function(t){t.preventDefault(),e.handle_location_hash_change()})},handle_location_hash_change:function(){var t=this,n=this.S;n("["+this.attr_name()+"]",this.scope).each(function(){var o=n(this).data(t.attr_name(!0)+"-init");if(o.deep_linking){var r;if(""!=(r=o.scroll_to_content?t.scope.location.hash:t.scope.location.hash.replace("fndtn-",""))){var s=n(r);if(s.hasClass("content")&&s.parent().hasClass("tab-content"))t.toggle_active_tab(e("["+t.attr_name()+"] > * > a[href="+r+"]").parent());else{var a=s.closest(".content").attr("id");a!=i&&t.toggle_active_tab(e("["+t.attr_name()+"] > * > a[href=#"+a+"]").parent(),r)}}
vendor: 5,395 bytes, line 5
5else for(var l in t.default_tab_hashes)t.toggle_active_tab(e("["+t.attr_name()+"] > * > a[href="+t.default_tab_hashes[l]+"]").parent())}})},toggle_active_tab:function(o,r){var s=this.S,a=o.closest("["+this.attr_name()+"]"),l=o.find("a"),u=o.children("a").first(),c="#"+u.attr("href").split("#")[1],d=s(c),h=o.siblings(),p=a.data(this.attr_name(!0)+"-init"),f=function(t){var i,o=e(this),r=e(this).parents("li").prev().children('[role="tab"]'),s=e(this).parents("li").next().children('[role="tab"]');switch(t.keyCode){case 37:i=r;break;case 39:i=s;break;default:i=!1}i.length&&(o.attr({tabindex:"-1","aria-selected":null}),i.attr({tabindex:"0","aria-selected":!0}).focus()),e('[role="tabpanel"]').attr("aria-hidden","true"),e("#"+e(n.activeElement).attr("href").substring(1)).attr("aria-hidden",null)};s(this).data(this.data_attr("tab-content"))&&(c="#"+s(this).data(this.data_attr("tab-content")).split("#")[1],d=s(c)),p.deep_linking&&(p.scroll_to_content?(t.location.hash=r||c,r==i||r==c?o.parent()[0].scrollIntoView():s(c)[0].scrollIntoView()):t.location.hash=r!=i?"fndtn-"+r.replace("#",""):"fndtn-"+c.replace("#","")),o.addClass(p.active_class).triggerHandler("opened"),l.attr({"aria-selected":"true",tabindex:0}),h.removeClass(p.active_class),h.find("a").attr({"aria-selected":"false",tabindex:-1}),d.siblings().removeClass(p.active_class).attr({"aria-hidden":"true",tabindex:-1}).end().addClass(p.active_class).attr("aria-hidden","false").find(":first-child").attr("tabindex",0),p.callback(o),d.children().attr("tab-index",0),d.triggerHandler("toggled",[o]),a.triggerHandler("toggled",[d]),l.on("keydown",f)},data_attr:function(e){return this.namespace.length>0?this.namespace+"-"+e:e},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(e,t){"use strict";Foundation.libs.tooltip={name:"tooltip",version:"5.4.5",settings:{additional_inheritable_classes:[],tooltip_class:".tooltip",append_to:"body",touch_close_text:"Tap To Close",disable_for_touch:!1,hover_delay:200,show_on:"all",tip_template:function(e,t){return'<span data-selector="'+e+'" id="'+e+'" class="'+Foundation.libs.tooltip.settings.tooltip_class.substring(1)+'" role="tooltip">'+t+'<span class="nub"></span></span>'}},cache:{},init:function(e,t,n){Foundation.inherit(this,"random_str"),this.bindings(t,n)},should_show:function(t){var n=e.extend({},this.settings,this.data_options(t));return"all"===n.show_on||(!(!this.small()||"small"!==n.show_on)||(!(!this.medium()||"medium"!==n.show_on)||!(!this.large()||"large"!==n.show_on)))},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},events:function(t){var n=this,i=n.S;n.create(this.S(t)),e(this.scope).off(".tooltip").on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"]",function(t){var o=i(this),r=e.extend({},n.settings,n.data_options(o));if(Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&i(t.target).is("a"))return!1;if(/mouse/i.test(t.type)&&n.ie_touch(t))return!1;if(o.hasClass("open"))Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&t.preventDefault(),n.hide(o);else{if(r.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type))return;!r.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&(t.preventDefault(),i(r.tooltip_class+".open").hide(),!0),/enter|over/i.test(t.type)?this.timer=setTimeout(function(){n.showTip(o)}.bind(this),n.settings.hover_delay):"mouseout"===t.type||"mouseleave"===t.type?(clearTimeout(this.timer),n.hide(o)):n.showTip(o)}}).on("mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"].open",function(t){if(/mouse/i.test(t.type)&&n.ie_touch(t))return!1;"touch"==e(this).data("tooltip-open-event-type")&&"mouseleave"==t.type||("mouse"==e(this).data("tooltip-open-event-type")&&/MSPointerDown|touchstart/i.test(t.type)?n.convert_to_touch(e(this)):n.hide(e(this)))}).on("DOMNodeRemoved DOMAttrModified","["+this.attr_name()+"]:not(a)",function(){n.hide(i(this))})},ie_touch:function(){return!1},showTip:function(e){var t=this.getTip(e);if(this.should_show(e,t))return this.show(e)},getTip:function(t){var n=this.selector(t),i=e.extend({},this.settings,this.data_options(t)),o=null;return n&&(o=this.S('span[data-selector="'+n+'"]'+i.tooltip_class)),"object"==typeof o&&o},selector:function(e){var t=e.attr("id"),n=e.attr(this.attr_name())||e.attr("data-selector");return(t&&t.length<1||!t)&&"string"!=typeof n&&(n=this.random_str(6),e.attr("data-selector",n).attr("aria-describedby",n)),t&&t.length>0?t:n},create:function(n){var i=this,o=e.extend({},this.settings,this.data_options(n)),r=this.settings.tip_template;"string"==typeof o.tip_template&&t.hasOwnProperty(o.tip_template)&&(r=t[o.tip_template]);var s=e(r(this.selector(n),e("<div></div>").html(n.attr("title")).html())),a=this.inheritable_classes(n);s.addClass(a).appendTo(o.append_to),Modernizr.touch&&(s.append('<span class="tap-to-close">'+o.touch_close_text+"</span>"),s.on("touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip",function(){i.hide(n)})),n.removeAttr("title").attr("title","")},reposition:function(t,n,i){var o,r,s,a;if(n.css("visibility","hidden").show(),o=t.data("width"),r=n.children(".nub"),s=r.outerHeight(),r.outerHeight(),this.small
vendor: 9,064 bytes, line 5
5()?n.css({width:"100%"}):n.css({width:o||"auto"}),a=function(e,t,n,i,o){return e.css({top:t||"auto",bottom:i||"auto",left:o||"auto",right:n||"auto"}).end()},a(n,t.offset().top+t.outerHeight()+10,"auto","auto",t.offset().left),this.small())a(n,t.offset().top+t.outerHeight()+10,"auto","auto",12.5,e(this.scope).width()),n.addClass("tip-override"),a(r,-s,"auto","auto",t.offset().left);else{var l=t.offset().left;Foundation.rtl&&(r.addClass("rtl"),l=t.offset().left+t.outerWidth()-n.outerWidth()),a(n,t.offset().top+t.outerHeight()+10,"auto","auto",l),n.removeClass("tip-override"),i&&i.indexOf("tip-top")>-1?(Foundation.rtl&&r.addClass("rtl"),a(n,t.offset().top-n.outerHeight(),"auto","auto",l).removeClass("tip-override")):i&&i.indexOf("tip-left")>-1?(a(n,t.offset().top+t.outerHeight()/2-n.outerHeight()/2,"auto","auto",t.offset().left-n.outerWidth()-s).removeClass("tip-override"),r.removeClass("rtl")):i&&i.indexOf("tip-right")>-1&&(a(n,t.offset().top+t.outerHeight()/2-n.outerHeight()/2,"auto","auto",t.offset().left+t.outerWidth()+s).removeClass("tip-override"),r.removeClass("rtl"))}n.css("visibility","visible").hide()},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},inheritable_classes:function(t){var n=e.extend({},this.settings,this.data_options(t)),i=["tip-top","tip-left","tip-bottom","tip-right","radius","round"].concat(n.additional_inheritable_classes),o=t.attr("class"),r=o?e.map(o.split(" "),function(t){if(-1!==e.inArray(t,i))return t}).join(" "):"";return e.trim(r)},convert_to_touch:function(t){var n=this,i=n.getTip(t),o=e.extend({},n.settings,n.data_options(t));0===i.find(".tap-to-close").length&&(i.append('<span class="tap-to-close">'+o.touch_close_text+"</span>"),i.on("click.fndtn.tooltip.tapclose touchstart.fndtn.tooltip.tapclose MSPointerDown.fndtn.tooltip.tapclose",function(){n.hide(t)})),t.data("tooltip-open-event-type","touch")},show:function(e){var t=this.getTip(e);"touch"==e.data("tooltip-open-event-type")&&this.convert_to_touch(e),this.reposition(e,t,e.attr("class")),e.addClass("open"),t.fadeIn(150)},hide:function(e){var t=this.getTip(e);t.fadeOut(150,function(){t.find(".tap-to-close").remove(),t.off("click.fndtn.tooltip.tapclose MSPointerDown.fndtn.tapclose"),e.removeClass("open")})},off:function(){var t=this;this.S(this.scope).off(".fndtn.tooltip"),this.S(this.settings.tooltip_class).each(function(n){e("["+t.attr_name()+"]").eq(n).attr("title",e(this).text())}).remove()},reflow:function(){}}}(jQuery,window,window.document),function(e,t,n){"use strict";Foundation.libs.topbar={name:"topbar",version:"5.4.5",settings:{index:0,sticky_class:"sticky",custom_back_text:!0,back_text:"Back",mobile_show_parent_link:!0,is_hover:!0,scrolltop:!0,sticky_on:"all"},init:function(t,n,i){Foundation.inherit(this,"add_custom_rule register_media throttle");var o=this;o.register_media("topbar","foundation-mq-topbar"),this.bindings(n,i),o.S("["+this.attr_name()+"]",this.scope).each(function(){var t=e(this),n=t.data(o.attr_name(!0)+"-init");o.S("section, .top-bar-section",this);t.data("index",0);var i=t.parent();i.hasClass("fixed")||o.is_sticky(t,i,n)?(o.settings.sticky_class=n.sticky_class,o.settings.sticky_topbar=t,t.data("height",i.outerHeight()),t.data("stickyoffset",i.offset().top)):t.data("height",t.outerHeight()),n.assembled||o.assemble(t),n.is_hover?o.S(".has-dropdown",t).addClass("not-click"):o.S(".has-dropdown",t).removeClass("not-click"),o.add_custom_rule(".f-topbar-fixed { padding-top: "+t.data("height")+"px }"),i.hasClass("fixed")&&o.S("body").addClass("f-topbar-fixed")})},is_sticky:function(e,t,n){var i=t.hasClass(n.sticky_class);return!(!i||"all"!==n.sticky_on)||(i&&this.small()&&"small"===n.sticky_on?matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches&&!matchMedia(Foundation.media_queries.large).matches:i&&this.medium()&&"medium"===n.sticky_on?matchMedia(Foundation.media_queries.small).matches&&matchMedia(Foundation.media_queries.medium).matches&&!matchMedia(Foundation.media_queries.large).matches:!(!i||!this.large()||"large"!==n.sticky_on)&&(matchMedia(Foundation.media_queries.small).matches&&matchMedia(Foundation.media_queries.medium).matches&&matchMedia(Foundation.media_queries.large).matches))},toggle:function(n){var i,o=this;i=n?o.S(n).closest("["+this.attr_name()+"]"):o.S("["+this.attr_name()+"]");var r=i.data(this.attr_name(!0)+"-init"),s=o.S("section, .top-bar-section",i);o.breakpoint()&&(o.rtl?(s.css({right:"0%"}),e(">.name",s).css({right:"100%"})):(s.css({left:"0%"}),e(">.name",s).css({left:"100%"})),o.S("li.moved",s).removeClass("moved"),i.data("index",0),i.toggleClass("expanded").css("height","")),r.scrolltop?i.hasClass("expanded")?i.parent().hasClass("fixed")&&(r.scrolltop?(i.parent().removeClass("fixed"),i.addClass("fixed"),o.S("body").removeClass("f-topbar-fixed"),t.scrollTo(0,0)):i.parent().removeClass("expanded")):i.hasClass("fixed")&&(i.parent().addClass("fixed"),i.removeClass("fixed"),o.S("body").addClass("f-topbar-fixed")):(o.is_sticky(i,i.parent(),r)&&i.parent().addClass("fixed"),i.parent().hasClass("fixed")&&(i.hasClass("expanded")?(i.addClass("fixed"),i.parent().addClass("expanded"),o.S("body").addClass("f-topbar-fixed")):(i.removeClass("fixed"),i.parent().removeClass("expanded"),o.update_sticky_positioning())))},timer:null,events:function(){var n=this,i=this.S;i(this.scope).off(".topbar").on("click.fndtn.topbar","["+this.attr_name()+"] .toggle-topbar",function(e){e.preventDefault(),n.toggle(this)}).on("click.fndtn.topbar",'.top-bar .top-bar-section li a[href^="#"],['+this.attr_name()+'] .top-bar-section li a[href^="#"]',function(){var t=e(this).closest("li");!n.breakpoint()||t.hasClass("back")||t.hasClass("has-dropdown")||n.toggle()}).on("click.fndtn.topbar","["+this.attr_name()+"] li.has-dropdown",function(t){var o=i(this),r=i(t.target),s=o.closest("["+n.attr_name()+"]"),a=s.data(n.attr_name(!0)+"-init");if(r.data("revealId"))return void n.toggle();n.breakpoint()||a.is_hover&&!Modernizr.touch||(t.stopImmediatePropagation(),o.hasClass("hover")?(o.removeClass("hover").find("li").removeClass("hover"),o.parents("li.hover").removeClass("hover")):(o.addClass("hover"),e(o).siblings().removeClass("hover"),"A"===r[0].nodeName&&r.parent().hasClass("has-dropdown")&&t.preventDefault()))}).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown>a",function(e){if(n.breakpoint()){e.preventDefault();var t=i(this),o=t.closest("["+n.attr_name()+"]"),r=o.find("section, .top-bar-section"),s=(t.next(".dropdown").outerHeight(),t.closest("li"));o.data("index",o.data("index")+1),s.addClass("moved"),n.rtl?(r.css({right:-100*o.data("index")+"%"}),r.find(">.name").css({right:100*o.data("index")+"%"})):(r.css({left:-100*o.data("index")+"%"}),r.find(">.name").css({left:100*o.data("index")+"%"})),o.css("height",t.siblings("ul").outerHeight(!0)+o.data("height"))}}),i(t).off(".topbar").on("resize.fndtn.topbar",n.throttle(function(){n.resize.call(n)},50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){i(this).trigger("resize.fndtn.topbar")}),i("body").off(".topbar").on("click.fndtn.topbar",function(e){i(e.target).closest("li").closest("li.hover").length>0||i("["+n.attr_name()+"] li.hover").removeClass("hover")}),i(this.scope).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown .back",function(e){e.preventDefault();var t=i(this),o=t.closest("["+n.attr_name()+"]"),r=o.find("section, .top-bar-section"),s=(o.data(n.attr_name(!0)+"-init"),t.closest("li.moved")),a=s.parent();o.data("index",o.data("index")-1),n.rtl?(r.css({right:-100*o.data("index")+"%"}),r.find(">.name").css({right:100*o.data("index")+"%"})):(r.css({left:-100*o.data("index")+"%"}),r.find(">.name").css({left:100*o.data("index")+"%"})),0===o.data("index")?o.css("height",""):o.css("height",a.outerHeight(!0)+o.data("height")),setTimeout(function(){s.removeClass("moved")},300)}),i(this.scope).find(".dropdown a").focus(function(){e(this).parents(".has-dropdown").addClass("hover")}).blur(function(){e(this).parents(".has-dropdown").removeClass("hover")})},resize:function(){var e=this;e.S("["+this.attr_name()+"]").each(function(){var t,i=e.S(this),o=i.data(e.attr_name(!0)+"-init"),r=i.parent("."+e.settings.sticky_class);if(!e.breakpoint()){var s=i.hasClass("expanded");i.css("height","").removeClass("expanded").find("li").removeClass("hover"),s&&e.toggle(i)}e.is_sticky(i,r,o)&&(r.hasClass("fixed")?(r.removeClass("fixed"),t=r.offset().top,e.S(n.body).hasClass("f-topbar-fixed")&&(t-=i.data("height")),i.data("stickyoffset",t),r.addClass("fixed")):(t=r.offset().top,i.data("stickyoffset",t)))})},breakpoint:function(){return!matchMedia(Foundation.media_queries.topbar).matches},small:function(){return matchMedia(Foundation.media_queries.small).matches},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},assemble:function(t){var n=this,i=t.data(this.attr_name(!0)+"-init"),o=n.S("section, .to
5p-bar-section",t);o.detach(),n.S(".has-dropdown>a",o).each(function(){var t,o=n.S(this),r=o.siblings(".dropdown"),s=o.attr("href");r.find(".title.back").length||(t=e(1==i.mobile_show_parent_link&&s?'<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link show-for-small"><a class="parent-link js-generated" href="'+s+'">'+o.html()+"</a></li>":'<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5>'),1==i.custom_back_text?e("h5>a",t).html(i.back_text):e("h5>a",t).html("« "+o.html()),r.prepend(t))}),o.appendTo(t),this.sticky(),this.assembled(t)},assembled:function(t){t.data(this.attr_name(!0),e.extend({},t.data(this.attr_name(!0)),{assembled:!0}))},height:function(t){var n=0,i=this;return e("> li",t).each(function(){n+=i.S(this).outerHeight(!0)}),n},sticky:function(){var e=this;this.S(t).on("scroll",function(){e.update_sticky_positioning()})},update_sticky_positioning:function(){var e="."+this.settings.sticky_class,n=this.S(t),i=this;if(i.settings.sticky_topbar&&i.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(),this.settings)){var o=this.settings.sticky_topbar.data("stickyoffset");i.S(e).hasClass("expanded")||(n.scrollTop()>o?i.S(e).hasClass("fixed")||(i.S(e).addClass("fixed"),i.S("body").addClass("f-topbar-fixed")):n.scrollTop()<=o&&i.S(e).hasClass("fixed")&&(i.S(e).removeClass("fixed"),i.S("body").removeClass("f-topbar-fixed")))}},off:function(){this.S(this.scope).off(".fndtn.topbar"),this.S(t).off(".fndtn.topbar")},reflow:function(){}}}(jQuery,window,window.document),function(e){var t=navigator.userAgent;e.HTMLPictureElement&&/ecko/.test(t)&&t.match(/rv\:(\d+)/)&&RegExp.$1<41&&addEventListener("resize",function(){var t,n=document.createElement("source"),i=function(e){var t,i,o=e.parentNode;"PICTURE"===o.nodeName.toUpperCase()?(t=n.cloneNode(),o.insertBefore(t,o.firstElementChild),setTimeout(function(){o.removeChild(t)})):(!e._pfLastSize||e.offsetWidth>e._pfLastSize)&&(e._pfLastSize=e.offsetWidth,i=e.sizes,e.sizes+=",100vw",setTimeout(function(){e.sizes=i}))},o=function(){var e,t=document.querySelectorAll("picture > img, img[srcset][sizes]");for(e=0;e<t.length;e++)i(t[e])},r=function(){clearTimeout(t),t=setTimeout(o,99)},s=e.matchMedia&&matchMedia("(orientation: landscape)"),a=function(){r(),s&&s.addListener&&s.addListener(r)};return n.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),r}())}(window),function(e,t,n){"use strict";function i(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function o(t,n){var i=new e.Image;return i.onerror=function(){T[t]=!1,K()},i.onload=function(){T[t]=1===i.width,K()},i.src=n,"pending"}function r(){O=!1,N=e.devicePixelRatio,F={},j={},_.DPR=N||1,R.width=Math.max(e.innerWidth||0,k.clientWidth),R.height=Math.max(e.innerHeight||0,k.clientHeight),R.vw=R.width/100,R.vh=R.height/100,g=[R.height,R.width,N].join("-"),R.em=_.getEmValue(),R.rem=R.em}function s(e,t,n,i){var o,r,s,a;return"saveData"===S.algorithm?e>2.7?a=n+1:(r=t-n,o=Math.pow(e-.6,1.5),s=r*o,i&&(s+=.1*o),a=e+s):a=n>1?Math.sqrt(e*t):e,a>n}function a(e){var t,n=_.getSet(e),i=!1;"pending"!==n&&(i=g,n&&(t=_.setRes(n),_.applySetCandidate(t,e))),e[_.ns].evaled=i}function l(e,t){return e.res-t.res}function u(e,t,n){var i;return!n&&t&&(n=e[_.ns].sets,n=n&&n[n.length-1]),i=c(t,n),i&&(t=_.makeUrl(t),e[_.ns].curSrc=t,e[_.ns].curCan=i,i.res||Q(i,i.set.sizes)),i}function c(e,t){var n,i,o;if(e&&t)for(o=_.parseSet(t),e=_.makeUrl(e),n=0;n<o.length;n++)if(e===_.makeUrl(o[n].url)){i=o[n];break}return i}function d(e,t){var n,i,o,r,s=e.getElementsByTagName("source");for(n=0,i=s.length;i>n;n++)o=s[n],o[_.ns]=!0,(r=o.getAttribute("srcset"))&&t.push({srcset:r,media:o.getAttribute("media"),type:o.getAttribute("type"),sizes:o.getAttribute("sizes")})}function h(e,t){function n(t){var n,i=t.exec(e.substring(h));return i?(n=i[0],h+=n.length,n):void 0}function o(){var e,n,i,o,r,l,u,c,d,h=!1,f={};for(o=0;o<a.length;o++)r=a[o],l=r[r.length-1],u=r.substring(0,r.length-1),c=parseInt(u,10),d=parseFloat(u),Y.test(u)&&"w"===l?((e||n)&&(h=!0),0===c?h=!0:e=c):V.test(u)&&"x"===l?((e||n||i)&&(h=!0),0>d?h=!0:n=d):Y.test(u)&&"h"===l?((i||n)&&(h=!0),0===c?h=!0:i=c):h=!0;h||(f.url=s,e&&(f.w=e),n&&(f.d=n),i&&(f.h=i),i||n||e||(f.d=1),1===f.d&&(t.has1x=!0),f.set=t,p.push(f))}function r(){for(n(H),l="",u="in descriptor";;){if(c=e.charAt(h),"in descriptor"===u)if(i(c))l&&(a.push(l),l="",u="after descriptor");else{if(","===c)return h+=1,l&&a.push(l),void o();if("("===c)l+=c,u="in parens";else{if(""===c)return l&&a.push(l),void o();l+=c}}else if("in parens"===u)if(")"===c)l+=c,u="in descriptor";else{if(""===c)return a.push(l),void o();l+=c}else if("after descriptor"===u)if(i(c));else{if(""===c)return void o();u="in descriptor",h-=1}h+=1}}for(var s,a,l,u,c,d=e.length,h=0,p=[];;){if(n(B),h>=d)return p;s=n(W),a=[],","===s.slice(-1)?(s=s.replace(U,""),o()):r()}}function p(e){function t(e){function t(){r&&(s.push(r),r="")}function n(){s[0]&&(a.push(s),s=[])}for(var o,r="",s=[],a=[],l=0,u=0,c=!1;;){if(""===(o=e.charAt(u)))return t(),n(),a;if(c){if("*"===o&&"/"===e[u+1]){c=!1,u+=2,t();continue}u+=1}else{if(i(o)){if(e.charAt(u-1)&&i(e.charAt(u-1))||!r){u+=1;continue}if(0===l){t(),u+=1;continue}o=" "}else if("("===o)l+=1;else if(")"===o)l-=1;else{if(","===o){t(),n(),u+=1;continue}if("/"===o&&"*"===e.charAt(u+1)){c=!0,u+=2;continue}}r+=o,u+=1}}}function n(e){return!!(c.test(e)&&parseFloat(e)>=0)||(!!d.test(e)||("0"===e||"-0"===e||"+0"===e))}var o,r,s,a,l,u,c=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,d=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(r=t(e),s=r.length,o=0;s>o;o++)if(a=r[o],l=a[a.length-1],n(l)){if(u=l,a.pop(),0===a.length)return u;if(a=a.join(" "),_.matchesMedia(a))return u}return"100vw"}t.createElement("picture");var f,m,g,_={},v=function(){},y=t.createElement("img"),b=y.getAttribute,w=y.setAttribute,x=y.removeAttribute,k=t.documentElement,T={},S={algorithm:""},C="data-pfsrc",L=C+"set",M=navigator.userAgent,A=/rident/.test(M)||/ecko/.test(M)&&M.match(/rv\:(\d+)/)&&RegExp.$1>35,D="currentSrc",E=/\s+\+?\d+(e\d+)?w/,P=/(\([^)]+\))?\s*(.+)/,z=e.picturefillCFG,I="font-size:100%!important;",O=!0,F={},j={},N=e.devicePixelRatio,R={px:1,"in":96},q=t.createElement("a"),$=!1,H=/^[ \t\n\r\u000c]+/,B=/^[, \t\n\r\u000c]+/,W=/^[^ \t\n\r\u000c]+/,U=/[,]+$/,Y=/^\d+$/,V=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,Z=function(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i||!1):e.attachEvent&&e.attachEvent("on"+t,n)},G=function(e){var t={};return function(n){return n in t||(t[n]=e(n)),t[n]}},J=function(){var e=/^([\d\.]+)(em|vw|px)$/,t=function(){for(var e=arguments,t=0,n=e[0];++t in e;)n=n.replace(e[t],e[++t]);return n},n=G(function(e){return"return "+t((e||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});return function(t,i){var o;if(!(t in F))if(F[t]=!1,i&&(o=t.match(e)))F[t]=o[1]*R[o[2]];else try{F[t]=new Function("e",n(t))(R)}catch(e){}return F[t]}}(),Q=function(e,t){return e.w?(e.cWidth=_.calcListLength(t||"100vw"),e.res=e.w/e.cWidth):e.res=e.d,e},K=function(e){var n,i,o,r=e||{};if(r.elements&&1===r.elements.nodeType&&("IMG"===r.elements.nodeName.toUpperCase()?r.elements=[r.elements]:(r.context=r.elements,r.elements=null)),n=r.elements||_.qsa(r.context||t,r.reevaluate||r.reselect?_.sel:_.selShort),o=n.length){for(_.setupRun(r),$=!0,i=0;o>i;i++)_.fillImg(n[i],r);_.teardownRun(r)}};e.console&&console.warn,D in y||(D="src"),T["image/jpeg"]=!0,T["image/gif"]=!0,T["image/png"]=!0,T["image/svg+xml"]=t.implementation.hasFeature("http://wwwindow.w3.org/TR/SVG11/feature#Image","1.1"),_.ns=("pf"+(new Date).getTime()).substr(0,9),_.supSrcset="srcset"in y,_.supSizes="sizes"in y,_.supPicture=!!e.HTMLPictureElement,_.
vendor: 4,929 bytes, lines 5-6
5supSrcset&&_.supPicture&&!_.supSizes&&function(e){y.srcset="data:,a",e.src="data:,a",_.supSrcset=y.complete===e.complete,_.supPicture=_.supSrcset&&_.supPicture}(t.createElement("img")),_.selShort="picture>img,img[srcset]",_.sel=_.selShort,_.cfg=S,_.supSrcset&&(_.sel+=",img["+L+"]"),_.DPR=N||1,_.u=R,_.types=T,m=_.supSrcset&&!_.supSizes,_.setSize=v,_.makeUrl=G(function(e){return q.href=e,q.href}),_.qsa=function(e,t){return e.querySelectorAll(t)},_.matchesMedia=function(){ 6return e.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?_.matchesMedia=function(e){return!e||matchMedia(e).matches}:_.matchesMedia=_.mMQ,_.matchesMedia.apply(this,arguments)},_.mMQ=function(e){return!e||J(e)},_.calcLength=function(e){var t=J(e,!0)||!1;return 0>t&&(t=!1),t},_.supportsType=function(e){return!e||T[e]},_.parseSize=G(function(e){var t=(e||"").match(P);return{media:t&&t[1],length:t&&t[2]}}),_.parseSet=function(e){return e.cands||(e.cands=h(e.srcset,e)),e.cands},_.getEmValue=function(){var e;if(!f&&(e=t.body)){var n=t.createElement("div"),i=k.style.cssText,o=e.style.cssText;n.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",k.style.cssText=I,e.style.cssText=I,e.appendChild(n),f=n.offsetWidth,e.removeChild(n),f=parseFloat(f,10),k.style.cssText=i,e.style.cssText=o}return f||16},_.calcListLength=function(e){if(!(e in j)||S.uT){var t=_.calcLength(p(e));j[e]=t||R.width}return j[e]},_.setRes=function(e){var t;if(e){t=_.parseSet(e);for(var n=0,i=t.length;i>n;n++)Q(t[n],e.sizes)}return t},_.setRes.res=Q,_.applySetCandidate=function(e,t){if(e.length){var n,i,o,r,a,c,d,h,p,f=t[_.ns],m=_.DPR;if(c=f.curSrc||t[D],d=f.curCan||u(t,c,e[0].set),d&&d.set===e[0].set&&((p=A&&!t.complete&&d.res-.1>m)||(d.cached=!0,d.res>=m&&(a=d))),!a)for(e.sort(l),r=e.length,a=e[r-1],i=0;r>i;i++)if(n=e[i],n.res>=m){o=i-1,a=e[o]&&(p||c!==_.makeUrl(n.url))&&s(e[o].res,n.res,m,e[o].cached)?e[o]:n;break}a&&(h=_.makeUrl(a.url),f.curSrc=h,f.curCan=a,h!==c&&_.setSrc(t,a),_.setSize(t))}},_.setSrc=function(e,t){var n;e.src=t.url,"image/svg+xml"===t.set.type&&(n=e.style.width,e.style.width=e.offsetWidth+1+"px",e.offsetWidth+1&&(e.style.width=n))},_.getSet=function(e){var t,n,i,o=!1,r=e[_.ns].sets;for(t=0;t<r.length&&!o;t++)if(n=r[t],n.srcset&&_.matchesMedia(n.media)&&(i=_.supportsType(n.type))){"pending"===i&&(n=i),o=n;break}return o},_.parseSets=function(e,t,i){var o,r,s,a,l=t&&"PICTURE"===t.nodeName.toUpperCase(),u=e[_.ns];(u.src===n||i.src)&&(u.src=b.call(e,"src"),u.src?w.call(e,C,u.src):x.call(e,C)),(u.srcset===n||i.srcset||!_.supSrcset||e.srcset)&&(o=b.call(e,"srcset"),u.srcset=o,a=!0),u.sets=[],l&&(u.pic=!0,d(t,u.sets)),u.srcset?(r={srcset:u.srcset,sizes:b.call(e,"sizes")},u.sets.push(r),(s=(m||u.src)&&E.test(u.srcset||""))||!u.src||c(u.src,r)||r.has1x||(r.srcset+=", "+u.src,r.cands.push({url:u.src,d:1,set:r}))):u.src&&u.sets.push({srcset:u.src,sizes:null}),u.curCan=null,u.curSrc=n,u.supported=!(l||r&&!_.supSrcset||s),a&&_.supSrcset&&!u.supported&&(o?(w.call(e,L,o),e.srcset=""):x.call(e,L)),u.supported&&!u.srcset&&(!u.src&&e.src||e.src!==_.makeUrl(u.src))&&(null===u.src?e.removeAttribute("src"):e.src=u.src),u.parsed=!0},_.fillImg=function(e,t){var n,i=t.reselect||t.reevaluate;e[_.ns]||(e[_.ns]={}),n=e[_.ns],(i||n.evaled!==g)&&((!n.parsed||t.reevaluate)&&_.parseSets(e,e.parentNode,t),n.supported?n.evaled=g:a(e))},_.setupRun=function(){(!$||O||N!==e.devicePixelRatio)&&r()},_.supPicture?(K=v,_.fillImg=v):function(){var n,i=e.attachEvent?/d$|^c/:/d$|^c|^i/,o=function(){var e=t.readyState||"";r=setTimeout(o,"loading"===e?200:999),t.body&&(_.fillImgs(),(n=n||i.test(e))&&clearTimeout(r))},r=setTimeout(o,t.body?9:99),s=function(e,t){var n,i,o=function(){var r=new Date-i;t>r?n=setTimeout(o,t-r):(n=null,e())};return function(){i=new Date,n||(n=setTimeout(o,t))}},a=k.clientHeight;Z(e,"resize",s(function(){O=Math.max(e.innerWidth||0,k.clientWidth)!==R.width||k.clientHeight!==a,a=k.clientHeight,O&&_.fillImgs()},99)),Z(t,"readystatechange",o)}(),_.picturefill=K,_.fillImgs=K,_.teardownRun=v,K._=_,e.picturefillCFG={pf:_,push:function(e){var t=e.shift();"function"==typeof _[t]?_[t].apply(_,e):(S[t]=e[0],$&&_.fillImgs({reselect:!0}))}};for(;z&&z.length;)e.picturefillCFG.push(z.shift());e.picturefill=K,"object"==typeof module&&"object"==typeof module.exports?module.exports=K:"function"==typeof define&&define.amd&&define("picturefill",function(){return K}),_.supPicture||(T["image/webp"]=o("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document),"function"!=typeof Object.assign&&function(){Object.assign=function(e){"use strict";if(e===undefined||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];
6if(i!==undefined&&null!==i)for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])}return t}}(),function(e,t){"function"==typeof define&&define.amd?define("i18n",function(){return t(e)}):"object"==typeof module&&module.exports?module.exports=t(e):e.I18n=t(e)}(this,function(e){"use strict";var t=e&&e.I18n||{},n=Array.prototype.slice,i=function(e){return("0"+e.toString()).substr(-2)},o=function(e,t){return p("round",e,-t).toFixed(t)},r=function(e){var t=typeof e;return"function"===t||"object"===t},s=function(e){return"function"==typeof e},a=function(e){return void 0!==e&&null!==e},l=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},u=function(e){return"string"==typeof e||"[object String]"===Object.prototype.toString.call(e)},c=function(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)},d=function(e){return!0===e||!1===e},h=function(e){return null===e},p=function(e,t,n){return void 0===n||0==+n?Math[e](t):(t=+t,n=+n,isNaN(t)||"number"!=typeof n||n%1!=0?NaN:(t=t.toString().split("e"),t=Math[e](+(t[0]+"e"+(t[1]?+t[1]-n:-n))),t=t.toString().split("e"),+(t[0]+"e"+(t[1]?+t[1]+n:n))))},f=function(e,t){return s(e)?e(t):e},m=function(e,t){var n,i;for(n in t)t.hasOwnProperty(n)&&(i=t[n],u(i)||c(i)||d(i)||l(i)||h(i)?e[n]=i:(null==e[n]&&(e[n]={}),m(e[n],i)));return e},g={day_names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbr_day_names:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],month_names:[null,"January","February","March","April","May","June","July","August","September","October","November","December"],abbr_month_names:[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridian:["AM","PM"]},_={precision:3,separator:".",delimiter:",",strip_insignificant_zeros:!1},v={unit:"$",precision:2,format:"%u%n",sign_first:!0,delimiter:",",separator:"."},y={unit:"%",precision:3,format:"%n%u",separator:".",delimiter:""},b=[null,"kb","mb","gb","tb"],w={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,fallbacks:!1,translations:{},missingBehaviour:"message",missingTranslationPrefix:""};return t.reset=function(){var e;for(e in w)this[e]=w[e]},t.initializeOptions=function(){var e;for(e in w)a(this[e])||(this[e]=w[e])},t.initializeOptions(),t.locales={},t.locales.get=function(e){var n=this[e]||this[t.locale]||this["default"];return s(n)&&(n=n(e)),!1===l(n)&&(n=[n]),n},t.locales["default"]=function(e){var n=[],i=[];return e&&n.push(e),!e&&t.locale&&n.push(t.locale),t.fallbacks&&t.defaultLocale&&n.push(t.defaultLocale),n.forEach(function(e){var n=e.split("-"),o=null,r=null;3===n.length?(o=[n[0],n[1]].join("-"),r=n[0]):2===n.length&&(o=n[0]),-1===i.indexOf(e)&&i.push(e),t.fallbacks&&[o,r].forEach(function(t){void 0!==t&&null!==t&&t!==e&&-1===i.indexOf(t)&&i.push(t)})}),n.length||n.push("en"),i},t.pluralization={},t.pluralization.get=function(e){return this[e]||this[t.locale]||this["default"]},t.pluralization["default"]=function(e){switch(e){case 0:return["zero","other"];case 1:return["one"];default:return["other"]}},t.currentLocale=function(){return this.locale||this.defaultLocale},t.isSet=a,t.lookup=function(e,t){t=t||{};var n,i,o,r,s=this.locales.get(t.locale).slice();for(o=this.getFullScope(e,t);s.length;)if(n=s.shift(),i=o.split(t.separator||this.defaultSeparator),r=this.translations[n]){for(;i.length&&(r=r[i.shift()])!==undefined&&null!==r;);if(r!==undefined&&null!==r)return r}if(a(t.defaultValue))return f(t.defaultValue,e)},t.pluralizationLookupWithoutFallback=function(e,t,n){var i,o,s=this.pluralization.get(t),l=s(e);if(n&&r(n))for(;l.length;)if(i=l.shift(),a(n[i])){o=n[i];break}return o},t.pluralizationLookup=function(e,t,n){n=n||{};var i,o,s,l,u=this.locales.get(n.locale).slice();for(t=this.getFullScope(t,n);u.length;)if(i=u.shift(),o=t.split(n.separator||this.defaultSeparator),s=this.translations[i]){for(;o.length&&(s=s[o.shift()],r(s));)0===o.length&&(l=this.pluralizationLookupWithoutFallback(e,i,s));if(void 0!==l&&null!==l)break}return void 0!==l&&null!==l||a(n.defaultValue)&&(l=r(n.defaultValue)?this.pluralizationLookupWithoutFallback(e,n.locale,n.defaultValue):n.defaultValue,s=n.defaultValue),{message:l,translations:s}},t.meridian=function(){var e=this.lookup("time"),t=this.lookup("date");return e&&e.am&&e.pm?[e.am,e.pm]:t&&t.meridian?t.meridian:g.meridian},t.prepareOptions=function(){for(var e,t=n.call(arguments),i={};t.length;)if("object"==typeof(e=t.shift()))for(var o in e)e.hasOwnProperty(o)&&(a(i[o])||(i[o]=e[o]));return i},t.createTranslationOptions=function(e,t){var n=[{scope:e}];return a(t.defaults)&&(n=n.concat(t.defaults)),a(t.defaultValue)&&n.push({message:t.defaultValue}),n},t.translate=function(e,t){t=t||{};var n,i=this.createTranslationOptions(e,t),o=e,s=this.prepareOptions(t);return delete s.defaultValue,i.some(function(t){if(a(t.scope)?(o=t.scope,n=this.lookup(o,s)):a(t.message)&&(n=f(t.message,e)),n!==undefined&&null!==n)return!0},this)?("string"==typeof n?n=this.interpolate(n,t):l(n)?n=n.map(function(e){return"string"==typeof e?this.interpolate(e,t):e},this):r(n)&&a(t.count)&&(n=this.pluralize(t.count,o,t)),n):this.missingTranslation(e,t)},t.interpolate=function(e,t){if(null==e)return e;t=t||{};var n,i,o,r,s=e.match(this.placeholder);if(!s)return e;for(;s.length;)n=s.shift(),o=n.replace(this.placeholder,"$1"),i=a(t[o])?t[o].toString().replace(/\$/gm,"_#$#_"):o in t?this.nullPlaceholder(n,e,t):this.missingPlaceholder(n,e,t),r=new RegExp(n.replace(/{/gm,"\\{").replace(/}/gm,"\\}")),e=e.replace(r,i);return e.replace(/_#\$#_/g,"$")},t.pluralize=function(e,t,n){n=this.prepareOptions({count:String(e)},n);var i,o;return o=this.pluralizationLookup(e,t,n),"undefined"==typeof o.translations||null==o.translations?this.missingTranslation(t,n):"undefined"!=typeof o.message&&null!=o.message?this.interpolate(o.message,n):(i=this.pluralization.get(n.locale),this.missingTranslation(t+"."+i(e)[0],n))},t.missingTranslation=function(e,t){if("guess"===this.missingBehaviour){var n=e.split(".").slice(-1)[0];return(this.missingTranslationPrefix.length>0?this.missingTranslationPrefix:"")+n.replace(/_/g," ").replace(/([a-z])([A-Z])/g,function(e,t,n){return t+" "+n.toLowerCase()})}return'[missing "'+[null!=t&&null!=t.locale?t.locale:this.currentLocale(),this.getFullScope(e,t)].join(t.separator||this.defaultSeparator)+'" translation]'},t.missingPlaceholder=function(e){return"[missing "+e+" value]"},t.nullPlaceholder=function(){return t.missingPlaceholder.apply(t,arguments)},t.toNumber=function(e,t){t=this.prepareOptions(t,this.lookup("number.format"),_);var n,i,r=e<0,s=o(Math.abs(e),t.precision).toString(),a=s.split("."),l=[],u=t.format||"%n",c=r?"-":"";for(e=a[0],n=a[1];e.length>0;)l.unshift(e.substr(Math.max(0,e.length-3),3)),e=e.substr(0,e.length-3);return i=l.join(t.delimiter),t.strip_insignificant_zeros&&n&&(n=n.replace(/0+$/,"")),t.precision>0&&n&&(i+=t.separator+n),u=t.sign_first?"%s"+u:u.replace("%n","%s%n"),i=u.replace("%u",t.unit).replace("%n",i).replace("%s",c)},t.toCurrency=function(e,t){return t=this.prepareOptions(t,this.lookup("number.currency.format",t),this.lookup("number.format",t),v),this.toNumber(e,t)},t.localize=function(e,t,n){switch(n||(n={}),e){case"currency":return this.toCurrency(t,n);case"number":return e=this.lookup("number.format",n),this.toNumber(t,e);case"percentage":return this.toPercentage(t,n);default:var i;return i=e.match(/^(date|time)/)?this.toTime(e,t,n):t.toString(),this.interpolate(i,n)}},t.parseDate=function(e){var t,n,i;if(null==e)return e;if("object"==typeof e)return e;if(t=e.toString().match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2})([\.,]\d{1,3})?)?(Z|\+00:?00)?/)){for(var o=1;o<=6;o++)t[o]=parseInt(t[o],10)||0;t[2]-=1,i=t[7]?1e3*("0"+t[7]):null,n=t[8]?new Date(Date.UTC(t[1],t[2],t[3],t[4],t[5],t[6],i)):new Date(t[1],t[2],t[3],t[4],t[5],t[6],i)}else"number"==typeof e?(n=new Date,n.setTime(e)):e.match(/([A-Z][a-z]{2}) ([A-Z][a-z]{2}) (\d+) (\d+:\d+:\d+) ([+-]\d+) (\d+)/)?(n=new Date,n.setTime(Date.parse([RegExp.$1,RegExp.$2,RegExp.$3,RegExp.$6,RegExp.$4,RegExp.$5].join(" ")))):(e.match(/\d+ \d+:\d+:\d+ [+-]\d+ \d+/),n=new Date,n.setTime(Date.parse(e)));return n},t.strftime=function(e,n,o){var o=this.lookup("date",o),r=t.meridian();if(o||(o={}),o=this.prepareOptions(o,g),isNaN(e.getTime()))throw new Error("I18n.strftime() requires a valid date object, but received an invali
6d date.");var s=e.getDay(),a=e.getDate(),l=e.getFullYear(),u=e.getMonth()+1,c=e.getHours(),d=c,h=c>11?1:0,p=e.getSeconds(),f=e.getMinutes(),m=e.getTimezoneOffset(),_=Math.floor(Math.abs(m/60)),v=Math.abs(m)-60*_,y=(m>0?"-":"+")+(_.toString().length<2?"0"+_:_)+(v.toString().length<2?"0"+v:v);return d>12?d-=12:0===d&&(d=12),n=n.replace("%a",o.abbr_day_names[s]),n=n.replace("%A",o.day_names[s]),n=n.replace("%b",o.abbr_month_names[u]),n=n.replace("%B",o.month_names[u]),n=n.replace("%d",i(a)),n=n.replace("%e",a),n=n.replace("%-d",a),n=n.replace("%H",i(c)),n=n.replace("%-H",c),n=n.replace("%k",c),n=n.replace("%I",i(d)),n=n.replace("%-I",d),n=n.replace("%l",d),n=n.replace("%m",i(u)),n=n.replace("%-m",u),n=n.replace("%M",i(f)),n=n.replace("%-M",f),n=n.replace("%p",r[h]),n=n.replace("%P",r[h].toLowerCase()),n=n.replace("%S",i(p)),n=n.replace("%-S",p),n=n.replace("%w",s),n=n.replace("%y",i(l)),n=n.replace("%-y",i(l).replace(/^0+/,"")),n=n.replace("%Y",l),n=n.replace("%z",y),n=n.replace("%Z",y)},t.toTime=function(e,t,n){var i=this.parseDate(t),o=this.lookup(e,n);if(null==i)return i;var r=i.toString();return r.match(/invalid/i)?r:o?this.strftime(i,o,n):r},t.toPercentage=function(e,t){return t=this.prepareOptions(t,this.lookup("number.percentage.format",t),this.lookup("number.format",t),y),this.toNumber(e,t)},t.toHumanSize=function(e,t){for(var n,i,o,r=1024,s=e,a=0;s>=r&&a<4;)s/=r,a+=1;return 0===a?(o=this.getFullScope("number.human.storage_units.units.byte",t),n=this.t(o,{count:s}),i=0):(o=this.getFullScope("number.human.storage_units.units."+b[a],t),n=this.t(o),i=s-Math.floor(s)==0?0:1),t=this.prepareOptions(t,{unit:n,precision:i,format:"%n%u",delimiter:""}),this.toNumber(s,t)},t.getFullScope=function(e,t){return t=t||{},l(e)&&(e=e.join(t.separator||this.defaultSeparator)),t.scope&&(e=[t.scope,e].join(t.separator||this.defaultSeparator)),e},t.extend=function(e,t){return void 0===e&&void 0===t?{}:m(e,t)},t.t=t.translate.bind(t),t.l=t.localize.bind(t),t.p=t.pluralize.bind(t),t}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return Dn.apply(null,arguments)}function t(e){Dn=e}function n(e){return"[object Array]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function o(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e,t){for(var n in t)r(t,n)&&(e[n]=t[n]);return r(t,"toString")&&(e.toString=t.toString),r(t,"valueOf")&&(e.valueOf=t.valueOf),e}function a(e,t,n,i){return Se(e,t,n,i,!0).utc()}function l(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function u(e){return null==e._pf&&(e._pf=l()),e._pf}function c(e){if(null==e._isValid){var t=u(e);e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated,e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&t.bigHour===undefined)}return e._isValid}function d(e){var t=a(NaN);return null!=e?s(u(t),e):u(t).userInvalidated=!0,t}function h(e,t){var n,i,o;if("undefined"!=typeof t._isAMomentObject&&(e._isAMomentObject=t._isAMomentObject),"undefined"!=typeof t._i&&(e._i=t._i),"undefined"!=typeof t._f&&(e._f=t._f),"undefined"!=typeof t._l&&(e._l=t._l),"undefined"!=typeof t._strict&&(e._strict=t._strict),"undefined"!=typeof t._tzm&&(e._tzm=t._tzm),"undefined"!=typeof t._isUTC&&(e._isUTC=t._isUTC),"undefined"!=typeof t._offset&&(e._offset=t._offset),"undefined"!=typeof t._pf&&(e._pf=u(t)),"undefined"!=typeof t._locale&&(e._locale=t._locale),Pn.length>0)for(n in Pn)i=Pn[n],void 0!==(o=t[i])&&(e[i]=o);return e}function p(t){h(this,t),this._d=new Date(+t._d),!1===zn&&(zn=!0,e.updateOffset(this),zn=!1)}function f(e){return e instanceof p||null!=e&&null!=e._isAMomentObject}function m(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=t>=0?Math.floor(t):Math.ceil(t)),n}
6function g(e,t,n){var i,o=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),s=0;for(i=0;i<o;i++)(n&&e[i]!==t[i]||!n&&m(e[i])!==m(t[i]))&&s++;return s+r}function _(){}function v(e){return e?e.toLowerCase().replace("_","-"):e}function y(e){for(var t,n,i,o,r=0;r<e.length;){for(o=v(e[r]).split("-"),t=o.length,n=v(e[r+1]),n=n?n.split("-"):null;t>0;){if(i=b(o.slice(0,t).join("-")))return i;if(n&&n.length>=t&&g(o,n,!0)>=t-1)break;t--}r++}return null}function b(e){var t=null;if(!In[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=En._abbr,require("./locale/"+e),w(t)}catch(e){}return In[e]}function w(e,t){var n;return e&&(n=void 0===t?k(e):x(e,t))&&(En=n),En._abbr}function x(e,t){return null!==t?(t.abbr=e,In[e]||(In[e]=new _),In[e].set(t),w(e),In[e]):(delete In[e],null)}function k(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return En;if(!n(e)){if(t=b(e))return t;e=[e]}return y(e)}function T(e,t){var n=e.toLowerCase();On[n]=On[n+"s"]=On[t]=e}function S(e){return"string"==typeof e?On[e]||On[e.toLowerCase()]:undefined}function C(e){var t,n,i={};for(n in e)r(e,n)&&(t=S(n))&&(i[t]=e[n]);return i}function L(t,n){return function(i){return null!=i?(A(this,t,i),e.updateOffset(this,n),this):M(this,t)}}function M(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function A(e,t,n){return e._d["set"+(e._isUTC?"UTC":"")+t](n)}function D(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=S(e),"function"==typeof this[e])return this[e](t);return this}function E(e,t,n){for(var i=""+Math.abs(e),o=e>=0;i.length<t;)i="0"+i;return(o?n?"+":"":"-")+i}function P(e,t,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),e&&(Rn[e]=o),t&&(Rn[t[0]]=function(){return E(o.apply(this,arguments),t[1],t[2])}),n&&(Rn[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function I(e){var t,n,i=e.match(Fn);for(t=0,n=i.length;t<n;t++)Rn[i[t]]?i[t]=Rn[i[t]]:i[t]=z(i[t]);return function(o){var r="";for(t=0;t<n;t++)r+=i[t]instanceof Function?i[t].call(o,e):i[t];return r}}function O(e,t){return e.isValid()?(t=F(t,e.localeData()),Nn[t]||(Nn[t]=I(t)),Nn[t](e)):e.localeData().invalidDate()}function F(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(jn.lastIndex=0;i>=0&&jn.test(e);)e=e.replace(jn,n),jn.lastIndex=0,i-=1;return e}function j(e,t,n){ei[e]="function"==typeof t?t:function(e){return e&&n?n:t}}function N(e,t){return r(ei,e)?ei[e](t._strict,t._locale):new RegExp(R(e))}function R(e){return e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,o){return t||n||i||o}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function q(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(i=function(e,n){
6n[t]=m(e)}),n=0;n<e.length;n++)ti[e[n]]=i}function $(e,t){q(e,function(e,n,i,o){i._w=i._w||{},t(e,i._w,i,o)})}function H(e,t,n){null!=t&&r(ti,e)&&ti[e](t,n._a,n,e)}function B(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function W(e){return this._months[e.month()]}function U(e){return this._monthsShort[e.month()]}function Y(e,t,n){var i,o,r;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=a([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function V(e,t){var n;return"string"==typeof t&&"number"!=typeof(t=e.localeData().monthsParse(t))?e:(n=Math.min(e.date(),B(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e)}function Z(t){return null!=t?(V(this,t),e.updateOffset(this,!0),this):M(this,"Month")}function G(){return B(this.year(),this.month())}function J(e){var t,n=e._a;return n&&-2===u(e).overflow&&(t=n[ii]<0||n[ii]>11?ii:n[oi]<1||n[oi]>B(n[ni],n[ii])?oi:n[ri]<0||n[ri]>24||24===n[ri]&&(0!==n[si]||0!==n[ai]||0!==n[li])?ri:n[si]<0||n[si]>59?si:n[ai]<0||n[ai]>59?ai:n[li]<0||n[li]>999?li:-1,u(e)._overflowDayOfYear&&(t<ni||t>oi)&&(t=oi),u(e).overflow=t),e}function Q(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function K(e,t){var n=!0,i=e+"\n"+(new Error).stack;return s(function(){return n&&(Q(i),n=!1),t.apply(this,arguments)},t)}function X(e,t){di[e]||(Q(t),di[e]=!0)}function ee(e){var t,n,i=e._i,o=hi.exec(i);if(o){for(u(e).iso=!0,t=0,n=pi.length;t<n;t++)if(pi[t][1].exec(i)){e._f=pi[t][0]+(o[6]||" ");break}for(t=0,n=fi.length;t<n;t++)if(fi[t][1].exec(i)){e._f+=fi[t][0];break}i.match(Qn)&&(e._f+="Z"),ye(e)}else e._isValid=!1}function te(t){var n=mi.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));ee(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t))}function ne(e,t,n,i,o,r,s){var a=new Date(e,t,n,i,o,r,s);return e<1970&&a.setFullYear(e),a}function ie(e){var t=new Date(Date.UTC.apply(null,arguments));return e<1970&&t.setUTCFullYear(e),t}function oe(e){return re(e)?366:365}function re(e){return e%4==0&&e%100!=0||e%400==0}function se(){return re(this.year())}function ae(e,t,n){var i,o=n-t,r=n-e.day();return r>o&&(r-=7),r<o-7&&(r+=7),i=Ce(e).add(r,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function le(e){return ae(e,this._week.dow,this._week.doy).week}function ue(){return this._week.dow}function ce(){return this._week.doy}function de(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function he(e){var t=ae(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function pe(e,t,n,i,o){var r,s,a=ie(e,0,1).getUTCDay();return a=0===a?7:a,n=null!=n?n:o,r=o-a+(a>i?7:0)-(a<o?7:0),s=7*(t-1)+(n-o)+r+1,{year:s>0?e:e-1,dayOfYear:s>0?s:oe(e-1)+s}}function fe(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function me(e,t,n){return null!=e?e:null!=t?t:n}function ge(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function _e(e){var t,n,i,o,r=[];if(!e._d){for(i=ge(e),e._w&&null==e._a[oi]&&null==e._a[ii]&&ve(e),e._dayOfYear&&(o=me(e._a[ni],i[ni]),e._dayOfYear>oe(o)&&(u(e)._overflowDayOfYear=!0),n=ie(o,0,e._dayOfYear),e._a[ii]=n.getUTCMonth(),e._a[oi]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ri]&&0===e._a[si]&&0===e._a[ai]&&0===e._a[li]&&(e._nextDay=!0,e._a[ri]=0),e._d=(e._useUTC?ie:ne).apply(null,r),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ri]=24)}}function ve(e){var t,n,i,o,r,s,a;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(r=1,s=4,n=me(t.GG,e._a[ni],ae(Ce(),1,4).year),i=me(t.W,1),o=me(t.E,1)):(r=e._locale._week.dow,s=e._locale._week.doy,n=me(t.gg,e._a[ni],ae(Ce(),r,s
6).year),i=me(t.w,1),null!=t.d?(o=t.d)<r&&++i:o=null!=t.e?t.e+r:r),a=pe(n,i,o,s,r),e._a[ni]=a.year,e._dayOfYear=a.dayOfYear}function ye(t){if(t._f===e.ISO_8601)return void ee(t);t._a=[],u(t).empty=!0;var n,i,o,r,s,a=""+t._i,l=a.length,c=0;for(o=F(t._f,t._locale).match(Fn)||[],n=0;n<o.length;n++)r=o[n],i=(a.match(N(r,t))||[])[0],i&&(s=a.substr(0,a.indexOf(i)),s.length>0&&u(t).unusedInput.push(s),a=a.slice(a.indexOf(i)+i.length),c+=i.length),Rn[r]?(i?u(t).empty=!1:u(t).unusedTokens.push(r),H(r,i,t)):t._strict&&!i&&u(t).unusedTokens.push(r);u(t).charsLeftOver=l-c,a.length>0&&u(t).unusedInput.push(a),!0===u(t).bigHour&&t._a[ri]<=12&&t._a[ri]>0&&(u(t).bigHour=undefined),t._a[ri]=be(t._locale,t._a[ri],t._meridiem),_e(t),J(t)}function be(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function we(e){var t,n,i,o,r;if(0===e._f.length)return u(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)r=0,t=h({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],ye(t),c(t)&&(r+=u(t).charsLeftOver,r+=10*u(t).unusedTokens.length,u(t).score=r,(null==i||r<i)&&(i=r,n=t));s(e,n||t)}function xe(e){if(!e._d){var t=C(e._i);e._a=[t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],_e(e)}}function ke(e){var t,o=e._i,r=e._f;return e._locale=e._locale||k(e._l),null===o||r===undefined&&""===o?d({nullInput:!0}):("string"==typeof o&&(e._i=o=e._locale.preparse(o)),f(o)?new p(J(o)):(n(r)?we(e):r?ye(e):i(o)?e._d=o:Te(e),t=new p(J(e)),t._nextDay&&(t.add(1,"d"),t._nextDay=undefined),t))}function Te(t){var r=t._i;r===undefined?t._d=new Date:i(r)?t._d=new Date(+r):"string"==typeof r?te(t):n(r)?(t._a=o(r.slice(0),function(e){return parseInt(e,10)}),_e(t)):"object"==typeof r?xe(t):"number"==typeof r?t._d=new Date(r):e.createFromInputFallback(t)}function Se(e,t,n,i,o){var r={};return"boolean"==typeof n&&(i=n,n=undefined),r._isAMomentObject=!0,r._useUTC=r._isUTC=o,r._l=n,r._i=e,r._f=t,r._strict=i,ke(r)}function Ce(e,t,n,i){return Se(e,t,n,i,!1)}function Le(e,t){var i,o;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return Ce();for(i=t[0],o=1;o<t.length;++o)t[o][e](i)&&(i=t[o]);return i}function Me(){return Le("isBefore",[].slice.call(arguments,0))}function Ae(){return Le("isAfter",[].slice.call(arguments,0))}function De(e){var t=C(e),n=t.year||0,i=t.quarter||0,o=t.month||0,r=t.week||0,s=t.day||0,a=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+36e5*a,this._days=+s+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=k(),this._bubble()}function Ee(e){return e instanceof De}function Pe(e,t){P(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+E(~~(e/60),2)+t+E(~~e%60,2)})}function ze(e){var t=(e||"").match(Qn)||[],n=t[t.length-1]||[],i=(n+"").match(bi)||["-",0,0],o=60*i[1]+m(i[2]);return"+"===i[0]?o:-o}function Ie(t,n){var o,r;return n._isUTC?(o=n.clone(),r=(f(t)||i(t)?+t:+Ce(t))-+o,o._d.setTime(+o._d+r),e.updateOffset(o,!1),o):Ce(t).local()}function Oe(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Fe(t,n){var i,o=this._offset||0;return null!=t?("string"==typeof t&&(t=ze(t)),Math.abs(t)<16&&(t*=60),!this._isUTC&&n&&(i=Oe(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!n||this._changeInProgress?Ke(this,Ve(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?o:Oe(this)}function je(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ne(e){return this.utcOffset(0,e)}function Re(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Oe(this),"m")),this}function qe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(ze(this._i)),this}function $e(e){return e=e?Ce(e).utcOffset():0,(this.utcOffset()-e)%60==0}function He(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Be(){if(this._a){var e=this._isUTC?a(this._a):Ce(this._a);return this.isValid()&&g(this._a,e.toArray())>0}return!1}function We(){return!this._isUTC}function Ue(){return this._isUTC}function Ye(){return this._isUTC&&0===this._offset}function Ve(e,t){var n,i,o,s=e,a=null;return Ee(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(s={},t?s[t]=e:s.milliseconds=e):(a=wi.exec(e))?(n="-"===a[1]?-1:1,s={y:0,d:m(a[oi])*n,h:m(a[ri])*n,m:m(a[si])*n,s:m(a[ai])*n,ms:m(a[li])*n}):(a=xi.exec(e))?(n="-"===a[1]?-1:1,s={y:Ze(a[2],n),M:Ze(a[3],n),d:Ze(a[4],n),h:Ze(a[5],n),m:Ze(a[6],n),s:Ze(a[7],n),w:Ze(a[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(o=Je(Ce(s.from),Ce(s.to)),s={},s.ms=o.milliseconds,s.M=o.months),i=new De(s),Ee(e)&&r(e,"_locale")&&(i._locale=e._locale),i}function Ze(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ge(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Je(e,t){var n;return t=Ie(t,e),e.isBefore(t)?n=Ge(e,t):(n=Ge(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function Qe(e,t){return function(n,i){var o,r;return null===i||isNaN(+i)||(X(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),r=n,n=i,i=r),n="string"==typeof n?+n:n,o=Ve(n,i),Ke(this,o,e),this}}function Ke(t,n,i,o){var r=n._milliseconds,s=n._days,a=n._months;o=null==o||o,r&&t._d.setTime(+t._d+r*i),s&&A(t,"Date",M(t,"Date")+s*i),a&&V(t,M(t,"Month")+a*i),o&&e.updateOffset(t,s||a)}function Xe(e){var t=e||Ce(),n=Ie(t,this).startOf("day"),i=this.diff(n,"days",!0),o=i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse";return this.format(this.localeData().calendar(o,this,Ce(t)))}function et(){return new p(this)}function tt(e,t){return t=S(void 0!==t?t:"millisecond"),"millisecond"===t?(e=f(e)?e:Ce(e),+this>+e):(f(e)?+e:+Ce(e))<+this.clone().startOf(t)}function nt(e,t){var n;return t=S(void 0!==t?t:"millisecond"),"millisecond"===t?(e=f(e)?e:Ce(e),+this<+e):(n=f(e)?+e:+Ce(e),+this.clone().endOf(t)<n)}function it(e,t,n){return this.isAfter(e,n)&&this.isBefore(t,n)}function ot(e,t){var n;return t=S(t||"millisecond"),"millisecond"===t?(e=f(e)?e:Ce(e),+this==+e):(n=+Ce(e),+this.clone().startOf(t)<=n&&n<=+this.clone().endOf(t))}function rt(e){return e<0?Math.ceil(e):Math.floor(e)}function st(e,t,n){var i,o,r=Ie(e,this),s=6e4*(r.utcOffset()-this.utcOffset());return t=S(t),"year"===t||"month"===t||"quarter"===t?(o=at(this,r),"quarter"===t?o/=3:"year"===t&&(o/=12)):(i=this-r,o="second"===t?i/1e3:"minute"===t?i/6e4:"hour"===t?i/36e5:"day"===t?(i-s)/864e5:"week"===t?(i-s)/6048e5:i),n?o:rt(o)}function at(e,t){var n,i,o=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(o,"months");return t-r<0?(n=e.clone().add(o-1,"months"),i=(t-r)/(r-n)):(n=e.clone().add(o+1,"months"),i=(t-r)/(n-r)),-(o+i)}function lt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ut(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():O(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):O(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function ct(t){var n=O(this,t||e.defaultFormat);return this.localeData().postformat(n)}function dt(e,t){return this.isValid()?Ve({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ht(e){return this.from(Ce(),e)}function pt(e,t){return this.isValid()?Ve({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ft(e){return this.to(Ce(),e)}function mt(e){var t;return e===undefined?this._locale._abbr:(t=k(e),null!=t&&(this._locale=t),this)}function gt(){return this._locale}function _t(e){switch(e=S(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function vt(e){return e=S(e),e===undefined||"millisecond"===e?this:this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms")}function yt(){return+this._d-6e4*(this._offset||0)}function bt(){ 7return Math.floor(+this/1e3)}function wt(){return this._offset?new Date(+this):this._d}
7function xt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function kt(){return c(this)}function Tt(){return s({},u(this))}function St(){return u(this).overflow}function Ct(e,t){P(0,[e,e.length],0,t)}function Lt(e,t,n){return ae(Ce([e,11,31+t-n]),t,n).week}function Mt(e){var t=ae(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==e?t:this.add(e-t,"y")}function At(e){var t=ae(this,1,4).year;return null==e?t:this.add(e-t,"y")}function Dt(){return Lt(this.year(),1,4)}function Et(){var e=this.localeData()._week;return Lt(this.year(),e.dow,e.doy)}function Pt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function zt(e,t){if("string"==typeof e)if(isNaN(e)){if("number"!=typeof(e=t.weekdaysParse(e)))return null}else e=parseInt(e,10);return e}function It(e){return this._weekdays[e.day()]}function Ot(e){return this._weekdaysShort[e.day()]}function Ft(e){return this._weekdaysMin[e.day()]}function jt(e){var t,n,i;for(this._weekdaysParse||(this._weekdaysParse=[]),t=0;t<7;t++)if(this._weekdaysParse[t]||(n=Ce([2e3,1]).day(t),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t}function Nt(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=zt(e,this.localeData()),this.add(e-t,"d")):t}function Rt(e){var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)}function $t(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ht(e,t){return t._meridiemParse}function Bt(e){return"p"===(e+"").toLowerCase().charAt(0)}function Wt(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ut(e){P(0,[e,3],0,"millisecond")}function Yt(){return this._isUTC?"UTC":""}function Vt(){return this._isUTC?"Coordinated Universal Time":""}function Zt(e){return Ce(1e3*e)}function Gt(){return Ce.apply(null,arguments).parseZone()}function Jt(e,t,n){var i=this._calendar[e];return"function"==typeof i?i.call(t,n):i}function Qt(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t}function Kt(){return this._invalidDate}function Xt(e){return this._ordinal.replace("%d",e)}function en(e){return e}function tn(e,t,n,i){var o=this._relativeTime[n];return"function"==typeof o?o(e,t,n,i):o.replace(/%d/i,e)}function nn(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)}function on(e){var t,n;for(n in e)t=e[n],"function"==typeof t?this[n]=t:this["_"+n]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function rn(e,t,n,i){var o=k(),r=a().set(i,t);return o[n](r,e)}function sn(e,t,n,i,o){if("number"==typeof e&&(t=e,e=undefined),e=e||"",null!=t)return rn(e,t,n,o);var r,s=[];for(r=0;r<i;r++)s[r]=rn(e,r,n,o);return s}function an(e,t){return sn(e,t,"months",12,"month")}function ln(e,t){return sn(e,t,"monthsShort",12,"month")}function un(e,t){return sn(e,t,"weekdays",7,"day")}function cn(e,t){return sn(e,t,"weekdaysShort",7,"day")}function dn(e,t){return sn(e,t,"weekdaysMin",7,"day")}function hn(){var e=this._data;return this._milliseconds=Hi(this._milliseconds),this._days=Hi(this._days),this._months=Hi(this._months),e.milliseconds=Hi(e.milliseconds),e.seconds=Hi(e.seconds),e.minutes=Hi(e.minutes),e.hours=Hi(e.hours),e.months=Hi(e.months),e.years=Hi(e.years),this}function pn(e,t,n,i){var o=Ve(t,n);return e._milliseconds+=i*o._milliseconds,e._days+=i*o._days,e._months+=i*o._months,e._bubble()}function fn(e,t){return pn(this,e,t,1)}function mn(e,t){return pn(this,e,t,-1)}function gn(){var e,t,n,i=this._milliseconds,o=this._days,r=this._months,s=this._data,a=0;return s.milliseconds=i%1e3,e=rt(i/1e3),s.seconds=e%60,t=rt(e/60),s.minutes=t%60,n=rt(t/60),s.hours=n%24,o+=rt(n/24),a=rt(_n(o)),o-=rt(vn(a)),r+=rt(o/30),o%=30,a+=rt(r/12),r%=12,s.days=o,s.months=r,s.years=a,this}function _n(e){return 400*e/146097}function vn(e){return 146097*e/400}function yn(e){var t,n,i=this._milliseconds;if("month"===(e=S(e))||"year"===e)return t=this._days+i/864e5,n=this._months+12*_n(t),"month"===e?n:n/12;switch(t=this._days+Math.round(vn(this._months/12)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function bn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12)}function wn(e){return function(){return this.as(e)}}function xn(e){return e=S(e),this[e+"s"]()}function kn(e){return function(){return this._data[e]}}function Tn(){return rt(this.days()/7)}function Sn(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}function Cn(e,t,n){var i=Ve(e).abs(),o=oo(i.as("s")),r=oo(i.as("m")),s=oo(i.as("h")),a=oo(i.as("d")),l=oo(i.as("M")),u=oo(i.as("y")),c=o<ro.s&&["s",o]||1===r&&["m"]||r<ro.m&&["mm",r]||
71===s&&["h"]||s<ro.h&&["hh",s]||1===a&&["d"]||a<ro.d&&["dd",a]||1===l&&["M"]||l<ro.M&&["MM",l]||1===u&&["y"]||["yy",u];return c[2]=t,c[3]=+e>0,c[4]=n,Sn.apply(null,c)}function Ln(e,t){return ro[e]!==undefined&&(t===undefined?ro[e]:(ro[e]=t,!0))}function Mn(e){var t=this.localeData(),n=Cn(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function An(){var e=so(this.years()),t=so(this.months()),n=so(this.days()),i=so(this.hours()),o=so(this.minutes()),r=so(this.seconds()+this.milliseconds()/1e3),s=this.asSeconds();return s?(s<0?"-":"")+"P"+(e?e+"Y":"")+(t?t+"M":"")+(n?n+"D":"")+(i||o||r?"T":"")+(i?i+"H":"")+(o?o+"M":"")+(r?r+"S":""):"P0D"}var Dn,En,Pn=e.momentProperties=[],zn=!1,In={},On={},Fn=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,jn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Nn={},Rn={},qn=/\d/,$n=/\d\d/,Hn=/\d{3}/,Bn=/\d{4}/,Wn=/[+-]?\d{6}/,Un=/\d\d?/,Yn=/\d{1,3}/,Vn=/\d{1,4}/,Zn=/[+-]?\d{1,6}/,Gn=/\d+/,Jn=/[+-]?\d+/,Qn=/Z|[+-]\d\d:?\d\d/gi,Kn=/[+-]?\d+(\.\d{1,3})?/,Xn=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ei={},ti={},ni=0,ii=1,oi=2,ri=3,si=4,ai=5,li=6;P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),P("MMMM",0,0,function(e){return this.localeData().months(this,e)}),T("month","M"),j("M",Un),j("MM",Un,$n),j("MMM",Xn),j("MMMM",Xn),q(["M","MM"],function(e,t){t[ii]=m(e)-1}),q(["MMM","MMMM"],function(e,t,n,i){var o=n._locale.monthsParse(e,i,n._strict);null!=o?t[ii]=o:u(n).invalidMonth=e});var ui="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ci="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),di={};e.suppressDeprecationWarnings=!1;var hi=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],fi=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],mi=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=K("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),T("year","y"),j("Y",Jn),j("YY",Un,$n),j("YYYY",Vn,Bn),j("YYYYY",Zn,Wn),j("YYYYYY",Zn,Wn),q(["YYYY","YYYYY","YYYYYY"],ni),q("YY",function(t,n){n[ni]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var gi=L("FullYear",!1);P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),T("week","w"),T("isoWeek","W"),j("w",Un),j("ww",Un,$n),j("W",Un),j("WW",Un,$n),$(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=m(e)});var _i={dow:0,doy:6};P("DDD",["DDDD",3],"DDDo","dayOfYear"),T("dayOfYear","DDD"),j("DDD",Yn),j("DDDD",Hn),q(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)}),e.ISO_8601=function(){};var vi=K("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Ce.apply(null,arguments);return e<this?this:e}),yi=K("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Ce.apply(null,arguments);return e>this?this:e});Pe("Z",":"),Pe("ZZ",""),j("Z",Qn),j("ZZ",Qn),q(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=ze(e)});var bi=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var wi=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,xi=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Ve.fn=De.prototype;var ki=Qe(1,"add"),Ti=Qe(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Si=K("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===undefined?this.localeData():this.locale(e)});P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ct("gggg","weekYear"),Ct("ggggg","weekYear"),Ct("GGGG","isoWeekYear"),Ct("GGGGG","isoWeekYear"),T("weekYear","gg"),T("isoWeekYear","GG"),j("G",Jn),j("g",Jn),j("GG",Un,$n),j("gg",Un,$n),j("GGGG",Vn,Bn),j("gggg",Vn,Bn),j("GGGGG",Zn,Wn),j("ggggg",Zn,Wn),$(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=m(e)}),$(["gg","GG"],function(t,n,i,o){n[o]=e.parseTwoDigitYear(t)}),P("Q",0,0,"quarter"),T("quarter","Q"),j("Q",qn),q("Q",function(e,t){t[
vendor: 4,148 bytes, line 7
7ii]=3*(m(e)-1)}),P("D",["DD",2],"Do","date"),T("date","D"),j("D",Un),j("DD",Un,$n),j("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),q(["D","DD"],oi),q("Do",function(e,t){t[oi]=m(e.match(Un)[0],10)});var Ci=L("Date",!0);P("d",0,"do","day"),P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),T("day","d"),T("weekday","e"),T("isoWeekday","E"),j("d",Un),j("e",Un),j("E",Un),j("dd",Xn),j("ddd",Xn),j("dddd",Xn),$(["dd","ddd","dddd"],function(e,t,n){var i=n._locale.weekdaysParse(e);null!=i?t.d=i:u(n).invalidWeekday=e}),$(["d","e","E"],function(e,t,n,i){t[i]=m(e)});var Li="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Mi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ai="Su_Mo_Tu_We_Th_Fr_Sa".split("_");P("H",["HH",2],0,"hour"),P("h",["hh",2],0,function(){return this.hours()%12||12}),$t("a",!0),$t("A",!1),T("hour","h"),j("a",Ht),j("A",Ht),j("H",Un),j("h",Un),j("HH",Un,$n),j("hh",Un,$n),q(["H","HH"],ri),q(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),q(["h","hh"],function(e,t,n){t[ri]=m(e),u(n).bigHour=!0});var Di=/[ap]\.?m?\.?/i,Ei=L("Hours",!0);P("m",["mm",2],0,"minute"),T("minute","m"),j("m",Un),j("mm",Un,$n),q(["m","mm"],si);var Pi=L("Minutes",!1);P("s",["ss",2],0,"second"),T("second","s"),j("s",Un),j("ss",Un,$n),q(["s","ss"],ai);var zi=L("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ut("SSS"),Ut("SSSS"),T("millisecond","ms"),j("S",Yn,qn),j("SS",Yn,$n),j("SSS",Yn,Hn),j("SSSS",Gn),q(["S","SS","SSS","SSSS"],function(e,t){t[li]=m(1e3*("0."+e))});var Ii=L("Milliseconds",!1);P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");var Oi=p.prototype;Oi.add=ki,Oi.calendar=Xe,Oi.clone=et,Oi.diff=st,Oi.endOf=vt,Oi.format=ct,Oi.from=dt,Oi.fromNow=ht,Oi.to=pt,Oi.toNow=ft,Oi.get=D,Oi.invalidAt=St,Oi.isAfter=tt,Oi.isBefore=nt,Oi.isBetween=it,Oi.isSame=ot,Oi.isValid=kt,Oi.lang=Si,Oi.locale=mt,Oi.localeData=gt,Oi.max=yi,Oi.min=vi,Oi.parsingFlags=Tt,Oi.set=D,Oi.startOf=_t,Oi.subtract=Ti,Oi.toArray=xt,Oi.toDate=wt,Oi.toISOString=ut,Oi.toJSON=ut,Oi.toString=lt,Oi.unix=bt,Oi.valueOf=yt,Oi.year=gi,Oi.isLeapYear=se,Oi.weekYear=Mt,Oi.isoWeekYear=At,Oi.quarter=Oi.quarters=Pt,Oi.month=Z,Oi.daysInMonth=G,Oi.week=Oi.weeks=de,Oi.isoWeek=Oi.isoWeeks=he,Oi.weeksInYear=Et,Oi.isoWeeksInYear=Dt,Oi.date=Ci,Oi.day=Oi.days=Nt,Oi.weekday=Rt,Oi.isoWeekday=qt,Oi.dayOfYear=fe,Oi.hour=Oi.hours=Ei,Oi.minute=Oi.minutes=Pi,Oi.second=Oi.seconds=zi,Oi.millisecond=Oi.milliseconds=Ii,Oi.utcOffset=Fe,Oi.utc=Ne,Oi.local=Re,Oi.parseZone=qe,Oi.hasAlignedHourOffset=$e,Oi.isDST=He,Oi.isDSTShifted=Be,Oi.isLocal=We,Oi.isUtcOffset=Ue,Oi.isUtc=Ye,Oi.isUTC=Ye,Oi.zoneAbbr=Yt,Oi.zoneName=Vt,Oi.dates=K("dates accessor is deprecated. Use date instead.",Ci),Oi.months=K("months accessor is deprecated. Use month instead",Z),Oi.years=K("years accessor is deprecated. Use year instead",gi),Oi.zone=K("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",je);var Fi=Oi,ji={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ni={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},Ri=/\d{1,2}/,qi={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},$i=_.prototype;$i._calendar=ji,$i.calendar=Jt,$i._longDateFormat=Ni,$i.longDateFormat=Qt,$i._invalidDate="Invalid date",$i.invalidDate=Kt,$i._ordinal="%d",$i.ordinal=Xt,$i._ordinalParse=Ri,$i.preparse=en,$i.postformat=en,$i._relativeTime=qi,$i.relativeTime=tn,$i.pastFuture=nn,$i.set=on,$i.months=W,$i._months=ui,$i.monthsShort=U,$i._monthsShort=ci,$i.monthsParse=Y,$i.week=le,$i._week=_i,$i.firstDayOfYear=ce,$i.firstDayOfWeek=ue,$i.weekdays=It,$
vendor: 1,551 bytes, line 7
7i._weekdays=Li,$i.weekdaysMin=Ft,$i._weekdaysMin=Ai,$i.weekdaysShort=Ot,$i._weekdaysShort=Mi,$i.weekdaysParse=jt,$i.isPM=Bt,$i._meridiemParse=Di,$i.meridiem=Wt,w("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===m(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),e.lang=K("moment.lang is deprecated. Use moment.locale instead.",w),e.langData=K("moment.langData is deprecated. Use moment.localeData instead.",k);var Hi=Math.abs,Bi=wn("ms"),Wi=wn("s"),Ui=wn("m"),Yi=wn("h"),Vi=wn("d"),Zi=wn("w"),Gi=wn("M"),Ji=wn("y"),Qi=kn("milliseconds"),Ki=kn("seconds"),Xi=kn("minutes"),eo=kn("hours"),to=kn("days"),no=kn("months"),io=kn("years"),oo=Math.round,ro={s:45,m:45,h:22,d:26,M:11},so=Math.abs,ao=De.prototype;return ao.abs=hn,ao.add=fn,ao.subtract=mn,ao.as=yn,ao.asMilliseconds=Bi,ao.asSeconds=Wi,ao.asMinutes=Ui,ao.asHours=Yi,ao.asDays=Vi,ao.asWeeks=Zi,ao.asMonths=Gi,ao.asYears=Ji,ao.valueOf=bn,ao._bubble=gn,ao.get=xn,ao.milliseconds=Qi,ao.seconds=Ki,ao.minutes=Xi,ao.hours=eo,ao.days=to,ao.weeks=Tn,ao.months=no,ao.years=io,ao.humanize=Mn,ao.toISOString=An,ao.toString=An,ao.toJSON=An,ao.locale=mt,ao.localeData=gt,ao.toIsoString=K("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",An),ao.lang=Si,P("X",0,0,"unix"),P("x",0,0,"valueOf"),j("x",Jn),j("X",Kn),q("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),q("x",function(e,t,n){n._d=new Date(m(e))}),e.version="2.10.3",t(Ce),e.fn=Fi,e.min=Me,e.max=Ae,e.utc=a,e.unix=Zt,e.months=an,e.isDate=i,e.locale=w,e.invali
vendor: 19,815 bytes, lines 7-8
7d=d,e.duration=Ve,e.isMoment=f,e.weekdays=un,e.parseZone=Gt,e.localeData=k,e.isDuration=Ee,e.monthsShort=ln,e.weekdaysMin=dn,e.defineLocale=x,e.weekdaysShort=cn,e.normalizeUnits=S,e.relativeTimeThreshold=Ln,e}),function(e,t,n,i){"use strict";function o(e,t,n){return setTimeout(c(e,n),t)}function r(e,t,n){return!!Array.isArray(e)&&(s(e,n[t],n),!0)}function s(e,t,n){var o;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==i)for(o=0;o<e.length;)t.call(n,e[o],o,e),o++;else for(o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function a(e,t,n){for(var o=Object.keys(t),r=0;r<o.length;)(!n||n&&e[o[r]]===i)&&(e[o[r]]=t[o[r]]),r++;return e}function l(e,t){return a(e,t,!0)}function u(e,t,n){var i,o=t.prototype;i=e.prototype=Object.create(o),i.constructor=e,i._super=o,n&&a(i,n)}function c(e,t){return function(){return e.apply(t,arguments)}}function d(e,t){return typeof e==ce?e.apply(t?t[0]||i:i,t):e}function h(e,t){return e===i?t:e}function p(e,t,n){s(_(t),function(t){e.addEventListener(t,n,!1)})}function f(e,t,n){s(_(t),function(t){e.removeEventListener(t,n,!1)})}function m(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function g(e,t){return e.indexOf(t)>-1}function _(e){return e.trim().split(/\s+/g)}function v(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function y(e){return Array.prototype.slice.call(e,0)}function b(e,t,n){for(var i=[],o=[],r=0;r<e.length;){var s=t?e[r][t]:e[r];v(o,s)<0&&i.push(e[r]),o[r]=s,r++}return n&&(i=t?i.sort(function(e,n){return e[t]>n[t]}):i.sort()),i}function w(e,t){for(var n,o,r=t[0].toUpperCase()+t.slice(1),s=0;s<le.length;){if(n=le[s],(o=n?n+r:t)in e)return o;s++}return i}function x(){return fe++}function k(e){var t=e.ownerDocument;return t.defaultView||t.parentWindow}function T(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){d(e.options.enable,[e])&&n.handler(t)},this.init()}function S(e){var t=e.options.inputClass;return new(t||(_e?R:ve?H:ge?W:N))(e,C)}function C(e,t,n){var i=n.pointers.length,o=n.changedPointers.length,r=t&Te&&i-o==0,s=t&(Ce|Le)&&i-o==0;n.isFirst=!!r,n.isFinal=!!s,r&&(e.session={}),n.eventType=t,L(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function L(e,t){var n=e.session,i=t.pointers,o=i.length;n.firstInput||(n.firstInput=D(t)),o>1&&!n.firstMultiple?n.firstMultiple=D(t):1===o&&(n.firstMultiple=!1);var r=n.firstInput,s=n.firstMultiple,a=s?s.center:r.center,l=t.center=E(i);t.timeStamp=pe(),t.deltaTime=t.timeStamp-r.timeStamp,t.angle=O(a,l),t.distance=I(a,l),M(n,t),t.offsetDirection=z(t.deltaX,t.deltaY),t.scale=s?j(s.pointers,i):1,t.rotation=s?F(s.pointers,i):0,A(n,t);var u=e.element;m(t.srcEvent.target,u)&&(u=t.srcEvent.target),t.target=u}function M(e,t){var n=t.center,i=e.offsetDelta||{},o=e.prevDelta||{},r=e.prevInput||{};t.eventType!==Te&&r.eventType!==Ce||(o=e.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=o.x+(n.x-i.x),t.deltaY=o.y+(n.y-i.y)}function A(e,t){var n,o,r,s,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(t.eventType!=Le&&(l>ke||a.velocity===i)){var u=a.deltaX-t.deltaX,c=a.deltaY-t.deltaY,d=P(l,u,c);o=d.x,r=d.y,n=he(d.x)>he(d.y)?d.x:d.y,s=z(u,c),e.lastInterval=t}else n=a.velocity,o=a.velocityX,r=a.velocityY,s=a.direction;t.velocity=n,t.velocityX=o,t.velocityY=r,t.direction=s}function D(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:de(e.pointers[n].clientX),clientY:de(e.pointers[n].clientY)},n++;return{timeStamp:pe(),pointers:t,center:E(t),deltaX:e.deltaX,deltaY:e.deltaY}}function E(e){var t=e.length;if(1===t)return{x:de(e[0].clientX),y:de(e[0].clientY)};for(var n=0,i=0,o=0;o<t;)n+=e[o].clientX,i+=e[o].clientY,o++;return{x:de(n/t),y:de(i/t)}}function P(e,t,n){return{x:t/e||0,y:n/e||0}}function z(e,t){return e===t?Me:he(e)>=he(t)?e>0?Ae:De:t>0?Ee:Pe}function I(e,t,n){n||(n=Fe);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(i*i+o*o)}function O(e,t,n){n||(n=Fe);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,i)/Math.PI}function F(e,t){return O(t[1],t[0],je)-O(e[1],e[0],je)}function j(e,t){return I(t[0],t[1],je)/I(e[0],e[1],je)}function N(){this.evEl=Re,this.evWin=qe,this.allow=!0,this.pressed=!1,T.apply(this,arguments)}function R(){this.evEl=Be,this.evWin=We,T.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function q(){this.evTarget=Ye,this.evWin=Ve,this.started=!1,T.apply(this,arguments)}function $(e,t){var n=y(e.touches),i=y(e.changedTouches);return t&(Ce|Le)&&(n=b(n.concat(i),"identifier",!0)),[n,i]}function H(){this.evTarget=Ge,this.targetIds={},T.apply(this,arguments)}function B(e,t){var n=y(e.touches),i=this.targetIds;if(t&(Te|Se)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,s=y(e.changedTouches),a=[],l=this.target;if(r=n.filter(function(e){return m(e.target,l)}),t===Te)for(o=0;o<r.length;)i[r[o].identifier]=!0,o++;for(o=0;o<s.length;)i[s[o].identifier]&&a.push(s[o]),t&(Ce|Le)&&delete i[s[o].identifier],o++;return a.length?[b(r.concat(a),"identifier",!0),a]:void 0}function W(){T.apply(this,arguments);var e=c(this.handler,this);this.touch=new H(this.manager,e),this.mouse=new N(this.manager,e)}function U(e,t){this.manager=e,this.set(t)}function Y(e){if(g(e,tt))return tt;var t=g(e,nt),n=g(e,it);return t&&n?nt+" "+it:t||n?t?nt:it:g(e,et)?et:Xe}function V(e){this.id=x(),this.manager=null,this.options=l(e||{},this.defaults),this.options.enable=h(this.options.enable,!0),this.state=ot,this.simultaneous={},this.requireFail=[]}function Z(e){return e&ut?"cancel":e&at?"end":e&st?"move":e&rt?"start":""}function G(e){return e==Pe?"down":e==Ee?"up":e==Ae?"left":e==De?"right":""}function J(e,t){var n=t.manager;return n?n.get(e):e}function Q(){V.apply(this,arguments)}function K(){Q.apply(this,arguments),this.pX=null,this.pY=null}function X(){Q.apply(this,arguments)}function ee(){V.apply(this,arguments),this._timer=null,this._input=null}function te(){Q.apply(this,arguments)}function ne(){Q.apply(this,arguments)}function ie(){V.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function oe(e,t){return t=t||{},t.recognizers=h(t.recognizers,oe.defaults.preset),new re(e,t)}function re(e,t){t=t||{},this.options=l(t,oe.defaults),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.element=e,this.input=S(this),this.touchAction=new U(this,this.options.touchAction),se(this,!0),s(t.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function se(e,t){var n=e.element;s(e.options.cssProps,function(e,i){n.style[w(n.style,i)]=t?e:""})}function ae(e,n){var i=t.createEvent("Event");i.initEvent(e,!0,!0),i.gesture=n,n.target.dispatchEvent(i)}var le=["","webkit","moz","MS","ms","o"],ue=t.createElement("div"),ce="function",de=Math.round,he=Math.abs,pe=Date.now,fe=1,me=/mobile|tablet|ip(ad|hone|od)|android/i,ge="ontouchstart"in e,_e=w(e,"PointerEvent")!==i,ve=ge&&me.test(navigator.userAgent),ye="touch",be="pen",we="mouse",xe="kinect",ke=25,Te=1,Se=2,Ce=4,Le=8,Me=1,Ae=2,De=4,Ee=8,Pe=16,ze=Ae|De,Ie=Ee|Pe,Oe=ze|Ie,Fe=["x","y"],je=["clientX","clientY"];T.prototype={handler:function(){},init:function(){this.evEl&&p(this.element,this.evEl,this.domHandler),this.evTarget&&p(this.target,this.evTarget,this.domHandler),this.evWin&&p(k(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&f(this.element,this.evEl,this.domHandler),this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(k(this.element),this.evWin,this.domHandler)}};var Ne={mousedown:Te,mousemove:Se,mouseup:Ce},Re="mousedown",qe="mousemove mouseup";u(N,T,{handler:function(e){var t=Ne[e.type];t&Te&&0===e.button&&(this.pressed=!0),t&Se&&1!==e.which&&(t=Ce),this.pressed&&this.allow&&(t&Ce&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:we,srcEvent:e}))}});var $e={pointerdown:Te,pointermove:Se,pointerup:Ce,pointercancel:Le,pointerout:Le},He={2:ye,3:be,4:we,5:xe},Be="pointerdown",We="pointermove pointerup pointercancel";e.MSPointerEvent&&(Be="MSPointerDown",We="MSPointerMove MSPointerUp MSPointerCancel"),u(R,T,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),o=$e[i],r=He[e.pointerType]||e.pointerType,s=r==ye,a=v(t,e.pointerId,"pointerId");o&Te&&(0===e.button||s)?a<0&&(t.push(e),a=t.length-1):o&(Ce|Le)&&(n=!0),a<0||(t[a]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:r,srcEvent:e}),n&&t.splice(a,1))}});var Ue={touchstart:Te,touchmove:Se,touchend:Ce,touchcancel:Le},Ye="touchstart",Ve="touchstart touchmove touchend touchcancel";u(q,T,{handler:function(e){var t=Ue[e.type];if(t===Te&&(this.started=!0),this.started){var n=$.call(this,e,t);t&(Ce|Le)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:ye,srcEvent:e})}}});var Ze={touchstart:Te,touchmove:Se,touchend:Ce,touchcancel:Le},Ge="touchstart touchmove touchend touchcancel";u(H,T,{handler:function(e){var t=Ze[e.type],n=B.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:ye,srcEvent:e})}}),u(W,T,{handler:function(e,t,n){var i=n.pointerType==ye,o=n.pointerType==we;if(i)this.mouse.allow=!1;else if(o&&!this.mouse.allow)return;t&(Ce|Le)&&(this.mouse.allow=!0),this.callback(e,t,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Je=w(ue.style,"touchAction"),Qe=Je!==i,Ke="compute",Xe="auto",et="manipulation",tt="none",nt="pan-x",it="pan-y";U.prototype={set:function(e){e==Ke&&(e=this.compute()),Qe&&(this.manager.element.style[Je]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return s(this.manager.recognizers,function(t){d(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),Y(e.join(" "))},preventDefaults:function(e){if(!Qe){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)return void t.preventDefault();var i=this.actions,o=g(i,tt),r=g(i,it),s=g(i,nt);return o||r&&n&ze||s&&n&Ie?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var ot=1,rt=2,st=4,at=8,lt=at,ut=16,ct=32;V.prototype={defaults:{},set:function(e){return a(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(r(e,"recognizeWith",this))return this;var t=this.simultaneous;return e=J(e,this),t[e.id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return r(e,"dropRecognizeWith",this)?this:(e=J(e,this),delete this.simultaneous[e.id],this)},requireFailure:function(e){if(r(e,"requireFailure",this))return this;var t=this.requireFail;return e=J(e,this),-1===v(t,e)&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(r(e,"dropRequireFailure",this))return this;e=J(e,this);var t=v(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){function t(t){n.manager.emit(n.options.event+(t?Z(i):""),e)}var n=this,i=this.state;i<at&&t(!0),t(),i>=at&&t(!0)},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=ct},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(ct|ot)))return!1;e++}return!0},recognize:function(e){var t=a({},e);if(!d(this.options.enable,[this,t]))return this.reset(),void(this.state=ct);this.state&(lt|ut|ct)&&(this.state=ot),this.state=this.process(t),this.state&(rt|st|at|ut)&&this.tryEmit(t)},process:function(){},getTouchAction:function(){},reset:function(){}},u(Q,V,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=t&(rt|st),o=this.attrTest(e);return i&&(n&Le||!o)?t|ut:i||o?n&Ce?t|at:t&rt?t|st:rt:ct}}),u(K,Q,{defaults:{event:"pan",threshold:10,pointers:1,direction:Oe},getTouchAction:function(){var e=this.options.direction,t=[];return e&ze&&t.push(it),e&Ie&&t.push(nt),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,o=e.direction,r=e.deltaX,s=e.deltaY;return o&t.direction||(t.direction&ze?(o=0===r?Me:r<0?Ae:De,n=r!=this.pX,i=Math.abs(e.deltaX)):(o=0===s?Me:s<0?Ee:Pe,n=s!=this.pY,i=Math.abs(e.deltaY))),e.direction=o,n&&i>t.threshold&&o&t.direction},attrTest:function(e){return Q.prototype.attrTest.call(this,e)&&(this.state&rt||!(this.state&rt)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=G(e.direction);t&&this.manager.emit(this.options.event+t,e),this._super.emit.call(this,e)}}),u(X,Q,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[tt]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&rt)},emit:function(e){if(this._super.emit.call(this,e),1!==e.scale){var t=e.scale<1?"in":"out";this.manager.emit(this.options.event+t,e)}}}),u(ee,V,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[Xe]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!i||!n||e.eventType&(Ce|Le)&&!r)this.reset();else if(e.eventType&Te)this.reset(),this._timer=o(function(){this.state=lt,this.tryEmit()},t.time,this);else if(e.eventType&Ce)return lt;return ct},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===lt&&(e&&e.eventType&Ce?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=pe(),this.manager.emit(this.options.event,this._input)))}}),u(te,Q,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[tt]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&rt)}}),u(ne,Q,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:ze|Ie,pointers:1},getTouchAction:function(){return K.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(ze|Ie)?t=e.velocity:n&ze?t=e.velocityX:n&Ie&&(t=e.velocityY),this._super.attrTest.call(this,e)&&n&e.direction&&e.distance>this.options.threshold&&he(t)>this.options.velocity&&e.eventType&Ce},emit:function(e){var t=G(e.direction);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),u(ie,V,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[et]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),e.eventType&Te&&0===this.count)return this.failTimeout();if(i&&r&&n){if(e.eventType!=Ce)return this.failTimeout();var s=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||I(this.pCenter,e.center)<t.posThreshold;this.pTime=e.timeStamp,this.pCenter=e.center,a&&s?this.count+=1:this.count=1,this._input=e;if(0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=o(function(){this.state=lt,this.tryEmit()},t.interval,this),rt):lt}return ct},failTimeout:function(){return this._timer=o(function(){this.state=ct},this.options.interval,this),ct},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==lt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),oe.VERSION="2.0.4",oe.defaults={domEvents:!1,touchAction:Ke,enable:!0,inputTarget:null,inputClass:null,preset:[[te,{enable:!1}],[X,{enable:!1},["rotate"]],[ne,{direction:ze}],[K,{direction:ze},["swipe"]],[ie],[ie,{event:"doubletap",taps:2},["tap"]],[ee]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var dt=2;re.prototype={set:function(e){return a(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?dt:1},recognize:function(e){var t=this.session;if(!t.stopped){this.touchAction.preventDefaults(e);var n,i=this.recognizers,o=t.curRecognizer;(!o||o&&o.state<)&&(o=t.curRecognizer=null);for(var r=0;r<i.length;)n=i[r],t.stopped===dt||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(e),!o&&n.state&(rt|st|at)&&(o=t.curRecognizer=n),r++}},get:function(e){if(e instanceof V)return e 8;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(r(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(r(e,"remove",this))return this;var t=this.recognizers;return e=this.get(e),t.splice(v(t,e),1),this.touchAction.update(),this},on:function(e,t){var n=this.handlers;return s(_(e),function(e){n[e]=n[e]||[],n[e].push(t)}),this},off:function(e,t){var n=this.handlers;return s(_(e),function(e){t?n[e].splice(v(n[e],t),1):delete n[e]}),this},emit:function(e,t){this.options.domEvents&&ae(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&se(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},a(oe,{INPUT_START:Te,INPUT_MOVE:Se,INPUT_END:Ce,INPUT_CANCEL:Le,STATE_POSSIBLE:ot,STATE_BEGAN:rt,STATE_CHANGED:st,STATE_ENDED:at,STATE_RECOGNIZED:lt,STATE_CANCELLED:ut,STATE_FAILED:ct,DIRECTION_NONE:Me,DIRECTION_LEFT:Ae,DIRECTION_RIGHT:De,DIRECTION_UP:Ee,DIRECTION_DOWN:Pe,DIRECTION_HORIZONTAL:ze,DIRECTION_VERTICAL:Ie,DIRECTION_ALL:Oe,Manager:re,Input:T,TouchAction:U,TouchInput:H,MouseInput:N,PointerEventInput:R,TouchMouseInput:W,SingleTouchInput:q,Recognizer:V,AttrRecognizer:Q,Tap:ie,Pan:K,Swipe:ne,Pinch:X,Rotate:te,Press:ee,on:p,off:f,each:s,merge:l,extend:a,inherit:u,bindFn:c,prefixed:w}),typeof define==ce&&define.amd?define(function(){return oe}):"undefined"!=typeof module&&module.exports?module.exports=oe:e[n]=oe}(window,document,"Hammer"),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){"use strict";var t=window.Slick||{};t=function(){function t(t,i){var o,r,s,a=this;if(a.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(t),appendDots:e(t),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="previous">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="next">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return'<button type="button" data-role="none">'+(t+1)+"</button>"},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0},a.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
8sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1},e.extend(a,a.initials),a.activeBreakpoint=null,a.animType=null,a.animProp=null,a.breakpoints=[],a.breakpointSettings=[],a.cssTransitions=!1,a.hidden="hidden",a.paused=!1,a.positionProp=null,a.respondTo=null,a.rowCount=1,a.shouldClick=!0,a.$slider=e(t),a.$slidesCache=null,a.transformType=null,a.transitionType=null,a.visibilityChange="visibilitychange",a.windowWidth=0,a.windowTimer=null,o=e(t).data("slick")||{},a.options=e.extend({},a.defaults,o,i),a.currentSlide=a.options.initialSlide,a.originalSettings=a.options,(r=a.options.responsive||null)&&r.length>-1){a.respondTo=a.options.respondTo||"window";for(s in r)r.hasOwnProperty(s)&&(a.breakpoints.push(r[s].breakpoint),a.breakpointSettings[r[s].breakpoint]=r[s].settings);a.breakpoints.sort(function(e,t){return!0===a.options.mobileFirst?e-t:t-e})}"undefined"!=typeof document.mozHidden?(a.hidden="mozHidden",a.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.msHidden?(a.hidden="msHidden",a.visibilityChange="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(a.hidden="webkitHidden",a.visibilityChange="webkitvisibilitychange"),a.autoPlay=e.proxy(a.autoPlay,a),a.autoPlayClear=e.proxy(a.autoPlayClear,a),a.changeSlide=e.proxy(a.changeSlide,a),a.clickHandler=e.proxy(a.clickHandler,a),a.selectHandler=e.proxy(a.selectHandler,a),a.setPosition=e.proxy(a.setPosition,a),a.swipeHandler=e.proxy(a.swipeHandler,a),a.dragHandler=e.proxy(a.dragHandler,a),a.keyHandler=e.proxy(a.keyHandler,a),a.autoPlayIterator=e.proxy(a.autoPlayIterator,a),a.instanceUid=n++,a.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,a.init(),a.checkResponsive(!0)}var n=0;return t}(),t.prototype.addSlide=t.prototype.slickAdd=function(t,n,i){var o=this;if("boolean"==typeof n)i=n,n=null;else if(n<0||n>=o.slideCount)return!1;o.unload(),"number"==typeof n?0===n&&0===o.$slides.length?e(t).appendTo(o.$slideTrack):i?e(t).insertBefore(o.$slides.eq(n)):e(t).insertAfter(o.$slides.eq(n)):!0===i?e(t).prependTo(o.$slideTrack):e(t).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(t,n){e(n).attr("data-slick-index",t)}),o.$slidesCache=o.$slides,o.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,n){var i={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(t=-t),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:t},o.options.speed,o.options.easing,n):o.$slideTrack.animate({top:t},o.options.speed,o.options.easing,n):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),e({animStart:o.currentLeft}).animate({animStart:t},{duration:o.options.speed,easing:o.options.easing,step:function(e){e=Math.ceil(e),!1===o.options.vertical?(i[o.animType]="translate("+e+"px, 0px)",o.$slideTrack.css(i)):(i[o.animType]="translate(0px,"+e+"px)",o.$slideTrack.css(i))},complete:function(){n&&n.call()}})):(o.applyTransition(),t=Math.ceil(t),!1===o.options.vertical?i[o.animType]="translate3d("+t+"px, 0px, 0px)":i[o.animType]="translate3d(0px,"+t+"px, 0px)",o.$slideTrack.css(i),n&&setTimeout(function(){o.disableTransition(),n.call()},o.options.speed))},t.prototype.asNavFor=function(t){var n=this,i=null!==n.options.asNavFor?e(n.options.asNavFor).slick("getSlick"):null;null!==i&&i.slideHandler(t,!0)},t.prototype.applyTransition=function(e){var t=this,n={};!1===t.options.fade?n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.autoPlay=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer),e.slideCount>e.options.slidesToShow&&!0!==e.paused&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this;!1===e.options.infinite?1===e.direction?(e.currentSlide+1===e.slideCount-1&&(e.direction=0),e.slideHandler(e.currentSlide+e.options.slidesToScroll)):(e.currentSlide-1==0&&(e.direction=1),e.slideHandler(e.currentSlide-e.options.slidesToScroll)):e.slideHandler(e.currentSlide+e.options.slidesToScroll)},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow=e(t.options.prevArrow),t.$nextArrow=e(t.options.nextArrow),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.appendTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled"))},t.prototype.buildDots=function(){var t,n,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(n='<ul class="'+i.options.dotsClass+'">',t=0;t<=i.getDotCount();t+=1)n+="<li>"+i.options.customPaging.call(this,i,t)+"</li>";n+="</ul>",i.$dots=e(n).appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,n){e(n).attr("data-slick-index",t)}),t.$slidesCache=t.$slides,t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),!0===t.options.accessibility&&t.$list.prop("tabIndex",0),t.setSlideClasses("number"==typeof this.currentSlide?this.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,n,i,o,r,s,a=this;if(i=document.createDocumentFragment(),r=a.$slider.children(),a.options.rows>1){for(s=a.options.slidesPerRow*a.options.rows,o=Math.ceil(r.length/s),e=0;e<o;e++){var l=document.createElement("div");for(t=0;t<a.options.rows;t++){var u=document.createElement("div");for(n=0;n<a.options.slidesPerRow;n++){var c=e*s+(t*a.options.slidesPerRow+n);r.get(c)&&u.appendChild(r.get(c))}l.appendChild(u)}i.appendChild(l)}a.$slider.html(i),a.$slider.children().children().children().width(100/a.options.slidesPerRow+"%").css({display:"inline-block"})}},t.prototype.checkResponsive=function(t){var n,i,o,r=this,s=r.$slider.width(),a=window.innerWidth||e(window).width();if("window"===r.respondTo?o=a:"slider"===r.respondTo?o=s:"min"===r.respondTo&&(o=Math.min(a,s)),r.originalSettings.responsive&&r.originalSettings.responsive.length>-1&&null!==r.originalSettings.responsive){i=null;for(n in r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(!1===r.originalSettings.mobileFirst?o<r.breakpoints[n]&&(i=r.breakpoints[n]):o>r.breakpoints[n]&&(i=r.breakpoints[n]));null!==i?null!==r.activeBreakpoint?i!==r.activeBreakpoint&&(r.activeBreakpoint=i,"unsl
8ick"===r.breakpointSettings[i]?r.unslick():(r.options=e.extend({},r.originalSettings,r.breakpointSettings[i]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh())):(r.activeBreakpoint=i,"unslick"===r.breakpointSettings[i]?r.unslick():(r.options=e.extend({},r.originalSettings,r.breakpointSettings[i]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh())):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh())}},t.prototype.changeSlide=function(t,n){var i,o,r,s=this,a=e(t.target);switch(a.is("a")&&t.preventDefault(),r=s.slideCount%s.options.slidesToScroll!=0,i=r?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,t.data.message){case"previous":o=0===i?s.options.slidesToScroll:s.options.slidesToShow-i,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-o,!1,n);break;case"next":o=0===i?s.options.slidesToScroll:i,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+o,!1,n);break;case"index":var l=0===t.data.index?0:t.data.index||e(t.target).parent().index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(l),!1,n);break;default:return}},t.prototype.checkNavigable=function(e){var t,n,i=this;if(t=i.getNavigableIndexes(),n=0,e>t[t.length-1])e=t[t.length-1];else for(var o in t){if(e<t[o]){e=n;break}n=t[o]}return e},t.prototype.cleanUpEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).off("click.slick",t.changeSlide),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&!0===t.options.autoplay&&e("li",t.$dots).off("mouseenter.slick",t.setPaused.bind(t,!0)).off("mouseleave.slick",t.setPaused.bind(t,!1)),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide)),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.
8slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),!0===t.options.autoplay&&e(document).off(t.visibilityChange,t.visibility),t.$list.off("mouseenter.slick",t.setPaused.bind(t,!0)),t.$list.off("mouseleave.slick",t.setPaused.bind(t,!1)),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition),e(document).off("ready.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&(e=t.$slides.children().children(),e.removeAttr("style"),t.$slider.html(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&"object"!=typeof t.options.prevArrow&&t.$prevArrow.remove(),t.$nextArrow&&"object"!=typeof t.options.nextArrow&&t.$nextArrow.remove(),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible").attr("aria-hidden","true").removeAttr("data-slick-index").css({position:"",left:"",top:"",zIndex:"",opacity:"",width:""}),t.$slider.html(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized")},t.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.fadeSlide=function(e,t){var n=this;!1===n.cssTransitions?(n.$slides.eq(e).css({zIndex:1e3}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:1e3}),t&&setTimeout(function(){n.disableTransition(e),t.call()},n.options.speed))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,n=0,i=0;if(!0===e.options.infinite)i=Math.ceil(e.slideCount/e.options.slidesToScroll);else if(!0===e.options.centerMode)i=e.slideCount;else for(;t<e.slideCount;)++i,t=n+e.options.slidesToShow,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return i-1},t.prototype.getLeft=function(e){var t,n,i,o=this,r=0;return o.slideOffset=0,n=o.$slides.first().outerHeight(),!0===o.options.infinite?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,r=n*o.options.slidesToShow*-1),o.slideCount%o.options.slidesToScroll!=0&&e+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(e>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(e-o.slideCount))*o.slideWidth*-1,r=(o.options.slidesToShow-(e-o.slideCount))*n*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,r=o.slideCount%o.options.slidesToScroll*n*-1))):e+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(e+o.options.slidesToShow-o.slideCount)*o.slideWidth,r=(e+o.options.slidesToShow-o.slideCount)*n),o.slideCount<=o.options.slidesToShow&&(o.slideOffset=0,r=0),!0===o.options.centerMode&&!0===o.options.infinite?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:!0===o.options.centerMode&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),t=!1===o.options.vertical?e*o.slideWidth*-1+o.slideOffset:e*n*-1+r,!0===o.options.variableWidth&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow),t=i[0]?-1*i[0].offsetLeft:0,!0===o.options.centerMode&&(i=!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow+1),t=i[0]?-1*i[0].offsetLeft:0,t+=(o.$list.width()-i.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,n=0,i=0,o=[];for(!1===t.options.infinite?(e=t.slideCount-t.options.slidesToShow+1,!0===t.options.centerMode&&(e=t.slideCount)):(n=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,e=2*t.slideCount);n<e;)o.push(n),n=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return o},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,n,i=this;return n=!0===i.options.centerMode?i.slideWidth*Math.floor(i.options.slidesToShow/2):0,!0===i.options.swipeToSlide?(i.$slideTrack.find(".slick-slide").each(function(o,r){if(r.offsetLeft-n+e(r).outerWidth()/2>-1*i.swipeLeft)return t=r,!1}),Math.abs(e(t).attr("data-slick-index")-i.currentSlide)||1):i.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
8parseInt(e)}},t)},t.prototype.init=function(){var t=this;e(t.$slider).hasClass("slick-initialized")||(e(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots()),t.$slider.trigger("init",[t])},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.on("click.slick",{message:"next"},e.changeSlide))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&!0===t.options.autoplay&&e("li",t.$dots).on("mouseenter.slick",t.setPaused.bind(t,!0)).on("mouseleave.slick",t.setPaused.bind(t,!1))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"}
8,t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),!0===t.options.autoplay&&e(document).on(t.visibilityChange,t.visibility.bind(t)),t.$list.on("mouseenter.slick",t.setPaused.bind(t,!0)),t.$list.on("mouseleave.slick",t.setPaused.bind(t,!1)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange.bind(t)),e(window).on("resize.slick.slick-"+t.instanceUid,t.resize.bind(t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show(),!0===e.options.autoplay&&e.autoPlay()},t.prototype.keyHandler=function(e){var t=this;37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:"next"}})},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each(function(){var t=e(this),n=e(this).attr("data-lazy"),i=document.createElement("img");i.onload=function(){t.animate({opacity:1},200)},i.src=n,t.css({opacity:0}).attr("src",n).removeAttr("data-lazy").removeClass("slick-loading")})}var n,i,o,r,s=this;!0===s.options.centerMode?!0===s.options.infinite?(o=s.currentSlide+(s.options.slidesToShow/2+1),r=o+s.options.slidesToShow+2):(o=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1)),r=s.options.slidesToShow/2+1+2+s.currentSlide):(o=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide,r=o+s.options.slidesToShow,!0===s.options.fade&&(o>0&&o--,r<=s.slideCount&&r++)),n=s.$slider.find(".slick-slide").slice(o,r),t(n),s.slideCount<=s.options.slidesToShow?(i=s.$slider.find(".slick-slide"),t(i)):s.currentSlide>=s.slideCount-s.options.slidesToShow?(i=s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow),t(i)):0===s.currentSlide&&(i=s.$slider.find(".slick-cloned").slice(-1*s.options.slidesToShow),t(i))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){var e=this;e.checkResponsive(),e.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){var e=this;e.autoPlayClear(),e.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.paused=!1,e.autoPlay()},t.prototype.postSlide=function(e){var t=this;t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.setPosition(),t.swipeLeft=null,!0===t.options.autoplay&&!1===t.paused&&t.autoPlay()},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(){var t,n,i=this;(t=e("img[data-lazy]",i.$slider).length)>0&&(n=e("img[data-lazy]",i.$slider).first(),n.attr("src",n.attr("data-lazy")).removeClass("slick-loading").load(function(){n.removeAttr("data-lazy"),i.progressiveLazyLoad(),!0===i.options.adaptiveHeight&&i.setPosition()}).error(function(){n.removeAttr("data-lazy"),i.progressiveLazyLoad()}))},t.prototype.refresh=function(){var t=this,n=t.currentSlide;t.destroy(),e.extend(t,t.initials),t.init(),t.changeSlide({data:{message:"index",index:n}},!1)},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses(0),t.setPosition(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.setPosition()},50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,n){var i=this;if("boolean"==typeof e?(t=e,e=!0===t?0:i.slideCount-1):e=!0===t?--e:e,i.slideCount<1||e<0||e>i.slideCount-1)return!1;i.unload(),!0===n?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(e).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},t.prototype.setCSS=function(e){var t,n,i=this,o={};!0===i.options.rtl&&(e=-e),t="left"==i.positionProp?Math.ceil(e)+"px":"0px",n="top"==i.positionProp?Math.ceil(e)+"px":"0px",o[i.positionProp]=e,!1===i.transformsEnabled?
8i.$slideTrack.css(o):(o={},!1===i.cssTransitions?(o[i.animType]="translate("+t+", "+n+")",i.$slideTrack.css(o)):(o[i.animType]="translate3d("+t+", "+n+", 0px)",i.$slideTrack.css(o)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,n=this;n.$slides.each(function(i,o){t=n.slideWidth*i*-1,!0===n.options.rtl?e(o).css({position:"relative",right:t,top:0,zIndex:800,opacity:0}):e(o).css({position:"relative",left:t,top:0,zIndex:800,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:900,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(e,t,n){var i=this;i.options[e]=t,!0===n&&(i.unload(),i.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),t.WebkitTransition===undefined&&t.MozTransition===undefined&&t.msTransition===undefined||!0===e.options.useCSS&&(e.cssTransitions=!0),t.OTransform!==undefined&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",t.perspectiveProperty===undefined&&t.webkitPerspective===undefined&&(e.animType=!1)),t.MozTransform!==undefined&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",t.perspectiveProperty===undefined&&t.MozPerspective===undefined&&(e.animType=!1)),t.webkitTransform!==undefined&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",t.perspectiveProperty===undefined&&t.webkitPerspective===undefined&&(e.animType=!1)),t.msTransform!==undefined&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",t.msTransform===undefined&&(e.animType=!1)),t.transform!==undefined&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,n,i,o,r=this;r.$slider.find(".slick-slide").removeClass("slick-active").attr("aria-hidden","true").removeClass("slick-center"),n=r.$slider.find(".slick-slide"),!0===r.options.centerMode?(t=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(e>=t&&e<=r.slideCount-1-t?r.$slides.slice(e-t,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(i=r.options.slidesToShow+e,n.slice(i-t+1,i+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?n.eq(n.length-1-r.options.slidesToShow).addClass("slick-center"):e===r.slideCount-1&&n.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(e).addClass("slick-center")):e>=0&&e<=r.slideCount-r.options.slidesToShow?r.$slides.slice(e,e+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=r.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(o=r.slideCount%r.options.slidesToShow,i=!0===r.options.infinite?r.options.slidesToShow+e:e,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-e<r.o
8ptions.slidesToShow?n.slice(i-(r.options.slidesToShow-o),i+o).addClass("slick-active").attr("aria-hidden","false"):n.slice(i,i+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===r.options.lazyLoad&&r.lazyLoad()},t.prototype.setupInfinite=function(){var t,n,i,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(n=null,o.slideCount>o.options.slidesToShow)){for(i=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,t=o.slideCount;t>o.slideCount-i;t-=1)n=t-1,e(o.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(t=0;t<i;t+=1)n=t,e(o.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){e(this).attr("id","")})}},t.prototype.setPaused=function(e){var t=this;!0===t.options.autoplay&&!0===t.options.pauseOnHover&&(t.paused=e,t.autoPlayClear())},t.prototype.selectHandler=function(t){var n=this,i=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),o=parseInt(i.attr("data-slick-index"));if(o||(o=0),n.slideCount<=n.options.slidesToShow)return n.$slider.find(".slick-slide").removeClass("slick-active").attr("aria-hidden","true"),n.$slides.eq(o).addClass("slick-active").attr("aria-hidden","false"),!0===n.options.centerMode&&(n.$slider.find(".slick-slide").removeClass("slick-center"),n.$slides.eq(o).addClass("slick-center")),void n.asNavFor(o);n.slideHandler(o)},t.prototype.slideHandler=function(e,t,n){var i,o,r,s=null,a=this;if(t=t||!1,(!0!==a.animating||!0!==a.options.waitForAnimate)&&!(!0===a.options.fade&&a.currentSlide===e||a.slideCount<=a.options.slidesToShow)){if(!1===t&&a.asNavFor(e),i=e,s=a.getLeft(i),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(e<0||e>a.getDotCount()*a.options.slidesToScroll))return void(!1===a.options.fade&&(i=a.currentSlide,!0!==n?a.animateSlide(r,function(){a.postSlide(i)}):a.postSlide(i)));if(!1===a.options.infinite&&!0===a.options.centerMode&&(e<0||e>a.slideCount-a.options.slidesToScroll))return void(!1===a.options.fade&&(i=a.currentSlide,!0!==n?a.animateSlide(r,function(){a.postSlide(i)}):a.postSlide(i)));if(!0===a.options.autoplay&&clearInterval(a.autoPlayTimer),o=i<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+i:i>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:i-a.slideCount:i,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,o]),a.currentSlide,a.currentSlide=o,a.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==n?a.fadeSlide(o,function(){a.postSlide(o)}):a.postSlide(o),void a.animateHeight();!0!==n?a.animateSlide(s,function(){a.postSlide(o)}):a.postSlide(o)}},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,n,i,o=this;return e=o.touchObject.startX-o.touchObject.curX,t=o.touchObject.startY-o.touchObject.curY,n=Math.atan2(t,e),i=Math.round(180*n/Math.PI),i<0&&(i=360-Math.abs(i)), 9i<=45&&i>=0?!1===o.options.rtl?"left":"right":i<=360&&i>=315?!1===o.options.rtl?"left":"right":i>=135&&i<=225?!1===o.options.rtl?"right":"left":!0===o.options.verticalSwiping?i>=35&&i<=135?"left":"right":"vertical"},t.prototype.swipeEnd=function(){var e,t=this;if(t.dragging=!1,t.shouldClick=!(t.touchObject.swipeLength>10),t.touchObject.curX===undefined)return!1;if(!0===t.touchObject.edgeHit&&t.$slider.trigger("edge",[t,t.swipeDirection()]),t.touchObject.swipeLength>=t.touchObject.minSwipe)switch(t.swipeDirection()){case"left":e=t.options.swipeToSlide?t.checkNavigable(t.currentSlide+t.getSlideCount()):t.currentSlide+t.getSlideCount(),t.slideHandler(e),t.currentDirection=0,t.touchObject={},t.$slider.trigger("swipe",[t,"left"]);break;case"right":e=t.options.swipeToSlide?t.checkNavigable(t.currentSlide-t.getSlideCount()):t.currentSlide-t.getSlideCount(),t.slideHandler(e),t.currentDirection=1,t.touchObject={},t.$slider.trigger("swipe",[t,"right"])}else t.touchObject.startX!==t.touchObject.curX&&(t.slideHandler(t.currentSlide),t.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mou
9se")))switch(t.touchObject.fingerCount=e.originalEvent&&e.originalEvent.touches!==undefined?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,n,i,o,r,s=this;return r=e.originalEvent!==undefined?e.originalEvent.touches:null,!(!s.dragging||r&&1!==r.length)&&(t=s.getLeft(s.currentSlide),s.touchObject.curX=r!==undefined?r[0].pageX:e.clientX,s.touchObject.curY=r!==undefined?r[0].pageY:e.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),!0===s.options.verticalSwiping&&(s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2)))),"vertical"!==(n=s.swipeDirection())?(e.originalEvent!==undefined&&s.touchObject.swipeLength>4&&e.preventDefault(),o=(!1===s.options.rtl?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),!0===s.options.verticalSwiping&&(o=s.touchObject.curY>s.touchObject.startY?1:-1),i=s.touchObject.swipeLength,s.touchObject.edgeHit=!1,!1===s.options.infinite&&(0===s.currentSlide&&"right"===n||s.currentSlide>=s.getDotCount()&&"left"===n)&&(i=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),!1===s.options.vertical?s.swipeLeft=t+i*o:s.swipeLeft=t+i*(s.$list.height()/s.listWidth)*o,!0===s.options.verticalSwiping&&(s.swipeLeft=t+i*o),!0!==s.options.fade&&!1!==s.options.touchMove&&(!0===s.animating?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))):void 0)},t.prototype.swipeStart=function(e){var t,n=this;if(1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return n.touchObject={},!1;e.originalEvent!==undefined&&e.originalEvent.touches!==undefined&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=t!==undefined?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=t!==undefined?t.pageY:e.clientY,n.dragging=!0},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&"object"!=typeof t.options.prevArrow&&t.$prevArrow.remove(),t.$nextArrow&&"object"!=typeof t.options.nextArrow&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible").attr("aria-hidden","true").css("width","")},t.prototype.unslick=function(){this.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&!0!==e.options.infinite&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.removeClass("slick-disabled"),e.$nextArrow.removeClass("slick-disabled"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled"),e.$nextArrow.removeClass("slick-disabled")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode?(e.$nextArrow.addClass("slick-disabled"),e.$prevArrow.removeClass("slick-disabled")):e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode&&(e.$nextArrow.addClass("slick-disabled"),e.$prevArrow.removeClass("slick-disabled")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},t.prototype.visibility=function(){var e=this;document[e.hidden]?(e.paused=!0,e.autoPlayClear()):(e.paused=!1,e.autoPlay())},e.fn.slick=function(){var e,n=this,i=arguments[0],o=Array.prototype.slice.call(arguments,1),r=n.length,s=0;for(s;s<r;s++)if("object"==typeof i||void 0===i?n[s].slick=new t(n[s],i):e=n[s].slick[i].apply(n[s].slick,o),void 0!==e)return e;return n}}),function(){return function e(t,n,i){function o(s,a){if(!n[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(r)return r(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}
9var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){return o(t[s][1][e]||e)},c,c.exports,e,t,n,i)}return n[s].exports}for(var r="function"==typeof require&&require,s=0;s<i.length;s++)o(i[s]);return o}}()({1:[function(e,t){void 0!==t&&(t.exports=function(e,t,n){function i(){var e;void 0===s.status||(e=s.status)>=200&&e<300||304===e?t.call(s,null,s):t.call(s,s,null)}var o=!1;if(void 0===window.XMLHttpRequest)return t(Error("Browser not supported"));if(void 0===n){var r=e.match(/^\s*https?:\/\/[^\/]*/);n=r&&r[0]!==location.protocol+"//"+location.hostname+(location.port?":"+location.port:"")}var s=new window.XMLHttpRequest;if(n&&!("withCredentials"in s)){s=new window.XDomainRequest;var a=t;t=function(){if(o)a.apply(this,arguments);else{var e=this,t=arguments;setTimeout(function(){a.apply(e,t)},0)}}}return"onload"in s?s.onload=i:s.onreadystatechange=function(){4===s.readyState&&i()},s.onerror=function(e){t.call(this,e||!0,null),t=function(){}},s.onprogress=function(){},s.ontimeout=function(e){t.call(this,e,null),t=function(){}},s.onabort=function(e){t.call(this,e,null),t=function(){}},s.open("GET",e,!0),s.send(null),o=!0,s})},{}],2:[function(e,t,n){var i,o;i=this,o=function(e){"use strict";function t(e){var t,n,i,o;for(n=1,i=arguments.length;n<i;n++)for(t in o=arguments[n])e[t]=o[t];return e}function n(e,t){var n=Array.prototype.slice;if(e.bind)return e.bind.apply(e,n.call(arguments,1));var i=n.call(arguments,2);return function(){return e.apply(t,i.length?i.concat(n.call(arguments)):arguments)}}function i(e){return e._leaflet_id=e._leaflet_id||++Ve,e._leaflet_id}function o(e,t,n){var i,o,r,s;return s=function(){i=!1,o&&(r.apply(n,o),o=!1)},r=function(){i?o=arguments:(e.apply(n,arguments),setTimeout(s,t),i=!0)}}function r(e,t,n){var i=t[1],o=t[0],r=i-o;return e===i&&n?e:((e-o)%r+r)%r+o}function s(){return!1}function a(e,t){var n=Math.pow(10,void 0===t?6:t);return Math.round(e*n)/n}function l(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function u(e){return l(e).split(/\s+/)}function c(e,t){for(var n in e.hasOwnProperty("options")||(e.options=e.options?Ye(e.options):{}),t)e.options[n]=t[n];return e.options}function d(e,t,n){var i=[];for(var o in e)i.push(encodeURIComponent(n?o.toUpperCase():o)+"="+encodeURIComponent(e[o]));return(t&&-1!==t.indexOf("?")?"&":"?")+i.join("&")}function h(e,t){return e.replace(Ze,function(e,n){var i=t[n];if(void 0===i)throw new Error("No value provided for variable "+e);return"function"==typeof i&&(i=i(t)),i})}function p(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}function f(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}function m(e){var t=+new Date,n=Math.max(0,16-(t-Qe));return Qe=t+n,window.setTimeout(e,n)}function g(e,t,i){if(!i||Ke!==m)return Ke.call(window,n(e,t));e.call(t)}function _(e){e&&Xe.call(window,e)}function v(){}function y(e,t,n){this.x=n?Math.round(e):e,this.y=n?Math.round(t):t}function b(e,t,n){return e instanceof y?e:Ge(e)?new y(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new y(e.x,e.y):new y(e,t,n)}function w(e,t){if(e)for(var n=t?[e,t]:e,i=0,o=n.length;i<o;i++)this.extend(n[i])}function x(e,t){return!e||e instanceof w?e:new w(e,t)}function k(e,t){if(e)for(var n=t?[e,t]:e,i=0,o=n.length;i<o;i++)this.extend(n[i])}function T(e,t){return e instanceof k?e:new k(e,t)}function S(e,t,n){if(isNaN(e)||isNaN(t))throw new Error("Invalid LatLng object: ("+e+", "+t+")");this.lat=+e,this.lng=+t,void 0!==n&&(this.alt=+n)}function C(e,t,n){return e instanceof S?e:Ge(e)&&"object"!=typeof e[0]?3===e.length?new S(e[0],e[1],e[2]):2===e.length?new S(e[0],e[1]):null:null==e?e:"object"==typeof e&&"lat"in e?new S(e.lat,"lng"in e?e.lng:e.lon,e.alt):void 0===t?null:new S(e,t,n)}function M(e,t,n,i){if(Ge(e))return this._a=e[0],this._b=e[1],this._c=e[2],void(this._d=e[3]);this._a=e,this._b=t,this._c=n,this._d=i}function A(e,t,n,i){return new M(e,t,n,i)}function D(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function E(e,t){var n,i,o,r,s,a,l="";for(n=0,o=e.length;n<o;n++){for(i=0,r=(s=e[n]).length;i<r;i++)l+=(i?"L":"M")+(a=s[i]).x+" "+a.y;l+=t?Ht?"z":"x":""}return l||"M0 0"}function P(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}function z(e,t,n,i){return"touchstart"===t?I(e,n,i):"touchmove"===t?function(e,t,n){var i=function(e){(e.pointerType!==e.MSPOINTER_TYPE_MOUSE&&"mouse"!==e.pointerType||0!==e.buttons)&&N(e,t)};e["_leaflet_touchmove"+n]=i,e.addEventListener(Yt,i,!1)}(e,n,i):"touchend"===t&&function(e,t,n){var i=function(e){N(e,t)};e["_leaflet_touchend"+n]=i,e.addEventListener(Vt,i,!1),e.addEventListener(Zt,i,!1)}(e,n,i),this}function I(e,t,i){var o=n(function(e){if("mouse"!==e.pointerType&&e.MSPOINTER_TYPE_MOUSE&&e.pointerType!==e.MSPOINTER_TYPE_MOUSE){if(!(Gt.indexOf(e.target.tagName)<0))return;_e(e)}N(e,t)});e["_leaflet_touchstart"+i]=o,e.addEventListener(Ut,o,!1),Qt||(document.documentElement.addEventListener(Ut,O,!0),document.documentElement.addEventListener(Yt,F,!0),document.documentElement.addEventListener(Vt,j,!0),document.documentElement.addEventListener(Zt,j,!0),Qt=!0)}function O(e){Jt[e.pointerId]=e,Kt++}function F(e){Jt[e.pointerId]&&(Jt[e.pointerId]=e)}function j(e){delete Jt[e.pointerId],Kt--}function N(e,t){for(var n in e.touches=[],Jt)e.touches.push(Jt[n]);e.changedTouches=[e],t(e)}function R(e,t,n){function i(e){var t;if(Ft){if(!mt||"mouse"===e.pointerType)return;t=Kt}else t=e.touches.length;if(!(t>1)){var n=Date.now(),i=n-(r||n);s=e.touches?e.touches[0]:e,a=i>0&&i<=l,r=n}}function o(e){if(a&&!s.cancelBubble){if(Ft){if(!mt||"mouse"===e.pointerType)return;var n,i,o={};for(i in s)n=s[i],o[i]=n&&n.bind?n.bind(s):n;s=o}s.type="dblclick",t(s),r=null}}var r,s,a=!1,l=250;return e[tn+Xt+n]=i,e[tn+en+n]=o,e[tn+"dblclick"+n]=t,e.addEventListener(Xt,i,!1),e.addEventListener(en,o,!1),e.addEventListener("dblclick",t,!1),this}function q(e,t){var n=e[tn+Xt+t],i=e[tn+en+t],o=e[tn+"dblclick"+t];return e.removeEventListener(Xt,n,!1),e.removeEventListener(en,i,!1),mt||e.removeEventListener("dblclick",o,!1),this}function $(e){return"string"==typeof e?document.getElementById(e):e}function H(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(e,null);n=i?i[t]:null}return"auto"===n?null:n}function B(e,t,n){var i=document.createElement(e);return i.className=t||"",n&&n.appendChild(i),i}function W(e){var t=e.parentNode;t&&t.removeChild(e)}function U(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Y(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function V(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function Z(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=K(e);return n.length>0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(n)}function G(e,t){if(void 0!==e.classList)for(var n=u(t),i=0,o=n.length;i<o;i++)e.classList.add(n[i]);else if(!Z(e,t)){var r=K(e);Q(e,(r?r+" ":"")+t)}}function J(e,t){void 0!==e.classList?e.classList.remove(t):Q(e,l((" "+K(e)+" ").replace(" "+t+" "," ")))}function Q(e,t){void 0===e.className.baseVal?e.className=t:e.className.baseVal=t}function K(e){return e.correspondingElement&&(e=e.correspondingElement),void 0===e.className.baseVal?e.className:e.className.baseVal}function X(e,t){"opacity"in e.style?e.style.opacity=t:"filter"in e.style&&function(e,t){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=e.filters.item(i)}catch(e){if(1===t)return}t=Math.round(100*t),n?(n.Enabled=100!==t,n.Opacity=t):e.style.filter+=" progid:"+i+"(opacity="+t+")"}(e,t)}function ee(e){for(var t=document.documentElement.style,n=0;n<e.length;n++)if(e[n]in t)return e[n];return!1}function te(e,t,n){var i=t||new y(0,0);e.style[nn]=(Mt?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(n?" scale("+n+")":"")}function ne(e,t){e._leaflet_pos=t,Et?te(e,t):(e.style.left=t.x+"px",e.style.top=t.y+"px")}function ie(e){return e._leaflet_pos||new y(0,0)}function oe(){ce(window,"dragstart",_e)}function re(){de(window,"dragstart",_e)}function se(e){for(;-1===e.tabIndex;)e=e.parentNode;e.style&&(ae(),an=e,ln=e.style.outline,e.style.outline="none",ce(window,"keydown",ae))}function ae(){an&&(an.style.outline=ln,an=void 0,ln=void 0,de(window,"keydown",ae))}function le(e){do{e=e.parentNode}while(!(e.offsetWidth&&e.offsetHeight||e===document.body));return e}function ue(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}function ce(e,t,n,i){if("object"==typeof t)for(var o in t)he(e,o,t[o],n);else for(var r=0,s=(t=u(t)).length;r<s;r++)he(e,t[r],n,i);return this}function de(e,t,n,i){if("object"==typeof t)for(var o in t)pe(e,o,t[o],n);else if(t)for(var r=0,s=(t=u(t)).length;r<s;r++)pe(e,t[r],n,i);else{for(var a in e[dn])pe(e,a,e[dn][a]);delete e[dn]}return this}function he(e,t,n,o){var r=t+i(n)+(o?"_"+i(o):"");if(e[dn]&&e[dn][r])return this;var s=function(t){return n.call(o||e,t||window.event)},a=s;Ft&&0===t.indexOf("touch")?z(e,t,s,r):!jt||"dblclick"!==t||!R||Ft&&xt?"addEventListener"in e?"mousewheel"===t?e.addEventListener("onw
9heel"in e?"wheel":"mousewheel",s,!1):"mouseenter"===t||"mouseleave"===t?(s=function(t){t=t||window.event,ke(e,t)&&a(t)},e.addEventListener("mouseenter"===t?"mouseover":"mouseout",s,!1)):("click"===t&&_t&&(s=function(e){!function(e,t){var n=e.timeStamp||e.originalEvent&&e.originalEvent.timeStamp,i=un&&n-un;if(i&&i>100&&i<500||e.target._simulatedClick&&!e._simulated)return void ve(e);un=n,t(e)}(e,a)}),e.addEventListener(t,s,!1)):"attachEvent"in e&&e.attachEvent("on"+t,s):R(e,s,r),e[dn]=e[dn]||{},e[dn][r]=s}function pe(e,t,n,o){var r=t+i(n)+(o?"_"+i(o):""),s=e[dn]&&e[dn][r];if(!s)return this;Ft&&0===t.indexOf("touch")?function(e,t,n){var i=e["_leaflet_"+t+n];"touchstart"===t?e.removeEventListener(Ut,i,!1):"touchmove"===t?e.removeEventListener(Yt,i,!1):"touchend"===t&&(e.removeEventListener(Vt,i,!1),e.removeEventListener(Zt,i,!1))}(e,t,r):!jt||"dblclick"!==t||!q||Ft&&xt?"removeEventListener"in e?"mousewheel"===t?e.removeEventListener("onwheel"in e?"wheel":"mousewheel",s,!1):e.removeEventListener("mouseenter"===t?"mouseover":"mouseleave"===t?"mouseout":t,s,!1):"detachEvent"in e&&e.detachEvent("on"+t,s):q(e,r),e[dn][r]=null}function fe(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,xe(e),this}function me(e){return he(e,"mousewheel",fe),this}function ge(e){return ce(e,"mousedown touchstart dblclick",fe),he(e,"click",we),this}function _e(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function ve(e){return _e(e),fe(e),this}function ye(e,t){if(!t)return new y(e.clientX,e.clientY);var n=ue(t),i=n.boundingClientRect;return new y((e.clientX-i.left)/n.x-t.clientLeft,(e.clientY-i.top)/n.y-t.clientTop)}function be(e){return mt?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/hn:e.deltaY&&1===e.deltaMode?20*-e.deltaY:e.deltaY&&2===e.deltaMode?60*-e.deltaY:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?20*-e.detail:e.detail?e.detail/-32765*60:0}function we(e){pn[e.type]=!0}function xe(e){var t=pn[e.type];return pn[e.type]=!1,t}function ke(e,t){var n=t.relatedTarget;if(!n)return!0;try{for(;n&&n!==e;)n=n.parentNode}catch(e){return!1}return n!==e}function Te(e,t){if(!t||!e.length)return e.slice();var n=t*t;return function(e,t){var n=e.length,i=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);i[0]=i[n-1]=1,function e(t,n,i,o,r){var s,a,l,u=0;for(a=o+1;a<=r-1;a++)(l=De(t[a],t[o],t[r],!0))>u&&(s=a,u=l);u>i&&(n[s]=1,e(t,n,i,o,s),e(t,n,i,s,r))}(e,i,t,0,n-1);var o,r=[];for(o=0;o<n;o++)i[o]&&r.push(e[o]);return r}(e=function(e,t){for(var n=[e[0]],i=1,o=0,r=e.length;i<r;i++)Ae(e[i],e[o])>t&&(n.push(e[i]),o=i);return o<r-1&&n.push(e[r-1]),n}(e,n),n)}function Se(e,t,n){return Math.sqrt(De(e,t,n,!0))}function Ce(e,t,n,i,o){var r,s,a,l=i?Tn:Me(e,n),u=Me(t,n);for(Tn=u;;){if(!(l|u))return[e,t];if(l&u)return!1;a=Me(s=Le(e,t,r=l||u,n,o),n),r===l?(e=s,l=a):(t=s,u=a)}}function Le(e,t,n,i,o){var r,s,a=t.x-e.x,l=t.y-e.y,u=i.min,c=i.max;return 8&n?(r=e.x+a*(c.y-e.y)/l,s=c.y):4&n?(r=e.x+a*(u.y-e.y)/l,s=u.y):2&n?(r=c.x,s=e.y+l*(c.x-e.x)/a):1&n&&(r=u.x,s=e.y+l*(u.x-e.x)/a),new y(r,s,o)}function Me(e,t){var n=0;return e.x<t.min.x?n|=1:e.x>t.max.x&&(n|=2),e.y<t.min.y?n|=4:e.y>t.max.y&&(n|=8),n}function Ae(e,t){var n=t.x-e.x,i=t.y-e.y;return n*n+i*i}function De(e,t,n,i){var o,r=t.x,s=t.y,a=n.x-r,l=n.y-s,u=a*a+l*l;return u>0&&((o=((e.x-r)*a+(e.y-s)*l)/u)>1?(r=n.x,s=n.y):o>0&&(r+=a*o,s+=l*o)),a=e.x-r,l=e.y-s,i?a*a+l*l:new y(r,s)}function Ee(e){return!Ge(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function Pe(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Ee(e)}function ze(e,t,n){var i,o,r,s,a,l,u,c,d,h=[1,4,2,8];for(o=0,u=e.length;o<u;o++)e[o]._code=Me(e[o],t);for(s=0;s<4;
9s++){for(c=h[s],i=[],o=0,r=(u=e.length)-1;o<u;r=o++)a=e[o],l=e[r],a._code&c?l._code&c||((d=Le(l,a,c,t,n))._code=Me(d,t),i.push(d)):(l._code&c&&((d=Le(l,a,c,t,n))._code=Me(d,t),i.push(d)),i.push(a));e=i}return e}function Ie(e,t){var n,i,o,r,s="Feature"===e.type?e.geometry:e,a=s?s.coordinates:null,l=[],u=t&&t.pointToLayer,c=t&&t.coordsToLatLng||Oe;if(!a&&!s)return null;switch(s.type){case"Point":return n=c(a),u?u(e,n):new Wn(n);case"MultiPoint":for(o=0,r=a.length;o<r;o++)n=c(a[o]),l.push(u?u(e,n):new Wn(n));return new qn(l);case"LineString":case"MultiLineString":return i=Fe(a,"LineString"===s.type?0:1,c),new Zn(i,t);case"Polygon":case"MultiPolygon":return i=Fe(a,"Polygon"===s.type?1:2,c),new Gn(i,t);case"GeometryCollection":for(o=0,r=s.geometries.length;o<r;o++){var d=Ie({geometry:s.geometries[o],type:"Feature",properties:e.properties},t);d&&l.push(d)}return new qn(l);default:throw new Error("Invalid GeoJSON object.")}}function Oe(e){return new S(e[1],e[0],e[2])}function Fe(e,t,n){for(var i,o=[],r=0,s=e.length;r<s;r++)i=t?Fe(e[r],t-1,n):(n||Oe)(e[r]),o.push(i);return o}function je(e,t){return t="number"==typeof t?t:6,void 0!==e.alt?[a(e.lng,t),a(e.lat,t),a(e.alt,t)]:[a(e.lng,t),a(e.lat,t)]}function Ne(e,t,n,i){for(var o=[],r=0,s=e.length;r<s;r++)o.push(t?Ne(e[r],t-1,n,i):je(e[r],i));return!t&&n&&o.push(o[0]),o}function Re(e,n){return e.feature?t({},e.feature,{geometry:n}):qe(n)}function qe(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}function $e(e,t){return new Jn(e,t)}function He(e,t){return new si(e,t)}function Be(e){return $t?new ui(e):null}function We(e){return Ht||Bt?new pi(e):null}var Ue=Object.freeze;Object.freeze=function(e){return e};var Ye=Object.create||function(){function e(){}return function(t){return e.prototype=t,new e}}(),Ve=0,Ze=/\{ *([\w_-]+) *\}/g,Ge=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},Je="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",Qe=0,Ke=window.requestAnimationFrame||f("RequestAnimationFrame")||m,Xe=window.cancelAnimationFrame||f("CancelAnimationFrame")||f("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)},et=(Object.freeze||Object)({freeze:Ue,extend:t,create:Ye,bind:n,lastId:Ve,stamp:i,throttle:o,wrapNum:r,falseFn:s,formatNum:a,trim:l,splitWords:u,setOptions:c,getParamString:d,template:h,isArray:Ge,indexOf:p,emptyImageUrl:Je,requestFn:Ke,cancelFn:Xe,requestAnimFrame:g,cancelAnimFrame:_});v.extend=function(e){var n=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=n.__super__=this.prototype,o=Ye(i);for(var r in o.constructor=n,n.prototype=o,this)this.hasOwnProperty(r)&&"prototype"!==r&&"__super__"!==r&&(n[r]=this[r]);return e.statics&&(t(n,e.statics),delete e.statics),e.includes&&(function(e){if("undefined"!=typeof L&&L&&L.Mixin){e=Ge(e)?e:[e];for(var t=0;t<e.length;
vendor: 6,641 bytes, line 9
9t++)e[t]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(e.includes),t.apply(null,[o].concat(e.includes)),delete e.includes),o.options&&(e.options=t(Ye(o.options),e.options)),t(o,e),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=o._initHooks.length;e<t;e++)o._initHooks[e].call(this)}},n},v.include=function(e){return t(this.prototype,e),this},v.mergeOptions=function(e){return t(this.prototype.options,e),this},v.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),n="function"==typeof e?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var tt={on:function(e,t,n){if("object"==typeof e)for(var i in e)this._on(i,e[i],t);else for(var o=0,r=(e=u(e)).length;o<r;o++)this._on(e[o],t,n);return this},off:function(e,t,n){if(e)if("object"==typeof e)for(var i in e)this._off(i,e[i],t);else for(var o=0,r=(e=u(e)).length;o<r;o++)this._off(e[o],t,n);else delete this._events;return this},_on:function(e,t,n){this._events=this._events||{};var i=this._events[e];i||(i=[],this._events[e]=i),n===this&&(n=void 0);for(var o={fn:t,ctx:n},r=i,s=0,a=r.length;s<a;s++)if(r[s].fn===t&&r[s].ctx===n)return;r.push(o)},_off:function(e,t,n){var i,o,r;if(this._events&&(i=this._events[e])){if(!t){for(o=0,r=i.length;o<r;o++)i[o].fn=s;return void delete this._events[e]}if(n===this&&(n=void 0),i)for(o=0,r=i.length;o<r;o++){var a=i[o];if(a.ctx===n&&a.fn===t)return a.fn=s,this._firingCount&&(this._events[e]=i=i.slice()),void i.splice(o,1)}}},fire:function(e,n,i){if(!this.listens(e,i))return this;var o=t({},n,{type:e,target:this,sourceTarget:n&&n.sourceTarget||this});if(this._events){var r=this._events[e];if(r){this._firingCount=this._firingCount+1||1;for(var s=0,a=r.length;s<a;s++){var l=r[s];l.fn.call(l.ctx||this,o)}this._firingCount--}}return i&&this._propagateEvent(o),this},listens:function(e,t){var n=this._events&&this._events[e];if(n&&n.length)return!0;if(t)for(var i in this._eventParents)if(this._eventParents[i].listens(e,t))return!0;return!1},once:function(e,t,i){if("object"==typeof e){for(var o in e)this.once(o,e[o],t);return this}var r=n(function(){this.off(e,t,i).off(e,r,i)},this);return this.on(e,t,i).on(e,r,i)},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[i(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[i(e)],this},_propagateEvent:function(e){for(var n in this._eventParents)this._eventParents[n].fire(e.type,t({layer:e.target,propagatedFrom:e.target},e),!0)}};tt.addEventListener=tt.on,tt.removeEventListener=tt.clearAllEventListeners=tt.off,tt.addOneTimeEventListener=tt.once,tt.fireEvent=tt.fire,tt.hasEventListeners=tt.listens;var nt=v.extend(tt),it=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};y.prototype={clone:function(){return new y(this.x,this.y)},add:function(e){return this.clone()._add(b(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(b(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new y(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new y(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=it(this.x),this.y=it(this.y),this},distanceTo:function(e){var t=(e=b(e)).x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)},equals:function(e){return(e=b(e)).x===this.x&&e.y===this.y},contains:function(e){return e=b(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+a(this.x)+", "+a(this.y)+")"}},w.prototype={extend:function(e){return e=b(e),this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(e.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(e.y,this.max.y)):(this.min=e.clone(),this.max=e.clone()),this},getCenter:function(e){return new y((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return new y(this.min.x,this.max.y)},getTopRight:function(){return new y(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,n;return(e="number"==typeof e[0]||e instanceof y?b(e):x(e))instanceof w?(t=e.min,n=e.max):t=n=e,t.x>=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=x(e);var t=this.min,n=this.max,i=e.min,o=e.max,r=o.x>=t.x&&i.x<=n.x,s=o.y>=t.y&&i.y<=n.y;return r&&s},overlaps:function(e){e=x(e);var t=this.min,n=this.max,i=e.min,o=e.max,r=o.x>t.x&&i.x<n.x,s=o.y>t.y&&i.y<n.y;return r&&s},isValid:function(){return!(!this.min||!this.max)}},k.prototype={extend:function(e){var t,n,i=this._southWest,o=this._northEast;if(e instanceof S)t=e,n=e;else{if(!(e instanceof k))return e?this.extend(C(e)||T(e)):this;if(t=e._southWest,n=e._northEast,!t||!n)return this}return i||o?(i.lat=Math.min(t.lat,i.lat),i.lng=Math.min(t.lng,i.lng),o.lat=Math.max(n.lat,o.lat),o.lng=Math.max(n.lng,o.lng)):(this._southWest=new S(t.lat,t.lng),this._northEast=new S(n.lat,n.lng)),this},pad:function(e){var t=this._southWest,n=this._northEast,i=Math.abs(t.lat-n.lat)*e,o=Math.abs(t.lng-n.lng)*e;return new k(new S(t.lat-i,t.lng-o),new S(n.lat+i,n.lng+o))},getCenter:function(){return new S((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new S(this.getNorth(),this.getWest())},getSouthEast:function(){return new S(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
vendor: 2,436 bytes, line 9
9,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){e="number"==typeof e[0]||e instanceof S||"lat"in e?C(e):T(e);var t,n,i=this._southWest,o=this._northEast;return e instanceof k?(t=e.getSouthWest(),n=e.getNorthEast()):t=n=e,t.lat>=i.lat&&n.lat<=o.lat&&t.lng>=i.lng&&n.lng<=o.lng},intersects:function(e){e=T(e);var t=this._southWest,n=this._northEast,i=e.getSouthWest(),o=e.getNorthEast(),r=o.lat>=t.lat&&i.lat<=n.lat,s=o.lng>=t.lng&&i.lng<=n.lng;return r&&s},overlaps:function(e){e=T(e);var t=this._southWest,n=this._northEast,i=e.getSouthWest(),o=e.getNorthEast(),r=o.lat>t.lat&&i.lat<n.lat,s=o.lng>t.lng&&i.lng<n.lng;return r&&s},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,t){return!!e&&(e=T(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t))},isValid:function(){return!(!this._southWest||!this._northEast)}},S.prototype={equals:function(e,t){return!!e&&(e=C(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(void 0===t?1e-9:t))},toString:function(e){return"LatLng("+a(this.lat,e)+", "+a(this.lng,e)+")"},distanceTo:function(e){return rt.distance(this,C(e))},wrap:function(){return rt.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,n=t/Math.cos(Math.PI/180*this.lat);return T([this.lat-t,this.lng-n],[this.lat+t,this.lng+n])},clone:function(){return new S(this.lat,this.lng,this.alt)}};var ot={latLngToPoint:function(e,t){var n=this.projection.project(e),i=this.scale(t);return this.transformation._transform(n,i)},pointToLatLng:function(e,t){var n=this.scale(t),i=this.transformation.untransform(e,n);return this.projection.unproject(i)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,n=this.scale(e);return new w(this.transformation.transform(t.min,n),this.transformation.transform(t.max,n))},infinite:!1,wrapLatLng:function(e){var t=this.wrapLng?r(e.lng,this.wrapLng,!0):e.lng;return new S(this.wrapLat?r(e.lat,this.wrapLat,!0):e.lat,t,e.alt)},wrapLatLngBounds:function(e){var t=e.getCenter(),n=this.wrapLatLng(t),i=t.lat-n.lat,o=t.lng-n.lng;if(0===i&&0===o)return e;
vendor: 52,407 bytes, lines 9-11
9var r=e.getSouthWest(),s=e.getNorthEast();return new k(new S(r.lat-i,r.lng-o),new S(s.lat-i,s.lng-o))}},rt=t({},ot,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var n=Math.PI/180,i=e.lat*n,o=t.lat*n,r=Math.sin((t.lat-e.lat)*n/2),s=Math.sin((t.lng-e.lng)*n/2),a=r*r+Math.cos(i)*Math.cos(o)*s*s,l=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*l}}),st={R:6378137,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,n=this.MAX_LATITUDE,i=Math.max(Math.min(n,e.lat),-n),o=Math.sin(i*t);return new y(this.R*e.lng*t,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(e){var t=180/Math.PI;return new S((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:function(){var e=6378137*Math.PI;return new w([-e,-e],[e,e])}()};M.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return t=t||1,e.x=t*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t=t||1,new y((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};var at,lt,ut,ct=t({},rt,{code:"EPSG:3857",projection:st,transformation:function(){var e=.5/(Math.PI*st.R);return A(e,.5,-e,.5)}()}),dt=t({},ct,{code:"EPSG:900913"}),ht=document.documentElement.style,pt="ActiveXObject"in window,ft=pt&&!document.addEventListener,mt="msLaunchUri"in navigator&&!("documentMode"in document),gt=P("webkit"),_t=P("android"),vt=P("android 2")||P("android 3"),yt=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),bt=_t&&P("Google")&&yt<537&&!("AudioNode"in window),wt=!!window.opera,xt=P("chrome"),kt=P("gecko")&&!gt&&!wt&&!pt,Tt=!xt&&P("safari"),St=P("phantom"),Ct="OTransition"in ht,Lt=0===navigator.platform.indexOf("Win"),Mt=pt&&"transition"in ht,At="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!vt,Dt="MozPerspective"in ht,Et=!window.L_DISABLE_3D&&(Mt||At||Dt)&&!Ct&&!St,Pt="undefined"!=typeof orientation||P("mobile"),zt=Pt&>,It=Pt&&At,Ot=!window.PointerEvent&&window.MSPointerEvent,Ft=!(!window.PointerEvent&&!Ot),jt=!window.L_NO_TOUCH&&(Ft||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),Nt=Pt&&wt,Rt=Pt&&kt,qt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,$t=!!document.createElement("canvas").getContext,Ht=!(!document.createElementNS||!D("svg").createSVGRect),Bt=!Ht&&function(){try{ 10var e=document.createElement("div");e.innerHTML='<v:shape adj="1"/>';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}(),Wt=(Object.freeze||Object)({ie:pt,ielt9:ft,edge:mt,webkit:gt,android:_t,android23:vt,androidStock:bt,opera:wt,chrome:xt,gecko:kt,safari:Tt,phantom:St,opera12:Ct,win:Lt,ie3d:Mt,webkit3d:At,gecko3d:Dt,any3d:Et,mobile:Pt,mobileWebkit:zt,mobileWebkit3d:It,msPointer:Ot,pointer:Ft,touch:jt,mobileOpera:Nt,mobileGecko:Rt,retina:qt,canvas:$t,svg:Ht,vml:Bt}),Ut=Ot?"MSPointerDown":"pointerdown",Yt=Ot?"MSPointerMove":"pointermove",Vt=Ot?"MSPointerUp":"pointerup",Zt=Ot?"MSPointerCancel":"pointercancel",Gt=["INPUT","SELECT","OPTION"],Jt={},Qt=!1,Kt=0,Xt=Ot?"MSPointerDown":Ft?"pointerdown":"touchstart",en=Ot?"MSPointerUp":Ft?"pointerup":"touchend",tn="_leaflet_",nn=ee(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),on=ee(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),rn="webkitTransition"===on||"OTransition"===on?on+"End":"transitionend";if("onselectstart"in document)at=function(){ce(window,"selectstart",_e)},lt=function(){de(window,"selectstart",_e)};else{var sn=ee(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);at=function(){if(sn){var e=document.documentElement.style;ut=e[sn],e[sn]="none"}},lt=function(){sn&&(document.documentElement.style[sn]=ut,ut=void 0)}}var an,ln,un,cn=(Object.freeze||Object)({TRANSFORM:nn,TRANSITION:on,TRANSITION_END:rn,get:$,getStyle:H,create:B,remove:W,empty:U,toFront:Y,toBack:V,hasClass:Z,addClass:G,removeClass:J,setClass:Q,getClass:K,setOpacity:X,testProp:ee,setTransform:te,setPosition:ne,getPosition:ie,disableTextSelection:at,enableTextSelection:lt,disableImageDrag:oe,enableImageDrag:re,preventOutline:se,restoreOutline:ae,getSizedParentNode:le,getScale:ue}),dn="_leaflet_events",hn=Lt&&xt?2*window.devicePixelRatio:kt?window.devicePixelRatio:1,pn={},fn=(Object.freeze||Object)({on:ce,off:de,stopPropagation:fe,disableScrollPropagation:me,disableClickPropagation:ge,preventDefault:_e,stop:ve,getMousePosition:ye,getWheelDelta:be,fakeStop:we,skipped:xe,isExternalTarget:ke,addListener:ce,removeListener:de}),mn=nt.extend({run:function(e,t,n,i){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=ie(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=g(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=1e3*this._duration;t<n?this._runFrame(this._easeOut(t/n),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var n=this._startPos.add(this._offset.multiplyBy(e));t&&n._round(),ne(this._el,n),this.fire("step")},_complete:function(){_(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),gn=nt.extend({options:{crs:ct,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=c(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=n(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),void 0!==t.zoom&&(this._zoom=this._limitZoom(t.zoom)),t.center&&void 0!==t.zoom&&this.setView(C(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=on&&Et&&!Nt&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),ce(this._proxy,rn,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(e,n,i){return n=void 0===n?this._zoom:this._limitZoom(n),e=this._limitCenter(C(e),n,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=t({animate:i.animate},i.zoom),i.pan=t({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==n?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,n,i.zoom):this._tryAnimatedPan(e,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(e,n),this)},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e=e||(Et?this.options.zoomDelta:1),this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e=e||(Et?this.options.zoomDelta:1),this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,n){var i=this.getZoomScale(t),o=this.getSize().divideBy(2),r=(e instanceof y?e:this.latLngToContainerPoint(e)).subtract(o).multiplyBy(1-1/i),s=this.containerPointToLatLng(o.add(r));return this.setView(s,t,{zoom:n})},_getBoundsCenterZoom:function(e,t){t=t||{},e=e.getBounds?e.getBounds():T(e);var n=b(t.paddingTopLeft||t.padding||[0,0]),i=b(t.paddingBottomRight||t.padding||[0,0]),o=this.getBoundsZoom(e,!1,n.add(i));if((o="number"==typeof t.maxZoom?Math.min(t.maxZoom,o):o)===1/0)return{center:e.getCenter(),zoom:o};var r=i.subtract(n).divideBy(2),s=this.project(e.getSouthWest(),o),a=this.project(e.getNorthEast(),o);return{center:this.unproject(s.add(a).divideBy(2).add(r),o),zoom:o}},fitBounds:function(e,t){if(!(e=T(e)).isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(e,t);return this.setView(n.center,n.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(t=t||{},!(e=b(e).round()).x&&!e.y)return this.fire("moveend");if(!0!==t.animate&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new mn,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire("movestart"),!1!==t.animate){G(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,n,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire("move").fire("moveend");return this},flyTo:function(e,t,n){function i(e){var t=(h*h-d*d+(e?-1:1)*m*m*p*p)/(2*(e?h:d)*m*p),n=Math.sqrt(t*t+1)-t;return n<1e-9?-18:Math.log(n)}function o(e){return(Math.exp(e)-Math.exp(-e))/2}function r(e){return(Math.exp(e)+Math.exp(-e))/2}function s(e){return d*(r(_)*function(e){return o(e)/r(e)}(_+f*e)-o(_))/m}if(!1===(n=n||{}).animate||!Et)return this.setView(e,t,n);this._stop();var a=this.project(this.getCenter()),l=this.project(e),u=this.getSize(),c=this._zoom;e=C(e),t=void 0===t?c:t;var d=Math.max(u.x,u.y),h=d*this.getZoomScale(c,t),p=l.distanceTo(a)||1,f=1.42,m=f*f,_=i(0),v=Date.now(),y=(i(1)-_)/f,b=n.duration?1e3*n.duration:1e3*y*.8;return this._moveStart(!0,n.noMoveStart),function n(){var i=(Date.now()-v)/b,o=function(e){return 1-Math.pow(1-e,1.5)}(i)*y;i<=1?(this._flyToFrame=g(n,this),this._move(this.unproject(a.add(l.subtract(a).multiplyBy(s(o)/p)),c),this.getScaleZoom(d/function(e){return d*(r(_)/r(_+f*e))}(o),c),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}.call(this),this},flyToBounds:function(e,t){var n=this._getBoundsCenterZoom(e,t);return this.flyTo(n.center,n.zoom,t)},setMaxBounds:function(e){return(e=T(e)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,T(e));return n.equals(i)||this.panTo(i,t),this._enforcingBounds=!1,this},panInside:function(e,t){var n=b((t=t||{}).paddingTopLeft||t.padding||[0,0]),i=b(t.paddingBottomRight||t.padding||[0,0]),o=this.getCenter(),r=this.project(o),s=this.project(e),a=this.getPixelBounds(),l=a.getSize().divideBy(2),u=x([a.min.add(n),a.max.subtract(i)]);if(!u.contains(s)){this._enforcingBounds=!0;var c=r.subtract(s),d=b(s.x+c.x,s.y+c.y);(s.x<u.min.x||s.x>u.max.x)&&(d.x=r.x-c.x,c.x>0?d.x+=l.x-n.x:d.x-=l.x-i.x),(s.y<u.min.y||s.y>u.max.y)&&(d.y=r.y-c.y,c.y>0?d.y+=l.y-n.y:d.y-=l.y-i.y),this.panTo(this.unproject(d),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=t({animate:!1,pan:!0},!0===e?{animate:!0}:e);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),r=i.divideBy(2).round(),s=o.divideBy(2).round(),a=r.subtract(s);return a.x||a.y?(e.animate&&e.pan?this.panBy(a):(e.pan&&this._rawPanBy(a),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(n(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=t({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=n(this._handleGeolocationResponse,this),o=n(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,o,e):navigator.geolocation.getCurrentPosition(i,o,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){var t=e.code,n=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(e){var t=new S(e.coords.latitude,e.coords.longitude),n=t.toBounds(2*e.coords.accuracy),i=this._locateOptions;if(i.setView){var o=this.getBoundsZoom(n);this.setView(t,i.maxZoom?Math.min(o,i.maxZoom):o)}var r={latlng:t,bounds:n,timestamp:e.timestamp};for(var s in e.coords)"number"==typeof e.coords[s]&&(r[s]=e.coords[s]);this.fire("locationfound",r)},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var e;for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),W(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(_(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)W(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=B("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new k(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=T(e),n=b(n||[0,0]);var i=this.getZoom()||0,o=this.getMinZoom(),r=this.getMaxZoom(),s=e.getNorthWest(),a=e.getSouthEast(),l=this.getSize().subtract(n),u=x(this.project(a,i),this.project(s,i)).getSize(),c=Et?this.options.zoomSnap:1,d=l.x/u.x,h=l.y/u.y,p=t?Math.max(d,h):Math.min(d,h);return i=this.getScaleZoom(p,i),c&&(i=Math.round(i/(c/100))*(c/100),i=t?Math.ceil(i/c)*c:Math.floor(i/c)*c),Math.max(o,Math.min(r,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new y(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new w(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=void 0===t?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=void 0===t?this._zoom:t;var i=n.zoom(e*n.scale(t));return isNaN(i)?1/0:i},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(C(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(b(e),t)},layerPointToLatLng:function(e){var t=b(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(C(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(C(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(T(e))},distance:function(e,t){return this.options.crs.distance(C(e),C(t))},containerPointToLayerPoint:function(e){return b(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return b(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(b(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(C(e)))},mouseEventToContainerPoint:function(e){return ye(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=$(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");ce(t,"scroll",this._onScroll,this),this._containerId=i(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&Et,G(e,"leaflet-container"+(jt?" leaflet-touch":"")+(qt?" leaflet-retina":"")+(ft?" leaflet-oldie":"")+(Tt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=H(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ne(this._mapPane,new y(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(G(e.markerPane,"leaflet-zoom-hide"),G(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t){ne(this._mapPane,new y(0,0));var n=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var i=this._zoom!==t;this._moveStart(i,!1)._move(e,t)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,n){void 0===t&&(t=this._zoom);var i=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return _(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){ne(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[i(this._container)]=this;var t=e?de:ce;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),Et&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){_(this._resizeRequest),this._resizeRequest=g(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n,o=[],r="mouseout"===t||"mouseover"===t,s=e.target||e.srcElement,a=!1;s;){if((n=this._targets[i(s)])&&("click"===t||"preclick"===t)&&!e._simulated&&this._draggableMoved(n)){a=!0;break}if(n&&n.listens(t,!0)){if(r&&!ke(s,e))break;if(o.push(n),r)break}if(s===this._container)break;s=s.parentNode}return o.length||a||r||!ke(s,e)||(o=[this]),o},_handleDOMEvent:function(e){if(this._loaded&&!xe(e)){var t=e.type;"mousedown"!==t&&"keypress"!==t||se(e.target||e.srcElement),this._fireDOMEvent(e,t)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,n,i){if("click"===e.type){var o=t({},e);o.type="preclick",this._fireDOMEvent(o,o.type,i)}if(!e._stopped&&(i=(i||[]).concat(this._findEventTargets(e,n))).length){var r=i[0];"contextmenu"===n&&r.listens(n,!0)&&_e(e);var s={originalEvent:e};if("keypress"!==e.type){var a=r.getLatLng&&(!r._radius||r._radius<=10);s.containerPoint=a?this.latLngToContainerPoint(r.getLatLng()):this.mouseEventToContainerPoint(e),s.layerPoint=this.containerPointToLayerPoint(s.containerPoint),s.latlng=a?r.getLatLng():this.layerPointToLatLng(s.layerPoint)}for(var l=0;l<i.length;l++)if(i[l].fire(n,s,!0),s.originalEvent._stopped||!1===i[l].options.bubblingMouseEvents&&-1!==p(this._mouseEvents,n))return}},_draggableMoved:function(e){return(e=e.dragging&&e.dragging.enabled()?e:this).dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on("load",e,t),this},_getMapPanePos:function(){return ie(this._mapPane)||new y(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&void 0!==t?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var n=this.getSize()._divideBy(2);return this.project(e,t)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,n){var i=this._getNewPixelOrigin(n,t);return this.project(e,t)._subtract(i)},_latLngBoundsToNewLayerBounds:function(e,t,n){var i=this._getNewPixelOrigin(n,t);return x([this.project(e.getSouthWest(),t)._subtract(i),this.project(e.getNorthWest(),t)._subtract(i),this.project(e.getSouthEast(),t)._subtract(i),this.project(e.getNorthEast(),t)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,n){if(!n)return e;var i=this.project(e,t),o=this.getSize().divideBy(2),r=new w(i.subtract(o),i.add(o)),s=this._getBoundsOffset(r,n,t);return s.round().equals([0,0])?e:this.unproject(i.add(s),t)},_limitOffset:function(e,t){if(!t)return e;var n=this.getPixelBounds(),i=new w(n.min.add(e),n.max.add(e));return e.add(this._getBoundsOffset(i,t))},_getBoundsOffset:function(e,t,n){var i=x(this.project(t.getNorthEast(),n),this.project(t.getSouthWest(),n)),o=i.min.subtract(e.min),r=i.max.subtract(e.max);return new y(this._rebound(o.x,-r.x),this._rebound(o.y,-r.y))},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),i=Et?this.options.zoomSnap:1;return i&&(e=Math.round(e/i)*i),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){J(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return!(!0!==(t&&t.animate)&&!this.getSize().contains(n)||(this.panBy(n,t),0))},_createAnimProxy:function(){var e=this._proxy=B("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(e){var t=nn,n=this._proxy.style[t];te(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var e=this.getCenter(),t=this.getZoom();te(this._proxy,this.project(e,t),this.getZoomScale(t,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){W(this._proxy),delete this._proxy},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(t),o=this._getCenterOffset(e)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(o)||(g(function(){this._moveStart(!0,!1)._animateZoom(e,t,!0)},this),0))},_animateZoom:function(e,t,i,o){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,G(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:o}),setTimeout(n(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&J(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),g(function(){this._moveEnd(!0)},this))}}),_n=v.extend({options:{position:"topright"},initialize:function(e){c(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),i=e._controlCorners[n];return G(t,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(t,i.firstChild):i.appendChild(t),this},remove:function(){return this._map?(W(this._container),this.onRemove&&this.onRemove(this._map),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),vn=function(e){return new _n(e)};gn.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){function e(e,o){var r=n+e+" "+n+o;t[e+o]=B("div",r,i)}var t=this._controlCorners={},n="leaflet-",i=this._controlContainer=B("div",n+"control-container",this._container);e("top","left"),e("top","right"),e("bottom","left"),e("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)W(this._controlCorners[e]);W(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var yn=_n.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,i){return n<i?-1:i<n?1:0}},initialize:function(e,t,n){for(var i in c(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,e)this._addLayer(e[i],i);for(i in t)this._addLayer(t[i],i,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return _n.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off("add remove",this._onLayerChange,this);var t=this._getLayer(i(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){G(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(G(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):J(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return J(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",t=this._container=B("div",e),n=this.options.collapsed;t.setAttribute("aria-haspopup",!0),ge(t),me(t);var i=this._section=B("section",e+"-list");n&&(this._map.on("click",this.collapse,this),_t||ce(t,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=B("a",e+"-toggle",t);o.href="#",o.title="Layers",jt?(ce(o,"click",ve),ce(o,"click",this.expand,this)):ce(o,"focus",this.expand,this),n||this.expand(),this._baseLayersList=B("div",e+"-base",i),this._separator=B("div",e+"-separator",i),this._overlaysList=B("div",e+"-overlays",i),t.appendChild(i)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&i(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,i){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:i}),this.options.sortLayers&&this._layers.sort(n(function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;U(this._baseLayersList),U(this._overlaysList),this._layerControlInputs=[];var e,t,n,i,o=0;for(n=0;n<this._layers.length;n++)i=this._layers[n],this._addItem(i),t=t||i.overlay,e=e||!i.overlay,o+=i.overlay?0:1;return this.options.hideSingleBase&&(e=e&&o>1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(i(e.target)),n=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(t?' checked="checked"':"")+"/>",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(e){var t,n=document.createElement("label"),o=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=o):t=this._createRadioElement("leaflet-base-layers",o),this._layerControlInputs.push(t),t.layerId=i(e.layer),ce(t,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+e.name;var s=document.createElement("div");return n.appendChild(s),s.appendChild(t),s.appendChild(r),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var e,t,n=this._layerControlInputs,i=[],o=[];this._handlingClick=!0;for(var r=n.length-1;r>=0;r--)e=n[r],t=this._getLayer(e.layerId).layer,e.checked?i.push(t):e.checked||o.push(t);for(r=0;r<o.length;r++)this._map.hasLayer(o[r])&&this._map.removeLayer(o[r]);for(r=0;r<i.length;r++)this._map.hasLayer(i[r])||this._map.addLayer(i[r]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var e,t,n=this._layerControlInputs,i=this._map.getZoom(),o=n.length-1;o>=0;o--)e=n[o],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&i<t.options.minZoom||void 0!==t.options.maxZoom&&i>t.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),bn=_n.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",n=B("div",t+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,t+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,t+"-out",n,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,i,o){var r=B("a",n,i);return r.innerHTML=e,r.href="#",r.title=t,r.setAttribute("role","button"),r.setAttribute("aria-label",t),ge(r),ce(r,"click",ve),ce(r,"click",o,this),ce(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";J(this._zoomInButton,t),J(this._zoomOutButton,t),(this._disabled||e._zoom===e.getMinZoom())&&G(this._zoomOutButton,t),(this._disabled||e._zoom===e.getMaxZoom())&&G(this._zoomInButton,t)}});gn.mergeOptions({zoomControl:!0}),gn.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new bn,this.addControl(this.zoomControl))});var wn=_n.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t=B("div","leaflet-control-scale"),n=this.options;return this._addScales(n,"leaflet-control-scale-line",t),e.on(n.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),t},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=B("div",t,n)),e.imperial&&(this._iScale=B("div",t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t,n,i,o=3.2808399*e;o>5280?(t=o/5280,n=this._getRoundNum(t),this._updateScale(this._iScale,n+" mi",n/t)):(i=this._getRoundNum(o),this._updateScale(this._iScale,i+" ft",i/o))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),n=e/t;return t*(n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)} 11}),xn=_n.extend({options:{position:"bottomright",prefix:'<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(e){c(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=B("div","leaflet-control-attribution"),ge(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),this._container},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(" | ")}}});gn.mergeOptions({attributionControl:!0}),gn.addInitHook(function(){this.options.attributionControl&&(new xn).addTo(this)}),_n.Layers=yn,_n.Zoom=bn,_n.Scale=wn,_n.Attribution=xn,vn.layers=function(e,t,n){return new yn(e,t,n)},vn.zoom=function(e){return new bn(e)},vn.scale=function(e){return new wn(e)},vn.attribution=function(e){return new xn(e)};var kn=v.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});kn.addTo=function(e,t){return e.addHandler(t,this),this};var Tn,Sn={Events:tt},Cn=jt?"touchstart mousedown":"mousedown",Ln={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},Mn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},An=nt.extend({options:{clickTolerance:3},initialize:function(e,t,n,i){c(this,i),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n},enable:function(){this._enabled||(ce(this._dragStartTarget,Cn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(An._dragging===this&&this.finishDrag(),de(this._dragStartTarget,Cn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(!e._simulated&&this._enabled&&(this._moved=!1,!Z(this._element,"leaflet-zoom-anim")&&!(An._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||(An._dragging=this,this._preventOutline&&se(this._element),oe(),at(),this._moving)))){this.fire("down");var t=e.touches?e.touches[0]:e,n=le(this._element);this._startPoint=new y(t.clientX,t.clientY),this._parentScale=ue(n),ce(document,Mn[e.type],this._onMove,this),ce(document,Ln[e.type],this._onUp,this)}},_onMove:function(e){if(!e._simulated&&this._enabled){if(e.touches&&e.touches.length>1)return void(this._moved=!0);var t=e.touches&&1===e.touches.length?e.touches[0]:e,n=new y(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,_e(e),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=ie(this._element).subtract(n),G(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),G(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,_(this._animRequest),this._lastEvent=e,this._animRequest=g(this._updatePosition,this,!0)))}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),ne(this._element,this._newPos),this.fire("drag",e)},_onUp:function(e){!e._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var e in J(document.body,"leaflet-dragging"),this._lastTarget&&(J(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Mn)de(document,Mn[e],this._onMove,this),de(document,Ln[e],this._onUp,this);re(),lt(),this._moved&&this._moving&&(_(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,An._dragging=!1}}),Dn=(Object.freeze||Object)({simplify:Te,pointToSegmentDistance:Se,closestPointOnSegment:function(e,t,n){return De(e,t,n)},clipSegment:Ce,_getEdgeIntersection:Le,_getBitCode:Me,_sqClosestPointOnSegment:De,isFlat:Ee,_flat:Pe}),En=(Object.freeze||Object)({clipPolygon:ze}),Pn={project:function(e){return new y(e.lng,e.lat)},unproject:function(e){return new S(e.y,e.x)},bounds:new w([-180,-90],[180,90])},zn={R:6378137,R_MINOR:6356752.314245179,bounds:new w([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,n=this.R,i=e.lat*t,o=this.R_MINOR/n,r=Math.sqrt(1-o*o),s=r*Math.sin(i),a=Math.tan(Math.PI/4-i/2)/Math.pow((1-s)/(1+s),r/2);return i=-n*Math.log(Math.max(a,1e-10)),new y(e.lng*t*n,i)},unproject:function(e){for(var t,n=180/Math.PI,i=this.R,o=this.R_MINOR/i,r=Math.sqrt(1-o*o),s=Math.exp(-e.y/i),a=Math.PI/2-2*Math.atan(s),l=0,u=.1;l<15&&Math.abs(u)>1e-7;l++)t=r*Math.sin(a),t=Math.pow((1-t)/(1+t),r/2),a+=u=Math.PI/2-2*Math.atan(s*t)-a;return new S(a*n,e.x*n/i)}},In=(Object.freeze||Object)({LonLat:Pn,Mercator:zn,SphericalMercator:st}),On=t({},rt,{code:"EPSG:3395",projection:zn,transformation:function(){var e=.5/(Math.PI*zn.R);return A(e,.5,-e,.5)}()}),Fn=t({},rt,{code:"EPSG:4326",projection:Pn,transformation:A(1/180,1,-1/180,.5)}),jn=t({},ot,{projection:Pn,transformation:A(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,i=t.lat-e.lat;return Math.sqrt(n*n+i*i)},infinite:!0});ot.Earth=rt,ot.EPSG3395=On,ot.EPSG3857=ct,ot.EPSG900913=dt,ot.EPSG4326=Fn,ot.Simple=jn;var Nn=nt.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[i(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[i(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once("remove",function(){t.off(n,this)},this)}this.onAdd(t),this.getAttribution&&t.attributionControl&&t.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),t.fire("layeradd",{layer:this})}}});gn.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=i(e);return this._layers[t]?this:(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var t=i(e);return this._layers[t]?(this._loaded&&e.onRemove(this),e.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(e.getAttribution()),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return!!e&&i(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){for(var t=0,n=(e=e?Ge(e)?e:[e]:[]).length;t<n;t++)this.addLayer(e[t])},_addZoomLimit:function(e){!isNaN(e.options.maxZoom)&&isNaN(e.options.minZoom)||(this._zoomBoundLayers[i(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=i(e);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,n=this._getZoomSpan();for(var i in this._zoomBoundLayers){var o=this._zoomBoundLayers[i].options;e=void 0===o.minZoom?e:Math.min(e,o.minZoom),t=void 0===o.maxZoom?t:Math.max(t,o.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Rn=Nn.extend({initialize:function(e,t){var n,i;if(c(this,t),this._layers={},e)for(n=0,i=e.length;n<i;n++)this.addLayer(e[n])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){return!!e&&(e in this._layers||this.getLayerId(e)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t,n,i=Array.prototype.slice.call(arguments,1);for(t in this._layers)(n=this._layers[t])[e]&&n[e].apply(n,i);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:function(e){return i(e)}}),qn=Rn.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),Rn.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),Rn.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e=new k;for(var t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),$n=v.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(e){c(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var n=this._getIconUrl(e);if(!n){if("icon"===e)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i=this._createImg(n,t&&"IMG"===t.tagName?t:null);return this._setIconStyles(i,e),i},_setIconStyles:function(e,t){var n=this.options,i=n[t+"Size"];"number"==typeof i&&(i=[i,i]);var o=b(i),r=b("shadow"===t&&n.shadowAnchor||n.iconAnchor||o&&o.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(n.className||""),r&&(e.style.marginLeft=-r.x+"px",e.style.marginTop=-r.y+"px"),o&&(e.style.width=o.x+"px",e.style.height=o.y+"px")},_createImg:function(e,t){return(t=t||document.createElement("img")).src=e,t},_getIconUrl:function(e){return qt&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}}),Hn=$n.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return Hn.imagePath||(Hn.imagePath=this._detectIconPath()),(this.options.imagePath||Hn.imagePath)+$n.prototype._getIconUrl.call(this,e)},_detectIconPath:function(){var e=B("div","leaflet-default-icon-path",document.body),t=H(e,"background-image")||H(e,"backgroundImage");return document.body.removeChild(e),null===t||0!==t.indexOf("url")?"":t.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Bn=kn.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new An(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),G(e,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&J(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,n=t._map,i=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,r=ie(t._icon),s=n.getPixelBounds(),a=n.getPixelOrigin(),l=x(s.min._subtract(a).add(o),s.max._subtract(a).subtract(o));if(!l.contains(r)){var u=b((Math.max(l.max.x,r.x)-l.max.x)/(s.max.x-l.max.x)-(Math.min(l.min.x,r.x)-l.min.x)/(s.min.x-l.min.x),(Math.max(l.max.y,r.y)-l.max.y)/(s.max.y-l.max.y)-(Math.min(l.min.y,r.y)-l.min.y)/(s.min.y-l.min.y)).multiplyBy(i);n.panBy(u,{animate:!1}),this._draggable._newPos._add(u),this._draggable._startPos._add(u),ne(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=g(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(e){this._marker.options.autoPan&&(_(this._panRequest),this._panRequest=g(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,n=t._shadow,i=ie(t._icon),o=t._map.layerPointToLatLng(i);n&&ne(n,i),t._latlng=o,e.latlng=o,e.oldLatLng=this._oldLatLng,t.fire("move",e).fire("drag",e)},_onDragEnd:function(e){_(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),Wn=Nn.extend({options:{icon:new Hn,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){c(this,t),this._latlng=C(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=C(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=e.icon.createIcon(this._icon),i=!1;n!==this._icon&&(this._icon&&this._removeIcon(),i=!0,e.title&&(n.title=e.title),"IMG"===n.tagName&&(n.alt=e.alt||"")),G(n,t),e.keyboard&&(n.tabIndex="0"),this._icon=n,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=e.icon.createShadow(this._shadow),r=!1;o!==this._shadow&&(this._removeShadow(),r=!0),o&&(G(o,t),o.alt=""),this._shadow=o,e.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&r&&this.getPane("shadowPane").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),W(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&W(this._shadow),this._shadow=null},_setPos:function(e){ne(this._icon,e),this._shadow&&ne(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon.style.zIndex=this._zIndex+e},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(G(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Bn)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Bn(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;X(this._icon,e),this._shadow&&X(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Un=Nn.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,f
vendor: 6,023 bytes, line 11
11illRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return c(this,e),this._renderer&&this._renderer._updateStyle(this),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),Yn=Un.extend({options:{fill:!0,radius:10},initialize:function(e,t){c(this,t),this._latlng=C(e),this._radius=this.options.radius},setLatLng:function(e){return this._latlng=C(e),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return Un.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,n=this._clickTolerance(),i=[e+n,t+n];this._pxBounds=new w(this._point.subtract(i),this._point.add(i))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Vn=Yn.extend({initialize:function(e,n,i){if("number"==typeof n&&(n=t({},i,{radius:n})),c(this,n),this._latlng=C(e),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new k(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:Un.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,n=this._map,i=n.options.crs;if(i.distance===rt.distance){var o=Math.PI/180,r=this._mRadius/rt.R/o,s=n.project([t+r,e]),a=n.project([t-r,e]),l=s.add(a).divideBy(2),u=n.unproject(l).lat,c=Math.acos((Math.cos(r*o)-Math.sin(t*o)*Math.sin(u*o))/(Math.cos(t*o)*Math.cos(u*o)))/o;(isNaN(c)||0===c)&&(c=r/Math.cos(Math.PI/180*t)),this._point=l.subtract(n.getPixelOrigin()),this._radius=isNaN(c)?0:l.x-n.project([u,e-c]).x,this._radiusY=l.y-s.y}else{var d=i.unproject(i.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(d).x}this._updateBounds()}}),Zn=Un.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){c(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t,n,i=1/0,o=null,r=De,s=0,a=this._parts.length;s<a;s++)for(var l=this._parts[s],u=1,c=l.length;u<c;u++){var d=r(e,t=l[u-1],n=l[u],!0);d<i&&(i=d,o=r(e,t,n))}return o&&(o.distance=Math.sqrt(i)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var e,t,n,i,o,r,s,a=this._rings[0],l=a.length;if(!l)return null;for(e=0,t=0;e<l-1;e++)t+=a[e].distanceTo(a[e+1])/2;if(0===t)return this._map.layerPointToLatLng(a[0]);for(e=0,i=0;e<l-1;e++)if(o=a[e],r=a[e+1],(i+=n=o.distanceTo(r))>t)return s=(i-t)/n,this._map.layerPointToLatLng([r.x-s*(r.x-o.x),r.y-s*(r.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=C(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new k,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return Ee(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=Ee(e),i=0,o=e.length;i<o;i++)n?(t[i]=C(e[i]),this._bounds.extend(t[i])):t[i]=this._convertLatLngs(e[i]);return t},_project:function(){var e=new w;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e);var t=this._clickTolerance(),n=new y(t,t);this._bounds.isValid()&&e.isValid()&&(e.min._subtract(n),e.max._add(n),this._pxBounds=e)},_projectLatlngs:function(e,t,n){var i,o,r=e[0]instanceof S,s=e.length;if(r){for(o=[],i=0;i<s;i++)o[i]=this._map.latLngToLayerPoint(e[i]),n.extend(o[i]);t.push(o)}else for(i=0;i<s;i++)this._projectLatlngs(e[i],t,n)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip)return void(this._parts=this._rings);var t,n,i,o,r,s,a,l=this._parts;for(t=0,i=0,o=this._rings.length;t<o;t++)for(n=0,r=(a=this._rings[t]).length;n<r-1;n++)(s=Ce(a[n],a[n+1],e,n,!0))&&(l[i]=l[i]||[],l[i].push(s[0]),s[1]===a[n+1]&&n!==r-2||(l[i].push(s[1]),i++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,n=0,i=e.length;n<i;n++)e[n]=Te(e[n],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var n,i,o,r,s,a,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(n=0,r=this._parts.length;n<r;n++)for(i=0,o=(s=(a=this._parts[n]).length)-1;i<s;o=i++)if((t||0!==i)&&Se(e,a[o],a[i])<=l)return!0;return!1}});Zn._flat=Pe;var Gn=Zn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
vendor: 42,570 bytes, lines 11-13
11,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var e,t,n,i,o,r,s,a,l,u=this._rings[0],c=u.length;if(!c)return null;for(r=s=a=0,e=0,t=c-1;e<c;t=e++)n=u[e],i=u[t],o=n.y*i.x-i.y*n.x,s+=(n.x+i.x)*o,a+=(n.y+i.y)*o,r+=3*o;return l=0===r?u[0]:[s/r,a/r],this._map.layerPointToLatLng(l)},_convertLatLngs:function(e){var t=Zn.prototype._convertLatLngs.call(this,e),n=t.length;return n>=2&&t[0]instanceof S&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){Zn.prototype._setLatLngs.call(this,e),Ee(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Ee(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new y(t,t);if(e=new w(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip)return void(this._parts=this._rings);for(var i,o=0,r=this._rings.length;o<r;o++)(i=ze(this._rings[o],e,!0)).length&&this._parts.push(i)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t,n,i,o,r,s,a,l,u=!1;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(o=0,a=this._parts.length;o<a;o++)for(r=0,s=(l=(t=this._parts[o]).length)-1;r<l;s=r++)n=t[r],i=t[s],n.y>e.y!=i.y>e.y&&e.x<(i.x-n.x)*(e.y-n.y)/(i.y-n.y)+n.x&&(u=!u);return u||Zn.prototype._containsPoint.call(this,e,!0)}}),Jn=qn.extend({initialize:function(e,t){c(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,n,i,o=Ge(e)?e:e.features;if(o){for(t=0,n=o.length;t<n;t++)((i=o[t]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var r=this.options;if(r.filter&&!r.filter(e))return this;var s=Ie(e,r);return s?(s.feature=qe(e),s.defaultOptions=s.options,this.resetStyle(s),r.onEachFeature&&r.onEachFeature(e,s),this.addLayer(s)):this},resetStyle:function(e){return e.options=t({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(e,t){"function"==typeof t&&(t=t(e.feature)),e.setStyle&&e.setStyle(t)}}),Qn={toGeoJSON:function(e){return Re(this,{type:"Point",coordinates:je(this.getLatLng(),e)})}};Wn.include(Qn),Vn.include(Qn),Yn.include(Qn),Zn.include({toGeoJSON:function(e){var t=!Ee(this._latlngs);return Re(this,{type:(t?"Multi":"")+"LineString",coordinates:Ne(this._latlngs,t?1:0,!1,e)})}}),Gn.include({toGeoJSON:function(e){var t=!Ee(this._latlngs),n=t&&!Ee(this._latlngs[0]),i=Ne(this._latlngs,n?2:t?1:0,!0,e);return t||(i=[i]),Re(this,{type:(n?"Multi":"")+"Polygon",coordinates:i})}}),Rn.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(n){t.push(n.toGeoJSON(e).geometry.coordinates)}),Re(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var n="GeometryCollection"===t,i=[];return this.eachLayer(function(t){if(t.toGeoJSON){var o=t.toGeoJSON(e);if(n)i.push(o.geometry);else{var r=qe(o);"FeatureCollection"===r.type?i.push.apply(i,r.features):i.push(r)}}}),n?Re(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}});var Kn=$e,Xn=Nn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,n){this._url=e,this._bounds=T(t),c(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(G(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){W(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&Y(this._image),this},bringToBack:function(){return this._map&&V(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=T(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:B("img");G(t,"leaflet-image-layer"),this._zoomAnimated&&G(t,"leaflet-zoom-animated"),this.options.className&&G(t,this.options.className),t.onselectstart=s,t.onmousemove=s,t.onload=n(this.fire,this,"load"),t.onerror=n(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;te(this._image,n,t)},_reset:function(){var e=this._image,t=new w(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();ne(e,t.min),e.style.width=n.x+"px",e.style.height=n.y+"px"},_updateOpacity:function(){X(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)}}),ei=Xn.extend({options:{autoplay:!0,loop:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:B("video");if(G(t,"leaflet-image-layer"),this._zoomAnimated&&G(t,"leaflet-zoom-animated"),t.onselectstart=s,t.onmousemove=s,t.onloadeddata=n(this.fire,this,"load"),e){for(var i=t.getElementsByTagName("source"),o=[],r=0;r<i.length;r++)o.push(i[r].src);this._url=i.length>0?o:[t.src]}else{Ge(this._url)||(this._url=[this._url]),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop;for(var a=0;a<this._url.length;a++){var l=B("source");l.src=this._url[a],t.appendChild(l)}}}}),ti=Nn.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(e,t){c(this,e),this._source=t},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&X(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&X(this._container,1),this.bringToFront()},onRemove:function(e){e._fadeAnimated?(X(this._container,0),this._removeTimeout=setTimeout(n(W,void 0,this._container),200)):W(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=C(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&Y(this._container),this},bringToBack:function(){return this._map&&V(this._container),this},_updateContent:function(){if(this._content){var e=this._contentNode,t="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof t)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=b(this.options.offset),n=this._getAnchor();this._zoomAnimated?ne(this._container,e.add(n)):t=t.add(e).add(n);var i=this._containerBottom=-t.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=i+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),ni=ti.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return e.openPopup(this),this},onAdd:function(e){ti.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Un||this._source.on("preclick",fe))},onRemove:function(e){ti.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Un||this._source.off("preclick",fe))},getEvents:function(){var e=ti.prototype.getEvents.call(this) 12;return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this._close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var e="leaflet-popup",t=this._container=B("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=B("div",e+"-content-wrapper",t);if(this._contentNode=B("div",e+"-content",n),ge(n),me(this._contentNode),ce(n,"contextmenu",fe),this._tipContainer=B("div",e+"-tip-container",t),this._tip=B("div",e+"-tip",this._tipContainer),this.options.closeButton){var i=this._closeButton=B("a",e+"-close-button",t);i.href="#close",i.innerHTML="×",ce(i,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+"px",t.whiteSpace="",t.height="";var i=e.offsetHeight,o=this.options.maxHeight;o&&i>o?(t.height=o+"px",G(e,"leaflet-popup-scrolled")):J(e,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();ne(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var e=this._map,t=parseInt(H(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+t,i=this._containerWidth,o=new y(this._containerLeft,-n-this._containerBottom);o._add(ie(this._container));var r=e.layerPointToContainerPoint(o),s=b(this.options.autoPanPadding),a=b(this.options.autoPanPaddingTopLeft||s),l=b(this.options.autoPanPaddingBottomRight||s),u=e.getSize(),c=0,d=0;r.x+i+l.x>u.x&&(c=r.x+i-u.x+l.x),r.x-c-a.x<0&&(c=r.x-a.x),r.y+n+l.y>u.y&&(d=r.y+n-u.y+l.y),r.y-d-a.y<0&&(d=r.y-a.y),(c||d)&&e.fire("autopanstart").panBy([c,d])}},_onCloseButtonClick:function(e){this._close(),ve(e)},_getAnchor:function(){return b(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});gn.mergeOptions({closePopupOnClick:!0}),gn.include({openPopup:function(e,t,n){return e instanceof ni||(e=new ni(n).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=e,this.addLayer(e))},closePopup:function(e){return e&&e!==this._popup||(e=this._popup,this._popup=null),e&&this.removeLayer(e),this}}),Nn.include({bindPopup:function(e,t){return e instanceof ni?(c(e,t),this._popup=e,e._source=this):(this._popup&&!t||(this._popup=new ni(t,this)),this._popup.setContent(e)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e,t){if(e instanceof Nn||(t=e,e=this),e instanceof qn)for(var n in this._layers){e=this._layers[n];break}return t||(t=e.getCenter?e.getCenter():e.getLatLng()),this._popup&&this._map&&(this._popup._source=e,this._popup.update(),this._map.openPopup(this._popup,t)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(e){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(e)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){var t=e.layer||e.target;if(this._popup&&this._map){if(ve(e),t instanceof Un)return void this.openPopup(e.layer||e.target,e.latlng);this._map.hasLayer(this._popup)&&this._popup._source===t?this.closePopup():this.openPopup(t,e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var ii=ti.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(e){ti.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(e){ti.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var e=ti.prototype.getEvents.call(this);return jt&&!this.options.permanent&&(e.preclick=this._close),e},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=B("div",e)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t=this._map,n=this._container,i=t.latLngToContainerPoint(t.getCenter()),o=t.layerPointToContainerPoint(e),r=this.options.direction,s=n.offsetWidth,a=n.offsetHeight,l=b(this.options.offset),u=this._getAnchor();"top"===r?e=e.add(b(-s/2+l.x,-a+l.y+u.y,!0)):"bottom"===r?e=e.subtract(b(s/2-l.x,-l.y,!0)):"center"===r?e=e.subtract(b(s/2+l.x,a/2-u.y+l.y,!0)):"right"===r||"auto"===r&&o.x<i.x?(r="right",e=e.add(b(l.x+u.x,u.y-a/2+l.y,!0))):(r="left",e=e.subtract(b(s+u.x-l.x,a/2-u.y-l.y,!0))),J(n,"leaflet-tooltip-right"),J(n,"leaflet-tooltip-left"),J(n,"leaflet-tooltip-top"),J(n,"leaflet-tooltip-bottom"),G(n,"leaflet-tooltip-"+r),ne(n,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&X(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return b(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});gn.include({openTooltip:function(e,t,n){return e instanceof ii||(e=new ii(n).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:this.addLayer(e)},closeTooltip:function(e){return e&&this.removeLayer(e),this}}),Nn.include({bindTooltip:function(e,t){return e instanceof ii?(c(e,t),this._tooltip=e,e._source=this):(this._tooltip&&!t||(this._tooltip=new ii(t,this)),this._tooltip.setContent(e)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){if(e||!this._tooltipHandlersAdded){var t=e?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),jt&&(n.click=this._openTooltip)),this[t](n),this._tooltipHandlersAdded=!e}},openTooltip:function(e,t){if(e instanceof Nn||(t=e,e=this),e instanceof qn)for(var n in this._layers){e=this._layers[n];break}return t||(t=e.getCenter?e.getCenter():e.getLatLng()),this._tooltip&&this._map&&(this._tooltip._source=e,this._tooltip.update(),this._map.openTooltip(this._tooltip,t),this._tooltip.options.interactive&&this._tooltip._container&&(G(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(J(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(e){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(e)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_openTooltip:function(e){var t=e.layer||e.target;this._tooltip&&this._map&&this.openTooltip(t,this._tooltip.options.sticky?e.latlng:void 0)},_moveTooltip:function(e){var t,n,i=e.latlng;this._tooltip.options.sticky&&e.originalEvent&&(t=this._map.mouseEventToContainerPoint(e.originalEvent),n=this._map.containerPointToLayerPoint(t),i=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(i)}});var oi=$n.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&"DIV"===e.tagName?e:document.createElement("div"),n=this.options;if(t.innerHTML=!1!==n.html?n.html:"",n.bgPos){var i=b(n.bgPos);t.style.backgroundPosition=-i.x+"px "+-i.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}});$n.Default=Hn;var ri=Nn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Pt,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){c(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),W(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(Y(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(V(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof y?e:new y(e,e)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t,n=this.getPane().children,i=-e(-1/0,1/0),o=0,r=n.length;o<r;o++)t=n[o].style.zIndex,n[o]!==this._container&&t&&(i=e(i,+t));isFinite(i)&&(this.options.zIndex=i+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!ft){X(this._container,this.options.opacity);var e=+new Date,t=!1,n=!1;for(var i in this._tiles){var o=this._tiles[i];if(o.current&&o.loaded){var r=Math.min(1,(e-o.loaded)/200);X(o.el,r),r<1?t=!0:(o.active?n=!0:this._onOpaqueTile(o),o.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),t&&(_(this._fadeFrame),this._fadeFrame=g(this._updateOpacity,this))}},_onOpaqueTile:s,_initContainer:function(){this._container||(this._container=B("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(void 0!==e){for(var n in this._levels)this._levels[n].el.children.length||n===e?(this._levels[n].el.style.zIndex=t-Math.abs(e-n),this._onUpdateLevel(n)):(W(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var i=this._levels[e],o=this._map;return i||((i=this._levels[e]={}).el=B("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=t,i.origin=o.project(o.unproject(o.getPixelOrigin()),e).round(),i.zoom=e,this._setZoomTransform(i,o.getCenter(),o.getZoom()),i.el.offsetWidth,this._onCreateLevel(i)),this._level=i,i}},_onUpdateLevel:s,_onRemoveLevel:s,_onCreateLevel:s,_pruneTiles:function(){if(this._map){var e,t,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)return void this._removeAllTiles();for(e in this._tiles)(t=this._tiles[e]).retain=t.current;for(e in this._tiles)if((t=this._tiles[e]).current&&!t.active){var i=t.coords;this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)W(this._levels[e].el),this._onRemoveLevel(e),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,n,i){var o=Math.floor(e/2),r=Math.floor(t/2),s=n-1,a=new y(+o,+r);a.z=+s;var l=this._tileCoordsToKey(a),u=this._tiles[l];return u&&u.active?(u.retain=!0,!0):(u&&u.loaded&&(u.retain=!0),s>i&&this._retainParent(o,r,s,i))},_retainChildren:function(e,t,n,i){for(var o=2*e;o<2*e+2;o++)for(var r=2*t;r<2*t+2;r++){var s=new y(o,r);s.z=n+1;var a=this._tileCoordsToKey(s),l=this._tiles[a];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1<i&&this._retainChildren(o,r,n+1,i))}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return void 0!==t.minNativeZoom&&e<t.minNativeZoom?t.minNativeZoom:void 0!==t.maxNativeZoom&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,n,i){var o=this._clampZoom(Math.round(t));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0);var r=this.options.updateWhenZooming&&o!==this._tileZoom;i&&!r||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(e),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var n in this._levels)this._setZoomTransform(this._levels[n],e,t)},_setZoomTransform:function(e,t,n){var i=this._map.getZoomScale(n,e.zoom),o=e.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(t,n)).round();Et?te(e.el,o,i):ne(e.el,o)},_resetGrid:function(){var e=this._map,t=e.options.crs,n=this._tileSize=this.getTileSize(),i=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],i).x/n.x),Math.ceil(e.project([0,t.wrapLng[1]],i).x/n.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],i).y/n.x),Math.ceil(e.project([t.wrapLat[1],0],i).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=this._map,n=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),i=t.getZoomScale(n,this._tileZoom),o=t.project(e,this._tileZoom).floor(),r=t.getSize().divideBy(2*i);return new w(o.subtract(r),o.add(r))},_update:function(e){var t=this._map;if(t){var n=this._clampZoom(t.getZoom());if(void 0===e&&(e=t.getCenter()),void 0!==this._tileZoom){var i=this._getTiledPixelBounds(e),o=this._pxBoundsToTileRange(i),r=o.getCenter(),s=[],a=this.options.keepBuffer,l=new w(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var u in this._tiles){var c=this._tiles[u].coords;c.z===this._tileZoom&&l.contains(new y(c.x,c.y))||(this._tiles[u].current=!1)}if(Math.abs(n-this._tileZoom)>1)return void this._setView(e,n);for(var d=o.min.y;d<=o.max.y;d++)for(var h=o.min.x;h<=o.max.x;h++){var p=new y(h,d);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:s.push(p)}}if(s.sort(function(e,t){return e.distanceTo(r)-t.distanceTo(r)}),0!==s.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(h=0;h<s.length;h++)this._addTile(s[h],m);this._level.el.appendChild(m)}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var n=this._globalTileRange;if(!t.wrapLng&&(e.x<n.min.x||e.x>n.max.x)||!t.wrapLat&&(e.y<n.min.y||e.y>n.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(e);return T(this.options.bounds).overlaps(i)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),i=e.scaleBy(n),o=i.add(n);return[t.unproject(i,e.z),t.unproject(o,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new k(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),n=new y(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(W(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){G(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=s,e.onmousemove=s,ft&&this.options.opacity<1&&X(e,this.options.opacity),_t&&!vt&&(e.style.WebkitBackfaceVisibility="hidden")},_addTile:function(e,t){var i=this._getTilePos(e),o=this._tileCoordsToKey(e),r=this.createTile(this._wrapCoords(e),n(this._tileReady,this,e));this._initTile(r),this.createTile.length<2&&g(n(this._tileReady,this,e,null,r)),ne(r,i),this._tiles[o]={el:r,coords:e,current:!0},t.appendChild(r),this.fire("tileloadstart",{tile:r,coords:e})},_tileReady:function(e,t,i){t&&this.fire("tileerror",{error:t,tile:i,coords:e});var o=this._tileCoordsToKey(e);(i=this._tiles[o])&&(i.loaded=+new Date,this._map._fadeAnimated?(X(i.el,0),_(this._fadeFrame),this._fadeFrame=g(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),t||(G(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),ft||!this._map._fadeAnimated?g(this._pruneTiles,this):setTimeout(n(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new y(this._wrapX?r(e.x,this._wrapX):e.x,this._wrapY?r(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new w(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}}),si=ri.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(e,t){this._url=e,(t=c(this,t)).detectRetina&&qt&&t.maxZoom>0&&(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom++):(t.zoomOffset++,t.maxZoom--),t.minZoom=Math.max(0,t.minZoom)),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),_t||this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var i=document.createElement("img");return ce(i,"load",n(this._tileOnLoad,this,t,i)),ce(i,"error",n(this._tileOnError,this,t,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i.alt="",i.setAttribute("role","presentation"),i.src=this.getTileUrl(e),i},getTileUrl:function(e){var n={r:qt?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-e.y;this.options.tms&&(n.y=i),n["-y"]=i}return h(this._url,t(n,this.options))},_tileOnLoad:function(e,t){ft?setTimeout(n(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var i=this.options.errorTileUrl;i&&t.getAttribute("src")!==i&&(t.src=i),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return this.options.zoomReverse&&(e=t-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=s,t.onerror=s,t.complete||(t.src=Je,W(t),delete this._tiles[e]))},_removeTile:function(e){var t=this._tiles[e];if(t)return bt||t.el.setAttribute("src",Je),ri.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(this._map&&(!n||n.getAttribute("src")!==Je))return ri.prototype._tileReady.call(this,e,t,n)}}),ai=si.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,n){this._url=e;var i=t({},this.defaultWmsParams);for(var o in n)o in this.options||(i[o]=n[o]);var r=(n=c(this,n)).detectRetina&&qt?2:1,s=this.getTileSize();i.width=s.x*r,i.height=s.y*r,this.wmsParams=i},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,si.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,i=x(n.project(t[0]),n.project(t[1])),o=i.min,r=i.max,s=(this._wmsVersion>=1.3&&this._crs===Fn?[o.y,o.x,r.y,r.x]:[o.x,o.y,r.x,r.y]).join(","),a=si.prototype.getTileUrl.call(this,e);return a+d(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+s},setParams:function(e,n){return t(this.wmsParams,e),n||this.redraw(),this}});si.WMS=ai,He.wms=function(e,t){return new ai(e,t)};var li=Nn.extend({options:{padding:.1,tolerance:0},initialize:function(e){c(this,e),i(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&G(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),i=ie(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,t),s=this._map.project(e,t).subtract(r),a=o.multiplyBy(-n).add(i).add(o).subtract(s);Et?te(this._container,a,n):ne(this._container,a)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new w(n,n.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ui=li.extend({getEvents:function(){var e=li.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){li.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");ce(e,"mousemove",o(this._onMouseMove,32,this),this),ce(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ce(e,"mouseout",this._handleMouseOut,this),this._ctx=e.getContext("2d")},_destroyContainer:function(){_(this._redrawRequest),delete this._ctx,W(this._container),de(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){li.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),i=qt?2:1;ne(t,e.min),t.width=i*n.x,t.height=i*n.y,t.style.width=n.x+"px",t.style.height=n.y+"px",qt&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){li.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[i(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,o=t.prev;n?n.prev=o:this._drawLast=o,o?o.next=n:this._drawFirst=n,delete e._order,delete this._layers[i(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,n,i=e.options.dashArray.split(/[, ]+/),o=[];for(n=0;n<i.length;n++){if(t=Number(i[n]),isNaN(t))return;o.push(t)}e.options._dashArray=o}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||g(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new w,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var n=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)e=i.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var n,i,o,r,s=e._parts,a=s.length,l=this._ctx;if(a){for(l.beginPath(),n=0;n<a;n++){for(i=0,o=s[n].length;i<o;i++)r=s[n][i],l[i?"lineTo":"moveTo"](r.x,r.y);t&&l.closePath()}this._fillStroke(l,e)}}},_updateCircle:function(e){if(this._drawing&&!e._empty()){var t=e._point,n=this._ctx,i=Math.max(Math.round(e._radius),1),o=(Math.max(Math.round(e._radiusY),1)||i)/i;1!==o&&(n.save(),n.scale(1,o)),n.beginPath(),n.arc(t.x,t.y/o,i,0,2*Math.PI,!1),1!==o&&n.restore(),this._fillStroke(n,e)}},_fillStroke:function(e,t){var n=t.options;n.fill&&(e.globalAlpha=n.fillOpacity,e.fillStyle=n.fillColor||n.color,e.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=n.opacity,e.lineWidth=n.weight,e.strokeStyle=n.color,e.lineCap=n.lineCap,e.lineJoin=n.lineJoin,e.stroke())},_onClick:function(e){for(var t,n,i=this._map.mouseEventToLayerPoint(e),o=this._drawFirst;o;o=o.next)(t=o.layer).options.interactive&&t._containsPoint(i)&&!this._map._draggableMoved(t)&&(n=t);n&&(we(e),this._fireEvent([n],e))},_onMouseMove:function(e){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(J(this._container,"leaflet-interactive"),this._fireEvent([t],e,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(e,t){for(var n,i,o=this._drawFirst;o;o=o.next)(n=o.layer).options.interactive&&n._containsPoint(t)&&(i=n);i!==this._hoveredLayer&&(this._handleMouseOut(e),i&&(G(this._container,"leaflet-interactive"),this._fireEvent([i],e,"mouseover"),this._hoveredLayer=i)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],e)},_fireEvent:function(e,t,n){this._map._fireDOMEvent(t,n||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var n=t.next,i=t.prev;n&&(n.prev=i,i?i.next=n:n&&(this._drawFirst=n),t.prev=this._drawLast,this._drawLast.next=t,t.next=null,this._drawLast=t,this._requestRedraw(e))}},_bringToBack:function(e){var t=e._order;if(t){var n=t.next,i=t.prev;i&&(i.next=n,n?n.prev=i:i&&(this._drawLast=i),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e))}}}),ci=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch(e){return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),di={_initContainer:function(){this._container=B("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(li.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=ci("shape");G(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=ci("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[i(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;W(t),e.removeInteractiveTarget(t),delete this._layers[i(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,i=e.options,o=e._container;o.stroked=!!i.stroke,o.filled=!!i.fill,i.stroke?(t||(t=e._stroke=ci("stroke")),o.appendChild(t),t.weight=i.weight+"px",t.color=i.color,t.opacity=i.opacity,i.dashArray?t.dashStyle=Ge(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=i.lineCap.replace("butt","flat"),t.joinstyle=i.lineJoin):t&&(o.removeChild(t),e._stroke=null),i.fill?(n||(n=e._fill=ci("fill")),o.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(o.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),i=Math.round(e._radiusY||n);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+n+","+i+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){Y(e._container)},_bringToBack:function(e){V(e._container)}},hi=Bt?ci:D,pi=li.extend({getEvents:function(){var e=li.prototype.getEvents.call(this);return e.zoomstart=this._onZoomStart,e},_initContainer:function(){this._container=hi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=hi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){W(this._container),de(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){li.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,n.setAttribute("width",t.x),n.setAttribute("height",t.y)),ne(n,e.min),n.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=hi("path");e.options.className&&G(t,e.options.className),e.options.interactive&&G(t,"leaflet-interactive"),this._updateStyle(e),this._layers[i(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){W(e._path),e.removeInteractiveTarget(e._path),delete this._layers[i(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute("stroke",n.color),t.setAttribute("stroke-opacity",n.opacity),t.setAttribute("stroke-width",n.weight),t.setAttribute("stroke-linecap",n.lineCap),t.setAttribute("stroke-linejoin",n.lineJoin), 13n.dashArray?t.setAttribute("stroke-dasharray",n.dashArray):t.removeAttribute("stroke-dasharray"),n.dashOffset?t.setAttribute("stroke-dashoffset",n.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),n.fill?(t.setAttribute("fill",n.fillColor||n.color),t.setAttribute("fill-opacity",n.fillOpacity),t.setAttribute("fill-rule",n.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,E(e._parts,t))}
vendor: 1,039 bytes, line 13
13,_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),i="a"+n+","+(Math.max(Math.round(e._radiusY),1)||n)+" 0 1,0 ",o=e._empty()?"M0 0":"M"+(t.x-n)+","+t.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(e,o)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){Y(e._path)},_bringToBack:function(e){V(e._path)}});Bt&&pi.include(di),gn.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&Be(e)||We(e)}});var fi=Gn.extend({initialize:function(e,t){Gn.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))}
vendor: 12,108 bytes, line 13
13,_boundsToLatLngs:function(e){return[(e=T(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});pi.create=hi,pi.pointsToPath=E,Jn.geometryToLayer=Ie,Jn.coordsToLatLng=Oe,Jn.coordsToLatLngs=Fe,Jn.latLngToCoords=je,Jn.latLngsToCoords=Ne,Jn.getFeature=Re,Jn.asFeature=qe,gn.mergeOptions({boxZoom:!0});var mi=kn.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){ce(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){de(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){W(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),at(),oe(),this._startPoint=this._map.mouseEventToContainerPoint(e),ce(document,{contextmenu:ve,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=B("div","leaflet-zoom-box",this._container),G(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new w(this._point,this._startPoint),n=t.getSize();ne(this._box,t.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(W(this._box),J(this._container,"leaflet-crosshair")),lt(),re(),de(document,{contextmenu:ve,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(n(this._resetState,this),0);var t=new k(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&this._finish()}});gn.addInitHook("addHandler","boxZoom",mi),gn.mergeOptions({doubleClickZoom:!0});var gi=kn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),i=t.options.zoomDelta,o=e.originalEvent.shiftKey?n-i:n+i;"center"===t.options.doubleClickZoom?t.setZoom(o):t.setZoomAround(e.containerPoint,o)}});gn.addInitHook("addHandler","doubleClickZoom",gi),gn.mergeOptions({dragging:!0,inertia:!vt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var _i=kn.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new An(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}G(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){J(this._map._container,"leaflet-grab"),J(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=T(this._map.options.maxBounds);this._offsetLimit=x(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,o=(i-t+n)%e+t-n,r=(i+t+n)%e-t-n,s=Math.abs(o+n)<Math.abs(r+n)?o:r;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=s},_onDragEnd:function(e){var t=this._map,n=t.options,i=!n.inertia||this._times.length<2;if(t.fire("dragend",e),i)t.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,s=n.easeLinearity,a=o.multiplyBy(s/r),l=a.distanceTo([0,0]),u=Math.min(n.inertiaMaxSpeed,l),c=a.multiplyBy(u/l),d=u/(n.inertiaDeceleration*s),h=c.multiplyBy(-d/2).round();h.x||h.y?(h=t._limitOffset(h,t.options.maxBounds),g(function(){t.panBy(h,{duration:d,easeLinearity:s,noMoveStart:!0,animate:!0})})):t.fire("moveend")}}});gn.addInitHook("addHandler","dragging",_i),gn.mergeOptions({keyboard:!0,keyboardPanDelta:80});var vi=kn.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),ce(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),de(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,n=e.scrollTop||t.scrollTop,i=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(i,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t,n,i=this._panKeys={},o=this.keyCodes;for(t=0,n=o.left.length;t<n;t++)i[o.left[t]]=[-1*e,0];for(t=0,n=o.right.length;t<n;t++)i[o.right[t]]=[e,0];for(t=0,n=o.down.length;t<n;t++)i[o.down[t]]=[0,e];for(t=0,n=o.up.length;t<n;t++)i[o.up[t]]=[0,-1*e]},_setZoomDelta:function(e){var t,n,i=this._zoomKeys={},o=this.keyCodes;for(t=0,n=o.zoomIn.length;t<n;t++)i[o.zoomIn[t]]=e;for(t=0,n=o.zoomOut.length;t<n;t++)i[o.zoomOut[t]]=-e},_addHooks:function(){ce(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){de(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t,n=e.keyCode,i=this._map;if(n in this._panKeys)i._panAnim&&i._panAnim._inProgress||(t=this._panKeys[n],e.shiftKey&&(t=b(t).multiplyBy(3)),i.panBy(t),i.options.maxBounds&&i.panInsideBounds(i.options.maxBounds));else if(n in this._zoomKeys)i.setZoom(i.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!i._popup||!i._popup.options.closeOnEscapeKey)return;i.closePopup()}ve(e)}}});gn.addInitHook("addHandler","keyboard",vi),gn.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var yi=kn.extend({addHooks:function(){ce(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){de(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var t=be(e),i=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date);var o=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(n(this._performZoom,this),o),ve(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),n=this._map.options.zoomSnap||0;e._stop();var i=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(i))))/Math.LN2,r=n?Math.ceil(o/n)*n:o,s=e._limitZoom(t+(this._delta>0?r:-r))-t;this._delta=0,this._startTime=null,s&&("center"===e.options.scrollWheelZoom?e.setZoom(t+s):e.setZoomAround(this._lastMousePos,t+s))}});gn.addInitHook("addHandler","scrollWheelZoom",yi),gn.mergeOptions({tap:!0,tapTolerance:15});var bi=kn.extend({addHooks:function(){ce(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){de(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(e.touches){if(_e(e),this._fireClick=!0,e.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var t=e.touches[0],i=t.target;this._startPos=this._newPos=new y(t.clientX,t.clientY),i.tagName&&"a"===i.tagName.toLowerCase()&&G(i,"leaflet-active"),this._holdTimeout=setTimeout(n(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",t))},this),1e3),this._simulateEvent("mousedown",t),ce(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(e){if(clearTimeout(this._holdTimeout),de(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&e&&e.changedTouches){var t=e.changedTouches[0],n=t.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&J(n,"leaflet-active"),this._simulateEvent("mouseup",t),this._isTapValid()&&this._simulateEvent("click",t)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(e){var t=e.touches[0];this._newPos=new y(t.clientX,t.clientY),this._simulateEvent("mousemove",t)},_simulateEvent:function(e,t){var n=document.createEvent("MouseEvents");n._simulated=!0,t.target._simulatedClick=!0,n.initMouseEvent(e,!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n)}});jt&&!Ft&&gn.addInitHook("addHandler","tap",bi),gn.mergeOptions({touchZoom:jt&&!vt,bounceAtZoomLimits:!0});var wi=kn.extend({addHooks:function(){G(this._map._container,"leaflet-touch-zoom"),ce(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){J(this._map._container,"leaflet-touch-zoom"),de(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var n=t.mouseEventToContainerPoint(e.touches[0]),i=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),ce(document,"touchmove",this._onTouchMove,this),ce(document,"touchend",this._onTouchEnd,this),_e(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,i=t.mouseEventToContainerPoint(e.touches[0]),o=t.mouseEventToContainerPoint(e.touches[1]),r
13=i.distanceTo(o)/this._startDist;if(this._zoom=t.getScaleZoom(r,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&r<1||this._zoom>t.getMaxZoom()&&r>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var s=i._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===s.x&&0===s.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(s),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),_(this._animRequest);var a=n(t._move,t,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=g(a,this,!0),_e(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,_(this._animRequest),de(document,"touchmove",this._onTouchMove),de(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});gn.addInitHook("addHandler","touchZoom",wi),gn.BoxZoom=mi,gn.DoubleClickZoom=gi,gn.Drag=_i,gn.Keyboard=vi,gn.ScrollWheelZoom=yi,gn.Tap=bi,gn.TouchZoom=wi,Object.freeze=Ue,e.version="1.4.0",e.Control=_n,e.control=vn,e.Browser=Wt,e.Evented=nt,e.Mixin=Sn,e.Util=et,e.Class=v,e.Handler=kn,e.extend=t,e.bind=n,e.stamp=i,e.setOptions=c,e.DomEvent=fn,e.DomUtil=cn,e.PosAnimation=mn,e.Draggable=An,e.LineUtil=Dn,e.PolyUtil=En,e.Point=y,e.point=b,e.Bounds=w,e.bounds=x,e.Transformation=M,e.transformation=A,e.Projection=In,e.LatLng=S,e.latLng=C,e.LatLngBounds=k,e.latLngBounds=T,e.CRS=ot,e.GeoJSON=Jn,e.geoJSON=$e,e.geoJson=Kn,e.Layer=Nn,e.LayerGroup=Rn,e.layerGroup=function(e,t){return new Rn(e,t)},e.FeatureGroup=qn,e.featureGroup=function(e){return new qn(e)},e.ImageOverlay=Xn,e.imageOverlay=function(e,t,n){return new Xn(e,t,n)},e.VideoOverlay=ei,e.videoOverlay=function(e,t,n){return new ei(e,t,n)},e.DivOverlay=ti,e.Popup=ni,e.popup=function(e,t){return new ni(e,t)},e.Tooltip=ii,e.tooltip=function(e,t){return new ii(e,t)},e.Icon=$n,e.icon=function(e){return new $n(e)},e.DivIcon=oi,e.divIcon=function(e){return new oi(e)},e.Marker=Wn,e.marker=function(e,t){return new Wn(e,t)},e.TileLayer=si,e.tileLayer=He,e.GridLayer=ri,e.gridLayer=function(e){return new ri(e)},e.SVG=pi,e.svg=We,e.Renderer=li,e.Canvas=ui,e.canvas=Be,e.Path=Un,e.CircleMarker=Yn,e.circleMarker=function(e,t){return new Yn(e,t)},e.Circle=Vn,e.circle=function(e,t,n){return new Vn(e,t,n)},e.Polyline=Zn,e.polyline=function(e,t){return new Zn(e,t)},e.Polygon=Gn,e.polygon=function(e,t){return new Gn(e,t)},e.Rectangle=fi,e.rectangle=function(e,t){return new fi(e,t)},e.Map=gn,e.map=function(e,t){return new gn(e,t)};var xi=window.L;e.noConflict=function(){return window.L=xi,this},window.L=e},"object"==typeof n&&void 0!==t?o(n):"function"==typeof define&&define.amd?define(["exports"],o):o(i.L={})},{}],3:[function(e,t,n){var i,o;i=this,o=function(e){function t(e){return"function"==typeof e}function n(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function i(e,t){return null!=e&&"object"==typeof e&&t in e}function o(e,t){return null!=e&&"object"!=typeof e&&e.hasOwnProperty&&e.hasOwnProperty(t)}function r(e){return!function(e,t){return h.call(e,t)}(p,e)}function s(t,i){function o(e){if("string"==typeof e&&(e=e.split(g,2)),!d(e)||2!==e.length)throw new Error("Invalid tags: "+e);s=new RegExp(n(e[0])+"\\s*"),l=new RegExp("\\s*"+n(e[1])),u=new RegExp("\\s*"+n("}"+e[1]))}if(!t)return[];var s,l,u,c=[],h=[],p=[],f=!1,b=!1;o(i||e.tags);for(var w,x,k,T,S,C,L=new a(t);!L.eos();){if(w=L.pos,k=L.scanUntil(s))for(var M=0,A=k.length;M<A;++M)r(T=k.charAt(M))?p.push(h.length):b=!0,h.push(["text",T,w,w+1]),w+=1,"\n"===T&&function(){if(f&&!b)for(;p.length;)delete h[p.pop()];else p=[];f=!1,b=!1}();if(!L.scan(s))break;if(f=!0,x=L.scan(y)||"name",L.scan(m),"="===x?(k=L.scanUntil(_),L.scan(_),L.scanUntil(l)):"{"===x?(k=L.scanUntil(u),L.scan(v),L.scanUntil(l),x="&"):k=L.scanUntil(l),!L.scan(l))throw new Error("Unclosed tag at "+L.pos);if(S=[x,k,w,L.pos],h.push(S),"#"===x||"^"===x)c.push(S);
13else if("/"===x){if(!(C=c.pop()))throw new Error('Unopened section "'+k+'" at '+w);if(C[1]!==k)throw new Error('Unclosed section "'+C[1]+'" at '+w)}else"name"===x||"{"===x||"&"===x?b=!0:"="===x&&o(k)}if(C=c.pop())throw new Error('Unclosed section "'+C[1]+'" at '+L.pos);return function(e){for(var t,n=[],i=n,o=[],r=0,s=e.length;r<s;++r)switch(t=e[r],t[0]){case"#":case"^":i.push(t),o.push(t),i=t[4]=[];break;case"/":o.pop()[5]=t[2],i=o.length>0?o[o.length-1][4]:n;break;default:i.push(t)}return n}(function(e){for(var t,n,i=[],o=0,r=e.length;o<r;++o)(t=e[o])&&("text"===t[0]&&n&&"text"===n[0]?(n[1]+=t[1],n[3]=t[3]):(i.push(t),n=t));return i}(h))}function a(e){this.string=e,this.tail=e,this.pos=0}function l(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function u(){this.cache={}}var c=Object.prototype.toString,d=Array.isArray||function(e){return"[object Array]"===c.call(e)},h=RegExp.prototype.test,p=/\S/,f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},m=/\s*/,g=/\s+/,_=/\s*=/,v=/\s*\}/,y=/#|\^|\/|>|\{|&|=|!/;a.prototype.eos=function(){return""===this.tail},a.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},a.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},l.prototype.push=function(e){return new l(e,this)},l.prototype.lookup=function(e){var n,r=this.cache;if(r.hasOwnProperty(e))n=r[e];else{for(var s,a,l,u=this,c=!1;u;){if(e.indexOf(".")>0)for(s=u.view,a=e.split("."),l=0;null!=s&&l<a.length;)l===a.length-1&&(c=i(s,a[l])||o(s,a[l])),s=s[a[l++]];else s=u.view[e],c=i(u.view,e);if(c){n=s;break}u=u.parent}r[e]=n}return t(n)&&(n=n.call(this.view)),n},u.prototype.clearCache=function(){this.cache={}},u.prototype.parse=function(t,n){var i=this.cache,o=t+":"+(n||e.tags).join(":"),r=i[o];return null==r&&(r=i[o]=s(t,n)),r},u.prototype.render=function(e,t,n,i){var o=this.parse(e,i),r=t instanceof l?t:new l(t);return this.renderTokens(o,r,n,e,i)},u.prototype.renderTokens=function(e,t,n,i,o){for(var r,s,a,l="",u=0,c=e.length;u<c;++u)a=void 0,"#"===(s=(r=e[u])[0])?a=this.renderSection(r,t,n,i):"^"===s?a=this.renderInverted(r,t,n,i):">"===s?a=this.renderPartial(r,t,n,o):"&"===s?a=this.unescapedValue(r,t):"name"===s?a=this.escapedValue(r,t):"text"===s&&(a=this.rawValue(r)),void 0!==a&&(l+=a);return l},u.prototype.renderSection=function(e,n,i,o){var r=this,s="",a=n.lookup(e[1]);if(a){if(d(a))for(var l=0,u=a.length;l<u;++l)s+=this.renderTokens(e[4],n.push(a[l]),i,o);else if("object"==typeof a||"string"==typeof a||"number"==typeof a)s+=this.renderTokens(e[4],n.push(a),i,o);else if(t(a)){if("string"!=typeof o)throw new Error("Cannot use higher-order sections without the original template");null!=(a=a.call(n.view,o.slice(e[3],e[5]),function(e){return r.render(e,n,i)}))&&(s+=a)}else s+=this.renderTokens(e[4],n,i,o);return s}},u.prototype.renderInverted=function(e,t,n,i){var o=t.lookup(e[1]);if(!o||d(o)&&0===o.length)return this.renderTokens(e[4],t,n,i)},u.prototype.renderPartial=function(e,n,i,o){if(i){var r=t(i)?i(e[1]):i[e[1]];return null!=r?this.renderTokens(this.parse(r,o),n,i,r):void 0}},u.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},u.prototype.escapedValue=function(t,n){var i=n.lookup(t[1]);if(null!=i)return e.escape(i)},u.prototype.rawValue=function(e){return e[1]},e.name="mustache.js",e.version="3.0.1",e.tags=["{{","}}"];var b=new u;return e.clearCache=function(){return b.clearCache()},e.parse=function(e,t){return b.parse(e,t)},e.render=function(e,t,n,i){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+function(e){return d(e)?"array":typeof e}(e)+'" was given as the first argument for mustache#render(template, view, partials)');return b.render(e,t,n,i)},e.to_html=function(n,i,o,r){var s=e.render(n,i,o);if(!t(r))return s;r(s)},e.escape=function(e){return String(e).replace(/[&<>"'`=\/]/g,function(e){return f[e]})},e.Scanner=a,e.Context=l,e.Writer=u,e},"object"==typeof n&&n&&"string"!=typeof n.nodeName?o(n):"function"==typeof define&&define.amd?define(["exports"],o):(i.Mustache={},o(i.Mustache))},{}],4:[function(e,t){function n(e){"use strict";return/^https?/.test(e.getScheme())?e.toString():/^mailto?/.test(e.getScheme())?e.toString():"data"==e.getScheme()&&/^image/.test(e.getPath())?e.toString():void 0}function i(e){return e}var o=e("./sanitizer-bundle.js");t.exports=function(e){return e?o(e,n,i):""}},{"./sanitizer-bundle.js":5}],5:[function(e,t){var n=function(){function e(e){var t=(""+e).match(d);return t?new s(a(t[1]),a(t[2]),a(t[3]),a(t[4]),a(t[5]),a(t[6]),a(t[7]
13)):null}function t(e){return"string"==typeof e?encodeURIComponent(e):null}function n(e,t){return"string"==typeof e?encodeURI(e).replace(t,i):null}function i(e){var t=e.charCodeAt(0);return"%"+"0123456789ABCDEF".charAt(t>>4&15)+"0123456789ABCDEF".charAt(15&t)}function o(e){if(null===e)return null;for(var t,n=function(e){return e.replace(/(^|\/)\.(?:\/|$)/g,"$1").replace(/\/{2,}/g,"/")}(e),i=u;(t=n.replace(i,"$1"))!=n;n=t);return n}function r(e,t){var n=e.clone(),i=t.hasScheme();i?n.setRawScheme(t.getRawScheme()):i=t.hasCredentials(),i?n.setRawCredentials(t.getRawCredentials()):i=t.hasDomain(),i?n.setRawDomain(t.getRawDomain()):i=t.hasPort();var r=t.getRawPath(),s=o(r);if(i)n.setPort(t.getPort()),s=s&&s.replace(c,"");else if(i=!!r){if(47!==s.charCodeAt(0)){var a=o(n.getRawPath()||"").replace(c,""),l=a.lastIndexOf("/")+1;s=o((l?a.substring(0,l):"")+o(r)).replace(c,"")}}else(s=s&&s.replace(c,""))!==r&&n.setRawPath(s);return i?n.setRawPath(s):i=t.hasQuery(),i?n.setRawQuery(t.getRawQuery()):i=t.hasFragment(),i&&n.setRawFragment(t.getRawFragment()),n}function s(e,t,n,i,o,r,s){this.scheme_=e,this.credentials_=t,this.domain_=n,this.port_=i,this.path_=o,this.query_=r,this.fragment_=s,this.paramCache_=null}function a(e){return"string"==typeof e&&e.length>0?e:null}var l=new RegExp("(/|^)(?:[^./][^/]*|\\.{2,}(?:[^./][^/]*)|\\.{3,}[^/]*)/\\.\\.(?:/|$)"),u=new RegExp(l),c=/^(?:\.\.\/)*(?:\.\.$)?/;s.prototype.toString=function(){var e=[];return null!==this.scheme_&&e.push(this.scheme_,":"),null!==this.domain_&&(e.push("//"),null!==this.credentials_&&e.push(this.credentials_,"@"),e.push(this.domain_),null!==this.port_&&e.push(":",this.port_.toString())),null!==this.path_&&e.push(this.path_),null!==this.query_&&e.push("?",this.query_),null!==this.fragment_&&e.push("#",this.fragment_),e.join("")},s.prototype.clone=function(){return new s(this.scheme_,this.credentials_,this.domain_,this.port_,this.path_,this.query_,this.fragment_)},s.prototype.getScheme=function(){return this.scheme_&&decodeURIComponent(this.scheme_).toLowerCase()},s.prototype.getRawScheme=function(){return this.scheme_},s.prototype.setScheme=function(e){return this.scheme_=n(e,h),this},s.prototype.setRawScheme=function(e){return this.scheme_=e||null,this},s.prototype.hasScheme=function(){return null!==this.scheme_},s.prototype.getCredentials=function(){return this.credentials_&&decodeURIComponent(this.credentials_)},s.prototype.getRawCredentials=function(){return this.credentials_},s.prototype.setCredentials=function(e){return this.credentials_=n(e,h),this},s.prototype.setRawCredentials=function(e){return this.credentials_=e||null,this},s.prototype.hasCredentials=function(){return null!==this.credentials_},s.prototype.getDomain=function(){return this.domain_&&decodeURIComponent(this.domain_)},s.prototype.getRawDomain=function(){return this.domain_},s.prototype.setDomain=function(e){return this.setRawDomain(e&&encodeURIComponent(e))},s.prototype.setRawDomain=function(e){return this.domain_=e||null,this.setRawPath(this.path_)},s.prototype.hasDomain=function(){return null!==this.domain_},s.prototype.getPort=function(){return this.port_&&decodeURIComponent(this.port_)},s.prototype.setPort=function(e){if(e){if((e=Number(e))!==(65535&e))throw new Error("Bad port number "+e);this.port_=""+e}else this.port_=null;return this},s.prototype.hasPort=function(){return null!==this.port_},s.prototype.getPath=function(){return this.path_&&decodeURIComponent(this.path_)},s.prototype.getRawPath=function(){return this.path_},s.prototype.setPath=function(e){return this.setRawPath(n(e,p))},s.prototype.setRawPath=function(e){return e?(e=String(e),this.path_=!this.domain_||/^\//.test(e)?e:"/"+e):this.path_=null,this},s.prototype.hasPath=function(){return null!==this.path_},s.prototype.getQuery=function(){return this.query_&&decodeURIComponent(this.query_).replace(/\+/g," ")},s.prototype.getRawQuery=function(){return this.query_},s.prototype.setQuery=function(e){return this.paramCache_=null,this.query_=t(e),this},s.prototype.setRawQuery=function(e){return this.paramCache_=null,this.query_=e||null,this},s.prototype.hasQuery=function(){return null!==this.query_},s.prototype.setAllParameters=function(e){if("object"==typeof e&&!(e instanceof Array)&&(e instanceof Object||"[object Array]"!==Object.prototype.toString.call(e))){var t=[],n=-1;for(var i in e)"string"==typeof(a=e[i])&&(t[++n]=i,t[++n]=a);e=t}this.paramCache_=null;for(var o=[],r="",s=0;s<e.length;){i=e[s++];var a=e[s++];o.push(r,encodeURIComponent(i.toString())),r="&",a&&o.push("=",encodeURIComponent(a.toString()))}return this.query_=o.join(""),this},s.prototype.checkParameterCache_=function(){if(!this.paramCache_){var e=this.query_;if(e){for(var t=e.split(/[&\?]/),n=[],i=-1,o=0;o<t.length;++o){var r=t[o].match(/^([^=]*)(?:=(.*))?$/);n[++i]=decodeURIComponent(r[1]).replace(/\+/g," "),n[++i]=decodeURIComponent(r[2]||"").replace(/\+/g," ")}this.paramCache_=n}else this.paramCache_=[]}},s.prototype.setParameterValues=function(e,t){"string"==typeof t&&(t=[t]),this.checkParameterCache_();for(var n=0,i=this.paramCache_,o=[],r=0;r<i.length;r+=2)e===i[r]?n<t.length&&o.push(e,t[n++]):o.push(i[r],i[r+1]);for(;n<t.length;)o.push(e,t[n++]);return this.setAllParameters(o),this},s.prototype.removeParameter=function(e){return this.setParameterValues(e,[])},s.prototype.getAllParameters=function(){return this.checkParameterCache_(),this.paramCache_.slice(0,this.paramCache_.length)},s.prototype.getParameterValues=function(e){this.checkParameterCache_();for(var t=[],n=0;n<this.paramCache_.length;n+=2)e===this.paramCache_[n]&&t.push(this.paramCache_[n+1]);return t},s.prototype.getParameterMap=function(){this.checkParameterCache_();for(var e={},t=0;t<this.paramCache_.length;t+=2){var n=this.paramCache_[t++],i=this.paramCache_[t++];n in e?e[n].push(i):e[n]=[i]}return e},s.prototype.getParameterValue=function(e){this.checkParameterCache_();for(var t=0;t<this.paramCache_.length;t+=2)if(e===this.paramCache_[t])return this.paramCache_[t+1];return null},s.prototype.getFragment=function(){return this.fragment_&&decodeURIComponent(this.fragment_)},s.prototype.getRawFragment=function(){return this.fragment_},s.prototype.setFragment=function(e){return this.fragment_=e?encodeURIComponent(e):null,this},s.prototype.setRawFragment=function(e){return this.fragment_=e||null,this},s.prototype.hasFragment=function(){return null!==this.fragment_};var d=new RegExp("^(?:([^:/?#]+):)?(?://(?:([^/?#]*)@)?([^/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),h=/[#\/\?@]/g,p=/[\#\?]/g;return s.parse=e,s.create=function(e,o,r,a,l,u,c){var d=new s(n(e,h),n(o,h),t(r),a>0?a.toString():null,n(l,p),null,t(c));return u&&("string"==typeof u?d.setRawQuery(u.replace(/[^?&=0-9A-Za-z_\-~.%]/g,i)):d.setAllParameters(u)),d},s.resolve=r,s.collapse_dots=o,s.utils={mimeTypeOf:function(t){return/\.html$/.test(e(t).getPath())?"text/html":"application/javascript"},resolve:function(t,n){return t?r(e(t),e(n)).toString():""+n}},s}(),i={atype:{NONE:0,URI:1,URI_FRAGMENT:11,SCRIPT:2,STYLE:3,HTML:12,ID:4,IDREF:5,IDRE
13FS:6,GLOBAL_NAME:7,LOCAL_NAME:8,CLASSES:9,FRAME_TARGET:10,MEDIA_QUERY:13}};if(i.atype=i.atype,i.ATTRIBS={"*::class":9,"*::dir":0,"*::draggable":0,"*::hidden":0,"*::id":4,"*::inert":0,"*::itemprop":0,"*::itemref":6,"*::itemscope":0,"*::lang":0,"*::onblur":2,"*::onchange":2,"*::onclick":2,"*::ondblclick":2,"*::onfocus":2,"*::onkeydown":2,"*::onkeypress":2,"*::onkeyup":2,"*::onload":2,"*::onmousedown":2,"*::onmousemove":2,"*::onmouseout":2,"*::onmouseover":2,"*::onmouseup":2,"*::onreset":2,"*::onscroll":2,"*::onselect":2,"*::onsubmit":2,"*::onunload":2,"*::spellcheck":0,"*::style":3,"*::title":0,"*::translate":0,"a::accesskey":0,"a::coords":0,"a::href":1,"a::hreflang":0,"a::name":7,"a::onblur":2,"a::onfocus":2,"a::shape":0,"a::tabindex":0,"a::target":10,"a::type":0,"area::accesskey":0,"area::alt":0,"area::coords":0,"area::href":1,"area::nohref":0,"area::onblur":2,"area::onfocus":2,"area::shape":0,"area::tabindex":0,"area::target":10,"audio::controls":0,"audio::loop":0,"audio::mediagroup":5,"audio::muted":0,"audio::preload":0,"bdo::dir":0,"blockquote::cite":1,"br::clear":0,"button::accesskey":0,"button::disabled":0,"button::name":8,"button::onblur":2,"button::onfocus":2,"button::tabindex":0,"button::type":0,"button::value":0,"canvas::height":0,"canvas::width":0,"caption::align":0,"col::align":0,"col::char":0,"col::charoff":0,"col::span":0,"col::valign":0,"col::width":0,"colgroup::align":0,"colgroup::char":0,"colgroup::charoff":0,"colgroup::span":0,"colgroup::valign":0,"colgroup::width":0,"command::checked":0,"command::command":5,"command::disabled":0,"command::icon":1,"command::label":0,"command::radiogroup":0,"command::type":0,"data::value":0,"del::cite":1,"del::datetime":0,"details::open":0,"dir::compact":0,"div::align":0,"dl::compact":0,"fieldset::disabled":0,"font::color":0,"font::face":0,"font::size":0,"form::accept":0,"form::action":1,"form::autocomplete":0,"form::enctype":0,"form::method":0,"form::name":7,"form::novalidate":0,"form::onreset":2,"form::onsubmit":2,"form::target":10,"h1::align":0,"h2::align":0,"h3::align":0,"h4::align":0,"h5::align":0,"h6::align":0,"hr::align":0,"hr::noshade":0,"hr::size":0,"hr::width":0,"iframe::align":0,"iframe::frameborder":0,"iframe::height":0,"iframe::marginheight":0,"iframe::marginwidth":0,"iframe::width":0,"img::align":0,"img::alt":0,"img::border":0,"img::height":0,"img::hspace":0,"img::ismap":0,"img::name":7,"img::src":1,"img::usemap":11,"img::vspace":0,"img::width":0,"input::accept":0,"input::accesskey":0,"input::align":0,"input::alt":0,"input::autocomplete":0,"input::checked":0,"input::disabled":0,"input::inputmode":0,"input::ismap":0,"input::list":5,"input::max":0,"input::maxlength":0,"input::min":0,"input::multiple":0,"input::name":8,"input::onblur":2,"input::onchange":2,"input::onfocus":2,"input::onselect":2,"input::placeholder":0,"input::readonly":0,"input::required":0,"input::size":0,"input::src":1,"input::step":0,"input::tabindex":0,"input::type":0,"input::usemap":11,"input::value":0,"ins::cite":1,"ins::datetime":0,"label::accesskey":0,"label::for":5,"label::onblur":2,"label::onfocus":2, 14"legend::accesskey":0,"legend::align":0,"li::type":0,"li::value":0,"map::name":7,"menu::compact":0,"menu::label":0,"menu::type":0,"meter::high":0,"meter::low":0,"meter::max":0,"meter::min":0,"meter::value":0,"ol::compact":0,"ol::reversed":0,"ol::start":0,"ol::type":0,"optgroup::disabled":0,"optgroup::label":0,"option::disabled":0,"option::label":0,"option::selected":0,"option::value":0,"output::for":6,"output::name":8,"p::align":0,"pre::width":0,"progress::max":0,"progress::min":0,"progress::value":0,"q::cite":1,"select::autocomplete":0,"select::disabled":0,"select::multiple":0,"select::name":8,"select::onblur":2,"select::onchange":2,"select::onfocus":2,"select::required":0,"select::size":0,"select::tabindex":0,"source::type":0,"table::align":0,"table::bgcolor":0,"table::border":0,"table::cellpadding":0,"table::cellspacing":0,"table::frame":0,"table::rules":0,"table::summary":0,"table::width":0,"tbody::align":0,"tbody::char":0,"tbody::charoff":0,"tbody::valign":0,"td::abbr":0,"td::align":0,"td::axis":0,"td::bgcolor":0,"td::char":0,"td::charoff":0,"td::colspan":0,"td::headers":6,"td::height":0,"td::nowrap":0,"td::rowspan":0,"td::scope":0,"td::valign":0,"td::width":0,"textarea::accesskey":0,"textarea::autocomplete":0,"textarea::cols":0,"textarea::disabled":0,"textarea::inputmode":0,"textarea::name":8,"textarea::onblur":2,"textarea::onchange":2,"textarea::onfocus":2,"textarea::onselect":2,"textarea::placeholder":0,"textarea::readonly":0,"textarea::required":0,"textarea::rows":0,"textarea::tabindex":0,"textarea::wrap":0,"tfoot::align":0,"tfoot::char":0,"tfoot::charoff":0,"tfoot::valign":0,"th::abbr":0,"th::align":0,"th::axis":0,"th::bgcolor":0,"th::char":0,"th::charoff":0,"th::colspan":0,"th::headers":6,"th::height":0,"th::nowrap":0,"th::rowspan":0,"th::scope":0,"th::valign":0,"th::width":0,"thead::align":0,"thead::char":0,"thead::charoff":0,"thead::valign":0,"tr::align":0,"tr::bgcolor":0,"tr::char":0,"tr::charoff":0,"tr::valign":0,"track::default":0,"track::kind":0,"track::label":0,"track::srclang":0,"ul::compact":0,"ul::type":0,"video::controls":0,"video::height":0,"video::loop":0,"video::mediagroup":5,"video::muted":0,"video::poster":1,"video::preload":0,"video::width":0},i.ATTRIBS=i.ATTRIBS,i.eflags={OPTIONAL_ENDTAG:1,EMPTY:2,CDATA:4,RCDATA:8,UNSAFE:16,FOLDABLE:32,SCRIPT:64,STYLE:128,VIRTUALIZED:256},i.eflags=i.eflags,i.ELEMENTS={a:0,abbr:0,acronym:0,address:0,applet:272,area:2,article:0,aside:0,audio:0,b:0,base:274,basefont:274,bdi:0,bdo:0,big:0,blockquote:0,body:305,br:2,button:0,canvas:0,caption:0,center:0,cite:0,code:0,col:2,colgroup:1,command:2,data:0,datalist:0,dd:1,del:0,details:0,dfn:0,dialog:272,dir:0,div:0,dl:0,dt:1,em:0,fieldset:0,figcaption:0,figure:0,font:0,footer:0,form:0,frame:274,frameset:272,h1:0,h2:0,h3:0,h4:0,h5:0,h6:0,head:305,header:0,hgroup:0,hr:2,html:305,i:0,iframe:16,img:2,input:2,ins:0,isindex:274,kbd:0,keygen:274,label:0,legend:0,li:1,link:274,map:0,mark:0,menu:0,meta:274,meter:0,nav:0,nobr:0,noembed:276,noframes:276,noscript:276,object:272,ol
14:0,optgroup:0,option:1,output:0,p:1,param:274,pre:0,progress:0,q:0,s:0,samp:0,script:84,section:0,select:0,small:0,source:2,span:0,strike:0,strong:0,style:148,sub:0,summary:0,sup:0,table:0,tbody:1,td:1,textarea:8,tfoot:1,th:1,thead:1,time:0,title:280,tr:1,track:2,tt:0,u:0,ul:0,"var":0,video:0,wbr:2},i.ELEMENTS=i.ELEMENTS,i.ELEMENT_DOM_INTERFACES={a:"HTMLAnchorElement",abbr:"HTMLElement",acronym:"HTMLElement",address:"HTMLElement",applet:"HTMLAppletElement",area:"HTMLAreaElement",article:"HTMLElement",aside:"HTMLElement",audio:"HTMLAudioElement",b:"HTMLElement",base:"HTMLBaseElement",basefont:"HTMLBaseFontElement",bdi:"HTMLElement",bdo:"HTMLElement",big:"HTMLElement",blockquote:"HTMLQuoteElement",body:"HTMLBodyElement",br:"HTMLBRElement",button:"HTMLButtonElement",canvas:"HTMLCanvasElement",caption:"HTMLTableCaptionElement",center:"HTMLElement",cite:"HTMLElement",code:"HTMLElement",col:"HTMLTableColElement",colgroup:"HTMLTableColElement",command:"HTMLCommandElement",data:"HTMLElement",datalist:"HTMLDataListElement",dd:"HTMLElement",del:"HTMLModElement",details:"HTMLDetailsElement",dfn:"HTMLElement",dialog:"HTMLDialogElement",dir:"HTMLDirectoryElement",div:"HTMLDivElement",dl:"HTMLDListElement",dt:"HTMLElement",em:"HTMLElement",fieldset:"HTMLFieldSetElement",figcaption:"HTMLElement",figure:"HTMLElement",font:"HTMLFontElement",footer:"HTMLElement",form:"HTMLFormElement",frame:"HTMLFrameElement",frameset:"HTMLFrameSetElement",h1:"HTMLHeadingElement",h2:"HTMLHeadingElement",h3:"HTMLHeadingElement",h4:"HTMLHeadingElement",h5:"HTMLHeadingElement",h6:"HTMLHeadingElement",head:"HTMLHeadElement",header:"HTMLElement",hgroup:"HTMLElement",hr:"HTMLHRElement",html:"HTMLHtmlElement",i:"HTMLElement",iframe:"HTMLIFrameElement",img:"HTMLImageElement",input:"HTMLInputElement",ins:"HTMLModElement",isindex:"HTMLUnknownElement",kbd:"HTMLElement",keygen:"HTMLKeygenElement",label:"HTMLLabelElement",legend:"HTMLLegendElement",li:"HTMLLIElement",link:"HTMLLinkElement",map:"HTMLMapElement",mark:"HTMLElement",menu:"HTMLMenuElement",meta:"HTMLMetaElement",meter:"HTMLMeterElement",nav:"HTMLElement",n
14obr:"HTMLElement",noembed:"HTMLElement",noframes:"HTMLElement",noscript:"HTMLElement",object:"HTMLObjectElement",ol:"HTMLOListElement",optgroup:"HTMLOptGroupElement",option:"HTMLOptionElement",output:"HTMLOutputElement",p:"HTMLParagraphElement",param:"HTMLParamElement",pre:"HTMLPreElement",progress:"HTMLProgressElement",q:"HTMLQuoteElement",s:"HTMLElement",samp:"HTMLElement",script:"HTMLScriptElement",section:"HTMLElement",select:"HTMLSelectElement",small:"HTMLElement",source:"HTMLSourceElement",span:"HTMLSpanElement",strike:"HTMLElement",strong:"HTMLElement",style:"HTMLStyleElement",sub:"HTMLElement",summary:"HTMLElement",sup:"HTMLElement",table:"HTMLTableElement",tbody:"HTMLTableSectionElement",td:"HTMLTableDataCellElement",textarea:"HTMLTextAreaElement",tfoot:"HTMLTableSectionElement",th:"HTMLTableHeaderCellElement",thead:"HTMLTableSectionElement",time:"HTMLTimeElement",title:"HTMLTitleElement",tr:"HTMLTableRowElement",track:"HTMLTrackElement",tt:"HTMLElement",u:"HTMLElement",ul:"HTMLUListElement","var":"HTMLElement",video:"HTMLVideoElement",wbr:"HTMLElement"},i.ELEMENT_DOM_INTERFACES=i.ELEMENT_DOM_INTERFACES,i.ueffects={NOT_LOADED:0,SAME_DOCUMENT:1,NEW_DOCUMENT:2},i.ueffects=i.ueffects,i.URIEFFECTS={"a::href":2,"area::href":2,"blockquote::cite":0,"command::icon":1,"del::cite":0,"form::action":2,"img::src":1,"input::src":1,"ins::cite":0,"q::cite":0,"video::poster":1},i.URIEFFECTS=i.URIEFFECTS,i.ltypes={UNSANDBOXED:2,SANDBOXED:1,DATA:0},i.ltypes=i.ltypes,i.LOADERTYPES={"a::href":2,"area::href":2,"blockquote::cite":2,"command::icon":1,"del::cite":2,"form::action":2,"img::src":1,"input::src":1,"ins::cite":2,"q::cite":2,"video::poster":1},i.LOADERTYPES=i.LOADERTYPES,"i"!=="I".toLowerCase())throw"I/i problem";var o=function(e){function t(e,t){return function(e){if(C.hasOwnProperty(e))return C[e];var t=e.match(L);if(t)return String.fromCharCode(parseInt(t[1],10));if(t=e.match(M))return String.fromCharCode(parseInt(t[1],16));if(D&&A.test(e)){D.innerHTML="&"+e+";";var n=D.textContent;return C[e]=n,n}return"&"+e+";"}(t)}function i(e){return e.replace(P,t)}function o(e){return(""+e).replace(I,"&").replace(F,"<").replace(j,">").replace(N,""")}function r(e){return e.replace(O,"&$1").replace(F,"<").replace(j,">")}function s(e){var t={cdata:e.cdata||e.cdata,comment:e.comment||e.comment,endDoc:e.endDoc||e.endDoc,endTag:e.endTag||e.endTag,pcdata:e.pcdata||e.pcdata,rcdata:e.rcdata||e.rcdata,startDoc:e.startDoc||e.startDoc,startTag:e.startTag||e.startTag};return function(e,n){return function(e,t,n){l(t,function(e){var t=/(<\/|<\!--|<[!?]|[&<>])/g;if(e+="",q)return e.split(t);for(var n,i=[],o=0;null!==(n=t.exec(e));)i.push(e.substring(o,n.index)),i.push(n[0]),o=n.index+n[0].length;return i.push(e.substring(o)),i}(e),0,{noMoreGT:!1,noMoreEndComments:!1},n)}(e,t,n)}}function a(e,t,n,i,o){return function(){l(e,t,n,i,o)}}function l(t,n,i,o,r){try{t.startDoc&&0==i&&t.startDoc(r);for(var s,l,h,p=i,f=n.length;p<f;){var m=n[p++],g=n[p];switch(m){case"&":z.test(g)?(t.pcdata&&t.pcdata("&"+g,r,H,a(t,n,p,o,r)),p++):t.pcdata&&t.pcdata("&",r,H,a(t,n,p,o,r));break;case"</":(s=/^([-\w:]+)[^\'\"]*/.exec(g))?s[0].length===g.length&&">"===n[p+1]?(p+=2,h=s[1].toLowerCase(),t.endTag&&t.endTag(h,r,H,a(t,n,p,o,r))):p=u(n,p,t,r,H,o):t.pcdata&&t.pcdata("</",r,H,a(t,n,p,o,r));break;case"<":if(s=/^([-\w:]+)\s*\/?/.exec(g))if(s[0].length===g.length&&">"===n[p+1]){p+=2,h=s[1].toLowerCase(),t.startTag&&t.startTag(h,[],r,H,a(t,n,p,o,r));var _=e.ELEMENTS[h];_&$&&(p=d(n,{name:h,next:p,eflags:_},t,r,H,o))}else p=c(n,p,t,r,H,o);else t.pcdata&&t.pcdata("<",r,H,a(t,n,p,o,r));break;case"<!--":if(!o.noMoreEndComments){for(l=p+1;l<f&&(">"!==n[l]||!/--$/.test(n[l-1]));l++);if(l<f){if(t.comment){var v=n.slice(p,l).join("");t.comment(v.substr(0,v.length-2),r,H,a(t,n,l+1,o,r))}p=l+1}else o.noMoreEndComments=!0}o.noMoreEndComments&&t.pcdata&&t.pcdata("<!--",r,H,a(t,n,p,o,r));break;case"<!":if(/^\w/.test(g)){if(!o.noMoreGT){for(l=p+1;l<f&&">"!==n[l];l++);l<f?p=l+1:o.noMoreGT=!0}o.noMoreGT&&t.pcdata&&t.pcdata("<!",r,H,a(t,n,p,o,r))}else t.pcdata&&t.pcdata("<!",r,H,a(t,n,p,o,r));break;
14case"<?":if(!o.noMoreGT){for(l=p+1;l<f&&">"!==n[l];l++);l<f?p=l+1:o.noMoreGT=!0}o.noMoreGT&&t.pcdata&&t.pcdata("<?",r,H,a(t,n,p,o,r));break;case">":t.pcdata&&t.pcdata(">",r,H,a(t,n,p,o,r));break;case"":break;default:t.pcdata&&t.pcdata(m,r,H,a(t,n,p,o,r))}}t.endDoc&&t.endDoc(r)}catch(e){if(e!==H)throw e}}function u(e,t,n,i,o,r){var s=h(e,t);return s?(n.endTag&&n.endTag(s.name,i,o,a(n,e,t,r,i)),s.next):e.length}function c(e,t,n,i,o,r){var s=h(e,t);return s?(n.startTag&&n.startTag(s.name,s.attrs,i,o,a(n,e,s.next,r,i)),s.eflags&$?d(e,s,n,i,o,r):s.next):e.length}function d(t,n,i,o,s,l){var u=t.length;B.hasOwnProperty(n.name)||(B[n.name]=new RegExp("^"+n.name+"(?:[\\s\\/]|$)","i"));for(var c=B[n.name],d=n.next,h=n.next+1;h<u&&("</"!==t[h-1]||!c.test(t[h]));h++);h<u&&(h-=1);var p=t.slice(d,h).join("");if(n.eflags&e.eflags.CDATA)i.cdata&&i.cdata(p,o,s,a(i,t,h,l,o));else{if(!(n.eflags&e.eflags.RCDATA))throw new Error("bug");i.rcdata&&i.rcdata(r(p),o,s,a(i,t,h,l,o))}return h}function h(t,n){var i=/^([-\w:]+)/.exec(t[n]),o={};o.name=i[1].toLowerCase(),o.eflags=e.ELEMENTS[o.name];for(var r=t[n].substr(i[0].length),s=n+1,a=t.length;s<a&&">"!==t[s];s++)r+=t[s];if(!(a<=s)){for(var l=[];""!==r;)if(i=R.exec(r)){if(i[4]&&!i[5]||i[6]&&!i[7]){for(var u=i[4]||i[6],c=!1,d=[r,t[s++]];s<a;s++){if(c){if(">"===t[s])break}else 0<=t[s].indexOf(u)&&(c=!0);d.push(t[s])}if(a<=s)break;r=d.join("");continue}var h=i[1].toLowerCase(),f=i[2]?p(i[3]):"";l.push(h,f),r=r.substr(i[0].length)}else r=r.replace(/^[\s\S][^a-z\s]*/,"");return o.attrs=l,o.next=s+1,o}}function p(e){var t=e.charCodeAt(0);return 34!==t&&39!==t||(e=e.substr(1,e.length-2)),i(function(e){return e.replace(E,"")}(e))}function f(t){var n,i,r=function(e,t){i||t.push(e)};return s({startDoc:function(){n=[],i=!1},startTag:function(r,s,a){if(!i&&e.ELEMENTS.hasOwnProperty(r)){var l=e.ELEMENTS[r];if(!(l&e.eflags.FOLDABLE)){var u,c,d=t(r,s);if(!d)return void(i=!(l&e.eflags.EMPTY));if("object"!=typeof d)throw new Error("tagPolicy did not return object (old API?)");if(!("attribs"in d))throw new Error("tagPolicy gave no attribs");if(s=d.attribs,"tagName"in d?(c=d.tagName,u=e.ELEMENTS[c]):(c=r,u=l),l&e.eflags.OPTIONAL_ENDTAG){var h=n[n.length-1];!h||h.orig!==r||h.rep===c&&r===c||a.push("</",h.rep,">")}l&e.eflags.EMPTY||n.push({orig:r,rep:c}),a.push("<",c);for(var p=0,f=s.length;p<f;p+=2){var m=s[p],g=s[p+1];null!=g&&a.push(" ",m,'="',o(g),'"')}a.push(">"),l&e.eflags.EMPTY&&!(u&e.eflags.EMPTY)&&a.push("</",c,">")}}},endTag:function(t,o){if(i)i=!1;else if(e.ELEMENTS.hasOwnProperty(t)){var r=e.ELEMENTS[t];if(!(r&(e.eflags.EMPTY|e.eflags.FOLDABLE))){var s;if(r&e.eflags.OPTIONAL_ENDTAG)for(s=n.length;--s>=0;){var a=n[s].orig;if(a===t)break;if(!(e.ELEMENTS[a]&e.eflags.OPTIONAL_ENDTAG))return}else for(s=n.length;--s>=0&&n[s].orig!==t;);if(s<0)return;for(var l=n.length;--l>s;){var u=n[l].rep;e.ELEMENTS[u]&e.eflags.OPTIONAL_ENDTAG||o.push("</",u,">")}s<n.length&&(t=n[s].rep),n.length=s,o.push("</",t,">")}}},pcdata:r,rcdata:r,cdata:r,endDoc:function(e){for(;n.length;n.length--)e.push("</",n[n.length-1].rep,">")}})}function m(e,t,i,o,r){if(!r)return null;try{var s=n.parse(""+e);if(s&&(!s.hasScheme()||W.test(s.getScheme()))){var a=r(s,t,i,o);return a?a.toString():null}}catch(e){return null}return null}function g(e,t,n,i,o){if(n||e(t+" removed",{change:"removed",tagName:t}),i!==o){var r="changed";i&&!o?r="removed":!i&&o&&(r="added"),e(t+"."+n+" "+r,{change:r,tagName:t,attribName:n,oldValue:i,newValue:o})}}function _(e,t,n){var i;return i=t+"::"+n,e.hasOwnProperty(i)?e[i]:(i="*::"+n,e.hasOwnProperty(i)?e[i]:void 0)}function v(t,n){return _(e.LOADERTYPES,t,n)}function y(t,n){return _(e.URIEFFECTS,t,n)}function b(t,n,i,o,r){for(var s=0;s<n.length;s+=2){var a,l=n[s],u=n[s+1],c=u,d=null;if(a=t+"::"+l,(e.ATTRIBS.hasOwnProperty(a)||(a="*::"+l,e.ATTRIBS.hasOwnProperty(a)))&&(d=e.ATTRIBS[a]),null!==d)switch(d){case e.atype.NONE:break;case e.atype.SCRIPT:u=null,r&&g(r,t,l,c,u);break;case e.atype.STYLE:if(void 0===k){u=null,r&&g(r,t,l,c,u);break}var h=[];k(u,{declaration:function(t,n){var o=t.toLowerCase(),r=S[o];r&&(T(o,r,n,i?function(t){return m(t,e.ueffects.SAME_DOCUMENT,e.ltypes.SANDBOXED,{TYPE:"CSS",CSS_PROP:
14o},i)}:null),h.push(t+": "+n.join(" ")))}}),u=h.length>0?h.join(" ; "):null,r&&g(r,t,l,c,u);break;case e.atype.ID:case e.atype.IDREF:case e.atype.IDREFS:case e.atype.GLOBAL_NAME:case e.atype.LOCAL_NAME:case e.atype.CLASSES:u=o?o(u):u,r&&g(r,t,l,c,u);break;case e.atype.URI:u=m(u,y(t,l),v(t,l),{TYPE:"MARKUP",XML_ATTR:l,XML_TAG:t},i),r&&g(r,t,l,c,u);break;case e.atype.URI_FRAGMENT:u&&"#"===u.charAt(0)?(u=u.substring(1),null!==(u=o?o(u):u)&&void 0!==u&&(u="#"+u)):u=null,r&&g(r,t,l,c,u);break;default:u=null,r&&g(r,t,l,c,u)}else u=null,r&&g(r,t,l,c,u);n[s+1]=u}return n}function w(t,n,i){return function(o,r){if(!(e.ELEMENTS[o]&e.eflags.UNSAFE))return{attribs:b(o,r,t,n,i)};i&&g(i,o,void 0,void 0,void 0)}}function x(e,t){var n=[];return f(t)(e,n),n.join("")}var k,T,S;"undefined"!=typeof window&&(k=window.parseCssDeclarations,T=window.sanitizeCssProperty,S=window.cssSchema);var C={lt:"<",LT:"<",gt:">",GT:">",amp:"&",AMP:"&",quot:'"',apos:"'",nbsp:" "},L=/^#(\d+)$/,M=/^#x([0-9A-Fa-f]+)$/,A=/^[A-Za-z][A-za-z0-9]+$/,D="undefined"!=typeof window&&window.document?window.document.createElement("textarea"):null,E=/\0/g,P=/&(#[0-9]+|#[xX][0-9A-Fa-f]+|\w+);/g,z=/^(#[0-9]+|#[xX][0-9A-Fa-f]+|\w+);/,I=/&/g,O=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi,F=/[<]/g,j=/>/g,N=/\"/g,R=new RegExp("^\\s*([-.:\\w]+)(?:\\s*(=)\\s*((\")[^\"]*(\"|$)|(')[^']*('|$)|(?=[a-z][-\\w]
14*\\s*=)|[^\"'\\s]*))?","i"),q=3==="a,b".split(/(,)/).length,$=e.eflags.CDATA|e.eflags.RCDATA,H={},B={},W=/^(?:https?|mailto|data)$/i,U={};return U.escapeAttrib=U.escapeAttrib=o,U.makeHtmlSanitizer=U.makeHtmlSanitizer=f,U.makeSaxParser=U.makeSaxParser=s,U.makeTagPolicy=U.makeTagPolicy=w,U.normalizeRCData=U.normalizeRCData=r,U.sanitize=U.sanitize=function(e,t,n,i){return x(e,w(t,n,i))},U.sanitizeAttribs=U.sanitizeAttribs=b,U.sanitizeWithPolicy=U.sanitizeWithPolicy=x,U.unescapeEntities=U.unescapeEntities=i,U}(i).sanitize;i.ATTRIBS["*::style"]=0,i.ELEMENTS.style=0,i.ATTRIBS["a::target"]=0,i.ELEMENTS.video=0,i.ATTRIBS["video::src"]=0,i.ATTRIBS["video::poster"]=0,i.ATTRIBS["video::controls"]=0,i.ELEMENTS.audio=0,i.ATTRIBS["audio::src"]=0,i.ATTRIBS["video::autoplay"]=0,i.ATTRIBS["video::controls"]=0,void 0!==t&&(t.exports=o)},{}],6:[function(e,t){t.exports={author:"Mapbox",name:"mapbox.js",description:"Mapbox plugin for Leaflet",version:"3.2.1",homepage:"http://mapbox.com/",repository:{type:"git",url:"git://github.com/mapbox/mapbox.js.git"},main:"src/index.js",files:["dist","src","*.md"],dependencies:{corslite:"0.0.7",leaflet:"1.4.0",mustache:"3.0.1","sanitize-caja":"0.1.4"},scripts:{test:"eslint src && phantomjs node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html",prepublishOnly:"npm run build",build:"make"},license:"BSD-3-Clause",devDependencies:{browserify:"^16.2.3","clean-css-cli":"^4.2.1",eslint:"^5.14.1","expect.js":"0.3.1",happen:"0.3.2",marked:"~0.6.1",minifyify:"^7.3.5",minimist:"1.2.0",mocha:"6.0.1","mocha-phantomjs-core":"2.1.2","phantomjs-prebuilt":"2.1.16",sinon:"7.2.4"},optionalDependencies:{}}},{}],7:[function(e,t){"use strict";t.exports={HTTP_URL:"http://a.tiles.mapbox.com/v4",HTTPS_URL:"https://a.tiles.mapbox.com/v4",FORCE_HTTPS:!0,REQUIRE_ACCESS_TOKEN:!0}},{}],8:[function(e,t){"use strict";var n=e("./util"),i=e("./format_url"),o=e("./request"),r=e("./marker"),s=e("./simplestyle"),a=L.FeatureGroup.extend({options:{filter:function(){return!0},sanitizer:e("sanitize-caja"),style:s.style,popupOptions:{closeButton:!1}},initialize:function(e,t){L.setOptions(this,t),this._layers={},"string"==typeof e?n.idUrl(e,this):e&&"object"==typeof e&&this.setGeoJSON(e)},setGeoJSON:function(e){return this._geojson=e,this.clearLayers(),this._initialize(e),this},getGeoJSON:function(){return this._geojson},loadURL:function(e){return this._request&&"abort"in this._request&&this._request.abort(),this._request=o(e,L.bind(function(t,i){this._request=null,t&&"abort"!==t.type?(n.log("could not load features at "+e),this.fire("error",{error:t})):i&&(this.setGeoJSON(i),this.fire("ready"))},this)),this},loadID:function(e){return this.loadURL(i("/v4/"+e+"/features.json",this.options.accessToken))},setFilter:function(e){return this.options.filter=e,this._geojson&&(this.clearLayers(),this._initialize(this._geojson)),this},getFilter:function(){return this.options.filter},_initialize:function(e){var t,n,i=L.Util.isArray(e)?e:e.features;if(i)for(t=0,n=i.length;t<n;t++)(i[t].geometries||i[t].geometry||i[t].features)&&this._initialize(i[t]);else if(this.options.filter(e)){var o={accessToken:this.options.accessToken},a=this.options.pointToLayer||function(e,t){return r.style(e,t,o)},l=L.GeoJSON.geometryToLayer(e,{pointToLayer:a}),u=r.createPopup(e,this.options.sanitizer),c=this.options.style,d=c===s.style;!(c&&"setStyle"in l)||d&&(l instanceof L.Circle||l instanceof L.CircleMarker)||("function"==typeof c&&(c=c(e)),l.setStyle(c)),l.feature=e,u&&l.bindPopup(u,this.options.popupOptions),this.addLayer(l)}}});t.exports.FeatureLayer=a,t.exports.featureLayer=function(e,t){return new a(e,t)}},{"./format_url":10,"./marker":23,"./request":24,"./simplestyle":26,"./util":29,"sanitize-caja":4}],9:[function(e,t){"use strict";var n=L.Class.extend({includes:L.Evented.prototype||L.Mixin.Events,data:{},record:function(e){L.extend(this.data,e),this.fire("change")}});t.exports=new n},{}],10:[function(e,t){"use strict";var n=e("./config"),i=e("../package.json").version;t.exports=function(e,t){if(!(t=t||L.mapbox.accessToken)&&n.REQUIRE_ACCESS_TOKEN)throw new Error("An API access token is required to use Mapbox.js. See https://www.mapbox.com/mapbox.js/api/v"+i+"/api-access-tokens/");var o="https:"===document.location.protocol||n.FORCE_HTTPS?n.HTTPS_URL:n.HTTP_URL;if(o=o.replace(/\/v4$/,""),o+=e,n.REQUIRE_ACCESS_TOKEN){if("s"===t[0])throw new Error("Use a public access token (pk.*) with Mapbox.js, not a secret access token (sk.*). See https://www.mapbox.com/mapbox.js/api/v"+i+"/api-access-tokens/");o+=-1!==o.indexOf("?")?"&access_token=":"?access_token=",o+=t}return o},t.exports.tileJSON=function(e,n){if(0===e.indexOf("mapbox://styles"))throw new Error("Styles created with Mapbox Studio need to be used with L.mapbox.styleLayer, not L.mapbox.tileLayer");if(-1!==e.indexOf("/"))return e;var i=t.exports("/v4/"+e+".json",n);return 0===i.indexOf("https")&&(i+="&secure"),i},t.exports.style=function(e,n){if(-1===e.indexOf("mapbox://styles/"))throw new Error("Incorrectly formatted Mapbox style at "+e);var i=e.split("mapbox://styles/")[1];return t.exports("/styles/v1/"+i,n)}},{"../package.json":6,"./config":7}],11:[function(e,t){"use strict";var n=e("./util"),i=e("./format_url"),o=e("./feedback"),r=e("./request");t.exports=function(e,t){function s(e,t){var n=Math.pow(10,t);return e.lat=Math.round(e.lat*n)/n,e.lng=Math.round(e.lng*n)/n,e}t||(t={});var a={};return n.strict(e,"string"),-1===e.indexOf("/")&&(e=i("/geocoding/v5/"+e+"/{query}.json",t.accessToken,5)),a.getURL=function(){return e},a.queryURL=function(e){var t=L.Util.isArray,n=!(t(e)||"string"==typeof e),i=n?e.query:e;if(t(i)){for(var r=[],l=0;l<i.length;l++)r[l]=encodeURIComponent(i[l]);i=r.join(";")}else i=encodeURIComponent(i);o.record({geocoding:i});var u=L.Util.template(a.getURL(),{query:i});if(n){if(e.types&&(t(e.types)?u+="&types="+e.types.join():u+="&types="+e.types),e.country&&(t(e.country)?u+="&country="+e.country.join():u+="&country="+e.country),e.bbox&&(t(e.bbox)?u+="&bbox="+e.bbox.join():u+="&bbox="+e.bbox),e.proximity){var c=s(L.latLng(e.proximity),3);u+="&proximity="+c.lng+","+c.lat}"boolean"==typeof e.autocomplete&&(u+="&autocomplete="+e.autocomplete)}return u},a.query=function(e,t){return n.strict(t,"function"),r(a.queryURL(e),function(e,i){if(i&&(i.length||i.features)){var o={results:i};i.features&&i.features.length&&(o.latlng=[i.features[0].center[1],i.features[0].center[0]],i.features[0].bbox&&(o.bounds=i.features[0].bbox,o.lbounds=n.lbounds(o.bounds))),t(null,o)}else t(e||!0)}),a},a.reverseQuery=function(e,t){function n(e){var t;return(t=s(t=void 0!==e.lat&&void 0!==e.lng?L.latLng(e.lat,e.lng):void 0!==e.lat&&void 0!==e.lon?L.latLng(e.lat,e.lon):L.latLng(e[1],e[0]),5)).lng+","+t.lat}var i="";if(e.length&&e[0].length){for(var o=0,l=[];o<e.length;o++)l.push(n(e[o]));i=l.join(";")}else i=n(e);return r(a.queryURL(i),function(e,n){t(e,n)}),a},a}}
14,{"./feedback":9,"./format_url":10,"./request":24,"./util":29}],12:[function(e,t){"use strict";var n=e("./geocoder"),i=e("./util"),o=L.Control.extend({includes:L.Evented.prototype||L.Mixin.Events,options:{proximity:!0,position:"topleft",pointZoom:16,keepOpen:!1,autocomplete:!1,queryOptions:{}},initialize:function(e,t){L.Util.setOptions(this,t),this.setURL(e),this._updateSubmit=L.bind(this._updateSubmit,this),this._updateAutocomplete=L.bind(this._updateAutocomplete,this),this._chooseResult=L.bind(this._chooseResult,this)},setURL:function(e){return this.geocoder=n(e,{accessToken:this.options.accessToken}),this},getURL:function(){return this.geocoder.getURL()},setID:function(e){return this.setURL(e)},setTileJSON:function(e){return this.setURL(e.geocoder)},_toggle:function(e){e&&L.DomEvent.stop(e),L.DomUtil.hasClass(this._container,"active")?(L.DomUtil.removeClass(this._container,"active"),this._results.innerHTML="",this._input.blur()):(L.DomUtil.addClass(this._container,"active"),this._input.focus(),this._input.select())},_closeIfOpen:function(){L.DomUtil.hasClass(this._container,"active")&&!this.options.keepOpen&&(L.DomUtil.removeClass(this._container,"active"),this._results.innerHTML="",this._input.blur())},onAdd:function(e){var t=L.DomUtil.create("div","leaflet-control-mapbox-geocoder leaflet-bar leaflet-control"),n=L.DomUtil.create("a","leaflet-control-mapbox-geocoder-toggle mapbox-icon mapbox-icon-geocoder",t),i=L.DomUtil.create("div","leaflet-control-mapbox-geocoder-results",t),o=L.DomUtil.create("div","leaflet-control-mapbox-geocoder-wrap",t),r=L.DomUtil.create("form","leaflet-control-mapbox-geocoder-form",o),s=L.DomUtil.create("input","",r);return n.href="#",n.innerHTML=" ",s.type="text",s.setAttribute("placeholder","Search"),L.DomEvent.addListener(r,"submit",this._geocode,this),L.DomEvent.addListener(s,"keyup",this._autocomplete,this),L.DomEvent.disableClickPropagation(t),this._map=e,this._results=i,this._input=s,this._form=r,this.options.keepOpen?L.DomUtil.addClass(t,"active"):(this._map.on("click",this._closeIfOpen,this),L.DomEvent.addListener(n,"click",this._toggle,this)),t},_updateSubmit:function(e,t){if(L.DomUtil.removeClass(this._container,"searching"),this._results.innerHTML="",e||!t)this.fire("error",{error:e});else{var n=[];t.results&&t.results.features&&(n=t.results.features),1===n.length?(this.fire("autoselect",{feature:n[0]}),this.fire("found",{results:t.results}),this._chooseResult(n[0]),this._closeIfOpen()):n.length>1?(this.fire("found",{results:t.results}),this._displayResults(n)):(this.fire("notfound"),this._displayResults(n))}},_updateAutocomplete:function(e,t){if(this._results.innerHTML="",e||!t)this.fire("error",{error:e});else{var n=[];t.results&&t.results.features&&(n=t.results.features),n.length?this.fire("found",{results:t.results}):this.fire("notfound"),this._displayResults(n)}},_displayResults:function(e){for(var t=0,n=Math.min(e.length,5);t<n;t++){var i=e[t],o=i.place_name;if(o.length){var r=L.DomUtil.create("a","",this._results);r["innerText"in r?"innerText":"textContent"]=o,r.setAttribute("title",o),r.href="#",L.bind(function(e){L.DomEvent.addListener(r,"click",function(t){this._chooseResult(e),L.DomEvent.stop(t),this.fire("select",{feature:e})},this)},this)(i)}}e.length>5&&(L.DomUtil.create("span","",this._results).innerHTML="Top 5 of "+e.length+" results")},_chooseResult:function(e){e.bbox?this._map.fitBounds(i.lbounds(e.bbox)):e.center&&this._map.setVie
14w([e.center[1],e.center[0]],void 0===this._map.getZoom()?this.options.pointZoom:Math.max(this._map.getZoom(),this.options.pointZoom))},_geocode:function(e){if(L.DomEvent.preventDefault(e),""===this._input.value)return this._updateSubmit();L.DomUtil.addClass(this._container,"searching"),this.geocoder.query(L.Util.extend({query:this._input.value,proximity:!!this.options.proximity&&this._map.getCenter()},this.options.queryOptions),this._updateSubmit)},_autocomplete:function(){if(this.options.autocomplete)return""===this._input.value?this._updateAutocomplete():void this.geocoder.query(L.Util.extend({query:this._input.value,proximity:!!this.options.proximity&&this._map.getCenter()},this.options.queryOptions),this._updateAutocomplete)}});t.exports.GeocoderControl=o,t.exports.geocoderControl=function(e,t){return new o(e,t)}},{"./geocoder":11,"./util":29}],13:[function(e,t){"use strict";t.exports=function(e){return function(t,n){if(e){var i=function(e){return e>=93&&e--,e>=35&&e--,e-32}(e.grid[n].charCodeAt(t)),o=e.keys[i];return e.data[o]}}}},{}],14:[function(e,t){"use strict";var n=e("./util"),i=e("mustache"),o=L.Control.extend({options:{pinnable:!0,follow:!1,sanitizer:e("sanitize-caja"),touchTeaser:!0,location:!0},_currentContent:"",_pinned:!1,initialize:function(e,t){L.Util.setOptions(this,t),n.strict_instance(e,L.Class,"L.mapbox.gridLayer"),this._layer=e},setTemplate:function(e){return n.strict(e,"string"),this.options.template=e,this},_template:function(e,t){if(t){var n=this.options.template||this._layer.getTileJSON().template;if(n){var o={};return o["__"+e+"__"]=!0,this.options.sanitizer(i.to_html(n,L.extend(o,t)))}}},_show:function(e,t){e!==this._currentContent&&(this._currentContent=e,this.options.follow?(this._popup.setContent(e).setLatLng(t.latLng),this._map._popup!==this._popup&&this._popup.openOn(this._map)):(this._container.style.display="block",this._contentWrapper.innerHTML=e))},hide:function(){return this._pinned=!1,this._currentContent="",this._map.closePopup(),this._container.style.display="none",this._contentWrapper.innerHTML="",L.DomUtil.removeClass(this._container,"closable"),this},_mouseover:function(e){if(e.data?L.DomUtil.addClass(this._map._container,"map-clickable"):L.DomUtil.removeClass(this._map._container,"map-clickable"),!this._pinned){var t=this._template("teaser",e.data);t?this._show(t,e):this.hide()}},_mousemove:function(e){this._pinned||this.options.follow&&this._popup.setLatLng(e.latLng)},_navigateTo:function(e){window.top.location.href=e},_click:function(e){var t=this._template("location",e.data);if(this.options.location&&t&&0===t.search(/^https?:/))return this._navigateTo(this._template("location",e.data));if(this.options.pinnable){var n=this._template("full",e.data);!n&&this.options.touchTeaser&&L.Browser.touch&&(n=this._template("teaser",e.data)),n?(L.DomUtil.addClass(this._container,"closable"),this._pinned=!0,this._show(n,e)):this._pinned&&(L.DomUtil.removeClass(this._container,"closable"),this._pinned=!1,this.hide())}},_onPopupClose:function(){this._currentContent=null,this._pinned=!1}
14,_createClosebutton:function(e,t){var n=L.DomUtil.create("a","close",e);return n.innerHTML="close",n.href="#",n.title="close",L.DomEvent.on(n,"click",L.DomEvent.stopPropagation).on(n,"mousedown",L.DomEvent.stopPropagation).on(n,"dblclick",L.DomEvent.stopPropagation).on(n,"click",L.DomEvent.preventDefault).on(n,"click",t,this),n},onAdd:function(e){this._map=e;var t=L.DomUtil.create("div","leaflet-control-grid map-tooltip"),n=L.DomUtil.create("div","map-tooltip-content");return t.style.display="none",this._createClosebutton(t,this.hide),t.appendChild(n),this._contentWrapper=n,this._popup=new L.Popup({autoPan:!1,closeOnClick:!1}),e.on("popupclose",this._onPopupClose,this),L.DomEvent.disableClickPropagation(t).addListener(t,"mousewheel",L.DomEvent.stopPropagation),this._layer.on("mouseover",this._mouseover,this).on("mousemove",this._mousemove,this).on("click",this._click,this),t},onRemove:function(e){e.off("popupclose",this._onPopupClose,this),this._layer.off("mouseover",this._mouseover,this).off("mousemove",this._mousemove,this).off("click",this._click,this)}});t.exports.GridControl=o,t.exports.gridControl=function(e,t){return new o(e,t)}},{"./util":29,mustache:3,"sanitize-caja":4}],15:[function(e,t){"use strict";var n=e("./util"),i=e("./request"),o=e("./grid"),r=L.Layer.extend({includes:[e("./load_tilejson")],options:{template:function(){return""}},_mouseOn:null,_tilejson:{},_cache:{},initialize:function(e,t){L.Util.setOptions(this,t),this._loadTileJSON(e)},_setTileJSON:function(e){return n.strict(e,"object"),L.extend(this.options,{grids:e.grids,minZoom:e.minzoom,maxZoom:e.maxzoom,bounds:e.bounds&&n.lbounds(e.bounds)}),this._tilejson=e,this._cache={},this._update(),this},getTileJSON:function(){return this._tilejson},active:function(){return!!(this._map&&this.options.grids&&this.options.grids.length)},onAdd:function(e){this._map=e,this._update(),this._map.on("click",this._click,this).on("mousemove",this._move,this).on("moveend",this._update,this)},onRemove:function(){this._map.off("click",this._click,this).off("mousemove",this._move,this).off("moveend",this._update,this)},getData:function(e,t){if(this.active()){var n=this._map,i=n.project(e.wrap()),o=Math.floor(i.x/256),r=Math.floor(i.y/256),s=n.options.crs.scale(n.getZoom())/256;return o=(o+s)%s,r=(r+s)%s,this._getTile(n.getZoom(),o,r,function(e){var n=Math.floor((i.x-256*o)/4),s=Math.floor((i.y-256*r)/4);t(e(n,s))}),this}},_click:function(e){this.getData(e.latlng,L.bind(function(t){this.fire("click",{latLng:e.latlng,data:t})},this))},_move:function(e){this.getData(e.latlng,L.bind(function(t){t!==this._mouseOn?(this._mouseOn&&this.fire("mouseout",{latLng:e.latlng,data:this._mouseOn}),this.fire("mouseover",{latLng:e.latlng,data:t}),this._mouseOn=t):this.fire("mousemove",{latLng:e.latlng,data:t})},this))},_getTileURL:function(e){var t=this.options.grids,n=t[(e.x+e.y)%t.length];return L.Util.template(n,e)},_update:function(){if(this.active()){var e=this._map.getPixelBounds(),t=this._map.getZoom();if(!(t>this.options.maxZoom||t<this.options.minZoom))for(var n=L.bounds(e.min.divideBy(256)._floor(),e.max.divideBy(256)._floor()),i=this._map.options.crs.scale(t)/256,o=n.min.x;o<=n.max.x;o++)for(var r=n.min.y;r<=n.max.y;r++)this._getTile(t,(o%i+i)%i,(r%i+i)%i)}},_getTile:function(e,t,n,r){var s=e+"_"+t+"_"+n,a=L.point(t,n);if(a.z=e,this._tileShouldBeLoaded(a)){if(s in this._cache){if(!r)return;return void("function"==typeof this._cache[s]?r(this._cache[s]):this._cache[s].push(r))}this._cache[s]=[],r&&this._cache[s].push(r),i(this._getTileURL(a),L.bind(function(e,t){var n=this._cache[s];this._cache[s]=o(t);for(var i=0;i<n.length;++i)n[i](this._cache[s])},this))}},_tileShouldBeLoaded:function(e){if(e.z>this.options.maxZoom||e.z<this.options.minZoom)return!1;if(this.options.bounds){var t=e.multiplyBy(256),n=t.add(new L.Point(256,256)),i=this._map.unproject(t),o=this._map.unproject(n),r=new L.LatLngBounds([i,o]);if(!this.options.bounds.intersects(r))return!1}return!0}});t.exports.GridLayer=r,t.exports.gridLayer=function(e,t){return new r(e,t)}}
14,{"./grid":13,"./load_tilejson":19,"./request":24,"./util":29}],16:[function(e,t){"use strict";var n=e("./leaflet");e("./mapbox"),t.exports=n},{"./leaflet":17,"./mapbox":21}],17:[function(e,t){t.exports=window.L=e("leaflet/dist/leaflet-src")},{"leaflet/dist/leaflet-src":2}],18:[function(e,t){"use strict";var n=L.Control.extend({options:{position:"bottomright",sanitizer:e("sanitize-caja")},initialize:function(e){L.setOptions(this,e), 15this._legends={}},onAdd:function(){return this._container=L.DomUtil.create("div","map-legends wax-legends"),L.DomEvent.disableClickPropagation(this._container),this._update(),this._container},addLegend:function(e){return e?(this._legends[e]||(this._legends[e]=0),this._legends[e]++,this._update()):this},removeLegend:function(e){return e?(this._legends[e]&&this._legends[e]--,this._update()):this},_update:function(){if(!this._map)return this;this._container.innerHTML="";var e="none";for(var t in this._legends)this._legends.hasOwnProperty(t)&&this._legends[t]&&(L.DomUtil.create("div","map-legend wax-legend",this._container).innerHTML=this.options.sanitizer(t),e="block");return this._container.style.display=e,this}});t.exports.LegendControl=n,t.exports.legendControl=function(e){return new n(e)}},{"sanitize-caja":4}],19:[function(e,t){"use strict";var n=e("./request"),i=e("./format_url"),o=e("./util");t.exports={_loadTileJSON:function(e){"string"==typeof e?(e=i.tileJSON(e,this.options&&this.options.accessToken),n(e,L.bind(function(t,n){t?(o.log("could not load TileJSON at "+e),this.fire("error",{error:t})):n&&(this._setTileJSON(n),this.fire("ready"))},this))):e&&"object"==typeof e&&this._setTileJSON(e)}}}
15,{"./format_url":10,"./request":24,"./util":29}],20:[function(e,t){"use strict";function n(e,t){return!t||e.accessToken?e:L.extend({accessToken:t},e)}var i=e("./tile_layer").tileLayer,o=e("./feature_layer").featureLayer,r=e("./grid_layer").gridLayer,s=e("./grid_control").gridControl,a=e("./share_control").shareControl,l=e("./legend_control").legendControl,u=e("./mapbox_logo").mapboxLogoControl,c=e("./feedback"),d=L.Map.extend({includes:[e("./load_tilejson")],options:{tileLayer:{},featureLayer:{},gridLayer:{},legendControl:{},gridControl:{},shareControl:!1,sanitizer:e("sanitize-caja")},_tilejson:{},initialize:function(e,t,d){if(L.Map.prototype.initialize.call(this,e,L.extend({},L.Map.prototype.options,d)),this.attributionControl){this.attributionControl.setPrefix("");var h=this.options.attributionControl.compact;(h||!1!==h&&this._container.offsetWidth<=640)&&L.DomUtil.addClass(this.attributionControl._container,"leaflet-compact-attribution"),void 0===h&&this.on("resize",function(){this._container.offsetWidth>640?L.DomUtil.removeClass(this.attributionControl._container,"leaflet-compact-attribution"):L.DomUtil.addClass(this.attributionControl._container,"leaflet-compact-attribution")})}this.options.tileLayer&&(this.tileLayer=i(void 0,n(this.options.tileLayer,this.options.accessToken)),this.addLayer(this.tileLayer)),this.options.featureLayer&&(this.featureLayer=o(void 0,n(this.options.featureLayer,this.options.accessToken)),this.addLayer(this.featureLayer)),this.options.gridLayer&&(this.gridLayer=r(void 0,n(this.options.gridLayer,this.options.accessToken)),this.addLayer(this.gridLayer)),this.options.gridLayer&&this.options.gridControl&&(this.gridControl=s(this.gridLayer,this.options.gridControl),this.addControl(this.gridControl)),this.options.legendControl&&(this.legendControl=l(this.options.legendControl),this.addControl(this.legendControl)),this.options.shareControl&&(this.shareControl=a(void 0,n(this.options.shareControl,this.options.accessToken)),this.addControl(this.shareControl)),this._mapboxLogoControl=u(this.options.mapboxLogoControl),this.addControl(this._mapboxLogoControl),this._loadTileJSON(t),this.on("layeradd",this._onLayerAdd,this).on("layerremove",this._onLayerRemove,this).on("moveend",this._updateMapFeedbackLink,this),this.whenReady(function(){c.on("change",this._updateMapFeedbackLink,this)}),this.on("unload",function(){c.off("change",this._updateMapFeedbackLink,this)})},_setTileJSON:function(e){return this._tilejson=e,this._initialize(e),this},getTileJSON:function(){return this._tilejson},_initialize:function(e){if(this.tileLayer&&(this.tileLayer._setTileJSON(e),this._updateLayer(this.tileLayer)),this.featureLayer&&!this.featureLayer.getGeoJSON()&&e.data&&e.data[0]&&this.featureLayer.loadURL(e.data[0]),this.gridLayer&&(this.gridLayer._setTileJSON(e),this._updateLayer(this.gridLayer)),this.legendControl&&e.legend&&this.legendControl.addLegend(e.legend),this.shareControl&&this.shareControl._setTileJSON(e),this._mapboxLogoControl._setTileJSON(e),!this._loaded&&e.center){var t=void 0!==this.getZoom()?this.getZoom():e.center[2],n=L.latLng(e.center[1],e.center[0]);this.setView(n,t)}},_updateMapFeedbackLink:function(){if(this._controlContainer.getElementsByClassName){var e=this._controlContainer.getElementsByClassName("mapbox-improve-map");if(e.length&&this._loaded){var t=this.getCenter().wrap(),n="#"+((this._tilejson||{}).id||"")+"/"+t.lng.toFixed(3)+"/"+t.lat.toFixed(3)+"/"+this.getZoom();for(var i in c.data)n+="/"+i+"="+c.data[i];for(var o=0;o<e.length;o++)e[o].hash=n}}},_onLayerAdd:function(e){"on"in e.layer&&e.layer.on("ready",this._onLayerReady,this),window.setTimeout(L.bind(this._updateMapFeedbackLink,this),0)},_onLayerRemove:function(e){"on"in e.layer&&e.layer.off("ready",this._onLayerReady,this),window.setTimeout(L.bind(this._updateMapFeedbackLink,this),0)},_onLayerReady:function(e){this._updateLayer(e.target)},_updateLayer:function(e){e.options&&(this.attributionControl&&this._loaded&&e.getAttribution&&this.attributionControl.addAttribution(e.getAttribution()),L.stamp(e)in this._zoomBoundLayers||!e.options.maxZoom&&!e.options.minZoom||(this._zoomBoundLayers[L.stamp(e)]=e),this._updateMapFeedbackLink(),this._updateZoomLevels())}});t.exports.Map=d,t.exports.map=function(e,t,n){return new d(e,t,n)}},{"./feature_layer":8,"./feedback":9,"./grid_control":14,"./grid_layer":15,"./legend_control":18,"./load_tilejson":19,"./mapbox_logo":22,"./share_control":25,"./tile_layer":28,"sanitize-caja":4}],21:[function(e,t){"use strict";var n=e("./geocoder_control"),i=e("./grid_control"),o=e("./feature_layer"),r=e("./legend_control"),s=e("./share_control"),a=e("./tile_layer"),l=e("./map"),u=e("./grid_layer"),c=e("./style_layer");L.mapbox=t.exports={VERSION:e("../package.json").version,geocoder:e("./geocoder"),marker:e("./marker"),simplestyle:e("./simplestyle"),tileLayer:a.tileLayer,TileLayer:a.TileLayer,styleLayer:c.styleLayer,StyleLayer:c.StyleLayer,shareControl:s.shareControl,ShareControl:s.ShareControl,legendControl:r.legendControl,LegendControl:r.LegendControl,geocoderControl:n.geocoderControl,GeocoderControl:n.GeocoderControl,gridControl:i.gridControl,GridControl:i.GridControl,gridLayer:u.gridLayer,GridLayer:u.GridLayer,featureLayer:o.featureLayer,FeatureLayer:o.FeatureLayer,map:l.map,Map:l.Map,config:e("./config"),sanitize:e("sanitize-caja"),template:e("mustache").to_html,feedback:e("./feedback")},window.L.Icon.Default.imagePath=("https:"===document.location.protocol||"http:"===document.location.protocol?"":"https:")+"//api.tiles.mapbox.com/mapbox.js/v"+e("../package.json").version+"/images/"},{"../package.json":6,"./config":7,"./feature_layer":8,"./feedback":9,"./geocoder":11,"./geocoder_control":12,"./grid_control":14,"./grid_layer":15,"./legend_control":18,"./map":20,"./marker":23,"./share_control":25,"./simplestyle":26,"./style_layer":27,"./tile_layer":28,mustache:3,"sanitize-caja":4}],22:[function(e,t){"use strict";var n=L.Control.extend({options:{position:"bottomleft"},initialize:function(e){L.setOptions(this,e)},onAdd:function(){return this._container=L.DomUtil.create("div","mapbox-logo"),this._container},_setTileJSON:function(e){e.mapbox_logo&&L.DomUtil.addClass(this._container,"mapbox-logo-true")}});
15t.exports.MapboxLogoControl=n,t.exports.mapboxLogoControl=function(e){return new n(e)}},{}],23:[function(e,t){"use strict";function n(e,t){var n={small:[20,50],medium:[30,70],large:[35,90]},o=(e=e||{})["marker-size"]||"medium",r="marker-symbol"in e&&""!==e["marker-symbol"]?"-"+e["marker-symbol"]:"",s=(e["marker-color"]||"7e7e7e").replace("#","");return L.icon({iconUrl:i("/v4/marker/pin-"+o.charAt(0)+r+"+"+s+(L.Browser.retina?"@2x":"")+".png",t&&t.accessToken),iconSize:n[o],iconAnchor:[n[o][0]/2,n[o][1]/2],popupAnchor:[0,-n[o][1]/2]})}var i=e("./format_url"),o=e("./util"),r=e("sanitize-caja");t.exports={icon:n,style:function(e,t,i){return L.marker(t,{icon:n(e.properties,i),title:o.strip_tags(r(e.properties&&e.properties.title||""))})},createPopup:function(e,t){if(!e||!e.properties)return"";var n="";return e.properties.title&&(n+='<div class="marker-title">'+e.properties.title+"</div>"),e.properties.description&&(n+='<div class="marker-description">'+e.properties.description+"</div>"),(t||r)(n)}}},{"./format_url":10,"./util":29,"sanitize-caja":4}],24:[function(e,t){"use strict";var n=e("corslite"),i=e("./util").strict,o=e("./config"),r=/^(https?:)?(?=\/\/(.|api)\.tiles\.mapbox\.com\/)/;t.exports=function(e,t){return i(e,"string"),i(t,"function"),e=e.replace(r,function(e,t){return"withCredentials"in new window.XMLHttpRequest?"https:"===t||"https:"===document.location.protocol||o.FORCE_HTTPS?"https:":"http:":document.location.protocol}),n(e,function(e,n){!e&&n&&(n=JSON.parse(n.responseText)),t(e,n)})}},{"./config":7,"./util":29,corslite:1}],25:[function(e,t){"use strict";var n=e("./format_url"),i=L.Control.extend({includes:[e("./load_tilejson")],options:{position:"topleft",url:""},initialize:function(e,t){L.setOptions(this,t),this._loadTileJSON(e)},_setTileJSON:function(e){this._tilejson=e},onAdd:function(e){this._map=e;var t=L.DomUtil.create("div","leaflet-control-mapbox-share leaflet-bar"),n=L.DomUtil.create("a","mapbox-share mapbox-icon mapbox-icon-share",t);return n.href="#",this._modal=L.DomUtil.create("div","mapbox-modal",this._map._container),this._mask=L.DomUtil.create("div","mapbox-modal-mask",this._modal),this._content=L.DomUtil.create("div","mapbox-modal-content",this._modal),L.DomEvent.addListener(n,"click",this._shareClick,this),L.DomEvent.disableClickPropagation(t),this._map.on("mousedown",this._clickOut,this),t},_clickOut:function(e){if(this._sharing)return L.DomEvent.preventDefault(e),L.DomUtil.removeClass(this._modal,"active"),this._content.innerHTML="",void(this._sharing=null)},_shareClick:function(e){function t(e,t,n){var i=document.createElement("a");return i.setAttribute("class",e),i.setAttribute("href",t),i.setAttribute("target","_blank"),n=document.createTextNode(n),i.appendChild(n),i}if(L.DomEvent.stop(e),this._sharing)return this._clickOut(e);var i=this._tilejson||this._map._tilejson||{},o=encodeURIComponent(this.options.url||i.webpage||window.location),r=encodeURIComponent(i.name),s="//twitter.com/intent/tweet?status="+r+" "+o,a="//www.facebook.com/sharer.php?u="+o+"&t="+r,l="//www.pinterest.com/pin/create/button/?url="+o+"&media="+n("/v4/"+i.id+"/"+this._map.getCenter().lng+","+this._map.getCenter().lat+","+this._map.getZoom()+"/600x600.png",this.options.accessToken)+"&description="+r,u='<iframe width="100%" height="500px" frameBorder="0" src="'+n("/v4/"+i.id+".html",this.options.accessToken)+'"></iframe>';L.DomUtil.addClass(this._modal,"active"),this._sharing=L.DomUtil.create("div","mapbox-modal-body",this._content);var c=t("mapbox-button mapbox-button-icon mapbox-icon-twitter",s,"Twitter"),d=t("mapbox-button mapbox-button-icon mapbox-icon-facebook",a,"Facebook"),h=t("mapbox-button mapbox-button-icon mapbox-icon-pinterest",l,"Pinterest"),p=document.createElement("h3"),f=document.createTextNode("Share this map");p.appendChild(f);var m=document.createElement("div");m.setAttribute("class","mapbox-share-buttons"),m.appendChild(d),m.appendChild(c),m.appendChild(h),this._sharing.appendChild(p),this._sharing.appendChild(m);var g=L.DomUtil.create("input","mapbox-embed",this._sharing);g.type="text",g.value=u,L.DomUtil.create("label","mapbox-embed-description",this._sharing).innerHTML="Copy and paste this <strong>HTML code</strong> into documents to embed this map on web pages.";var _=L.DomUtil.create("a","leaflet-popup-close-button",this._sharing);_.href="#",L.DomEvent.disableClickPropagation(this._sharing),L.DomEvent.addListener(_,"click",this._clickOut,this),L.DomEvent.addListener(g,"click",function(e){e.target.focu
15s(),e.target.select()})}});t.exports.ShareControl=i,t.exports.shareControl=function(e,t){return new i(e,t)}},{"./format_url":10,"./load_tilejson":19}],26:[function(e,t){"use strict";var n={stroke:"#555555","stroke-width":2,"stroke-opacity":1,fill:"#555555","fill-opacity":.5},i=[["stroke","color"],["stroke-width","weight"],["stroke-opacity","opacity"],["fill","fillColor"],["fill-opacity","fillOpacity"]];t.exports={style:function(e){return function(e){for(var t={},n=0;n<i.length;n++)t[i[n][1]]=e[i[n][0]];return t}(function(e,t){var n={};for(var i in t)void 0===e[i]?n[i]=t[i]:n[i]=e[i];return n}(e.properties||{},n))},defaults:n}},{}],27:[function(e,t){"use strict";var n=e("./util"),i=e("./format_url"),o=e("./request"),r=L.TileLayer.extend({options:{sanitizer:e("sanitize-caja")},initialize:function(e,t){L.TileLayer.prototype.initialize.call(this,void 0,L.extend({},t,{tileSize:512,zoomOffset:-1,minNativeZoom:0,tms:!1})),this._url=this._formatTileURL(e),this._getAttribution(e)},_getAttribution:function(e){var t=i.style(e,this.options&&this.options.accessToken);o(t,L.bind(function(r,s){r&&(n.log("could not load Mapbox style at "+t),this.fire("error",{error:r}));var a=[];for(var l in s.sources){var u=s.sources[l].url.split("mapbox://")[1];a.push(u)}o(i.tileJSON(a.join(),this.options.accessToken),L.bind(function(t,i){t?(n.log("could not load TileJSON at "+e),this.fire("error",{error:t})):i&&(n.strict(i,"object"),this.options.attribution=this.options.sanitizer(i.attribution),this._tilejson=i,this.fire("ready"))},this))},this))},setUrl:null,_formatTileURL:function(e){if("string"==typeof e){-1===e.indexOf("mapbox://styles/")&&(n.log("Incorrectly formatted Mapbox style at "+e),this.fire("error"));var t=e.split("mapbox://styles/")[1];return i("/styles/v1/"+t+"/tiles/{z}/{x}/{y}{r}",this.options.accessToken)}if("object"==typeof e)return i("/styles/v1/"+e.owner+"/"+e.id+"/tiles/{z}/{x}/{y}{r}",this.options.accessToken)}});t.exports.StyleLayer=r,t.exports.styleLayer=function(e,t){return new r(e,t)}}
15,{"./format_url":10,"./request":24,"./util":29,"sanitize-caja":4}],28:[function(e,t){"use strict";var n=e("./util"),i=/\.((?:png|jpg)\d*)(?=$|\?)/,o=L.TileLayer.extend({includes:[e("./load_tilejson")],options:{sanitizer:e("sanitize-caja")},formats:["png","jpg","png32","png64","png128","png256","jpg70","jpg80","jpg90"],scalePrefix:"@2x.",initialize:function(e,t){L.TileLayer.prototype.initialize.call(this,void 0,t),this._tilejson={},t&&t.format&&n.strict_oneof(t.format,this.formats),this._loadTileJSON(e)},setFormat:function(e){return n.strict(e,"string"),this.options.format=e,this.redraw(),this},setUrl:null,_setTileJSON:function(e){if(n.strict(e,"object"),!this.options.format){var t=e.tiles[0].match(i);t&&(this.options.format=t[1])}return L.extend(this.options,{tiles:e.tiles,attribution:this.options.sanitizer(e.attribution),minZoom:e.minzoom||0,maxZoom:e.maxzoom||18,tms:"tms"===e.scheme,bounds:e.bounds&&n.lbounds(e.bounds)}),this._tilejson=e,this.redraw(),this},getTileJSON:function(){return this._tilejson},getTileUrl:function(e){var t=this.options.tiles,n=t[Math.floor(Math.abs(e.x+e.y)%t.length)],o=L.Util.template(n,e);return o&&this.options.format?o.replace(i,(L.Browser.retina?this.scalePrefix:".")+this.options.format):o},_update:function(){this.options.tiles&&L.TileLayer.prototype._update.call(this)}});t.exports.TileLayer=o,t.exports.tileLayer=function(e,t){return new o(e,t)}},{"./load_tilejson":19,"./util":29,"sanitize-caja":4}],29:[function(e,t){"use strict";t.exports={idUrl:function(e,t){-1===e.indexOf("/")?t.loadID(e):t.loadURL(e)},log:function(e){"object"==typeof console&&"function"==typeof console.error&&console.error(e)},strict:function(e,t){if(typeof e!==t)throw new Error("Invalid argument: "+t+" expected")},strict_instance:function(e,t,n){if(!(e instanceof t))throw new Error("Invalid argument: "+n+" expected")},strict_oneof:function(e,t){if(!function(e,t){if(!t||!t.length)return!1;for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}(e,t))throw new Error("Invalid argument: "+e+" given, valid values are "+t.join(", "))},strip_tags:function(e){return e.replace(/<[^<]+>/g,"")},lbounds:function(e){return new L.LatLngBounds([[e[1],e[0]],[e[3],e[2]]])}}},{}]},{},[16]),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.leafletPip=e()}}(function(){return function e(t,n,i){function o(s,a){if(!n[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(r)return r(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){var n=t[s][1][e];return o(n||e)},c,c.exports,e,t,n,i)}return n[s].exports}for(var r="function"==typeof require&&require,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e,t){"use strict";function n(e){return e.feature&&e.feature.geometry&&e.feature.geometry.type&&-1!==["Polygon","MultiPolygon"].indexOf(e.feature.geometry.type)}var i=e("geojson-utils"),o={bassackwards:!1,pointInLayer:function(e,t,r){"number"==typeof e.lat?e=[e.lng,e.lat]:o.bassackwards&&(e=e.concat().reverse());var s=[];return t.eachLayer(function(t){r&&s.length||n(t)&&i.pointInPolygon({type:"Point",coordinates:e},t.toGeoJSON().geometry)&&s.push(t)}),s}};t.exports=o},{"geojson-utils":2}],2:[function(e,t){!function(){function e(e){for(var t=[],n=[],i=0;i<e[0].length;i++)t.push(e[0][i][1]),n.push(e[0][i][0]);return t=t.sort(function(e,t){return e-t}),n=n.sort(function(e,t){return e-t}),[[t[0],n[0]],[t[t.length-1],n[n.length-1]]]}function n(e,t,n){for(var i=[[0,0]],o=0;o<n.length;o++){for(var r=0;r<n[o].length;r++)i.push(n[o][r]);i.push(n[o][0]),i.push([0,0])}for(var s=!1,o=0,r=i.length-1;o<i.length;r=o++)i[o][0]>t!=i[r][0]>t&&e<(i[r][1]-i[o][1])*(t-i[o][0])/(i[r][0]-i[o][0])+i[o][1]&&(s=!s);return s}var i=this.gju={};void 0!==t&&t.exports&&(t.exports=i),i.lineStringsIntersect=function(e,t){for(var n=[],i=0;i<=e.coordinates.length-2;++i)for(var o=0;o<=t.coordinates.length-2;++o){var r={x:e.coordinates[i][1],y:e.coordinates[i][0]},s={x:e.coordinates[i+1][1],y:e.coordinates[i+1][0]},a={x:t.coordinates[o][1],y:t.coordinates[o][0]},l={x:t.coordinates[o+1][1],y:t.coordinates[o+1][0]},u=(l.x-a.x)*(r.y-a.y)-(l.y-a.y)*(r.x-a.x),c=(s.x-r.x)*(r.y-a.y)-(s.y-r.y)*(r.x-a.x),d=(l.y-a.y)*(s.x-r.x)-(l.x-a.x)*(s.y-r.y);if(0!=d){var h=u/d,p=c/d;0<=h&&h<=1&&0<=p&&p<=1&&n.push({type:"Point",coordinates:[r.x+h*(s.x-r.x),r.y+h*(s.y-r.y)]})}}return 0==n.length&&(n=!1),n},i.pointInBoundingBox=function(e,t){return!(e.coordinates[1]<t[0][0]||e.coordinates[1]>t[1][0]||e.coordinates[0]<t[0][1]||e.coordinates[0]>t[1][1])},i.pointInPolygon=function(t,o){for(var r="Polygon"==o.type?[o.coordinates]:o.coordinates,s=!1,a=0;a<r.length;a++)i.pointInBoundingBox(t,e(r[a]))&&(s=!0);if(!s)return!1;for(var l=!1,a=0;a<r.length;a++)n(t.coordinates[1],t.coordinates[0],r[a])&&(l=!0);return l},i.pointInMultiPolygon=function(t,o){for(var r="MultiPolygon"==o.type?[o.coordinates]:o.coordinates,s=!1,a=!1,l=0;l<r.length;l++){for(var u=r[l],c=0;c<u.length;c++)s||i.pointInBoundingBox(t,e(u[c]))&&(s=!0);if(!s)return!1;for(var c=0;c<u.length;c++)a||n(t.coordinates[1],t.coordinates[0],u[c])&&(a=!0)}return a},i.numberToRadius=function(e){return e*Math.PI/180},i.numberToDegree=function(e){return 180*e/Math.PI},i.drawCircle=function(e,t,n){for(var o=[t.coordinates[1],t.coordinates[0]],r=e/1e3/6371,s=[i.numberToRadius(o[0]),i.numberToRadius(o[1])],n=n||15,a=[[o[0],o[1]]],l=0;l<n;l++){var u=2*Math.PI*l/n,c=Math.asin(Math.sin(s[0])*Math.cos(r)+Math.cos(s[0])*Math.sin(r)*Math.cos(u)),d=s[1]+Math.atan2(Math.sin(u)*Math.sin(r)*Math.cos(s[0]),Math.cos(r)-Math.sin(s[0])*Math.sin(c));a[l]=[],a[l][1]=i.numberToDegree(c),a[l][0]=i.numberToDegree(d)}return{type:"Polygon",coordinates:[a]}},i.rectangleCentroid=function(e){var t=e.coordinates[0],n=t[0][0],i=t[0][1];return{type:"Point",coordinates:[n+(t[2][0]-n)/2,i+(t[2][1]-i)/2]}},i.pointDistance=function(e,t){var n=e.coordinates[0],o=e.coordinates[1],r=t.coordinates[0],s=t.coordinates[1],a=i.numberToRadius(s-o),l=i.numberToRadius(r-n),u=
15Math.pow(Math.sin(a/2),2)+Math.cos(i.numberToRadius(o))*Math.cos(i.numberToRadius(s))*Math.pow(Math.sin(l/2),2);return 2*Math.atan2(Math.sqrt(u),Math.sqrt(1-u))*6371*1e3},i.geometryWithinRadius=function(e,t,n){if("Point"==e.type)return i.pointDistance(e,t)<=n;if("LineString"==e.type||"Polygon"==e.type){var o,r={};o="Polygon"==e.type?e.coordinates[0]:e.coordinates;for(var s in o)if(r.coordinates=o[s],i.pointDistance(r,t)>n)return!1}return!0},i.area=function(e){for(var t,n,i=0,o=e.coordinates[0],r=o.length-1,s=0;s<o.length;r=s++){var t={x:o[s][1],y:o[s][0]},n={x:o[r][1],y:o[r][0]};i+=t.x*n.y,i-=t.y*n.x}return i/=2},i.centroid=function(e){for(var t,n,o,r=0,s=0,a=e.coordinates[0],l=a.length-1,u=0;u<a.length;l=u++){var n={x:a[u][1],y:a[u][0]},o={x:a[l][1],y:a[l][0]};t=n.x*o.y-o.x*n.y,r+=(n.x+o.x)*t,s+=(n.y+o.y)*t}return t=6*i.area(e),{type:"Point",coordinates:[s/t,r/t]}},i.simplify=function(e,t){t=t||20,e=e.map(function(e){return{lng:e.coordinates[0],lat:e.coordinates[1]}});var n,i,o,r,s,a,l,u,c,d,h,p,f,m,g,_,v,y,b,w=Math.PI/180*.5,x=new Array,k=new Array,T=new Array;if(e.length<3)return e;for(n=e.length,d=360*t/(2*Math.PI*6378137),d*=d,o=0,k[0]=0,T[0]=n-1,i=1;i>0;)if(r=k[i-1],s=T[i-1],i--,s-r>1){for(h=e[s].lng()-e[r].lng(),p=e[s].lat()-e[r].lat(),Math.abs(h)>180&&(h=360-Math.abs(h)),h*=Math.cos(w*(e[s].lat()+e[r].lat())),f=h*h+p*p,a=r+1,l=r,c=-1;a<s;a++)m=e[a].lng()-e[r].lng(),g=e[a].lat()-e[r].lat(),Math.abs(m)>180&&(m=360-Math.abs(m)),m*=Math.cos(w*(e[a].lat()+e[r].lat())),_=m*m+g*g,v=e[a].lng()-e[s].lng(),y=e[a].lat()-e[s].lat(),Math.abs(v)>180&&(v=360-Math.abs(v)),v*=Math.cos(w*(e[a].lat()+e[s].lat())),b=v*v+y*y,(u=_>=f+b?b:b>=f+_?_:(m*p-g*h)*(m*p-g*h)/f)>c&&(l=a,c=u);c<d?(x[o]=r,o++):(i++,k[i-1]=l,T[i-1]=s,i++,k[i-1]=r,T[i-1]=l)}else x[o]=r,o++;x[o]=n-1,o++;for(var S=new Array,a=0;a<o;a++)S.push(e[x[a]]);return S.map(function(e){return{type:"Point",coordinates:[e.lng,e.lat]}})},i.destinationPoint=function(e,t,n){n/=6371,t=i.numberToRadius(t);var o=i.numberToRadius(e.coordinates[0]),r=i.numberToRadius(e.coordinates[1]),s=Math.asin(Math.sin(r)*Math.cos(n)+Math.cos(r)*Math.sin(n)*Math.cos(t)),a=o+Math.atan2(Math.sin(t)*Math.sin(n)*Math.cos(r),Math.cos(n)-Math.sin(r)*Math.sin(s));return a=(a+3*Math.PI)%(2*Math.PI)-Math.PI,{type:"Point",coordinates:[i.numberToDegree(a),i.numberToDegree(s)]}}}()},{}]},{},[1])(1)}),function(e,t){L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,polygonOptions:{}},initialize:function(e){L.Util.setOptions(this,e),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.on(L.FeatureGroup.EVENTS,this._propagateEvent,this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.on(L.FeatureGroup.EVENTS,this._propagateEvent,this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[]},addLayer:function(e){if(e instanceof L.LayerGroup){var t=[];for(var n in e._layers)t.push(e._layers[n]);return this.addLayers(t)}if(!e.getLatLng)return this._nonPointGroup.addLayer(e),this;if(!this._map)return this._needsClustering.push(e),this;if(this.hasLayer(e))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(e,this._maxZoom);var i=e,o=this._map.getZoom();if(e.__parent)for(;i.__parent._zoom>=o;)i=i.__parent;return this._currentShownBounds.contains(i.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(e,i):this._animationAddLayerNonAnimated(e,i)),this},removeLayer:function(e){if(e instanceof L.LayerGroup){var t=[];for(var n in e._layers)t.push(e._layers[n]);return this.removeLayers(t)}return e.getLatLng?this._map?e.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(e)),this._removeLayer(e,!0),this._featureGroup.hasLayer(e)&&(this._featureGroup.removeLayer(e),e.setOpacity&&e.setOpacity(1)),this):this:(!this._arraySplice(this._needsClustering,e)&&this.hasLayer(e)&&this._needsRemoving.push(e),this):(this._nonPointGroup.removeLayer(e),this)},addLayers:function(e){var t,n,i,o=this._map,r=this._featureGroup,s=this._nonPointGroup;for(t=0,n=e.length;n>t;t++)if(i=e[t],i.getLatLng){if(!this.hasLayer(i))if(o){if(this._addLayer(i,this._maxZoom),i.__parent&&2===i.__parent.getChildCount()){var a=i.__parent.getAllChildMarkers(),l=a[0]===i?a[1]:a[0];r.removeLayer(l)}}else this._needsClustering.push(i)}else s.addLayer(i);return o&&(r.eachLayer(function(e){e instanceof L.MarkerCluster&&e._iconNeedsUpdate&&e._updateIcon()}),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)),this},removeLayers:function(e){var t,n,i,o=this._featureGroup,r=this._nonPointGroup;if(!this._map){for(t=0,n=e.length;n>t;t++)i=e[t],this._arraySplice(this._needsClustering,i),r.removeLayer(i);return this}for(t=0,n=e.length;n>t;t++)i=e[t],i.__parent?(this._removeLayer(i,!0,!0),o.hasLayer(i)&&(o.removeLayer(i),i.setOpacity&&i.setOpacity(1))):r.removeLayer(i);return this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),o.eachLayer(function(e){e instanceof L.MarkerCluster&&e._updateIcon()}),this},clearLayers:function(){return this._map||(this._needsClustering=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(e){delete e.__parent}),this._map&&this._generateInitialClusters(),this},getBounds:function(){var e=new L.LatLngBounds;if(this._topClusterLevel)e.extend(this._topClusterLevel._bounds);else for(var t=this._needsClustering.length-1;t>=0;t--)e.extend(this._needsClustering[t].getLatLng());return e.extend(this._nonPointGroup.getBounds()),e},eachLayer:function(e,t){var n,i=this._needsClustering.slice();for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(i),n=i.length-1;n>=0;n--)e.call(t,i[n]);this._nonPointGroup.eachLayer(e,t)},getLayers:function(){var e=[];return this.eachLayer(function(t){e.push(t)}),e},getLayer:function(e){var t=null;return this.eachLayer(function(n){L.stamp(n)===e&&(t=n)}),t},hasLayer:function(e){if(!e)return!1;var t,n=this._needsClustering;for(t=n.length-1;t>=0;t--)if(n[t]===e)return!0;for(n=this._needsRemoving,t=n.length-1;t>=0;t--)if(n[t]===e)return!1;return!(!e.__parent||e.__parent._group!==this)||this._nonPointGroup.hasLayer(e)},zoomToShowLayer:function(e,t){var n=function(){if((e._icon||e.__parent._icon)&&!this._inZoomAnimation)if(this._map.off("moveend",n,this),this.off("animationend",n,this),e._icon)t();else if(e.__parent._icon){var i=function(){this.off("spiderfied",i,this),t()};this.on("spiderfied",i,this),e.__parent.spiderfy()}};e._icon&&this._map.getBounds().contains(e.getLatLng())?t():e.__parent._zoom<this._map.getZoom()?(this._map.on("moveend",n,this),this._map.panTo(e.getLatLng())):(this._map.on("moveend",n,this),this.on("animationend",n,this),this._map.setVie
15w(e.getLatLng(),e.__parent._zoom+1),e.__parent.zoomToBounds())},onAdd:function(e){this._map=e;var t,n,i;if(!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.onAdd(e),this._nonPointGroup.onAdd(e),this._gridClusters||this._generateInitialClusters(),t=0,n=this._needsRemoving.length;n>t;t++)i=this._needsRemoving[t],this._removeLayer(i,!0);for(this._needsRemoving=[],t=0,n=this._needsClustering.length;n>t;t++)i=this._needsClustering[t],i.getLatLng?i.__parent||this._addLayer(i,this._maxZoom):this._featureGroup.addLayer(i);this._needsClustering=[],this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),this._zoom=this._map.getZoom(),this._currentShownBounds=this._getExpandedVisibleBounds(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)},onRemove:function(e){e.off("zoomend",this._zoomEnd,this),e.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),this._hideCoverage(),this._featureGroup.onRemove(e),this._nonPointGroup.onRemove(e),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(e){for(var t=e;t&&!t._icon;)t=t.__parent;return t||null},_arraySplice:function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return e.splice(n,1),!0},_removeLayer:function(e,t,n){var i=this._gridClusters,o=this._gridUnclustered,r=this._featureGroup,s=this._map;if(t)for(var a=this._maxZoom;a>=0&&o[a].removeObject(e,s.project(e.getLatLng(),a));a--);var l,u=e.__parent,c=u._markers;for(this._arraySplice(c,e);u&&(u._childCount--,!(u._zoom<0));)t&&u._childCount<=1?(l=u._markers[0]===e?u._markers[1]:u._markers[0],i[u._zoom].removeObject(u,s.project(u._cLatLng,u._zoom)),o[u._zoom].addObject(l,s.project(l.getLatLng(),u._zoom)),this._arraySplice(u.__parent._childClusters,u),u.__parent._markers.push(l),l.__parent=u.__parent,u._icon&&(r.removeLayer(u),n||r.addLayer(l))):(u._recalculateBounds(),n&&u._icon||u._updateIcon()),u=u.__parent;delete e.__parent},_isOrIsParent:function(e,t){for(;t;){if(e===t)return!0;t=t.parentNode}return!1},_propagateEvent:function(e){if(e.layer instanceof L.MarkerCluster){if(e.originalEvent&&this._isOrIsParent(e.layer._icon,e.originalEvent.relatedTarget))return;e.type="cluster"+e.type}this.fire(e.type,e)},_defaultIconCreateFunction:function(e){var t=e.getChildCount(),n=" marker-cluster-";return n+=10>t?"small":100>t?"medium":"large",new L.DivIcon({html:"<div><span>"+t+"</span></div>",className:"marker-cluster"+n,iconSize:new L.Point(40,40)})},_bindEvents:function(){var e=this._map,t=this.options.spiderfyOnMaxZoom,n=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick;(t||i)&&this.on("clusterclick",this._zoomOrSpiderfy,this),n&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),e.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(e){var t=this._map;t.getMaxZoom()===t.getZoom()?this.options.spiderfyOnMaxZoom&&e.layer.spiderfy():this.options.zoomToBoundsOnClick&&e.layer.zoomToBounds(),e.originalEvent&&13===e.originalEvent.keyCode&&t._container.focus()},_showCoverage:function(e){var t=this._map;this._inZoomAnimation||(this._shownPolygon&&t.removeLayer(this._shownPolygon),e.layer.getChildCount()>2&&e.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(e.layer.getConvexHull(),this.options.polygonOptions),t.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var e=this.options.spiderfyOnMaxZoom,t=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick,i=this._map;(e||n)&&this.off("clusterclick",this._zoomOrSpiderfy,this),t&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),i.off("zoomend",this._hideCoverage,this))}
15,_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=this._map._zoom,this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var e=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,this._zoom,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._map._zoom,e),this._currentShownBounds=e}},_generateInitialClusters:function(){var e=this._map.getMaxZoom(),t=this.options.maxClusterRadius;this.options.disableClusteringAtZoom&&(e=this.options.disableClusteringAtZoom-1),this._maxZoom=e,this._gridClusters={},this._gridUnclustered={};for(var n=e;n>=0;n--)this._gridClusters[n]=new L.DistanceGrid(t),this._gridUnclustered[n]=new L.DistanceGrid(t);this._topClusterLevel=new L.MarkerCluster(this,-1)},_addLayer:function(e,t){var n,i,o=this._gridClusters,r=this._gridUnclustered;for(this.options.singleMarkerMode&&(e.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[e]}}));t>=0;t--){n=this._map.project(e.getLatLng(),t);var s=o[t].getNearObject(n);if(s)return s._addChild(e),void(e.__parent=s);if(s=r[t].getNearObject(n)){var a=s.__parent;a&&this._removeLayer(s,!1) 16;var l=new L.MarkerCluster(this,t,s,e);o[t].addObject(l,this._map.project(l._cLatLng,t)),s.__parent=l,e.__parent=l;var u=l;for(i=t-1;i>a._zoom;i--)u=new L.MarkerCluster(this,i,u),o[i].addObject(u,this._map.project(s.getLatLng(),i));for(a._addChild(u),i=t;i>=0&&r[i].removeObject(s,this._map.project(s.getLatLng(),i));i--);return}r[t].addObject(e,n)}this._topClusterLevel._addChild(e),e.__parent=this._topClusterLevel},_enqueue:function(e){this._queue.push(e),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var e=0;e<this._queue.length;e++)this._queue[e].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){this._processQueue(),this._zoom<this._map._zoom&&this._currentShownBounds.contains(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,this._map._zoom)):this._zoom>this._map._zoom?(this._animationStart(),this._animationZoomOut(this._zoom,this._map._zoom)):this._moveEnd()},_getExpandedVisibleBounds:function(){if(!this.options.removeOutsideVisibleBounds)return this.getBounds();var e=this._map,t=e.getBounds(),n=t._southWest,i=t._northEast,o=L.Browser.mobile?0:Math.abs(n.lat-i.lat),r=L.Browser.mobile?0:Math.abs(n.lng-i.lng);return new L.LatLngBounds(new L.LatLng(n.lat-o,n.lng-r,!0),new L.LatLng(i.lat+o,i.lng+r,!0))},_animationAddLayerNonAnimated:function(e,t){if(t===e)this._featureGroup.addLayer(e);else if(2===t._childCount){t._addToMap();var n=t.getAllChildMarkers();this._featureGroup.removeLayer(n[0]),this._featureGroup.removeLayer(n[1])}else t._updateIcon()}}),L.MarkerClusterGroup.include(L.DomUtil.TRANSITION?{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_animationZoomIn:function(e,t){var n,i=this._getExpandedVisibleBounds(),o=this._featureGroup;this._topClusterLevel._recursively(i,e,0,function(r){var s,a=r._latlng,l=r._markers;for(i.contains(a)||(a=null),r._isSingleParent()&&e+1===t?(o.removeLayer(r),r._recursivelyAddChildrenToMap(null,t,i)):(r.setOpacity(0),r._recursivelyAddChildrenToMap(a,t,i)),n=l.length-1;n>=0;n--)s=l[n],i.contains(s._latlng)||o.removeLayer(s)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(i,t),o.eachLayer(function(e){e instanceof L.MarkerCluster||!e._icon||e.setOpacity(1)}),this._topClusterLevel._recursively(i,e,t,function(e){e._recursivelyRestoreChildPositions(t)}),this._enqueue(function(){this._topClusterLevel._recursively(i,e,0,function(e){o.removeLayer(e),e.setOpacity(1)}),this._animationEnd()})},_animationZoomOut:function(e,t){this._animationZoomOutSingle(this._topClusterLevel,e-1,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,e,this._getExpandedVisibleBounds())},_animationZoomOutSingle:function(e,t,n){var i=this._getExpandedVisibleBounds();e._recursivelyAnimateChildrenInAndAddSelfToMap(i,t+1,n);var o=this;this._forceLayout(),e._recursivelyBecomeVisible(i,n),this._enqueue(function(){if(1===e._childCount){var r=e._markers[0];r.setLatLng(r.getLatLng()),r.setOpacity(1)}else e._recursively(i,n,0,function(e){e._recursivelyRemoveChildrenFromMap(i,t+1)});o._animationEnd()})},_animationAddLayer:function(e,t){var n=this,i=this._featureGroup;i.addLayer(e),t!==e&&(t._childCount>2?(t._updateIcon(),this._forceLayout(),this._animationStart(),e._setPos(this._map.latLngToLayerPoint(t.getLatLng())),e.setOpacity(0),this._enqueue(function(){i.removeLayer(e),e.setOpacity(1),n._animationEnd()})):(this._forceLayout(),n._animationStart(),n._animationZoomOutSingle(t,this._map.getMaxZoom(),this._map.getZoom())))},_forceLayout:function(){L.Util.falseFn(t.body.offsetWidth)}}:{_animationStart:function(){},_animationZoomIn:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds())},_animationZoomOut:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds())},_animationAddLayer:function(e,t){this._animationAddLayerNonAnimated(e,t)}}),L.markerClusterGroup=function(e){return new L.MarkerClusterGroup(e)}
16,L.MarkerCluster=L.Marker.extend({initialize:function(e,t,n,i){L.Marker.prototype.initialize.call(this,n?n._cLatLng||n.getLatLng():new L.LatLng(0,0),{icon:this}),this._group=e,this._zoom=t,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._bounds=new L.LatLngBounds,n&&this._addChild(n),i&&this._addChild(i)},getAllChildMarkers:function(e){e=e||[];for(var t=this._childClusters.length-1;t>=0;t--)this._childClusters[t].getAllChildMarkers(e);for(var n=this._markers.length-1;n>=0;n--)e.push(this._markers[n]);return e},getChildCount:function(){return this._childCount},zoomToBounds:function(){for(var e,t=this._childClusters.slice(),n=this._group._map,i=n.getBoundsZoom(this._bounds),o=this._zoom+1,r=n.getZoom();t.length>0&&i>o;){o++;var s=[];for(e=0;e<t.length;e++)s=s.concat(t[e]._childClusters);t=s}i>o?this._group._map.setView(this._latlng,o):r>=i?this._group._map.setView(this._latlng,r+1):this._group._map.fitBounds(this._bounds)},getBounds:function(){var e=new L.LatLngBounds;return e.extend(this._bounds),e},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(e,t){this._iconNeedsUpdate=!0,this._expandBounds(e),e instanceof L.MarkerCluster?(t||(this._childClusters.push(e),e.__parent=this),this._childCount+=e._childCount):(t||this._markers.push(e),this._childCount++),this.__parent&&this.__parent._addChild(e,!0)},_expandBounds:function(e){var t,n=e._wLatLng||e._latlng;e instanceof L.MarkerCluster?(this._bounds.extend(e._bounds),t=e._childCount):(this._bounds.extend(n),t=1),this._cLatLng||(this._cLatLng=e._cLatLng||n);var i=this._childCount+t;this._wLatLng?(this._wLatLng.lat=(n.lat*t+this._wLatLng.lat*this._childCount)/i,this._wLatLng.lng=(n.lng*t+this._wLatLng.lng*this._childCount)/i):this._latlng=this._wLatLng=new L.LatLng(n.lat,n.lng)},_addToMap:function(e){e&&(this._backupLatlng=this._latlng,this.setLatLng(e)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(e,t,n){this._recursively(e,0,n-1,function(e){var n,i,o=e._markers;for(n=o.length-1;n>=0;n--)i=o[n],i._icon&&(i._setPos(t),i.setOpacity(0))},function(e){var n,i,o=e._childClusters;for(n=o.length-1;n>=0;n--)i=o[n],i._icon&&(i._setPos(t),i.setOpacity(0))})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(e,t,n){this._recursively(e,n,0,function(i){i._recursivelyAnimateChildrenIn(e,i._group._map.latLngToLayerPoint(i.getLatLng()).round(),t),i._isSingleParent()&&t-1===n?(i.setOpacity(1),i._recursivelyRemoveChildrenFromMap(e,t)):i.setOpacity(0),i._addToMap()})},_recursivelyBecomeVisible:function(e,t){this._recursively(e,0,t,null,function(e){e.setOpacity(1)})},_recursivelyAddChildrenToMap:function(e,t,n){this._recursively(n,-1,t,function(i){if(t!==i._zoom)for(var o=i._markers.length-1;o>=0;o--){var r=i._markers[o];n.contains(r._latlng)&&(e&&(r._backupLatlng=r.getLatLng(),r.setLatLng(e),r.setOpacity&&r.setOpacity(0)),i._group._featureGroup.addLayer(r))}},function(t){t._addToMap(e)})},_recursivelyRestoreChildPositions:function(e){for(var t=this._markers.length-1;t>=0;t--){var n=this._markers[t];n._backupLatlng&&(n.setLatLng(n._backupLatlng),delete n._backupLatlng)}if(e-1===this._zoom)for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i]._restorePosition();else for(var o=this._childClusters.length-1;o>=0;o--)this._childClusters[o]._recursivelyRestoreChildPositions(e)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(e,t,n){var i,o;this._recursively(e,-1,t-1,function(e){for(o=e._markers.length-1;o>=0;o--)i=e._markers[o],n&&n.contains(i._latlng)||(e._group._featureGroup.removeLayer(i),i.setOpacity&&i.setOpacity(1))},function(e){for(o=e._childClusters.length-1;o>=0;o--)i=e._childClusters[o],n&&n.contains(i._latlng)||(e._group._featureGroup.removeLayer(i),i.setOpacity&&i.setOpacity(1))})},_recursively:function(e,t,n,i,o){var r,s,a=this._childClusters,l=this._zoom;if(t>l)for(r=a.length-1;r>=0;r--)s=a[r],e.intersects(s._bounds)&&s._recursively(e,t,n,i,o);else if(i&&i(this),o&&this._zoom===n&&o(this),n>l)for(r=a.length-1;r>=0;r--)s=a[r],e.intersects(s._bounds)&&s._recursively(e,t,n,i,o)},_recalculateBounds:function(){var e,t=this._markers,n=this._childClusters;for(this._bounds=new L.LatLngBounds,delete this._wLatLng,e=t.length-1;e>=0;e--)this._expandBounds(t[e]);for(e=n.length-1;e>=0;e--)this._expandBounds(n[e])},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}}),L.DistanceGrid=function(e){this._cellSize=e,this._sqCellSize=e*e,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(e,t){var n=this._getCoord(t.x),i=this._getCoord(t.y),o=this._grid,r=o[i]=o[i]||{},s=r[n]=r[n]||[],a=L.Util.stamp(e);this._objectPoint[a]=t,s.push(e)},updateObject:function(e,t){this.removeObject(e),this.addObject(e,t)},removeObject:function(e,t){var n,i,o=this._getCoord(t.x),r=this._getCoord(t.y),s=this._grid,a=s[r]=s[r]||{},l=a[o]=a[o]||[];for(delete this._objectPoint[L.Util.stamp(e)],n=0,i=l.length;i>n;n++)if(l[n]===e)return l.splice(n,1),1===i&&delete a[o],!0},eachObject:function(e,t){var n,i,o,r,s,a,l=this._grid;for(n in l){s=l[n];for(i in s)for(a=s[i],o=0,r=a.length;r>o;o++)e.call(t,a[o])&&(o--,r--)}},getNearObject:function(e){var t,n,i,o,r,s,a,l,u=this._getCoord(e.x),c=this._getCoord(e.y),d=this._objectPoint,h=this._sqCellSize,p=null;for(t=c-1;c+1>=t;t++)if(o=this._grid[t])for(n=u-1;u+1>
16=n;n++)if(r=o[n])for(i=0,s=r.length;s>i;i++)a=r[i],l=this._sqDist(d[L.Util.stamp(a)],e),h>l&&(h=l,p=a);return p},_getCoord:function(e){return Math.floor(e/this._cellSize)},_sqDist:function(e,t){var n=t.x-e.x,i=t.y-e.y;return n*n+i*i}},function(){L.QuickHull={getDistant:function(e,t){var n=t[1].lat-t[0].lat;return(t[0].lng-t[1].lng)*(e.lat-t[0].lat)+n*(e.lng-t[0].lng)},findMostDistantPointFromBaseLine:function(e,t){var n,i,o,r=0,s=null,a=[];for(n=t.length-1;n>=0;n--)i=t[n],(o=this.getDistant(i,e))>0&&(a.push(i),o>r&&(r=o,s=i));return{maxPoint:s,newPoints:a}},buildConvexHull:function(e,t){var n=[],i=this.findMostDistantPointFromBaseLine(e,t);return i.maxPoint?(n=n.concat(this.buildConvexHull([e[0],i.maxPoint],i.newPoints)),n=n.concat(this.buildConvexHull([i.maxPoint,e[1]],i.newPoints))):[e[0]]},getConvexHull:function(e){var t,n=!1,i=!1,o=null,r=null;for(t=e.length-1;t>=0;t--){var s=e[t];(!1===n||s.lat>n)&&(o=s,n=s.lat),(!1===i||s.lat<i)&&(r=s,i=s.lat)}return[].concat(this.buildConvexHull([r,o],e),this.buildConvexHull([o,r],e))}}}(),L.MarkerCluster.include({getConvexHull:function(){var e,t,n=this.getAllChildMarkers(),i=[];for(t=n.length-1;t>=0;t--)e=n[t].getLatLng(),i.push(e);return L.QuickHull.getConvexHull(i)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:Math.PI/6,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var e,t=this.getAllChildMarkers(),n=this._group,i=n._map,o=i.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,t.length>=this._circleSpiralSwitchover?e=this._generatePointsSpiral(t.length,o):(o.y+=10,e=this._generatePointsCircle(t.length,o)),this._animationSpiderfy(t,e)}},unspiderfy:function(e){this._group._inZoomAnimation||(this._animationUnspiderfy(e),this._group._spiderfied=null)},_generatePointsCircle:function(e,t){var n,i,o=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+e),r=o/this._2PI,s=this._2PI/e,a=[];for(a.length=e,n=e-1;n>=0;n--)i=this._circleStartAngle+n*s,a[n]=new L.Point(t.x+r*Math.cos(i),t.y+r*Math.sin(i))._round();return a},_generatePointsSpiral:function(e,t){var n,i=this._group.options.spiderfyDistanceMultiplier*this._spiralLengthStart,o=this._group.options.spiderfyDistanceMultiplier*this._spiralFootSeparation,r=this._group.options.spiderfyDistanceMultiplier*this._spiralLengthFactor,s=0,a=[];for(a.length=e,n=e-1;n>=0;n--)s+=o/i+5e-4*n,a[n]=new L.Point(t.x+i*Math.cos(s),t.y+i*Math.sin(s))._round(),i+=this._2PI*r/s;return a},_noanimationUnspiderfy:function(){var e,t,n=this._group,i=n._map,o=n._featureGroup,r=this.getAllChildMarkers();for(this.setOpacity(1),t=r.length-1;t>=0;t--)e=r[t],o.removeLayer(e),e._preSpiderfyLatlng&&(e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng),e.setZIndexOffset&&e.setZIndexOffset(0),e._spiderLeg&&(i.removeLayer(e._spiderLeg),delete e._spiderLeg);n._spiderfied=null}}),L.MarkerCluster.include(L.DomUtil.TRANSITION?{SVG_ANIMATION:function(){return t.createElementNS("http://www.w3.org/2000/svg","animate").toString().indexOf("SVGAnimate")>-1}(),_animationSpiderfy:function(e,n){var i,o,r,s,a=this,l=this._group,u=l._map,c=l._featureGroup,d=u.latLngToLayerPoint(this._latlng);for(i=e.length-1;i>=0;i--)o=e[i],o.setOpacity?(o.setZIndexOffset(1e6),o.setOpacity(0),c.addLayer(o),o._setPos(d)):c.addLayer(o);l._forceLayout(),l._animationStart();var h=L.Path.SVG?0:.3,p=L.Path.SVG_NS;for(i=e.length-1;i>=0;i--)if(s=u.layerPointToLatLng(n[i]),o=e[i],o._preSpiderfyLatlng=o._latlng,o.setLatLng(s),o.setOpacity&&o.setOpacity(1),r=new L.Polyline([a._latlng,s],{weight:1.5,color:"#222",opacity:h}),u.addLayer(r),o._spiderLeg=r,L.Path.SVG&&this.SVG_ANIMATION){var f=r._path.getTotalLength();r._path.setAttribute("stroke-dasharray",f+","+f);var m=t.createElementNS(p,"animate");m.setAttribute("attributeName","stroke-dashoffset"),m.setAttribute("begin","indefinite"),m.setAttribute("from",f),m.setAttribute("to",0),m.setAttribute("dur",.25),r._path.appendChild(m),m.beginElement(),m=t.createElementNS(p,"animate"),m.setAttribute("attributeName","stroke-opacity"),m.setAttribute("attributeName","stroke-opacity"),m.setAttribute("begin","indefinite"),m.setAttribute("from",0),m.setAttribute("to",.5),m.setAttribute("dur",.25),r._path.appendChild(m),m.beginElement()}if(a.setOpacity(.3),L.Path.SVG)for(this._group._forceLayout(),i=e.length-1;i>=0;i--)o=e[i]._spiderLeg,o.options.opacity=.5,o._path.setAttribute("stroke-opacity",.5);setTimeout(function(){l._animationEnd(),l.fire("spiderfied")},200)},_animationUnspiderfy:function(e){var t,n,i,o=this._group,r=o._map,s=o._featureGroup,a=e?r._latLngToNewLayerPoint(this._latlng,e.zoom,e.center):r.latLngToLayerPoint(this._latlng),l=this.getAllChildMarkers(),u=L.Path.SVG&&this.SVG_ANIMATION;for(o._animationStart(),this.setOpacity(1),n=l.length-1;n>=0;n--)t=l[n],t._preSpiderfyLatlng&&(t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng,t.setOpacity?(t._setPos(a),t.setOpacity(0)):s.removeLayer(t),u&&(i=t._spiderLeg._path.childNodes[0],i.setAttribute("to",i.getAttribute("from")),i.setAttribute("from",0),i.beginElement(),i=t._spiderLeg._path.childNodes[1],i.setAttribute("from",.5),i.setAttribute("to",0),i.setAttribute("stroke-opacity",0),i.beginElement(),t._spiderLeg._path.setAttribute("stroke-opacity",0)
16));setTimeout(function(){var e=0;for(n=l.length-1;n>=0;n--)t=l[n],t._spiderLeg&&e++;for(n=l.length-1;n>=0;n--)t=l[n],t._spiderLeg&&(t.setOpacity&&(t.setOpacity(1),t.setZIndexOffset(0)),e>1&&s.removeLayer(t),r.removeLayer(t._spiderLeg),delete t._spiderLeg);o._animationEnd()},200)}}:{_animationSpiderfy:function(e,t){var n,i,o,r,s=this._group,a=s._map,l=s._featureGroup;for(n=e.length-1;n>=0;n--)r=a.layerPointToLatLng(t[n]),i=e[n],i._preSpiderfyLatlng=i._latlng,i.setLatLng(r),i.setZIndexOffset&&i.setZIndexOffset(1e6),l.addLayer(i),o=new L.Polyline([this._latlng,r],{weight:1.5,color:"#222"}),a.addLayer(o),i._spiderLeg=o;this.setOpacity(.3),s.fire("spiderfied")},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerClusterGroup.include({_spiderfied:null,_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Path.SVG&&!L.Browser.touch&&this._map._initPathRoot()},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(e){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(e))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(e){this._spiderfied&&this._spiderfied.unspiderfy(e)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(e){e._spiderLeg&&(this._featureGroup.removeLayer(e),e.setOpacity(1),e.setZIndexOffset(0),this._map.removeLayer(e._spiderLeg),delete e._spiderLeg)}})}(window,document),function(e){function t(t,i,o){var r=this;return this.on("click.pjax",t,function(t){var s=e.extend({},m(i,o));s.container||(s.container=e(this).attr("data-pjax")||r),n(t,s)})}function n(t,n,i){i=m(n,i);var r=t.currentTarget;if("A"!==r.tagName.toUpperCase())throw"$.fn.pjax or $.pjax.click requires an anchor element";if(!(t.which>1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||location.protocol!==r.protocol||location.hostname!==r.hostname||r.href.indexOf("#")>-1&&f(r)==f(location)||t.isDefaultPrevented())){var s={url:r.href,container:e(r).attr("data-pjax"),target:r},a=e.extend({},s,i),l=e.Event("pjax:click");e(r).trigger(l,[a]),l.isDefaultPrevented()||(o(a),t.preventDefault(),e(r).trigger("pjax:clicked",[a]))}}function i(t,n,i){i=m(n,i);var r=t.currentTarget,s=e(r);if("FORM"!==r.tagName.toUpperCase())throw"$.pjax.submit requires a form element";var a={type:(s.attr("method")||"GET").toUpperCase(),url:s.attr("action"),container:s.attr("data-pjax"),target:r};if("GET"!==a.type&&window.FormData!==undefined)a.data=new FormData(r),a.processData=!1,a.contentType=!1;else{if(e(r).find(":file").length)return;a.data=e(r).serializeArray()}o(e.extend({},a,i)),t.preventDefault()}function o(t){function n(t,n,o){o||(o={}),o.relatedTarget=i;var r=e.Event(t,o);return a.trigger(r,n),!r.isDefaultPrevented()}t=e.extend(!0,{},e.ajaxSettings,o.defaults,t),e.isFunction(t.url)&&(t.url=t.url());var i=t.target,r=p(t.url).hash,a=t.context=g(t.container);t.data||(t.data={}),e.isArray(t.data)?t.data.push({name:"_pjax",value:a.selector}):t.data._pjax=a.selector;var l;t.beforeSend=function(e,i){if("GET"!==i.type&&(i.timeout=0),e.setRequestHeader("X-PJAX","true"),e.setRequestHeader("X-PJAX-Container",a.selector),!n("pjax:beforeSend",[e,i]))return!1;i.timeout>0&&(l=setTimeout(function(){n("pjax:timeout",[e,t])&&e.abort("timeout")},i.timeout),i.timeout=0);var o=p(i.url);r&&(o.hash=r),t.requestUrl=h(o)},t.complete=function(e,i){l&&clearTimeout(l),n("pjax:complete",[e,i,t]),n("pjax:end",[e,t])},t.error=function(e,i,o){var r=y("",e,t),a=n("pjax:error",[e,i,o,t]);"GET"==t.type&&"abort"!==i&&a&&s(r.url)},t.success=function(i,l,u){var d=o.state,h="function"==typeof e.pjax.defaults.version?e.pjax.defaults.version():e.pjax.defaults.version,f=u.getResponseHeader("X-PJAX-Version"),m=y(i,u,t),g=p(m.url);if(r&&(g.hash=r,m.url=g.href),h&&f&&h!==f)return void s(m.url);if(!m.contents)return void s(m.url);
16if(o.state={id:t.id||c(),url:m.url,title:m.title,container:a.selector,fragment:t.fragment,timeout:t.timeout},(t.push||t.replace)&&window.history.replaceState(o.state,m.title,m.url),e.contains(t.container,document.activeElement))try{document.activeElement.blur()}catch(e){}m.title&&(document.title=m.title),n("pjax:beforeReplace",[m.contents,t],{state:o.state,previousState:d}),a.html(m.contents);var _=a.find("input[autofocus], textarea[autofocus]").last()[0];_&&document.activeElement!==_&&_.focus(),b(m.scripts);var v=t.scrollTo;if(r){var w=decodeURIComponent(r.slice(1)),x=document.getElementById(w)||document.getElementsByName(w)[0];x&&(v=e(x).offset().top)}"number"==typeof v&&e(window).scrollTop(v),n("pjax:success",[i,l,u,t])},o.state||(o.state={id:c(),url:window.location.href,title:document.title,container:a.selector,fragment:t.fragment,timeout:t.timeout},window.history.replaceState(o.state,document.title)),u(o.xhr),o.options=t;var f=o.xhr=e.ajax(t);return f.readyState>0&&(t.push&&!t.replace&&(w(o.state.id,d(a)),window.history.pushState(null,"",t.requestUrl)),n("pjax:start",[f,t]),n("pjax:send",[f,t])),o.xhr}function r(t,n){var i={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return o(e.extend(i,m(t,n)))}function s(e){window.history.replaceState(null,"",o.state.url),window.location.replace(e)}function a(t){L||u(o.xhr);var n,i=o.state,r=t.state;if(r&&r.container){if(L&&M==r.url)return;if(i){if(i.id===r.id)return;n=i.id<r.id?"forward":"back"}var a=D[r.id]||[],l=e(a[0]||r.container),c=a[1];if(l.length){i&&x(n,i.id,d(l));var h=e.Event("pjax:popstate",{state:r,direction:n});l.trigger(h);var p={id:r.id,url:r.url,container:l,push:!1,fragment:r.fragment,timeout:r.timeout,scrollTo:!1};if(c){l.trigger("pjax:start",[null,p]),o.state=r,r.title&&(document.title=r.title);var f=e.Event("pjax:beforeReplace",{state:r,previousState:i});l.trigger(f,[c,p]),l.html(c),l.trigger("pjax:end",[null,p])}else o(p);l[0].offsetHeight}else s(location.href)}L=!1}function l(t){var n=e.isFunction(t.url)?t.url():t.url,i=t.type?t.type.toUpperCase():"GET",o=e("<form>",{method:"GET"===i?"GET":"POST",action:n,style:"display:none"});"GET"!==i&&"POST"!==i&&o.append(e("<input>",{type:"hidden",name:"_method",value:i.toLowerCase()}));var r=t.data;if("string"==typeof r)e.each(r.split("&"),function(t,n){var i=n.split("=");o.append(e("<input>",{type:"hidden",name:i[0],value:i[1]}))});else if(e.isArray(r))e.each(r,function(t,n){o.append(e("<input>",{type:"hidden",name:n.name,value:n.value}))});else if("object"==typeof r){var s;for(s in r)o.append(e("<input>",{type:"hidden",name:s,value:r[s]}))}e(document.body).append(o),o.submit()}function u(t){t&&t.readyState<4&&(t.onreadystatechange=e.noop,t.abort())}function c(){return(new Date).getTime()}function d(e){var t=e.clone();return t.find("script").each(function(){this.src||jQuery._data(this,"globalEval",!1)}),[e.selector,t.contents()]}function h(e){return e.search=e.search.replace(/([?&])(_pjax|_)=[^&]*/g,""),e.href.replace(/\?($|#)/,"$1")}function p(e){var t=document.createElement("a");return t.href=e,t}function f(e){return e.href.replace(/#.*/,"")}function m(t,n){return t&&n?n.container=t:n=e.isPlainObject(t)?t:{container:t},n.container&&(n.container=g(n.container)),n}function g(t){if(t=e(t),t.length){if(""!==t.selector&&t.context===document)return t;if(t.attr("id"))return e("#"+t.attr("id"));throw"cant get selector for pjax container!"}throw"no pjax container for "+t.selector}function _(e,t){return e.filter(t).add(e.find(t))}function v(t){return e.parseHTML(t,document,!0)}function y(t,n,i){var o={},r=/<html/i.test(t),s=n.getResponseHeader("X-PJAX-URL");if(o.url=s?h(p(s)):i.requestUrl,r)var a=e(v(t.match(/<head[^>]*>([\s\S.]*)<\/head>/i)[0])),l=e(v(t.match(/<body[^>]*>([\s\S.]*)<\/body>/i)[0]));else var a=l=e(v(t));if(0===l.length)return o;if(o.title=_(a,"title").last().text(),i.fragment){if("body"===i.fragment)var u=l;else var u=_(l,i.fragment).first();u.length&&(o.contents="body"===i.fragment?u:u.contents(),o.title||(o.title=u.attr("title")||u.data("title")))}else r||(o.contents=l);return o.contents&&(o.contents=o.contents.not(function(){return e(this).is("title")}),o.contents.find("title").remove(),o.scripts=_(o.contents,"script[src]").remove(),o.contents=o.contents.not(o.scripts)),o.title&&(o.title=e.trim(o.title)),o}function b(t){if(t){var n=e("script[src]");t.each(function(){var t=this.src;if(!n.filter(function(){return this.src===t}).length){var i=document.createElement("script"),o=e(this).attr("type");o&&(i.type=o),i.src=e(this).attr("src"),document.head.appendChild(i)}})}}function w(e,t){D[e]=t,P.push(e),k(E,0),k(P,o.defaults.maxCacheLength)}function x(e,t,n){var i,r;D[t]=n,"forward"===e?(i=P,r=E):(i=E,r=P),i.push(t),(t=r.pop())&&delete D[t],k(i,o.defaults.maxCacheLength)}function k(e,t){for(;e.length>t;)delete D[e.shift()]}function T(){return e("meta").filter(function(){var t=e(this).attr("http-equiv");return t&&"X-PJAX-VERSION"===t.toUpperCase()}).attr("content")}
16function S(){e.fn.pjax=t,e.pjax=o,e.pjax.enable=e.noop,e.pjax.disable=C,e.pjax.click=n,e.pjax.submit=i,e.pjax.reload=r,e.pjax.defaults={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:20,version:T},e(window).on("popstate.pjax",a)}function C(){e.fn.pjax=function(){return this},e.pjax=l,e.pjax.enable=S,e.pjax.disable=e.noop,e.pjax.click=e.noop,e.pjax.submit=e.noop,e.pjax.reload=function(){window.location.reload()},e(window).off("popstate.pjax",a)}var L=!0,M=window.location.href,A=window.history.state;A&&A.container&&(o.state=A),"state"in window.history&&(L=!1);var D={},E=[],P=[];e.inArray("state",e.event.props)<0&&e.event.props.push("state"),e.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),e.support.pjax?S():C()}(jQuery);var Hogan={};!function(e,t){function n(e,t,n){var i;return t&&"object"==typeof t&&(null!=t[e]?i=t[e]:n&&t.get&&"function"==typeof t.get&&(i=t.get(e))),i}function i(e,t,n,i){function o(){}function r(){}o.prototype=e,r.prototype=e.subs;var s,a=new o;a.subs=new r,a.subsText={},a.ib();for(s in t)a.subs[s]=t[s],a.subsText[s]=i;for(s in n)a.partials[s]=n[s];return a}function o(e){return String(null===e||e===undefined?"":e)}function r(e){return e=o(e),d.test(e)?e.replace(s,"&").replace(a,"<").replace(l,">").replace(u,"'").replace(c,"""):e}e.Template=function(e,t,n,i){e=e||{},this.r=e.code||this.r,this.c=n,this.options=i||{},this.text=t||"",this.partials=e.partials||{},this.subs=e.subs||{},this.ib()},e.Template.prototype={r:function(){return""},v:r,t:o,render:function(e,t,n){return this.ri([e],t||{},n)},ri:function(e,t,n){return this.r(e,t,n)},ep:function(e,t){var n=this.partials[e],o=t[n.name];if(n.instance&&n.base==o)return n.instance;if("string"==typeof o){if(!this.c)throw new Error("No compiler available.");o=this.c.compile(o,this.options)}return o?(this.partials[e].base=o,n.subs&&(this.activeSub===undefined&&(t.stackText=this.text),o=i(o,n.subs,n.partials,t.stackText||this.text)),this.partials[e].instance=o,o):null},rp:function(e,t,n,i){var o=this.ep(e,n);return o?o.ri(t,n,i):""},rs:function(e,t,n){var i=e[e.length-1];if(!h(i))return void n(e,t,this);for(var o=0;o<i.length;o++)e.push(i[o]),n(e,t,this),e.pop()},s:function(e,t,n,i,o,r,s){var a;return(!h(e)||0!==e.length)&&("function"==typeof e&&(e=this.ms(e,t,n,i,o,r,s)),a=!!e,!i&&a&&t&&t.push("object"==typeof e?e:t[t.length-1]),a)},d:function(e,t,i,o){var r,s=e.split("."),a=this.f(s[0],t,i,o),l=this.options.modelGet,u=null;if("."===e&&h(t[t.length-2]))a=t[t.length-1];else for(var c=1;c<s.length;c++)r=n(s[c],a,l),null!=r?(u=a,a=r):a="";return!(o&&!a)&&(o||"function"!=typeof a||(t.push(u),a=this.mv(a,t,i),t.pop()),a)},f:function(e,t,i,o){for(var r=!1,s=null,a=!1,l=this.options.modelGet,u=t.length-1;u>=0;u--)if(s=t[u],null!=(r=n(e,s,l))){a=!0;break}return a?(o||"function"!=typeof r||(r=this.mv(r,t,i)),r):!o&&""},ls:function(e,t,n,i,r){var s=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(o(e.call(t,i)),t,n)),this.options.delimiters=s,!1},ct:function(e,t,n){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(e,this.options).render(t,n)},b:t?function(e){this.buf.push(e)}:function(e){this.buf+=e},fl:t?function(){var e=this.buf.join("");return this.buf=[],e}:function(){var e=this.buf;return this.buf="",e},ib:function(){this.buf=t?[]:""},ms:function(e,t,n,i,o,r,s){var a,l=t[t.length-1],u=e.call(l);return"function"==typeof u?!!i||(a=this.activeSub&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(u,l,n,a.substring(o,r),s)):u},mv:function(e,t,n){var i=t[t.length-1],r=e.call(i);return"function"==typeof r?this.ct(o(r.call(i)),i,n):r},sub:function(e,t,n,i){var o=this.subs[e];o&&(this.activeSub=e,o(t,n,this,i),this.activeSub=!1)}};var s=/&/g,a=/</g,l=/>/g,u=/\'/g,c=/\"/g,d=/[&<>\"\']/,h=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}
vendor: 4,170 bytes, lines 16-17
16("undefined"!=typeof exports?exports:Hogan),function(e){function t(e){"}"===e.n.substr(e.n.length-1)&&(e.n=e.n.substring(0,e.n.length-1))}function n(e){return e.trim?e.trim():e.replace(/^\s*|\s*$/g,"")}function i(e,t,n){if(t.charAt(n)!=e.charAt(0))return!1;for(var i=1,o=e.length;i<o;i++)if(t.charAt(n+i)!=e.charAt(i))return!1;return!0}function o(t,n,i,a){var l=[],u=null,c=null,d=null;for(c=i[i.length-1];t.length>0;){if(d=t.shift(),c&&"<"==c.tag&&!(d.tag in y))throw new Error("Illegal content in < super tag.");if(e.tags[d.tag]<=e.tags.$||r(d,a))i.push(d),d.nodes=o(t,d.tag,i,a);else{if("/"==d.tag){if(0===i.length)throw new Error("Closing tag without opener: /"+d.n);if(u=i.pop(),d.n!=u.n&&!s(d.n,u.n,a))throw new Error("Nesting error: "+u.n+" vs. "+d.n);return u.end=d.i,l}"\n"==d.tag&&(d.last=0==t.length||"\n"==t[0].tag)}l.push(d)}if(i.length>0)throw new Error("missing closing tag: "+i.pop().n);return l}function r(e,t){for(var n=0,i=t.length;n<i;n++)if(t[n].o==e.n)return e.tag="#",!0}function s(e,t,n){for(var i=0,o=n.length;i<o;i++)if(n[i].c==e&&n[i].o==t)return!0}function a(e){var t=[];for(var n in e)t.push('"'+u(n)+'": function(c,p,t,i) {'+e[n]+"}");return"{ "+t.join(",")+" }"}function l(e){var t=[];for(var n in e.partials)t.push('"'+u(n)+'":{name:"'+u(e.partials[n].name)+'", '+l(e.partials[n])+"}");return"partials: {"+t.join(",")+"}, subs: "+a(e.subs)}function u(e){return e.replace(v,"\\\\").replace(m,'\\"').replace(g,"\\n").replace(_,"\\r")}function c(e){return~e.indexOf(".")?"d":"f"}function d(e,t){var n="<"+(t.prefix||""),i=n+e.n+b++;return t.partials[i]={name:e.n,partials:{}},t.code+='t.b(t.rp("'+u(i)+'",c,p,"'+(e.indent||"")+'"));',i}function h(e,t){t.code+="t.b(t.t(t."+c(e.n)+'("'+u(e.n)+'",c,p,0)));'}function p(e){return"t.b("+e+");"}var f=/\S/,m=/\"/g,g=/\n/g,_=/\r/g,v=/\\/g;e.tags={"#":1,"^":2,"<":3,$:4,"/":5,"!":6,">":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(o,r){function s(){_.length>0&&(v.push({tag:"_t",text:new String(_)}),_="")}function a(){for(var t=!0,n=w;n<v.length;n++)if(!(t=e.tags[v[n].tag]<e.tags._v||"_t"==v[n].tag&&null===v[n].text.match(f)))return!1;return t}function l(e,t){if(s(),e&&a())for(var n,i=w;i<v.length;i++)v[i].text&&((n=v[i+1])&&">"==n.tag&&(n.indent=v[i].text.toString()),v.splice(i,1));else t||v.push({tag:"\n"});y=!1,w=v.length}function u(e,t){var i="="+k,o=e.indexOf(i,t),r=n(e.substring(e.indexOf("=",t)+1,o)).split(" ");return x=r[0],k=r[r.length-1],o+i.length-1}var c=o.length,d=0,h=1,p=d,m=null,g=null,_="",v=[],y=!1,b=0,w=0,x="{{",k="}}";for(r&&(r=r.split(" "),x=r[0],k=r[1]),b=0;b<c;b++)p==d?i(x,o,b)?(--b,s(),p=h):"\n"==o.charAt(b)?l(y):_+=o.charAt(b):p==h?(b+=x.length-1,g=e.tags[o.charAt(b+1)],m=g?o.charAt(b+1):"_v","="==m?(b=u(o,b),p=d):(g&&b++,p=2),y=b):i(k,o,b)?(v.push({tag:m,n:n(_),otag:x,ctag:k,i:"/"==m?y-x.length:b+k.length}),_="",b+=k.length-1,p=d,"{"==m&&("}}"==k?b++:t(v[v.length-1]))):_+=o.charAt(b);return l(y,!0),v};var y={_t:!0,"\n":!0,$:!0,"/":!0};e.stringify=function(t){return"{code: function (c,p,i) { "+e.wrapMain(t.code)+" },"+l(t)+"}"};var b=0;e.generate=function(t,n,i){b=0;var o={code:"",subs:{},partials:{}};return e.walk(t,o),i.asString?this.stringify(o,n,i):this.makeTemplate(o,n,i)},e.wrapMain=function(e){return'var t=this;t.b(i=i||"");'+e+"return t.fl();"},e.template=e.Template,e.makeTemplate=function(e,t,n){var i=this.makePartials(e);return i.code=new Function("c","p","i",this.wrapMain(e.code)),new this.template(i,t,this,n)},e.makePartials=function(e){ 17var t,n={subs:{},partials:e.partials,name:e.name};for(t in n.partials)n.partials[t]=this.makePartials(n.partials[t]);for(t in e.subs)n.subs[t]=new Function("c","p","t","i",e.subs[t]);return n},e.codegen={"#":function(t,n){n.code+="if(t.s(t."+c(t.n)+'("'+u(t.n)+'",c,p,1),c,p,0,'+t.i+","+t.end+',"'+t.otag+" "+t.ctag+'")){t.rs(c,p,function(c,p,t){',e.walk(t.nodes,n),n.code+="});c.pop();}"},"^":function(t,n){n.code+="if(!t.s(t."+c(t.n)+'("'+u(t.n)+'",c,p,1),c,p,1,0,0,"")){',e.walk(t.nodes,n),n.code+="};"},">":d,"<":function(t,n){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(t.nodes,i);var o=n.partials[d(t,n)];o.subs=i.subs,o.partials=i.partials},$:function(t,n){var i={subs:{}
17,code:"",partials:n.partials,prefix:t.n};e.walk(t.nodes,i),n.subs[t.n]=i.code,n.inPartial||(n.code+='t.sub("'+u(t.n)+'",c,p,i);')},"\n":function(e,t){t.code+=p('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+c(e.n)+'("'+u(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=p('"'+u(e.text)+'"')},"{":h,"&":h},e.walk=function(t,n){for(var i,o=0,r=t.length;o<r;o++)(i=e.codegen[t[o].tag])&&i(t[o],n);return n},e.parse=function(e,t,n){return n=n||{},o(e,"",[],n.sectionTags||[])},e.cache={},e.cacheKey=function(e,t){return[e,!!t.asString,!!t.disableLambda,t.delimiters,!!t.modelGet].join("||")},e.compile=function(t,n){n=n||{};var i=e.cacheKey(t,n),o=this.cache[i];return o||(o=this.generate(this.parse(this.scan(t,n.delimiters),t,n),t,n),this.cache[i]=o)}}("undefined"!=typeof exports?exports:Hogan),"function"==typeof define&&define.amd&&define(Hogan),function(e,t){e.Template.prototype.renderWithI18n=function(e,n,i){var o=$.extend(e,{i18n:function(){return function(e){return t.t(e)}}});return this.render(o,n,i)}}(Hogan,window.I18n),function(e,t){"function"==typeof define&&define.amd?define("bloodhound",["jquery"],function(n){return e.Bloodhound=t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):e.Bloodhound=t(jQuery)}(this,function(e){var t=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(e){return!e||/^\s*$/.test(e)},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isArray:e.isArray,isFunction:e.isFunction,isObject:e.isPlainObject,isUndefined:function(e){return void 0===e},isElement:function(e){return!(!e||1!==e.nodeType)},isJQuery:function(t){return t instanceof e},toStr:function(e){return t.isUndefined(e)||null===e?"":e+""},bind:e.proxy,each:function(t,n){function i(e,t){return n(t,e)}e.each(t,i)},map:e.map,filter:e.grep,every:function(t,n){var i=!0;return t?(e.each(t,function(e,o){if(!(i=n.call(null,o,e,t)))return!1}),!!i):i},some:function(t,n){var i=!1;return t?(e.each(t,function(e,o){if(i=n.call(null,o,e,t))return!1}),!!i):i},mixin:e.extend,identity:function(e){return e},clone:function(t){return e.extend(!0,{},t)},getIdGenerator:function(){var e=0;return function(){return e++}},templatify:function(t){function n(){return String(t)}return e.isFunction(t)?t:n},defer:function(e){setTimeout(e,0)},debounce:function(e,t,n){var i,o;return function(){var r,s,a=this,l=arguments;return r=function(){i=null,n||(o=e.apply(a,l))},s=n&&!i,clearTimeout(i),i=setTimeout(r,t),s&&(o=e.apply(a,l)),o}},throttle:function(e,t){var n,i,o,r,s,a;return s=0,a=function(){s=new Date,o=null,r=e.apply(n,i)},function(){var l=new Date,u=t-(l-s);return n=this,i=arguments,u<=0?(clearTimeout(o),o=null,s=l,r=e.apply(n,i)):o||(o=setTimeout(a,u)),r}},stringify:function(e){return t.isString(e)?e:JSON.stringify(e)},noop:function(){}}}(),n="0.11.1",i=function(){"use strict";function e(e){return e=t.toStr(e),e?e.split(/\s+/):[]}function n(e){return e=t.toStr(e),e?e.split(/\W+/):[]}function i(e){return function(n){return n=t.isArray(n)?n:[].slice.call(arguments,0),function(i){var o=[];return t.each(n,function(n){o=o.concat(e(t.toStr(i[n])))}),o}}}return{nonword:n,whitespace:e,obj:{nonword:i(n),whitespace:i(e)}}}(),o=function(){"use strict";function n(n){this.maxSize=t.isNumber(n)?n:100,this.reset(),this.maxSize<=0&&(this.set=this.get=e.noop)}function i(){this.head=this.tail=null}function o(e,t){this.key=e,this.val=t,this.prev=this.next=null}return t.mixin(n.prototype,{set:function(e,t){var n,i=this.list.tail;this.size>=this.maxSize&&(this.list.remove(i),delete this.hash[i.key],this.size--),(n=this.hash[e])?(n.val=t,this.list.moveToFront(n)):(n=new o(e,t),this.list.add(n),this.hash[e]=n,this.size++)},get:function(e){var t=this.hash[e];if(t)return this.list.moveToFront(t),t.val},reset:function(){this.size=0,this.hash={},this.list=new i}}),t.mixin(i.prototype,{add:function(e){this.head&&(e.next=this.head,this.head.prev=e),this.head=e,this.tail=this.tail||e},remove:function(e){e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev},moveToFront:function(e){this.remove(e),this.add(e)}}),n}(),r=function(){"use strict";function n(e,n){this.prefix=["__",e,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+t.escapeRegExChars(this.prefix)),this.ls=n||a,!this.ls&&this._noop()}function i(){return(new Date).getTime()}function o(e){return JSON.stringify(t.isUndefined(e)?null:e)}function r(t){return e.parseJSON(t)}function s(e){var t,n,i=[],o=a.length;for(t=0;t<o;t++)(n=a.key(t)).match(e)&&i.push(n.replace(e,""));return i}var a;try{a=window.localStorage,a.setItem("~~~","!"),a.removeItem("~~~")}catch(e){a=null}return t.mixin(n.prototype,{_prefix:function(e){return this.prefix+e},_ttlKey:function(e){return this._prefix(e)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=t.noop},_safeSet:function(e,t){try{this.ls.setItem(e,t)}catch(e){"QuotaExceededError"===e.name&&(this.clear(),this._noop())}},get:function(e){return this.isExpired(e)&&this.remove(e),r(this.ls.getItem(this._prefix(e)))},set:function(e,n,r){return t.isNumber(r)?this._safeSet(this._ttlKey(e),o(i()+r)):this.ls.removeItem(this._ttlKey(e)),this._safeSet(this._prefix(e),o(n))},remove:function(e){return this.ls.removeItem(this._ttlKey(e)),this.ls.removeItem(this._prefix(e)),this},clear:function(){var e,t=s(this.keyMatcher);for(e=t.length;e--;)this.remove(t[e]);return this},isExpired:function(e){var n=r(this.ls.getItem(this._ttlKey(e)));return!!(t.isNumber(n)&&i()>n)}}),n}(),s=function(){"use strict";function n(e){e=e||{},this.cancelled=!1,this.lastReq=null,this._send=e.transport,this._get=e.limiter?e.limiter(this._get):this._get,this._cache=!1===e.cache?new o(0):a}var i=0,r={},s=6,a=new o(10);
vendor: 6,422 bytes, line 17
17return n.setMaxPendingRequests=function(e){s=e},n.resetCache=function(){a.reset()},t.mixin(n.prototype,{_fingerprint:function(t){return t=t||{},t.url+t.type+e.param(t.data||{})},_get:function(e,t){function n(e){t(null,e),c._cache.set(l,e)}function o(){t(!0)}function a(){i--,delete r[l],c.onDeckRequestArgs&&(c._get.apply(c,c.onDeckRequestArgs),c.onDeckRequestArgs=null)}var l,u,c=this;l=this._fingerprint(e),this.cancelled||l!==this.lastReq||((u=r[l])?u.done(n).fail(o):i<s?(i++,r[l]=this._send(e).done(n).fail(o).always(a)):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(n,i){var o,r;i=i||e.noop,n=t.isString(n)?{url:n}:n||{},r=this._fingerprint(n),this.cancelled=!1,this.lastReq=r,(o=this._cache.get(r))?i(null,o):this._get(n,i)},cancel:function(){this.cancelled=!0}}),n}(),a=window.SearchIndex=function(){"use strict";function n(n){n=n||{},n.datumTokenizer&&n.queryTokenizer||e.error("datumTokenizer and queryTokenizer are both required"),this.identify=n.identify||t.stringify,this.datumTokenizer=n.datumTokenizer,this.queryTokenizer=n.queryTokenizer,this.reset()}function i(e){return e=t.filter(e,function(e){return!!e}),e=t.map(e,function(e){return e.toLowerCase()})}function o(){var e={};return e[l]=[],e[a]={},e}function r(e){for(var t={},n=[],i=0,o=e.length;i<o;i++)t[e[i]]||(t[e[i]]=!0,n.push(e[i]));return n}function s(e,t){var n=0,i=0,o=[];e=e.sort(),t=t.sort();for(var r=e.length,s=t.length;n<r&&i<s;)e[n]<t[i]?n++:e[n]>t[i]?i++:(o.push(e[n]),n++,i++);return o}var a="c",l="i";return t.mixin(n.prototype,{bootstrap:function(e){this.datums=e.datums,this.trie=e.trie},add:function(e){var n=this;e=t.isArray(e)?e:[e],t.each(e,function(e){var r,s;n.datums[r=n.identify(e)]=e,s=i(n.datumTokenizer(e)),t.each(s,function(e){var t,i,s;for(t=n.trie,i=e.split("");s=i.shift();)t=t[a][s]||(t[a][s]=o()),t[l].push(r)})})},get:function(e){var n=this;return t.map(e,function(e){return n.datums[e]})},search:function(e){var n,o,u=this;return n=i(this.queryTokenizer(e)),t.each(n,function(e){var t,n,i,r;if(o&&0===o.length)return!1;for(t=u.trie,n=e.split("");t&&(i=n.shift());)t=t[a][i];if(!t||0!==n.length)return o=[],!1;r=t[l].slice(0),o=o?s(o,r):r}),o?t.map(r(o),function(e){return u.datums[e]}):[]},all:function(){var e=[];for(var t in this.datums)e.push(this.datums[t]);return e},reset:function(){this.datums={},this.trie=o()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),n}(),l=function(){"use strict";function e(e){this.url=e.url,this.ttl=e.ttl,this.cache=e.cache,this.prepare=e.prepare,this.transform=e.transform,this.transport=e.transport,this.thumbprint=e.thumbprint,this.storage=new r(e.cacheKey)}var n;return n={data:"data",protocol:"protocol",thumbprint:"thumbprint"},t.mixin(e.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(e){this.cache&&(this.storage.set(n.data,e,this.ttl),this.storage.set(n.protocol,location.protocol,this.ttl),this.storage.set(n.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var e,t={};return this.cache?(t.data=this.storage.get(n.data),t.protocol=this.storage.get(n.protocol),t.thumbprint=this.storage.get(n.thumbprint),e=t.thumbprint!==this.thumbprint||t.protocol!==location.protocol,t.data&&!e?t.data:null):null},fromNetwork:function(e){function t(){e(!0)}function n(t){e(null,o.transform(t))}var i,o=this;e&&(i=this.prepare(this._settings()),this.transport(i).fail(t).done(n))},clear:function(){return this.storage.clear(),this}}),e}(),u=function(){"use strict";function e(e){this.url=e.url,this.prepare=e.prepare,this.transform=e.transform,this.transport=new s({cache:e.cache,limiter:e.limiter,transport:e.transport})}return t.mixin(e.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(e,t){function n(e,n){t(e?[]:o.transform(n))}var i,o=this;if(t)return e=e||"",i=this.prepare(e,this._settings()),this.transport.get(i,n)},cancelLastRequest:function(){this.transport.cancel()}}),e}(),c=function(){"use strict";function i(i){var o;return i?(o={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:t.identity,transform:t.identity,transport:null},i=t.isString(i)?{url:i}:i,i=t.mixin(o,i),!i.url&&e.error("prefetch requires url to be set"),i.transform=i.filter||i.transform,i.cacheKey=i.cacheKey||i.url,i.thumbprint=n+i.thumbprint,i.transport=i.transport?a(i.transport):e.ajax,i):null}function o(n){var i;if(n)return i={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:t.identity,transport:null},n=t.isString(n)?{url:n}:n,n=t.mixin(i,n),!n.url&&e.error("remote requires url to be set"),n.transform=n.filter||n.transform,n.prepare=r(n),n.limiter=s(n),n.transport=n.transport?a(n.transport):e.ajax,delete n.replace,delete n.wildcard,delete n.rateLimitBy,delete n.rateLimitWait,n}function r(e){function t(e,t){return t.url=r(t.url,e),t}function n(e,t){return t.url=t.url.replace(s,encodeURIComponent(e)),t}function i(e,t){return t}var o,r,s;return o=e.prepare,r=e.replace,s=e.wildcard,o||(o=r?t:e.wildcard?n:i)}function s(e){function n(e){return function(n){return t.debounce(n,e)}}function i(e){return function(n){return t.throttle(n,e)}}var o,r,s;return o=e.limiter,r=e.rateLimitBy,s=e.rateLimitWait,o||(o=/^throttle$/i.test(r)?i(s):n(s)),o}function a(n){return function(i){function o(e){t.defer(function(){s.resolve(e)})}function r(e){t.defer(function(){s.reject(e)})}var s=e.Deferred();return n(i,o,r),s}}return function(n){var r,s;return r={initialize:!0,identify:t.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null},n=t.mixin(r,n||{}),!n.datumTokenizer&&e.error("datumTokenizer is required"),!n.queryTokenizer&&e.error("queryTokenizer is required"),s=n.sorter,n.sorter=s?function(e){return e.sort(s)}:t.identity,n.local=t.isFunction(n.local)?n.local():n.local,n.prefetch=i(n.prefetch),n.remote=o(n.remote),n}}();return function(){"use strict";function n(e){e=c(e),this.sorter=e.sorter,this.identify=e.identify,this.sufficient=e.sufficient,this.local=e.local,this.remote=e.remote?new u(e.remote):null,this.prefetch=e.prefetch?new l(e.prefetch):null,this.index=new a({identify:this.identify,datumTokenizer:e.datumTokenizer,queryTokenizer:e.queryTokenizer}),!1!==e.initialize&&this.initialize()}var o;return o=window&&window.Bloodhound,n.noConflict=function(){return window&&(window.Bloodhound=o),n}
vendor: 3,542 bytes, line 17
17,n.tokenizers=i,t.mixin(n.prototype,{__ttAdapter:function(){function e(e,t,i){return n.search(e,t,i)}function t(e,t){return n.search(e,t)}var n=this;return this.remote?e:t},_loadPrefetch:function(){function t(e,t){if(e)return n.reject();o.add(t),o.prefetch.store(o.index.serialize()),n.resolve()}var n,i,o=this;return n=e.Deferred(),this.prefetch?(i=this.prefetch.fromCache())?(this.index.bootstrap(i),n.resolve()):this.prefetch.fromNetwork(t):n.resolve(),n.promise()},_initialize:function(){function e(){t.add(t.local)}var t=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(e),this.initPromise},initialize:function(e){return!this.initPromise||e?this._initialize():this.initPromise},add:function(e){return this.index.add(e),this},get:function(e){return e=t.isArray(e)?e:[].slice.call(arguments),this.index.get(e)},search:function(e,n,i){function o(e){var n=[];t.each(e,function(e){!t.some(r,function(t){return s.identify(e)===s.identify(t)})&&n.push(e)}),i&&i(n)}var r,s=this;return r=this.sorter(this.index.search(e)),n(this.remote?r.slice():r),this.remote&&r.length<this.sufficient?this.remote.get(e,o):this.remote&&this.remote.cancelLastRequest(),this},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return s.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),n}()}),function(e,t){"function"==typeof define&&define.amd?define("typeahead.js",["jquery"],function(e){return t(e)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(0,function(e){var t=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(e){return!e||/^\s*$/.test(e)},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isArray:e.isArray,isFunction:e.isFunction,isObject:e.isPlainObject,isUndefined:function(e){return void 0===e},isElement:function(e){return!(!e||1!==e.nodeType)},isJQuery:function(t){return t instanceof e},toStr:function(e){return t.isUndefined(e)||null===e?"":e+""},bind:e.proxy,each:function(t,n){function i(e,t){return n(t,e)}e.each(t,i)},map:e.map,filter:e.grep,every:function(t,n){var i=!0;return t?(e.each(t,function(e,o){if(!(i=n.call(null,o,e,t)))return!1}),!!i):i},some:function(t,n){var i=!1;return t?(e.each(t,function(e,o){if(i=n.call(null,o,e,t))return!1}),!!i):i},mixin:e.extend,identity:function(e){return e},clone:function(t){return e.extend(!0,{},t)},getIdGenerator:function(){var e=0;return function(){return e++}},templatify:function(t){function n(){return String(t)}return e.isFunction(t)?t:n},defer:function(e){setTimeout(e,0)},debounce:function(e,t,n){var i,o;return function(){var r,s,a=this,l=arguments;return r=function(){i=null,n||(o=e.apply(a,l))},s=n&&!i,clearTimeout(i),i=setTimeout(r,t),s&&(o=e.apply(a,l)),o}},throttle:function(e,t){var n,i,o,r,s,a;return s=0,a=function(){s=new Date,o=null,r=e.apply(n,i)},function(){var l=new Date,u=t-(l-s);return n=this,i=arguments,u<=0?(clearTimeout(o),o=null,s=l,r=e.apply(n,i)):o||(o=setTimeout(a,u)),r}},stringify:function(e){return t.isString(e)?e:JSON.stringify(e)},noop:function(){}}}(),n=function(){"use strict";function e(e){var s,a;return a=t.mixin({},r,e),s={css:o(),classes:a,html:n(a),selectors:i(a)}
vendor: 4,092 bytes, line 17
17,{css:s.css,html:s.html,classes:s.classes,selectors:s.selectors,mixin:function(e){t.mixin(e,s)}}}function n(e){return{wrapper:'<span class="'+e.wrapper+'"></span>',menu:'<div class="'+e.menu+'"></div>'}}function i(e){var n={};return t.each(e,function(e,t){n[t]="."+e}),n}function o(){var e={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return t.isMsie()&&t.mixin(e.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),e}var r={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return e}(),i=function(){"use strict";function n(t){t&&t.el||e.error("EventBus initialized without el"),this.$el=e(t.el)}var i,o;return i="typeahead:",o={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},t.mixin(n.prototype,{_trigger:function(t,n){var o;return o=e.Event(i+t),(n=n||[]).unshift(o),this.$el.trigger.apply(this.$el,n),o},before:function(e){var t,n;return t=[].slice.call(arguments,1),n=this._trigger("before"+e,t),n.isDefaultPrevented()},trigger:function(e){var t;this._trigger(e,[].slice.call(arguments,1)),(t=o[e])&&this._trigger(t,[].slice.call(arguments,1))}}),n}(),o=function(){"use strict";function e(e,t,n,i){var o;if(!n)return this;for(t=t.split(l),n=i?a(n,i):n,this._callbacks=this._callbacks||{};o=t.shift();)this._callbacks[o]=this._callbacks[o]||{sync:[],async:[]},this._callbacks[o][e].push(n);return this}function t(t,n,i){return e.call(this,"async",t,n,i)}function n(t,n,i){return e.call(this,"sync",t,n,i)}function i(e){var t;if(!this._callbacks)return this;for(e=e.split(l);t=e.shift();)delete this._callbacks[t];return this}function o(e){var t,n,i,o,s;if(!this._callbacks)return this;for(e=e.split(l),i=[].slice.call(arguments,1);(t=e.shift())&&(n=this._callbacks[t]);)o=r(n.sync,this,[t].concat(i)),s=r(n.async,this,[t].concat(i)),o()&&u(s);return this}function r(e,t,n){function i(){for(var i,o=0,r=e.length;!i&&o<r;o+=1)i=!1===e[o].apply(t,n);return!i}return i}function s(){return window.setImmediate?function(e){setImmediate(function(){e()})}:function(e){setTimeout(function(){e()},0)}}function a(e,t){return e.bind?e.bind(t):function(){e.apply(t,[].slice.call(arguments,0))}}var l=/\s+/,u=s();return{onSync:n,onAsync:t,off:i,trigger:o}}(),r=function(e){"use strict";function n(e,n,i){for(var o,r=[],s=0,a=e.length;s<a;s++)r.push(t.escapeRegExChars(e[s]));return o=i?"\\b("+r.join("|")+")\\b":"("+r.join("|")+")",n?new RegExp(o):new RegExp(o,"i")}var i={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(o){function r(t){var n,i,r;return(n=a.exec(t.data))&&(r=e.createElement(o.tagName),o.className&&(r.className=o.className),i=t.splitText(n.index),i.splitText(n[0].length),r.appendChild(i.cloneNode(!0)),t.parentNode.replaceChild(r,i)),!!n}function s(e,t){for(var n,i=3,o=0;o<e.childNodes.length;o++)n=e.childNodes[o],n.nodeType===i?o+=t(n)?1:0:s(n,t)}var a;o=t.mixin({},i,o),o.node&&o.pattern&&(o.pattern=t.isArray(o.pattern)?o.pattern:[o.pattern],a=n(o.pattern,o.caseSensitive,o.wordsOnly),s(o.node,r))}}(window.document),s=function(){"use strict";function n(n,o){n=n||{},n.input||e.error("input is missing"),o.mixin(this),this.$hint=e(n.hint),this.$input=e(n.input),this.query=this.$input.val(),this.queryWhenFocused=this.hasFocus()?this.query:null,this.$overflowHelper=i(this.$input),this._checkLanguageDirection(),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=t.noop)}function i(t){return e('<pre aria-hidden="true"></pre>
17').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:t.css("font-family"),fontSize:t.css("font-size"),fontStyle:t.css("font-style"),fontVariant:t.css("font-variant"),fontWeight:t.css("font-weight"),wordSpacing:t.css("word-spacing"),letterSpacing:t.css("letter-spacing"),textIndent:t.css("text-indent"),textRendering:t.css("text-rendering"),textTransform:t.css("text-transform")}).insertAfter(t)}function r(e,t){return n.normalizeQuery(e)===n.normalizeQuery(t)}function s(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}var a;return a={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},n.normalizeQuery=function(e){return t.toStr(e).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},t.mixin(n.prototype,o,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query,this.trigger("focused")},_onKeydown:function(e){var t=a[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._setQuery(this.getInputValue()),this.clearHintIfInvalid(),this._checkLanguageDirection()},_managePreventDefault:function(e,t){var n;switch(e){case"up":case"down":n=!s(t);break;default:n=!1}n&&t.preventDefault()},_shouldTrigger:function(e,t){var n;switch(e){case"tab":n=!s(t);break;default:n=!0}return n},_checkLanguageDirection:function(){var e=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==e&&(this.dir=e,this.$hint.attr("dir",e),this.trigger("langDirChanged",e))},_setQuery:function(e,t){var n,i;n=r(e,this.query),i=!!n&&this.query.length!==e.length,this.query=e,t||n?!t&&i&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},bind:function(){var e,n,i,o,r=this;return e=t.bind(this._onBlur,this),n=t.bind(this._onFocus,this),i=t.bind(this._onKeydown,this),o=t.bind(this._onInput,this),this.$input.on("blur.tt",e).on("focus.tt",n).on("keydown.tt",i),!t.isMsie()||t.isMsie()>9?this.$input.on("input.tt",o):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(e){a[e.which||e.keyCode]||t.defer(t.bind(r._onInput,r,e))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(e,t){this.setInputValue(e),this._setQuery(e,t)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(e){this.$input.val(e),this.clearHintIfInvalid(),this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e,t,n,i;e=this.getInputValue(),t=this.getHint(),n=e!==t&&0===t.indexOf(e),!(i=""!==e&&n&&!this.hasOverflow())&&this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e,n,i;return e=this.$input.val().length,n=this.$input[0].selectionStart,t.isNumber(n)?n===e:!document.selection||(i=document.selection.createRange(),i.moveStart("character",-e),e===i.text.length)},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$overflowHelper.remove(),this.$hint=this.$input=this.$overflowHelper=e("<div>")}}),n}(),a=function(){"use strict";function n(n,o){n=n||{},n.templates=n.templates||{},n.templates.notFound=n.templates.notFound||n.templates.empty,n.source||e.error("missing source"),n.node||e.error("missing node"),n.name&&!a(n.name)&&e.error("invalid dataset name: "+n.name),o.mixin(this),this.highlight=!!n.highlight,this.name=n.name||u(),this.limit=n.limit||5,this.displayFn=i(n.display||n.displayKey),this.templates=s(n.templates,this.displayFn),this.source=n.source.__ttAdapter?n.source.__ttAdapter():n.source,this.async=t.isUndefined(n.async)?this.source.length>2:!!n.async,this._resetLastSuggestion(),this.$el=e(n.node).addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}function i(e){function n(t){return t[e]}return e=e||t.stringify,t.isFunction(e)?e:n}function s(n,i){function o(t){return e("<div>").text(i(t))}return{notFound:n.notFound&&t.templatify(n.notFound),pending:n.pending&&t.templatify(n.pending),header:n.header&&t.templatify(n.header),footer:n.footer&&t.templatify(n.footer),suggestion:n.suggestion||o}}function a(e){return/^[_a-zA-Z0-9-]+$/.test(e)}var l,u;return l={val:"tt-selectable-display",obj:"tt-selectable-object"},u=t.getIdGenerator(),n.extractData=function(t){var n=e(t);return n.data(l.obj)?{val:n.data(l.val)||"",obj:n.data(l.obj)||null}:null}
vendor: 4,222 bytes, line 17
17,t.mixin(n.prototype,o,{_overwrite:function(e,t){t=t||[],t.length?this._renderSuggestions(e,t):this.async&&this.templates.pending?this._renderPending(e):!this.async&&this.templates.notFound?this._renderNotFound(e):this._empty(),this.trigger("rendered",this.name,t,!1)},_append:function(e,t){t=t||[],t.length&&this.$lastSuggestion.length?this._appendSuggestions(e,t):t.length?this._renderSuggestions(e,t):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(e),this.trigger("rendered",this.name,t,!0)},_renderSuggestions:function(e,t){var n;n=this._getSuggestionsFragment(e,t),this.$lastSuggestion=n.children().last(),this.$el.html(n).prepend(this._getHeader(e,t)).append(this._getFooter(e,t))},_appendSuggestions:function(e,t){var n,i;n=this._getSuggestionsFragment(e,t),i=n.children().last(),this.$lastSuggestion.after(n),this.$lastSuggestion=i},_renderPending:function(e){var t=this.templates.pending;this._resetLastSuggestion(),t&&this.$el.html(t({query:e,dataset:this.name}))},_renderNotFound:function(e){var t=this.templates.notFound;this._resetLastSuggestion(),t&&this.$el.html(t({query:e,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(n,i){var o,s=this;return o=document.createDocumentFragment(),t.each(i,function(t){var i,r;r=s._injectQuery(n,t),i=e(s.templates.suggestion(r)).data(l.obj,t).data(l.val,s.displayFn(t)).addClass(s.classes.suggestion+" "+s.classes.selectable),o.appendChild(i[0])}),this.highlight&&r({className:this.classes.highlight,node:o,pattern:n}),e(o)},_getFooter:function(e,t){return this.templates.footer?this.templates.footer({query:e,suggestions:t,dataset:this.name}):null},_getHeader:function(e,t){return this.templates.header?this.templates.header({query:e,suggestions:t,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=e()},_injectQuery:function(e,n){return t.isObject(n)?t.mixin({_query:e},n):n},update:function(t){function n(e){s||(s=!0,e=(e||[]).slice(0,o.limit),a=e.length,o._overwrite(t,e),a<o.limit&&o.async&&o.trigger("asyncRequested",t))}function i(n){n=n||[],!r&&a<o.limit&&(o.cancel=e.noop,a+=n.length,o._append(t,n.slice(0,o.limit-a)),o.async&&o.trigger("asyncReceived",t))}var o=this,r=!1,s=!1,a=0;this.cancel(),this.cancel=function(){r=!0,o.cancel=e.noop,o.async&&o.trigger("asyncCanceled",t)},this.source(t,n,i),!s&&n([])},cancel:e.noop,clear:function(){this._empty(),this.cancel(),this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=e("<div>")}}),n}(),l=function(){"use strict";function n(n,i){function o(t){var n=r.$node.find(t.node).first();return t.node=n.length?n:e("<div>").appendTo(r.$node),new a(t,i)}var r=this;n=n||{},n.node||e.error("node is required"),i.mixin(this),this.$node=e(n.node),this.query=null,this.datasets=t.map(n.datasets,o)}return t.mixin(n.prototype,o,{_onSelectableClick:function(t){return this.trigger("selectableClicked",e(t.currentTarget)),!1},_onRendered:function(e,t,n,i){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",t,n,i)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){function e(e){return e.isEmpty()}return t.every(this.datasets,e)},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var e=this.getActiveSelectable();e&&e.removeClass(this.classes.cursor)},_ensureVisible:function(e){var t,n,i,o;t=e.position().top,n=t+e.outerHeight(!0),i=this.$node.scrollTop(),o=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10),t<0?this.$node.scrollTop(i+t):o<n&&this.$node.scrollTop(i+(n-o))},bind:function(){var e,n=this;return e=t.bind(this._onSelectableClick,this),this.$node.on("click.tt",this.selectors.selectable,e),t.each(this.datasets,function(e){e.onSync("asyncRequested",n._propagate,n).onSync("asyncCanceled",n._propagate,n).onSync("asyncReceived",n._propagate,n).onSync("rendered",n._onRendered,n).onSync("cleared",n._onCleared,n)}),this}
vendor: 7,800 bytes, lines 17-18
17,isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.addClass(this.classes.open)},close:function(){this.$node.removeClass(this.classes.open),this._removeCursor()},setLanguageDirection:function(e){this.$node.attr("dir",e)},selectableRelativeToCursor:function(e){var t,n,i,o;return n=this.getActiveSelectable(),t=this._getSelectables(),i=n?t.index(n):-1,o=i+e,o=(o+1)%(t.length+1)-1,o=o<-1?t.length-1:o,-1===o?null:t.eq(o)},setCursor:function(e){this._removeCursor(),(e=e&&e.first())&&(e.addClass(this.classes.cursor),this._ensureVisible(e))},getSelectableData:function(e){return e&&e.length?a.extractData(e):null},getActiveSelectable:function(){var e=this._getSelectables().filter(this.selectors.cursor).first();return e.length?e:null},getTopSelectable:function(){var e=this._getSelectables().first();return e.length?e:null},update:function(e){function n(t){t.update(e)}var i=e!==this.query;return i&&(this.query=e,t.each(this.datasets,n)),i},empty:function(){function e(e){e.clear()}t.each(this.datasets,e),this.query=null,this.$node.addClass(this.classes.empty)},destroy:function(){function n(e){e.destroy()}this.$node.off(".tt"),this.$node=e("<div>"),t.each(this.datasets,n)}}),n}(),u=function(){"use strict";function e(){l.apply(this,[].slice.call(arguments,0))}var n=l.prototype;return t.mixin(e.prototype,l.prototype,{open:function(){return!this._allDatasetsEmpty()&&this._show(),n.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),n.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),n._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),n._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(e){return this.$node.css("ltr"===e?this.css.ltr:this.css.rtl),n.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),e}(),c=function(){"use strict";function n(n,o){var r,s,a,l,u,c,d,h,p,f,m;n=n||{},n.input||e.error("missing input"),n.menu||e.error("missing menu"),n.eventBus||e.error("missing event bus"),o.mixin(this),this.eventBus=n.eventBus,this.minLength=t.isNumber(n.minLength)?n.minLength:1,this.input=n.input,this.menu=n.menu,this.enabled=!0,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),r=i(this,"activate","open","_onFocused"),s=i(this,"deactivate","_onBlurred"),a=i(this,"isActive","isOpen","_onEnterKeyed"), 18l=i(this,"isActive","isOpen","_onTabKeyed"),u=i(this,"isActive","_onEscKeyed"),c=i(this,"isActive","open","_onUpKeyed"),d=i(this,"isActive","open","_onDownKeyed"),h=i(this,"isActive","isOpen","_onLeftKeyed"),p=i(this,"isActive","isOpen","_onRightKeyed"),f=i(this,"_openIfActive","_onQueryChanged"),m=i(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",r,this).onSync("blurred",s,this).onSync("enterKeyed",a,this).onSync("tabKeyed",l,this).onSync("escKeyed",u,this).onSync("upKeyed",c,this).onSync("downKeyed",d,this).onSync("leftKeyed",h,this).onSync("rightKeyed",p,this).onSync("queryChanged",f,this).onSync("whitespaceChanged",m,this).onSync("langDirChanged",this._onLangDirChanged,this)}function i(e){var n=[].slice.call(arguments,1);return function(){var i=[].slice.call(arguments);t.each(n,function(t){return e[t].apply(e,i)})}}return t.mixin(n.prototype,{_hacks:function(){var n,i;n=this.input.$input||e("<div>"),i=this.menu.$node||e("<div>"),n.on("blur.tt",function(e){var o,r,s;o=document.activeElement,r=i.is(o),s=i.has(o).length>0,t.isMsie()&&(r||s)&&(e.preventDefault(),e.stopImmediatePropagation(),t.defer(function(){n.focus()}))}),i.on("mousedown.tt",function(e){e.preventDefault()})},_onSelectableClicked:function(e,t){this.select(t)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(e,t,n,i){this._updateHint(),this.eventBus.trigger("render",n,i,t)},_onAsyncRequested:function(e,t,n){this.eventBus.trigger("asyncrequest",n,t)},_onAsyncCanceled:function(e,t,n){this.eventBus.trigger("asynccancel",n,t)},_onAsyncReceived:function(e,t,n){this.eventBus.trigger("asyncreceive",n,t)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(e,t){var n;(n=this.menu.getActiveSelectable())&&this.select(n)&&t.preventDefault()},_onTabKeyed:function(e,t){var n;(n=this.menu.getActiveSelectable())?this.select(n)&&t.preventDefault():(n=this.menu.getTopSelectable())&&this.autocomplete(n)&&t.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){"rtl"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onRightKeyed:function(){"ltr"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onQueryChanged:function(e,t){this._minLengthMet(t)?this.menu.update(t):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(e,t){this.dir!==t&&(this.dir=t,this.menu.setLanguageDirection(t))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(e){return e=t.isString(e)?e:this.input.getQuery()||"",e.length>=this.minLength},_updateHint:function(){var e,n,i,o,r,a,l;e=this.menu.getTopSelectable(),n=this.menu.getSelectableData(e),i=this.input.getInputValue(),!n||t.isBlankString(i)||this.input.hasOverflow()?this.input.clearHint():(o=s.normalizeQuery(i),r=t.escapeRegExChars(o),a=new RegExp("^(?:"+r+")(.+$)","i"),(l=a.exec(n.val))&&this.input.setHint(i+l[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return!!this.isActive()||!(!this.isEnabled()||this.eventBus.before("active"))&&(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return!this.isActive()||!this.eventBus.before("idle")&&(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0)},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(e){this.input.setQuery(t.toStr(e))},getVal:function(){return this.input.getQuery()},select:function(e){var t=this.menu.getSelectableData(e);return!(!t||this.eventBus.before("select",t.obj))&&(this.input.setQuery(t.val,!0),this.eventBus.trigger("select",t.obj),this.close(),!0)},autocomplete:function(e){var t,n;return t=this.input.getQuery(),n=this.menu.getSelectableData(e),!(!(n&&t!==n.val)||this.eventBus.before("autocomplete",n.obj))&&(this.input.setQuery(n.val),this.eventBus.trigger("autocomplete",n.obj),!0)},moveCursor:function(e){var t,n,i,o;return t=this.input.getQuery(),n=this.menu.selectableRelativeToCursor(e),i=this.menu.getSelectableData(n),o=i?i.obj:null,!(this._minLengthMet()&&this.menu.update(t))&&
18!this.eventBus.before("cursorchange",o)&&(this.menu.setCursor(n),i?this.input.setInputValue(i.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",o),!0)},destroy:function(){this.input.destroy(),this.menu.destroy()}}),n}();!function(){"use strict";function o(t,n){t.each(function(){var t,i=e(this);(t=i.data(m.typeahead))&&n(t,i)})}function r(e,t){return e.clone().addClass(t.classes.hint).removeData().css(t.css.hint).css(d(e)).prop("readonly",!0).removeAttr("id name placeholder required").attr({autocomplete:"off",spellcheck:"false",tabindex:-1})}function a(e,t){e.data(m.attrs,{dir:e.attr("dir"),autocomplete:e.attr("autocomplete"),spellcheck:e.attr("spellcheck"),style:e.attr("style")}),e.addClass(t.classes.input).attr({autocomplete:"off",spellcheck:!1});try{!e.attr("dir")&&e.attr("dir","auto")}catch(e){}return e}function d(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}function h(e){var n,i;n=e.data(m.www),i=e.parent().filter(n.selectors.wrapper),t.each(e.data(m.attrs),function(n,i){t.isUndefined(n)?e.removeAttr(i):e.attr(i,n)}),e.removeData(m.typeahead).removeData(m.www).removeData(m.attr).removeClass(n.classes.input),i.length&&(e.detach().insertAfter(i),i.remove())}function p(n){var i,o;return i=t.isJQuery(n)||t.isElement(n),o=i?e(n).first():[],o.length?o:null}var f,m,g;f=e.fn.typeahead,m={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},g={initialize:function(o,d){function h(){var n,h,g,_,v,y,b,w,x,k,T;t.each(d,function(e){e.highlight=!!o.highlight}),n=e(this),h=e(f.html.wrapper),g=p(o.hint),_=p(o.menu),v=!1!==o.hint&&!g,y=!1!==o.menu&&!_,v&&(g=r(n,f)),y&&(_=e(f.html.menu).css(f.css.menu)),g&&g.val(""),n=a(n,f),(v||y)&&(h.css(f.css.wrapper),n.css(v?f.css.input:f.css.inputWithNoHint),n.wrap(h).parent().prepend(v?g:null).append(y?_:null)),T=y?u:l,b=new i({el:n}),w=new s({hint:g,input:n},f),x=new T({node:_,datasets:d},f),k=new c({input:w,menu:x,eventBus:b,minLength:o.minLength},f),n.data(m.www,f),n.data(m.typeahead,k)}var f;return d=t.isArray(d)?d:[].slice.call(arguments,1),o=o||{},f=n(o.classNames),this.each(h)},isEnabled:function(){var e;return o(this.first(),function(t){e=t.isEnabled()}),e},enable:function(){return o(this,function(e){e.enable()}),this},disable:function(){return o(this,function(e){e.disable()}),this},isActive:function(){var e;return o(this.first(),function(t){e=t.isActive()}),e},activate:function(){return o(this,function(e){e.activate()}),this},deactivate:function(){return o(this,function(e){e.deactivate()}),this},isOpen:function(){var e;return o(this.first(),function(t){e=t.isOpen()}),e},open:function(){return o(this,function(e){e.open()}),this},close:function(){return o(this,function(e){e.close()}),this},select:function(t){var n=!1,i=e(t);return o(this.first(),function(e){n=e.select(i)}),n},autocomplete:function(t){var n=!1,i=e(t);return o(this.first(),function(e){n=e.autocomplete(i)}),n},moveCursor:function(e){var t=!1;return o(this.first(),function(n){t=n.moveCursor(e)}),t},val:function(e){var t;return arguments.length?(o(this,function(t){t.setVal(e)}),this):(o(this.first(),function(e){t=e.getVal()}),t)},destroy:function(){return o(this,function(e,t){h(t),e.destroy()}),this}},e.fn.typeahead=function(e){return g[e]?g[e].apply(this,[].slice.call(arguments,1)):g.initialize.apply(this,arguments)},e.fn.typeahead.noConflict=function(){return e.fn.typeahead=f,this}}()}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):e.parsley=t(e.jQuery)}(this,function(e){"use strict";function t(e,t){return e.parsleyAdaptedCallback||(e.parsleyAdaptedCallback=function(){var n=Array.prototype.slice.call(arguments,0);n.unshift(this),e.apply(t||A,n)}),e.parsleyAdaptedCallback}function n(e){return 0===e.lastIndexOf(E,0)?e.substr(E.length):e}var i=1,o={},r={attr:function(e,t,n){var i,o,r,s=new RegExp("^"+t,"i");if(void 0===n)n={};else for(i in n)n.hasOwnProperty(i)&&delete n[i];if(void 0===e||"undefined"==typeof e[0])return n;for(r=e[0].attributes,i=r.length;i--;)(o=r[i])&&o.specified&&s.test(o.name)&&(n[this.camelize(o.name.slice(t.length))]=this.deserializeValue(o.value));return n},checkAttr:function(e,t,n){return e.is("["+t+n+"]")},setAttr:function(e,t,n,i){e[0].setAttribute(this.dasherize(t+n),String(i))},generateID:function(){return""+i++},deserializeValue:function(t){var n;try{return t?"true"==t||"false"!=t&&("null"==t?null:isNaN(n=Number(t))?/^[\[\{]/.test(t)?e.parseJSON(t):t:n):t}catch(e){return t}},camelize:function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},dasherize:function(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function(){window.console&&"function"==typeof window.console.warn&&window.console.warn.apply(window.console,arguments)},warnOnce:function(e){o[e]||(o[e]=!0,this.warn.apply(this,arguments))},_resetWarnings:function(){o={}},trimString:function(e){return e.replace(/^\s+|\s+$/g,"")},objectCreate:Object.create||function(){var e=function(){};return function(t){if(arguments.length>1)throw Error("Second argument not supported");if("object"!=typeof t)throw TypeError("Argument must be an object");e.prototype=t;var n=new e;return e.prototype=null,n}}()},s=r,a={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!0,validationThreshold:3,focu
18s:"first",trigger:!1,errorClass:"parsley-error",successClass:"parsley-success",classHandler:function(){},errorsContainer:function(){},errorsWrapper:'<ul class="parsley-errors-list"></ul>',errorTemplate:"<li></li>"},l=function(){};l.prototype={asyncSupport:!0,actualizeOptions:function(){return s.attr(this.$element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function(e){this.domOptions=s.objectCreate(this.parent.options),this.options=s.objectCreate(this.domOptions);for(var t in e)e.hasOwnProperty(t)&&(this.options[t]=e[t]);this.actualizeOptions()},_listeners:null,on:function(e,t){return this._listeners=this._listeners||{},(this._listeners[e]=this._listeners[e]||[]).push(t),this},subscribe:function(t,n){e.listenTo(this,t.toLowerCase(),n)},off:function(e,t){var n=this._listeners&&this._listeners[e];if(n)if(t)for(var i=n.length;i--;)n[i]===t&&n.splice(i,1);else delete this._listeners[e];return this},unsubscribe:function(t){e.unsubscribeTo(this,t.toLowerCase())},trigger:function(e,t,n){t=t||this;var i,o=this._listeners&&this._listeners[e];if(o)for(var r=o.length;r--;)if(!1===(i=o[r].call(t,t,n)))return i;return!this.parent||this.parent.trigger(e,t,n)},reset:function(){if("ParsleyForm"!==this.__class__)return this._trigger("reset");for(var e=0;e<this.fields.length;e++)this.fields[e]._trigger("reset");this._trigger("reset")},destroy:function(){if("ParsleyForm"!==this.__class__)return this.$element.removeData("Parsley"),this.$element.removeData("ParsleyFieldMultiple"),void this._trigger("destroy");for(var e=0;e<this.fields.length;e++)this.fields[e].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},asyncIsValid:function(){return s.warnOnce("asyncIsValid is deprecated; please use whenIsValid instead"),this.whenValid.apply(this,arguments)},_findRelatedMultiple:function(){return this.parent.$element.find("["+this.options.namespace+'multiple="'+this.options.multiple+'"]')}};var u={string:function(e){return e},integer:function(e){if(isNaN(e))throw'Requirement is not an integer: "'+e+'"';return parseInt(e,10)},number:function(e){if(isNaN(e))throw'Requirement is not a number: "'+e+'"';return parseFloat(e)},reference:function(t){var n=e(t);if(0===n.length)throw'No such reference: "'+t+'"';return n},"boolean":function(e){return"false"!==e},object:function(e){return s.deserializeValue(e)},regexp:function(e){var t="";return/^\/.*\/(?:[gimy]*)$/.test(e)?(t=e.replace(/.*\/([gimy]*)$/,"$1"),e=e.replace(new RegExp("^/(.*?)/"+t+"$"),"$1")):e="^"+e+"$",new RegExp(e,t)}},c=function(e,t){var n=e.match(/^\s*\[(.*)\]\s*$/);if(!n)throw'Requirement is not an array: "'+e+'"';var i=n[1].split(",").map(s.trimString);if(i.length!==t)throw"Requirement has "+i.length+" values when "+t+" are needed";return i},d=function(e,t){var n=u[e||"string"];if(!n)throw'Unknown requirement specification: "'+e+'"';return n(t)},h=function(e,t,n){var i=null,o={};for(var r in e)if(r){var s=n(r);"string"==typeof s&&(s=d(e[r],s)),o[r]=s}else i=d(e[r],t);return[i,o]},p=function(t){e.extend(!0,this,t)};p.prototype={validate:function(t,n){if(this.fn)return arguments.length>3&&(n=[].slice.call(arguments,1,-1)),this.fn.call(this,t,n);if(e.isArray(t)){if(!this.validateMultiple)throw"Validator `"+this.name+"` does not handle multiple values";return this.validateMultiple.apply(this,arguments)}if(this.validateNumber)return!isNaN(t)&&(arguments[0]=parseFloat(arguments[0]),this.validateNumber.apply(this,arguments));if(this.validateString)return this.validateString.apply(this,arguments);throw"Validator `"+this.name+"` only handles multiple values"},parseRequirements:function(t,n){if("string"!=typeof t)return e.isArray(t)?t:[t];var i=this.requirementType;if(e.isArray(i)){for(var o=c(t,i.length),r=0;r<o.length;r++)o[r]=d(i[r],o[r]);return o}return e.isPlainObject(i)?h(i,t,n):[d(i,t)]},requirementType:"string",priority:2};var f=function(e,t){this.__class__="ParsleyValidatorRegistry",this.locale="en",this.init(e||{},t||{})},m={email:/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,number:/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/,integer:/^-?\d+$/,digits:/^\d+$/,alphanum:/^\w+$/i,url:new RegExp("^(?:(?:https?|ftp)://)?(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:/\\S*)?$","i")};m.range=m.number,f.prototype={init:function(t,n){this.catalog=n,this.validators=e.extend({},this.validators);for(var i in t)this.addValidator(i,t[i].fn,t[i].priority);window.Parsley.trigger("parsley:validator:init")},setLocale:function(e){if("undefined"==typeof this.catalog[e])throw new Error(e+" is not available in the catalog");return this.locale=e,this},addCatalog:function(e,t,n){return"object"==typeof t&&(this.catalog[e]=t),!0===n?this.setLocale(e):this},addMessage:function(e,t,n){return"undefined"==typeof this.catalog[e]&&(this.catalog[e]={}),this.catalog[e][t]=n,this},addMessages:function(e,t){for(var n in t)this.addMessage(e,n,t[n]);return this},addValidator:function(e){if(this.validators[e])s.warn('Validator "'+e+'" is already defined.');else if(a.hasOwnProperty(e))return void s.warn('"'+e+'" is a restricted keyword and is not a valid validator name.');return this._setValidator.apply(this,arguments)}
18,updateValidator:function(e){return this.validators[e]?this._setValidator(this,arguments):(s.warn('Validator "'+e+'" is not already defined.'),this.addValidator.apply(this,arguments))},removeValidator:function(e){return this.validators[e]||s.warn('Validator "'+e+'" is not defined.'),delete this.validators[e],this},_setValidator:function(e,t,n){"object"!=typeof t&&(t={fn:t,priority:n}),t.validate||(t=new p(t)),this.validators[e]=t;for(var i in t.messages||{})this.addMessage(i,e,t.messages[i]);return this},getErrorMessage:function(e){var t;if("type"===e.name){t=(this.catalog[this.locale][e.name]||{})[e.requirements]}else t=this.formatMessage(this.catalog[this.locale][e.name],e.requirements);return t||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function(e,t){if("object"==typeof t){for(var n in t)e=this.formatMessage(e,t[n]);return e}return"string"==typeof e?e.replace(new RegExp("%s","i"),t):""},validators:{notblank:{validateString:function(e){return/\S/.test(e)},priority:2},required:{validateMultiple:function(e){return e.length>0},validateString:function(e){return/\S/.test(e)},priority:512},type:{validateString:function(e,t){var n=m[t];if(!n)throw new Error("validator type `"+t+"` is not supported");return n.test(e)},priority:256},pattern:{validateString:function(e,t){return t.test(e)},requirementType:"regexp",priority:64},minlength:{validateString:function(e,t){return e.length>=t},requirementType:"integer",priority:30},maxlength:{validateString:function(e,t){return e.length<=t},requirementType:"integer",priority:30},length:{validateString:function(e,t,n){return e.length>=t&&e.length<=n},requirementType:["integer","integer"],priority:30},mincheck:{validateMultiple:function(e,t){return e.length>=t},requirementType:"integer",priority:30},maxcheck:{validateMultiple:function(e,t){return e.length<=t},requirementType:"integer",priority:30},check:{validateMultiple:function(e,t,n){return e.length>=t&&e.length<=n},requirementType:["integer","integer"],priority:30},min:{validateNumber:function(e,t){return e>=t},requirementType:"number",priority:30},max:{validateNumber:function(e,t){return t>=e},requirementType:"number",priority:30},range:{validateNumber:function(e,t,n){return e>=t&&n>=e},requirementType:["number","number"],priority:30},equalto:{validateString:function(t,n){var i=e(n);return i.length?t===i.val():t===n},priority:256}}};var g=function(){this.__class__="ParsleyUI"};g.prototype={listen:function(){var e=this;return window.Parsley.on("form:init",function(){e.setupForm(this)}).on("field:init",function(){e.setupField(this)}).on("field:validated",function(){e.reflow(this)}).on("form:validated",function(){e.focus(this)}).on("field:reset",function(){e.reset(this)}).on("form:destroy",function(){e.destroy(this)}).on("field:destroy",function(){e.destroy(this)}),this},reflow:function(e){if("undefined"!=typeof e._ui&&!1!==e._ui.active){var t=this._diff(e.validationResult,e._ui.lastValidationResult);e._ui.lastValidationResult=e.validationResult,e._ui.validatedOnce=!0,this.manageStatusClass(e),this.manageErrorsMessages(e,t),this.actualizeTriggers(e),(t.kept.length||t.added.length)&&!0!==e._ui.failedOnce&&this.manageFailingFieldTrigger(e)}},getErrorsMessages:function(e){if(!0===e.validationResult)return[];for(var t=[],n=0;n<e.validationResult.length;n++)t.push(e.validationResult[n].errorMessage||this._getErrorMessage(e,e.validationResult[n].assert));return t},manageStatusClass:function(e){e.hasConstraints()&&e.needsValidation()&&!0===e.validationResult?this._successClass(e):e.validationResult.length>0?this._errorClass(e):this._resetClass(e)},manageErrorsMessages:function(t,n){if("undefined"==typeof t.options.errorsMessagesDisabled){if("undefined"!=typeof t.options.errorMessage)return n.added.length||n.kept.length?(this._insertErrorWrapper(t),0===t._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&t._ui.$errorsWrapper.append(e(t.options.errorTemplate).addClass("parsley-custom-error-message")),t._ui.$errorsWrapper.addClass("filled").find(".parsley-custom-error-message").html(t.options.errorMessage)):t._ui.$errorsWrapper.removeClass("filled").find(".parsley-custom-error-message").remove();for(var i=0;i<n.removed.length;i++)this.removeError(t,n.removed[i].assert.name,!0);for(i=0;i<n.added.length;i++)this.addError(t,n.added[i].assert.name,n.added[i].errorMessage,n.added[i].assert,!0);for(i=0;i<n.kept.length;i++)this.updateError(t,n.kept[i].assert.name,n.kept[i].errorMessage,n.kept[i].assert,!0)}},addError:function(t,n,i,o,r){this._insertErrorWrapper(t),t._ui.$errorsWrapper.addClass("filled").append(e(t.options.errorTemplate).addClass("parsley-"+n).html(i||this._getErrorMessage(t,o))),!0!==r&&this._errorClass(t)},updateError:function(e,t,n,i,o){e._ui.$errorsWrapper.addClass("filled").find(".parsley-"+t).html(n||this._getErrorMessage(e,i)),!0!==o&&this._errorClass(e)},removeError:function(e,t,n){e._ui.$errorsWrapper.removeClass("filled").find(".parsley-"+t).remove(),!0!==n&&this.manageStatusClass(e)},focus:function(e){if(e._focusedField=null,!0===e.validationResult||"none"===e.options.focus)return null;for(var t=0;t<e.fields.length;t++){var n=e.fields[t];if(!0!==n.validationResult&&n.validationResult.length>0&&"undefined"==typeof n.options.noFocus&&(e._focusedField=n.$element,"first"===e.options.focus))break}return null===e._focusedField?null:e._focusedField.focus()},_getErrorMessage:function(e,t){var n=t.name+"Message";
18return"undefined"!=typeof e.options[n]?window.Parsley.formatMessage(e.options[n],t.requirements):window.Parsley.getErrorMessage(t)},_diff:function(e,t,n){for(var i=[],o=[],r=0;r<e.length;r++){for(var s=!1,a=0;a<t.length;a++)if(e[r].assert.name===t[a].assert.name){s=!0;break}s?o.push(e[r]):i.push(e[r])}return{kept:o,added:i,removed:n?[]:this._diff(t,e,!0).added}},setupForm:function(t){t.$element.on("submit.Parsley",!1,e.proxy(t.onSubmitValidate,t)),t.$element.on("click.Parsley",'input[type="submit"], button[type="submit"]',e.proxy(t.onSubmitButton,t)),!1!==t.options.uiEnabled&&t.$element.attr("novalidate","")},setupField:function(t){var n={active:!1};!1!==t.options.uiEnabled&&(n.active=!0,t.$element.attr(t.options.namespace+"id",t.__id__),n.$errorClassHandler=this._manageClassHandler(t),n.errorsWrapperId="parsley-id-"+(t.options.multiple?"multiple-"+t.options.multiple:t.__id__),n.$errorsWrapper=e(t.options.errorsWrapper).attr("id",n.errorsWrapperId),n.lastValidationResult=[],n.validatedOnce=!1,n.validationInformationVisible=!1,t._ui=n,this.actualizeTriggers(t))},_manageClassHandler:function(t){if("string"==typeof t.options.classHandler&&e(t.options.classHandler).length)return e(t.options.classHandler);var n=t.options.classHandler(t);return void 0!==n&&n.length?n:!t.options.multiple||t.$element.is("select")?t.$element:t.$element.parent()},_insertErrorWrapper:function(t){var n;if(0!==t._ui.$errorsWrapper.parent().length)return t._ui.$errorsWrapper.parent();if("string"==typeof t.options.errorsContainer){if(e(t.options.errorsContainer).length)return e(t.options.errorsContainer).append(t._ui.$errorsWrapper);s.warn("The errors container `"+t.options.errorsContainer+"` does not exist in DOM")}else"function"==typeof t.options.errorsContainer&&(n=t.options.errorsContainer(t));if(void 0!==n&&n.length)return n.append(t._ui.$errorsWrapper);var i=t.$element;return t.options.multiple&&(i=i.parent()),i.after(t._ui.$errorsWrapper)},actualizeTriggers:function(t){var n=t.$element;if(t.options.multiple&&(n=e("["+t.options.namespace+'multiple="'+t.options.multiple+'"]')),n.off(".Parsley"),!1!==t.options.trigger){var i=t.options.trigger.replace(/^\s+/g,"").replace(/\s+$/g,"");""!==i&&n.on(i.split(" ").join(".Parsley ")+".Parsley",e.proxy("function"==typeof t.eventValidate?t.eventValidate:this.eventValidate,t))}},eventValidate:function(e){new RegExp("key").test(e.type)&&!this._ui.validationInformationVisible&&this.getValue().length<=this.options.validationThreshold||(this._ui.validatedOnce=!0,this.validate())},manageFailingFieldTrigger:function(t){return t._ui.failedOnce=!0,t.options.multiple&&e("["+t.options.namespace+'multiple="'+t.options.multiple+'"]').each(function(){return new RegExp("change","i").test(e(this).parsley().options.trigger||"")?void 0:e(this).on("change.ParsleyFailedOnce",!1,e.proxy(t.validate,t))}),t.$element.is("select")&&!new RegExp("change","i").test(t.options.trigger||"")?t.$element.on("change.ParsleyFailedOnce",!1,e.proxy(t.validate,t)):new RegExp("keyup","i").test(t.options.trigger||"")?void 0:t.$element.on("keyup.ParsleyFailedOnce",!1,e.proxy(t.validate,t))},reset:function(e){this.actualizeTriggers(e),e.$element.off(".ParsleyFailedOnce"),"undefined"!=typeof e._ui&&"ParsleyForm"!==e.__class__&&(e._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(e),e._ui.val
18idatedOnce=!1,e._ui.lastValidationResult=[],e._ui.validationInformationVisible=!1,e._ui.failedOnce=!1)},destroy:function(e){this.reset(e),"ParsleyForm"!==e.__class__&&("undefined"!=typeof e._ui&&e._ui.$errorsWrapper.remove(),delete e._ui)},_successClass:function(e){e._ui.validationInformationVisible=!0,e._ui.$errorClassHandler.removeClass(e.options.errorClass).addClass(e.options.successClass)},_errorClass:function(e){e._ui.validationInformationVisible=!0,e._ui.$errorClassHandler.removeClass(e.options.successClass).addClass(e.options.errorClass)},_resetClass:function(e){e._ui.$errorClassHandler.removeClass(e.options.successClass).removeClass(e.options.errorClass)}};var _=function(t,n,i){this.__class__="ParsleyForm",this.__id__=s.generateID(),this.$element=e(t),this.domOptions=n,this.options=i,this.parent=window.Parsley,this.fields=[],this.validationResult=null},v={pending:null,resolved:!0,rejected:!1};_.prototype={onSubmitValidate:function(e){var t=this;if(!0!==e.parsley)return this._$submitSource=this._$submitSource||this.$element.find('input[type="submit"], button[type="submit"]').first(),this._$submitSource.is("[formnovalidate]")?void(this._$submitSource=null):(e.stopImmediatePropagation(),e.preventDefault(),this.whenValidate(void 0,void 0,e).done(function(){t._submit()}).always(function(){t._$submitSource=null}),this)},onSubmitButton:function(t){this._$submitSource=e(t.target)},_submit:function(){!1!==this._trigger("submit")&&(this.$element.find(".parsley_synthetic_submit_button").remove(),this._$submitSource&&e('<input class="parsley_synthetic_submit_button" type="hidden">').attr("name",this._$submitSource.attr("name")).attr("value",this._$submitSource.attr("value")).appendTo(this.$element),this.$element.trigger(e.extend(e.Event("submit"),{parsley:!0})))},validate:function(e,t,n){return v[this.whenValidate(e,t,n).state()]},whenValidate:function(t,n,i){var o=this;this.submitEvent=i,this.validationResult=!0,this._trigger("validate"),this._refreshFields();var r=this._withoutReactualizingFormOptions(function(){return e.map(this.fields,function(e){return!t||o._isFieldInGroup(e,t)?e.whenValidate(n):void 0})}),s=function(){var t=e.Deferred();return!1===o.validationResult&&t.reject(),t.resolve().promise()};return e.when.apply(e,r).done(function(){o._trigger("success")}).fail(function(){o.validationResult=!1,o._trigger("error")}).always(function(){o._trigger("validated")}).pipe(s,s)},isValid:function(e,t){return v[this.whenValid(e,t).state()]},whenValid:function(t,n){var i=this;this._refreshFields();var o=this._withoutReactualizingFormOptions(function(){return e.map(this.fields,function(e){return!t||i._isFieldInGroup(e,t)?e.whenValid(n):void 0})});return e.when.apply(e,o)},_isFieldInGroup:function(t,n){return e.isArray(t.options.group)?-1!==e.inArray(n,t.options.group):t.options.group===n},_refreshFields:function(){return this.actualizeOptions()._bindFields()},_bindFields:function(){var t=this,n=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions(function(){this.$element.find(this.options.inputs).not(this.options.excluded).each(function(){var e=new window.Parsley.Factory(this,{},t);"ParsleyField"!==e.__class__&&"ParsleyFieldMultiple"!==e.__class__||!0===e.options.excluded||"undefined"==typeof t.fieldsMappedById[e.__class__+"-"+e.__id__]&&(t.fieldsMappedById[e.__class__+"-"+e.__id__]=e,t.fields.push(e))}),e(n).not(t.fields).each(function(){this._trigger("reset")})}),this},_withoutReactualizingFormOptions:function(e){var t=this.actualizeOptions;this.actualizeOptions=function(){return this};var n=e.call(this);return this.actualizeOptions=t,n},_trigger:function(e){return this.trigger("form:"+e)}};var y=function(t,n,i,o,r){if(!new RegExp("ParsleyField").test(t.__class__))throw new Error("ParsleyField or ParsleyFieldMultiple instance expected");var s=window.Parsley._validatorRegistry.validators[n],a=new p(s);e.extend(this,{validator:a,name:n,requirements:i,priority:o||t.options[n+"Priority"]||a.priority,isDomConstraint:!0===r}),this._parseRequirements(t.options)},b=function(e){return e[0].toUpperCase()+e.slice(1)};y.prototype={validate:function(e,t){var n=this.requirementList.slice(0);return n.unshift(e),n.push(t),this.validator.validate.apply(this.validator,n)},_parseRequirements:function(e){var t=this;this.requirementList=this.validator.parseRequirements(this.requirements,function(n){return e[t.name+b(n)]})}};var w=function(t,n,i,o){this.__class__="ParsleyField",this.__id__=s.generateID(),this.$element=e(t),void 0!==o&&(this.parent=o),this.options=i,this.domOptions=n,this.constraints=[],this.constraintsByName={},this.validationResult=[],this._bindConstraints()},x={pending:null,resolved:!0,rejected:!1};w.prototype={validate:function(e){switch(this.whenValidate(e).state()){case"pen
18ding":return null;case"resolved":return!0;case"rejected":return this.validationResult}},whenValidate:function(e){var t=this;return this.value=this.getValue(),this._trigger("validate"),this.whenValid(e,this.value).done(function(){t._trigger("success")}).fail(function(){t._trigger("error")}).always(function(){t._trigger("validated")})},hasConstraints:function(){return 0!==this.constraints.length},needsValidation:function(e){return void 0===e&&(e=this.getValue()),!(!e.length&&!this._isRequired()&&"undefined"==typeof this.options.validateIfEmpty)},isValid:function(e,t){return x[this.whenValid(e,t).state()]},whenValid:function(t,n){if(this.refreshConstraints(),this.validationResult=!0,!this.hasConstraints())return e.when();if("boolean"!=typeof t&&void 0===n&&(n=t,t=!1),(void 0===n||null===n)&&(n=this.getValue()),!this.needsValidation(n)&&!0!==t)return e.when();var i=this._getGroupedConstraints(),o=[],r=this;return e.each(i,function(t,i){var s=e.when.apply(e,e.map(i,e.proxy(r,"_validateConstraint",n)));return o.push(s),"rejected"!==s.state()&&void 0}),e.when.apply(e,o)},_validateConstraint:function(t,n){var i=this,o=n.validate(t,this);return!1===o&&(o=e.Deferred().reject()),e.when(o).fail(function(e){!0===i.validationResult&&(i.validationResult=[]),i.validationResult.push({assert:n,errorMessage:"string"==typeof e&&e})})},getValue:function(){var e;return e="function"==typeof this.options.value?this.options.value(this):"undefined"!=typeof this.options.value?this.options.value:this.$element.val(),void 0===e||null===e?"":this._handleWhitespace(e)},refreshConstraints:function(){return this.actualizeOptions()._bindConstraints()},addConstraint:function(e,t,n,i){if(window.Parsley._validatorRegistry.validators[e]){var o=new y(this,e,t,n,i);"undefined"!==this.constraintsByName[o.name]&&this.removeConstraint(o.name),this.constraints.push(o),this.constraintsByName[o.name]=o}return this},removeConstraint:function(e){for(var t=0;t<this.constraints.length;t++)if(e===this.constraints[t].name){this.constraints.splice(t,1);break}return delete this.constraintsByName[e],this}, 19updateConstraint:function(e,t,n){return this.removeConstraint(e).addConstraint(e,t,n)},_bindConstraints:function(){for(var e=[],t={},n=0;n<this.constraints.length;n++)!1===this.constraints[n].isDomConstraint&&(e.push(this.constraints[n]),t[this.constraints[n].name]=this.constraints[n]);this.constraints=e,this.constraintsByName=t;for(var i in this.options)this.addConstraint(i,this.options[i],void 0,!0);return this._bindHtml5Constraints()},_bindHtml5Constraints:function(){(this.$element.hasClass("required")||this.$element.attr("required"))&&this.addConstraint("required",!0,void 0,!0),"string"==typeof this.$element.attr("pattern")&&this.addConstraint("pattern",this.$element.attr("pattern"),void 0,!0),void 0!==this.$element.attr("min")&&void 0!==this.$element.attr("max")?this.addConstraint("range",[this.$element.attr("min"),this.$element.attr("max")],void 0,!0):void 0!==this.$element.attr("min")?this.addConstraint("min",this.$element.attr("min"),void 0,!0):void 0!==this.$element.attr("max")&&this.addConstraint("max",this.$element.attr("max"),void 0,!0),void 0!==this.$element.attr("minlength")&&void 0!==this.$element.attr("maxlength")?this.addConstraint("length",[this.$element.attr("minlength"),this.$element.attr("maxlength")],void 0,!0):void 0!==this.$element.attr("minlength")?this.addConstraint("minlength",this.$element.attr("minlength"),void 0,!0):void 0!==this.$element.attr("maxlength")&&this.addConstraint("maxlength",this.$element.attr("maxlength"),void 0,!0);var e=this.$element.attr("type");return void 0===e?this:"number"===e?void 0===this.$element.attr("step")||0==parseFloat(this.$element.attr("step"))%1?this.addConstraint("type","integer",void 0,!0):this.addConstraint("type","number",void 0,!0):/^(email|url|range)$/i.test(e)?this.addConstraint("type",e,void 0,!0):this},_isRequired:function(){return"undefined"!=typeof this.constraintsByName.required&&!1!==this.constraintsByName.required.requirements},_trigger:function(e){return this.trigger("field:"+e)},_handleWhitespace:function(e){return!0===this.options.trimValue&&s.warnOnce('data-parsley-trim-value="true" is deprecated, please use data-parsley-whitespace="trim"'),"squish"===this.options.whitespace&&(e=e.replace(/\s{2,}/g," ")),("trim"===this.options.whitespace||"squish"===this.options.whitespace||!0===this.options.trimValue)&&(e=s.trimString(e)),e},_getGroupedConstraints:function(){if(!1===this.options.priorityEnabled)return[this.constraints];for(var e=[],t={},n=0;n<this.constraints.length;n++){var i=this.constraints[n].priority;t[i]||e.push(t[i]=[]),t[i].push(this.constraints[n])}return e.sort(function(e,t){return t[0].priority-e[0].priority}),e}};var k=w,T=function(){this.__class__="ParsleyFieldMultiple"};T.prototype={addElement:function(e){return this.$elements.push(e),this},refreshConstraints:function(){var t;if(this.constraints=[],this.$element.is("select"))return this.actualizeOptions()._bindConstraints(),this;for(var n=0;n<this.$elements.length;n++)if(e("html").has(this.$elements[n]).length){t=this.$elements[n].data("ParsleyFieldMultiple").refreshConstraints().constraints;for(var i=0;i<t.length;i++)this.addConstraint(t[i].name,t[i].requirements,t[i].priority,t[i].isDomConstraint)}else this.$elements.splice(n,1);return this},getValue:function(){if("undefined"!=typeof this.options.value)return this.options.value;if(this.$element.is("input[type=radio]"))return this._findRelatedMultiple().filter(":checked").val()||"";if(this.$element.is("input[type=checkbox]")){var t=[];return this._findRelatedMultiple().filter(":checked").each(function(){t.push(e(this).val())}),t}return this.$element.is("select")&&null===this.$element.val()?[]:this.$element.val()},_init:function(){return this.$elements=[this.$element],this}};var S=function(t,n,i){this.$element=e(t);var o=this.$element.data("Parsley");if(o)return void 0!==i&&o.parent===window.Parsley&&(o.parent=i,o._resetOptions(o.options)),o;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if(void 0!==i&&"ParsleyForm"!==i.__class__)throw new Error("Parent instance must be a ParsleyForm instance");return this.parent=i||window.Parsley,this.init(n)};S.prototype={init:function(e){return this.__class__="Parsley",this.__version__="@@version",this.__id__=s.generateID(),this._resetOptions(e),this.$element.is("form")||s.checkAttr(this.$element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function(){return this.$element.is("input[type=radio], input[type=checkbox]")||this.$element.is("select")&&void 0!==this.$element.attr("multiple")},handleMultiple:function(){var t,n,i=this;if(this.options.multiple||(void 0!==this.$element.attr("name")&&this.$element.attr("name").length?this.options.multiple=t=this.$element.attr("name"):void 0!==this.$element.attr("id")&&this.$element.attr("id").length&&(this.options.multiple=this.$element.attr("id"))),this.$element.is("select")&&void 0!==this.$element.attr("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return s.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),void 0!==t&&e('input[name="'+t+'"]').each(function(){e(this).is("input[type=radio], input[type=checkbox]")&&e(this).attr(i.options.namespace+"multiple",i.options.multiple)});for(var o=this._findRelatedMultiple(),r=0;r<o.length;r++)if(void 0!==(n=e(o.get(r)).data("Parsley"))){this.$element.data("ParsleyFieldMultiple")||n.addElement(this.$element);break}return this.bind("parsleyField",!0),n||this.bind("parsleyFieldMultiple")},bind:function(t,n){var i;switch(t){case"parsleyForm":i=e.extend(new _(this.$element,this.domOptions,this.options),window.ParsleyExtend)._bindFields();break;case"parsleyField":i=e.extend(new k(this.$element,this.domOptions,this.options,this.parent),window.ParsleyExtend);break;case"parsleyFieldMultiple":i=e.extend(new k(this.$element,this.domOptions,this.options,this.parent),new T,window.ParsleyExtend)._init();break;default:throw new Error(t+"is not a supported Parsley type")}return this.options.multiple&&s.setAttr(this.$element,this.options.namespace,"multiple",this.options.multiple),void 0!==n?(this.$element.data("ParsleyFieldMultiple",i),i):(this.$element.data("Parsley",i),i._trigger("init"),i)}};var C=e.fn.jquery.split(".");if(parseInt(C[0])<=1&&parseInt(C[1])<8)throw"The loaded version of jQuery is too old. Please upgrade to 1.8.x or better.";
19C.forEach||s.warn("Parsley requires ES5 to run properly. Please include https://github.com/es-shims/es5-shim");var L=e.extend(new l,{$element:e(document),actualizeOptions:null,_resetOptions:null,Factory:S,version:"@@version"});e.extend(k.prototype,l.prototype),e.extend(_.prototype,l.prototype),e.extend(S.prototype,l.prototype),e.fn.parsley=e.fn.psly=function(t){if(this.length>1){var n=[];return this.each(function(){n.push(e(this).parsley(t))}),n}return e(this).length?new S(this,t):void s.warn("You must bind Parsley on an existing element.")},"undefined"==typeof window.ParsleyExtend&&(window.ParsleyExtend={}),L.options=e.extend(s.objectCreate(a),window.ParsleyConfig),window.ParsleyConfig=L.options,window.Parsley=window.psly=L,window.ParsleyUtils=s;var M=window.Parsley._validatorRegistry=new f(window.ParsleyConfig.validators,window.ParsleyConfig.i18n);window.ParsleyValidator={},e.each("setLocale addCatalog addMessage addMessages getErrorMessage formatMessage addValidator updateValidator removeValidator".split(" "),function(t,n){window.Parsley[n]=e.proxy(M,n),window.ParsleyValidator[n]=function(){return s.warnOnce("Accessing the method '"+n+"' through ParsleyValidator is deprecated. Simply call 'window.Parsley."+n+"(...)'"),window.Parsley[n].apply(window.Parsley,arguments)}}),window.ParsleyUI="function"==typeof window.ParsleyConfig.ParsleyUI?(new window.ParsleyConfig.ParsleyUI).listen():(new g).listen(),!1!==window.ParsleyConfig.autoBind&&e(function(){e("[data-parsley-validate]").length&&e("[data-parsley-validate]").parsley()});var A=e({}),D=function(){s.warnOnce("Parsley's pubsub module is deprecated; use the 'on' and 'off' methods on parsley instances or window.Parsley")},E="parsley:";return e.listen=function(e,i){var o;if(D(),"object"==typeof arguments[1]&&"function"==typeof arguments[2]&&(o=arguments[1],i=arguments[2]),"function"!=typeof i)throw new Error("Wrong parameters");window.Parsley.on(n(e),t(i,o))},e.listenTo=function(e,i,o){if(D(),!(e instanceof k||e instanceof _))throw new Error("Mu
19st give Parsley instance");if("string"!=typeof i||"function"!=typeof o)throw new Error("Wrong parameters");e.on(n(i),t(o))},e.unsubscribe=function(e,t){if(D(),"string"!=typeof e||"function"!=typeof t)throw new Error("Wrong arguments");window.Parsley.off(n(e),t.parsleyAdaptedCallback)},e.unsubscribeTo=function(e,t){if(D(),!(e instanceof k||e instanceof _))throw new Error("Must give Parsley instance");e.off(n(t))},e.unsubscribeAll=function(t){D(),window.Parsley.off(n(t)),e("form,input,textarea,select").each(function(){var i=e(this).data("Parsley");i&&i.off(n(t))})},e.emit=function(e,t){D();var i=t instanceof k||t instanceof _,o=Array.prototype.slice.call(arguments,i?2:1);o.unshift(n(e)),i||(t=window.Parsley),t.trigger.apply(t,o)},e.extend(!0,L,{asyncValidators:{"default":{fn:function(e){return e.status>=200&&e.status<300},url:!1},reverse:{fn:function(e){return e.status<200||e.status>=300},url:!1}},addAsyncValidator:function(e,t,n,i){return L.asyncValidators[e]={fn:t,url:n||!1,options:i||{}},this},eventValidate:function(e){new RegExp("key").test(e.type)&&!this._ui.validationInformationVisible&&this.getValue().length<=this.options.validationThreshold||(this._ui.validatedOnce=!0,this.whenValidate())}}),L.addValidator("remote",{requirementType:{"":"string",validator:"string",reverse:"boolean",options:"object"},validateString:function(t,n,i,o){var r,s,a={},l=i.validator||(!0===i.reverse?"reverse":"default");if("undefined"==typeof L.asyncValidators[l])throw new Error("Calling an undefined async validator: `"+l+"`");n=L.asyncValidators[l].url||n,n.indexOf("{value}")>-1?n=n.replace("{value}",encodeURIComponent(t)):a[o.$element.attr("name")||o.$element.attr("id")]=t;var u=e.extend(!0,i.options||{},L.asyncValidators[l].options);r=e.extend(!0,{},{url:n,data:a,type:"GET"},u),o.trigger("field:ajaxoptions",o,r),s=e.param(r),"undefined"==typeof L._remoteCache&&(L._remoteCache={});var c=L._remoteCache[s]=L._remoteCache[s]||e.ajax(r),d=function(){var t=L.asyncValidators[l].fn.call(o,c,n,i);return t||(t=e.Deferred().reject()),e.when(t)};return c.then(d,d)},priority:-1}),L.on("form:submit",function(){L._remoteCache={}}),window.ParsleyExtend.addAsyncValidator=function(){return ParsleyUtils.warnOnce("Accessing the method `addAsyncValidator` through an instance is deprecated. Simply call `Parsley.addAsyncValidator(...)`"),L.apply(L.addAsyncValidator,arguments)},L.addMessages("en",{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same."}),L.setLocale("en"),L});var Utils={};Utils.select=function(e){return function(t){for(var n=[],i=0;i<t.length;i++)e(t[i])&&n.push(t[i]);return n}},Utils.detect=function(e){return function(t){for(var n,i=0;i<t.length;i++)if(e(t[i])){n=t[i];break}return n}},Utils.reject=function(e){return function(t){for(var n=[],i=0;i<t.length;i++)e(t[i])||n.push(t[i]);return n}},Utils.map=function(e){return function(t){for(var n=[],i=t.length;i--;)n.unshift(e(t[i]));return n}},Utils.reduce=function(e){return function(t){for(var n=t.shift(),i=0;i<t.length;i++)n=e(n,t[i]);return n}},Utils.eachWithIndex=function(e){return function(t){for(var n=0;n<t.length;n++)e(t[n],n)}},Utils.eachPair=function(e){return function(t){for(var n in t)e(n,t[n])}},Utils.each=function(e){return function(t){t instanceof Array?Utils.eachWithIndex(e)(t):Utils.eachPair(e)(t)}},Utils.pluck=function(e){return function(t){for(var n=[],i=t.length;i--;)t[i][e]&&n.unshift(t[i][e]);return n}},Utils.all=function(e){var t=function(e,t){return e&&t};return function(n){return Utils.reduce(t)(Utils.map(e)(n))}},Utils.shuffle=function(e){for(var t,n=[];e.length>0;)t=Math.round(Math.random()*e.length),n.push(e.splice(t-1,1)[0]);return n},Utils.selectText=function(e){var t,n,i=document,o=e.target;i.body.createTextRange?(t=document.body.createTextRange(),t.moveToElementText(o),t.select()):window.getSelection&&(n=window.getSelection(),t=document.createRange(),t.selectNodeContents(o),n.removeAllRanges(),n.addRange(t))},Utils.urlParam=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.href);return t&&t.length?t[1]||0:void 0},Utils.max=function(e){return Math.max.apply(null,e)},Utils.min=function(e){return Math.min.apply(null,e)},Utils.isEmpty=function(e){return!Utils.detect(function(e){return e!==undefined||!isNaN(e)||null!==e})(e)},function(e,t){var n=function(e,t,n){var i;return function(){function o(){n||e.apply(r,s),i=null}var r=this,s=arguments;i?clearTimeout(i):n&&e.apply(r,s),i=setTimeout(o,t||100)}};jQuery.fn[t]=function(e){return e?this.bind("resize",n(e)):this.trigger(t)}}(jQuery,"smartresize"),function(e){e.fn.fluidbox=function(t){var n=e.extend(!0,{viewportFill:.95,debounceResize:!0,stackIndex:1e3,stackIndexDelta:10,closeTrigger:[{selector:".fluidbox-overlay",event:"click"},{selector:"document",event:"keyup",keyCode:27}]},t);n.stackIndex<n.stackIndexDelta&&(n.stackIndexDelta=n.stackIndex),$fbOverlay=e("<div />",{"class":"fluidbox-overlay",css:{"z-index":n.stackIndex}});var i,o=this,r=e(window),s=function(){e(".fluidbox-opened").trigger("click")},a=function(e){var t=e.find("img"),o=e.find(".fluidbox-ghost"),s=e.find(".fluidbox-wrap"),a=e.data(),l=0,u=0;i>t.data().imgRatio?(l=a.natHeight<r.height()*n.viewportFill?a.natHeight:r.height()*n.viewportFill,a.imgScale=l/t.height()):(u=a.natWidth<r.width()*n.viewportFill?a.natWidth:r.width()*n.viewportFill,a.imgScale=u/t.width());var c=r.scrollTop()-t.offset().top+.5*t.data("imgHeight")*(t.data("imgScale")-1)+.5*(r.height()-t.data("imgHeight")*t.data("imgScale")),d=.5*t.data("imgWidth")*(t.data("imgScale")-1)+.5*(r.width()-t.data("imgWidth")*t.data("imgScale"))-t.offset().left,h=a.imgScale;o.css({transform:"translate("+parseInt(10*d)/10+"px,"+parseInt(10*c)/10+"px) scale("+parseInt(1e3*h)/1e3+")",top:t.offset().top-s.offset().top,left
19:t.offset().left-s.offset().left})},l=function(){o.each(function(){u(e(this))})},u=function(e){function t(){l.imgWidth=o.width(),l.imgHeight=o.height(),l.imgRatio=o.width()/o.height(),s.css({width:o.width(),height:o.height(),top:o.offset().top-a.offset().top+parseInt(o.css("borderTopWidth"))+parseInt(o.css("paddingTop")),left:o.offset().left-a.offset().left+parseInt(o.css("borderLeftWidth"))+parseInt(o.css("paddingLeft"))}),l.imgScale=i>l.imgRatio?r.height()*n.viewportFill/o.height():r.width()*n.viewportFill/o.width()}if(i=r.width()/r.height(),e.hasClass("fluidbox")){var o=e.find("img"),s=e.find(".fluidbox-ghost"),a=e.find(".fluidbox-wrap"),l=o.data();t(),o.load(t)}},c=function(t){if(e(this).hasClass("fluidbox")){var i=e(this),o=e(this).find("img"),r=e(this).find(".fluidbox-ghost"),s=e(this).find(".fluidbox-wrap"),l={};0!==e(this).data("fluidbox-state")&&e(this).data("fluidbox-state")?(i.data("fluidbox-state",0).removeClass("fluidbox-opened").addClass("fluidbox-closed"),l.open&&window.clearTimeout(l.open),l.close=window.setTimeout(function(){e(".fluidbox-overlay").remove(),s.css({"z-index":n.stackIndex-n.stackIndexDelta})},10),e(".fluidbox-overlay").css({opacity:0}),r.css({transform:"translate(0,0) scale(1)",opacity:0,top:o.offset().top-s.offset().top+parseInt(o.css("borderTopWidth"))+parseInt(o.css("paddingTop")),left:o.offset().left-s.offset().left+parseInt(o.css("borderLeftWidth"))+parseInt(o.css("paddingLeft"))}),o.css({opacity:1})):e("<img />",{src:o.attr("src")}).load(function(){e("<img />",{src:i.attr("href")}).load(function(){i.data("natWidth",e(this)[0].naturalWidth).data("natHeight",e(this)[0].naturalHeight),i.append($fbOverlay).data("fluidbox-state",1).removeClass("fluidbox-closed").addClass("fluidbox-opened"),l.close&&window.clearTimeout(l.close),l.open=window.setTimeout(function(){e(".fluidbox-overlay").css({opacity:1})},10),e(".fluidbox-wrap").css({zIndex:n.stackIndex-n.stackIndexDelta-1}),s.css({"z-index":n.stackIndex+n.stackIndexDelta}),r.css({"background-image":"url("+o.attr("src")+")",opacity:1}),o.css({opacity:0}),r.css({"background-image":"url("+i.attr("href")+")"}),a(i)})}),t.preventDefault()}};n.closeTrigger&&e.each(n.closeTrigger,function(t){var i=n.closeTrigger[t];"window"!=i.selector?"document"==i.selector?i.keyCode?e(document).on(i.event,function(e){e.keyCode==i.keyCode&&s()}):e(document).on(i.event,s):e(document).on(i.event,n.closeTrigger[t].selector,s):r.on(i.event,s)}),o.each(function(){if(e(this).is("a")&&1===e(this).children().length&&e(this).children().is("img")&&"none"!==e(this).css("display")&&"none"!==e(this).parents().css("display")){var t=e("<div />",{"class":"fluidbox-wrap",css:{"z-index":n.stackIndex-n.stackIndexDelta}}),i=e(this);i.addClass("fluidbox").wrapInner(t).find("img").css({opacity:1}).after('<div class="fluidbox-ghost" />').each(function(){var t=e(this);t.width()>0&&t.height()>0?(u(i),i.click(c)):t.load(function(){u(i),i.click(c)})})}});var d=function(){l();var t=e("a.fluidbox.fluidbox-opened");t.length>0&&a(t)};return n.debounceResize?e(window).smartresize(d):e(window).resize(d),o}}(jQuery),function(e){function t(){return new Date(Date.UTC.apply(Date,arguments))}var n=function(t,n){var r=this;switch(this.element=e(t),this.closeButton=n.closeButton,this.language=n.language||this.element.data("date-language")||"en",this.language=this.language in i?this.language:this.language.split("-")[0],this.language=this.language in i?this.language:"en",this.isRTL=i[this.language].rtl||!1,this.format=o.parseFormat(n.format||this.element.data("date-format")||i[this.language].format||"mm/dd/yyyy"),this.isInline=!1,this.isInput=this.element.is("input"),this.component=!!this.element.is(".date")&&this.element.find(".prefix, .postfix"),this.hasInput=this.component&&this.element.find("input").length,this.onRender=n.onRender||function(){},this.component&&0===this.component.length&&(this.component=!1),this._attachEvents(),this.forceParse=!0,"forceParse"in n?this.forceParse=n.forceParse:"dateForceParse"in this.element.data()&&(this.forceParse=this.element.data("date-force-parse")),this.picker=e(o.template).appendTo(this.isInline?this.element:"body").on({click:e.proxy(this.click,this),mousedown:e.proxy(this.mousedown,this)}),this.closeButton&&this.picker.find("a.datepicker-close").show(),this.isInline?this.picker.addClass("datepicker-inline"):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.isRTL&&this.picker.addClass("datepicker-rtl"),e(document).on("mousedown",function(t){0===e(t.target).closest(".datepicker.datepicker-inline, .datepicker.datepicker-dropdown").length&&r.hide()}),this.autoclose=!0,"autoclose"in n?this.autoclose=n.autoclose:"dateAutoclose"in this.element.data()&&(this.autoclose=this.element.data("date-autoclose")),this.keyboardNavigation=!0,"keyboardNavigation"in n?this.keyboardNavigation=n.keyboardNavigation:"dateKeyboardNavigation"in this.element.data()&&(this.keyboardNavigation=this.element.data("date-keyboard-navigation")),this.viewMode=this.startViewMode=0,n.startView||this.element.data("date-start-view")){case 2:case"decade":this.viewMode=this.startViewMode=2;break;case 1:case"year":this.viewMode=this.startViewMode=1}this.todayBtn=n.todayBtn||this.element.data("date-today-btn")||!1,this.todayHighlight=n.todayHighlight||this.element.data("date-today-highlight")||!1,this.calendarWeeks=!1,"calendarWeeks"in n?this.calendarWeeks=n.calendarWeeks:"dateCalendarWeeks"in this.element.data()&&(this.calendarWeeks=this.element.data("date-calendar-weeks")),this.calendarWeeks&&this.picker.find("tfoot th.today").attr("colspan",function(e,t){return parseInt(t)+1}),this.weekStart=(n.weekStart||this.element.data("date-weekstart")||i[this.language].weekStart||0)%7,this.weekEnd=(this.weekStart+6)%7,this.startDate=-Infinity,this.endDate=Infinity,this.daysOfWeekDisabled=[],this.setStartDate(n.startDate||this.element.data("date-startdate")),this.setEndDate(n.endDate||this.element.data("date-enddate")),this.setDaysOfWeekDisabled(n.daysOfWeekDisabled||this.element.data("date-days-of-week-disabled")),this.fillDow(),this.fillMonths(),this.update(),this.showMode(),this.isInline&&this.show()};n.prototype={constructor:n,_events:[],_attachEvents:function(){this._detachEvents(),this.isInput?this._events=[[this.element,{focus:e.proxy(this.show,this),keyup:e.proxy(this.update,this),keydown:e.proxy(this.keydown,this)}]]:this.component&&this.hasInput?this._events=[[this.element.find("input"),{focus:e.proxy(this.show,this),keyup:e.proxy(this.update,this),keydown:e.proxy(this.keydown,this)}],[this.component,{click:e.proxy(this.show,this)}]]:this.element.is("div")?this.isInline=!0:this._events=[[this.element,{click:e.proxy(this.show,this)}]];for(var t,n,i=0;i<this._events.length;i++)t=this._events[i][0],n=this._events[i][1],t.on(n)},_detachEvents:function(){for(var e,t,n=0;n<this._events.length;n++)e=this._events[n][0],t=this._events[n][1],e.off(t);this._events=[]},show:function(t){this.picker.show(),this.height=this.component?this.component.outerHeight():this.element.outerHeight(),this.update(),this.place(),e(window).on("resize",e.proxy(this.place,this)),t&&(t.stopPropagation(),t.preventDefault()),this.element.trigger({type:"show",date:this.date})},hide:function(){this.isInline||this.picker.is(":visible")&&(this.picker.hide(),e(window).off("resize",this.place),this.viewMode=this.startViewMode,this.showMode(),this.isInput||e(document).off("mousedown",this.hide),this.forceParse&&(this.isInput&&this.element.val()||this.hasInput&&this.element.find("input").val())&&this.setValue(),this.element.trigger({type:"hide",date:this.date}))},remove:function(){this._detachEvents(),this.picker.remove(),delete this.element.data().datepicker},getDate:function(){var e=this.getUTCDate();return new Date(e.getTime()+6e4*e.getTimezoneOffset())},getUTCDate:function(){return this.date},setDate:function(e){this.setUTCDate(new Date(e.getTime()-6e4*e.getTimezoneOffset()))},setUTCDate:function(e){this.date=e,this.setValue()},setValue:function(){var e=this.getFormattedDate();this.isInput?this.element.val(e):(this.component&&this.element.find("input").val(e),this.element.data("date",e))},getFormattedDate:function(e){return e===undefined&&(e=this.format),o.formatDate(this.date,e,this.language)},setStartDate:function(e){this.startDate=e||-Infinity,this.startDate!==-Infinity&&(this.startDate=o.parseDate(this.startDate,this.format,this.language)),this.update(),this.updateNavArrows()},setEndDate:function(e){this.endDate=e||Infinity,this.endDate!==Infinity&&(this.endDate=o.parseDate(this.endDate,this.format,this.language)),this.update(),this.updateNavArrows()},setDaysOfWeekDisabled:function(t){this.daysOfWeekDisabled=t||[],e.isArray(this.daysOfWeekDisabled)||(this.daysOfWeekDisabled=this.daysOfWeekDisabled.split(/,\s*/)),this.daysOfWeekDisabled=e.map(this.daysOfWeekDisabled,function(e){return parseInt(e,10)}),this.update(),this.updateNavArrows()},place:function(){if(!this.isInline){var t=parseInt(this.element.parents().filter(function(){return"auto"!=e(this).css("z-index")}).first().css("z-index"))+10,n=this.component?this.component:this.element,i=n.offset(),o=n.outerHeight()+parseInt(n.css("margin-top")),r=n.outerWidth()+parseInt(n.css("margin-left")),s=i.top+o,a=i.left;s+this.picker.height()>=e(window).scrollTop()+e(window).height()&&(s=i.top-o-this.picker.height()),i.left+this.picker.width()>=e(window).width()&&(a=i.left+r-this.picker.width()),this.picker.css({top:s,left:a,zIndex:t})}},update:function(){var e,t=!1;arguments&&arguments.length&&("string"==typeof arguments[0]||arguments[0]instanceof Date)?(e=arguments[0],t=!0):e=this.isInput?this.element.val():this.element.data("date")||this.element.find("input").val(),this.date=o.parseDate(e,this.format,this.language),t&&this.setValue(),this.date<this.startDate?this.viewDate=new Date(this.startDate.valueOf()):this.date>this.endDate?this.viewDate=new Date(this.endDate.valueOf()):this.viewDate=new Date(this.date.valueOf()),this.fill()},fillDow:function(){var e=this.weekStart,t="<tr>";if(this.calendarWeeks){var n='<th class="cw"> </th>';t+=n,this.picker.find(".datepicker-days thead tr:first-child").prepend(n)}for(;e<this.weekStart+7;)t+='<th class="dow">'+i[this.language].daysMin[e++%7]+"</th>";t+="</tr>",this.picker.find(".datepicker-days thead").append(t)},fillMonths:function(){for(var e="",t=0;t<12;)e+='<span class="month">'+i[this.language].monthsShort[t++]+"</span>";this.picker.find(".datepicker-months td").html(e)},fill:function(){var n=new Date(this.viewDate.valueOf()),r=n.getUTCFullYear(),s=n.getUTCMonth(),a=this.startDate!==-Infinity?this.startDate.getUTCFullYear():-Infinity,l=this.startDate!==-Infinity?this.startDate.getUTCMonth():-Infinity,u=this.endDate!==Infinity?this.endDate.getUTCFullYear():Infinity,c=this.endDate!==Infinity?this.endDate.getUTCMonth():Infinity,d=this.date&&this.date.valueOf(),h=new Date;this.picker.find(".datepicker-days thead th.date-switch").text(i[this.language].months[s]+" "+r),this.picker.find("tfoot th.today").text(i[this.language].today).toggle(!1!==this.todayBtn),this.updateNavArrows(),this.fillMonths();var p=t(r,s-1,28,0,0,0,0),f=o.getDaysInMonth(p.getUTCFullYear(),p.getUTCMonth());p.setUTCDate(f),p.setUTCDate(f-(p.getUTCDay()-this.weekStart+7)%7);var m=new Date(p.valueOf());m.setUTCDate(m.getUTCDate()+42),m=m.valueOf();for(var g,_=[];p.valueOf()<m;){if(p.getUTCDay()==this.weekStart&&(_.push("<tr>"),this.calendarWeeks)){var v=new Date(p.getUTCFullYear(),p.getUTCMonth(),p.getUTCDate()-p.getDay()+10-(this.weekStart&&this.weekStart%7<5&&7)),y=new Date(v.getFullYear(),0,4),b=~~((v-y)/864e5/7+1.5);_.push('<td class="cw">'+b+"</td>")}g=" "+this.onRender(p)+" ",p.getUTCFullYear()<r||p.getUTCFullYear()==r&&p.getUTCMonth()<s?g+=" old":(p.getUTCFullYear()>r||p.getUTCFullYear()==r&&p.getUTCMonth()>s)&&(g+=" new"),this.todayHighlight&&p.getUTCFullYear()==h.getFullYear()&&p.getUTCMonth()==h.getMonth()&&p.getUTCDate()==h.getDate()&&(g+=" today"),d&&p.valueOf()==d&&(g+=" active"),(p.valueOf()<this.startDate||p.valueOf()>this.endDate||-1!==e.inArray(p.getUTCDay(),this.daysOfWeekDisabled))&&(g+=" disabled"),_.push('<td class="day'+g+'">'+p.getUTCDate()+"</td>"),p.getUTCDay()==this.weekEnd&&_.push("</tr>"),p.setUTCDate(p.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(_.join(""));var w=this.date&&this.date.getUTCFullYear(),x=this.picker.find(".datepicker-months").find("th:eq(1)").text(r).end().find("span").removeClass("active");w&&w==r&&x.eq(this.date.getUTCMonth()).addClass("active"),(r<a||r>u)&&x.addClass("disabled"),r==a&&x.slice(0,l).addClass("disabled"),r==u&&x.slice(c+1).addClass("disabled"),_="",r=10*parseInt(r/10,10);var k=this.picker.find(".datepicker-years").find("th:eq(1)").text(r+"-"+(r+9)).end().find("td");r-=1;for(var T=-1;T<11;T++)_+='<span class="year'+(-1==T||10==T?" old":"")+(w==r?" active":"")+(r<a||r>u?" disabled":"")+'">'+r+"</span>",r+=1;k.html(_)},updateNavArrows:function(){var e=new Date(this.viewDate.valueOf()),t=e.getUTCFullYear(),n=e.getUTCMonth();switch(this.viewMode){case 0:this.startDate!==-Infinity&&t<=this.startDate.getUTCFullYear()&&n<=this.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.endDate!==Infinity&&t>=this.endDate.getUTCFullYear()&&n>=this.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:this.startDate!==-Infinity&&t<=this.startDate.getUTCFullYear()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.endDate!==Infinity&&t>=this.endDate.getUTCFullYear()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}},click:function(n){n.stopPropagation(),n.preventDefault(),(e(n.target).hasClass("datepicker-close")||e(n.target).parent().hasClass("datepicker-close"))&&this.hide();var i=e(n.target).closest("span, td, th");if(1==i.length)switch(i[0].nodeName.toLowerCase()){case"th":switch(i[0].className){case"date-switch":this.showMode(1);break;case"prev":case"next":var r=o.modes[this.viewMode].navStep*("prev"==i[0].className?-1:1);switch(this.viewMode){case 0:this.viewDate=this.moveMonth(this.viewDate,r);break;case 1:case 2:this.viewDate=this.moveYear(this.viewDate,r)}this.fill();break;case"today":var s=new Date;s=t(s.getFullYear(),s.getMonth(),s.getDate(),0,0,0),this.showMode(-2);var a="linked"==this.todayBtn?null:"view";this._setDate(s,a)}break;case"span":if(!i.is(".disabled")){if(this.viewDate.setUTCDate(1),i.is(".month")){var l=i.parent().find("span").index(i);this.viewDate.setUTCMonth(l),this.element.trigger({type:"changeMonth",date:this.viewDate})}else{var u=parseInt(i.text(),10)||0;this.viewDate.setUTCFullYear(u),this.element.trigger({type:"changeYear",date:this.viewDate})}this.showMode(-1),this.fill()}break;case"td":if(i.is(".day")&&!i.is(".disabled")){var c=parseInt(i.text(),10)||1,u=this.viewDate.getUTCFullYear(),l=this.viewDate.getUTCMonth();
vendor: 4,216 bytes, lines 19-20
19i.is(".old")?0===l?(l=11,u-=1):l-=1:i.is(".new")&&(11==l?(l=0,u+=1):l+=1),this._setDate(t(u,l,c,0,0,0,0))}}},_setDate:function(e,t){t&&"date"!=t||(this.date=e),t&&"view"!=t||(this.viewDate=e),this.fill(),this.setValue(),this.element.trigger({type:"changeDate",date:this.date});var n;this.isInput?n=this.element:this.component&&(n=this.element.find("input")),n&&(n.change(),!this.autoclose||t&&"date"!=t||this.hide())},moveMonth:function(e,t){if(!t)return e;var n,i,o=new Date(e.valueOf()),r=o.getUTCDate(),s=o.getUTCMonth(),a=Math.abs(t);if(t=t>0?1:-1,1==a)i=-1==t?function(){return o.getUTCMonth()==s}:function(){return o.getUTCMonth()!=n},n=s+t,o.setUTCMonth(n),(n<0||n>11)&&(n=(n+12)%12);else{for(var l=0;l<a;l++)o=this.moveMonth(o,t);n=o.getUTCMonth(),o.setUTCDate(r),i=function(){return n!=o.getUTCMonth()}}for(;i();)o.setUTCDate(--r),o.setUTCMonth(n);return o},moveYear:function(e,t){return this.moveMonth(e,12*t)},dateWithinRange:function(e){return e>=this.startDate&&e<=this.endDate},keydown:function(e){if(this.picker.is(":not(:visible)"))return void(27==e.keyCode&&this.show());var t,n,i,o=!1;switch(e.keyCode){case 27:this.hide(),e.preventDefault();break;case 37:case 39:if(!this.keyboardNavigation)break;t=37==e.keyCode?-1:1,e.ctrlKey?(n=this.moveYear(this.date,t),i=this.moveYear(this.viewDate,t)):e.shiftKey?(n=this.moveMonth(this.date,t),i=this.moveMonth(this.viewDate,t)):(n=new Date(this.date.valueOf()),n.setUTCDate(this.date.getUTCDate()+t),i=new Date(this.viewDate.valueOf()),i.setUTCDate(this.viewDate.getUTCDate()+t)),this.dateWithinRange(n)&&(this.date=n,this.viewDate=i,this.setValue(),this.update(),e.preventDefault(),o=!0);break;case 38:case 40:if(!this.keyboardNavigation)break;t=38==e.keyCode?-1:1,e.ctrlKey?(n=this.moveYear(this.date,t),i=this.moveYear(this.viewDate,t)):e.shiftKey?(n=this.moveMonth(this.date,t),i=this.moveMonth(this.viewDate,t)):(n=new Date(this.date.valueOf()),n.setUTCDate(this.date.getUTCDate()+7*t),i=new Date(this.viewDate.valueOf()),i.setUTCDate(this.viewDate.getUTCDate()+7*t)),this.dateWithinRange(n)&&(this.date=n,this.viewDate=i,this.setValue(),this.update(),e.preventDefault(),o=!0);break;case 13:this.hide(),e.preventDefault();break;case 9:this.hide()}if(o){this.element.trigger({type:"changeDate", 20date:this.date});var r;this.isInput?r=this.element:this.component&&(r=this.element.find("input")),r&&r.change()}},showMode:function(e){e&&(this.viewMode=Math.max(0,Math.min(2,this.viewMode+e))),this.picker.find(">div").hide().filter(".datepicker-"+o.modes[this.viewMode].clsName).css("display","block"),this.updateNavArrows()}},e.fn.fdatepicker=function(t){var i=Array.apply(null,arguments);return i.shift(),this.each(function(){var o=e(this),r=o.data("datepicker"),s="object"==typeof t&&t;r||o.data("datepicker",r=new n(this,e.extend({},e.fn.fdatepicker.defaults,s))),"string"==typeof t&&"function"==typeof r[t]&&r[t].apply(r,i)})},e.fn.fdatepicker.defaults={onRender:function(){return""}},e.fn.fdatepicker.Constructor=n;var i=e.fn.fdatepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],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"},fr:{days:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"],daysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],daysMin:["Di","Lu","Ma","Me","Je","Ve","Sa","Di"],months:["Janvier","F\xe9vrier","Mars","Avril","Mai","Juin","Juillet","Ao\xfbt","Septembre","Octobre","Novembre","D\xe9cembre"],monthsShort:["Jan","Fev","Mar","Avr","Mai","Jun","Jul","Ao\xfb","Sep","Oct","Nov","Dec"],today:"Aujourd'hui"},pl:{days:["Niedziela","Poniedzia\u0142ek","Wtorek","\u015aroda","Czwartek","Pi\u0105tek","Sobota","Niedziela"],daysShort:["Nie","Pon","Wt","\u015ar","Czw","Pt","Sob","Nie"],daysMin:["Nd","Po","Wt","\u015ar","Czw","Pt","So","Nd"],months:["Stycze\u0144","Luty","Marzec","Kwiecie\u0144","Maj","Czerwiec","Lipiec","Sierpie\u0144","Wrzesie\u0144","Pa\u01
207adziernik","Listopad","Grudzie\u0144"],monthsShort:["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrz","Pa\u017a","Lit","Gru"],today:"Dzisiaj"},es:{days:["Domingo","Lunes","Martes","Mi\xe9rcoles","Jueves","Viernes","S\xe1bado","Domingo"],daysShort:["Dom","Lun","Mar","Mie","Jue","Vie","Sab","Dom"],daysMin:["Do","Lu","Ma","Mi","Ju","Vi","Sa","Do"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Deciembre"],monthsShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],today:"Hoy"},pt:{days:["Domingo","Segunda","Ter\xe7a","Quarta","Quinta","Sexta","S\xe1bado","Domingo"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","S\xe1b","Dom"],daysMin:["Do","Se","Te","Qu","Qu","Se","S\xe1","Do"],months:["Janeiro","Fevereiro","Mar\xe7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthsShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],today:"Hoje"},it:{days:["Domenica","Luned\xec","Marted\xec","Mercoled\xec","Gioved\xec","Venerd\xec","Sabato","Domenica"],daysShort:["Dom","Lun","Mar","Mer","Gio","Veb","Sab","Dom"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa","Do"],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"},de:{days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["So","Mo","Di","Mi","Do","Fr","Sa","So"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute"},ro:{days:["Duminica","Luni","Marti","Miercuri","Joi","Vineri","Sambata","Duminica"],daysShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sam","Dum"],daysMin:["Du","Lu","Ma","Mi","Jo","Vi","Sa","Du"],months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthsShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Noi","Dec"],today:"Astazi"},hu:{days:["Vas\xe1rnap","H\xe9tf\u0151","Kedd","Szerda","Cs\xfct\xf6rt\xf6k","P\xe9ntek","Szombat","Vas\xe1rnap"],daysShort:["Vas","H\xe9t","Kedd","Sze","Cs\xfc","P\xe9n","Szo","Vas"],daysMin:["Va","H\xe9","Ke","Sz","Cs","P\xe9","Sz","Va"],months:["Janu\xe1r","Febru\xe1r","M\xe1rcius","\xc1prilis","M\xe1jus","J\xfanius","J\xfalius","Augusztus","Szeptember","Okt\xf3ber","November","December"],monthsShort:["Jan","Feb","M\xe1r","\xc1pr","M\xe1j","J\xfan","J\xfal","Aug","Szep","Okt","Nov","Dec"],today:"Ma"},ru:{days:["\u0412\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440\u0433","\u041f\u044f\u0442\u043d\u0438\u0446\u0430","\u0421\u0443\u0431\u0431\u043e\u0442\u0430","\u0412\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435"],daysShort:["\u0412\u0441\u043a","\u041f\u043d\u0434","\u0412\u0442\u0440","\u0421\u0440\u0434","\u0427\u0442\u0432","\u041f\u0442\u043d","\u0421\u0443\u0431","\u0412\u0441\u043a"],daysMin:["\u0412\u0441","\u041f\u043d","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041f\u0442","\u0421\u0431","\u0412\u0441"],months:["\u042f\u043d\u0432\u0430\u0440\u044c","\u0424\u0435\u0432\u0440\u0430\u043b\u044c","\u041c\u0430\u0440\u0442","\u0410\u043f\u0440\u0435\u043b\u044c","\u041c\u0430\u0439","\u0418\u044e\u043d\u044c","\u0418\u044e\u043b\u044c","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u041e\u043a\u0442\u044f\u0431\u0440\u044c","\u041d\u043e\u044f\u0431\u0440\u044c","\u0414\u0435\u043a\u0430\u0431\u0440\u044c"],monthsShort:["\u042f\u043d\u0432","\u0424\u0435\u0432","\u041c\u0430\u0440","\u0410\u043f\u0440","\u041c\u0430\u0439","\u0418\u044e\u043d","\u0418\u044e\u043b","\u0410\u0432\u0433","\u0421\u0435\u043d","\u041e\u043a\u0442","\u041d\u043e\u044f","\u0414\u0435\u043a"],today:"\u0421\u0435\u0433\u043e\u0434\u043d\u044f"},cz:{days:["Ned\u011ble","Pond\u011bl\xed","\xdater\xfd","St\u0159eda","\u010ctvrtek","P\xe1tek","Sobota","Ned\u011ble"],daysShort:["Ne","Po","\xdat","St","\u010ct","P\xe1","So","Ne"],daysMin:["Ne","Po","\xdat","St","\u010ct","P\xe1","So","Ne"],months:["Leden","\xdanor","B\u0159ezen","Duben","Kv\u011bten","\u010cerven","\u010cervenec","Srpen","Z\xe1\u0159\xed","\u0158\xedjen","Listopad","Prosinec"],monthsShort:["Led","\xdano","B\u0159e","Dub","Kv\u011b","\u010cer","\u010cnc","Srp","Z\xe1\u0159","\u0158\xedj","Lis","Pro"],today:"Dnes"}},o={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],isLeapYear:function(e){return e%4==0&&e%100!=0||e%400==0},getDaysInMonth:function(e,t){return[31,o.isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g,parseFormat:function(e){var t=e.replace(this.validParts,"\0").split("\0"),n=e.match(this.validParts);if(!t||!t.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:t,parts:n}},parseDate:function(o,r,s){if(o instanceof Date)return o;
20if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(o)){var a,l,u=/([\-+]\d+)([dmwy])/,c=o.match(/([\-+]\d+)([dmwy])/g);o=new Date;for(var d=0;d<c.length;d++)switch(a=u.exec(c[d]),l=parseInt(a[1]),a[2]){case"d":o.setUTCDate(o.getUTCDate()+l);break;case"m":o=n.prototype.moveMonth.call(n.prototype,o,l);break;case"w":o.setUTCDate(o.getUTCDate()+7*l);break;case"y":o=n.prototype.moveYear.call(n.prototype,o,l)}return t(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate(),0,0,0)}var h,p,a,c=o&&o.match(this.nonpunctuation)||[],o=new Date,f={},m=["yyyy","yy","M","MM","m","mm","d","dd"],g={yyyy:function(e,t){return e.setUTCFullYear(t)},yy:function(e,t){return e.setUTCFullYear(2e3+t)},m:function(e,t){for(t-=1;t<0;)t+=12;for(t%=12,e.setUTCMonth(t);e.getUTCMonth()!=t;)e.setUTCDate(e.getUTCDate()-1);return e},d:function(e,t){return e.setUTCDate(t)}};g.M=g.MM=g.mm=g.m,g.dd=g.d,o=t(o.getFullYear(),o.getMonth(),o.getDate(),0,0,0);var _=r.parts.slice();if(c.length!=_.length&&(_=e(_).filter(function(t,n){return-1!==e.inArray(n,m)}).toArray()),c.length==_.length){for(var d=0,v=_.length;d<v;d++){if(h=parseInt(c[d],10),a=_[d],isNaN(h))switch(a){case"MM":p=e(i[s].months).filter(function(){var e=this.slice(0,c[d].length);return e==c[d].slice(0,e.length)}),h=e.inArray(p[0],i[s].months)+1;break;case"M":p=e(i[s].monthsShort).filter(function(){var e=this.slice(0,c[d].length);return e==c[d].slice(0,e.length)}),h=e.inArray(p[0],i[s].monthsShort)+1}f[a]=h}for(var y,d=0;d<m.length;d++)(y=m[d])in f&&!isNaN(f[y])&&g[y](o,f[y])}return o},formatDate:function(t,n,o){var r={d:t.getUTCDate(),D:i[o].daysShort[t.getUTCDay()],DD:i[o].days[t.getUTCDay()],m:t.getUTCMonth()+1,M:i[o].monthsShort[t.getUTCMonth()],MM:i[o].months[t.getUTCMonth()],yy:t.getUTCFullYear().toString().substring(2),yyyy:t.getUTCFullYear()};r.dd=(r.d<10?"0":"")+r.d,r.mm=(r.m<10?"0":"")+r.m;for(var t=[],s=e.extend([],n.separators),a=0,l=n.parts.length;a<l;a++)s.length&&t.push(s.shift()),t.push(r[n.parts[a]]);return t.join("")},headTemplate:'<thead><tr><th class="prev"><</th><th colspan="5" class="date-switch"></th><th class="next">></th></tr></thead>',contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr></tfoot>'};o.template='<div class="datepicker"><div class="datepicker-days"><table class=" table-condensed">'+o.headTemplate+"<tbody></tbody>"+o.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+o.headTemplate+o.contTemplate+o.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+o.headTemplate+o.contTemplate+o.footTemplate+'</table></div><a class="button datepicker-close small alert right" style="width:auto;">×</a></div>',e.fn.fdatepicker.DPGlobal=o}(window.jQuery),function(e,t){"use strict";var n;if("object"==typeof exports){try{n=require("moment")}catch(e){}module.exports=t(n)}else"function"==typeof define&&define.amd?define(function(e){try{n=e("moment")}catch(e){}return t(n)}):e.Datepicker=t(e.moment)}(this,function(e){"use strict";var t="function"==typeof e,n=!!window.addEventListener,i=window.document,o=window.setTimeout,r=function(e,t,i,o){n?e.addEventListener(t,i,!!o):e.attachEvent("on"+t,i)},s=function(e,t,i,o){n?e.removeEventListener(t,i,!!o):e.detachEvent("on"+t,i)},a=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},l=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},u=function(e,t){l(e,t)||(e.className=""===e.className?t:e.className+" "+t)},c=function(e,t){e.className=a((" "+e.className+" ").replace(" "+t+" "," "))},d=function(e){return/Array/.test(Object.prototype.toString.call(e))},h=function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())},p=function(e){var t=e.getDay();return 0===t||6===t},f=function(e){return e%4==0&&e%100!=0||e%400==0},m=function(e,t){return[31,f(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},g=function(e){h(e)&&e.setHours(0,0,0,0)},_=function(e,t){return e.getTime()===t.getTime()},v=function(e,t,n){var i,o;for(i in t)o=e[i]!==undefined,o&&"object"==typeof t[i]&&null!==t[i]&&t[i].nodeName===undefined?h(t[i])?n&&(e[i]=new Date(t[i].getTime())):d(t[i])?n&&(e[i]=t[i].slice(0)):e[i]=v({},t[i],n):!n&&o||(e[i]=t[i]);return e},y=function(e,t,n){var o;i.createEvent?(o=i.createEvent("HTMLEvents"),o.initEvent(t,!0,!1),o=v(o,n),e.dispatchEvent(o)):i.createEventObject&&(o=i.createEventObject(),o=v(o,n),e.fireEvent("on"+t,o))},b=function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},w={field:null,bound:undefined,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:undefined,maxMonth:undefined,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:undefined,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
20ay","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0},x=function(e,t,n){for(t+=e.firstDay;t>=7;)t-=7;return n?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},k=function(e){var t=[],n="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'<td class="is-empty"></td>';t.push("is-outside-current-month"),e.enableSelectionDaysInNextAndPreviousMonths||t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'<td data-day="'+e.day+'" class="'+t.join(" ")+'" aria-selected="'+n+'"><button class="datepicker-button datepicker-day" type="button" data-datepicker-year="'+e.year+'" data-datepicker-month="'+e.month+'" data-datepicker-day="'+e.day+'">'+e.day+"</button></td>"},T=function(e,t,n){var i=new Date(n,0,1);return'<td class="datepicker-week">'+Math.ceil(((new Date(n,t,e)-i)/864e5+i.getDay()+1)/7)+"</td>"},S=function(e,t,n,i){return"<tr"+(n?" pick-whole-week":"")+(i?" is-selected":"")+'">'+(t?e.reverse():e).join("")+"</tr>"},C=function(e){return"<tbody>"+e.join("")+"</tbody>"},L=function(e){var t,n=[];for(e.showWeekNumber&&n.push("<th></th>"),t=0;t<7;t++)n.push('<th scope="col"><abbr title="'+x(e,t)+'">'+x(e,t,!0)+"</abbr></th>");return"<thead><tr>"+(e.isRTL?n.reverse():n).join("")+"</tr></thead>"},M=function(e,t,n,i,o,r){var s,a,l,u,c,h=e._o,p=n===h.minYear,f=n===h.maxYear,m='<div id="'+r+'" class="datepicker-title" role="heading" aria-live="assertive">',g=!0,_=!0;for(l=[],s=0;s<12;s++)l.push('<option value="'+(n===o?s-t:12+s-t)+'"'+(s===i?' selected="selected"':"")+(p&&s<h.minMonth||f&&s>h.maxMonth?'disabled="disabled"':"")+">"+h.i18n.months[s]+"</option>");for(u='<div class="datepicker-label">'+h.i18n.months[i]+'<select class="datepicker-select datepicker-select-month" tabindex="-1">'+l.join("")+"</select></div>",d(h.yearRange)?(s=h.yearRange[0],a=h.yearRange[1]+1):(s=n-h.yearRange,a=1+n+h.yearRange),l=[];s<a&&s<=h.maxYear;s++)s>=h.minYear&&l.push('<option value="'+s+'"'+(s===n?' selected="selected"':"")+">"+s+"</option>");return c='<div class="datepicker-label">'+n+h.yearSuffix+'<select class="datepicker-select datepicker-select-year" tabindex="-1">'+l.join("")+"</select></div>",h.showMonthAfterYear?m+=c+u:m+=u+c,p&&(0===i||h.minMonth>=i)&&(g=!1),f&&(11===i||h.maxMonth<=i)&&(_=!1),0===t&&(m+='<button class="datepicker-prev'+(g?"":" is-disabled")+'" type="button">'+h.i18n.previousMonth+"</button>"),t===e._o.numberOfMonths-1&&(m+='<button class="datepicker-next'+(_?"":" is-disabled")+'" type="button">'+h.i18n.nextMonth+"</button>"),m+="</div>"},A=function(e,t,n){return'<table cellpadding="0" cellspacing="0" class="datepicker-table" role="grid" aria-labelledby="'+n+'">'+L(e)+C(t)+"</table>"},D=function(s){var a=this,u=a.config(s);a._onMouseDown=function(e){if(a._v){e=e||window.event;var t=e.target||e.srcElement;if(t)if(l(t,"is-disabled")||(!l(t,"datepicker-button")||l(t,"is-empty")||l(t.parentNode,"is-disabled")?l(t,"datepicker-prev")?a.prevMonth():l(t,"datepicker-next")&&a.nextMonth():(a.setDate(new Date(t.getAttribute("data-datepicker-year"),t.getAttribute("data-datepicker-month"),t.getAttribute("data-datepicker-day"))),u.bound&&o(function(){a.hide(),u.blurFieldOnSelect&&u.field&&u.field.blur()},100))),l(t,"datepicker-select"))a._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}},a._onChange=function(e){e=e||window.event;var t=e.target||e.srcElement;t&&(l(t,"datepicker-select-month")?a.gotoMonth(t.value):l(t,"datepicker-select-year")&&a.gotoYear(t.value))},a._onKeyChange=function(e){if(e=e||window.event,a.isVisible())switch(e.keyCode){case 13:case 27:u.field&&u.field.blur();break;case 37:e.preventDefault(),a.adjustDate("subtract",1);break;case 38:a.adjustDate("subtract",7);break;case 39:a.adjustDate("add",1);break;case 40:a.adjustDate("add",7)}},a._onInputChange=function(n){var i;n.firedBy!==a&&(u.parse?i=u.parse(u.field.value,u.format):t?(i=e(u.field.value,u.format,u.formatStrict),i=i&&i.isValid()?i.toDate():null):i=new Date(Date.parse(u.field.value)),h(i)&&a.setDate(i),a._v||a.show())},a._onInputFocus=function(){a.show()},a._onInputClick=function(){a.show()},a._onInputBlur=function(){var e=i.activeElement;do{if(l(e,"datepicker-single"))return}while(e=e.parentNode);
20a._c||(a._b=o(function(){a.hide()},50)),a._c=!1},a._onClick=function(e){e=e||window.event;var t=e.target||e.srcElement,i=t;if(t){!n&&l(t,"datepicker-select")&&(t.onchange||(t.setAttribute("onchange","return;"),r(t,"change",a._onChange)));do{if(l(i,"datepicker-single")||i===u.trigger)return}while(i=i.parentNode);a._v&&t!==u.trigger&&i!==u.trigger&&a.hide()}},a.el=i.createElement("div"),a.el.className="datepicker-single"+(u.isRTL?" is-rtl":"")+(u.theme?" "+u.theme:""),a.overlay=i.createElement("div"),a.overlay.className="datepicker-overlay",r(a.overlay,"click",a._onClick),r(a.el,"mousedown",a._onMouseDown,!0),r(a.el,"touchend",a._onMouseDown,!0),r(a.el,"change",a._onChange),u.keyboardInput&&r(i,"keydown",a._onKeyChange),u.field&&(u.container?(u.container.appendChild(a.overlay),u.container.appendChild(a.el)):u.bound?i.body.appendChild(a.el):u.field.parentNode.insertBefore(a.el,u.field.nextSibling),r(u.field,"change",a._onInputChange),u.defaultDate||(t&&u.field.value?u.defaultDate=e(u.field.value,u.format).toDate():u.defaultDate=new Date(Date.parse(u.field.value)),u.setDefaultDate=!0));var c=u.defaultDate;h(c)?u.setDefaultDate?a.setDate(c,!0):a.gotoDate(c):a.gotoDate(new Date),u.bound?(this.hide(),a.el.className+=" is-bound",r(u.trigger,"click",a._onInputClick),r(u.trigger,"focus",a._onInputFocus),r(u.trigger,"blur",a._onInputBlur)):this.show()};return D.prototype={config:function(e){this._o||(this._o=v({},w,!0));var t=v(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(t.bound!==undefined?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=n>4?4:n,h(t.minDate)||(t.minDate=!1),h(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate<t.minDate&&(t.maxDate=t.minDate=!1),t.minDate&&this.setMinDate(t.minDate),t.maxDate&&this.setMaxDate(t.maxDate),d(t.yearRange)){var i=(new Date).getFullYear()-10;t.yearRange[0]=parseInt(t.yearRange[0],10)||i,t.yearRange[1]=parseInt(t.yearRange[1],10)||i}else t.yearRange=Math.abs(parseInt(t.yearRange,10))||w.yearRange,t.yearRange>100&&(t.yearRange=100);return t},toString:function(n){return n=n||this._o.format,h(this._d)?this._o.toString?this._o.toString(this._d,n):t?e(this._d).format(n):this._d.toDateString():""},getMoment:function(){return t?e(this._d):null},setMoment:function(n,i){t&&e.isMoment(n)&&this.setDate(n.toDate(),i)},getDate:function(){return h(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",y(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),h(e)){var n=this._o.minDate,i=this._o.maxDate;h(n)&&e<n?e=n:h(i)&&e>i&&(e=i),this._d=new Date(e.getTime()),g(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),y(this._o.field,"change",{firedBy:this})),t||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},gotoDate:function(e){var t=!0;if(h(e)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),i=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),o=e.getTime();i.setMonth(i.getMonth()+1),i.setDate(i.getDate()-1),t=o<n.getTime()||i.getTime()<o}t&&(this.calendars=[{month:e.getMonth(),year:e.getFullYear()}],"right"===this._o.mainCalendar&&(this.calendars[0].month+=1-this._o.numberOfMonths)),this.adjustCalendars()}},adjustDate:function(e,t){var n,i=this.getDate()||new Date,o=24*parseInt(t)*60*60*1e3;"add"===e?n=new Date(i.valueOf()+o):"subtract"===e&&(n=new Date(i.valueOf()-o)),this.setDate(n)},adjustCalendars:function(){this.calendars[0]=b(this.calendars[0]);for(var e=1;e<this._o.numberOfMonths;e++)this.calendars[e]=b({month:this.calendars[0].month+e,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++,this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--,this.adjustCalendars()},gotoYear:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())},setMinDate:function(e){e instanceof Date?(g(e),this._o.minDate=e,this._o.minYear=e.getFullYear(),this._o.minMonth=e.getMonth()):(this._o.minDate=w.minDate,this._o.minYear=w.minYear,this._o.minMonth=w.minMonth,this._o.startRange=w.startRange),this.draw()}
20,setMaxDate:function(e){e instanceof Date?(g(e),this._o.maxDate=e,this._o.maxYear=e.getFullYear(),this._o.maxMonth=e.getMonth()):(this._o.maxDate=w.maxDate,this._o.maxYear=w.maxYear,this._o.maxMonth=w.maxMonth,this._o.endRange=w.endRange),this.draw()},setStartRange:function(e){this._o.startRange=e},setEndRange:function(e){this._o.endRange=e},draw:function(e){if(this._v||e){var t,n=this._o,i=n.minYear,r=n.maxYear,s=n.minMonth,a=n.maxMonth,l="";this._y<=i&&(this._y=i,!isNaN(s)&&this._m<s&&(this._m=s)),this._y>=r&&(this._y=r,!isNaN(a)&&this._m>a&&(this._m=a)),t="datepicker-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var u=0;u<n.numberOfMonths;u++)l+='<div class="datepicker-lendar">'+M(this,u,this.calendars[u].year,this.calendars[u].month,this.calendars[0].year,t)+this.render(this.calendars[u].year,this.calendars[u].month,t)+"</div>";this.el.innerHTML=l,n.bound&&"hidden"!==n.field.type&&o(function(){n.trigger.focus()},1),"function"==typeof this._o.onDraw&&this._o.onDraw(this),n.bound&&n.field.setAttribute("aria-label",n.ariaLabel)}},adjustPosition:function(){var e,t,n,o,r,s,a,l,d,h,p,f;if(!this._o.container){if(this.el.style.position="absolute",e=this._o.trigger,t=e,n=this.el.offsetWidth,o=this.el.offsetHeight,r=window.innerWidth||i.documentElement.clientWidth,s=window.innerHeight||i.documentElement.clientHeight,a=window.pageYOffset||i.body.scrollTop||i.documentElement.scrollTop,p=!0,f=!0,"function"==typeof e.getBoundingClientRect)h=e.getBoundingClientRect(),l=h.left+window.pageXOffset,d=h.bottom+window.pageYOffset;else for(l=t.offsetLeft,d=t.offsetTop+t.offsetHeight;t=t.offsetParent;)l+=t.offsetLeft,d+=t.offsetTop;(this._o.reposition&&l+n>r||this._o.position.indexOf("right")>-1&&l-n+e.offsetWidth>0)&&(l=l-n+e.offsetWidth,p=!1),(this._o.reposition&&d+o>s+a||this._o.position.indexOf("top")>-1&&d-o-e.offsetHeight>0)&&(d=d-o-e.offsetHeight,f=!1),this.el.style.left=l+"px",this.el.style.top=d+"px",u(this.el,p?"left-aligned":"right-aligned"),u(this.el,f?"bottom-aligned":"top-aligned"),c(this.el,p?"right-aligned":"left-aligned"),c(this.el,f?"top-aligned":"bottom-aligned")}},render:function(e,t,n){var i=this._o,o=new Date,r=m(e,t),s=new Date(e,t,1).getDay(),a=[],l=[];g(o),i.firstDay>0&&(s-=i.firstDay)<0&&(s+=7);for(var u=0===t?11:t-1,c=11===t?0:t+1,d=0===t?e-1:e,f=11===t?e+1:e,v=m(d,u),y=r+s,b=y;b>7;)b-=7;y+=7-b;for(var w=!1,x=0,C=0;x<y;x++){var L=new Date(e,t,x-s+1),M=!!h(this._d)&&_(L,this._d),D=_(L,o),E=-1!==i.events.indexOf(L.toDateString()),P=x<s||x>=r+s,z=x-s+1,I=t,O=e,F=i.startRange&&_(i.startRange,L),j=i.endRange&&_(i.endRange,L),N=i.startRange&&i.endRange&&i.startRange<L&&L<i.endRange,R=i.minDate&&L<i.minDate||i.maxDate&&L>i.maxDate||i.disableWeekends&&p(L)||i.disableDayFn&&i.disableDayFn(L);P&&(x<s?(z=v+z,I=u,O=d):(z-=r,I=c,O=f));var q={day:z,month:I,year:O,hasEvent:E,isSelected:M,isToday:D,isDisabled:R,isEmpty:P,isStartRange:F,isEndRange:j,isInRange:N,showDaysInNextAndPreviousMonths:i.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:i.enableSelectionDaysInNextAndPreviousMonths};i.pickWholeWeek&&M&&(w=!0),l.push(k(q)),7==++C&&(i.showWeekNumber&&l.unshift(T(x-s,t,e)),a.push(S(l,i.isRTL,i.pickWholeWeek,w)),l=[],C=0,w=!1)}return A(i,a,n)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),c(this.el,"is-hidden"),c(this.overlay,"is-hidden"),this._o.bound&&(r(i,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e=this._v;!1!==e&&(this._o.bound&&s(i,"click",this._onClick),this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto",u(this.el,"is-hidden"),u(this.overlay,"is-hidden"),this._v=!1,e!==undefined&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var e=this._o;this.hide(),s(this.el,"mousedown",this._onMouseDown,!0),s(this.el,"touchend",this._onMouseDown,!0),s(this.el,"change",this._onChange),e.keyboardInput&&s(i,"keydown",this._onKeyChange),e.field&&(s(e.field,"change",this._onInputChange),e.bound&&(s(e.trigger,"click",this._onInputClick),s(e.trigger,"focus",this._onInputFocus),s(e.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},D}),function(e){if("function"==typeof define&&define.amd)define(e);
20else if("object"==typeof exports)module.exports=e();else{var t=window.Cookies,n=window.Cookies=e(window.jQuery);n.noConflict=function(){return window.Cookies=t,n}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function t(n){function i(t,o,r){var s;if(arguments.length>1){if(r=e({path:"/"},i.defaults,r),"number"==typeof r.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*r.expires),r.expires=a}try{s=JSON.stringify(o),/^[\{\[]/.test(s)&&(o=s)}catch(e){}return o=encodeURIComponent(String(o)),o=o.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[\(\)]/g,escape),document.cookie=[t,"=",o,r.expires&&"; expires="+r.expires.toUTCString(),r.path&&"; path="+r.path,r.domain&&"; domain="+r.domain,r.secure?"; secure":""].join("")}t||(s={});for(var l=document.cookie?document.cookie.split("; "):[],u=/(%[0-9A-Z]{2})+/g,c=0;c<l.length;c++){var d=l[c].split("="),h=d[0].replace(u,decodeURIComponent),p=d.slice(1).join("=");'"'===p.charAt(0)&&(p=p.slice(1,-1));try{if(p=n&&n(p,h)||p.replace(u,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(e){}if(t===h){s=p;break}t||(s[h]=p)}catch(e){}}return s}return i.get=i.set=i,i.getJSON=function(){return i.apply({json:!0},[].slice.call(arguments))},i.defaults={},i.remove=function(t,n){i(t,"",e(n,{expires:-1}))},i.withConverter=t,i}return t()}),function(){function e(e,t){return e.set(t[0],t[1]),e}function t(e,t){return e.add(t),e}function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function i(e,t,n,i){for(var o=-1,r=e.length;++o<r;){var s=e[o];t(i,s,n(s),e)}return i}function o(e,t){for(var n=-1,i=e.length,o=-1,r=t.length,s=Array(i+r);++n<i;)s[n]=e[n];for(;++o<r;)s[n++]=t[o];return s}function r(e,t){for(var n=-1,i=e.length;++n<i&&!1!==t(e[n],n,e););return e}function s(e,t){for(var n=e.length;n--&&!1!==t(e[n],n,e););return e}function a(e,t){for(var n=-1,i=e.length;++n<i;
20)if(!t(e[n],n,e))return!1;return!0}function l(e,t){for(var n=-1,i=e.length,o=0,r=[];++n<i;){var s=e[n];t(s,n,e)&&(r[o++]=s)}return r}function u(e,t){return!!e.length&&y(e,t,0)>-1}function c(e,t,n){for(var i=-1,o=e.length;++i<o;)if(n(t,e[i]))return!0;return!1}function d(e,t){for(var n=-1,i=e.length,o=Array(i);++n<i;)o[n]=t(e[n],n,e);return o}function h(e,t){for(var n=-1,i=t.length,o=e.length;++n<i;)e[o+n]=t[n];return e}function p(e,t,n,i){var o=-1,r=e.length;for(i&&r&&(n=e[++o]);++o<r;)n=t(n,e[o],o,e);return n}function f(e,t,n,i){var o=e.length;for(i&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function m(e,t){for(var n=-1,i=e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}function g(e,t,n){for(var i=-1,o=e.length;++i<o;){var r=e[i],s=t(r);if(null!=s&&(a===Z?s===s:n(s,a)))var a=s,l=r}return l}function _(e,t,n,i){var o;return n(e,function(e,n,r){if(t(e,n,r))return o=i?n:e,!1}),o}function v(e,t,n){for(var i=e.length,o=n?i:-1;n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function y(e,t,n){if(t!==t)return j(e,n);for(var i=n-1,o=e.length;++i<o;)if(e[i]===t)return i;return-1}function b(e,t,n,i){for(var o=n-1,r=e.length;++o<r;)if(i(e[o],t))return o;return-1}function w(e,t,n,i,o){return o(e,function(e,o,r){n=i?(i=!1,e):t(n,e,o,r)}),n}function x(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function k(e,t){for(var n,i=-1,o=e.length;++i<o;){var r=t(e[i]);r!==Z&&(n=n===Z?r:n+r)}return n}function T(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function S(e,t){return d(t,function(t){return[t,e[t]]})}function C(e){return function(t){return e(t)}}function L(e,t){return d(t,function(t){return e[t]})}function M(e,t){for(var n=-1,i=e.length;++n<i&&y(t,e[n],0)>-1;);return n}function A(e,t){for(var n=e.length;n--&&y(t,e[n],0)>-1;);return n}function D(e){return e&&e.Object===Object?e:null}function E(e,t){if(e!==t){var n=null===e,i=e===Z,o=e===e,r=null===t,s=t===Z,a=t===t;if(e>t&&!r||!o||n&&!s&&a||i&&a)return 1;if(e<t&&!n||!a||r&&!i&&o||s&&o)return-1}return 0}function P(e,t,n){for(var i=-1,o=e.criteria,r=t.criteria,s=o.length,a=n.length;++i<s;){var l=E(o[i],r[i]);if(l){if(i>=a)return l;return l*("desc"==n[i]?-1:1)}}return e.index-t.index}function z(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&i++;return i}function I(e){return yn[e]}function O(e){return bn[e]}function F(e){return"\\"+kn[e]}function j(e,t,n){for(var i=e.length,o=t+(n?0:-1);n?o--:++o<i;){var r=e[o];if(r!==r)return o}return-1}function N(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function R(e,t){return e="number"==typeof e||Tt.test(e)?+e:-1,t=null==t?be:t,e>-1&&e%1==0&&e<t}function q(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function $(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}function H(e,t){for(var n=-1,i=e.length,o=0,r=[];++n<i;){var s=e[n];s!==t&&s!==X||(e[n]=X,r[o++]=n)}return r}function B(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function W(e){if(!e||!dn.test(e))return e.length;for(var t=cn.lastIndex=0;cn.test(e);)t++;return t}function U(e){return e.match(cn)}function Y(e){return wn[e]}function V(D){function Tt(e){if($s(e)&&!Cc(e)&&!(e instanceof Dt)){if(e instanceof At)return e;if(Zl.call(e,"__wrapped__"))return Oo(e)}return new At(e)}function Mt(){}function At(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=Z}function Dt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ke,this.__views__=[]}function Et(){var e=new Dt(this.__wrapped__);return e.__actions__=Ri(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ri(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ri(this.__views__),e}function Pt(){if(this.__filtered__){var e=new Dt(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function zt(){ 21var e=this.__wrapped__.value(),t=this.__dir__,n=Cc(e),i=t<0,o=n?e.length:0,r=vo(0,o,this.__views__),s=r.start,a=r.end,l=a-s,u=i?a:s-1,
21c=this.__iteratees__,d=c.length,h=0,p=yu(l,this.__takeCount__);if(!n||o<J||o==l&&p==l)return Li(e,this.__actions__);var f=[];e:for(;l--&&h<p;){u+=t;for(var m=-1,g=e[u];++m<d;){var _=c[m],v=_.iteratee,y=_.type,b=v(g);if(y==_e)g=b;else if(!b){if(y==ge)continue e;break e}}f[h++]=g}return f}function It(){}function Ot(e,t){return jt(e,t)&&delete e[t]}function Ft(e,t){if(Cu){var n=e[t];return n===K?Z:n}return Zl.call(e,t)?e[t]:Z}function jt(e,t){return Cu?e[t]!==Z:Zl.call(e,t)}function Nt(e,t,n){e[t]=Cu&&n===Z?K:n}function Rt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function qt(){this.__data__={hash:new It,map:ku?new ku:[],string:new It}}function $t(e){var t=this.__data__;return Co(e)?Ot("string"==typeof e?t.string:t.hash,e):ku?t.map["delete"](e):en(t.map,e)}function Ht(e){var t=this.__data__;return Co(e)?Ft("string"==typeof e?t.string:t.hash,e):ku?t.map.get(e):tn(t.map,e)}function Bt(e){var t=this.__data__;return Co(e)?jt("string"==typeof e?t.string:t.hash,e):ku?t.map.has(e):nn(t.map,e)}function Wt(e,t){var n=this.__data__;return Co(e)?Nt("string"==typeof e?n.string:n.hash,e,t):ku?n.map.set(e,t):rn(n.map,e,t),this}function Ut(e){var t=-1,n=e?e.length:0;for(this.__data__=new Rt;++t<n;)this.push(e[t])}function Yt(e,t){var n=e.__data__;if(Co(t)){var i=n.__data__;return("string"==typeof t?i.string:i.hash)[t]===K}return n.has(t)}function Vt(e){var t=this.__data__;if(Co(e)){var n=t.__data__;("string"==typeof e?n.string:n.hash)[e]=K}else t.set(e,K)}function Zt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Gt(){this.__data__={array:[],map:null}}function Jt(e){var t=this.__data__,n=t.array;return n?en(n,e):t.map["delete"](e)}function Qt(e){var t=this.__data__,n=t.array;return n?tn(n,e):t.map.get(e)}function Kt(e){var t=this.__data__,n=t.array;return n?nn(n,e):t.map.has(e)}function Xt(e,t){var n=this.__data__,i=n.array;i&&(i.length<J-1?rn(i,e,t):(n.array=null,n.map=new Rt(i)));var o=n.map;return o&&o.set(e,t),this}function en(e,t){var n=on(e,t);return!(n<0)&&(n==e.length-1?e.pop():hu.call(e,n,1),!0)}function tn(e,t){var n=on(e,t);return n<0?Z:e[n][1]}function nn(e,t){return on(e,t)>-1}function on(e,t){for(var n=e.length;n--;)if(xs(e[n][0],t))return n;return-1}function rn(e,t,n){var i=on(e,t);i<0?e.push([t,n]):e[i][1]=n}function sn(e,t,n,i){return e===Z||xs(e,Yl[n])&&!Zl.call(i,n)?t:e}function an(e,t,n){(n===Z||xs(e[t],n))&&("number"!=typeof t||n!==Z||t in e)||(e[t]=n)}
21function ln(e,t,n){var i=e[t];Zl.call(e,t)&&xs(i,n)&&(n!==Z||t in e)||(e[t]=n)}function cn(e,t,n,i){return Fu(e,function(e,o,r){t(i,e,n(e),r)}),i}function yn(e,t){return e&&qi(t,La(t),e)}function bn(e,t){for(var n=-1,i=null==e,o=t.length,r=Array(o);++n<o;)r[n]=i?Z:Ta(e,t[n]);return r}function wn(e){return Ms(e)?e:[]}function xn(e){return"function"==typeof e?e:vl}function kn(e){return Cc(e)?e:Io(e)}function Cn(e,t,n){return e===e&&(n!==Z&&(e=e<=n?e:n),t!==Z&&(e=e>=t?e:t)),e}function Ln(e,t,n,i,o,s,a){var l;if(i&&(l=s?i(e,o,s,a):i(e)),l!==Z)return l;if(!qs(e))return e;var u=Cc(e);if(u){if(l=bo(e),!t)return Ri(e,l)}else{var c=_o(e),d=c==Ee||c==Pe;if(Lc(e))return Di(e,t);if(c==Oe||c==Ce||d&&!s){if(N(e))return s?e:{};if(l=wo(d?{}:e),!t)return l=yn(l,e),n?Hi(e,l):l}else{if(!vn[c])return s?e:{};l=xo(e,c,t)}}a||(a=new Zt);var h=a.get(e);return h||(a.set(e,l),(u?r:qn)(e,function(o,r){ln(l,r,Ln(o,t,n,i,r,e,a))}),n&&!u?Hi(e,l):l)}function An(e){var t=La(e),n=t.length;return function(i){if(null==i)return!n;for(var o=n;o--;){var r=t[o],s=e[r],a=i[r];if(a===Z&&!(r in Object(i))||!s(a))return!1}return!0}}function Dn(e){return qs(e)?uu(e):{}}function En(e,t,n){if("function"!=typeof e)throw new Wl(Q);return du(function(){e.apply(Z,n)},t)}function Pn(e,t,n,i){var o=-1,r=u,s=!0,a=e.length,l=[],h=t.length;if(!a)return l;n&&(t=d(t,C(n))),i?(r=c,s=!1):t.length>=J&&(r=Yt,s=!1,t=new Ut(t));e:for(;++o<a;){var p=e[o],f=n?n(p):p;if(s&&f===f){for(var m=h;m--;)if(t[m]===f)continue e;l.push(p)}else r(t,f,i)||l.push(p)}return l}function On(e,t){var n=!0;return Fu(e,function(e,i,o){return n=!!t(e,i,o)}),n}function Fn(e,t,n,i){var o=e.length;for(n=ua(n),n<0&&(n=-n>o?0:o+n),i=i===Z||i>o?o:ua(i),i<0&&(i+=o),i=n>i?0:ca(i);n<i;)e[n++]=t;return e}function jn(e,t){var n=[];return Fu(e,function(e,i,o){t(e,i,o)&&n.push(e)}),n}function Nn(e,t,n,i){i||(i=[]);for(var o=-1,r=e.length;++o<r;){var s=e[o];t>0&&Ms(s)&&(n||Cc(s)||Ss(s))?t>1?Nn(s,t-1,n,i):h(i,s):n||(i[i.length]=s)}return i}function Rn(e,t){return null==e?e:Nu(e,t,Ma)}function qn(e,t){return e&&Nu(e,t,La)}function $n(e,t){return e&&Ru(e,t,La)}function Hn(e,t){return l(t,function(t){return js(e[t])})}function Bn(e,t){t=So(t,e)?[t+""]:kn(t);for(var n=0,i=t.length;null!=e&&n<i;)e=e[t[n++]];return n&&n==i?e:Z}function Wn(e,t){return Zl.call(e,t)||"object"==typeof e&&t in e&&null===su(e)}function Un(e,t){return t in Object(e)}function Yn(e,t,n){return e>=yu(t,n)&&e<vu(t,n)}function Vn(e,t,n){for(var i=n?c:u,o=e[0].length,r=e.length,s=r,a=Array(r),l=Infinity,h=[];s--;){var p=e[s];s&&t&&(p=d(p,C(t))),l=yu(p.length,l),a[s]=!n&&(t||o>=120&&p.length>=120)?new Ut(s&&p):Z}p=e[0];var f=-1,m=a[0];e:for(;++f<o&&h.length<l;){var g=p[f],_=t?t(g):g;if(!(m?Yt(m,_):i(h,_,n))){for(s=r;--s;){var v=a[s];if(!(v?Yt(v,_):i(e[s],_,n)))continue e}m&&m.push(_),h.push(g)}}return h}function Zn(e,t,n,i){return qn(e,function(e,o,r){t(i,n(e),o,r)}),i}function Gn(e,t,i){So(t,e)||(t=kn(t),e=Po(e,t),t=Xo(t));var o=null==e?e:e[t];return null==o?Z:n(o,e,i)}function Jn(e,t,n,i,o){return e===t||(null==e||null==t||!qs(e)&&!$s(t)?e!==e&&t!==t:Qn(e,t,Jn,n,i,o))}function Qn(e,t,n,i,o,r){var s=Cc(e),a=Cc(t),l=Le,u=Le;s||(l=_o(e),l=l==Ce?Oe:l),a||(u=_o(t),u=u==Ce?Oe:u);var c=l==Oe&&!N(e),d=u==Oe&&!N(t),h=l==u;if(h&&!c)return r||(r=new Zt),s||na(e)?lo(e,t,n,i,o,r):uo(e,t,l,n,i,o,r);if(!(o&de)){var p=c&&Zl.call(e,"__wrapped__"),f=d&&Zl.call(t,"__wrapped__");
21if(p||f)return r||(r=new Zt),n(p?e.value():e,f?t.value():t,i,o,r)}return!!h&&(r||(r=new Zt),co(e,t,n,i,o,r))}function Kn(e,t,n,i){var o=n.length,r=o,s=!i;if(null==e)return!r;for(e=Object(e);o--;){var a=n[o];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<r;){a=n[o];var l=a[0],u=e[l],c=a[1];if(s&&a[2]){if(u===Z&&!(l in e))return!1}else{var d=new Zt,h=i?i(u,c,l,e,t,d):Z;if(!(h===Z?Jn(c,u,i,ce|de,d):h))return!1}}return!0}function Xn(e){var t=typeof e;return"function"==t?e:null==e?vl:"object"==t?Cc(e)?oi(e[0],e[1]):ii(e):Cl(e)}function ei(e){return _u(Object(e))}function ti(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}function ni(e,t){var n=-1,i=Ls(e)?Array(e.length):[];return Fu(e,function(e,o,r){i[++n]=t(e,o,r)}),i}function ii(e){var t=fo(e);if(1==t.length&&t[0][2]){var n=t[0][0],i=t[0][1];return function(e){return null!=e&&(e[n]===i&&(i!==Z||n in Object(e)))}}return function(n){return n===e||Kn(n,e,t)}}function oi(e,t){return function(n){var i=Ta(n,e);return i===Z&&i===t?Ca(n,e):Jn(t,i,Z,ce|de)}}function ri(e,t,n,i,o){if(e!==t){var s=Cc(t)||na(t)?Z:Ma(t);r(s||t,function(r,a){if(s&&(a=r,r=t[a]),qs(r))o||(o=new Zt),si(e,t,a,n,ri,i,o);else{var l=i?i(e[a],r,a+"",e,t,o):Z;l===Z&&(l=r),an(e,a,l)}})}}function si(e,t,n,i,o,r,s){var a=e[n],l=t[n],u=s.get(l);if(u)return void an(e,n,u);var c=r?r(a,l,n+"",e,t,s):Z,d=c===Z;d&&(c=l,Cc(l)||na(l)?Cc(a)?c=a:Ms(a)?c=Ri(a):(d=!1,c=Ln(l,!r)):Js(l)||Ss(l)?Ss(a)?c=ha(a):!qs(a)||i&&js(a)?(d=!1,c=Ln(l,!r)):c=a:d=!1),s.set(l,c),d&&o(c,l,i,r,s),s["delete"](l),an(e,n,c)}function ai(e,t,n){var i=-1;return t=d(t.length?t:Array(1),po()),x(ni(e,function(e){return{criteria:d(t,function(t){return t(e)}),index:++i,value:e}}),function(e,t){return P(e,t,n)})}function li(e,t){return e=Object(e),p(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}function ui(e,t){var n={};return Rn(e,function(e,i){t(e,i)&&(n[i]=e)}),n}function ci(e){return function(t){return null==t?Z:t[e]}}function di(e){return function(t){return Bn(t,e)}}function hi(e,t,n,i){var o=i?b:y,r=-1,s=t.length,a=e;for(n&&(a=d(e,C(n)));++r<s;)for(var l=0,u=t[r],c=n?n(u):u;(l=o(a,c,l,i))>-1;)a!==e&&hu.call(a,l,1),hu.call(e,l,1);return e}function pi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var o=t[n];if(i==n||o!=r){var r=o;if(R(o))hu.call(e,o,1);else if(So(o,e))delete e[o];else{var s=kn(o),a=Po(e,s);null!=a&&delete a[Xo(s)]}}}return e}function fi(e,t){return e+fu(wu()*(t-e+1))}function mi(e,t,n,i){for(var o=-1,r=vu(pu((t-e)/(n||1)),0),s=Array(r);r--;)s[i?r:++o]=e,e+=n;return s}function gi(e,t,n,i){t=So(t,e)?[t+""]:kn(t);for(var o=-1,r=t.length,s=r-1,a=e;null!=a&&++o<r;){var l=t[o];if(qs(a)){var u=n;if(o!=s){var c=a[l];u=i?i(c,l,a):Z,u===Z&&(u=null==c?R(t[o+1])?[]:{}:c)}ln(a,l,u)}a=a[l]}return e}function _i(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var r=Array(o);++i<o;)r[i]=e[i+t];return r}function vi(e,t){var n;return Fu(e,function(e,i,o){return!(n=t(e,i,o))}),!!n}function yi(e,t,n){var i=0,o=e?e.length:i;if("number"==typeof t&&t===t&&o<=Se){for(;i<o;){var r=i+o>>>1,s=e[r];(n?s<=t:s<t)&&null!==s?i=r+1:o=r}return o}return bi(e,t,vl,n)}function bi(e,t,n,i){t=n(t);for(var o=0,r=e?e.length:0,s=t!==t,a=null===t,l=t===Z;o<r;){var u=fu((o+r)/2),c=n(e[u]),d=c!==Z,h=c===c;if(s)var p=h||i;else p=a?h&&d&&(i||null!=c):l?h&&(i||d):null!=c&&(i?c<=t:c<t);p?o=u+1:r=u}return yu(r,Te)}function wi(e){return xi(e)}function xi(e,t){for(var n=0,i=e.length,o=e[0],r=t?t(o):o,s=r,a=1,l=[o];++n<i;)o=e[n],r=t?t(o):o,xs(r,s)||(s=r,l[a++]=o);return l}function ki(e,t,n){var i=-1,o=u,r=e.length,s=!0,a=[],l=a;if(n)s=!1,o=c;else if(r>=J){var d=t?null:$u(e);if(d)return B(d);s=!1,o=Yt,l=new Ut}else l=t?[]:a;e:for(;++i<r;){var h=e[i],p=t?t(h):h;if(s&&p===p){for(var f=l.length;f--;)if(l[f]===p)continue e;t&&l.push(p),a.push(h)}else o(l,p,n)||(l!==a&&l.push(p),a.push(h))}return a}function Ti(e,t){t=So(t,e)?[t+""]:kn(t),e=Po(e,t);var n=Xo(t);return null==e||!Sa(e,n)||delete e[n]}function Si(e,t,n,i){return gi(e,t,n(Bn(e,t)),i)}function Ci(e,t,n,i){for(var o=e.length,r=i?o:-1;(i?r--:++r<o)&&t(e[r],r,e););return n?_i(e,i?0:r,i?r+1:o):_i(e,i?r+1:0,i?o:r)}function Li(e,t){var n=e;return n instanceof Dt&&(n=n.value()),p(t,function(e,t){return t.func.apply(t.thisArg,h([e],t.args))},n)}function Mi(e,t,n){for(var i=-1,o=e.length;++i<o;
vendor: 4,335 bytes, line 21
21)var r=r?h(Pn(r,e[i],t,n),Pn(e[i],r,t,n)):e[i];return r&&r.length?ki(r,t,n):[]}function Ai(e,t,n){for(var i=-1,o=e.length,r=t.length,s={};++i<o;)n(s,e[i],i<r?t[i]:Z);return s}function Di(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function Ei(e){var t=new e.constructor(e.byteLength);return new iu(t).set(new iu(e)),t}function Pi(t){return p($(t),e,new t.constructor)}function zi(e){var t=new e.constructor(e.source,vt.exec(e));return t.lastIndex=e.lastIndex,t}function Ii(e){return p(B(e),t,new e.constructor)}function Oi(e){return Iu?Object(Iu.call(e)):{}}function Fi(e,t){var n=t?Ei(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ji(e,t,n,i){for(var o=-1,r=e.length,s=n.length,a=-1,l=t.length,u=vu(r-s,0),c=Array(l+u),d=!i;++a<l;)c[a]=t[a];for(;++o<s;)(d||o<r)&&(c[n[o]]=e[o]);for(;u--;)c[a++]=e[o++];return c}function Ni(e,t,n,i){for(var o=-1,r=e.length,s=-1,a=n.length,l=-1,u=t.length,c=vu(r-a,0),d=Array(c+u),h=!i;++o<c;)d[o]=e[o];for(var p=o;++l<u;)d[p+l]=t[l];for(;++s<a;)(h||o<r)&&(d[p+n[s]]=e[o++]);return d}function Ri(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}function qi(e,t,n){return $i(e,t,n)}function $i(e,t,n,i){n||(n={});for(var o=-1,r=t.length;++o<r;){var s=t[o];ln(n,s,i?i(n[s],e[s],s,n,e):e[s])}return n}function Hi(e,t){return qi(e,Wu(e),t)}function Bi(e,t){return function(n,o){var r=Cc(n)?i:cn,s=t?t():{};return r(n,e,po(o),s)}}function Wi(e){return hs(function(t,n){var i=-1,o=n.length,r=o>1?n[o-1]:Z,s=o>2?n[2]:Z;for(r="function"==typeof r?(o--,r):Z,s&&To(n[0],n[1],s)&&(r=o<3?Z:r,o=1),t=Object(t);++i<o;){var a=n[i];a&&e(t,a,i,r)}return t})}function Ui(e,t){return function(n,i){if(null==n)return n;if(!Ls(n))return e(n,i);for(var o=n.length,r=t?o:-1,s=Object(n);(t?r--:++r<o)&&!1!==i(s[r],r,s););return n}}function Yi(e){return function(t,n,i){for(var o=-1,r=Object(t),s=i(t),a=s.length;a--;){var l=s[e?a:++o];if(!1===n(r[l],l,r))break}return t}}function Vi(e,t,n){function i(){return(this&&this!==zn&&this instanceof i?r:e).apply(o?n:this,arguments)}var o=t&ee,r=Ji(e);return i}function Zi(e){return function(t){t=fa(t);var n=dn.test(t)?U(t):Z,i=n?n[0]:t.charAt(0),o=n?n.slice(1).join(""):t.slice(1);return i[e]()+o}}function Gi(e){return function(t){return p(fl(Za(t)),e,"")}}function Ji(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Dn(e.prototype),i=e.apply(n,t);return qs(i)?i:n}}function Qi(e,t,i){function o(){for(var s=arguments.length,a=Array(s),l=s,u=go(o);l--;)a[l]=arguments[l];var c=s<3&&a[0]!==u&&a[s-1]!==u?[]:H(a,u);return(s-=c.length)<i?ro(e,t,Xi,o.placeholder,Z,a,c,Z,Z,i-s):n(this&&this!==zn&&this instanceof o?r:e,this,a)}var r=Ji(e);return o}function Ki(e){return hs(function(t){t=Nn(t,1);var n=t.length,i=n,o=At.prototype.thru;for(e&&t.reverse();i--;){var r=t[i];if("function"!=typeof r)throw new Wl(Q);if(o&&!s&&"wrapper"==ho(r))var s=new At([],!0)}for(i=s?i:n;++i<n;){r=t[i];var a=ho(r),l="wrapper"==a?Hu(r):Z;s=l&&Lo(l[0])&&l[1]==(ae|ie|re|le)&&!l[4].length&&1==l[9]?s[ho(l[0])].apply(s,l[3]):1==r.length&&Lo(r)?s[a]():s.thru(r)}return function(){var e=arguments,i=e[0];if(s&&1==e.length&&Cc(i)&&i.length>=J)return s.plant(i).value();for(var o=0,r=n?t[o].apply(this,e):i;++o<n;)r=t[o].call(this,r);return r}})}function Xi(e,t,n,i,o,r,s,a,l,u){function c(){for(var _=arguments.length,v=_,y=Array(_);v--;)y[v]=arguments[v];if(f)var b=go(c),w=z(y,b);if(i&&(y=ji(y,i,o,f)),r&&(y=Ni(y,r,s,f)),_-=w,f&&_<u){var x=H(y,b);return ro(e,t,Xi,c.placeholder,n,y,x,a,l,u-_)}var k=h?n:this,T=p?k[e]:e;return _=y.length,a?y=zo(y,a):m&&_>1&&y.reverse(),d&&l<_&&(y.length=l),this&&this!==zn&&this instanceof c&&(T=g||Ji(T)),T.apply(k,y)}var d=t&ae,h=t&ee,p=t&te,f=t&(ie|oe),m=t&ue,g=p?Z:Ji(e);return c}function eo(e,t){return function(n,i){return Zn(n,e,t(i),{})}}function to(e){return hs(function(t){return t=d(Nn(t,1),po()),hs(function(i){var o=this;return e(t,function(e){return n(e,o,i)})})})}function no(e,t,n){t=ua(t);var i=W(e);if(!t||i>=t)return"";var o=t-i;n=n===Z?" ":n+"";
21var r=nl(n,pu(o/W(n)));return dn.test(n)?U(r).slice(0,o).join(""):r.slice(0,o)}function io(e,t,i,o){function r(){for(var t=-1,l=arguments.length,u=-1,c=o.length,d=Array(c+l),h=this&&this!==zn&&this instanceof r?a:e;++u<c;)d[u]=o[u];for(;l--;)d[u++]=arguments[++t];return n(h,s?i:this,d)}var s=t&ee,a=Ji(e);return r}function oo(e){return function(t,n,i){return i&&"number"!=typeof i&&To(t,n,i)&&(n=i=Z),t=da(t),t=t===t?t:0,n===Z?(n=t,t=0):n=da(n)||0,i=i===Z?t<n?1:-1:da(i)||0,mi(t,n,i,e)}}function ro(e,t,n,i,o,r,s,a,l,u){var c=t&ie,d=a?Ri(a):Z,h=c?s:Z,p=c?Z:s,f=c?r:Z,m=c?Z:r;t|=c?re:se,(t&=~(c?se:re))&ne||(t&=~(ee|te));var g=[e,t,o,f,h,m,p,d,l,u],_=n.apply(Z,g);return Lo(e)&&Uu(_,g),_.placeholder=i,_}function so(e){var t=Hl[e];return function(e,n){if(e=da(e),n=ua(n)){var i=(fa(e)+"e").split("e");return i=(fa(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return t(e)}}function ao(e,t,n,i,o,r,s,a){var l=t&te;if(!l&&"function"!=typeof e)throw new Wl(Q);var u=i?i.length:0;if(u||(t&=~(re|se),i=o=Z),s=s===Z?s:vu(ua(s),0),a=a===Z?a:ua(a),u-=o?o.length:0,t&se){var c=i,d=o;i=o=Z}var h=l?Z:Hu(e),p=[e,t,n,i,o,c,d,r,s,a];if(h&&Do(p,h),e=p[0],t=p[1],n=p[2],i=p[3],o=p[4],a=p[9]=null==p[9]?l?0:e.length:vu(p[9]-u,0),!a&&t&(ie|oe)&&(t&=~(ie|oe)),t&&t!=ee)f=t==ie||t==oe?Qi(e,t,a):t!=re&&t!=(ee|re)||o.length?Xi.apply(Z,p):io(e,t,n,i);else var f=Vi(e,t,n);return(h?qu:Uu)(f,p)}function lo(e,t,n,i,o,r){var s=-1,a=o&de,l=o&ce,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var d=r.get(e);if(d)return d==t;var h=!0;for(r.set(e,t);++s<u;){var p=e[s],f=t[s];if(i)var g=a?i(f,p,s,t,e,r):i(p,f,s,e,t,r);if(g!==Z){if(g)continue;h=!1;break}if(l){if(!m(t,function(e){return p===e||n(p,e,i,o,r)})){h=!1;break}}else if(p!==f&&!n(p,f,i,o,r)){h=!1;break}}return r["delete"](e),h}function uo(e,t,n,i,o,r,s){switch(n){case He:return!(e.byteLength!=t.byteLength||!i(new iu(e),new iu(t)));case Me:case Ae:return+e==+t;case De:return e.name==t.name&&e.message==t.message;case Ie:return e!=+e?t!=+t:e==+t;case Fe:case Ne:return e==t+"";case ze:var a=$;case je:var l=r&de;if(a||(a=B),e.size!=t.size&&!l)return!1;var u=s.get(e);return u?u==t:lo(a(e),a(t),i,o,r|ce,s.set(e,t));case Re:if(Iu)return Iu.call(e)==Iu.call(t)}return!1}function co(e,t,n,i,o,r){var s=o&de,a=La(e),l=a.length;if(l!=La(t).length&&!s)return!1;for(var u=l;u--;){var c=a[u];if(!(s?c in t:Wn(t,c)))return!1}var d=r.get(e);if(d)return d==t;var h=!0;r.set(e,t);for(var p=s;++u<l;){c=a[u];var f=e[c],m=t[c];if(i)var g=s?i(m,f,c,t,e,r):i(f,m,c,e,t,r);if(!(g===Z?f===m||n(f,m,i,o,r):g)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var _=e.constructor,v=t.constructor;_!=v&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof v&&v instanceof v)&&(h=!1)}return r["delete"](e),h}function ho(e){for(var t=e.name+"",n=Au[t],i=Zl.call(Au,t)?n.length:0;i--;){var o=n[i],r=o.func;if(null==r||r==e)return o.name}return t}function po(){var e=Tt.iteratee||yl;return e=e===yl?Xn:e,arguments.length?e(arguments[0],arguments[1]):e}function fo(e){for(var t=Fa(e),n=t.length;n--;)t[n][2]=Ao(t[n][1]);return t}function mo(e,t){var n=e[t];return Ys(n)?n:Z}function go(e){return(Zl.call(Tt,"placeholder")?Tt:e).placeholder}function _o(e){return Ql.call(e)}function vo(e,t,n){for(var i=-1,o=n.length;++i<o;){var r=n[i],s=r.size;switch(r.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=yu(t,e+s);break;case"takeRight":e=vu(e,t-s)}}return{start:e,end:t}}function yo(e,t,n){if(null==e)return!1;var i=n(e,t);i||So(t)||(t=kn(t),null!=(e=Po(e,t))&&(t=Xo(t),i=n(e,t)));var o=e?e.length:Z;return i||!!o&&Rs(o)&&R(t,o)&&(Cc(e)||ea(e)||Ss(e))}function bo(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&Zl.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function wo(e){return"function"!=typeof e.constructor||Mo(e)?{}:Dn(su(e))}function xo(e,t,n){var i=e.constructor;switch(t){case He:return Ei(e);case Me:case Ae:return new i(+e);case Be:case We:case Ue:case Ye:case Ve:case Ze:case Ge:case Je:case Qe:return Fi(e,n);case ze:return Pi(e);case Ie:case Ne:return new i(e);case Fe:return zi(e);case je:return Ii(e);case Re:return Oi(e)}}function ko(e){var t=e?e.length:Z;return Rs(t)&&(Cc(e)||ea(e)||Ss(e))?T(t,String):null}function To(e,t,n){if(!qs(n))return!1;var i=typeof t;return!!("number"==i?Ls(n)&&R(t,n.length):"string"==i&&t in n)&&xs(n[t],e)}function So(e,t){return"number"==typeof e||!Cc(e)&&(ut.test(e)||!lt.test(e)||null!=t&&e in Object(t))}function Co(e){var t=typeof e;return"number"==t||"boolean"==t||"string"==t&&"__proto__"!=e||null==e}function Lo(e){var t=ho(e),n=Tt[t];if("function"!=typeof n||!(t in Dt.prototype))return!1;if(e===n)return!0;var i=Hu(n);return!!i&&e===i[0]}function Mo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Yl)}function Ao(e){return e===e&&!qs(e)}function Do(e,t){var n=e[1],i=t[1],o=n|i,r=o<(ee|te|ae),s=i==ae&&n==ie||i==ae&&n==le&&e[7].length<=t[8]||i==(ae|le)&&t[7].length<=t[8]&&n==ie;if(!r&&!s)return e;i&ee&&(e[2]=t[2],o|=n&ee?0:ne);var a=t[3];if(a){var l=e[3];e[3]=l?ji(l,a,t[4]):Ri(a),e[4]=l?H(e[3],X):Ri(t[4])}return a=t[5],a&&(l=e[5],e[5]=l?Ni(l,a,t[6]):Ri(a),e[6]=l?H(e[5],X):Ri(t[6])),a=t[7],a&&(e[7]=Ri(a)),i&ae&&(e[8]=null==e[8]?t[8]:yu(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function Eo(e,t,n,i,o,r){return qs(e)&&qs(t)&&ri(e,t,Z,Eo,r.set(t,e)),e}function Po(e,t){return 1==t.length?e:Ta(e,_i(t,0,-1))}function zo(e,t){for(var n=e.length,i=yu(t.length,n),o=Ri(e);i--;){var r=t[i];e[i]=R(r,n)?o[r]:Z}return e}function Io(e){var t=[];return fa(e).replace(ct,function(e,n,i,o){t.push(i?o.replace(gt,"$1"):n||e)}),t}function Oo(e){if(e instanceof Dt)return e.clone();var t=new At(e.__wrapped__,e.__chain__);return t.__actions__=Ri(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}
21function Fo(e,t){t=vu(ua(t),0);var n=e?e.length:0;if(!n||t<1)return[];for(var i=0,o=0,r=Array(pu(n/t));i<n;)r[o++]=_i(e,i,i+=t);return r}function jo(e){for(var t=-1,n=e?e.length:0,i=0,o=[];++t<n;){var r=e[t];r&&(o[i++]=r)}return o}function No(e,t,n){var i=e?e.length:0;return i?(t=n||t===Z?1:ua(t),_i(e,t<0?0:t,i)):[]}function Ro(e,t,n){var i=e?e.length:0;return i?(t=n||t===Z?1:ua(t),t=i-t,_i(e,0,t<0?0:t)):[]}function qo(e,t){return e&&e.length?Ci(e,po(t,3),!0,!0):[]}function $o(e,t){return e&&e.length?Ci(e,po(t,3),!0):[]}function Ho(e,t,n,i){var o=e?e.length:0;return o?(n&&"number"!=typeof n&&To(e,t,n)&&(n=0,i=o),Fn(e,t,n,i)):[]}function Bo(e,t){return e&&e.length?v(e,po(t,3)):-1}function Wo(e,t){return e&&e.length?v(e,po(t,3),!0):-1}function Uo(e){return(e?e.length:0)?Nn(e,1):[]}function Yo(e){return(e?e.length:0)?Nn(e,ye):[]}function Vo(e,t){return(e?e.length:0)?(t=t===Z?1:ua(t),Nn(e,t)):[]}function Zo(e){for(var t=-1,n=e?e.length:0,i={};++t<n;){var o=e[t];i[o[0]]=o[1]}return i}function Go(e){return e?e[0]:Z}function Jo(e,t,n){var i=e?e.length:0;return i?(n=ua(n),n<0&&(n=vu(i+n,0)),y(e,t,n)):-1}function Qo(e){return Ro(e,1)}function Ko(e,t){return e?gu.call(e,t):""}function Xo(e){var t=e?e.length:0;return t?e[t-1]:Z}function er(e,t,n){var i=e?e.length:0;if(!i)return-1;var o=i;if(n!==Z&&(o=ua(n),o=(o<0?vu(i+o,0):yu(o,i-1))+1),t!==t)return j(e,o,!0);for(;o--;)if(e[o]===t)return o;return-1}function tr(e,t){return e&&e.length&&t&&t.length?hi(e,t):e}function nr(e,t,n){return e&&e.length&&t&&t.length?hi(e,t,po(n)):e}function ir(e,t,n){return e&&e.length&&t&&t.length?hi(e,t,Z,n):e}function or(e,t){var n=[];if(!e||!e.length)return n;var i=-1,o=[],r=e.length;for(t=po(t,3);++i<r;){var s=e[i];t(s,i,e)&&(n.push(s),o.push(i))}return pi(e,o),n}function rr(e){return e?xu.call(e):e}function sr(e,t,n){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&To(e,t,n)?(t=0,n=i):(t=null==t?0:ua(t),n=n===Z?i:ua(n)),_i(e,t,n)):[]}function ar(e,t){return yi(e,t)}function lr(e,t,n){return bi(e,t,po(n))}function ur(e,t){var n=e?e.length:0;if(n){var i=yi(e,t);if(i<n&&xs(e[i],t))return i}return-1}function cr(e,t){return yi(e,t,!0)}function dr(e,t,n){return bi(e,t,po(n),!0)}function hr(e,t){if(e?e.length:0){var n=yi(e,t,!0)-1;if(xs(e[n],t))return n}return-1}function pr(e){return e&&e.length?wi(e):[]}function fr(e,t){return e&&e.length?xi(e,po(t)):[]}function mr(e){return No(e,1)}function gr(e,t,n){return e&&e.length?(t=n||t===Z?1:ua(t),_i(e,0,t<0?0:t)):[]}function _r(e,t,n){var i=e?e.length:0;return i?(t=n||t===Z?1:ua(t),t=i-t,_i(e,t<0?0:t,i)):[]}function vr(e,t){return e&&e.length?Ci(e,po(t,3),!1,!0):[]}function yr(e,t){return e&&e.length?Ci(e,po(t,3)):[]}function br(e){return e&&e.length?ki(e):[]}function wr(e,t){return e&&e.length?ki(e,po(t)):[]}function xr(e,t){return e&&e.length?ki(e,Z,t):[]}function kr(e){if(!e||!e.length)return[];var t=0;return e=l(e,function(e){if(Ms(e))return t=vu(e.length,t),!0}),T(t,function(t){return d(e,ci(t))})}function Tr(e,t){if(!e||!e.length)return[];var i=kr(e);return null==t?i:d(i,function(e){return n(t,Z,e)})}function Sr(e,t){return Ai(e||[],t||[],ln)}function Cr(e,t){return Ai(e||[],t||[],gi)}function Lr(e){var t=Tt(e);return t.__chain__=!0,t}function Mr(e,t){return t(e),e}function Ar(e,t){return t(e)}function Dr(){return Lr(this)}function Er(){return new At(this.value(),this.__chain__)}function Pr(e){return this.map(e).flatten()}function zr(){this.__values__===Z&&(this.__values__=la(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?Z:this.__values__[this.__index__++]}}function Ir(){return this}function Or(e){for(var t,n=this;n instanceof Mt;){var i=Oo(n);i.__index__=0,i.__values__=Z,t?o.__wrapped__=i:t=i;var o=i;n=n.__wrapped__}return o.__wrapped__=e,t}function Fr(){var e=this.__wrapped__;if(e instanceof Dt){var t=e;return this.__actions__.length&&(t=new Dt(this)),t=t.reverse(),t.__actions__.push({func:Ar,args:[rr],thisArg:Z}),new At(t,this.__chain__)}return this.thru(rr)}function jr(){return Li(this.__wrapped__,this.__actions__)}function Nr(e,t,n){var i=Cc(e)?a:On;return n&&To(e,t,n)&&(t=Z),i(e,po(t,3))}function Rr(e,t){return(Cc(e)?l:jn)(e,po(t,3))}function qr(e,t){if(t=po(t,3),Cc(e)){var n=v(e,t);return n>-1?e[n]:Z}return _(e,t,Fu)}function $r(e,t){if(t=po(t,3),Cc(e)){var n=v(e,t,!0);return n>-1?e[n]:Z}return _(e,t,ju)}function Hr(e,t){return Nn(Yr(e,t),1)}function Br(e,t){return"function"==typeof t&&Cc(e)?r(e,t):Fu(e,xn(t))}function Wr(e,t){return"function"==typeof t&&Cc(e)?s(e,t):ju(e,xn(t))}function Ur(e,t,n,i){e=Ls(e)?e:Ha(e),n=n&&!i?ua(n):0;var o=e.length;return n<0&&(n=vu(o+n,0)),ea(e)?n<=o&&e.indexOf(t,n)>
21-1:!!o&&y(e,t,n)>-1}function Yr(e,t){return(Cc(e)?d:ni)(e,po(t,3))}function Vr(e,t,n,i){return null==e?[]:(Cc(t)||(t=null==t?[]:[t]),n=i?Z:n,Cc(n)||(n=null==n?[]:[n]),ai(e,t,n))}function Zr(e,t,n){var i=Cc(e)?p:w,o=arguments.length<3;return i(e,po(t,4),n,o,Fu)}function Gr(e,t,n){var i=Cc(e)?f:w,o=arguments.length<3;return i(e,po(t,4),n,o,ju)}function Jr(e,t){var n=Cc(e)?l:jn;return t=po(t,3),n(e,function(e,n,i){return!t(e,n,i)})}function Qr(e){var t=Ls(e)?e:Ha(e),n=t.length;return n>0?t[fi(0,n-1)]:Z}function Kr(e,t){var n=-1,i=la(e),o=i.length,r=o-1;for(t=Cn(ua(t),0,o);++n<t;){var s=fi(n,r),a=i[s];i[s]=i[n],i[n]=a}return i.length=t,i}function Xr(e){return Kr(e,ke)}function es(e){if(null==e)return 0;if(Ls(e)){var t=e.length;return t&&ea(e)?W(e):t}return La(e).length}function ts(e,t,n){var i=Cc(e)?m:vi;return n&&To(e,t,n)&&(t=Z),i(e,po(t,3))}function ns(e,t){if("function"!=typeof t)throw new Wl(Q);return e=ua(e),function(){if(--e<1)return t.apply(this,arguments)}}function is(e,t,n){return t=n?Z:t,t=e&&null==t?e.length:t,ao(e,ae,Z,Z,Z,Z,t)}function os(e,t){var n;if("function"!=typeof t)throw new Wl(Q);return e=ua(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=Z),n}}function rs(e,t,n){t=n?Z:t;var i=ao(e,ie,Z,Z,Z,Z,Z,t);return i.placeholder=rs.placeholder,i}function ss(e,t,n){t=n?Z:t;var i=ao(e,oe,Z,Z,Z,Z,Z,t);return i.placeholder=ss.placeholder,i}function as(e,t,n){function i(){f&&ou(f),c&&ou(c),g=0,u=c=p=f=m=Z}function o(t,n){n&&ou(n),c=f=m=Z,t&&(g=_c(),d=e.apply(p,u),f||c||(u=p=Z))}function r(){var e=t-(_c()-h);e<=0||e>t?o(m,c):f=du(r,e)}function s(){return(f&&m||c&&y)&&(d=e.apply(p,u)),i(),d}function a(){o(y,f)}function l(){if(u=arguments,h=_c(),p=this,m=y&&(f||!_),!1===v)var n=_&&!f;else{g||c||_||(g=h);var i=v-(h-g),o=(i<=0||i>v)&&(_||c);o?(c&&(c=ou(c)),g=h,d=e.apply(p,u)):c||(c=du(a,i))}return o&&f?f=ou(f):f||t===v||(f=du(r,t)),n&&(o=!0,d=e.apply(p,u)),!o||f||c||(u=p=Z),d}var u,c,d,h,p,f,m,g=0,_=!1,v=!1,y=!0;if("function"!=typeof e)throw new Wl(Q);return t=da(t)||0,qs(n)&&(_=!!n.leading,v="maxWait"in n&&vu(da(n.maxWait)||0,t),y="trailing"in n?!!n.trailing:y),l.cancel=i,l.flush=s,l}function ls(e){return ao(e,ue)}function us(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Wl(Q);var n=function(){var i=arguments,o=t?t.apply(this,i):i[0],r=n.cache;if(r.has(o))return r.get(o);var s=e.apply(this,i);return n.cache=r.set(o,s),s};return n.cache=new us.Cache,n}function cs(e){if("function"!=typeof e)throw new Wl(Q);return function(){return!e.apply(this,arguments)}}function ds(e){return os(2,e)}function hs(e,t){if("function"!=typeof e)throw new Wl(Q);return t=vu(t===Z?e.length-1:ua(t),0),function(){for(var i=arguments,o=-1,r=vu(i.length-t,0),s=Array(r);++o<r;)s[o]=i[t+o];switch(t){case 0:return e.call(this,s);case 1:return e.call(this,i[0],s);case 2:return e.call(this,i[0],i[1],s)}var a=Array(t+1);for(o=-1;++o<t;)a[o]=i[o];return a[t]=s,n(e,this,a)}}function ps(e,t){if("function"!=typeof e)throw new Wl(Q);return t=t===Z?0:vu(ua(t),0),hs(function(i){var o=i[t],r=i.slice(0,t);return o&&h(r,o),n(e,this,r)})}function fs(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new Wl(Q);return qs(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),as(e,t,{leading:i,maxWait:t,trailing:o})}function ms(e){return is(e,1)}function gs(e,t){return t=null==t?vl:t,kc(t,e)}function _s(){if(!arguments.length)return[];var e=arguments[0];return Cc(e)?e:[e]}function vs(e){return Ln(e,!1,!0)}function ys(e,t){return Ln(e,!1,!0,t)}function bs(e){return Ln(e,!0,!0)}function ws(e,t){return Ln(e,!0,!0,t)}function xs(e,t){return e===t||e!==e&&t!==t}function ks(e,t){return e>t}function Ts(e,t){return e>=t}function Ss(e){return Ms(e)&&Zl.call(e,"callee")&&(!cu.call(e,"callee")||Ql.call(e)==Ce)}function Cs(e){return $s(e)&&Ql.call(e)==He}function Ls(e){return null!=e&&Rs(Bu(e))&&!js(e)}function Ms(e){return $s(e)&&Ls(e)}function As(e){return!0===e||!1===e||$s(e)&&Ql.call(e)==Me}function Ds(e){return $s(e)&&Ql.call(e)==Ae}function Es(e){return!!e&&1===e.nodeType&&$s(e)&&!Js(e)}function Ps(e){if(Ls(e)&&(Cc(e)||ea(e)||js(e.splice)||Ss(e)))return!e.length;for(var t in e)if(Zl.call(e,t))return!1;return!0}function zs(e,t){return Jn(e,t)}function Is(e,t,n){n="function"==typeof n?n:Z;var i=n?n(e,t):Z;
21return i===Z?Jn(e,t,n):!!i}function Os(e){return!!$s(e)&&(Ql.call(e)==De||"string"==typeof e.message&&"string"==typeof e.name)}function Fs(e){return"number"==typeof e&&mu(e)}function js(e){var t=qs(e)?Ql.call(e):"";return t==Ee||t==Pe}function Ns(e){return"number"==typeof e&&e==ua(e)}function Rs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=be}function qs(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $s(e){return!!e&&"object"==typeof e}function Hs(e){return $s(e)&&_o(e)==ze}function Bs(e,t){return e===t||Kn(e,t,fo(t))}function Ws(e,t,n){return n="function"==typeof n?n:Z,Kn(e,t,fo(t),n)}function Us(e){return Gs(e)&&e!=+e}function Ys(e){return null!=e&&(js(e)?Xl.test(Vl.call(e)):$s(e)&&(N(e)?Xl:xt).test(e))}function Vs(e){return null===e}function Zs(e){return null==e}function Gs(e){return"number"==typeof e||$s(e)&&Ql.call(e)==Ie}function Js(e){if(!$s(e)||Ql.call(e)!=Oe||N(e))return!1;var t=su(e);if(null===t)return!0;var n=t.constructor;return"function"==typeof n&&n instanceof n&&Vl.call(n)==Jl}function Qs(e){return qs(e)&&Ql.call(e)==Fe}function Ks(e){return Ns(e)&&e>=-be&&e<=be}function Xs(e){return $s(e)&&_o(e)==je}function ea(e){return"string"==typeof e||!Cc(e)&&$s(e)&&Ql.call(e)==Ne}function ta(e){return"symbol"==typeof e||$s(e)&&Ql.call(e)==Re}function na(e){return $s(e)&&Rs(e.length)&&!!_n[Ql.call(e)]}function ia(e){return e===Z}function oa(e){return $s(e)&&_o(e)==qe}function ra(e){return $s(e)&&Ql.call(e)==$e}function sa(e,t){return e<t}function aa(e,t){return e<=t}function la(e){if(!e)return[];if(Ls(e))return ea(e)?U(e):Ri(e);if(lu&&e[lu])return q(e[lu]());var t=_o(e);return(t==ze?$:t==je?B:Ha)(e)}function ua(e){if(!e)return 0===e?e:0;if((e=da(e))===ye||e===-ye){return(e<0?-1:1)*we}var t=e%1;return e===e?t?e-t:e:0}function ca(e){return e?Cn(ua(e),0,ke):0}function da(e){if(qs(e)){var t=js(e.valueOf)?e.valueOf():e;e=qs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(pt,"");var n=wt.test(e);return n||kt.test(e)?Sn(e.slice(2),n?2:8):bt.test(e)?xe:+e}function ha(e){return qi(e,Ma(e))}function pa(e){return Cn(ua(e),-be,be)}function fa(e){if("string"==typeof e)return e;if(null==e)return"";if(ta(e))return Ou?Ou.call(e):"";var t=e+"";return"0"==t&&1/e==-ye?"-0":t}function ma(e,t){var n=Dn(e);return t?yn(n,t):n}function ga(e,t){return _(e,po(t,3),qn,!0)}function _a(e,t){return _(e,po(t,3),$n,!0)}function va(e,t){return null==e?e:Nu(e,xn(t),Ma)}function ya(e,t){return null==e?e:Ru(e,xn(t),Ma)}function ba(e,t){return e&&qn(e,xn(t))}function wa(e,t){return e&&$n(e,xn(t))}function xa(e){return null==e?[]:Hn(e,La(e))}function ka(e){return null==e?[]:Hn(e,Ma(e))}function Ta(e,t,n){var i=null==e?Z:Bn(e,t);return i===Z?n:i}function Sa(e,t){return yo(e,t,Wn)}function Ca(e,t){return yo(e,t,Un)}function La(e){var t=Mo(e);if(!t&&!Ls(e))return ei(e);var n=ko(e),i=!!n,o=n||[],r=o.length;for(var s in e)!Wn(e,s)||i&&("length"==s||R(s,r))||t&&"constructor"==s||o.push(s);return o}function Ma(e){for(var t=-1,n=Mo(e),i=ti(e),o=i.length,r=ko(e),s=!!r,a=r||[],l=a.length;++t<o;){var u=i[t];s&&("length"==u||R(u,l))||"constructor"==u&&(n||!Zl.call(e,u))||a.push(u)}return a}function Aa(e,t){var n={};return t=po(t,3),qn(e,function(e,i,o){n[t(e,i,o)]=e}),n}function Da(e,t){var n={};return t=po(t,3),qn(e,function(e,i,o){n[i]=t(e,i,o)}),n}function Ea(e,t){return t=po(t),ui(e,function(e,n){return!t(e,n)})} 22function Pa(e,t){return null==e?{}:ui(e,po(t))}function za(e,t,n){if(So(t,e))i=null==e?Z:e[t];else{t=kn(t);var i=Ta(e,t);e=Po(e,t)}return i===Z&&(i=n),js(i)?i.call(e):i}function Ia(e,t,n){return null==e?e:gi(e,t,n)}function Oa(e,t,n,i){return i="function"==typeof i?i:Z,null==e?e:gi(e,t,n,i)}function Fa(e){return S(e,La(e))}function ja(e){return S(e,Ma(e))}function Na(e,t,n){var i=Cc(e)||na(e);if(t=po(t,4),null==n)if(i||qs(e)){var o=e.constructor;n=i?Cc(e)?new o:[]:js(o)?Dn(su(e)):{}}else n={};return(i?r:qn)(e,function(e,i,o){return t(n,e,i,o)}),n}function Ra(e,t){return null==e||Ti(e,t)}function qa(e,t,n){return null==e?e:Si(e,t,xn(n))}function $a(e,t,n,i){return i="function"==typeof i?i:Z,null==e?e:Si(e,t,xn(n),i)}function Ha(e){return e?L(e,La(e)):[]}function Ba(e){return null==e?[]:L(e,Ma(e))}function Wa(e,t,n){return n===Z&&(n=t,t=Z),n!==Z&&(n=da(n),n=n===n?n:0),t!==Z&&(t=da(t),t=t===t?t:0),Cn(da(e),t,n)}function Ua(e,t,n){return t=da(t)||0,n===Z?(n=t,t=0):n=da(n)||0,e=da(e),Yn(e,t,n
22)}function Ya(e,t,n){if(n&&"boolean"!=typeof n&&To(e,t,n)&&(t=n=Z),n===Z&&("boolean"==typeof t?(n=t,t=Z):"boolean"==typeof e&&(n=e,e=Z)),e===Z&&t===Z?(e=0,t=1):(e=da(e)||0,t===Z?(t=e,e=0):t=da(t)||0),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var o=wu();return yu(e+o*(t-e+Tn("1e-"+((o+"").length-1))),t)}return fi(e,t)}function Va(e){return Yc(fa(e).toLowerCase())}function Za(e){return(e=fa(e))&&e.replace(St,I).replace(un,"")}function Ga(e,t,n){e=fa(e),t="string"==typeof t?t:t+"";var i=e.length;return n=n===Z?i:Cn(ua(n),0,i),(n-=t.length)>=0&&e.indexOf(t,n)==n}function Ja(e){return e=fa(e),e&&ot.test(e)?e.replace(nt,O):e}function Qa(e){return e=fa(e),e&&ht.test(e)?e.replace(dt,"\\$&"):e}function Ka(e,t,n){e=fa(e),t=ua(t);var i=W(e);if(!t||i>=t)return e;var o=(t-i)/2,r=fu(o),s=pu(o);return no("",r,n)+e+no("",s,n)}function Xa(e,t,n){return(e=fa(e))+no(e,t,n)}function el(e,t,n){return e=fa(e),no(e,t,n)+e}function tl(e,t,n){return n||null==t?t=0:t&&(t=+t),e=fa(e).replace(pt,""),bu(e,t||(yt.test(e)?16:10))}function nl(e,t){e=fa(e),t=ua(t);var n="";if(!e||t<1||t>be)return n;do{t%2&&(n+=e),t=fu(t/2),e+=e}while(t);return n}function il(){var e=arguments,t=fa(e[0]);return e.length<3?t:t.replace(e[1],e[2])}function ol(e,t,n){return fa(e).split(t,n)}function rl(e,t,n){return e=fa(e),n=Cn(ua(n),0,e.length),e.lastIndexOf(t,n)==n}function sl(e,t,n){var i=Tt.templateSettings;n&&To(e,t,n)&&(t=Z),e=fa(e),t=Dc({},t,i,sn);var o,r,s=Dc({},t.imports,i.imports,sn),a=La(s),l=L(s,a),u=0,c=t.interpolate||Ct,d="__p += '",h=Bl((t.escape||Ct).source+"|"+c.source+"|"+(c===at?_t:Ct).source+"|"+(t.evaluate||Ct).source+"|$","g"),p="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++gn+"]")+"\n";e.replace(h,function(t,n,i,s,a,l){return i||(i=s),d+=e.slice(u,l).replace(Lt,F),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),a&&(r=!0,d+="';\n"+a+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),d+="';\n";var f=t.variable;f||(d="with (obj) {\n"+d+"\n}\n"),d=(r?d.replace(Ke,""):d).replace(Xe,"$1").replace(et,"$1;"),d="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(r?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Jc(function(){return Function(a,p+"return "+d).apply(Z,l)});if(m.source=d,Os(m))throw m;return m}function al(e){return fa(e).toLowerCase()}function ll(e){return fa(e).toUpperCase()}function ul(e,t,n){if(!(e=fa(e)))return e;if(n||t===Z)return e.replace(pt,"");if(!(t+=""))return e;var i=U(e),o=U(t);return i.slice(M(i,o),A(i,o)+1).join("")}function cl(e,t,n){if(!(e=fa(e)))return e;if(n||t===Z)return e.replace(mt,"");if(!(t+=""))return e;var i=U(e);return i.slice(0,A(i,U(t))+1).join("")}function dl(e,t,n){if(!(e=fa(e)))return e;if(n||t===Z)return e.replace(ft,"");if(!(t+=""))return e;var i=U(e);return i.slice(M(i,U(t))).join("")}function hl(e,t){var n=he,i=pe;if(qs(t)){var o="separator"in t?t.separator:o;n="length"in t?ua(t.length):n,i="omission"in t?fa(t.omission):i}e=fa(e);var r=e.length;if(dn.test(e)){var s=U(e);r=s.length}if(n>=r)return e;var a=n-W(i);if(a<1)return i;var l=s?s.slice(0,a).join(""):e.slice(0,a);if(o===Z)return l+i;if(s&&(a+=l.length-a),Qs(o)){if(e.slice(a).search(o)){var u,c=l;for(o.global||(o=Bl(o.source,fa(vt.exec(o))+"g")),o.lastIndex=0;u=o.exec(c);)var d=u.index;l=l.slice(0,d===Z?a:d)}}else if(e.indexOf(o,a)!=a){var h=l.lastIndexOf(o);h>-1&&(l=l.slice(0,h))}return l+i}function pl(e){return e=fa(e),e&&it.test(e)?e.replace(tt,Y):e}function fl(e,t,n){return e=fa(e),t=n?Z:t,t===Z&&(t=fn.test(e)?pn:hn),e.match(t)||[]}function ml(e){var t=e?e.length:0,i=po();return e=t?d(e,function(e){if("function"!=typeof e[1])throw new Wl(Q);return[i(e[0]),e[1]]}):[],hs(function(i){for(var o=-1;++o<t;){var r=e[o];if(n(r[0],this,i))return n(r[1],this,i)}})}function gl(e){return An(Ln(e,!0))}function _l(e){return function(){return e}}function vl(e){return e}function yl(e){return Xn("function"==typeof e?e:Ln(e,!0))}function bl(e){return ii(Ln(e,!0))}function wl(e,t){return oi(e,Ln(t,!0))}function xl(e,t,n){var i=La(t),o=Hn(t,i);null!=n||qs(t)&&(o.length||!i.length)||(n=t,t=e,e=this,o=Hn(t,La(t)));var s=!(qs(n)&&"chain"in n)||n.chain,a=js(e);return r(o,function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(s||t){var n=e(this.__wrapped__);return(n.__actions__=Ri(this.__actions__)).push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,h([this.value()],arguments))})}),e}function kl(){return zn._===this&&(zn._=Kl),this}function Tl(){}function Sl(e){return e=ua(e),function(){return arguments[e]}}function Cl(e){return So(e)?ci(e):di(e)}function Ll(e){return function(t){return null==e?Z:Bn(e,t)}}function Ml(e,t){if((e=ua(e))<1||e>be)return[];var n=ke,i=yu(e,ke);t=xn(t),e-=ke;for(var o=T(i,t);++n<e;)t(n);return o}function Al(e){return Cc(e)?d(e,String):Io(e)}function Dl(e){var t=++Gl;return fa(e)+t}function El(e,t){var n;
22return e===Z&&t===Z?0:(e!==Z&&(n=e),t!==Z&&(n=n===Z?t:n+t),n)}function Pl(e){return e&&e.length?g(e,vl,ks):Z}function zl(e,t){return e&&e.length?g(e,po(t),ks):Z}function Il(e){return Nl(e)/(e?e.length:0)}function Ol(e){return e&&e.length?g(e,vl,sa):Z}function Fl(e,t){return e&&e.length?g(e,po(t),sa):Z}function jl(e,t){var n;return e===Z&&t===Z?0:(e!==Z&&(n=e),t!==Z&&(n=n===Z?t:n-t),n)}function Nl(e){return e&&e.length?k(e,vl):0}function Rl(e,t){return e&&e.length?k(e,po(t)):0}D=D?In.defaults({},D,In.pick(zn,mn)):zn;var ql=D.Date,$l=D.Error,Hl=D.Math,Bl=D.RegExp,Wl=D.TypeError,Ul=D.Array.prototype,Yl=D.Object.prototype,Vl=D.Function.prototype.toString,Zl=Yl.hasOwnProperty,Gl=0,Jl=Vl.call(Object),Ql=Yl.toString,Kl=zn._,Xl=Bl("^"+Vl.call(Zl).replace(dt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eu=Mn?D.Buffer:Z,tu=D.Reflect,nu=D.Symbol,iu=D.Uint8Array,ou=D.clearTimeout,ru=tu?tu.enumerate:Z,su=Object.getPrototypeOf,au=Object.getOwnPropertySymbols,lu="symbol"==typeof(lu=nu&&nu.iterator)?lu:Z,uu=Object.create,cu=Yl.propertyIsEnumerable,du=D.setTimeout,hu=Ul.splice,pu=Hl.ceil,fu=Hl.floor,mu=D.isFinite,gu=Ul.join,_u=Object.keys,vu=Hl.max,yu=Hl.min,bu=D.parseInt,wu=Hl.random,xu=Ul.reverse,ku=mo(D,"Map"),Tu=mo(D,"Set"),Su=mo(D,"WeakMap"),Cu=mo(Object,"create"),Lu=Su&&new Su,Mu=!cu.call({valueOf:1},"valueOf"),Au={},Du=ku?Vl.call(ku):"",Eu=Tu?Vl.call(Tu):"",Pu=Su?Vl.call(Su):"",zu=nu?nu.prototype:Z,Iu=zu?zu.valueOf:Z,Ou=zu?zu.toString:Z;Tt.templateSettings={escape:rt,evaluate:st,interpolate:at,variable:"",imports:{_:Tt}};var Fu=Ui(qn),ju=Ui($n,!0),Nu=Yi(),Ru=Yi(!0);ru&&!cu.call({valueOf:1},"valueOf")&&(ti=function(e){return q(ru(e))});var qu=Lu?function(e,t){return Lu.set(e,t),e}:vl,$u=Tu&&2===new Tu([1,2]).size?function(e){return new Tu(e)}:Tl,Hu=Lu?function(e){return Lu.get(e)}:Tl,Bu=ci("length"),Wu=au||function(){return[]};(ku&&_o(new ku)!=ze||Tu&&_o(new Tu)!=je||Su&&_o(new Su)!=qe)&&(_o=function(e){var t=Ql.call(e),n=t==Oe?e.constructor:null,i="function"==typeof n?Vl.call(n):"";if(i)switch(i){case Du:return ze;case Eu:return je;case Pu:return qe}return t});var Uu=function(){var e=0,t=0;return function(n,i){var o=_c(),r=me-(o-t);if(t=o,r>0){if(++e>=fe)return n}else e=0;return qu(n,i)}}(),Yu=hs(function(e,t){return Cc(e)||(e=null==e?[]:[Object(e)]),t=Nn(t,1),o(e,t)}),Vu=hs(function(e,t){return Ms(e)?Pn(e,Nn(t,1,!0)):[]}),Zu=hs(function(e,t){var n=Xo(t);return Ms(n)&&(n=Z),Ms(e)?Pn(e,Nn(t,1,!0),po(n)):[]}),Gu=hs(function(e,t){var n=Xo(t);return Ms(n)&&(n=Z),Ms(e)?Pn(e,Nn(t,1,!0),Z,n):[]}),Ju=hs(function(e){var t=d(e,wn);return t.length&&t[0]===e[0]?Vn(t):[]}),Qu=hs(function(e){var t=Xo(e),n=d(e,wn);return t===Xo(n)?t=Z:n.pop(),n.length&&n[0]===e[0]?Vn(n,po(t)):[]}),Ku=hs(function(e){var t=Xo(e),n=d(e,wn);return t===Xo(n)?t=Z:n.pop(),n.length&&n[0]===e[0]?Vn(n,Z,t):[]}),Xu=hs(tr),ec=hs(function(e,t){t=d(Nn(t,1),String);var n=bn(e,t);return pi(e,t.sort(E)),n}),tc=hs(function(e){return ki(Nn(e,1,!0))}),nc=hs(function(e){var t=Xo(e);return Ms(t)&&(t=Z),ki(Nn(e,1,!0),po(t))}),ic=hs(function(e){var t=Xo(e);return Ms(t)&&(t=Z),ki(Nn(e,1,!0),Z,t)}),oc=hs(function(e,t){return Ms(e)?Pn(e,t):[]}),rc=hs(function(e){return Mi(l(e,Ms))}),sc=hs(function(e){var t=Xo(e);return Ms(t)&&(t=Z),Mi(l(e,Ms),po(t))}),ac=hs(function(e){var t=Xo(e);return Ms(t)&&(t=Z),Mi(l(e,Ms),Z,t)}),lc=hs(kr),uc=hs(function(e){var t=e.length,n=t>1?e[t-1]:Z;return n="function"==typeof n?(e.pop(),n):Z,Tr(e,n)}),cc=hs(function(e){e=Nn(e,1);var t=e.length,n=t?e[0]:0,i=this.__wrapped__,o=function(t){return bn(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Dt&&R(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:Ar,args:[o],thisArg:Z}),new At(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(Z),e})):this.thru(o)}),dc=Bi(function(e,t,n){Zl.call(e,n)?++e[n]:e[n]=1}),hc=Bi(function(e,t,n){Zl.call(e,n)?e[n].push(t):e[n]=[t]}),pc=hs(function(e,t,i){var o=-1,r="function"==typeof t,s=So(t),a=Ls(e)?Array(e.length):[];return Fu(e,function(e){var l=r?t:s&&null!=e?e[t]:Z;a[++o]=l?n(l,e,i):Gn(e,t,i)}),a}),fc=Bi(function(e,t,n){e[n]=t}),mc=Bi(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),gc=hs(function(e,t){if(null==e)return[];var n=t.length;return n>1&&To(e,t[0],t[1])?t=[]:n>2&&To(t[0],t[1],t[2])&&(t.length=1),ai(e,Nn(t,1),[])}),_c=ql.now,vc=hs(function(e,t,n){var i=ee;if(n.length){var o=H(n,go(vc));i|=re}return ao(e,i,t,n,o)}),yc=hs(function(e,t,n){var i=ee|te;if(n.length){var o=H(n,go(yc));i|=re}return ao(t,i,e,n,o)}),bc=hs(function(e,t){return En(e,1,t)}),wc=hs(function(e,t,n){return En(e,da(t)||0,n)}),xc=hs(function(e,t){t=d(Nn(t,1),po());var i=t.length;return hs(function(o){for(var r=-1,s=yu(o.length,i);++r<s;)o[r]=t[r].call(this,o[r]);return n(e,this,o)})}),kc=hs(function(e,t){var n=H(t,go(kc));return ao(e,re,Z,t,n)}),Tc=hs(function(e,t){var n=H(t,go(Tc));return ao(e,se,Z,t,n)}),Sc=hs(function(e,t){return ao(e,le,Z,Z,Z,Nn(t,1))}),Cc=Array.isArray,Lc=eu?function(e){return e instanceof eu}:_l(!1),Mc=Wi(function(e,t){if(Mu||Mo(t)||Ls(t))return void qi(t,La(t),e);
22for(var n in t)Zl.call(t,n)&&ln(e,n,t[n])}),Ac=Wi(function(e,t){if(Mu||Mo(t)||Ls(t))return void qi(t,Ma(t),e);for(var n in t)ln(e,n,t[n])}),Dc=Wi(function(e,t,n,i){$i(t,Ma(t),e,i)}),Ec=Wi(function(e,t,n,i){$i(t,La(t),e,i)}),Pc=hs(function(e,t){return bn(e,Nn(t,1))}),zc=hs(function(e){return e.push(Z,sn),n(Dc,Z,e)}),Ic=hs(function(e){return e.push(Z,Eo),n(Rc,Z,e)}),Oc=eo(function(e,t,n){e[t]=n},_l(vl)),Fc=eo(function(e,t,n){Zl.call(e,t)?e[t].push(n):e[t]=[n]},po),jc=hs(Gn),Nc=Wi(function(e,t,n){ri(e,t,n)}),Rc=Wi(function(e,t,n,i){ri(e,t,n,i)}),qc=hs(function(e,t){return null==e?{}:(t=d(Nn(t,1),String),li(e,Pn(Ma(e),t)))}),$c=hs(function(e,t){return null==e?{}:li(e,Nn(t,1))}),Hc=Gi(function(e,t,n){return t=t.toLowerCase(),e+(n?Va(t):t)}),Bc=Gi(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Wc=Gi(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Uc=Zi("toLowerCase"),Yc=Zi("toUpperCase"),Vc=Gi(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Zc=Gi(function(e,t,n){return e+(n?" ":"")+Va(t)}),Gc=Gi(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Jc=hs(function(e,t){try{return n(e,Z,t)}catch(e){return Os(e)?e:new $l(e)}}),Qc=hs(function(e,t){return r(Nn(t,1),function(t){e[t]=vc(e[t],e)}),e}),Kc=Ki(),Xc=Ki(!0),ed=hs(function(e,t){return function(n){return Gn(n,e,t)}}),td=hs(function(e,t){return function(n){return Gn(e,n,t)}}),nd=to(d),id=to(a),od=to(m),rd=oo(),sd=oo(!0),ad=so("ceil"),ld=so("floor"),ud=so("round");return Tt.prototype=Mt.prototype,Tt.prototype.constructor=Tt,At.prototype=Dn(Mt.prototype),At.prototype.constructor=At,Dt.prototype=Dn(Mt.prototype),Dt.prototype.constructor=Dt,It.prototype=Cu?Cu(null):Yl,Rt.prototype.clear=qt,Rt.prototype["delete"]=$t,Rt.prototype.get=Ht,Rt.prototype.has=Bt,Rt.prototype.set=Wt,Ut.prototype.push=Vt,Zt.prototype.clear=Gt,Zt.prototype["delete"]=Jt,Zt.prototype.get=Qt,Zt.prototype.has=Kt,Zt.prototype.set=Xt,us.Cache=Rt,Tt.after=ns,Tt.ary=is,Tt.assign=Mc,Tt.assignIn=Ac,Tt.assignInWith=Dc,Tt.assignWith=Ec,Tt.at=Pc,Tt.before=os,Tt.bind=vc,Tt.bindAll=Qc,Tt.bindKey=yc,Tt.castArray=_s,Tt.chain=Lr,Tt.chunk=Fo,Tt.compact=jo,Tt.concat=Yu,Tt.cond=ml,Tt.conforms=gl,Tt.constant=_l,Tt.countBy=dc,Tt.create=ma,Tt.curry=rs,Tt.curryRight=ss,Tt.debounce=as,Tt.defaults=zc,Tt.defaultsDeep=Ic,Tt.defer=bc,Tt.delay=wc,Tt.difference=Vu,Tt.differenceBy=Zu,Tt.differenceWith=Gu,Tt.drop=No,Tt.dropRight=Ro,Tt.dropRightWhile=qo,Tt.dropWhile=$o,Tt.fill=Ho,Tt.filter=Rr,Tt.flatMap=Hr,Tt.flatten=Uo,Tt.flattenDeep=Yo,Tt.flattenDepth=Vo,Tt.flip=ls,Tt.flow=Kc,Tt.flowRight=Xc,Tt.fromPairs=Zo,Tt.functions=xa,Tt.functionsIn=ka,Tt.groupBy=hc,Tt.initial=Qo,Tt.intersection=Ju,Tt.intersectionBy=Qu,Tt.intersectionWith=Ku,Tt.invert=Oc,Tt.invertBy=Fc,Tt.invokeMap=pc,Tt.iteratee=yl,Tt.keyBy=fc,Tt.keys=La,Tt.keysIn=Ma,Tt.map=Yr,Tt.mapKeys=Aa,Tt.mapValues=Da,Tt.matches=bl,Tt.matchesProperty=wl,Tt.memoize=us,Tt.merge=Nc,Tt.mergeWith=Rc,Tt.method=ed,Tt.methodOf=td,Tt.mixin=xl,Tt.negate=cs,Tt.nthArg=Sl,Tt.omit=qc,Tt.omitBy=Ea,Tt.once=ds,Tt.orderBy=Vr,Tt.over=nd,Tt.overArgs=xc,Tt.overEvery=id,Tt.overSome=od,Tt.partial=kc,Tt.partialRight=Tc,Tt.partition=mc,Tt.pick=$c,Tt.pickBy=Pa,Tt.property=Cl,Tt.propertyOf=Ll,Tt.pull=Xu,Tt.pullAll=tr,Tt.pullAllBy=nr,Tt.pullAllWith=ir,Tt.pullAt=ec,Tt.range=rd,Tt.rangeRight=sd,Tt.rearg=Sc,Tt.reject=Jr,Tt.remove=or,Tt.rest=hs,Tt.reverse=rr,Tt.sampleSize=Kr,Tt.set=Ia,Tt.setWith=Oa,Tt.shuffle=Xr,Tt.slice=sr,Tt.sortBy=gc,Tt.sortedUniq=pr,Tt.sortedUniqBy=fr,Tt.split=ol,Tt.spread=ps,Tt.tail=mr,Tt.take=gr,Tt.takeRight=_r,Tt.takeRightWhile=vr,Tt.takeWhile=yr,Tt.tap=Mr,Tt.throttle=fs,Tt.thru=Ar,Tt.toArray=la,Tt.toPairs=Fa,Tt.toPairsIn=ja,Tt.toPath=Al,Tt.toPlainObject=ha,Tt.transform=Na,Tt.unary=ms,Tt.union=tc,Tt.unionBy=nc,Tt.unionWith=ic,Tt.uniq=br,Tt.uniqBy=wr,Tt.uniqWith=xr,Tt.unset=Ra,Tt.unzip=kr,Tt.unzipWith=Tr,Tt.update=qa,Tt.updateWith=$a,Tt.values=Ha,Tt.valuesIn=Ba,Tt.without=oc,Tt.words=fl,Tt.wrap=gs,Tt.xor=rc,Tt.xorBy=sc,Tt.xorWith=ac,Tt.zip=lc,Tt.zipObject=Sr,Tt.zipObjectDeep=Cr,Tt.zipWith=uc,Tt.extend=Ac,Tt.extendWith=Dc,xl(Tt,Tt),Tt.add=El,Tt.attempt=Jc,Tt.camelCase=Hc,Tt.capitalize=Va,Tt.ceil=ad,Tt.clamp=Wa,Tt.clone=vs,Tt.cloneDeep=bs,Tt.cloneDeepWith=ws,Tt.cloneWith=ys,Tt.deburr=Za,Tt.endsWith=Ga,Tt.eq=xs,Tt.escape=Ja,Tt.escapeRegExp=Qa,Tt.every=Nr,Tt.find=qr,Tt.findIndex=Bo,Tt.findKey=ga,Tt.findLast=$r,Tt.findLastIndex=Wo,Tt.findLastKey=_a,Tt.floor=ld,Tt.forEach=Br,Tt.forEachRight=Wr,Tt.forIn=va,Tt.forInRight=ya,Tt.forOwn=ba,Tt.forOwnRight=wa,Tt.get=Ta,Tt.gt=ks,Tt.gte=Ts,Tt.has=Sa,Tt.hasIn=Ca,Tt.head=Go,Tt.identity=vl,Tt.includes=Ur,Tt.indexOf=Jo,Tt.inRange=Ua,Tt.invoke=jc,Tt.isArguments=Ss,Tt.isArray=Cc,Tt.isArrayBuffer=Cs,Tt.isArrayLike=Ls,Tt.isArrayLikeObject=Ms,Tt.isBoolean=As,Tt.isBuffer=Lc,Tt.isDate=Ds,Tt.isElement=Es,Tt.isEmpty=Ps,Tt.isEqual=zs,Tt.isEqualWith=Is,Tt.isError=Os,Tt.isFinite=Fs,Tt.isFunction=js,Tt.isInteger=Ns,Tt.isLength=Rs,Tt.isMap=Hs,Tt.isMatch=Bs,Tt.isMatchWith=Ws,Tt.isNaN=Us,Tt.isNative=Ys,Tt.isNil=Zs,Tt.isNull=Vs,Tt.isNumber=Gs,Tt.isObject=qs,Tt.isObjectLike=$s,Tt.isPlainObject=Js,Tt.isRegExp=Qs,Tt.isSafeInteger=Ks,Tt.isSet=Xs,Tt.isString=ea,Tt.isSymbol
vendor: 4,880 bytes, line 22
22=ta,Tt.isTypedArray=na,Tt.isUndefined=ia,Tt.isWeakMap=oa,Tt.isWeakSet=ra,Tt.join=Ko,Tt.kebabCase=Bc,Tt.last=Xo,Tt.lastIndexOf=er,Tt.lowerCase=Wc,Tt.lowerFirst=Uc,Tt.lt=sa,Tt.lte=aa,Tt.max=Pl,Tt.maxBy=zl,Tt.mean=Il,Tt.min=Ol,Tt.minBy=Fl,Tt.noConflict=kl,Tt.noop=Tl,Tt.now=_c,Tt.pad=Ka,Tt.padEnd=Xa,Tt.padStart=el,Tt.parseInt=tl,Tt.random=Ya,Tt.reduce=Zr,Tt.reduceRight=Gr,Tt.repeat=nl,Tt.replace=il,Tt.result=za,Tt.round=ud,Tt.runInContext=V,Tt.sample=Qr,Tt.size=es,Tt.snakeCase=Vc,Tt.some=ts,Tt.sortedIndex=ar,Tt.sortedIndexBy=lr,Tt.sortedIndexOf=ur,Tt.sortedLastIndex=cr,Tt.sortedLastIndexBy=dr,Tt.sortedLastIndexOf=hr,Tt.startCase=Zc,Tt.startsWith=rl,Tt.subtract=jl,Tt.sum=Nl,Tt.sumBy=Rl,Tt.template=sl,Tt.times=Ml,Tt.toInteger=ua,Tt.toLength=ca,Tt.toLower=al,Tt.toNumber=da,Tt.toSafeInteger=pa,Tt.toString=fa,Tt.toUpper=ll,Tt.trim=ul,Tt.trimEnd=cl,Tt.trimStart=dl,Tt.truncate=hl,Tt.unescape=pl,Tt.uniqueId=Dl,Tt.upperCase=Gc,Tt.upperFirst=Yc,Tt.each=Br,Tt.eachRight=Wr,Tt.first=Go,xl(Tt,function(){var e={};return qn(Tt,function(t,n){Zl.call(Tt.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),Tt.VERSION=G,r(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Tt[e].placeholder=Tt}),r(["drop","take"],function(e,t){Dt.prototype[e]=function(n){var i=this.__filtered__;if(i&&!t)return new Dt(this);n=n===Z?1:vu(ua(n),0);var o=this.clone();return i?o.__takeCount__=yu(n,o.__takeCount__):o.__views__.push({size:yu(n,ke),type:e+(o.__dir__<0?"Right":"")}),o},Dt.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),r(["filter","map","takeWhile"],function(e,t){var n=t+1,i=n==ge||n==ve;Dt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:po(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}}),r(["head","last"],function(e,t){var n="take"+(t?"Right":"");Dt.prototype[e]=function(){return this[n](1).value()[0]}}),r(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Dt.prototype[e]=function(){return this.__filtered__?new Dt(this):this[n](1)}}),Dt.prototype.compact=function(){return this.filter(vl)},Dt.prototype.find=function(e){return this.filter(e).head()},Dt.prototype.findLast=function(e){return this.reverse().find(e)},Dt.prototype.invokeMap=hs(function(e,t){return"function"==typeof e?new Dt(this):this.map(function(n){return Gn(n,e,t)})}),Dt.prototype.reject=function(e){return e=po(e,3),this.filter(function(t){return!e(t)})},Dt.prototype.slice=function(e,t){e=ua(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Dt(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==Z&&(t=ua(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Dt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Dt.prototype.toArray=function(){return this.take(ke)},qn(Dt.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=Tt[i?"take"+("last"==t?"Right":""):t],r=i||/^find/.test(t);o&&(Tt.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,a=t instanceof Dt,l=s[0],u=a||Cc(t),c=function(e){var t=o.apply(Tt,h([e],s));return i&&d?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(a=u=!1);var d=this.__chain__,p=!!this.__actions__.length,f=r&&!d,m=a&&!p;if(!r&&u){t=m?t:new Dt(this);var g=e.apply(t,s);return g.__actions__.push({func:Ar,args:[c],thisArg:Z}),new At(g,d)}return f&&m?e.apply(this,s):(g=this.thru(c),f?i?g.value()[0]:g.value():g)})}),r(["pop","push","shift","sort","splice","unshift"],function(e){var t=Ul[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Tt.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?t.apply(this.value(),e):this[n](function(n){return t.apply(n,e)})}}),qn(Dt.prototype,function(e,t){var n=Tt[t];if(n){var i=n.name+"";(Au[i]||(Au[i]=[])).push({name:t,func:n})}}),Au[Xi(Z,te).name]=[{name:"wrapper",func:Z}],Dt.prototype.clone=Et,Dt.prototype.reverse=Pt,Dt.prototype.value=zt,Tt.prototype.at=cc,Tt.prototype.chain=Dr,Tt.prototype.commit=Er,Tt.prototype.flatMap=Pr,Tt.prototype.next=zr,Tt.prototype.plant=Or,Tt.prototype.reverse=Fr,Tt.prototype.toJSON=Tt.prototype.valueOf=Tt.prototype.value=jr,lu&&(Tt.prototype[lu]=Ir),Tt}var Z,G="4.6.1",J=200,Q="Expected a function",K="__lodash_hash_undefined__",X="__lodash_placeholder__",ee=1,te=2,ne=4,ie=8,oe=16,re=32,se=64,ae=128,le=256,ue=512,ce=1,de=2,he=30,pe="...",fe=150,me=16,ge=1,_e=2,ve=3,ye=1/0,be=9007199254740991,we=1.7976931348623157e308,xe=NaN,ke=4294967295,Te=ke-1,Se=ke>>>1,Ce="[object Arguments]",Le="[object Array]",Me="[object Boolean]",Ae="[object Date]",De="[object Error]",Ee="[object Function]",Pe="[object GeneratorFunction]",ze="[object Map]",Ie="[object Number]",Oe="[object Object]",Fe="[object RegExp]",je="[object Set]",Ne="[object String]",Re="[object Symbol]",qe="[object WeakMap]",$e="[object WeakSet]",He="[object ArrayBuffer]",Be="[object Float32Array]",We="[object Float64Array
22]",Ue="[object Int8Array]",Ye="[object Int16Array]",Ve="[object Int32Array]",Ze="[object Uint8Array]",Ge="[object Uint8ClampedArray]",Je="[object Uint16Array]",Qe="[object Uint32Array]",Ke=/\b__p \+= '';/g,Xe=/\b(__p \+=) '' \+/g,et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tt=/&(?:amp|lt|gt|quot|#39|#96);/g,nt=/[&<>"'`]/g,it=RegExp(tt.source),ot=RegExp(nt.source),rt=/<%-([\s\S]+?)%>/g,st=/<%([\s\S]+?)%>/g,at=/<%=([\s\S]+?)%>/g,lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ut=/^\w*$/,ct=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,dt=/[\\^$.*+?()[\]{}|]/g,ht=RegExp(dt.source),pt=/^\s+|\s+$/g,ft=/^\s+/,mt=/\s+$/,gt=/\\(\\)?/g,_t=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vt=/\w*$/,yt=/^0x/i,bt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,kt=/^0o[0-7]+$/i,Tt=/^(?:0|[1-9]\d*)$/,St=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Ct=/($^)/,Lt=/['\n\r\u2028\u2029\\]/g,Mt="\\ud800-\\udfff",At="\\u0300-\\u036f\\ufe20-\\ufe23",Dt="\\u20d0-\\u20f0",Et="\\u2700-\\u27bf",Pt="a-z\\xdf-\\xf6\\xf8-\\xff",zt="\\xac\\xb1\\xd7\\xf7",It="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ot="\\u2018\\u2019\\u201c\\u201d",Ft=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",jt="A-Z\\xc0-\\xd6\\xd8-\\xde",Nt="\\ufe0e\\ufe0f",Rt=zt+It+Ot+Ft,qt="["+Mt+"]",$t="["+Rt+"]",Ht="["+At+Dt+"]",Bt="\\d+",Wt="["+Et+"]",Ut="["+Pt+"]",Yt="[^"+Mt+Rt+Bt+Et+Pt+jt+"]",Vt="\\ud83c[\\udffb-\\udfff]",Zt="(?:"+Ht+"|"+Vt+")",Gt="[^"+Mt+"]",Jt="(?:\\ud83c[\\udde6-\\uddff]){2}",Qt="[\\ud800-\\udbff][\\udc00-\\udfff]",Kt="["+jt+"]",Xt="\\u200d",en="(?:"+Ut+"|"+Yt+")",tn="(?:"+Kt
22+"|"+Yt+")",nn=Zt+"?",on="["+Nt+"]?",rn="(?:"+Xt+"(?:"+[Gt,Jt,Qt].join("|")+")"+on+nn+")*",sn=on+nn+rn,an="(?:"+[Wt,Jt,Qt].join("|")+")"+sn,ln="(?:"+[Gt+Ht+"?",Ht,Jt,Qt,qt].join("|")+")",un=RegExp(Ht,"g"),cn=RegExp(Vt+"(?="+Vt+")|"+ln+sn,"g"),dn=RegExp("["+Xt+Mt+At+Dt+Nt+"]"),hn=/[a-zA-Z0-9]+/g,pn=RegExp([Kt+"?"+Ut+"+(?="+[$t,Kt,"$"].join("|")+")",tn+"+(?="+[$t,Kt+en,"$"].join("|")+")",Kt+"?"+en+"+",Kt+"+",Bt,an].join("|"),"g"),fn=/[a-z][A-Z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mn=["Array","Buffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Reflect","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],gn=-1,_n={};_n[Be]=_n[We]=_n[Ue]=_n[Ye]=_n[Ve]=_n[Ze]=_n[Ge]=_n[Je]=_n[Qe]=!0,_n[Ce]=_n[Le]=_n[He]=_n[Me]=_n[Ae]=_n[De]=_n[Ee]=_n[ze]=_n[Ie]=_n[Oe]=_n[Fe]=_n[je]=_n[Ne]=_n[qe]=!1;var vn={};vn[Ce]=vn[Le]=vn[He]=vn[Me]=vn[Ae]=vn[Be]=vn[We]=vn[Ue]=vn[Ye]=vn[Ve]=vn[ze]=vn[Ie]=vn[Oe]=vn[Fe]=vn[je]=vn[Ne]=vn[Re]=vn[Ze]=vn[Ge]=vn[Je]=vn[Qe]=!0,vn[De]=vn[Ee]=vn[qe]=!1;var yn={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss"},bn={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},wn={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},xn={"function":!0,object:!0},kn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Tn=parseFloat,Sn=parseInt,Cn=xn[typeof exports]&&exports&&!exports.nodeType?exports:Z,Ln=xn[typeof module]&&module&&!module.nodeType?module:Z,Mn=Ln&&Ln.exports===Cn?Cn:Z,An=D(Cn&&Ln&&"object"==typeof global&&global),Dn=D(xn[typeof self]&&self),En=D(xn[typeof window]&&window),Pn=D(xn[typeof this]&&this),zn=An||En!==(Pn&&Pn.window)&&En||Dn||Pn||Function("return this")(),In=V();(En||Dn||{})._=In,"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return In}):Cn&&Ln?(Mn&&((Ln.exports=In)._=In),Cn._=In):zn._=In}.call(this),function(e){"use strict";var t=function(t){var n=e(t),i=e(n.data("target")),o=n.data("classNames"),r=n.data("propagate");n.on("click",function(e){i.toggleClass(o),r||e.preventDefault()})};e.fn.classToggler=function(){return this.each(function(){new t(this)})},e("[data-provide=toggle-class]").classToggler()}(window.jQuery),window.L.mapbox.accessToken=$("meta[name=mapbox-access-token]").prop("content"),$(function(){$(document).foundation({"magellan-expedition":{fixed_top:50,threshold:44}})}),function(e,t,n){function i(e,e,t){"GET"===t.type&&"json"!==t.dataType&&n.page({url:"/virtual"+t.url})}function o(){var e=window.Dropzone&&Dropzone.instances[0];e?e.on("addedfile",function(){l("Idea Links & Images: file added")}):setTimeout(o,100)}function r(e){e&&(document.location=e)}var s=t(document),a=function(){return"undefined"!=typeof window&&window.analytics?window.analytics:null},l=function(e,t,n,i){var o=a();o?o.track(e,t,n,i):console.log("analytics not available! It's a tragedy...")};s.ajaxSuccess(i),o(),s.on("click","[data-provide=tracking]",function(){var e=t(this).data("tracking-event");ga("send","event",{eventCategory:e.category,eventAction:e.action,eventLabel:e.label,eventValue:e.value,transport:"beacon"})}),s.on("click","a[data-provide=outbound-tracking]",function(e){if("undefined"!=typeof window&&window.ga&&ga.loaded){e.preventDefault();var n=t(this).data("tracking-event"),i=t(this).attr("href");setTimeout(function(){r(i)},2e3),ga("send","event",{eventCategory:n.category,eventAction:n.action,eventLabel:n.label,eventValue:n.value,transport:"beacon",hitCallback:function(){r(i)}})}})}(window.alert,window.jQuery,window.analytics),I18n.translations||(I18n.translations={}), 23I18n.translations.en=JSON.parse('{"admin":{"concierge":{"ideas":{"spaces":{"add_booking_request":"Add Booking Request","add_to_list_button":"Add to List","declined_title":"Declined","hide_declined_spaces":"Hide %{number} space(s)","no_selected_spaces":"This idea has no active requests. Suggest some below.","no_suggestions":"This idea has no suggestions. Suggest some below.","search_for_spaces_to_suggest":"Search for spaces to suggest","selected_title":"Selected","send_to_landlord":"Send to Landlord","
23show_declined_spaces":"Show %{number}","spaces_title":"Spaces","suggest_button":"Suggest","suggested_title":"Suggested"}}}},"datetime":{"distance_in_words":{"about_x_hours":{"one":"about 1 hour","other":"about %{count} hours"},"about_x_months":{"one":"about 1 month","other":"about %{count} months"},"about_x_years":{"one":"about 1 year","other":"about %{count} years"},"almost_x_years":{"one":"almost 1 year","other":"almost %{count} years"},"half_a_minute":"half a minute","less_than_x_minutes":{"one":"less than a minute","other":"less than %{count} minutes"},"less_than_x_seconds":{"one":"less than 1 second","other":"less than %{count} seconds"},"over_x_years":{"one":"over 1 year","other":"over %{count} years"},"x_days":{"one":"1 day","other":"%{count} days"},"x_minutes":{"one":"1 minute","other":"%{count} minutes"},"x_months":{"one":"1 month","other":"%{count} months"},"x_seconds":{"one":"1 second","other":"%{count} seconds"}}},"ideas":{"show":{"booking_request":{"archive_error":"Sorry something went wrong, we couldn\'t archive your booking request."}}},"js":{"availability_form":{"calendar":"Calendar","duration":{"label":"How Long"},"durations":["0 - 5 years","5 - 10 years","10 - 15 years","15+ years"],"heading":"Awesome!","long_term_let":"Long term let with %{name} starting %{startOn} for %{duration}.","name":{"label":"Who With"},"prompt":"Got a long term let?","save":"Save","start_on":{"label":"When From"},"subheading":"Fill us in on the details.","submit":{"label":"Add a long term let"}},"availablitypicker":{"date_picker":{"format":"DD/MM/YY","long_format":"DD/MM/YYYY","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"nextMonth":"Next Month","previousMonth":"Previous Month","weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}},"booking_requests":{"decline_modal":{"date_conflict":"Date conflict","idea_unsuitable":"Idea Unsuitable"}},"bootstrap_datepicker":{"clear":"Clear","days":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"daysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"daysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"format":"dd/mm/yyyy","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","weekStart":1},"button":{"disable_with":{"loading":"Loading..."}},"catch_line":"MAKE IDEAS HAPPEN","character_counter":{"characters_remaining":{"one":"Characters remaining %{count}","other":"Characters remaining %{count}"}},"chat":{"load_all":"Load all","load_more":"Load more","send_message":"Send Message","show_full_message":"Show Full Message"},"content_hub":{"guides":{"download":"Download","unlock":"Unlock"}},"dropzone":{"error":"Sorry, something went wrong. Please try again later.","limit_exceeded":{"one":"We\'re sorry but you cannot upload more than one image without an account.","other":"We\'re sorry but you cannot upload more than %{count} images without an account."},"too_large":"Sorry, the file %{file_name} is too large. Please submit one that is smaller than %{file_size}.","too_small":"Sorry, the file %{file_name} is too small. Please submit one that is bigger than %{file_size}."},"editorial":{"blog":{"heading":"The Blog","related":"Up next","stra
23p":"Explore the here, now and everywhere"},"events":{"heading":"Events","related":"Related events","strap":"Share a story, showcase an idea, be part of the moment"},"guides":{"download_button":"Download the guide","heading":"Guides","related":"Related guides","strap":"Everything you need to know to set up shop","unlock_button":"Unlock the guide"},"home":{"heading":"Inspiration Here","strap":"Our monthly magazine is a place to discover, learn and get inspired."},"subnav":{"all":"All","blog":"Editorial","events":"Events","guides":"Guides","success_stories":"Success Stories","videos":"Videos"},"success_stories":{"action":"Action","aim":"Aim","heading":"Success Stories","related":"Related stories","result":"Result","story_heading":"The story","strap":"Our favourite stories from those who made their idea happen"},"videos":{"heading":"Video Showcase","related":"Related videos","strap":"Discover the sessions, stories and shops"}},"email":{"did_you_mean":"Did you mean %{suggestion}"},"feedback_form_overlay":{"cta":"Give feedback"},"form_validation":{"check":"You must select between %s and %s choices.","defaultMessage":"This value seems to be invalid.","equalto":"This value should be the same.","length":"This value length is invalid. It should be between %s and %s characters long.","max":"This value should be lower than or equal to %s.","maxcheck":"You must select %s choices or fewer.","maxlength":"This value is too long. It should have %s characters or fewer.","min":"This value should be greater than or equal to %s.","mincheck":"You must select at least %s choices.","minlength":"This value is too short. It should have %s characters or more.","notblank":"This value should not be blank.","pattern":"This value seems to be invalid.","range":"This value should be between %s and %s.","required":"This value is required.","type":{"alphanum":"This value should be alphanumeric.","digits":"This value should be digits.","email":"This value should be a valid email.","integer":"This value should be a valid integer.","number":"This value should be a valid number.","url":"This value should be a valid url."}},"forms":{"disable_with_sending":"Sending..."},"interactive-geocode":{"head":"Select an option below and drag the marker to adjust","no_errors_found":"No results found."},"jquery_time_picker":{"format":"G:i"},"landlord":{"booking_requests":{"status_button":{"offer_waiting":{"tooltip_body":"Waiting for %{idea_name} to pay \\u0026 sign the legals.","tooltip_title":"Status: Waiting for %{waiting_for}"},"pending_ll_signature":{"tooltip_body":"We have sent an e-mail to %{signatory_first_name} %{signatory_last_name} (%{signatory_email}) to sign the legals.\\n\\nOnce the agreement is signed the booking will be confirmed. ","tooltip_title":"Waiting"},"pending_tenant_confirmation":{"tooltip_body":"Waiting on the tenant to confirm they like the space. The idea will then move into the offer stage, ready for you to confirm an offer.","tooltip_title":"Status: Waiting"},"pending_tenant_info":{"tooltip_body":"Waiting for information from the tenant.","tooltip_title":"Waiting"},"submitted":{"tooltip_body":"Waiting for information from the tenant.","tooltip_title":"Idea pending tenant info"},"tenant_confirmed":{"tooltip_body":"Waiting on the tenant to confirm they like the space. The idea will then move into the offer stage, ready for you to confirm an offer.","tooltip_title":"Status: Waiting"},"viewing_booked":{"tooltip_body":"%{viewing_time}","tooltip_title":"Viewing Booked"},"viewing_contact_propose":{"tooltip_body":"%{viewing_contact_first_name} %{viewing_contact_last_name} needs to arrange a viewing.\\n\\n%{viewing_contact_email}\\n%{viewing_contact_phone}","tooltip_title":"Waiting"},"viewing_pending_tenant":{"tooltip_body":"%{idea_name} is in the process of picking one of your proposed viewing times, you\u2019ll receive a viewing confirmation once they\u2019ve done this.","tooltip_title":"Waiting"}}},"covid_cancellation_policy":{"banner":{"change_decision":"You can always change your decision later on","description":"In case of a new lockdown, brands are allowed to request a new date in the following 6 months and pay the difference if there\u2019s any.","link_text":"Read the full policy here.","link_url":"https://www.appearhere.co.uk/terms_of_use","opt_in":"Opt-in for all spaces","opt_out":"Opt-out","title":"To help brands book your space with confidence, have you opted-in to our new covid-cancellation policy?"},"opt_in_panel":{"cta":"Opt-in for all spaces","description":"To enable for just a specific space go to \u2018Spaces\u2019 \\u003e Select a space \\u003e \u2018Edit\u2019 \\u003e \u2018Rules\u2019","title":"To help brands book your space with confidence, have you opted-in to our new covid-cancellation policy?"},"success_panel":{"description":"If you wish to change your decision at a later stage you can go to \u2018Spaces\u2019 \\u003e Select a space \\u003e \u2018Edit\u2019 \\u003e \u2018Rules\u2019","title":"Thanks for opting in to the covid cancellation policy."}},"dashboard":{"idea_in_residence":"Appearing now","idea_soon_in_residence":"Appearing soon","idea_summary":{"action_label":"New ideas","appearing_soon":"Appearing now + Appearing soon","booked":"%{total}
23 booked","discussing":"%{total} in discussion","new":"%{total} in new","offer":"%{total} in offer","title":"Ideas"},"partner_agreement_banner":{"body":"We have updated our Landlord Service agreement. Please read and agree to continue to use our service.","cta":"Read and agree to the new terms"},"response_summary":{"accepted":"%{total} accepted","action_label":"Rating","rejected":"%{total} rejected","title":"Response rate"},"space_summary":{"action_label":"Add space","published":"%{total} published","residence":"%{total} in residence","title":"Spaces","unpublished":"%{total} unpublished"},"until":"until","welcome":"Well hello there, %{name}"},"request_list_item":{"in":"in"},"service_request":{"answers":{"excellent":"Excellent","good":"Good","ok":"Average","poor":"Poor"},"question":"We want to make sure we always offer world-class service, so let us know how you found your experience with %{landlord_partner_name}, your landlord partner?","title":"Congratulations on publishing your first space, %{first_name}!"},"space_list_item":{"status_button":{"in_curation":{"tooltip_body":"The listing for this space is currently with our curation team, check back shortly ","tooltip_title":"In curation"},"incomplete":{"tooltip_body":"This listing requires more detail before it can be published","tooltip_title":"Incomplete listing"},"pending_unpublish":{"tooltip_body":"There is a request to unpublish this space","tooltip_title":"Space pending removal"}}}},"landlords":{"approve_idea_button":{"tip":"Approve idea without any commitment and you\u2019ll be able to chat directly with the brand.","title":"You like the idea but need more details?"},"approve_offer_form":{"appearing":"Appearing","deposit":"Deposit","disappearing":"Disappearing","idea_label":"Idea","mailto":"Message your concierge if you want to change anything.","rent":"Rent (%{quantity})","service":"Appear Here Service","space_label":"Space","sub_title":"If you send and do not fulfil the deal, your rating will be affected.","submit":"Agree \\u0026 send offer","title":"Your offer","transaction_fee":"Transaction Fee","vat":"V.A.T","you_make":"You\'ll make"},"booking_request_flow":{"approve_offer_form":{"close_button":"Close","succes_sub_title":"We have sent that to the tenant, who will need to pay and sign legals. We will notify you when its your turn to sign.","succes_title":"Offer sent"},"decline_reason_form":{"close":"Close","next_request":"Next Request","sub_title":"Let us know why this idea isn\'t suitable for your space","submit":"Decline","success_sub_title":"We\'ll let them know and onto the next one.","success_title":"Thanks for your speedy reply","title":"Are you sure?"},"next_request":"Next Request","no_pending_requests":"Close","propose_viewing_form":{"close":"Close","go_to_messages":"Go to messages","message_the_brand":"ask the brand a question first","next_request":"Next Request","or":"or","sub_title":"Now you can schedule a viewing. Simply suggest three viewing slots to the brand.","submit":"Send options","succes_sub_title":"The viewing options have been sent to the brand. You will receive a notification when they pick a slot. You can also message them in the chat.","succes_title":"Viewing options sent","title":"Schedule viewing"},"viewing_contact_will_propose_modal":{"succes_sub_title":"%{viewing_contact_first_name} %{viewing_contact_last_name} has been asked to arrange a viewing with them.","succes_title":"Thanks for your speedy reply"}},"brand_profile":{"booked_before":"Booked Before","launched":{"one":"%{count} Store Launched","other":"%{count} Stores Launched"},"member_since":"Member Since","price_point":"Price Point","social_reach":"Social Reach","stores_launched":"Stores Launched","trading_since":"Trading Since","verified":"Verified","website":"Website"},"chat_link":"Message Concierge","client_invoice_list":{"actions":{"download_client_credit_note":"Download Tenant Credit Note","download_client_invoice":"Download Tenant Invoice","download_commission_credit_note":"Download Commission Credit Note","download_commission_invoice":"Download Commission Invoice","download_contract":"Download Legals"},"filter":{"completed":"Completed","upcoming":"Upcoming"},"headers":{"amount_due":"Gross rent due","amount_paid":"Gross rent due","brand":"Brand","de
23scription":"Description","due_on":"Due on","earned_by_landlord":"Payable","paid_on":"Rent due on","space":"Space","tenant":"Tenant","will_be_earned_by_landlord":"You\'ll earn"},"no_results":"Your invoices will appear here","title":"Transactions"},"finance":{"booked_and_paid":{"booked":"Booked","today":"Today"},"revenue_chart":{"empty":"Your revenue will appear here","heading":"Booked revenue"}},"message_brand_button":{"cta":"MESSAGE BRAND","tip":"This is an Instant Book request, so the brand has paid and signed. The booking will be finalised once you sign.","title":"Do you need more information from the Brand?"},"nav":{"footer":{"log_out":"Log out","settings":"Settings","you":"You"}},"new_employee_form":{"email":{"label":"Email"},"first_name":{"label":"First name"},"heading":"Invite someone","last_name":{"label":"Last Name"},"phone":{"label":"Phone"},"subheading":"To join your company","submit":{"label":"Invite someone"}},"performance":{"portfolio":{"filters":{"default":"All time","from_date_label":"From","heading":"Filters","reset":"Reset","to_date_label":"To"}},"reputation":{"coming_soon":"Coming soon","coming_soon_text":"Read reviews from your tenants and get the insights to improve.","rating_explanation":{"one":"Your rating is %{count} star. Our landlord average rating is 4. To read more about how we calculate this visit our FAQs","other":"Your rating is %{count} stars. Our landlord average rating is 4. To read more about how we calculate this visit our FAQs"},"response_rate":"Response rate","response_rate_not_responded_yet":"You haven\'t responded to any ideas yet.","response_rate_you_are_responding":"You are responding to %{percentage}% of your ideas within 48 hours.","your_rating":"Your rating"},"your_listing":"Your search listing"},"place":{"search_preview":{"annual_footfall":"Annual footfall","from":"From","per_day":"/day","place":"Place","show_spaces":{"one":"Show 1 space here","other":"Show %{count} spaces here"},"units":"Units"},"your_listing_explanation":"This is how your place appears in our search results. Use the the link to see your place listing."},"place_list":{"space_count":{"one":"%{count} space","other":"%{count} spaces"}},"post_match":{"concierge_job_title":"In house retail expert","concierge_tooltip":"For any questions or queries about this idea use the link below to message me","duration_days":{"one":"%{count} Day","other":"%{count} Days"},"idea_by_tenant":"by %{tenant}","idea_concierge":"This idea\'s concierge","message_concierge":"Message %{concierge}","message_concierge_subject":null,"reply_to_concierge":"Reply"},"request_list":{"actions":{"download_client_invoice":{"one":"Download Client Invoice","other":"Download Client Invoice %{installment} of %{count}"},"download_commission_invoice":{"one":"Download Commission Invoice ","other":"Download Commission Invoice %{installment} of %{count}"},"download_contract":"Download Legals","manage_booking":"Manage Booking"},"booker":{"new":"New booker","repeat":"Repeat booker"},"duration":{"one":"%{count} day","other":"%{count} days"},"expires":"Expires midnight %{date}","fast_booking":"Fast Booking","submitted":{"one":"Submitted %{count} day ago","other":"Submitted %{count} days ago"}},"requests":{"actions":{"approve_idea":"Approve","propose_viewings":"Book a viewing","reject_idea":"Decline"},"appear_here_rating":"AH rating","approval_expiry_countdown":"Time remaining to approve:","assigned_concierge":"%{concierge}, the concierge for this idea","been_a_member_since":"%{company_name} has been a member since %{date}","booked_before":"Booked Before","brand_profile":"Brand profile","by":"idea by","declined_modal":{"body":"Unfortunately, %{ideaName} has been declined.","heading":"Idea declined"},"duration_in_days":"Days","empty":"Your ideas will appear here","estimated_value":"Est. value","for":"for","hide_calendar":"Hide Calendar","idea_by":"Idea by","idea_for_space":"Idea for %{space}","idea_verified":"Idea Verified","look_and_feel":"Look \\u0026 feel","member_since":"Member since","message_concierge":"Message %{concierge}","missing_social_media":"This brand has not added any social media links.","no_concierge_message":"We match every idea with a concierge. The concierge is an expert in launching stores, to help guide our brands through the process of booking your space.","other_request_spaces":{"one":"This brand has requested %{count} other space","other":"This brand has requested %{count} other spaces"},"post_match":{"title":"Manage this idea"},"reply_to_assigned_concierge":"Reply to %{concierge}, the concierge for this idea","show_calendar":"Show Calendar","social_reach":"Social reach","sort_by":"Sort by","stores_launched":"Stores launched","the_idea":"The idea","total_followers":{"heading":"Total followers"},"trust_and_reputation":"Trust \\u0026 Reputation"},"roles_form":{"add_a_new_person_cta":"Add new user","roles":{"admin":{"description":"This person will have access to all the areas in the business and control over the roles you\u2019ve assigned.","heading":"Who\'s in charge?","title":"Access all areas"},"apply_to_all":"These roles apply to all your spaces. To see roles specific to one space go to \'Spaces\' \\u003e choose space \\u003e \'Settings\' \\u003e \'Roles\'","finance":{"description":"All the finance updates will be sent to this person. They should also have permission to amend the billing details.","heading":"Who takes care of the numbers?","title":"Finance"},"ideas":{"description":"Like a magazine editor, this person will choose what ideas go in the space and send out the offers.","heading":"Who will review and approve ideas?","title":"Ideas"},"instant_booking_approval":{"description":"Email contact for instant bookings","heading":"Who will receive instant booking emails ?","title":"Instant Booking Approval"},"keys":{"description":"Who\'s in charge of keys for this Space?","title":"Keys"}
23,"legals":{"description":"Once the brand has accepted the offer and paid, the license agreement will be delivered to this person to sign online.","heading":"Who can sign the license agreement?","title":"Legals"},"no_assignee":"No one assigned","or":"or","person":"Person","settings":{"direct_chat":{"description":"Add multiple people to respond to all brands, through the secure platform chat.","sub_description":"* These roles can be changed for specific spaces","title":"Brand Chat"}},"space_settings":{"direct_chat":{"description":"Add multiple people to respond to brands that request this space, through the secure platform chat.","fallback":"Falls back to default roles","title":"Brand Chat"}},"tenancy":{"description":"Contact person during tenancy","title":"Tenancy"},"tenant_contact":{"description":"Email contact during tenancy","heading":"Who will be in touch with tenants ?","title":"Tenant Contact"},"title":"Roles - apply to all spaces","viewings":{"description":"This person will be responsible for arranging and attending viewings for this space. ","title":"Viewings"}},"save_cta":"Save","space_only_roles":"These roles apply to this space only and they override any \\u003ca href=\\"/landlords/settings/roles/edit\\"\\u003egeneral roles\\u003c/a\\u003e.","space_roles_title":"Roles - apply only to this space"},"rules":{"form":{"description":"Whatever you write will appear on the space listing and in an appendix in the tenancy agreement.","no":"No","restricted_opening_hours":"Do you have restricted o
23pening hours?","weekdays":"Weekdays","weekends":"Weekends","yes":"Yes"}},"setting_company_form":{"sole_trader":"Sole trader","title":"Company details"},"setting_company_list":{"add_new":"Add new company details","edit":"Edit","title":"Select company details to edit"},"setting_payment_form":{"address":"Billing address","bank_account":"Bank account","bank_account_info":"This is how you\u2019ll receive brand payments for your spaces. ","same_as_registered":"Same as company address","save":"Save","title":"Payment details","vat":"V.A.T","vat_info":"If a valid VAT number is not entered, Appear Here will not charge VAT on the rent","vat_registered":"Registered"},"setting_payment_list":{"add_new":"Add new payment details","edit":"Edit","not_vat_registered":"Not VAT Registered","subtitle":"This is how you\u2019ll receive brand payments for your spaces.","title":"Select payment details to edit","vat_registered":"VAT Registered"},"setting_you_form":{"about":"About","idea_preference":"Email settings","reset_password":"Reset password","save":"Save","title":"Details"},"settings_payment_list":{"title":"Select payment details to edit"},"settings_tenancy_agreement_list":{"title":"View your tenancy agreements"},"space":{"available":"Available","booked":"Booked","calendar":"Calendar","calendar_guidance":"Click on the days below to mark them as available/unavailable","company_details":{"register_company":"Registered company","register_company_sub_title":"Choose a company for this space","title":"Company details"},"created_modal":{"add_details_button":"Save","add_details_helper":"The more we know about your space now, the sooner it\'s online and attracting ideas.","editorial_description":"Our editorial team will be in touch to schedule photography and get to work on copy for your space.","editorial_heading":"Next Steps","in_queue":"is now in the queue"},"in_residence":"In residence","live":"Published","map":{"hide":"Hide map","protip":"Drag the marker to set where your space appears in our search results so be as accurate as possible. ","show":"Show map"},"no_one_in_residence":"There is no one in residence at the moment","payment_details":{"bank_account":"Bank account","bank_account_sub_title":"Choose a bank account to receive brand payments for this space. ","title":"Payment details"},"save":"Save","search_preview":{"day":"day","details":"Details","from":"from","month":"Month","week":"week"},"status":"Status","unavailable":"Unavailable","your_availability":"Space availability","your_listing":"Space listing","your_listing_explanation":"This is how your space appears in our search results. Use the link to see your space listing.","your_performance":"Space performance"},"space_leaderboard":{"no_results":"Nothing here yet!","sort_by":{"bookings":"Bookings","requests":"Ideas","views":"Views"},"sort_by_button":"Sort by","sort_direction":{"asc":"Bottom %{perPage}","desc":"Top %{perPage}"},"space":{"sorting_by":{"bookings":"bookings","requests":"ideas","views":"views"}},"view_all":"View more","view_less":"View less"},"space_list":{"sort":{"created_at":"Date added","name":"Name","pricing":"Pricing","published":"Published","size":"Size"},"sort_button":"Sort"},"space_list_item":{"calendar":"Availability","edit":"Edit space","not_published":"Space not published","pricing":"%{price} /week","toggle_label_published":"Publish","toggle_label_unpublished":"Publish"},"space_performance":{"average_days_title":"Average days","bookings":{"lengths":{"less_than_a_month":{"one":"%{count} less than a month","other":"%{count} less than a month"},"one_to_three_months":{"one":"%{count} was 1 - 3 months","other":"%{count} were 1 - 3 months"},"three_months_and_up":{"one":"%{count} was 3 months +","other":"%{count} were 3 months +"}},"title":"Bookings"},"bookings_count_title":"Total bookings","chart":{"bookings":"Bookings","empty":"Your performance will appear here","requests":"Ideas","title":"Site performance","views":"Views"},"count_title":"Total","declines":{"reasons":{"declined_by_landlord_date_conflict":{"one":"%{count} due to availability","other":"%{count} due to availability"},"declined_by_landlord_idea_unsuitable":{"one":"%{count} due to idea","other":"%{count} due to idea"},"declined_by_landlord_landlord_no_response":{"one":"%{count} due to you being too slow","other":"%{count} due to you being too slow"},"declined_by_tenant":{"one":"%{count} declined by brand","other":"%{count} declined by brand"}}},"declines_count_title":"total declined ideas","declines_title":"Declined ideas","median_value_title":"Median Value","request_to_booking_ratio":"(%{value}% of requests)","requests":{"outcomes":{"active":{"one":"%{count} active idea","other":"%{count} active ideas"},"declined_by_landlord":{"one":"You declined %{count} idea","other":"You declined %{count} ideas"},"declined_by_tenant":{"one":"They declined %{count}","other":"They declined %{count}"}},"title":"Ideas"},"requests_count_title":"Total ideas","total_days_title":"Total in days","total_value_title":"Total value"},"space_republish_form":{"message":"Please contact us to republish your space.","title":"Request republishing of %{space}"},"space_unpublish_form":{"message_label":"Tell us why you\'d like to remove this space
23:","message_placeholder":"I would like to remove %{space_name} because..","reasons":{"long_term_let":"Long term let","not_enough_bookings":"Not enough bookings","not_enough_requests":"Not enough requests","other_reason":"Other","request_types":"Request types"},"submit":"Unpublish space"},"spaces":{"empty":"Nothing here!"},"subscription_preferences":{"idea_subscription_frequency":{"daily":{"description":"Fewer emails, but other landlords might beat you to the deal.","title":"Email me a daily summary of new ideas"},"instantly":{"description":"Have your finger on the pulse and reduce your chances of missing out.","title":"Email me ideas as soon as they get submitted"}}}},"map":{"default_centre":[51.507222,-0.1275],"tax_zone":{"heading":"Tax Zones","no_tax":"No Tax","zone":{"fr_vat":"FR VAT Tax Zone","gb_vat":"GB VAT Tax Zone","nl_vat":"NL VAT Tax Zone","us_los_angeles_sales_tax":"LA Sales Tax Zone","us_miami_sales_tax":"Miami Sales Tax Zone"}},"tax_zones":{"heading":null,"no_tax":null,"zone":{"fr_vat":null,"gb_vat":null,"nl_vat":null,"us_los_angeles_tax_zone":null,"us_miami_sales_tax":null}},"tooltip":{"day":"/day","from":"From","place":"Place"}},"minimum_character_counter":{"missing_text":{"one":"Hey! That\'s not enough information for the landlord to approve your idea. Add at least %{count} more character.","other":"Hey! That\'s not enough information for the landlord to approve your idea. Add at least %{count} more characters."}},"moment":{"calendar":{"lastDay":"[Yesterday at] LT","lastWeek":"[Last] dddd [at] LT","nextDay":"[Tomorrow at] LT","nextWeek":"dddd [at] LT","sameDay":"[Today at] LT","sameElse":"L"},"calendar_days":{"nextDay":"[Tomorrow]","nextWeek":"dddd","sameDay":"[Today]","sameElse":"[Next] dddd"},"dayShortMonth":"D MMM","dayShortMonthYear":"D MMM YYYY","longDateFormat":{"L":"DD/MM/YYYY","LL":"D MMMM YYYY","LLL":"D MMMM YYYY HH:mm","LLLL":"dddd, D MMMM YYYY HH:mm","LT":"HH:mm","LTS":"HH:mm:ss"},"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"],"numericalMonthYear":"MM/YYYY","relativeTime":{"M":"a month","MM":"%d months","d":"a day","dd":"%d days","future":"in %s","h":"an hour","hh":"%d hours","m":"a minute","mm":"%d minutes","past":"%s ago","s":"a few seconds","y":"a year","yy":"%d years"},"shortMonthYear":"MMM YYYY","weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"partner_agreement_form":{"checkbox_error":"You need to accept the agreement to continue","checkbox_label":"%{landlordName} agrees to the Appear Here partner agreement.","footer":{"body":"Request a callback: \\u003ca href=\\"mailto:[email protected]?subject=Questions about Appear Here%27s new Landlord Partner Agreement\\u0026body=To+the+Service+Team+at+Appear+Here%2C+%0D%0A%0D%0AWe+have+some+questions+about+our+new+Landlord+Partner+Agreement.+Please+call+back+for+us+to+discuss+further.+%0D%0A%0D%0ABest+wishes%2C\\"\\[email protected]\\u003c/a\\u003e\\n","header":"Any questions?"},"header":"Partner Agreement","signer":"%{signer} is required to agree","submit":"I agree to these terms","top":{"blurb":{"body":"To continue to use our service, \\u003cstrong\\u003eyour designated legal contact must agree to our new terms\\u003c/strong\\u003e. Your designated legal contact is %{signer}. If this information is incorrect, update your legal contact, \\u003ca href=\\"%{edit_roles_path}\\"\\u003eupdate legal contact\\u003c/a\\u003e.","title":"We want to ensure that we can continue providing exceptional value for both you and your space(s), \\u2028so we\u2019ve updated our Landlord Service Agreement."},"offer_warning":{"body":"To review and accept it, you need to agree to our new terms below.","icon_alt":"A warning icon","title":"Your offer is one click away."}},"update_roles":"Update your legal contact"},"pwd-verdict":{"medium":"Medium","strength":"Password strength","strong":"Strong","weak":"Weak"},"react_form":{"account_name":"Account holder name","account_number":"Account number","address_line_one":"Address line 1","address_line_two":"Address line 2","area":"Area","city":"City","company_name":"Company name","company_number":"Company number","country":"Country","email":"Email","first_name":"First name","full_name":"Company name (to appear on invoices)","house_number":"Street number/Building name","
23iban_number":"IBAN number","land_registry_municipality":"Municipality","land_registry_number":"Number","land_registry_section":"Section","last_name":"Last name","locality":"County / Region / State","neighbourhood":"Neighbourhood","nextbtn":"Next","phone":"Phone","phone_number":"Phone number","postal_code":"Postcode","postcode":"Postcode / Zip code","routing_number":"Routing Number","sort_code":"Sort code","street_name":"Street name","subpremise":"Unit","swift_number":"Swift Number","time_zone":"Time zone","vat_number":"VAT number"},"requery_control":{"search_this_area":"Search this area"},"reset_password_modal":{"close":"Close","submit":"Submit","success":"Your password has been changed","title":"Password reset"},"service_fee":"Service Fee","service_fee_description":"This helps us run our platform and offer you dedicated customer service during your booking, as well as covering legals and transaction fees. It includes VAT.","settings":{"legals":{"basic_agreement":{"download":"Download Agreement","header":"Partnership agreement","summary_header":"In summary, you have agreed that","summary_item_1":"Any space you provide details for will be marketed on our platform.","summary_item_2":"Guests interested in booking your space will submit requests via our platform.","summary_item_3":"When you accept a booking via our platform, we collect payment and a 20% fee."},"custom":"You are using your own tenancy agreement.","download_tenancy":"Download","pro_agreement":{"download":"Download","download_hint":"Your contract will be available for downaload once it has been counter signed by us.","header":"Pro contract","summary_header":"In summary, you have agreed that","summary_item_1":"Pro services will include targeted marketing, concierge services and access to Appear Here Pro fit-out solutions.","summary_item_2":"You will pay a monthly fee for each of your Pro Spaces as well as a % commission on the rent, starting from the date that each space goes live on our platforms as a pro space.","summary_item_3":"Appear Here will be your exclusive agent for your Appear Here Pro spaces."},"standard":"You have opted in to use the Appear Here standard tenancy agreement.","tenancy_header":{"one":"Tenancy agreement","other":"Tenancy agreements"}}},"social_feed":{"show_less":"Show less","show_more":"Show more"},"social_initiative_description":"A % of the price will go towards funding social initiatives so we can give back to our community. You could help make other ideas happen \ud83d\udca1","social_links":{"facebook":"Share on Facebook","pintrest":"Share on Pintrest","twitter":"Share on Twitter"},"submit":{"loading":"Loading..."},"suggestions":{"button_text":"Deliver Suggestions","default_message":"Hi {{user_name}},\\n\\nI\'ve attached some suggestions for you below. Click through to review them - you can respond to the suggestion from that page and I\'ll be notified.\\n\\n{{concierge_name}}","default_subject":"New space suggestion","message_label":"Write your message"},"typeahead":{"headings":{"cities":"Cities","districts":"Districts","places":"Places"}},"us_states":{"AA":"Armed Forces Americas","AE":"Armed Forces Europe","AK":"Alaska","AL":"Alabama","AP":"Armed Forces Pacific","AR":"Arkansas","AS":"American Samoa","AZ":"Arizona","CA":"California","CO":"Colorado","CT":"Connecticut","DC":"District of Columbia","DE":"Delaware","FL":"Florida","GA":"Georgia","GU":"Guam","HI":"Hawaii","IA":"Iowa","ID":"Idaho","IL":"Illinois","IN":"Indiana","KS":"Kansas","KY":"Kentucky","LA":"Louisiana","MA":"Massachusetts","MD":"Maryland","ME":"Maine","MI":"Michigan","MN":"Minnesota","MO":"Missouri","MP":"Northern Mariana Islands","MS":"Mississippi","MT":"Montana","NC":"North Carolina","ND":"North Dakota","NE":"Nebraska","NH":"New Hampshire","NJ":"New Jersey","NM":"New Mexico","NV":"Nevada","NY":"New York","OH":"Ohio","OK":"Oklahoma","OR":"Oregon","PA":"Pennsylvania","PR":"Puerto Rico","RI":"Rhode Island","SC":"South Carolina","SD":"South Dakota","TN":"Tennessee","TX":"Texas","UM":"United States Minor Outlying Islands","UT":"Utah","VA":"Virginia","VI":"Virgin Islands U.S.","VT":"Vermont","WA":"Washington","WI":"Wisconsin","WV":"West Virginia","WY":"Wyoming"},"v2":{"landlords":{"features_form":{"head":"These are really important for potential ideas, so be honest so you can save time when it comes to viewings. ","save":"Save"},"ideas":{"panel_title":{"one":"1 Idea","other":"%{count} Ideas"},"search_placeholder":"Search for an idea"},"places":{"panel_title":{"one":"1 Place","other":"%{count} Places"}},"setting_company_form":{"address":"Registered address","required_details":"Required details","save":"Save","title":"Company details"},"space_location_form":{"address":"Address","part_1_of_4":"Part 1 of 4","part_2_of_4":"Part 2 of 4","part_3_of_4":"Part 3 of 4","save":"Save","size":"Size","what_can_it_be_used_for":"What can it be used for?"},"spaces":{"add_new_space":"Add new space","panel_title":{"one":"1 Space","other":"%{count} Spaces"},"search_placeholder":"Search for a space"},"summary_stats":{"finance":{"booked_revenue":"Booked Revenue","paid":"Net amount earned","rent_collected":"Net rent c
23ollected"},"place":{"bookings_count":"Bookings","bookings_value":"Bookings ","requests_value":"Ideas "},"places":{"live_places":"Published places","places_with_bookings":"Places with Bookings","places_with_ideas":"Places with ideas"},"portfolio":{"bookings":"Bookings","bookings_variation":"Bookings vs. last month","requests":"Ideas"},"requests":{"response_rate":"Response rate","total_value":"Total Value"},"space":{"bookings_count":"Bookings","bookings_value":"Bookings ","requests_value":"Ideas "},"spaces":{"live_spaces":"Published spaces","spaces_with_bookings":"Spaces with Bookings","spaces_with_ideas":"Spaces with Ideas"}}},"protip_label":"Pro tip","space":{"cancellation_policies":{"default_policy_name":"Strict","description_for_space":"The Premises is subject to the Appear Here %{policyName} cancellation policy as detailed in the Appear Here Website %{termsOfUseLink}.","no_policy_name":"No policy","shorthard_name":"Cancellation","terms_of_use":"Terms of Use","terms_of_use_url":"https://www.appearhere.co.uk/terms_of_use"},"covid_cancellation_policy":{"description":"In the event of a government imposed lockdown, the Premises is subject to the Appear Here COVID cancellation policy as detailed in the Appear Here Website %{termsOfUseLink}.","off_option":"Off","on_option":"On","terms_of_use":"Terms of Use","terms_of_use_url":"https://www.appearhere.co.uk/terms_of_use"},"new_edit_form":{"address":{"heading":"Edit Address","search":{"label":"Search address","placeholder":"Street address","show_inputs":"Can\'t find your address?"}},"create_submit":"Add space","edit_heading":"Edit space","features":{"heading":"Amenities","helper_text":"These are really important. Be honest so you can save time when it comes to viewings."},"heading":"Add a space","location":{"heading":"Location"},"pricing":{"errors":{"annual_costs":"Some of those numbers don\'t appear to be right"},"headings":{"annual_costs":"Annual costs","deposit":"Deposit","list_pricing":"List pricing"},"helper_text":{"annual_costs":"Tell us how much you spend each year, and we\'ll recommend a list price","deposit":"This will be held by us during any tenancy. If you want to set deposit amounts based on booking duration, just let your landlord partner know and they\'ll update it for you.","list_pricing":"This is a recommended list price. Feel free to customise it. \\nWe suggest incentivising longer durations by reducing the weekly and monthly price. \\nRemember, we\'ll deduct our commission from the listed price for your space."},"labels":{"annual_costs":"Total Annual costs","deposit":"Security deposit","list_price_per_day":"Per day","list_price_per_month":"Per month","list_price_per_quarter":"Per quarter","list_price_per_week":"Per week","list_price_per_year":"Per year","rates":"Rates","rent":"Rent","service":"Service charge","utility":"Utility"}},"registry":{"heading":"Land Registry"},"rules":{"headings":{"additional_rules":"Additional rules","cancellation_policy":"Cancellation policy","covid_cancellation_policy":"Covid cancellation policy","opening":"Opening hours"},"helper_text":{"additional_rules":"Let brands know any additional rules they\'ll need to follow.","opening":"These will automatically be included in your tenancy agreement for this space, so make sure they\'re accurate."},"save":"Save"},"size":{"heading":"Size","helper_text":"Doesn\'t have to be exact, just give us a rough idea."},"update_submit":"Save","uses":{"heading":"Type","helper_text":"This will help our brands find your space. If your space has multiple uses, you should select all that apply","protip":"These categories are used to filter searches"}},"notification":{"created":"Your space has been successfully added!","updated":"Your space has been successfully updated!"}}}},"number":{"currency":{"format":{"code":"GBP","delimiter":",","format":"%u%n","precision":0,"separator":".","significant":false,"strip_insignificant_zeros":false,"thousands_separator":",","unit":"\xa3"}}},"stripe":{"errors":{"amex_card":"American Express is currently not accepted as a payment method.","card_declined":"Your card was declined.","expired_card":"Your card has expired.","incorrect_cvc":"Your card\'s security code is incorrect.","incorrect_number":"Your card number is incorrect.","incorrect_zip":"Your card\'s zip code failed validation.","invali
23d_cvc":"Your card\'s security code is invalid.","invalid_expiry_month":"Your card\'s expiration month is invalid.","invalid_expiry_year":"Your card\'s expiration year is invalid.","invalid_number":"The card number is not a valid credit card number.","missing":"There is no card on a customer that is being charged.","processing_error":"An error occurred while processing the card.","rate_limit":"An error occurred due to requests hitting the API too quickly. Please let us know if you\'re consistently running into this error."}}}'), 24I18n.translations["en-US"]=JSON.parse('{"admin":{"concierge":{"ideas":{"spaces":{"add_booking_request":"Add Booking Request","add_to_list_button":"Add to List","declined_title":"Declined","hide_declined_spaces":"Hide %{number} space(s)","no_selected_spaces":"This idea has no active requests. Suggest some below.","no_suggestions":"This idea has no suggestions. Suggest some below.","search_for_spaces_to_suggest":"Search for spaces to suggest","selected_title":"Selected","send_to_landlord":"Send to Landlord","show_declined_spaces":"Show %{number}","spaces_title":"Spaces","suggest_button":"Suggest","suggested_title":"Suggested"}}}},"datetime":{"distance_in_words":{"about_x_hours":{"one":"about 1 hour","other":"about %{count} hours"},"about_x_months":{"one":"about 1 month","other":"about %{count} months"},"about_x_years":{"one":"about 1 year","other":"about %{count} years"},"almost_x_years":{"one":"almost 1 year","other":"almost %{count} years"},"half_a_minute":"half a minute","less_than_x_minutes":{"one":"less than a minute","other":"less than %{count} minutes"},"less_than_x_seconds":{"one":"less than 1 second","other":"less than %{count} seconds"},"over_x_years":{"one":"over 1 year","other":"over %{count} years"},"x_days":{"one":"1 day","other":"%{count} days"},"x_minutes":{"one":"1 minute","other":"%{count} minutes"},"x_months":{"one":"1 month","other":"%{count} months"},"x_seconds":{"one":"1 second","other":"%{count} seconds"}}},"ideas":{"show":{"booking_request":{"archive_error":"Sorry something went wrong, we couldn\'t archive your booking request."}}},"js":{"availability_form":{"calendar":"Calendar","duration":{"label":"How Long"},"durations":["0 - 5 years","5 - 10 years","10 - 15 years","15+ years"],"heading":"Awesome!","long_term_let":"Long term let with %{name} starting %{startOn} for %{duration}.","name":{"label":"Who With"},"prompt":"Got a long term let?","save":"Save","start_on":{"label":"When From"},"subheading":"Fill us in on the details.","submit":{"label":"Add a long term let"}},"availablitypicker":{"date_picker":{"format":"MM/DD/YY","long_format":"MM/DD/YYYY","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"nextMonth":"Next Month","previousMonth":"Previous Month","weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}},"booking_requests":{"decline_modal":{"date_conflict":"Date conflict","idea_unsuitable":"Idea Unsuitable"}},"bootstrap_datepicker":{"clear":"Clear","days":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"daysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"daysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"format":"mm/dd/yyyy","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","weekStart":0},"button":{"disable_with":{"loading":"Loading..."}},"catch_line":"MAKE IDEAS HAPPEN","character_counter":{"characters_remaining":{"one":"Characters remaining %{count}","other":"Characters remaining %{count}"}},"chat":{"load_all":"Load all","load_more":"Load more","send_message":"Send Message","show_full_message":"Show Full Message"},"content_hub":{"guides":{"download":"Download","unlock":"Unlock"}},"dropzone":{"error":"Sorry, something went wrong. Please try again later.","limit_exceeded":{"one":"We\'re sorry but you cannot upload more than one image without an account.","other":"We\'re sorry but you cannot upload more than %{count} images without an account."},"too_large":"Sorry, the file %{file_name} is too large. Please submit one that is smaller than %{file_size}.","too_small":"Sorry, the file %{file_name} is too small. Please submit one that is bigger than %{file_size}."},"editorial":{"blog":{"heading":"The Blog","related":"Up next","stra
24p":"Explore the here, now and everywhere"},"events":{"heading":"Events","related":"Related events","strap":"Share a story, showcase an idea, be part of the moment"},"guides":{"download_button":"Download the guide","heading":"Guides","related":"Related guides","strap":"Everything you need to know to set up shop","unlock_button":"Unlock the guide"},"home":{"heading":"Inspiration Here","strap":"Our monthly magazine is a place to discover, learn and get inspired."},"subnav":{"all":"All","blog":"Editorial","events":"Events","guides":"Guides","success_stories":"Success Stories","videos":"Videos"},"success_stories":{"action":"Action","aim":"Aim","heading":"Success Stories","related":"Related stories","result":"Result","story_heading":"The story","strap":"Our favorite stories from those who made their idea happen"},"videos":{"heading":"Video Showcase","related":"Related videos","strap":"Discover the sessions, stories and shops"}},"email":{"did_you_mean":"Did you mean %{suggestion}"},"feedback_form_overlay":{"cta":"Give feedback"},"form_validation":{"check":"You must select between %s and %s choices.","defaultMessage":"This value seems to be invalid.","equalto":"This value should be the same.","length":"This value length is invalid. It should be between %s and %s characters long.","max":"This value should be lower than or equal to %s.","maxcheck":"You must select %s choices or fewer.","maxlength":"This value is too long. It should have %s characters or fewer.","min":"This value should be greater than or equal to %s.","mincheck":"You must select at least %s choices.","minlength":"This value is too short. It should have %s characters or more.","notblank":"This value should not be blank.","pattern":"This value seems to be invalid.","range":"This value should be between %s and %s.","required":"This value is required.","type":{"alphanum":"This value should be alphanumeric.","digits":"This value should be digits.","email":"This value should be a valid email.","integer":"This value should be a valid integer.","number":"This value should be a valid number.","url":"This value should be a valid url."}},"forms":{"disable_with_sending":"Sending..."},"interactive-geocode":{"head":"Select an option below and drag the marker to adjust","no_errors_found":"No results found."},"jquery_time_picker":{"format":"h:i A"},"landlord":{"booking_requests":{"status_button":{"offer_waiting":{"tooltip_body":"Waiting for %{idea_name} to pay \\u0026 sign the agreement.","tooltip_title":"Status: Waiting for %{waiting_for}"},"pending_ll_signature":{"tooltip_body":"We have sent an e-mail to %{signatory_first_name} %{signatory_last_name} (%{signatory_email}) to sign the legal agreement.\\n\\nOnce the agreement is signed the booking will be confirmed.","tooltip_title":"Waiting"},"pending_tenant_confirmation":{"tooltip_body":"Waiting on the tenant to confirm they like the space. The idea will then move into the offer stage, ready for you to confirm an offer.","tooltip_title":"Status: Waiting"},"pending_tenant_info":{"tooltip_body":"Waiting for information from the tenant.","tooltip_title":"Waiting"},"submitted":{"tooltip_body":"Waiting for information from the tenant.","tooltip_title":"Idea pending tenant info"},"tenant_confirmed":{"tooltip_body":"Waiting on the tenant to confirm they like the space. The idea will then move into the offer stage, ready for you to confirm an offer.","tooltip_title":"Status: Waiting"},"viewing_booked":{"tooltip_body":"%{viewing_time}","tooltip_title":"Viewing Booked"},"viewing_contact_propose":{"tooltip_body":"%{viewing_contact_first_name} %{viewing_contact_last_name} needs to arrange a viewing.\\n\\n%{viewing_contact_email}\\n%{viewing_contact_phone}","tooltip_title":"Waiting"},"viewing_pending_tenant":{"tooltip_body":"%{idea_name} is in the process of picking one of your proposed viewing times, you\u2019ll receive a viewing confirmation once they\u2019ve done this.","tooltip_title":"Waiting"}}},"covid_cancellation_policy":{"banner":{"change_decision":"You can always change your decision later on","description":"In case of a new lockdown, brands are allowed to request a new date in the following 6 months and pay the difference if there\u2019s any.","link_text":"Read the full policy here.","link_url":"https://www.appearhere.us/terms_of_use","opt_in":"Opt-in for all spaces","opt_out":"Opt-out","title":"To help brands book your space with confidence, have you opted-in to our new covid-cancellation policy?"},"opt_in_panel":{"cta":"Opt-in for all spaces","description":"To enable for just a specific space go to \u2018Spaces\u2019 \\u003e Select a space \\u003e \u2018Edit\u2019 \\u003e \u2018Rules\u2019","title":"To help brands book your space with confidence, have you opted-in to our new covid-cancellation policy?"},"success_panel":{"description":"If you wish to change your decision at a later stage you can go to \u2018Spaces\u2019 \\u003e Select a space \\u003e \u2018Edit\u2019 \\u003e \u2018Rules\u2019","title":"Thanks for opting in to the covid cancellation policy."}},"dashboard":{"idea_in_residence":"Appearing now","idea_soon_in_residence":"Appearing soon","idea_summary":{"action_label":"New ideas","appearing_soon":"Appearing now + Appearing soon","booked":"%{total}
24 booked","discussing":"%{total} in discussion","new":"%{total} in new","offer":"%{total} in offer","title":"Ideas"},"partner_agreement_banner":{"body":"We have updated our Landlord Service agreement. Please read and agree to continue to use our service.","cta":"Read and agree to the new terms"},"response_summary":{"accepted":"%{total} accepted","action_label":"Rating","rejected":"%{total} rejected","title":"Response rate"},"space_summary":{"action_label":"Add space","published":"%{total} published","residence":"%{total} in residence","title":"Spaces","unpublished":"%{total} unpublished"},"until":"until","welcome":"Well hello there, %{name}"},"request_list_item":{"in":"in"},"service_request":{"answers":{"excellent":"Excellent","good":"Good","ok":"Average","poor":"Poor"},"question":"We want to make sure we always offer world-class service, so let us know how you found your experience with %{landlord_partner_name}, your landlord partner?","title":"Congratulations on publishing your first space, %{first_name}!"},"space_list_item":{"status_button":{"in_curation":{"tooltip_body":"The listing for this space is currently with our curation team, check back shortly ","tooltip_title":"In curation"},"incomplete":{"tooltip_body":"This listing requires more detail before it can be published","tooltip_title":"Incomplete listing"},"pending_unpublish":{"tooltip_body":"There is a request to unpublish this space","tooltip_title":"Space pending removal"}}}},"landlords":{"approve_idea_button":{"tip":"Approve idea without any commitment and you\u2019ll be able to chat directly with the brand.","title":"You like the idea but need more details?"},"approve_offer_form":{"appearing":"Appearing","deposit":"Deposit","disappearing":"Disappearing","idea_label":"Idea","mailto":"Message your concierge if you want to change anything.","rent":"Rent (%{quantity})","service":"Appear Here Service","space_label":"Space","sub_title":"If you send and do not fulfill the deal, your rating will be affected.","submit":"Agree \\u0026 send offer","title":"Your offer","transaction_fee":"Transaction Fee","vat":"V.A.T","you_make":"You\'ll make"},"booking_request_flow":{"approve_offer_form":{"close_button":"Close","succes_sub_title":"We have sent that to the tenant, who will need to pay and sign the legal agreements. We will notify you when its your turn to sign.","succes_title":"Offer sent"},"decline_reason_form":{"close":"Close","next_request":"Next Request","sub_title":"Let us know why this idea isn\'t suitable for your space","submit":"Decline","success_sub_title":"We\'ll let them know and onto the next one.","success_title":"Thanks for your speedy reply","title":"Are you sure?"},"next_request":"Next Request","no_pending_requests":"Close","propose_viewing_form":{"close":"Close","go_to_messages":"Go to messages","message_the_brand":"ask the brand a question first","next_request":"Next Request","or":"or","sub_title":"Now you can schedule a viewing. Simply suggest three viewing slots to the brand.","submit":"Send options","succes_sub_title":"The viewing options have been sent to the brand. You will receive a notification when they pick a slot. You can also message them in the chat.","succes_title":"Viewing options sent","title":"Schedule viewing"},"viewing_contact_will_propose_modal":{"succes_sub_title":"%{viewing_contact_first_name} %{viewing_contact_last_name} has been asked to arrange a viewing with them.","succes_title":"Thanks for your speedy reply"}},"brand_profile":{"booked_before":"Booked Before","launched":{"one":"%{count} Store Launched","other":"%{count} Stores Launched"},"member_since":"Member Since","price_point":"Price Point","social_reach":"Social Reach","stores_launched":"Stores Launched","trading_since":"Trading Since","verified":"Verified","website":"Website"},"chat_link":"Message Concierge","client_invoice_list":{"actions":{"download_client_credit_note":"Download Tenant Credit Note","download_client_invoice":"Download Tenant Invoice","download_commission_credit_note":"Download Commission Credit Note","download_commission_invoice":"Download Commission Invoice","download_contract":"Download Agreement"},"filter":{"completed":"Completed","upcoming":"Upcoming"},"headers":{"amount_due":"Gross rent due","amount_paid":"Gross rent due","brand":"Brand","de
24scription":"Description","due_on":"Due on","earned_by_landlord":"Payable","paid_on":"Rent due on","space":"Space","tenant":"Tenant","will_be_earned_by_landlord":"You\'ll earn"},"no_results":"Your invoices will appear here","title":"Transactions"},"finance":{"booked_and_paid":{"booked":"Booked","today":"Today"},"revenue_chart":{"empty":"Your revenue will appear here","heading":"Booked revenue"}},"message_brand_button":{"cta":"MESSAGE BRAND","tip":"This is an Instant Book request, so the brand has paid and signed. The booking will be finalised once you sign.","title":"Do you need more information from the Brand?"},"nav":{"footer":{"log_out":"Log out","settings":"Settings","you":"You"}},"new_employee_form":{"email":{"label":"Email"},"first_name":{"label":"First name"},"heading":"Invite someone","last_name":{"label":"Last Name"},"phone":{"label":"Phone"},"subheading":"To join your company","submit":{"label":"Invite someone"}},"performance":{"portfolio":{"filters":{"default":"All time","from_date_label":"From","heading":"Filters","reset":"Reset","to_date_label":"To"}},"reputation":{"coming_soon":"Coming soon","coming_soon_text":"Read reviews from your tenants and get insight to improve.","rating_explanation":{"one":"Your rating is %{count} star. Our landlord average rating is 4. To read more about how we calculate this visit our FAQs","other":"Your rating is %{count} stars. Our landlord average rating is 4. To read more about how we calculate this visit our FAQs"},"response_rate":"Response rate","response_rate_not_responded_yet":"You haven\'t responded to any ideas yet.","response_rate_you_are_responding":"You are responding to %{percentage}% of your ideas within 48 hours.","your_rating":"Your rating"},"your_listing":"Your search listing"},"place":{"search_preview":{"annual_footfall":"Annual footfall","from":"From","per_day":"/day","place":"Place","show_spaces":{"one":"Show 1 space here","other":"Show %{count} spaces here"},"units":"Units"},"your_listing_explanation":"This is how your place appears in our search results. Use the the link to see your place listing."},"place_list":{"space_count":{"one":"%{count} space","other":"%{count} spaces"}},"post_match":{"concierge_job_title":"In house retail expert","concierge_tooltip":"For any questions or queries about this idea use the link below to message me","duration_days":{"one":"%{count} Day","other":"%{count} Days"},"idea_by_tenant":"by %{tenant}","idea_concierge":"This idea\'s concierge","message_concierge":"Message %{concierge}","message_concierge_subject":null,"reply_to_concierge":"Reply"},"request_list":{"actions":{"download_client_invoice":{"one":"Download Client Invoice","other":"Download Client Invoice %{installment} of %{count}"},"download_commission_invoice":{"one":"Download Commission Invoice","other":"Download Commission Invoice %{installment} of %{count}"},"download_contract":"Download Agreement","manage_booking":"Manage Booking"},"booker":{"new":"New booker","repeat":"Repeat booker"},"duration":{"one":"%{count} day","other":"%{count} days"},"expires":"Expires midnight %{date}","fast_booking":"Fast Booking","submitted":{"one":"Submitted %{count} day ago","other":"Submitted %{count} days ago"}},"requests":{"actions":{"approve_idea":"Approve","propose_viewings":"Book a viewing","reject_idea":"Decline"},"appear_here_rating":"AH rating","approval_expiry_countdown":"Time remaining to approve:","assigned_concierge":"%{concierge}, the concierge for this idea","been_a_member_since":"%{company_name} has been a member since %{date}","booked_before":"Booked Before","brand_profile":"Brand profile","by":"idea by","declined_modal":{"body":"Unfortunately, %{ideaName} has been declined.","heading":"Idea declined"},"duration_in_days":"Days","empty":"Your ideas will appear here","estimated_value":"Est. value","for":"for","hide_calendar":"Hide Calendar","idea_by":"Idea by","idea_for_space":"Idea for %{space}","idea_verified":"Idea Verified","look_and_feel":"Look \\u0026 feel","member_since":"Member since","message_concierge":"Message %{concierge}","missing_social_media":"This brand has not added any social media links.","no_concierge_message":"We match every idea with a concierge. The concierge is an expert in launching stores, to help guide our brands through the process of booking your space.","other_request_spaces":{"one":"This brand has requested %{count} other space","other":"This brand has requested %{count} other spaces"},"post_match":{"title":"Manage this idea"},"reply_to_assigned_concierge":"Reply to %{concierge}, the concierge for this idea","show_calendar":"Show Calendar","social_reach":"Social reach","sort_by":"Sort by","stores_launched":"Stores launched","the_idea":"The idea","total_followers":{"heading":"Total followers"},"trust_and_reputation":"Trust \\u0026 Reputation"},"roles_form":{"add_a_new_person_cta":"Add new user","roles":{"admin":{"description":"This person will have access to all the areas in the business and control over the roles you\u2019ve assigned.","heading":"Who\'s in charge?","title":"Access all areas"},"apply_to_all":"These roles apply to all your spaces. To see roles specific to one space go to \'Spaces\' \\u003e choose space \\u003e \'Settings\' \\u003e \'Roles\'","finance":{"description":"All the finance updates will be sent to this person. They should also have permission to edit the billing details.","heading":"Who takes care of the numbers?","title":"Finance"},"ideas":{"description":"Like a magazine editor, this person will choose what ideas go in the space and send out the offers.","heading":"Who will review and approve ideas?","title":"Ideas"},"instant_booking_approval":{"description":"Email contact for instant bookings","heading":"Who will receive instant booking emails ?","title":"Instant Booking Approval"},"keys":{"description":"Who\'s in charge of keys for this Space?","title":"Keys"}
24,"legals":{"description":"Once the brand has accepted the offer and paid, the license agreement will be delivered to this person to sign online.","heading":"Who can sign the license agreement?","title":"Legal"},"no_assignee":"No one assigned","or":"or","person":"Person","settings":{"direct_chat":{"description":"Add multiple people to respond to all brands, through the secure platform chat.","sub_description":"* These roles can be changed for specific spaces","title":"Brand Chat"}},"space_settings":{"direct_chat":{"description":"Add multiple people to respond to brands that request this space, through the secure platform chat.","fallback":"Falls back to default roles","title":"Brand Chat"}},"tenancy":{"description":"Contact person during tenancy","title":"Tenancy"},"tenant_contact":{"description":"Email contact during tenancy","heading":"Who will be in touch with tenants ?","title":"Tenant Contact"},"title":"Roles - apply to all spaces","viewings":{"description":"This person will be responsible for arranging and attending viewings for this space.","title":"Viewings"}},"save_cta":"Save","space_only_roles":"These roles apply to this space only and they override any \\u003ca href=\\"/landlords/settings/roles/edit\\"\\u003egeneral roles\\u003c/a\\u003e.","space_roles_title":"Roles - apply only to this space"},"rules":{"form":{"description":"Whatever you write will appear on the space listing and in an appendix in the tenancy agreement.","no":"No","restricted_opening_hours":"Do you have restricted o
24pening hours?","weekdays":"Weekdays","weekends":"Weekends","yes":"Yes"}},"setting_company_form":{"sole_trader":"Small company","title":"Company details"},"setting_company_list":{"add_new":"Add new company details","edit":"Edit","title":"Select company details to edit"},"setting_payment_form":{"address":"Billing address","bank_account":"Bank account","bank_account_info":"This is how you\u2019ll receive brand payments for your spaces. ","same_as_registered":"Same as company address","save":"Save","title":"Payment details","vat":"V.A.T","vat_info":"If a valid VAT number is not entered, Appear Here will not charge VAT on the rent","vat_registered":"Registered"},"setting_payment_list":{"add_new":"Add new payment details","edit":"Edit","not_vat_registered":"Not VAT Registered","subtitle":"This is how you\u2019ll receive brand payments for your spaces.","title":"Select payment details to edit","vat_registered":"VAT Registered"},"setting_you_form":{"about":"About","idea_preference":"Email settings","reset_password":"Reset password","save":"Save","title":"Details"},"settings_payment_list":{"title":"Select payment details to edit"},"settings_tenancy_agreement_list":{"title":"View your tenancy agreements"},"space":{"available":"Available","booked":"Booked","calendar":"Calendar","calendar_guidance":"Click on the days below to mark them as available/unavailable","company_details":{"register_company":"Registered company","register_company_sub_title":"Choose a company for this space","title":"Company details"},"created_modal":{"add_details_button":"Save","add_details_helper":"The more we know about your space now, the sooner it\'s online and attracting ideas.","editorial_description":"Our editorial team will be in touch to schedule photography and get to work on copy for your space.","editorial_heading":"Next Steps","in_queue":"is now in the queue"},"in_residence":"In residence","live":"Published","map":{"hide":"Hide map","protip":"Drag the marker to set where your space appears in our search results so be as accurate as possible.","show":"Show map"},"no_one_in_residence":"There is no one in residence at the moment","payment_details":{"bank_account":"Bank account","bank_account_sub_title":"Choose a bank account to receive brand payments for this space. ","title":"Payment details"},"save":"Save","search_preview":{"day":"day","details":"Details","from":"from","month":"Month","week":"week"},"status":"Status","unavailable":"Unavailable","your_availability":"Space availability","your_listing":"Space listing","your_listing_explanation":"This is how your space appears in our search results. Use the link to see your space listing.","your_performance":"Space performance"},"space_leaderboard":{"no_results":"Nothing here yet!","sort_by":{"bookings":"Bookings","requests":"Ideas","views":"Views"},"sort_by_button":"Sort by","sort_direction":{"asc":"Bottom %{perPage}","desc":"Top %{perPage}"},"space":{"sorting_by":{"bookings":"bookings","requests":"ideas","views":"views"}},"view_all":"View more","view_less":"View less"},"space_list":{"sort":{"created_at":"Date added","name":"Name","pricing":"Pricing","published":"Published","size":"Size"},"sort_button":"Sort"},"space_list_item":{"calendar":"Availability","edit":"Edit space","not_published":"Space not published","pricing":"%{price} /week","toggle_label_published":"Publish","toggle_label_unpublished":"Publish"},"space_performance":{"average_days_title":"Average days","bookings":{"lengths":{"less_than_a_month":{"one":"%{count} less than a month","other":"%{count} less than a month"},"one_to_three_months":{"one":"%{count} was 1 - 3 months","other":"%{count} were 1 - 3 months"},"three_months_and_up":{"one":"%{count} was 3 months +","other":"%{count} were 3 months +"}},"title":"Bookings"},"bookings_count_title":"Total bookings","chart":{"bookings":"Bookings","empty":"Your performance will appear here","requests":"Ideas","title":"Site performance","views":"Views"},"count_title":"Total","declines":{"reasons":{"declined_by_landlord_date_conflict":{"one":"%{count} due to availability","other":"%{count} due to availability"},"declined_by_landlord_idea_unsuitable":{"one":"%{count} due to idea","other":"%{count} due to idea"},"declined_by_landlord_landlord_no_response":{"one":"%{count} due to you being too slow","other":"%{count} due to you being too slow"},"declined_by_tenant":{"one":"%{count} declined by brand","other":"%{count} declined by brand"}}},"declines_count_title":"total declined ideas","declines_title":"Declined ideas","median_value_title":"Median Value","request_to_booking_ratio":"(%{value}% of requests)","requests":{"outcomes":{"active":{"one":"%{count} active idea","other":"%{count} active ideas"},"declined_by_landlord":{"one":"You declined %{count} idea","other":"You declined %{count} ideas"},"declined_by_tenant":{"one":"They declined %{count}","other":"They declined %{count}"}},"title":"Ideas"},"requests_count_title":"Total ideas","total_days_title":"Total in days","total_value_title":"Total value"},"space_republish_form":{"message":"Please contact us to republish your space.","title":"Request republishing of %{space}"},"space_unpublish_form":{"message_label":"Tell us why you\'d like to remove this space
24:","message_placeholder":"I would like to remove %{space_name} because..","reasons":{"long_term_let":"Long term rental","not_enough_bookings":"Not enough bookings","not_enough_requests":"Not enough requests","other_reason":"Other","request_types":"Request types"},"submit":"Unpublish space"},"spaces":{"empty":"Nothing here!"},"subscription_preferences":{"idea_subscription_frequency":{"daily":{"description":"Fewer emails, but other landlords might beat you to the deal.","title":"Email me a daily summary of new ideas"},"instantly":{"description":"Have your finger on the pulse and reduce your chances of missing out.","title":"Email me ideas as soon as they get submitted"}}}},"map":{"default_centre":[40.7127,-74.0059],"tax_zone":{"heading":"Tax Zones","no_tax":"No Tax","zone":{"fr_vat":"FR VAT Tax Zone","gb_vat":"GB VAT Tax Zone","nl_vat":"NL VAT Tax Zone","us_los_angeles_sales_tax":"LA Sales Tax Zone","us_miami_sales_tax":"Miami Sales Tax Zone"}},"tax_zones":{"heading":null,"no_tax":"No Tax","zone":{"fr_vat":null,"gb_vat":null,"nl_vat":null,"us_los_angeles_tax_zone":null,"us_miami_sales_tax":null}},"tooltip":{"day":"/day","from":"From","place":"Place"}},"minimum_character_counter":{"missing_text":{"one":"Hey! That\'s not enough information for the landlord to approve your idea. Add at least %{count} more character.","other":"Hey! That\'s not enough information for the landlord to approve your idea. Add at least %{count} more characters."}},"moment":{"calendar":{"lastDay":"[Yesterday at] LT","lastWeek":"[Last] dddd [at] LT","nextDay":"[Tomorrow at] LT","nextWeek":"dddd [at] LT","sameDay":"[Today at] LT","sameElse":"L"},"calendar_days":{"nextDay":"[Tomorrow]","nextWeek":"dddd","sameDay":"[Today]","sameElse":"[Next] dddd"},"dayShortMonth":"D MMM","dayShortMonthYear":"D MMM YYYY","longDateFormat":{"L":"MM/DD/YYYY","LL":"D MMMM YYYY","LLL":"D MMMM YYYY h:mm a","LLLL":"dddd, D MMMM YYYY h:mm a","LT":"h:mm a","LTS":"h:mm:ss a"},"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"],"numericalMonthYear":"MM/YYYY","relativeTime":{"M":"a month","MM":"%d months","d":"a day","dd":"%d days","future":"in %s","h":"an hour","hh":"%d hours","m":"a minute","mm":"%d minutes","past":"%s ago","s":"a few seconds","y":"a year","yy":"%d years"},"shortMonthYear":"MMM YYYY","weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"partner_agreement_form":{"checkbox_error":"You need to accept the agreement to continue","checkbox_label":"%{landlordName} agrees to the Appear Here partner agreement.","footer":{"body":"Request a callback: \\u003ca href=\\"mailto:[email protected]?subject=Questions about Appear Here%27s new Landlord Partner Agreement\\u0026body=To+the+Service+Team+at+Appear+Here%2C+%0D%0A%0D%0AWe+have+some+questions+about+our+new+Landlord+Partner+Agreement.+Please+call+back+for+us+to+discuss+further.+%0D%0A%0D%0ABest+wishes%2C\\"\\[email protected]\\u003c/a\\u003e","header":"Any questions?"},"header":"Partner Agreement","signer":"%{signer} is required to agree","submit":"I agree to these terms","top":{"blurb":{"body":"To continue to use our service, \\u003cstrong\\u003eyour designated legal contact must agree to our new terms\\u003c/strong\\u003e. Your designated legal contact is %{signer}. If this information is incorrect, update your legal contact, \\u003ca href=\\"%{edit_roles_path}\\"\\u003eupdate legal contact\\u003c/a\\u003e.","title":"We want to ensure that we can continue providing exceptional value for both you and your space(s), \\u2028so we\u2019ve updated our Landlord Service Agreement."},"offer_warning":{"body":"To review and accept it, you need to agree to our new terms below.","icon_alt":"A warning icon","title":"Your offer is one click away."}},"update_roles":"Update your legal contact"},"pwd-verdict":{"medium":"Medium","strength":"Password strength","strong":"Strong","weak":"Weak"},"react_form":{"account_name":"Account holder name","account_number":"Account number","address_line_one":"Address line 1","address_line_two":"Address line 2","area":"Area","city":"City","company_name":"Company name","company_number":"Company number","country":"Country","email":"Email","first_name":"First name","full_name":"Company name (to appear on invoices)","house_number":"Street number/Building name","
24iban_number":"IBAN number","land_registry_municipality":"Municipality","land_registry_number":"Number","land_registry_section":"Section","last_name":"Last name","locality":"County / Region / State","neighbourhood":"Neighborhood","nextbtn":"Next","phone":"Phone","phone_number":"Phone number","postal_code":"Zip code","postcode":"Postcode / Zip code","routing_number":"Routing Number","sort_code":"Sort code","street_name":"Street name","subpremise":"Unit","swift_number":"Swift Number","time_zone":"Time zone","vat_number":"VAT number"},"requery_control":{"search_this_area":"Search this area"},"reset_password_modal":{"close":"Close","submit":"Submit","success":"Your password has been changed","title":"Password reset"},"service_fee":"Service Fee","service_fee_description":"This helps us run our platform and offer you dedicated customer service during your booking, as well as covering legals and transaction fees. It includes VAT.","settings":{"legals":{"basic_agreement":{"download":"Download Agreement","header":"Partnership agreement","summary_header":"In summary, you have agreed that","summary_item_1":"Any space you provide details for will be marketed on our platform.","summary_item_2":"Guests interested in booking your space will submit requests via our platform.","summary_item_3":"When you accept a booking via our platform, we collect payment and a 20% fee."},"custom":"You are using your own tenancy agreement.","download_tenancy":"Download","pro_agreement":{"download":"Download","download_hint":"Your contract will be available for downaload once it has been counter signed by us.","header":"Pro contract","summary_header":"In summary, you have agreed that","summary_item_1":"Pro services will include targeted marketing, concierge services and access to Appear Here Pro fit-out solutions.","summary_item_2":"You will pay a monthly fee for each of your Pro Spaces as well as a % commission on the rent, starting from the date that each space goes live on our platforms as a pro space.","summary_item_3":"Appear Here will be your exclusive agent for your Appear Here Pro spaces."},"standard":"You have opted in to use the Appear Here standard tenancy agreement.","tenancy_header":{"one":"Tenancy agreement","other":"Tenancy agreements"}}},"social_feed":{"show_less":"Show less","show_more":"Show more"},"social_initiative_description":"A % of the price will go towards funding social initiatives so we can give back to our community. You could help make other ideas happen \ud83d\udca1","social_links":{"facebook":"Share on Facebook","pintrest":"Share on Pintrest","twitter":"Share on Twitter"},"submit":{"loading":"Loading..."},"suggestions":{"button_text":"Deliver Suggestions","default_message":"Hi {{user_name}},\\n\\nI\'ve attached some suggestions for you below. Click through to review them - you can respond to the suggestion from that page and I\'ll be notified.\\n\\n{{concierge_name}}","default_subject":"New space suggestion","message_label":"Write your message"},"typeahead":{"headings":{"cities":"Cities","districts":"Districts","places":"Places"}},"us_states":{"AA":"Armed Forces Americas","AE":"Armed Forces Europe","AK":"Alaska","AL":"Alabama","AP":"Armed Forces Pacific","AR":"Arkansas","AS":"American Samoa","AZ":"Arizona","CA":"California","CO":"Colorado","CT":"Connecticut","DC":"District of Columbia","DE":"Delaware","FL":"Florida","GA":"Georgia","GU":"Guam","HI":"Hawaii","IA":"Iowa","ID":"Idaho","IL":"Illinois","IN":"Indiana","KS":"Kansas","KY":"Kentucky","LA":"Louisiana","MA":"Massachusetts","MD":"Maryland","ME":"Maine","MI":"Michigan","MN":"Minnesota","MO":"Missouri","MP":"Northern Mariana Islands","MS":"Mississippi","MT":"Montana","NC":"North Carolina","ND":"North Dakota","NE":"Nebraska","NH":"New Hampshire","NJ":"New Jersey","NM":"New Mexico","NV":"Nevada","NY":"New York","OH":"Ohio","OK":"Oklahoma","OR":"Oregon","PA":"Pennsylvania","PR":"Puerto Rico","RI":"Rhode Island","SC":"South Carolina","SD":"South Dakota","TN":"Tennessee","TX":"Texas","UM":"United States Minor Outlying Islands","UT":"Utah","VA":"Virginia","VI":"Virgin Islands U.S.","VT":"Vermont","WA":"Washington","WI":"Wisconsin","WV":"West Virginia","WY":"Wyoming"},"v2":{"landlords":{"features_form":{"head":"These are really important for potential ideas, so be honest so you can save time when it comes to viewings. ","save":"Save"},"ideas":{"panel_title":{"one":"1 Idea","other":"%{count} Ideas"},"search_placeholder":"Search for an idea"},"places":{"panel_title":{"one":"1 Place","other":"%{count} Places"}},"setting_company_form":{"address":"Registered address","required_details":"Required details","save":"Save","title":"Company details"},"space_location_form":{"address":"Address","part_1_of_4":"Part 1 of 4","part_2_of_4":"Part 2 of 4","part_3_of_4":"Part 3 of 4","save":"Save","size":"Size","what_can_it_be_used_for":"What can it be used for?"},"spaces":{"add_new_space":"Add new space","panel_title":{"one":"1 Space","other":"%{count} Spaces"},"search_placeholder":"Search for a space"},"summary_stats":{"finance":{"booked_revenue":"Booked revenue","paid":"Net amount earned","rent_collected":"Net rent c
24ollected"},"place":{"bookings_count":"Bookings","bookings_value":"Bookings","requests_value":"Ideas"},"places":{"live_places":"Published places","places_with_bookings":"Places with Bookings","places_with_ideas":"Places with ideas"},"portfolio":{"bookings":"Bookings","bookings_variation":"Bookings vs. last month","requests":"Ideas"},"requests":{"response_rate":"Response rate","total_value":"Total Value"},"space":{"bookings_count":"Bookings","bookings_value":"Bookings","requests_value":"Ideas"},"spaces":{"live_spaces":"Published spaces","spaces_with_bookings":"Spaces with Bookings","spaces_with_ideas":"Spaces with Ideas"}}},"protip_label":"Pro tip","space":{"cancellation_policies":{"default_policy_name":"Strict","description_for_space":"The Premises is subject to the Appear Here %{policyName} cancellation policy as detailed in the Appear Here Website %{termsOfUseLink}.","no_policy_name":"No policy","shorthard_name":"Cancellation","terms_of_use":"Terms of Use","terms_of_use_url":"https://www.appearhere.us/terms_of_use"},"covid_cancellation_policy":{"description":"In the event of a government imposed lockdown, the Premises is subject to the Appear Here COVID cancellation policy as detailed in the Appear Here Website %{termsOfUseLink}.","off_option":"Off","on_option":"On","terms_of_use":"Terms of Use","terms_of_use_url":"https://www.appearhere.us/terms_of_use"},"new_edit_form":{"address":{"heading":"Edit Address","search":{"label":"Search address","placeholder":"Street address","show_inputs":"Can\'t find your address?"}},"create_submit":"Add space","edit_heading":"Edit space","features":{"heading":"Amenities","helper_text":"These are really important. Be honest so you can save time when it comes to viewings."},"heading":"Add a space","location":{"heading":"Location"},"pricing":{"errors":{"annual_costs":"Some of those numbers don\'t appear to be right"},"headings":{"annual_costs":"Annual costs","deposit":"Deposit","list_pricing":"List pricing"},"helper_text":{"annual_costs":"Tell us how much you spend each year, and we\'ll recommend a list price","deposit":"This will be held by us during any tenancy. If you want to set deposit amounts based on booking duration, just let your landlord partner know and they\'ll update it for you.","list_pricing":"This is a recommended list price. Feel free to customize it.\\nWe suggest incentivising longer durations by reducing the weekly and monthly price.\\nRemember, we\'ll deduct our commission from the listed price for your space."},"labels":{"annual_costs":"Total Annual costs","deposit":"Security deposit","list_price_per_day":"Per day","list_price_per_month":"Per month","list_price_per_quarter":"Per quarter","list_price_per_week":"Per week","list_price_per_year":"Per year","rates":"Rates","rent":"Rent","service":"Service charge","utility":"Utility"}},"registry":{"heading":"Land Registry"},"rules":{"headings":{"additional_rules":"Additional rules","cancellation_policy":"Cancellation policy","covid_cancellation_policy":"Covid cancellation policy","opening":"Opening hours"},"helper_text":{"additional_rules":"Let brands know any additional rules they\'ll need to follow.","opening":"These will automatically be included in your legal agreeement for this space, so make sure they\'re accurate."},"save":"Save"},"size":{"heading":"Size","helper_text":"Doesn\'t have to be exact, just give us a rough idea."},"update_submit":"Save","uses":{"heading":"Type","helper_text":"This will help our brands find your space. If your space has multiple uses, you should select all that apply","protip":"These categories are used to filter searches"}},"notification":{"created":"Your space has been successfully added!","updated":"Your space has been successfully updated!"}}}},"number":{"currency":{"format":{"code":"USD","delimiter":",","format":"%u%n","precision":2,"separator":".","significant":false,"strip_insignificant_zeros":false,"thousands_separator":",","unit":"$"}}},"stripe":{"errors":{"amex_card":"American Express is currently not accepted as a payment method.","card_declined":"Your card was declined.","expired_card":"Your card has expired.","incorrect_cvc":"Your card\'s security code is incorrect.","incorrect_number":"Your card number is incorrect.","incorrect_zip":"Your card\'s zip code failed validation.","invali
24d_cvc":"Your card\'s security code is invalid.","invalid_expiry_month":"Your card\'s expiration month is invalid.","invalid_expiry_year":"Your card\'s expiration year is invalid.","invalid_number":"The card number is not a valid credit card number.","missing":"There is no card on a customer that is being charged.","processing_error":"An error occurred while processing the card.","rate_limit":"An error occurred due to requests hitting the API too quickly. Please let us know if you\'re consistently running into this error."}}}'), 25I18n.translations.fr=JSON.parse('{"admin":{"concierge":{"ideas":{"spaces":{"add_booking_request":"Ajouter une Demande","add_to_list_button":"Ajouter","declined_title":"Declined","hide_declined_spaces":"Masquer %{number} space(s)","no_selected_spaces":"Cette id\xe9e n\'a aucune demande en cours. Sugg\xe9rez des espaces ci-dessous.","no_suggestions":"This idea has no suggestions. Suggest some below.","search_for_spaces_to_suggest":"Rechercher des espaces \xe0 sugg\xe9rer","selected_title":"S\xe9lectionn\xe9","send_to_landlord":"Envoyer au Propri\xe9taire","show_declined_spaces":"Afficher %{number}","spaces_title":"Espaces","suggest_button":"Sugg\xe9rer","suggested_title":"Sugg\xe9r\xe9"}}}},"datetime":{"distance_in_words":{"about_x_hours":{"one":"environ une heure","other":"environ %{count} heures"},"about_x_months":{"one":"environ un mois","other":"environ %{count} mois"},"about_x_years":{"one":"environ un an","other":"environ %{count} ans"},"almost_x_years":{"one":"presqu\'un an","other":"presque %{count} ann\xe9es"},"half_a_minute":"une demi-minute","less_than_x_minutes":{"one":"moins d\'une minute","other":"moins de %{count} minutes","zero":"moins d\'une minute"},"less_than_x_seconds":{"one":"moins d\'une seconde","other":"moins de %{count} secondes","zero":"moins d\'une seconde"},"over_x_years":{"one":"plus d\'un an","other":"plus de %{count} ans"},"x_days":{"one":"1 jour","other":"%{count} jours"},"x_minutes":{"one":"1 minute","other":"%{count} minutes"},"x_months":{"one":"1 mois","other":"%{count} mois"},"x_seconds":{"one":"1 seconde","other":"%{count} secondes"}}},"ideas":{"show":{"booking_request":{"archive_error":"Impossible d\'archiver votre demande, une erreur est survenue."}}},"js":{"availability_form":{"calendar":"Calendrier","duration":{"label":"Dur\xe9e"},"durations":["0 - 5 ans","5 - 10 ans","10 - 15 ans","15+ ans"],"heading":"G\xe9nial !","long_term_let":"Engagement long terme avec %{name} \xe0 partir du %{startOn} jusqu\'au %{duration}.","name":{"label":"Avec Qui"},"prompt":"Un engagement \xe0 long terme? ","save":"Enregistrer","start_on":{"label":"\xc0 partir de "},"subheading":"Compl\xe9tez les informations","submit":{"label":"Ajouter une location \xe0 long terme"}},"availablitypicker":{"date_picker":{"format":"DD/MM/YY","long_format":"DD/MM/YYYY","months":["Janvier","F\xe9vrier","Mars","Avril","Mai","Juin","Juillet","Ao\xfbt","Septembre","Octobre","Novembre","D\xe9cembre"],"nextMonth":"Mois Suivant","previousMonth":"Mois Pr\xe9c\xe9dent","weekdays":["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],"weekdaysShort":["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"]}},"booking_requests":{"decline_modal":{"date_conflict":"Conflit de dates","idea_unsuitable":"L\'id\xe9e ne correspond pas"}},"bootstrap_datepicker":{"clear":"Effacer","days":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"daysMin":["d","l","ma","me","j","v","s"],"daysShort":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"format":"dd/mm/yyyy","months":["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"],"monthsShort":["janv.","f\xe9vr.","mars","avril","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],"today":"Aujourd\'hui","weekStart":1},"button":{"disable_with":{"loading":"Chargement..."}},"catch_line":"DONNEZ VIE \xc0 VOTRE ID\xc9E","character_counter":{"characters_remaining":{"one":"Caract\xe8res restants %{count}","other":"Caract\xe8res restants %{count}"}},"chat":{"load_all":"Tout afficher","load_more":"Voir plus","send_message":"Envoyer un Message","show_full_message":"Afficher le Message Complet"},"content_hub":{"guides":{"download":"T\xe9l\xe9charger","unlock":"D\xe9couvrir"}},"dropzone":{"error":"D\xe9sol\xe9, il y a eu un probl\xe8me. Veuillez r\xe9essayer ult\xe9rieurement.","limit_exceeded":{"one":"Vous ne pouvez pas t\xe9l\xe9charger plus d\'une image sans avoir un compte.","other":"
25Vous ne pouvez pas t\xe9l\xe9charger plus de %{count} sans avoir un compte."},"too_large":"Le document %{file_name} est trop volumineux. Veuillez soumettre un fichier en dessous de %{file_size}.","too_small":"Le document %{file_name} est top petit. Veuillez soumettre un fichier au dessus de %{file_size}."},"editorial":{"blog":{"heading":"Le Blog","related":"A venir","strap":"Ce qui se passe en ce moment, ici et ailleurs"},"events":{"heading":"\xc9v\xe9nements","related":"Autres \xe9v\xe9nements","strap":"Partagez une histoire, pr\xe9sentez une id\xe9e, participez au moment pr\xe9sent"},"guides":{"download_button":"T\xe9l\xe9charger le guide","heading":"Guides","related":"Autres guides","strap":"Tout ce que vous avez besoin de savoir pour lancer votre boutique","unlock_button":"D\xe9couvrir le guide"},"home":{"heading":"Votre dose inspirationnelle","strap":"D\xe9couvrez, apprenez, soyez inspir\xe9s gr\xe2ce \xe0 notre magazine mensuel."},"subnav":{"all":"Tous","blog":"Blog","events":"\xc9v\xe9nements","guides":"Guides","success_stories":"T\xe9moignages","videos":"Vid\xe9os"},"success_stories":{"action":"Action","aim":"Objectif","heading":"T\xe9moignages","related":"Autres t\xe9moignages","result":"R\xe9sultat","story_heading":"L\'histoire","strap":"Nos histoires pr\xe9f\xe9r\xe9es de ceux qui ont r\xe9alis\xe9 leurs id\xe9es"},"videos":{"heading":"Vid\xe9os","related":"Autres vid\xe9os","strap":"D\xe9couvrez les sessions, histoires et boutiques"}},"email":{"did_you_mean":"Vous vouliez dire %{suggestion}"},"feedback_form_overlay":{"cta":"Donner votre avis"},"form_validation":{"check":"Vous devez s\xe9lectionner entre %s et %s choix.","defaultMessage":"Cette valeur semble incorrecte.","equalto":"Cette valeur devrait \xeatre identique.","length":"Cette valeur doit contenir entre %s et %s caract\xe8res.","max":"Cette valeur doit \xeatre inf\xe9rieure ou \xe9gale \xe0 %s.","maxcheck":"Vous devez s\xe9lectionner un maximum de %s options.","maxlength":"Ceci est trop long. Maximum %s caract\xe8res.","min":"Cette valeur ne doit pas \xeatre inf\xe9rieure \xe0 %s.","mincheck":"Vous devez s\xe9lectionner au moins %s options.","minlength":"Ceci est trop court. Minimum %s caract\xe8res.","notblank":"Cette valeur ne peut pas \xeatre vide.","pattern":"Cette valeur semble non valide.","range":"Cette valeur doit \xeatre comprise entre %s et %s.","required":"Ce champ est requis.","type":{"alphanum":"Cette valeur n\'est pas une adresse email valide.","digits":"Cette valeur doit \xeatre num\xe9rique.","email":"Cette valeur n\'est pas une adresse email valide.","integer":"Cette valeur doit \xeatre un entier.","number":"Cette valeur doit \xeatre un nombre.","url":"Cette valeur n\'est pas une URL valide."}},"forms":{"disable_with_sending":"Envoi..."},"interactive-geocode":{"head":"S\xe9lectionnez une option et prenez le marqueur pour ajuster","no_errors_found":"Aucun r\xe9sultat trouv\xe9."},"jquery_time_picker":{"format":"G:i"},"landlord":{"booking_requests":{"status_button":{"offer_waiting":{"tooltip_body":"En attente du r\xe8glement et de la signature du contrat de %{idea_name}.","tooltip_title":"Statut : En attente de %{waiting_for}"},"pending_ll_signature":{"tooltip_body":"Nous avons envoy\xe9 un email \xe0 %{signatory_first_name} %{signatory_last_name} (%{signatory_email}) pour la signature du contrat.\\n\\nUne fois le contrat sign\xe9 par les deux parties la r\xe9servation sera confirm\xe9e.","tooltip_title":"En attente"},"pending_tenant_confirmation":{"tooltip_body":"En attente de validation du locataire pour cet espace. La demande passera ensuite \xe0 l\'\xe9tape de l\'offre, qu\'il ne vous restera plus qu\'\xe0 confirmer.","tooltip_title":"Statut : En attente"},"pending_tenant_info":{"tooltip_body":"En attente d\'information de la part du locataire.","tooltip_title":"En attente"},"submitted":{"tooltip_body":"En attente d\'information de la part du locataire.","tooltip_title":"Id\xe9e en attente d\'information de la part du locataire"},"tenant_confirmed":{"tooltip_body":"En attente de validation du locataire pour cet espace. La demande passera ensuite \xe0 l\'\xe9tape de l\'offre, qu\'il ne vous restera plus qu\'\xe0 confirmer.","tooltip_title":"Status: En attente"},"viewing_booked":{"tooltip_body":"%{viewing_time}","tooltip_title":"Visite R\xe9serv\xe9e"},"viewing_contact_propose":{"tooltip_body":"%{viewing_contact_first_name} %{viewing_contact_last_name} souhaite programmer une visite. \\n\\n%{viewing_contact_email}\\n%{viewing_contact_phone}","tooltip_title":"En attente"},"viewing_pending_tenant":{"tooltip_body":"%{idea_name} va bient\xf4t choisir une des plages horaires propos\xe9es, vous recevrez une confirmation de la visite avec leur choix.","tooltip_title":"En attente"}}},"covid_cancellation_policy":{"banner":{"change_decision":"Vous pouvez changer d\u2019avis \xe0 tout moment ","description":"En cas de nouveau confinement, les marques pourront demander de nouvelles dates dans les 6 mois et r\xe9gler la diff\xe9rence s\u2019il y en a une.","link_text":"D\xe9couvrez la politique d\u2019annulation ici","link_url":"https://www.appearhere.fr/terms_of_use","opt_in":"Appliquer \xe0 tous les espaces","opt_out":"Ne pas appliquer","title":"Pour aider les marques \xe0 louer votre espace en toute confiance, avez-vous mis en place notre nouvelle politique d\u2019annulation Covid-19 ? "},"opt_in_panel":{"cta":"Appliquer \xe0 tous les espaces","description":"Pour l\u2019appliquer \xe0 un espace en particulier, cliquez sur \u2018Espaces\u2019 \\u003e S\xe9lectionnez un espace \\u003e \'Modifier\' \\u003e \u2018R\xe8gles \xe0 suivre\u2019","title":"Pour aider les marques \xe0 louer votre espace en toute confiance, avez-vous mis en place notre nouvelle politique d\u2019annulation Covid-19 ? "},"success_panel":{"description":"Si vous changez d\u2019avis, cliquez sur \u2018Espaces\u2019 \\u003e S\xe9lectionnez un espace \\u003e \u2018Modifier\u2019 \\u003e \u2018R\xe8gles \xe0 suivre\u2019","title":"Merci d\u2019avoir appliqu\xe9 notre politique d\u2019annulation Covid-19"}},"dashboard":{"idea_in_residence":"En r\xe9sidence","idea_soon_in_residence":"A venir","idea_summary":{"action_label":"Nouvelles Id\xe9es","appearing_soon":"Appearing now + Appearing soon","booked":"%{total} r\xe9serv\xe9","discussing":"%{total} en cours ","new":"%{total} nouvelles Id\xe9es","offer":"%{total} offres en cours","title":"Id\xe9es"},"partner_agreement_banner":{"body":"Nous avons mis \xe0 jour notre Accord de Partenariat. Veuillez le lire et l\'accepter pour continuer d\'utiliser notre service.","cta":"Prenez connaissance et acceptez les nouvelles modalit\xe9s"},"response_summary":{"accepted":"%{total} accept\xe9es","action_label":"R\xe9putation","rejected":"%{total} rejet\xe9es","title":"Taux de r\xe9ponse"},"space_summary":{"action_label":"Nouvel Espace","published":"%{total} diffus\xe9s","residence":"%{total} en r\xe9sidence","title":"Espaces","unpublished":"%{total} Retir\xe9s"},"until":"Date de fin","welcome":"Contents de vous revoir %{name}"},"request_list_item":{"in":"en"},"service_request":{"answers":{"excellent":"Excellente","good":"Bonne","ok":"Moyenne","poor":"M\xe9diocre"},"question":"Nous sommes engag\xe9s \xe0 offrir le meilleur service possible - pourriez-vous \xe9valuer votre exp\xe9rience avec %{landlord_partner_name}
25, votre Partenaire Propri\xe9taire ?","title":"F\xe9licitations %{first_name}, votre premier espace vient d\'\xeatre diffus\xe9 sur Appear Here!"},"space_list_item":{"status_button":{"in_curation":{"tooltip_body":"Cette annonce est en cours de production, v\xe9rifiez ult\xe9rieurement.","tooltip_title":"En cours de production"},"incomplete":{"tooltip_body":"Cette annonce n\xe9cessite davantage d\'information pour sa diffusion","tooltip_title":"Annonce incompl\xe8te"},"pending_unpublish":{"tooltip_body":"Demande d\'arr\xeat de diffusion de cet espace","tooltip_title":"Espace en cours de retrait"}}}},"landlords":{"approve_idea_button":{"tip":"Approuvez l\u2019id\xe9e sans engagement pour \xe9changer directement avec la marque.","title":"Vous souhaitez en savoir plus ? "},"approve_offer_form":{"appearing":"Lancement","deposit":"D\xe9p\xf4t de garantie","disappearing":"Date de fin","idea_label":"Id\xe9e","mailto":"Envoyez un message \xe0 votre concierge si vous souhaitez faire des modifications.","rent":"Loyer (%{quantity})","service":"Frais de Service Appear Here","space_label":"Espace","sub_title":"Si vous envoyez l\'offre mais ne tenez pas votre engagement, votre score sera affect\xe9.","submit":"Accepter \\u0026 envoyer l\'Offre","title":"Votre offre ","transaction_fee":"Frais de transaction","vat":"T.V.A","you_make":"Votre revenu"},"booking_request_flow":{"approve_offer_form":{"close_button":"Fermer","succes_sub_title":"Ceci \xe0 \xe9t\xe9 envoy\xe9 au locataire, qui devra effectuer le r\xe8glement et signer le contrat. Nous vous contacterons lorsque ce sera votre tour de signer le contrat.","succes_title":"Offre envoy\xe9e"},"decline_reason_form":{"close":"Fermer","next_request":"Prochaine Demande","sub_title":"Aidez-nous \xe0 comprendre la ou les raisons pour lesquelles cette demande ne correspond pas","submit":"D\xe9cliner","success_sub_title":"Nous les informons, passons \xe0 la prochaine.","success_title":"Merci pour votre r\xe9activit\xe9","title":"Souhaitez-vous continuer? "},"next_request":"Prochaine Demande","no_pending_requests":"Fermer","propose_viewing_form":{"close":"Fermer","go_to_messages":"Voir les messages","message_the_brand":"Poser une question \xe0 la marque d\'abord","next_request":"Prochaine Demande","or":"ou","sub_title":"Vous pouvez d\xe9sormais planifier une visite en sugg\xe9rant trois cr\xe9neaux \xe0 la marque. ","submit":"Envoyer les options","succes_sub_title":"Les propositions de visite ont \xe9t\xe9 envoy\xe9es \xe0 la marque : vous recevrez une notification d\xe8s qu\u2019elle aura choisi un cr\xe9neau. Vous pouvez \xe9galement la contacter via le chat. ","succes_title":"Propositions de visite envoy\xe9es","title":"Programmer une visite"},"viewing_contact_will_propose_modal":{"succes_sub_title":"La visite sera assur\xe9e par %{viewing_contact_first_name} %{viewing_contact_last_name}.","succes_title":"Merci pour votre r\xe9activit\xe9"}},"brand_profile":{"booked_before":"A d\xe9j\xe0 r\xe9serv\xe9","launched":{"one":"%{count} Espace r\xe9serv\xe9","other":"%{count} Espaces r\xe9serv\xe9s"},"member_since":"Membre Depuis","price_point":"Prix de vente moyen","social_reach":"R\xe9seaux Sociaux","stores_launched":"Points de vente","trading_since":"En activit\xe9 depuis","verified":"V\xe9rifi\xe9","website":"Site Web"},"chat_link":"Contactez-Nous","client_invoice_list":{"actions":{"download_client_credit_note":"Enregistrer la Facture d\'Avoir","download_client_invoice":"T\xe9l\xe9chargez la Facture Locataire","download_commission_credit_note":"Enregistrer l\'Avoir sur Les Frais de Service","download_commission_invoice":"T\xe9l\xe9charger la Facture de Frais de service","download_contract":"T\xe9l\xe9charger le Contrat"},"filter":{"completed":"Conclues","upcoming":"\xc0 venir"},"headers":{"amount_due":"Montant d\xfb","amount_paid":"Montant r\xe9gl\xe9","brand":"Marque","description":"Description","due_on":"D\xfb le","earned_by_landlord":"Revenu","paid_on":"Loyer \xe9chu le","space":"Espace","tenant":"Locataire","will_be_earned_by_landlord":"Vous gagnerez"},"no_results":"Vos factures apparaitront ici","title":"Transactions"},"finance":{"booked_and_paid":{"booked":"R\xe9serv\xe9","today":"Aujourd\'hui"},"revenue_chart":{"empty":"Vos revenus apparaitront ici","heading":"Revenus confirm\xe9s"}},"message_brand_button":{"cta":"\xc9CRIRE \xc0 LA MARQUE","tip":"Ceci est une demande de r\xe9servation instantan\xe9e, la marque a donc pay\xe9 et sign\xe9. La r\xe9servation sera finalis\xe9e lorsque vous aurez sign\xe9. ","title":"Avez-vous besoin de plus d\u2019informations sur la marque ? "},"nav":{"footer":{"log_out":"D\xe9connexion","settings":"Mes param\xe8tres","you":"Vous"}},"new_employee_form":{"email":{"label":"Email"},"first_name":{"label":"Pr\xe9nom"},"heading":"Inviter quelqu\'un","last_name":{"label":"Nom"},"phone":{"label":"T\xe9l\xe9phone"},"subheading":"A rejoindre votre compte","submit":{"label":"Ajouter une personne"}},"performance":{"portfolio":{"filters":{"default":"Tous","from_date_label":"De","heading":"Filtres","reset":"R\xe9initialiser","to_date_label":"A"}},"reputation":{"coming_soon":"Prochainement","coming_soon_text":"Consultez les commentaires de vos locataires et d\xe9couvrez des informations indispensables pour am\xe9liorer la description de votre espace. ","rating_explanation":{"one":"Votre score est de %{count} \xe9toile. La moyenne du score d\'un propri\xe9taire est 4. Pour en savoir plus sur le calcul du score, voir la section FAQ","other":"
25Votre score est de %{count} \xe9toiles. La moyenne du score d\'un propri\xe9taire est de 4. Pour en savoir plus sur le calcul du score, voir la section FAQ"},"response_rate":"Taux de r\xe9ponse","response_rate_not_responded_yet":"Vous n\'avez pas encore r\xe9pondu aux id\xe9es pour votre espace.","response_rate_you_are_responding":"Vous avez r\xe9pondu \xe0 %{percentage}% de vos Id\xe9es sous 48 heures.","your_rating":"Votre score"},"your_listing":"Votre liste de recherche"},"place":{"search_preview":{"annual_footfall":"Passage annuel","from":"De","per_day":"/jour","place":"Lieu","show_spaces":{"one":"Afficher 1 espace ","other":"Afficher %{count} espaces"},"units":"Unit\xe9s"},"your_listing_explanation":"Voici la repr\xe9sentation de votre espace parmis les r\xe9sultats de la recherche, utilisez le lien pour consulter votre espace."},"place_list":{"space_count":{"one":"%{count} espace","other":"%{count} espaces"}},"post_match":{"concierge_job_title":"Votre concierge","concierge_tooltip":"Pour toute question \xe0 propos de cette id\xe9e, utilisez le lien ci-dessous pour m\'envoyer un message","duration_days":{"one":"%{count} Jour","other":"%{count} Jours"},"idea_by_tenant":"par %{tenant}","idea_concierge":"Le concierge pour cette id\xe9e","message_concierge":"Envoyez un message \xe0 %{concierge}","message_concierge_subject":null,"reply_to_concierge":"R\xe9pondre"},"request_list":{"actions":{"download_client_invoice":{"one":"T\xe9l\xe9charger la Facture Client","other":"T\xe9l\xe9charger la Facture Client %{installment} de %{count}"},"download_commission_invoice":{"one":"T\xe9l\xe9charger la Facture de Frais de service","other":"T\xe9l\xe9charger la Facture de Frais de service %{installment} de %{count}"},"download_contract":"T\xe9l\xe9charger le Contrat","manage_booking":"Consulter"},"booker":{"new":"Nouveau locataire","repeat":"Locataire r\xe9current"},"duration":{"one":"%{count} jour","other":"%{count} jours"},"expires":"Expire \xe0 minuit le %{date}","fast_booking":"Fast Booking","submitted":{"one":"Soumis il y a un jour","other":"Envoy\xe9 il y a %{count} jours"}},"requests":{"actions":{"approve_idea":"Approuver","propose_viewings":"Programmer une visite","reject_idea":"D\xe9cliner"},"appear_here_rating":"Score AH","approval_expiry_countdown":"Temps restant pour approuver : ","assigned_concierge":"%{concierge}, le concierge pour cette id\xe9e","been_a_member_since":"%{company_name} est un client depuis %{date}","booked_before":"Client r\xe9gulier","brand_profile":"Profil de la marque","by":"id\xe9e de","declined_modal":{"body":"%{ideaName} n\'a pas \xe9t\xe9 approuv\xe9e.","heading":"Id\xe9e non retenue"},"duration_in_days":"Jours","empty":"Vos id\xe9es apparaitront ici","estimated_value":"Valeur estim\xe9e","for":"pour","hide_calendar":"Masquer le calendrier","idea_by":"Id\xe9e de","idea_for_space":"Id\xe9e pour %{space}","idea_verified":"Id\xe9e V\xe9rifi\xe9e","look_and_feel":"Style et atmosph\xe8re","member_since":"Membre depuis","message_concierge":"Envoyer un message \xe0 %{concierge}","missing_social_media":"Cette marque n\'a ajout\xe9 aucun liens social media","no_concierge_message":"Nous associons chaque id\xe9e avec un Concierge. Le Concierge s\'appuie sur son expertise et guide nos marques au travers des diff\xe9rentes \xe9tapes pour r\xe9server votre espace.","other_request_spaces":{"one":"Cette marque a envoy\xe9 %{count} autre demande","other":"Cette marque a envoy\xe9 %{count} autres demandes"},"post_match":{"title":"G\xe9rer cette id\xe9e"},"reply_to_assigned_concierge":"R\xe9pondre \xe0 %{concierge}, concierge pour cette id\xe9e","show_calendar":"Afficher le calendrier","social_reach":"R\xe9seaux Sociaux","sort_by":"Classer par","stores_launched":"Points de vente","the_idea":"L\'id\xe9e","total_followers":{"heading":"Total followers"},"trust_and_reputation":"Confiance \\u0026 R\xe9putation"},"roles_form":{"add_a_new_person_cta":"Ajouter une personne","roles":{"admin":{"description":"Cette personne aura acc\xe9s \xe0 toutes les sections et controlera les r\xf4les que vous avez d\xe9sign\xe9s.","heading":"Qui est responsable? ","t
25itle":"Acc\xe9der \xe0 toutes les sections"},"apply_to_all":"Ces r\xf4les s\u2019appliquent \xe0 tous vos espaces. Pour retrouver les r\xf4les sp\xe9cifiques \xe0 un espace, cliquez sur \u2018Espaces\u2019 \\u003e choisissez l\u2019espace \\u003e \u2018R\xe9glages\u2019 \\u003e \u2018R\xf4les\u2019","finance":{"description":"Toutes les mises \xe0 jour comptables seront envoy\xe9es \xe0 cette personne, qui doit \xe9galement pouvoir modifier les donn\xe9es de facturation.","heading":"Qui s\'occupe des chiffres? ","title":"Finance"},"ideas":{"description":"Cette personne choisira les id\xe9es qui occuperont l\'espace et enverra les offres. ","heading":"Qui \xe9valuera et approuvera les id\xe9es?","title":"Id\xe9es"},"instant_booking_approval":{"description":"Adresse Email pour Instant Bookings","heading":"Qui recevra les emails pour Instant Book? ","title":"Approbation Instant Book"},"keys":{"description":"Qui est responsable des cl\xe9s pour cet espace? ","title":"Cl\xe9s"},"legals":{"description":"Une fois que la marque a accept\xe9 l\'offre et effectu\xe9 le r\xe8glement, le contrat lui sera envoy\xe9 \xe0 signer en ligne. ","heading":"Qui peut signer le contrat de location? ","title":"Contrats"},"no_assignee":"No one assigned","or":"ou","person":"Personne","settings":{"direct_chat":{"description":"Ajoutez plusieurs personnes pour r\xe9pondre \xe0 toutes les marques via la plateforme de chat s\xe9curis\xe9e.","sub_description":"* Ces r\xf4les peuvent \xeatre chang\xe9s et attribu\xe9s \xe0 des espaces sp\xe9cifiques","title":"Messagerie Instantan\xe9e"}},"space_settings":{"direct_chat":{"description":"Ajoutez plusieurs personnes pour r\xe9pondre \xe0 toutes les marques qui souhaitent r\xe9server cet espace, via la plateforme de chat s\xe9curis\xe9e.","fallback":"Retour aux r\xf4les par d\xe9faut:","title":"Messagerie instantan\xe9e"}},"tenancy":{"description":"Personne \xe0 contacter pendant la location","title":"Location"},"tenant_contact":{"description":"Email de la personne \xe0 contacter pendant la location","heading":"Qui sera en contact avec les Locataires ?","title":"Contact pour les Locataires"},"title":"R\xf4les - appliquer \xe0 tous les espaces","viewings":{"description":"Cette personne sera responsable de l\'organisation des visites et assurera les visites de cet espace.","title":"Visites"}},"save_cta":"Enregistrer","space_only_roles":"Ces r\xf4les s\u2019appliquent uniquement \xe0 cet espace et remplacent \\u003ca href=\\"/landlords/settings/roles/edit\\"\\u003eles r\xf4les appliqu\xe9s \xe0 tous les espaces\\u003c/a\\u003e.","space_roles_title":"R\xf4les - appliquer uniquement \xe0 cet espace"},"rules":{"form":{"description":"Tout ce que vous \xe9crirez appara\xeetra dans la section des r\xe8gles \xe0 suivre et en appendice du contrat de location.","no":"Non","restricted_opening_hours":"Les horaires d\'ouverture sont-ils limit\xe9s ?","weekdays":"Semaine","weekends":"Weekend","yes":"Oui"}},"setting_company_form":{"sole_trader":"Non inscrit au Registre du Commerce et des Soci\xe9t\xe9s","title":"Coordonn\xe9es de la soci\xe9t\xe9"},"setting_company_list":{"add_new":"Ajouter une nouvelle soci\xe9t\xe9","edit":"Modifier","title":"S\xe9lectionner la soci\xe9t\xe9 \xe0 modifier"},"setting_payment_form":{"address":"Adresse de facturation","bank_account":"Compte bancaire","bank_account_info":"This is how you\u2019ll receive brand payments for your spaces. ","same_as_registered":"Utiliser la m\xeame adresse","save":"Enregistrer","title":"Coordonn\xe9es bancaires","vat":"T.V.A","vat_info":"Si aucun num\xe9ro de TVA valide n\'est enregistr\xe9, Appear Here ne facturera pas la TVA sur le loyer.","vat_registered":"Enregistr\xe9"},"setting_payment_list":{"add_new":"Ajouter un compte pour les reversements","edit":"Modifier","not_vat_registered":"N\xb0 de TVA non enregistr\xe9 ","subtitle":"This is how you\u2019ll receive brand payments for your spaces.","title":"S\xe9lectionner le compte \xe0 modifier","vat_registered":"N\xb0 de TVA enregistr\xe9 "},"setting_you_form":{"about":"\xc0 propos","idea_preference":"Configuration de vos emails","reset_password":"R\xe9initiez votre mot de passe","save":"Sauvergarder","title":"Informations"},"settings_payment_list":{"title":"S\xe9lectionnez le compte de versement \xe0 modifer"},"settings_tenancy_agreement_list":{"title":"Consultez vos contrats de location"},"space":{"available":"Disponible","booked":"R\xe9serv\xe9","calendar":"Calendrier","calendar_guidance":"Cliquez sur les jours ci-dessous pour les marquer comme disponibles/indisponibles","company_details":{"register_company":"Soci\xe9t\xe9 enregistr\xe9e","register_company_
25sub_title":"S\xe9lectionnez une soci\xe9t\xe9 pour cet espace","title":"Coordonn\xe9es de la Soci\xe9t\xe9"},"created_modal":{"add_details_button":"Enregistrer","add_details_helper":"Plus nous en savons sur votre espace maintenant, le plus vite il sera mis en ligne et attirera des id\xe9es.","editorial_description":"Notre \xe9quipe de production vous contacte pour programmer la visite d\'un de nos photographes et composer la description de votre espace.","editorial_heading":"Prochaines Etapes","in_queue":"est maintenant en production"},"in_residence":"En R\xe9sidence ","live":"Diffus\xe9","map":{"hide":"Masquer la carte","protip":"Placez le curseur pour d\xe9finir l\'emplacement de votre espace, soyez aussi pr\xe9cis que possible.","show":"Afficher la carte"},"no_one_in_residence":"Personne ne loue cet espace en ce moment ","payment_details":{"bank_account":"Compte Bancaire","bank_account_sub_title":"S\xe9lectionnez un compte bancaire pour cet espace","title":"Reversements"},"save":"Enregistrer","search_preview":{"day":"jour","details":"Informations","from":"de","month":"Mois","week":"semaine"},"status":"Statut","unavailable":"Non disponible","your_availability":"Disponibilit\xe9 de l\'espace","your_listing":"Votre espace","your_listing_explanation":"Voici votre espace tel qu\'il apparait parmi les r\xe9sultats de recherche. Utilisez le lien pour visualiser votre annonce.","your_performance":"Performance de l\'espace"},"space_leaderboard":{"no_results":"Cette section reste \xe0 compl\xe9ter !","sort_by":{"bookings":"R\xe9servations","requests":"Id\xe9es","views":"Visites"},"sort_by_button":"Classer par","sort_direction":{"asc":"%{perPage} derni\xe8res","desc":"%{perPage} premi\xe8res"},"space":{"sorting_by":{"bookings":"r\xe9servations","requests":"id\xe9es","views":"visites"}},"view_all":"Voir plus","view_less":"Voir moins"},"space_list":{"sort":{"created_at":"Ajout\xe9 le ","name":"Nom","pricing":"Tarification","published":"Diffus\xe9s","size":"Surface"},"sort_button":"Classer par"},"space_list_item":{"calendar":"Disponibilit\xe9","edit":"Modifier l\'espace","not_published":"Espace non diffus\xe9","pricing":"%{price} / semaine","toggle_label_published":"Diffuser","toggle_label_unpublished":"Diffuser"},"space_performance":{"average_days_title":"Moyenne en jours","bookings":{"lengths":{"less_than_a_month":{"one":"%{count} moins d\'un mois","other":"%{count} moins d\'un mois"},"one_to_three_months":{"one":"%{count} entre 1 - 3 mois","other":"%{count} entre 1 - 3 mois"},"three_months_and_up":{"one":"%{count} de 3 mois et plus ","other":"%{count} de 3 mois et plus "}},"title":"R\xe9servations"},"bookings_count_title":"Total r\xe9servations","chart":{"bookings":"R\xe9servations","empty":"Votre performance sera affich\xe9e ici","requests":"Id\xe9es","title":"Visites, id\xe9es et r\xe9servations","views":"Visites"},"count_title":"Total","declines":{"reasons":{"declined_by_landlord_date_conflict":{"one":"%{count} en raison de la disponibilit\xe9","other":"%{count} en raison de la disponibilit\xe9"},"declined_by_landlord_idea_unsuitable":{"one":"%{count} \xe0 cause de l\'id\xe9e","other":"%{count} \xe0 cause de l\'id\xe9e"},"declined_by_landlord_landlord_no_response":{"one":"%{count} r\xe9ponse trop tardive","other":"%{count} r\xe9ponse trop tardive"},"declined_by_tenant":{"one":"%{count} la marque n\'a pas donn\xe9 suite ","other":"%{count} la marque n\'a pas donn\xe9 suite"}}},"declines_count_title":"Nombre d\'id\xe9es rejet\xe9es","declines_title":"Id\xe9es rejet\xe9es","median_value_title":"Valeur Moyenne","request_to_booking_ratio":"(%{value}% de demande)","requests":{"outcomes":{"active":{"one":"%{count} id\xe9e en cours","other":"%{count} id\xe9es en cours "},"declined_by_landlord":{"one":"Vous n\'avez pas donn\xe9 suite \xe0 %{count} id\xe9e","other":"Vous n\'avez pas donn\xe9 suite \xe0 %{count} id\xe9es"},"declined_by_tenant":{"one":"Ils n\'ont pas donn\xe9 suite %{count}","other":"Ils n\'ont pas donn\xe9 suite %{count}"}},"title":"Id\xe9es"},"requests_count_title":"Total des id\xe9es","total_days_title":"Total en jours","total_value_title":"Valeur totale "},"space_republish_form":{"message":"Please contact us to republish your space.","title":"Request republishing of %{space}"},"space_unpublish_form":{"message_label":"Pourquoi souhaitez-vous retirer cet espace : ","message_placeholder":"Je souhaite retirer %{space_name} car..","reasons":{"long_term_let":"Engagement \xe0 long terme","not_enough_bookings":"R\xe9servations insuffisantes","not_enough_requests":"Demandes insuffisantes","other_reason":"Autre","request_types":"Types de demande"},"submit":"Arr\xeater la diffusion de cet espace"},"spaces":{"empty":"Rien \xe0 voir !"},"subscription_preferences":{"idea_subscription_frequency":{"daily":{"de
25scription":"Moins d\'emails, mais d\'autres propri\xe9taires peuvent saisir les opportunit\xe9s avant vous. ","title":"Recevoir un r\xe9sum\xe9 de mes id\xe9es chaque jour"},"instantly":{"description":"Restez \xe0 l\'\xe9coute et ne laissez aucune opportunit\xe9 vous \xe9chapper.","title":"Recevoir les id\xe9es par email instantan\xe9ment"}}}},"map":{"default_centre":[48.8567,2.3508],"tax_zone":{"heading":"Tax Zones","no_tax":"No Tax","zone":{"fr_vat":"FR VAT Tax Zone","gb_vat":"GB VAT Tax Zone","nl_vat":"NL VAT Tax Zone","us_los_angeles_sales_tax":"LA Sales Tax Zone","us_miami_sales_tax":"Miami Sales Tax Zone"}},"tax_zones":{"heading":"Zones Fiscales","no_tax":null,"zone":{"fr_vat":"Zone Fiscale TVA FR","gb_vat":"Zone Fiscale TVA GB","nl_vat":"Zone Fiscale TVA NL","us_los_angeles_tax_zone":"Zone Fiscale LA US","us_miami_sales_tax":"Zone Fiscale Miami US"}},"tooltip":{"day":"/jour","from":"De","place":"Lieu"}},"minimum_character_counter":{"missing_text":{"one":"Hey! Il n\'y a pas suffisamment d\'info pour que le propri\xe9taire puisse \xe9valuer votre projet. Ajoutez au moins %{count} caract\xe8res.","other":"Hey! Il n\'y a pas suffisamment d\'info pour que le propri\xe9taire puisse \xe9valuer votre projet. Ajoutez au moins %{count} caract\xe8res."}},"moment":{"calendar":{"lastDay":"[Hier \xe0] LT","lastWeek":"dddd [\xe0] LT","nextDay":"[Demain \xe0] LT","nextWeek":"dddd [\xe0] LT","sameDay":"[Aujourd\'hui \xe0] LT","sameElse":"L"},"calendar_days":{"nextDay":"[Demain]","nextWeek":"dddd","sameDay":"[Aujourd\'hui]","sameElse":"dddd [prochain]"},"dayShortMonth":"D MMM","dayShortMonthYear":"D MMM YYYY","longDateFormat":{"L":"DD/MM/YYYY","LL":"D MMMM YYYY","LLL":"D MMMM YYYY HH:mm","LLLL":"dddd, D MMMM YYYY HH:mm","LT":"HH:mm","LTS":"HH:mm:ss"},"months":["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"],"monthsShort":["janv.","f\xe9vr.","mars","avril","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],"numericalMonthYear":"MM/YYYY","relativeTime":{"M":"un mois","MM":"%d mois","d":"un jour","dd":"%d jours","future":"dans %s","h":"une heure","hh":"%d heures","m":"une minute","mm":"%d minutes","past":"il y a %s","s":"quelques secondes","y":"un an","yy":"%d ans"},"shortMonthYear":"MMM YYYY","weekdays":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"weekdaysMin":["d","l","ma","me","j","v","s"],"weekdaysShort":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."]},"partner_agreement_form":{"checkbox_error":"Pour continuer, vous devez accepter les termes ","checkbox_label":"%{landlordName} accepte l\'Accord de Partenariat Appear Here.","footer":{"body":"Demander un rappel t\xe9l\xe9phonique: \\u003ca href=\\"mailto:[email protected]?subject=Questions+%C3%A0+propros+du+nouvel+Accord+de+Partenariat+Propri%C3%A9taire\\u0026body=A+l%27attention+de+l%27Equipe+Service+Client+chez+Appear+Here%2C%0D%0A%0D%0ANous+avons+des+questions+%C3%A0+propros+de+la+mise+%C3%A0+jour+de+notre+Accord+de+Partenariat+Propri%C3%A9taire.+Veuillez+nous+contacter+pour+en+parler%2C+%0D%0A%0D%0AMerci%2C\\"\\[email protected]\\u003c/a\\u003e","header":"Des questions? "},"header":"Accord de Partenariat","signer":"%{signer} est n\xe9cessaire pour accepter","submit":"J\'accepte les termes du partenariat","top":{"blurb":{"body":"Pour continuer d\'utiliser notre service, \\u003cstrong\\u003ela personne d\xe9sign\xe9e pour les contrats doit accepter le Contrat de Partenariat mis \xe0 jour\\u003c/strong\\u003e. La personne d\xe9sign\xe9e est %{signer}. Si vous souhaitez modifier le contact assign\xe9 pour la signature des contrats \\u003ca href=\\"%{edit_roles_path}\\"\\u003eupdate legal contact\\u003c/a\\u003e.","title":"La communaut\xe9 et la vision d\'Appear Here ont \xe9volu\xe9 consid\xe9rablement, nous avons mis \xe0 jour notre Contrat de Partenariat pour les Propri\xe9taires."},"offer_warning":{"body":"Pour consulter et approuver ce devis, acceptez la mise \xe0 jour des termes du Contrat de Partenariat ci-dessous. ","icon_alt":"A warning icon","title":"Votre devis est \xe0 un clic pr\xe8s. "}},"update_roles":"Modifier le contact pour les contrats"},"pwd-verdict":{"medium":"Moyen","strength":"Fiabilit\xe9 du mot de passe","strong":"Elev\xe9","
25weak":"Faible"},"react_form":{"account_name":"Titulaire du compte","account_number":"Num\xe9ro de compte","address_line_one":"Adresse 1","address_line_two":"Adresse 2","area":"Area","city":"Ville","company_name":"Soci\xe9t\xe9","company_number":"Num\xe9ro de soci\xe9t\xe9","country":"Pays","email":"Email","first_name":"Pr\xe9nom","full_name":"Nom de Soci\xe9t\xe9 \xe0 Facturer","house_number":"Street number/Building name","iban_number":"IBAN","land_registry_municipality":"Municipalit\xe9","land_registry_number":"Num\xe9ro","land_registry_section":"Section","last_name":"Nom","locality":"Commune, D\xe9partement, R\xe9gion","neighbourhood":"Neighbourhood","nextbtn":"Continuer","phone":"T\xe9l\xe9phone","phone_number":"T\xe9l\xe9phone","postal_code":"Postcode","postcode":"Code Postal","routing_number":"Routing Number","sort_code":"Code Guichet","street_name":"Street name","subpremise":"Unit","swift_number":"Num\xe9ro Swift","time_zone":"Fuseau horaire","vat_number":"Num\xe9ro de T.V.A."},"requery_control":{"search_this_area":"Chercher dans cette zone"},"reset_password_modal":{"close":"Fermer","submit":"Envoyer","success":"Mot de passe modifi\xe9","title":"R\xe9initier mot de passe"},"service_fee":"Frais de Service","service_fee_description":"Les Frais de Service contribuent \xe0 la gestion de la plateforme et \xe0 vous offrir un service d\xe9di\xe9 tout au long de votre recherche, jusqu\u2019\xe0 la r\xe9servation.","settings":{"legals":{"basic_agreement":{"download":"T\xe9l\xe9charger le Contrat","header":"Accord de Partneriat","summary_header":"En r\xe9sum\xe9, vous acceptez","summary_item_1":"Tout espace dont vous fournissez les informations sera diffus\xe9 sur notre plateforme.","summary_item_2":"Les clients int\xe9ress\xe9s par votre espace enverront leur(s) demande(s) par le biais de notre plateforme.","summary_item_3":"Lorsque vous acceptez une r\xe9servation par le biais de notre plateforme, nous encaissons le r\xe8glement qui inclut 20% de frais de service."},"custom":"Vous utilisez votre propre contrat locataire.","download_tenancy":"T\xe9l\xe9charger","pro_agreement":{"download":"T\xe9l\xe9charger","download_hint":"Vous pourrez t\xe9l\xe9charger votre contrat une fois qu\u2019il sera contresign\xe9 par nos soins.","header":"Contrat Pro","summary_header":"En r\xe9sum\xe9, vous acceptez","summary_item_1":"Les services Pro incluront du marketing cibl\xe9, un service de conciergerie et l\u2019acc\xe8s au service d\u2019am\xe9nagement d\u2019espaces Appear Here Pro.","summary_item_2":"Vous serez pr\xe9lev\xe9\xb7e d\u2019un forfait mensuel pour chacun de vos espaces Pro et d\u2019un pourcentage de commission sur le loyer, \xe0 partir de la date \xe0 laquelle chaque espace Pro sera mis en ligne.","summary_item_3":"Appear Here sera votre agent exclusif en ce qui concerne vos espaces Appear Here Pro."},"standard":"Vous avez choisi d\'utiliser le contrat de location standard r\xe9dig\xe9 par Appear Here","tenancy_header":{"one":"Contrat de Location","other":"Contrats de Location"}}},"social_feed":{"show_less":"Afficher moins","show_more":"Afficher plus"},"social_initiative_description":"Un pourcentage du prix sera consacr\xe9 au d\xe9veloppement d\u2019initiatives sociales pour soutenir notre communaut\xe9. Vous pourriez aider \xe0 donner vie \xe0 d\u2019autres id\xe9es \ud83d\udca1","social_links":{"facebook":"Partager sur Facebook","pintrest":"Partager sur Pintrest","twitter":"Partager sur Twitter"},"submit":{"loading":"Chargement..."},"suggestions":{"button_text":"Envoyez les Suggestions","default_message":"Bonjour {{user_name}},\\n\\nVoici quelques suggestions d\'espaces. Je vous invite \xe0 valider ou d\xe9cliner ces suggestions en acc\xe9dant \xe0 votre tableau de bord. \\n\\nCordialement,\\n\\n{{concierge_name}}","default_subject":"Nouvelles suggestions","message_label":"Ecrivez votre message"},"typeahead":{"headings":{"cities":"Villes","districts":"Quartiers","places":"Places"}},"us_states":{"AA":"Armed Forces Americas","AE":"Armed Forces Europe","AK":"Alaska","AL":"Alabama","AP":"Armed Forces Pacific","AR":"Arkansas","AS":"American Samoa","AZ":"Arizona","CA":"Californie","CO":"Colorado","CT":"Connecticut","DC":"District of Columbia","DE":"Delaware","FL":"Floride","GA":"G\xe9orgie","GU":"Guam","HI":"Hawa\xef","IA":"Iowa","ID":"Idaho","IL":"Illinois","IN":"Indiana","KS":"Kansas","KY":"Kentucky","LA":"Louisiane","MA":"Massachusetts","MD":"Maryland","ME":"Maine","MI":"Michigan","MN":"Minnesota","MO":"Missouri","MP":"Northern Mariana Islands","MS":"Mississippi","MT":"Montana","NC":"Caroline du Nord","ND":"Dakota du Nord","NE":"Nebraska","NH":"New Hampshire","NJ":"New Jersey","NM":"Nouveau-Mexique","NV":"Nevada","NY":"l\'\xe9tat de New York","OH":"Ohio","OK":"Oklahoma","OR":"Oregon","PA":"Pennsylvanie","PR":"Puerto Rico","RI":"Rhode Island","SC":"South Carolina","SD":"Dakota du Sud","TN":"Tennessee","TX":"Texas","UM":"United States Minor Outlying Islands","UT":"Utah","VA":"Virginie","VI":"Virgin Islands U.S.","VT":"Vermont","WA":"l\'\xe9tat de Washington","WI":"Wisconsin","WV":"Virginie-Occidentale","WY":"Wyoming"},"v2":{"landlords":{"features_form":{"head":"Ceux-ci sont tr\xe8s importants : prenez soin de bien les \xe9num\xe9rer, vous gagnerez du temps au moment des visites.","save":"Enregistrer"},"ideas":{"panel_title":{"one":"1 Id\xe9e","other":"%{count} Id\xe9es"},"search_placeholder":"Chercher une id\xe9e"},"places":{"panel_title":{"one":"1 lieu","other":"%{count} lieux"}},"setting_company_form":{"address":"Adresse officielle","required_details":"Informations requises","save":"Sauvergarder","title":"Coordonn\xe9es de la Soci\xe9t\xe9"},"space_location_form":{"address":"Adresse","part_1_of_4":"Etape 1 sur 4","part_2_of_4":"Etape 2 sur 4","part_3_of_4":"Etape 4 sur 4","save":"Sauvergarder","size":"Surface","what_can_it_be_used_for":"Quelle sont les utilisations possibles? "},"spaces":{"add_new_space":"Ajouter un nouvel espace","panel_title":{"one":"1 Espace","other":"%{count} Espaces"},"search_placeholder":"Chercher un espace"},"summary_stats":{"finance":{"booked_revenue":"Montant total des r\xe9servations","paid":"Revenu HT","rent_collected":"Loyer Per\xe7u HT"},"place":{"bookings_count":"R\xe9servations effectu\xe9es","bookings_value":"Montant des r\xe9servations","requests_value":"Valeur des id\xe9es"},"places":{"live_places":"Lieux diffus\xe9s","places_with_bookings":"Demandes pour des lieux","places_with_ideas":"Lieux avec des id\xe9es"},"portfolio":{"bookings":"R\xe9servations","bookings_variation":"vs R\xe9servations du mois dernier","requests":"Id\xe9es"},"requests":{"response_rate":"Taux de r\xe9ponse","total_value":"Montant Total"},"space":{"bookings_count":"R\xe9servations effectu\xe9es","bookings_value":"Valeur des r\xe9servations","requests_value":"Valeur des id\xe9es"},"spaces":{"live_spaces":"Espaces Diffus\xe9s","spaces_with_bookings":"Espaces avec R\xe9servations","spaces_with_ideas":"Espaces avec demandes"}}},"protip_label":"Conseil","space":{"cancellation_policies":{"default_policy_name":"Stricte","description_for_space":"Les Locaux Lou\xe9s sont soumis \xe0 la politique d\u2019annulation \u201c%{policyName}\u201d expliqu\xe9e dans la section %{termsOfUseLink} du site internet Appear Here.","no_policy_name":"Aucun politique","shorthard_name":"Annulation","terms_of_use":"Conditions d\u2019utilisation","terms_of_use_url":"https://www.appearhere.fr/terms_of_use"},"covid_cancellation_policy":{"description":"In the event of a government imposed lockdown, the Premises is subject to the Appear Here COVID cancellation policy as detailed in the Appear Here Website %{termsOfUseLink}.","off_option":"Off","on_option":"On","terms_of_use":"Conditions d\u2019utilisation","terms_of_use_url":"https://www.appearhere.fr/terms_of_use"},"new_edit_form":{"address":{"heading":"Edit Address","search":{"label":"Search address","placeholder":"Street address","show_inputs":"Can\'t find your address?"}},"create_submit":"Ajouter un espace","edit_heading":"Modifier l\'espace","features":{"heading":"\xc9quipements","helper_text":"Ceux-ci sont tr\xe8s importants : prenez soin de bien les \xe9num\xe9rer, vous gagnerez du temps au moment des visites."},"heading":"Ajouter un espace","location":{"heading":"Localisation"},"pricing":{"errors":{"annual_costs":"Ces chiffres semblent incorrects"},"headings":{"annual_costs":"Co\xfbts annuels","deposit":"D\xe9p\xf4t de garantie","list_pricing":"Tarif de votre espace"},"helper_text":{"annual_costs":"Confirmez vos co\xfbts et charges - nous nous occupons du reste.","deposit":"Voici le montant du d\xe9p\xf4t de garantie qui sera retenu par nos soins. Si vous souhaitez fixer un montant diff\xe9rent en fonction de la dur\xe9e de la location, contactez un membre de l\'\xe9quipe Partenariat Propri\xe9taires et ils modifieront ce montant.","list_pricing":"Voici le prix auquel votre espace sera propos\xe9. Vous pouvez l\'adapter en fonction de la dur\xe9e. Nous recommandons un tarif d\xe9gressif afin d\'encourager des r\xe9servations de plus longue dur\xe9e. Souvenez-vous que nos frais de service seront pr\xe9lev\xe9s sur ce tarif."},"labels":{"annual_costs":"Co\xfbts Annuel","deposit":"D\xe9p\xf4t de garantie","list_price_per_day":"Par Jour","list_price_per_month":"Par mois ","list_price_per_quarter":"Par Trimestre","list_price_per_week":"Par semaine","list_price_per_year":"Par an","rates":"Imp\xf4ts Foncier","rent":"Loyer","service":"Charges de copropi\xe9t\xe9","utility":"Charges de fonctionnement"}},"registry":{"heading":"Cadastre"},"rules":{"headings":{"additional_rules":"Les r\xe8gles \xe0 suivre","cancellation_policy":"Politique d\u2019annulation","covid_cancellation_policy":"Politique d\'Annulation COVID-19","opening":"Heures d\'ouverture"},"helper_text":{"additional_rules":"Stipulez toute r\xe8gle suppl\xe9mentaire que le locataire devra observer pendant la location","opening":"Les heures d\'ouverture seront ins\xe9r\xe9es sur le contrat de location de cet espace, assurez-vous que celles-ci sont correctes"},"save":"Enregistrer"},"size":{"heading":"Surface","helper_text":"Soyez aussi pr\xe9cis que possible."},"update_submit":"Sauvergarder","uses":{"heading":"Cat\xe9gorie","helper_text":"Quelle est la cat\xe9gorie de l\'espace ?","protip":"Ces cat\xe9gories sont utilis\xe9es pour filtrer les recherches"}},"notification":{"created":"Votre espace vient d\'\xeatre ajout\xe9 !","updated":"Votre espace vient d\'\xeatre mis \xe0 jour!"}}}},"number":{"currency":{"format":{"code":"EUR","delimiter":".","format":"%n%u","precision":0,"separator":",","significant":false,"strip_insignificant_zeros":false,"thous
25ands_separator":".","unit":" \u20ac"}}},"stripe":{"errors":{"amex_card":"La carte American Express n\'est pas accept\xe9e.","card_declined":"Votre carte a \xe9t\xe9 refus\xe9e.","expired_card":"Votre carte est expir\xe9e.","incorrect_cvc":"Le code de s\xe9curit\xe9 de la carte est incorrect.","incorrect_number":"Le num\xe9ro de carte est incorrect.","incorrect_zip":"La validation du code postal de la carte a \xe9chou\xe9.","invalid_cvc":"Le code de s\xe9curit\xe9 de la carte n\u2019est pas valide.","invalid_expiry_month":"Le mois d\u2019expiration de la carte n\u2019est pas valide.","invalid_expiry_year":"L\u2019ann\xe9e d\u2019expiration de la carte n\u2019est pas valide.","invalid_number":"Le num\xe9ro de carte n\u2019est pas un num\xe9ro de carte valide.","missing":"Aucun client associ\xe9 \xe0 cette carte","processing_error":"Une erreur est survenue lors du contr\xf4le de la carte.","rate_limit":"Une erreur est survenue en raison d\'un trop grand nombre de demandes vers le serveur. Veuillez nous contacter si vous rencontrez cette erreur syst\xe9matiquement."}}}'), 26I18n.translations.nl=JSON.parse('{"admin":{"concierge":{"ideas":{"spaces":{"add_booking_request":"Add Booking Request","add_to_list_button":"Add to List","declined_title":"Declined","hide_declined_spaces":"Hide %{number} space(s)","no_selected_spaces":"This idea has no active requests. Suggest some below.","no_suggestions":"This idea has no suggestions. Suggest some below.","search_for_spaces_to_suggest":"Search for spaces to suggest","selected_title":"Selected","send_to_landlord":"Send to Landlord","show_declined_spaces":"Show %{number}","spaces_title":"Spaces","suggest_button":"Suggest","suggested_title":"Suggested"}}}},"datetime":{"distance_in_words":{"about_x_hours":{"one":"ongeveer een uur","other":"ongeveer %{count} uur"},"about_x_months":{"one":"ongeveer een maand","other":"ongeveer %{count} maanden"},"about_x_years":{"one":"ongeveer een jaar","other":"ongeveer %{count} jaar"},"almost_x_years":{"one":"bijna een jaar","other":"bijna %{count} jaar"},"half_a_minute":"een halve minuut","less_than_x_minutes":{"one":"minder dan een minuut","other":"minder dan %{count} minuten"},"less_than_x_seconds":{"one":"minder dan een seconde","other":"minder dan %{count} seconden"},"over_x_years":{"one":"meer dan een jaar","other":"meer dan %{count} jaar"},"x_days":{"one":"1 dag","other":"%{count} dagen"},"x_minutes":{"one":"1 minuut","other":"%{count} minuten"},"x_months":{"one":"1 maand","other":"%{count} maanden"},"x_seconds":{"one":"1 seconde","other":"%{count} seconden"}}},"ideas":{"show":{"booking_request":{"archive_error":"Sorry something went wrong, we couldn\'t archive your booking request."}}},"js":{"availability_form":{"calendar":"Calendar","duration":{"label":"How Long"},"durations":["0 - 5 years","5 - 10 years","10 - 15 years","15+ years"],"heading":"Awesome!","long_term_let":"Long term let with %{name} starting %{startOn} for %{duration}.","name":{"label":"Who With"},"prompt":"Got a long term let?","save":"Save","start_on":{"label":"When From"},"subheading":"Fill us in on the details.","submit":{"label":"Add a long term let"}},"availablitypicker":{"date_picker":{"format":"DD/MM/YY","long_format":"DD/MM/YYYY","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"nextMonth":"Next Month","previousMonth":"Previous Month","weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}},"booking_requests":{"decline_modal":{"date_conflict":"Date conflict","idea_unsuitable":"Idea Unsuitable"}},"bootstrap_datepicker":{"clear":"Clear","days":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"daysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"daysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"format":"dd/mm/yyyy","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","weekStart":1},"button":{"disable_with":{"loading":"Loading..."}},"catch_line":"MAKE IDEAS HAPPEN","character_counter":{"characters_remaining":{"one":"Characters remaining %{count}","other":"Characters remaining %{count}"}},"chat":{"load_all":"Load all","load_more":"Load more","send_message":"Send Message","show_full_message":"Show Full Message"},"content_hub":{"guides":{"download":"Download","unlock":"Unlock"}},"dropzone":{"error":"Sorry, something went wrong. Please try again later.","limit_exceeded":{"one":"We\'re sorry but you cannot upload more than one image without an account.","other":"We\'re sorry but you cannot upload more than %{count} images without an account."},"too_large":"Sorry, the file %{file_name} is too large. Please submit one that is smaller than %{file_size}.","too_small":"Sorry, the file %{file_name} is too small. Please submit one that is bigger than %{file_size}."},"editorial":{"blog":{"heading":"The Blog","related":"Up next","stra
26p":"Explore the here, now and everywhere"},"events":{"heading":"Events","related":"Related events","strap":"Share a story, showcase an idea, be part of the moment"},"guides":{"download_button":"Download the guide","heading":"Guides","related":"Related guides","strap":"Everything you need to know to set up shop","unlock_button":"Unlock the guide"},"home":{"heading":"Inspiration Here","strap":"Our monthly magazine is a place to discover, learn and get inspired."},"subnav":{"all":"All","blog":"Editorial","events":"Events","guides":"Guides","success_stories":"Success Stories","videos":"Videos"},"success_stories":{"action":"Action","aim":"Aim","heading":"Success Stories","related":"Related stories","result":"Result","story_heading":"The story","strap":"Our favourite stories from those who made their idea happen"},"videos":{"heading":"Video Showcase","related":"Related videos","strap":"Discover the sessions, stories and shops"}},"email":{"did_you_mean":"Did you mean %{suggestion}"},"feedback_form_overlay":{"cta":"Give feedback"},"form_validation":{"check":"You must select between %s and %s choices.","defaultMessage":"This value seems to be invalid.","equalto":"This value should be the same.","length":"This value length is invalid. It should be between %s and %s characters long.","max":"This value should be lower than or equal to %s.","maxcheck":"You must select %s choices or fewer.","maxlength":"This value is too long. It should have %s characters or fewer.","min":"This value should be greater than or equal to %s.","mincheck":"You must select at least %s choices.","minlength":"This value is too short. It should have %s characters or more.","notblank":"This value should not be blank.","pattern":"This value seems to be invalid.","range":"This value should be between %s and %s.","required":"This value is required.","type":{"alphanum":"This value should be alphanumeric.","digits":"This value should be digits.","email":"This value should be a valid email.","integer":"This value should be a valid integer.","number":"This value should be a valid number.","url":"This value should be a valid url."}},"forms":{"disable_with_sending":"Sending..."},"interactive-geocode":{"head":"Select an option below and drag the marker to adjust","no_errors_found":"No results found."},"jquery_time_picker":{"format":"G:i"},"landlord":{"booking_requests":{"status_button":{"offer_waiting":{"tooltip_body":"Waiting for %{idea_name} to pay \\u0026 sign the legals.","tooltip_title":"Status: Waiting for %{waiting_for}"},"pending_ll_signature":{"tooltip_body":"We have sent an e-mail to %{signatory_first_name} %{signatory_last_name} (%{signatory_email}) to sign the legals.\\n\\nOnce the agreement is signed the booking will be confirmed. ","tooltip_title":"Waiting"},"pending_tenant_confirmation":{"tooltip_body":"Waiting on the tenant to confirm they like the space. The idea will then move into the offer stage, ready for you to confirm an offer.","tooltip_title":"Status: Waiting"},"pending_tenant_info":{"tooltip_body":"Waiting for information from the tenant.","tooltip_title":"Waiting"},"submitted":{"tooltip_body":"Waiting for information from the tenant.","tooltip_title":"Idea pending tenant info"},"tenant_confirmed":{"tooltip_body":"Waiting on the tenant to confirm they like the space. The idea will then move into the offer stage, ready for you to confirm an offer.","tooltip_title":"Status: Waiting"},"viewing_booked":{"tooltip_body":"%{viewing_time}","tooltip_title":"Viewing Booked"},"viewing_contact_propose":{"tooltip_body":"%{viewing_contact_first_name} %{viewing_contact_last_name} needs to arrange a viewing.\\n\\n%{viewing_contact_email}\\n%{viewing_contact_phone}","tooltip_title":"Waiting"},"viewing_pending_tenant":{"tooltip_body":"%{idea_name} is in the process of picking one of your proposed viewing times, you\u2019ll receive a viewing confirmation once they\u2019ve done this.","tooltip_title":"Waiting"}}},"covid_cancellation_policy":{"banner":{"change_decision":"You can always change your decision later on","description":"In case of a new lockdown, brands are allowed to request a new date in the following 6 months and pay the difference if there\u2019s any.","link_text":"Read the full policy here.","link_url":"https://www.appearhere.co.uk/terms_of_use","opt_in":"Opt-in for all spaces","opt_out":"Opt-out","title":"To help brands book your space with confidence, have you opted-in to our new covid-cancellation policy?"},"opt_in_panel":{"cta":"Opt-in for all spaces","description":"To enable for just a specific space go to \u2018Spaces\u2019 \\u003e Select a space \\u003e \u2018Edit\u2019 \\u003e \u2018Rules\u2019","title":"To help brands book your space with confidence, have you opted-in to our new covid-cancellation policy?"},"success_panel":{"description":"If you wish to change your decision at a later stage you can go to \u2018Spaces\u2019 \\u003e Select a space \\u003e \u2018Edit\u2019 \\u003e \u2018Rules\u2019","title":"Thanks for opting in to the covid cancellation policy."}},"dashboard":{"idea_in_residence":"Appearing now","idea_soon_in_residence":"Appearing soon","idea_summary":{"action_label":"New ideas","appearing_soon":"Appearing now + Appearing soon","booked":"%{total}
26 booked","discussing":"%{total} in discussion","new":"%{total} in new","offer":"%{total} in offer","title":"Ideas"},"partner_agreement_banner":{"body":"We have updated our Landlord Service agreement. Please read and agree to continue to use our service.","cta":"Read and agree to the new terms"},"response_summary":{"accepted":"%{total} accepted","action_label":"Rating","rejected":"%{total} rejected","title":"Response rate"},"space_summary":{"action_label":"Add space","published":"%{total} published","residence":"%{total} in residence","title":"Spaces","unpublished":"%{total} unpublished"},"until":"until","welcome":"Well hello there, %{name}"},"request_list_item":{"in":"in"},"service_request":{"answers":{"excellent":"Excellent","good":"Good","ok":"Average","poor":"Poor"},"question":"We want to make sure we always offer world-class service, so let us know how you found your experience with %{landlord_partner_name}, your landlord partner?","title":"Congratulations on publishing your first space, %{first_name}!"},"space_list_item":{"status_button":{"in_curation":{"tooltip_body":"The listing for this space is currently with our curation team, check back shortly ","tooltip_title":"In curation"},"incomplete":{"tooltip_body":"This listing requires more detail before it can be published","tooltip_title":"Incomplete listing"},"pending_unpublish":{"tooltip_body":"There is a request to unpublish this space","tooltip_title":"Space pending removal"}}}},"landlords":{"approve_idea_button":{"tip":"Approve idea without any commitment and you\u2019ll be able to chat directly with the brand.","title":"You like the idea but need more details?"},"approve_offer_form":{"appearing":"Appearing","deposit":"Deposit","disappearing":"Disappearing","idea_label":"Idea","mailto":"Message your concierge if you want to change anything.","rent":"Rent (%{quantity})","service":"Appear Here Service","space_label":"Space","sub_title":"If you send and do not fulfil the deal, your rating will be affected.","submit":"Agree \\u0026 send offer","title":"Your offer","transaction_fee":"Transaction Fee","vat":"V.A.T","you_make":"You\'ll make"},"booking_request_flow":{"approve_offer_form":{"close_button":"Close","succes_sub_title":"We have sent that to the tenant, who will need to pay and sign legals. We will notify you when its your turn to sign.","succes_title":"Offer sent"},"decline_reason_form":{"close":"Close","next_request":"Next Request","sub_title":"Let us know why this idea isn\'t suitable for your space","submit":"Decline","success_sub_title":"We\'ll let them know and onto the next one.","success_title":"Thanks for your speedy reply","title":"Are you sure?"},"next_request":"Next Request","no_pending_requests":"Close","propose_viewing_form":{"close":"Close","go_to_messages":"Go to messages","message_the_brand":"ask the brand a question first","next_request":"Next Request","or":"or","sub_title":"Now you can schedule a viewing. Simply suggest three viewing slots to the brand.","submit":"Send options","succes_sub_title":"The viewing options have been sent to the brand. You will receive a notification when they pick a slot. You can also message them in the chat.","succes_title":"Viewing options sent","title":"Schedule viewing"},"viewing_contact_will_propose_modal":{"succes_sub_title":"%{viewing_contact_first_name} %{viewing_contact_last_name} has been asked to arrange a viewing with them.","succes_title":"Thanks for your speedy reply"}},"brand_profile":{"booked_before":"Booked Before","launched":{"one":"%{count} Store Launched","other":"%{count} Stores Launched"},"member_since":"Member Since","price_point":"Price Point","social_reach":"Social Reach","stores_launched":"Stores Launched","trading_since":"Trading Since","verified":"Verified","website":"Website"},"chat_link":"Message Concierge","client_invoice_list":{"actions":{"download_client_credit_note":"Download Tenant Credit Note","download_client_invoice":"Download Tenant Invoice","download_commission_credit_note":"Download Commission Credit Note","download_commission_invoice":"Download Commission Invoice","download_contract":"Download Legals"},"filter":{"completed":"Completed","upcoming":"Upcoming"},"headers":{"amount_due":"Gross rent due","amount_paid":"Gross rent due","brand":"Brand","de
26scription":"Description","due_on":"Due on","earned_by_landlord":"Payable","paid_on":"Rent due on","space":"Space","tenant":"Tenant","will_be_earned_by_landlord":"You\'ll earn"},"no_results":"Your invoices will appear here","title":"Transactions"},"finance":{"booked_and_paid":{"booked":"Booked","today":"Today"},"revenue_chart":{"empty":"Your revenue will appear here","heading":"Booked revenue"}},"message_brand_button":{"cta":"MESSAGE BRAND","tip":"This is an Instant Book request, so the brand has paid and signed. The booking will be finalised once you sign.","title":"Do you need more information from the Brand?"},"nav":{"footer":{"log_out":"Log out","settings":"Settings","you":"You"}},"new_employee_form":{"email":{"label":"Email"},"first_name":{"label":"First name"},"heading":"Invite someone","last_name":{"label":"Last Name"},"phone":{"label":"Phone"},"subheading":"To join your company","submit":{"label":"Invite someone"}},"performance":{"portfolio":{"filters":{"default":"All time","from_date_label":"From","heading":"Filters","reset":"Reset","to_date_label":"To"}},"reputation":{"coming_soon":"Coming soon","coming_soon_text":"Read reviews from your tenants and get the insights to improve.","rating_explanation":{"one":"Your rating is %{count} star. Our landlord average rating is 4. To read more about how we calculate this visit our FAQs","other":"Your rating is %{count} stars. Our landlord average rating is 4. To read more about how we calculate this visit our FAQs"},"response_rate":"Response rate","response_rate_not_responded_yet":"You haven\'t responded to any ideas yet.","response_rate_you_are_responding":"You are responding to %{percentage}% of your ideas within 48 hours.","your_rating":"Your rating"},"your_listing":"Your search listing"},"place":{"search_preview":{"annual_footfall":"Annual footfall","from":"From","per_day":"/day","place":"Place","show_spaces":{"one":"Show 1 space here","other":"Show %{count} spaces here"},"units":"Units"},"your_listing_explanation":"This is how your place appears in our search results. Use the the link to see your place listing."},"place_list":{"space_count":{"one":"%{count} space","other":"%{count} spaces"}},"post_match":{"concierge_job_title":"In house retail expert","concierge_tooltip":"For any questions or queries about this idea use the link below to message me","duration_days":{"one":"%{count} Day","other":"%{count} Days"},"idea_by_tenant":"by %{tenant}","idea_concierge":"This idea\'s concierge","message_concierge":"Message %{concierge}","message_concierge_subject":null,"reply_to_concierge":"Reply"},"request_list":{"actions":{"download_client_invoice":{"one":"Download Client Invoice","other":"Download Client Invoice %{installment} of %{count}"},"download_commission_invoice":{"one":"Download Commission Invoice ","other":"Download Commission Invoice %{installment} of %{count}"},"download_contract":"Download Legals","manage_booking":"Manage Booking"},"booker":{"new":"New booker","repeat":"Repeat booker"},"duration":{"one":"%{count} day","other":"%{count} days"},"expires":"Expires midnight %{date}","fast_booking":"Fast Booking","submitted":{"one":"Submitted %{count} day ago","other":"Submitted %{count} days ago"}},"requests":{"actions":{"approve_idea":"Approve","propose_viewings":"Book a viewing","reject_idea":"Decline"},"appear_here_rating":"AH rating","approval_expiry_countdown":"Time remaining to approve:","assigned_concierge":"%{concierge}, the concierge for this idea","been_a_member_since":"%{company_name} has been a member since %{date}","booked_before":"Booked Before","brand_profile":"Brand profile","by":"idea by","declined_modal":{"body":"Unfortunately, %{ideaName} has been declined.","heading":"Idea declined"},"duration_in_days":"Days","empty":"Your ideas will appear here","estimated_value":"Est. value","for":"for","hide_calendar":"Hide Calendar","idea_by":"Idea by","idea_for_space":"Idea for %{space}","idea_verified":"Idea Verified","look_and_feel":"Look \\u0026 feel","member_since":"Member since","message_concierge":"Message %{concierge}","missing_social_media":"This brand has not added any social media links.","no_concierge_message":"We match every idea with a concierge. The concierge is an expert in launching stores, to help guide our brands through the process of booking your space.","other_request_spaces":{"one":"This brand has requested %{count} other space","other":"This brand has requested %{count} other spaces"},"post_match":{"title":"Manage this idea"},"reply_to_assigned_concierge":"Reply to %{concierge}, the concierge for this idea","show_calendar":"Show Calendar","social_reach":"Social reach","sort_by":"Sort by","stores_launched":"Stores launched","the_idea":"The idea","total_followers":{"heading":"Total followers"},"trust_and_reputation":"Trust \\u0026 Reputation"},"roles_form":{"add_a_new_person_cta":"Add new user","roles":{"admin":{"description":"This person will have access to all the areas in the business and control over the roles you\u2019ve assigned.","heading":"Who\'s in charge?","title":"Access all areas"},"apply_to_all":"These roles apply to all your spaces. To see roles specific to one space go to \'Spaces\' \\u003e choose space \\u003e \'Settings\' \\u003e \'Roles\'","finance":{"description":"All the finance updates will be sent to this person. They should also have permission to amend the billing details.","heading":"Who takes care of the numbers?","title":"Finance"},"ideas":{"description":"Like a magazine editor, this person will choose what ideas go in the space and send out the offers.","heading":"Who will review and approve ideas?","title":"Ideas"},"instant_booking_approval":{"description":"Email contact for instant bookings","heading":"Who will receive instant booking emails ?","title":"Instant Booking Approval"},"keys":{"description":"Who\'s in charge of keys for this Space?","title":"Keys"}
26,"legals":{"description":"Once the brand has accepted the offer and paid, the license agreement will be delivered to this person to sign online.","heading":"Who can sign the license agreement?","title":"Legals"},"no_assignee":"No one assigned","or":"or","person":"Person","settings":{"direct_chat":{"description":"Add multiple people to respond to all brands, through the secure platform chat.","sub_description":"* These roles can be changed for specific spaces","title":"Brand Chat"}},"space_settings":{"direct_chat":{"description":"Add multiple people to respond to brands that request this space, through the secure platform chat.","fallback":"Falls back to default roles","title":"Brand Chat"}},"tenancy":{"description":"Contact person during tenancy","title":"Tenancy"},"tenant_contact":{"description":"Email contact during tenancy","heading":"Who will be in touch with tenants ?","title":"Tenant Contact"},"title":"Roles - apply to all spaces","viewings":{"description":"This person will be responsible for arranging and attending viewings for this space. ","title":"Viewings"}},"save_cta":"Save","space_only_roles":"These roles apply to this space only and they override any \\u003ca href=\\"/landlords/settings/roles/edit\\"\\u003egeneral roles\\u003c/a\\u003e.","space_roles_title":"Roles - apply only to this space"},"rules":{"form":{"description":"Whatever you write will appear on the space listing and in an appendix in the tenancy agreement.","no":"No","restricted_opening_hours":"Do you have restricted o
26pening hours?","weekdays":"Weekdays","weekends":"Weekends","yes":"Yes"}},"setting_company_form":{"sole_trader":"Sole trader","title":"Company details"},"setting_company_list":{"add_new":"Add new company details","edit":"Edit","title":"Select company details to edit"},"setting_payment_form":{"address":"Billing address","bank_account":"Bank account","bank_account_info":"This is how you\u2019ll receive brand payments for your spaces. ","same_as_registered":"Same as company address","save":"Save","title":"Payment details","vat":"V.A.T","vat_info":"If a valid VAT number is not entered, Appear Here will not charge VAT on the rent","vat_registered":"Registered"},"setting_payment_list":{"add_new":"Add new payment details","edit":"Edit","not_vat_registered":"Not VAT Registered","subtitle":"This is how you\u2019ll receive brand payments for your spaces.","title":"Select payment details to edit","vat_registered":"VAT Registered"},"setting_you_form":{"about":"About","idea_preference":"Email settings","reset_password":"Reset password","save":"Save","title":"Details"},"settings_payment_list":{"title":"Select payment details to edit"},"settings_tenancy_agreement_list":{"title":"View your tenancy agreements"},"space":{"available":"Available","booked":"Booked","calendar":"Calendar","calendar_guidance":"Click on the days below to mark them as available/unavailable","company_details":{"register_company":"Registered company","register_company_sub_title":"Choose a company for this space","title":"Company details"},"created_modal":{"add_details_button":"Save","add_details_helper":"The more we know about your space now, the sooner it\'s online and attracting ideas.","editorial_description":"Our editorial team will be in touch to schedule photography and get to work on copy for your space.","editorial_heading":"Next Steps","in_queue":"is now in the queue"},"in_residence":"In residence","live":"Published","map":{"hide":"Hide map","protip":"Drag the marker to set where your space appears in our search results so be as accurate as possible. ","show":"Show map"},"no_one_in_residence":"There is no one in residence at the moment","payment_details":{"bank_account":"Bank account","bank_account_sub_title":"Choose a bank account to receive brand payments for this space. ","title":"Payment details"},"save":"Save","search_preview":{"day":"day","details":"Details","from":"from","month":"Month","week":"week"},"status":"Status","unavailable":"Unavailable","your_availability":"Space availability","your_listing":"Space listing","your_listing_explanation":"This is how your space appears in our search results. Use the link to see your space listing.","your_performance":"Space performance"},"space_leaderboard":{"no_results":"Nothing here yet!","sort_by":{"bookings":"Bookings","requests":"Ideas","views":"Views"},"sort_by_button":"Sort by","sort_direction":{"asc":"Bottom %{perPage}","desc":"Top %{perPage}"},"space":{"sorting_by":{"bookings":"bookings","requests":"ideas","views":"views"}},"view_all":"View more","view_less":"View less"},"space_list":{"sort":{"created_at":"Date added","name":"Name","pricing":"Pricing","published":"Published","size":"Size"},"sort_button":"Sort"},"space_list_item":{"calendar":"Availability","edit":"Edit space","not_published":"Space not published","pricing":"%{price} /week","toggle_label_published":"Publish","toggle_label_unpublished":"Publish"},"space_performance":{"average_days_title":"Average days","bookings":{"lengths":{"less_than_a_month":{"one":"%{count} less than a month","other":"%{count} less than a month"},"one_to_three_months":{"one":"%{count} was 1 - 3 months","other":"%{count} were 1 - 3 months"},"three_months_and_up":{"one":"%{count} was 3 months +","other":"%{count} were 3 months +"}},"title":"Bookings"},"bookings_count_title":"Total bookings","chart":{"bookings":"Bookings","empty":"Your performance will appear here","requests":"Ideas","title":"Site performance","views":"Views"},"count_title":"Total","declines":{"reasons":{"declined_by_landlord_date_conflict":{"one":"%{count} due to availability","other":"%{count} due to availability"},"declined_by_landlord_idea_unsuitable":{"one":"%{count} due to idea","other":"%{count} due to idea"},"declined_by_landlord_landlord_no_response":{"one":"%{count} due to you being too slow","other":"%{count} due to you being too slow"},"declined_by_tenant":{"one":"%{count} declined by brand","other":"%{count} declined by brand"}}},"declines_count_title":"total declined ideas","declines_title":"Declined ideas","median_value_title":"Median Value","request_to_booking_ratio":"(%{value}% of requests)","requests":{"outcomes":{"active":{"one":"%{count} active idea","other":"%{count} active ideas"},"declined_by_landlord":{"one":"You declined %{count} idea","other":"You declined %{count} ideas"},"declined_by_tenant":{"one":"They declined %{count}","other":"They declined %{count}"}},"title":"Ideas"},"requests_count_title":"Total ideas","total_days_title":"Total in days","total_value_title":"Total value"},"space_republish_form":{"message":"Please contact us to republish your space.","title":"Request republishing of %{space}"},"space_unpublish_form":{"message_label":"Tell us why you\'d like to remove this space
26:","message_placeholder":"I would like to remove %{space_name} because..","reasons":{"long_term_let":"Long term let","not_enough_bookings":"Not enough bookings","not_enough_requests":"Not enough requests","other_reason":"Other","request_types":"Request types"},"submit":"Unpublish space"},"spaces":{"empty":"Nothing here!"},"subscription_preferences":{"idea_subscription_frequency":{"daily":{"description":"Fewer emails, but other landlords might beat you to the deal.","title":"Email me a daily summary of new ideas"},"instantly":{"description":"Have your finger on the pulse and reduce your chances of missing out.","title":"Email me ideas as soon as they get submitted"}}}},"map":{"default_centre":[51.507222,-0.1275],"tax_zone":{"heading":"Tax Zones","no_tax":"No Tax","zone":{"fr_vat":"FR VAT Tax Zone","gb_vat":"GB VAT Tax Zone","nl_vat":"NL VAT Tax Zone","us_los_angeles_sales_tax":"LA Sales Tax Zone","us_miami_sales_tax":"Miami Sales Tax Zone"}},"tax_zones":{"heading":null,"no_tax":null,"zone":{"fr_vat":null,"gb_vat":null,"nl_vat":null,"us_los_angeles_tax_zone":null,"us_miami_sales_tax":null}},"tooltip":{"day":"/day","from":"From","place":"Place"}},"minimum_character_counter":{"missing_text":{"one":"Hey! That\'s not enough information for the landlord to approve your idea. Add at least %{count} more character.","other":"Hey! That\'s not enough information for the landlord to approve your idea. Add at least %{count} more characters."}},"moment":{"calendar":{"lastDay":"[Yesterday at] LT","lastWeek":"[Last] dddd [at] LT","nextDay":"[Tomorrow at] LT","nextWeek":"dddd [at] LT","sameDay":"[Today at] LT","sameElse":"L"},"calendar_days":{"nextDay":"[Tomorrow]","nextWeek":"dddd","sameDay":"[Today]","sameElse":"[Next] dddd"},"dayShortMonth":"D MMM","dayShortMonthYear":"D MMM YYYY","longDateFormat":{"L":"DD/MM/YYYY","LL":"D MMMM YYYY","LLL":"D MMMM YYYY HH:mm","LLLL":"dddd, D MMMM YYYY HH:mm","LT":"HH:mm","LTS":"HH:mm:ss"},"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"],"numericalMonthYear":"MM/YYYY","relativeTime":{"M":"a month","MM":"%d months","d":"a day","dd":"%d days","future":"in %s","h":"an hour","hh":"%d hours","m":"a minute","mm":"%d minutes","past":"%s ago","s":"a few seconds","y":"a year","yy":"%d years"},"shortMonthYear":"MMM YYYY","weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"partner_agreement_form":{"checkbox_error":"You need to accept the agreement to continue","checkbox_label":"%{landlordName} agrees to the Appear Here partner agreement.","footer":{"body":"Request a callback: \\u003ca href=\\"mailto:[email protected]?subject=Questions about Appear Here%27s new Landlord Partner Agreement\\u0026body=To+the+Service+Team+at+Appear+Here%2C+%0D%0A%0D%0AWe+have+some+questions+about+our+new+Landlord+Partner+Agreement.+Please+call+back+for+us+to+discuss+further.+%0D%0A%0D%0ABest+wishes%2C\\"\\[email protected]\\u003c/a\\u003e\\n","header":"Any questions?"},"header":"Partner Agreement","signer":"%{signer} is required to agree","submit":"I agree to these terms","top":{"blurb":{"body":"To continue to use our service, \\u003cstrong\\u003eyour designated legal contact must agree to our new terms\\u003c/strong\\u003e. Your designated legal contact is %{signer}. If this information is incorrect, update your legal contact, \\u003ca href=\\"%{edit_roles_path}\\"\\u003eupdate legal contact\\u003c/a\\u003e.","title":"We want to ensure that we can continue providing exceptional value for both you and your space(s), \\u2028so we\u2019ve updated our Landlord Service Agreement."},"offer_warning":{"body":"To review and accept it, you need to agree to our new terms below.","icon_alt":"A warning icon","title":"Your offer is one click away."}},"update_roles":"Update your legal contact"},"pwd-verdict":{"medium":"Medium","strength":"Password strength","strong":"Strong","weak":"Weak"},"react_form":{"account_name":"Account holder name","account_number":"Account number","address_line_one":"Address line 1","address_line_two":"Address line 2","area":"Area","city":"City","company_name":"Company name","company_number":"Company number","country":"Country","email":"Email","first_name":"First name","full_name":"Company name (to appear on invoices)","house_number":"Street number/Building name","
26iban_number":"IBAN number","land_registry_municipality":"Municipality","land_registry_number":"Number","land_registry_section":"Section","last_name":"Last name","locality":"County / Region / State","neighbourhood":"Neighbourhood","nextbtn":"Next","phone":"Phone","phone_number":"Phone number","postal_code":"Postcode","postcode":"Postcode / Zip code","routing_number":"Routing Number","sort_code":"Sort code","street_name":"Street name","subpremise":"Unit","swift_number":"Swift Number","time_zone":"Time zone","vat_number":"VAT number"},"requery_control":{"search_this_area":"Search this area"},"reset_password_modal":{"close":"Close","submit":"Submit","success":"Your password has been changed","title":"Password reset"},"service_fee":"Service Fee","service_fee_description":"This helps us run our platform and offer you dedicated customer service during your booking, as well as covering legals and transaction fees. It includes VAT.","settings":{"legals":{"basic_agreement":{"download":"Download Agreement","header":"Partnership agreement","summary_header":"In summary, you have agreed that","summary_item_1":"Any space you provide details for will be marketed on our platform.","summary_item_2":"Guests interested in booking your space will submit requests via our platform.","summary_item_3":"When you accept a booking via our platform, we collect payment and a 20% fee."},"custom":"You are using your own tenancy agreement.","download_tenancy":"Download","pro_agreement":{"download":"Download","download_hint":"Your contract will be available for downaload once it has been counter signed by us.","header":"Pro contract","summary_header":"In summary, you have agreed that","summary_item_1":"Pro services will include targeted marketing, concierge services and access to Appear Here Pro fit-out solutions.","summary_item_2":"You will pay a monthly fee for each of your Pro Spaces as well as a % commission on the rent, starting from the date that each space goes live on our platforms as a pro space.","summary_item_3":"Appear Here will be your exclusive agent for your Appear Here Pro spaces."},"standard":"You have opted in to use the Appear Here standard tenancy agreement.","tenancy_header":{"one":"Tenancy agreement","other":"Tenancy agreements"}}},"social_feed":{"show_less":"Show less","show_more":"Show more"},"social_initiative_description":"A % of the price will go towards funding social initiatives so we can give back to our community. You could help make other ideas happen \ud83d\udca1","social_links":{"facebook":"Share on Facebook","pintrest":"Share on Pintrest","twitter":"Share on Twitter"},"submit":{"loading":"Loading..."},"suggestions":{"button_text":"Deliver Suggestions","default_message":"Hi {{user_name}},\\n\\nI\'ve attached some suggestions for you below. Click through to review them - you can respond to the suggestion from that page and I\'ll be notified.\\n\\n{{concierge_name}}","default_subject":"New space suggestion","message_label":"Write your message"},"typeahead":{"headings":{"cities":"Cities","districts":"Districts","places":"Places"}},"us_states":{"AA":"Armed Forces Americas","AE":"Armed Forces Europe","AK":"Alaska","AL":"Alabama","AP":"Armed Forces Pacific","AR":"Arkansas","AS":"American Samoa","AZ":"Arizona","CA":"California","CO":"Colorado","CT":"Connecticut","DC":"District of Columbia","DE":"Delaware","FL":"Florida","GA":"Georgia","GU":"Guam","HI":"Hawaii","IA":"Iowa","ID":"Idaho","IL":"Illinois","IN":"Indiana","KS":"Kansas","KY":"Kentucky","LA":"Louisiana","MA":"Massachusetts","MD":"Maryland","ME":"Maine","MI":"Michigan","MN":"Minnesota","MO":"Missouri","MP":"Northern Mariana Islands","MS":"Mississippi","MT":"Montana","NC":"North Carolina","ND":"North Dakota","NE":"Nebraska","NH":"New Hampshire","NJ":"New Jersey","NM":"New Mexico","NV":"Nevada","NY":"New York","OH":"Ohio","OK":"Oklahoma","OR":"Oregon","PA":"Pennsylvania","PR":"Puerto Rico","RI":"Rhode Island","SC":"South Carolina","SD":"South Dakota","TN":"Tennessee","TX":"Texas","UM":"United States Minor Outlying Islands","UT":"Utah","VA":"Virginia","VI":"Virgin Islands U.S.","VT":"Vermont","WA":"Washington","WI":"Wisconsin","WV":"West Virginia","WY":"Wyoming"},"v2":{"landlords":{"features_form":{"head":"These are really important for potential ideas, so be honest so you can save time when it comes to viewings. ","save":"Save"},"ideas":{"panel_title":{"one":"1 Idea","other":"%{count} Ideas"},"search_placeholder":"Search for an idea"},"places":{"panel_title":{"one":"1 Place","other":"%{count} Places"}},"setting_company_form":{"address":"Registered address","required_details":"Required details","save":"Save","title":"Company details"},"space_location_form":{"address":"Address","part_1_of_4":"Part 1 of 4","part_2_of_4":"Part 2 of 4","part_3_of_4":"Part 3 of 4","save":"Save","size":"Size","what_can_it_be_used_for":"What can it be used for?"},"spaces":{"add_new_space":"Add new space","panel_title":{"one":"1 Space","other":"%{count} Spaces"},"search_placeholder":"Search for a space"},"summary_stats":{"finance":{"booked_revenue":"Booked Revenue","paid":"Net amount earned","rent_collected":"Net rent c
26ollected"},"place":{"bookings_count":"Bookings","bookings_value":"Bookings ","requests_value":"Ideas "},"places":{"live_places":"Published places","places_with_bookings":"Places with Bookings","places_with_ideas":"Places with ideas"},"portfolio":{"bookings":"Bookings","bookings_variation":"Bookings vs. last month","requests":"Ideas"},"requests":{"response_rate":"Response rate","total_value":"Total Value"},"space":{"bookings_count":"Bookings","bookings_value":"Bookings ","requests_value":"Ideas "},"spaces":{"live_spaces":"Published spaces","spaces_with_bookings":"Spaces with Bookings","spaces_with_ideas":"Spaces with Ideas"}}},"protip_label":"Pro tip","space":{"cancellation_policies":{"default_policy_name":"Strict","description_for_space":"The Premises is subject to the Appear Here %{policyName} cancellation policy as detailed in the Appear Here Website %{termsOfUseLink}.","no_policy_name":"No policy","shorthard_name":"Cancellation","terms_of_use":"Terms of Use","terms_of_use_url":"https://www.appearhere.co.uk/terms_of_use"},"covid_cancellation_policy":{"description":"In the event of a government imposed lockdown, the Premises is subject to the Appear Here COVID cancellation policy as detailed in the Appear Here Website %{termsOfUseLink}.","off_option":"Off","on_option":"On","terms_of_use":"Terms of Use","terms_of_use_url":"https://www.appearhere.co.uk/terms_of_use"},"new_edit_form":{"address":{"heading":"Edit Address","search":{"label":"Search address","placeholder":"Street address","show_inputs":"Can\'t find your address?"}},"create_submit":"Add space","edit_heading":"Edit space","features":{"heading":"Amenities","helper_text":"These are really important. Be honest so you can save time when it comes to viewings."},"heading":"Add a space","location":{"heading":"Location"},"pricing":{"errors":{"annual_costs":"Some of those numbers don\'t appear to be right"},"headings":{"annual_costs":"Annual costs","deposit":"Deposit","list_pricing":"List pricing"},"helper_text":{"annual_costs":"Tell us how much you spend each year, and we\'ll recommend a list price","deposit":"This will be held by us during any tenancy. If you want to set deposit amounts based on booking duration, just let your landlord partner know and they\'ll update it for you.","list_pricing":"This is a recommended list price. Feel free to customise it. \\nWe suggest incentivising longer durations by reducing the weekly and monthly price. \\nRemember, we\'ll deduct our commission from the listed price for your space."},"labels":{"annual_costs":"Total Annual costs","deposit":"Security deposit","list_price_per_day":"Per day","list_price_per_month":"Per month","list_price_per_quarter":"Per quarter","list_price_per_week":"Per week","list_price_per_year":"Per year","rates":"Rates","rent":"Rent","service":"Service charge","utility":"Utility"}},"registry":{"heading":"Land Registry"},"rules":{"headings":{"additional_rules":"Additional rules","cancellation_policy":"Cancellation policy","covid_cancellation_policy":"Covid cancellation policy","opening":"Opening hours"},"helper_text":{"additional_rules":"Let brands know any additional rules they\'ll need to follow.","opening":"These will automatically be included in your tenancy agreement for this space, so make sure they\'re accurate."},"save":"Save"},"size":{"heading":"Size","helper_text":"Doesn\'t have to be exact, just give us a rough idea."},"update_submit":"Save","uses":{"heading":"Type","helper_text":"This will help our brands find your space. If your space has multiple uses, you should select all that apply","protip":"These categories are used to filter searches"}},"notification":{"created":"Your space has been successfully added!","updated":"Your space has been successfully updated!"}}}},"number":{"currency":{"format":{"code":"GBP","delimiter":".","format":"%u %n","precision":2,"separator":",","significant":false,"strip_insignificant_zeros":false,"thousands_separator":",","unit":"\u20ac"}}},"stripe":{"errors":{"amex_card":"American Express is currently not accepted as a payment method.","card_declined":"Your card was declined.","expired_card":"Your card has expired.","incorrect_cvc":"Your card\'s security code is incorrect.","incorrect_number":"Your card number is incorrect.","incorrect_zip":"Your card\'s zip code failed validation.","invali
26d_cvc":"Your card\'s security code is invalid.","invalid_expiry_month":"Your card\'s expiration month is invalid.","invalid_expiry_year":"Your card\'s expiration year is invalid.","invalid_number":"The card number is not a valid credit card number.","missing":"There is no card on a customer that is being charged.","processing_error":"An error occurred while processing the card.","rate_limit":"An error occurred due to requests hitting the API too quickly. Please let us know if you\'re consistently running into this error."}}}'), 27$(function(){$(document).on("open.fndtn.reveal","[data-reveal]",function(){$(document.body).addClass("modal-open")}),$(document).on("close.fndtn.reveal","[data-reveal]",function(){$(document.body).removeClass("modal-open")})}),$(function(){$(document.body).on("ajax:success","[data-remote][data-target]",function(e,t,n,i){var o=$(this),r=o.data("target");i.getResponseHeader("content-type").indexOf("html")>0&&("this"===r?o.replaceWith(t):$(r).replaceWith(t))})}),function(){function e(t){var n=e.modules[t];if(!n)throw new Error('failed to require "'+t+'"');return"exports"in n||"function"!=typeof n.definition||(n.client=n.component=!0,n.definition.call(this,n.exports={},n),delete n.definition),n.exports}e.modules={},e.register=function(t,n){e.modules[t]={definition:n}},e.define=function(t,n){e.modules[t]={exports:n}},e.register("dropzone",function(t,n){n.exports=e("dropzone/lib/dropzone.js")}),e.register("dropzone/lib/dropzone.js",function(e,t){(function(){var e,n,i,o,r,s,a,l,u=[].slice,c={}.hasOwnProperty,d=function(e,t){function n(){this.constructor=e}for(var i in t)c.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};a=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,i,o,r;if(i=arguments[0],e=2<=arguments.length?u.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[i])for(o=0,r=n.length;o<r;o++)t=n[o],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,i,o,r;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(!(n=this._callbacks[e]))return this;if(1===arguments.length)return delete this._callbacks[e],this;for(i=o=0,r=n.length;o<r;i=++o)if(n[i]===t){n.splice(i,1);break}return this},e}(),e=function(e){function t(e,n){var o,r,s;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,o=null!=(s=t.optionsForElement(this.element))?s:{},this.options=i({},this.defaultOptions,o,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(r=this.getExistingFallback())&&r.parentNode&&r.parentNode.removeChild(r),!1!==this.options.previewsContainer&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(!0===this.options.clickable?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var i,o;return d(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:100,thumbnailHeight:100,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,capture:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olde
27n days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return a},forceFallback:!1,fallback:function(){var e,n,i,o,r,s;for(this.element.className=this.element.className+" dz-browser-not-supported",s=this.element.getElementsByTagName("div"),o=0,r=s.length;o<r;o++)e=s[o],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(n)),i=n.getElementsByTagName("span")[0],i&&(i.textContent=this.options.dictFallbackMessage),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,i;return t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},n=e.width/e.height,t.optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=n*t.optHeight:null==t.optHeight&&(t.optHeight=1/n*t.optWidth),i=t.optWidth/t.optHeight,e.height<t.optHeight||e.width<t.o
vendor: 4,076 bytes, line 27
27ptWidth?(t.trgHeight=t.srcHeight,t.trgWidth=t.srcWidth):n>i?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*i):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/i),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(){return this.element.classList.remove("dz-drag-hover")},dragstart:a,dragend:function(){return this.element.classList.remove("dz-drag-hover")},dragenter:function(){return this.element.classList.add("dz-drag-hover")},dragover:function(){return this.element.classList.add("dz-drag-hover")},dragleave:function(){return this.element.classList.remove("dz-drag-hover")},paste:a,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,i,o,r,s,a,l,u,c,d,h,p,f;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=t.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),d=e.previewElement.querySelectorAll("[data-dz-name]"),r=0,l=d.length;r<l;r++)n=d[r],n.textContent=e.name;for(h=e.previewElement.querySelectorAll("[data-dz-size]"),s=0,u=h.length;s<u;s++)n=h[s],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink)),i=function(n){return function(i){return i.preventDefault(),i.stopPropagation(),e.status===t.UPLOADING?t.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(e)}):n.options.dictRemoveFileConfirmation?t.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(e)}):n.removeFile(e)}}(this),p=e.previewElement.querySelectorAll("[data-dz-remove]"),f=[],a=0,c=p.length;a<c;a++)o=p[a],f.push(o.addEventListener("click",i));return f}},removedfile:function(e){var t;return e.previewElement&&null!=(t=e.previewElement)&&t.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){var n,i,o,r,s;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),e.previewElement.classList.add("dz-image-preview"),r=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),s=[],i=0,o=r.length;i<o;i++)n=r[i],n.alt=e.name,s.push(n.src=t);return s}},error:function(e,t){var n,i,o,r,s;if(e.previewElement){for(e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error),r=e.previewElement.querySelectorAll("[data-dz-errormessage]"),s=[],i=0,o=r.length;i<o;i++)n=r[i],s.push(n.textContent=t);return s}},errormultiple:a,processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.textContent=this.options.dictCancelUpload},processingmultiple:a,uploadprogress:function(e,t){var n,i,o,r,s;if(e.previewElement){for(r=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),s=[],i=0,o=r.length;i<o;i++)n=r[i],"PROGRESS"===n.nodeName?s.push(n.value=t):s.push(n.style.width=t+"%");return s}},totaluploadprogress:a,sending:a,sendingmultiple:a,success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:a,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:a,complete:function(e){if(e._removeLink)return e._removeLink.textContent=this.options.dictRemoveFile},completemultiple:a,maxfilesexceeded:a,maxfilesreached:a,queuecomplete:a,previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-details">\n <div class="dz-filename"><span data-dz-name></span></div>\n <div class="dz-size" data-dz-size></div>\n <img data-dz-thumbnail />\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-success-mark"><span>\u2714</span></div>\n <div class="dz-error-mark"><span>\u2718</span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n</div>'},i=function(){var e,t,n,i,o,r,s;
27for(i=arguments[0],n=2<=arguments.length?u.call(arguments,1):[],r=0,s=n.length;r<s;r++){t=n[r];for(e in t)o=t[e],i[e]=o}return i},t.prototype.getAcceptedFiles=function(){var e,t,n,i,o;for(i=this.files,o=[],t=0,n=i.length;t<n;t++)e=i[t],e.accepted&&o.push(e);return o},t.prototype.getRejectedFiles=function(){var e,t,n,i,o;for(i=this.files,o=[],t=0,n=i.length;t<n;t++)e=i[t],e.accepted||o.push(e);return o},t.prototype.getFilesWithStatus=function(e){var t,n,i,o,r;for(o=this.files,r=[],n=0,i=o.length;n<i;n++)t=o[n],t.status===e&&r.push(t);return r},t.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(t.QUEUED)},t.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(t.UPLOADING)},t.prototype.getActiveFiles=function(){var e,n,i,o,r;for(o=this.files,r=[],n=0,i=o.length;n<i;n++)e=o[n],e.status!==t.UPLOADING&&e.status!==t.QUEUED||r.push(e);return r},t.prototype.init=function(){var e,n,i,o,r,s,a;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(t.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&(i=function(e){return function(){return e.hiddenFileInput&&document.body.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null==e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!=e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!=e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",document.body.appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",function(){var t,n,o,r;if(n=e.hiddenFileInput.files,n.length)for(o=0,r=n.length;o<r;o++)t=n[o],e.addFile(t);return i()})}}(this))(),this.URL=null!=(s=window.URL)?s:window.webkitURL,a=this.events,o=0,r=a.length;o<r;o++)e=a[o],this.on(e,this.options[e]);return this.on("uploadprogress",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("canceled",function(e){return function(t){return e.emit("complete",t)}}(this)),this.on("complete",function(e){return function(){if(0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length)return setTimeout(function(){return e.emit("queuecomplete")},0)}}(this)),n=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(e){return function(t){return e.emit("dragstart",t)}}(this),dragenter:function(e){return function(t){return n(t),e.emit("dragenter",t)}}(this),dragover:function(e){return function(t){var i;try{i=t.dataTransfer.effectAllowed}catch(e){}return t.dataTransfer.dropEffect="move"===i||"linkMove"===i?"move":"copy",n(t),e.emit("dragover",t)}}(this),dragleave:function(e){return function(t){return e.emit("dragleave",t)}}(this),drop:function(e){return function(t){return n(t),e.drop(t)}}(this),dragend:function(e){return function(t){return e.emit("dragend",t)}}(this)}}],this.clickableElements.forEach(function(e){return function(n){return e.listeners.push({element:n,events:{click:function(i){if(n!==e.element||i.target===e.element||t.elementInside(i.target,e.element.querySelector(".dz-message")))return e.hiddenFileInput.click()}}})}}(this)),this.enable(),this.options.init.call(this)},t.prototype.destroy=function(){var e;return this.disable(),this.removeAllFiles(!0),(null!=(e=this.hiddenFileInput)?e.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,t.instances.splice(t.instances.indexOf(this),1)},t.prototype.updateTotalUploadProgress=function(){var e,t,n,i,o,r,s,a;if(i=0,n=0,e=this.getActiveFiles(),e.length){for(a=this.getActiveFiles(),r=0,s=a.length;r<s;
27r++)t=a[r],i+=t.upload.bytesSent,n+=t.upload.total;o=100*i/n}else o=100;return this.emit("totaluploadprogress",o,n,i)},t.prototype._getParamName=function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")},t.prototype.getFallbackForm=function(){var e,n,i,o;return(e=this.getExistingFallback())?e:(i='<div class="dz-fallback">',this.options.dictFallbackText&&(i+="<p>"+this.options.dictFallbackText+"</p>"),i+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>',n=t.createElement(i),"FORM"!==this.element.tagName?(o=t.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>'),o.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=o?o:n)},t.prototype.getExistingFallback=function(){var e,t,n,i,o,r;for(t=function(e){var t,n,i;for(n=0,i=e.length;n<i;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},r=["div","form"],i=0,o=r.length;i<o;i++)if(n=r[i],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,i,o,r,s;for(r=this.listeners,s=[],i=0,o=r.length;i<o;i++)e=r[i],s.push(function(){var i,o;i=e.events,o=[];for(t in i)n=i[t],o.push(e.element.addEventListener(t,n,!1));return o}());return s},t.prototype.removeEventListeners=function(){var e,t,n,i,o,r,s;for(r=this.listeners,s=[],i=0,o=r.length;i<o;i++)e=r[i],s.push(function(){var i,o;i=e.events,o=[];for(t in i)n=i[t],o.push(e.element.removeEventListener(t,n,!1));return o}());return s},t.prototype.disable=function(){var e,t,n,i,o;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),i=this.files,o=[],t=0,n=i.length;t<n;t++)e=i[t],o.push(this.cancelUpload(e));return o},t.prototype.enable=function(){return this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()},t.prototype.filesize=function(e){var t;return e>=109951162777.6?(e/=109951162777.6,t="TiB"):e>=107374182.4?(e/=107374182.4,t="GiB"):e>=104857.6?(e/=104857.6,t="MiB"):e>=102.4?(e/=102.4,t="KiB"):(e*=10,t="b"),"<strong>"+Math.round(e)/10+"</strong> "+t},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;
vendor: 8,486 bytes, line 27
27e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;n<i;n++)t=e[n],o.push(this.addFile(t));return o},t.prototype._addFilesFromItems=function(e){var t,n,i,o,r;for(r=[],i=0,o=e.length;i<o;i++)n=e[i],null!=n.webkitGetAsEntry&&(t=n.webkitGetAsEntry())?t.isFile?r.push(this.addFile(n.getAsFile())):t.isDirectory?r.push(this._addFilesFromDirectory(t,t.name)):r.push(void 0):null!=n.getAsFile&&(null==n.kind||"file"===n.kind)?r.push(this.addFile(n.getAsFile())):r.push(void 0);return r},t.prototype._addFilesFromDirectory=function(e,t){var n,i;return n=e.createReader(),i=function(e){return function(n){var i,o,r;for(o=0,r=n.length;o<r;o++)i=n[o],i.isFile?i.file(function(n){if(!e.options.ignoreHiddenFiles||"."!==n.name.substring(0,1))return n.fullPath=t+"/"+n.name,e.addFile(n)}):i.isDirectory&&e._addFilesFromDirectory(i,t+"/"+i.name)}}(this),n.readEntries(i,function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0})},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,i;for(n=0,i=e.length;n<i;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=t.QUEUED,this.options.autoProcessQueue)return setTimeout(function(e){return function(){return e.processQueue()}}(this),0)},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)},t.prototype._processThumbnailQueue=function(){if(!this._processingThumbnail&&0!==this._thumbnailQueue.length)return this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this))},t.prototype.removeFile=function(e){if(e.status===t.UPLOADING&&this.cancelUpload(e),this.files=l(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")},t.prototype.removeAllFiles=function(e){var n,i,o,r;for(null==e&&(e=!1),r=this.files.slice(),i=0,o=r.length;i<o;i++)n=r[i],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(i){return function(){var o;return"image/svg+xml"===e.type?(i.emit("thumbnail",e,n.result),void(null!=t&&t())):(o=document.createElement("img"),o.onload=function(){var n,r,a,l,u,c,d,h;if(e.width=o.width,e.height=o.height,a=i.options.resize.call(i,e),null==a.trgWidth&&(a.trgWidth=a.optWidth),null==a.trgHeight&&(a.trgHeight=a.optHeight),n=document.createElement("canvas"),r=n.getContext("2d"),n.width=a.trgWidth,n.height=a.trgHeight,s(r,o,null!=(u=a.srcX)?u:0,null!=(c=a.srcY)?c:0,a.srcWidth,a.srcHeight,null!=(d=a.trgX)?d:0,null!=(h=a.trgY)?h:0,a.trgWidth,a.trgHeight),l=n.toDataURL("image/png"),i.emit("thumbnail",e,l),null!=t)return t()},o.src=n.result)}}(this),n.readAsDataURL(e)},t.prototype.processQueue=function(){var e,t,n,i;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(i=this.getQueuedFiles(),i.length>0)){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,t-n));for(;e<t;){if(!i.length)return;this.processFile(i.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,i,o;for(i=0,o=e.length;i<o;i++)n=e[i],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t;return function(){var n,i,o,r;for(o=this.files,r=[],n=0,i=o.length;n<i;n++)t=o[n],t.xhr===e&&r.push(t);return r}.call(this)},t.prototype.cancelUpload=function(e){var n,i,o,r,s,a,l;if(e.status===t.UPLOADING){for(i=this._getFilesWithXhr(e.xhr),o=0,s=i.length;o<s;o++)n=i[o],n.status=t.CANCELED;for(e.xhr.abort(),r=0,a=i.length;r<a;r++)n=i[r],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",i)}else(l=e.status)!==t.ADDED&&l!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()},o=function(){var e,t;return t=arguments[0],e=2<=arguments.length?u.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,r,s,a,l,u,c,d,h,p,f,m,g,_,v,y,b,w,x,k,T,S,C,L,M,A,D,E,P,z,I,O,F,j;for(x=new XMLHttpRequest,k=0,L=e.length;k<L;k++)n=e[k],n.xhr=x;m=o(this.options.method,e),b=o(this.options.url,e),x.open(m,b,!0),x.withCredentials=!!this.options.withCredentials,v=null,s=function(t){return function(){var i,o,r;for(r=[],i=0,o=e.length;i<o;i++)n=e[i],r.push(t._errorProcessing(e,v||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return r}}(this),y=function(t){return function(i){var o,r,s,a,l,u,c,d,h;if(null!=i)for(r=100*i.loaded/i.total,s=0,u=e.length;s<u;s++)n=e[s],n.upload={progress:r,total:i.total,bytesSent:i.loaded};else{for(o=!0,r=100,a=0,c=e.length;a<c;a++)n=e[a],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(o=!1),n.upload.progress=r,n.upload.bytesSent=n.upload.total;if(o)return}for(h=[],l=0,d=e.length;l<d;l++)n=e[l],h.push(t.emit("uploadprogress",n,r,n.upload.bytesSent));return h}}(this),x.onload=function(n){return function(i){var o;if(e[0].status!==t.CANCELED&&4===x.readyState){if(v=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{v=JSON.parse(v)}catch(e){i=e,v="Invalid JSON response from server."}return y(),200<=(o=x.status)&&o<300?n._finished(e,v,i):s()}}}(this),x.onerror=function(){return function(){if(e[0].status!==t.CANCELED)return s()}}(),_=null!=(P=x.upload)?P:x,_.onprogress=y,u={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&i(u,this.options.headers);for(a in u)l=u[a],x.setRequestHeader(a,l);if(r=new FormData,this.options.params){z=this.options.params;for(f in z)w=z[f],r.append(f,w)}for(T=0,M=e.length;T<M;T++)n=e[T],this.emit("sending",n,x,r);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,x,r),"FORM"===this.element.tagName)for(I=this.element.querySelectorAll("input, textarea, select, button"),S=0,A=I.length;S<A;S++)if(d=I[S],h=d.getAttribute("name"),p=d.getAttribute("type"),"SELECT"===d.tagName&&d.hasAttribute("multiple"))for(O=d.options,C=0,D=O.length;C<D;C++)g=O[C],g.selected&&r.append(h,g.value);else(!p||"checkbox"!==(F=p.toLowerCase())&&"radio"!==F||d.checked)&&r.append(h,d.value);for(c=E=0,j=e.length-1;0<=j?E<=j:E>=j;c=0<=j?++E:--E)r.append(this._getParamName(c),e[c],e[c].name);return x.send(r)},t.prototype._finished=function(e,n,i){var o,r,s;for(r=0,s=e.length;r<s;r++)o=e[r],o.status=t.SUCCESS,this.emit("success",o,n,i),this.emit("complete",o);
27if(this.options.uploadMultiple&&(this.emit("successmultiple",e,n,i),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()},t.prototype._errorProcessing=function(e,n,i){var o,r,s;for(r=0,s=e.length;r<s;r++)o=e[r],o.status=t.ERROR,this.emit("error",o,n,i),this.emit("complete",o);if(this.options.uploadMultiple&&(this.emit("errormultiple",e,n,i),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()},t}(n),e.version="3.12.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[i(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,i,o,r,s;for(document.querySelectorAll?i=document.querySelectorAll(".dropzone"):(i=[],t=function(e){var t,n,o,r;for(r=[],n=0,o=e.length;n<o;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?r.push(i.push(t)):r.push(void 0);return r},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),s=[],o=0,r=i.length;o<r;o++)n=i[o],!1!==e.optionsForElement(n)?s.push(new e(n)):s.push(void 0);return s},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,i,o,r;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(r=e.blacklistedBrowsers,i=0,o=r.length;i<o;i++)n=r[i],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},l=function(e,t){var n,i,o,r;for(r=[],i=0,o=e.length;i<o;i++)(n=e[i])!==t&&r.push(n);return r},i=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,i,o,r,s,a,l;if(e instanceof Array){i=[];try{for(o=0,s=e.length;o<s;o++)n=e[o],i.push(this.getElement(n,t))}catch(e){e,i=null}}else if("string"==typeof e)for(i=[],l=document.querySelectorAll(e),r=0,a=l.length;r<a;r++)n=l[r],i.push(n);else null!=e.nodeType&&(i=[e]);if(null==i||!i.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return i},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,i,o,r,s;if(!t)return!0;for(t=t.split(","),i=e.type,n=i.replace(/\/.*$/,""),r=0,s=t.length;r<s;r++)if(o=t[r],o=o.trim(),"."===o.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(o.toLowerCase(),e.name.length-o.length))return!0}else if(/\/\*$/.test(o)){if(n===o.replace(/\/.*$/,""))return!0}else if(i===o)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),void 0!==t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",r=function(e){var t,n,i,o,r,s,a,l,u;for(e.naturalWidth,s=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=s,i=n.getContext("2d"),i.drawImage(e,0,0),o=i.getImageData(0,0,1,s).data,u=0,r=s,a=s;a>u;)t=o[4*(a-1)+3],0===t?r=a:u=a,a=r+u>>1;return l=a/s,0===l?1:l},s=function(e,t,n,i,o,s,a,l,u,c){var d;return d=r(t),e.drawImage(t,n,i,o,s,a,l,u,c/d)},o=function(e,t){var n,i,o,r,s,a,l,u,c;if(o=!1,c=!0,i=e.document,u=i.documentElement,n=i.addEventListener?"addEventListener":"attachEvent",l=i.addEventListener?"removeEventListener":"detachEvent",a=i.addEventListener?"":"on",r=function(n){if("readystatechange"!==n.type||"complete"===i.readyState)return("load"===n.type?e:i)[l](a+n.type,r,!1),!o&&(o=!0)?t.call(e,n.type||n):void 0},s=function(){try{u.doScroll("left")}catch(e){return e,void setTimeout(s,50)}return r("poll")},"complete"!==i.readyState){if(i.createEventObject&&u.doScroll){try{c=!e.frameElement}catch(e){}c&&s()}return i[n](a+"DOMContentLoaded",r,!1),i[n](a+"readystatechange",r,!1),e[n](a+"load",r,!1)}},e._autoDiscoverFunction=function(){if(e.autoDiscover)return e.discover()},o(window,e._autoDiscoverFunction)}).call(this)}),"object"==typeof exports?module.exports=e("dropzone"):"function"==typeof define&&define.amd?define([],function(){return e("dropzone")}):this.Dropzone=e("dropzone")}(),function(e,t){function n(t){return e('[data-fileName="'+t+'"]',l)}function i(t){var i=e("#dz-image-box-template-container").children().first().clone();i.attr("data-fileName",t.name);var o=n(t.name);return o.length>0?o.replaceWith(i):l.append(i),i}function o(t,n,i){var o=function(i){t.replaceWith(e(i).attr("data-fileName",n.filename))};e.post(c,{user_photo:n,model_names:i},o,"html")}function r(t){function o(n){var i=function(t,i,o){e.each(n,function(e,t){o.append(e,t)})};
27h[t.name]=u+"/"+n.key,s.off("sending").on("sending",i).processFile(t)}function r(e){e.responseText.match(/Daily limit exceeded/)&&!p?(n(t.name).replaceWith(f),p=!0):n(t.name).replaceWith("<p class='error'>"+I18n.t("js.dropzone.error")+"</p>")}var s=this;i(t),e.ajax({dataType:"json",url:d,data:{filename:t.name},cache:!1}).done(o).fail(r)}function s(e,t,i){console.log(t,i),t.match(/EntityTooSmall/)?n(e.name).replaceWith("<p class='error'>"+I18n.t("js.dropzone.too_small",{file_name:e.name,file_size:"150kB"})+"</p>"):t.match(/EntityTooLarge/)?n(e.name).replaceWith("<p class='error'>"+I18n.t("js.dropzone.too_large",{file_name:e.name,file_size:"5MB"})+"</p>"):n(e.name).replaceWith("<p class='error'>"+I18n.t("js.dropzone.error")+"</p>")}function a(t){return function(i){var r=n(i.name),s={url:h[i.name],filename:i.name};e("p.error",l).remove(),o(r,s,t)}}var l=e("#dz-images"),u="https://appearhere-user-content.s3-eu-west-1.amazonaws.com",c="/user_photos",d="/user_photos/storage_info",h={},p=!1,f=I18n.t("js.dropzone.limit_exceeded",{count:50});e("#dz-images-dropzone").each(function(){var n=e(this),i=n.find(".filepicker"),o=n.data("form-model-names"),l={url:u,autoProcessQueue:!1,parallelUploads:10,clickable:i[0],createImageThumbnails:!1,maxfilesexceeded:function(){alert("too many files")}, 28addedfile:r,error:s,success:a(o)};new t(this,l);i.click(function(e){e.preventDefault()}),e(document).on("click.data-api","[data-provide=nested-delete]",function(){var t=e(this),n=t.data(),i=t.closest(n.parent),o=i.find("[name!=_destroy]");i.addClass("hide"),o.prop("checked",!0)})})}(window.jQuery,window.Dropzone),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=global.window&&global.window.$?e(global.window.$):function(t){if(!t.$&&!t.fn)throw new Error("Tokenfield requires a window object with jQuery or a jQuery instance");return e(t.$||t)}:e(jQuery,window)}(function(e,t){"use strict";var n=function(n,i){var o=this;this.$element=e(n),this.textDirection=this.$element.css("direction"),this.options=e.extend(!0,{},e.fn.tokenfield.defaults,{tokens:this.$element.val()},this.$element.data(),i),this._delimiters="string"==typeof this.options.delimiter?[this.options.delimiter]:this.options.delimiter,this._triggerKeys=e.map(this._delimiters,function(e){return e.charCodeAt(0)}),this._firstDelimiter=this._delimiters[0];var r=e.inArray(" ",this._delimiters),s=e.inArray("-",this._delimiters);r>=0&&(this._delimiters[r]="\\s"),s>=0&&(delete this._delimiters[s],this._delimiters.unshift("-"));var a=["\\","$","[","{","^",".","|","?","*","+","(",")"];e.each(this._delimiters,function(t,n){e.inArray(n,a)>=0&&(o._delimiters[t]="\\"+n)});var l,u=t&&"function"==typeof t.getMatchedCSSRules?t.getMatchedCSSRules(n):null,c=n.style.width,d=this.$element.width();u&&e.each(u,function(e,t){t.style.width&&(l=t.style.width)});var h="rtl"===e("body").css("direction")?"right":"left",p={position:this.$element.css("position")};p[h]=this.$element.css(h),this.$element.data("original-styles",p).data("original-tabindex",this.$element.prop("tabindex")).css("position","absolute").css(h,"-10000px").prop("tabindex",-1),this.$wrapper=e('<div class="tokenfield form-control" />'),this.$element.hasClass("input-lg")&&this.$wrapper.addClass("input-lg"),this.$element.hasClass("input-sm")&&this.$wrapper.addClass("input-sm"),"rtl"===this.textDirection&&this.$wrapper.addClass("rtl");var f=this.$element.prop("id")||(new Date).getTime()+""+Math.floor(100*(1+Math.random()));this.$input=e('<input type="'+this.options.inputType+'" class="token-input" autocomplete="off" />').appendTo(this.$wrapper).prop("placeholder",this.$element.prop("placeholder")).prop("id",f+"-tokenfield").prop("tabindex",this.$element.data("original-tabindex"));var m=e('label[for="'+this.$element.prop("id")+'"]');if(m.length&&m.prop("for",this.$input.prop("id")),this.$copyHelper=e('<input type="text" />').css("position","absolute").css(h,"-10000px").prop("tabindex",-1).prependTo(this.$wrapper),c?this.$wrapper.css("width",c):l?this.$wrapper.css("width",l):this.$element.parents(".form-inline").length&&this.$wrapper.width(d),(this.$element.prop("disabled")||this.$element.parents("fieldset[disabled]").length)&&this.disable(),this.$element.prop("readonly")&&this.readonly(),this.$mirror=e('<span style="position:absolute; top:-999px; left:0; white-space:pre;"/>'),this.$input.css("min-width",this.options.minWidth+"px"),e.each(["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","textTransform","wordSpacing","textIndent"],function(e,t){o.$mirror[0].style[t]=o.$input.css(t)}),this.$mirror.appendTo("body"),this.$wrapper.insertBefore(this.$element),this.$element.prepe
28ndTo(this.$wrapper),this.update(),this.setTokens(this.options.tokens,!1,!this.$element.val()&&this.options.tokens),this.listen(),!e.isEmptyObject(this.options.autocomplete)){var g="rtl"===this.textDirection?"right":"left",_=e.extend({minLength:this.options.showAutocompleteOnFocus?0:null,position:{my:g+" top",at:g+" bottom",of:this.$wrapper}},this.options.autocomplete);this.$input.autocomplete(_)}if(!e.isEmptyObject(this.options.typeahead)){var v=this.options.typeahead,y={minLength:this.options.showAutocompleteOnFocus?0:null},b=e.isArray(v)?v:[v,v];b[0]=e.extend({},y,b[0]),this.$input.typeahead.apply(this.$input,b),this.typeahead=!0}};n.prototype={constructor:n,createToken:function(t,n){var i=this;if(t="string"==typeof t?{value:t,label:t}:e.extend({},t),void 0===n&&(n=!0),t.value=e.trim(t.value.toString()),t.label=t.label&&t.label.length?e.trim(t.label):t.value,t.value.length&&t.label.length&&!(t.label.length<=this.options.minLength)&&!(this.options.limit&&this.getTokens().length>=this.options.limit)){var o=e.Event("tokenfield:createtoken",{attrs:t});if(this.$element.trigger(o),o.attrs&&!o.isDefaultPrevented()){var r=e('<div class="token" />').append('<span class="token-label" />').append('<a href="#" class="close" tabindex="-1">×</a>').data("attrs",t);this.$input.hasClass("tt-input")?this.$input.parent().before(r):this.$input.before(r),this.$input.css("width",this.options.minWidth+"px");var s=r.find(".token-label"),a=r.find(".close");return this.maxTokenWidth||(this.maxTokenWidth=this.$wrapper.width()-a.outerWidth()-parseInt(a.css("margin-left"),10)-parseInt(a.css("margin-right"),10)-parseInt(r.css("border-left-width"),10)-parseInt(r.css("border-right-width"),10)-parseInt(r.css("padding-left"),10)-parseInt(r.css("padding-right"),10),parseInt(s.css("border-left-width"),10),parseInt(s.css("border-right-width"),10),parseInt(s.css("padding-left"),10),parseInt(s.css("padding-right"),10),parseInt(s.css("margin-left"),10),parseInt(s.css("margin-right"),10)),s.text(t.label).css("max-width",this.maxTokenWidth),r.on("mousedown",function(){if(i._disabled||i._readonly)return!1;i.preventDeactivation=!0}).on("click",function(e){return!i._disabled&&!i._readonly&&(i.preventDeactivation=!1,e.ctrlKey||e.metaKey?(e.preventDefault(),i.toggle(r)):void i.activate(r,e.shiftKey,e.shiftKey))}).on("dblclick",function(){if(i._disabled||i._readonly||!i.options.allowEditing)return!1;i.edit(r)}),a.on("click",e.proxy(this.remove,this)),this.$element.trigger(e.Event("tokenfield:createdtoken",{attrs:t,relatedTarget:r.get(0)})),n&&this.$element.val(this.getTokensList()).trigger(e.Event("change",{initiator:"tokenfield"})),this.update(),this.$element.get(0)}}},setTokens:function(t,n,i){if(t){n||this.$wrapper.find(".token").remove(),void 0===i&&(i=!0),"string"==typeof t&&(t=this._delimiters.length?t.split(new RegExp("["+this._delimiters.join("")+"]")):[t]);var o=this;return e.each(t,function(e,t){o.createToken(t,i)}),this.$element.get(0)}},getTokenData:function(t){var n=t.map(function(){return e(this).data("attrs")}).get();return 1==n.length&&(n=n[0]),n},getTokens:function(t){var n=this,i=[],o=t?".active":"";return this.$wrapper.find(".token"+o).each(function(){i.push(n.getTokenData(e(this)))}),i},getTokensList:function(t,n,i){t=t||this._firstDelimiter,n=void 0!==n&&null!==n?n:this.options.beautify;var o=t+(n&&" "!==t?" ":"");return e.map(this.getTokens(i),function(e){return e.value}).join(o)},getInput:function(){return this.$input.val()},listen:function(){var n=this;this.$element.on("change",e.proxy(this.change,this)),this.$wrapper.on("mousedown",e.proxy(this.focusInput,this)),this.$input.on("focus",e.proxy(this.focus,this)).on("blur",e.proxy(this.blur,this)).on("paste",e.proxy(this.paste,this)).on("keydown",e.proxy(this.keydown,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),this.$copyHelper.on("focus",e.proxy(this.focus,this)).on("blur",e.proxy(this.blur,this)).on("keydown",e.proxy(this.keydown,this)).on("keyup",e.proxy(this.keyup,this)),this.$input.on("keypress",e.proxy(this.update,this)).on("keyup",e.proxy(this.update,this)),this.$input.on("autocompletecreate",function(){var t=e(this).data("ui-autocomplete").menu.element,i=n.$wrapper.outerWidth()-parseInt(t.css("border-left-width"),10)-parseInt(t.css("border-right-width"),10);t.css("min-width",i+"px")}).on("autocompleteselect",function(e,t){return n.createToken(t.item)&&(n.$input.val(""),n.$input.data("edit")&&n.unedit(!0)),!1}).on("typeahead:selected typeahead:autocompleted",function(e,t){n.createToken(t)&&(n.$input.typeahead("val",""),n.$input.data("edit")&&n.unedit(!0))}),e(t).on("resize",e.proxy(this.update,this))},keydown:function(t){function n(e){if(o.$input.is(document.activeElement)){if(o.$input.val().length>0)return;e+="All";var n=o.$input.hasClass("tt-input")?o.$input.parent()[e](".token:first"):o.$input[e](".token:first");
vendor: 4,179 bytes, line 28
28if(!n.length)return;o.preventInputFocus=!0,o.preventDeactivation=!0,o.activate(n),t.preventDefault()}else o[e](t.shiftKey),t.preventDefault()}function i(n){if(t.shiftKey){if(o.$input.is(document.activeElement)){if(o.$input.val().length>0)return;var i=o.$input.hasClass("tt-input")?o.$input.parent()[n+"All"](".token:first"):o.$input[n+"All"](".token:first");if(!i.length)return;o.activate(i)}var r="prev"===n?"next":"prev",s="prev"===n?"first":"last";o.$firstActiveToken[r+"All"](".token").each(function(){o.deactivate(e(this))}),o.activate(o.$wrapper.find(".token:"+s),!0,!0),t.preventDefault()}}if(this.focused){var o=this;switch(t.keyCode){case 8:if(!this.$input.is(document.activeElement))break;this.lastInputValue=this.$input.val();break;case 37:n("rtl"===this.textDirection?"next":"prev");break;case 38:i("prev");break;case 39:n("rtl"===this.textDirection?"prev":"next");break;case 40:i("next");break;case 65:if(this.$input.val().length>0||!t.ctrlKey&&!t.metaKey)break;this.activateAll(),t.preventDefault();break;case 9:case 13:if(this.$input.data("ui-autocomplete")&&this.$input.data("ui-autocomplete").menu.element.find("li:has(a.ui-state-focus), li.ui-state-focus").length)break;if(this.$input.hasClass("tt-input")&&this.$wrapper.find(".tt-cursor").length)break;if(this.$input.hasClass("tt-input")&&this.$wrapper.find(".tt-hint").val()&&this.$wrapper.find(".tt-hint").val().length)break;if(this.$input.is(document.activeElement)&&this.$input.val().length||this.$input.data("edit"))return this.createTokensFromInput(t,this.$input.data("edit"));if(13===t.keyCode){if(!this.$copyHelper.is(document.activeElement)||1!==this.$wrapper.find(".token.active").length)break;if(!o.options.allowEditing)break;this.edit(this.$wrapper.find(".token.active"))}}this.lastKeyDown=t.keyCode}},keypress:function(t){if(-1!==e.inArray(t.which,this._triggerKeys)&&this.$input.is(document.activeElement))return this.$input.val()&&this.createTokensFromInput(t),!1},keyup:function(e){if(this.preventInputFocus=!1,this.focused){switch(e.keyCode){case 8:if(this.$input.is(document.activeElement)){if(this.$input.val().length||this.lastInputValue.length&&8===this.lastKeyDown)break;this.preventDeactivation=!0;var t=this.$input.hasClass("tt-input")?this.$input.parent().prevAll(".token:first"):this.$input.prevAll(".token:first");if(!t.length)break;this.activate(t)}else this.remove(e);break;case 46:this.remove(e,"next")}this.lastKeyUp=e.keyCode}},focus:function(){this.focused=!0,this.$wrapper.addClass("focus"),this.$input.is(document.activeElement)&&(this.$wrapper.find(".active").removeClass("active"),this.$firstActiveToken=null,this.options.showAutocompleteOnFocus&&this.search())},blur:function(e){this.focused=!1,this.$wrapper.removeClass("focus"),this.preventDeactivation||this.$element.is(document.activeElement)||(this.$wrapper.find(".active").removeClass("active"),this.$firstActiveToken=null),!this.preventCreateTokens&&(this.$input.data("edit")&&!this.$input.is(document.activeElement)||this.options.createTokensOnBlur)&&this.createTokensFromInput(e),this.preventDeactivation=!1,this.preventCreateTokens=!1},paste:function(e){var t=this;t.options.allowPasting&&setTimeout(function(){t.createTokensFromInput(e)},1)},change:function(e){"tokenfield"!==e.initiator&&this.setTokens(this.$element.val())},createTokensFromInput:function(e,t){if(!(this.$input.val().length<this.options.minLength)){var n=this.getTokensList();return this.setTokens(this.$input.val(),!0),n==this.getTokensList()&&this.$input.val().length?!1:(this.$input.hasClass("tt-input")?this.$input.typeahead("val",""):this.$input.val(""),this.$input.data("edit")&&this.unedit(t),!1)}},next:function(e){if(e){var t=this.$wrapper.find(".active:first");if(!(!t||!this.$firstActiveToken)&&t.index()<this.$firstActiveToken.index())return this.deactivate(t)}var n=this.$wrapper.find(".active:last"),i=n.nextAll(".token:first");if(!i.length)return void this.$input.focus();this.activate(i,e)},prev:function(e){if(e){var t=this.$wrapper.find(".active:last");if(!(!t||!this.$firstActiveToken)&&t.index()>this.$firstActiveToken.index())return this.deactivate(t)}var n=this.$wrapper.find(".active:first"),i=n.prevAll(".token:first");
28if(i.length||(i=this.$wrapper.find(".token:first")),!i.length&&!e)return void this.$input.focus();this.activate(i,e)},activate:function(t,n,i,o){if(t){if(void 0===o)var o=!0;if(i)var n=!0;if(this.$copyHelper.focus(),n||(this.$wrapper.find(".active").removeClass("active"),o?this.$firstActiveToken=t:delete this.$firstActiveToken),i&&this.$firstActiveToken){var r=this.$firstActiveToken.index()-2,s=t.index()-2,a=this;this.$wrapper.find(".token").slice(Math.min(r,s)+1,Math.max(r,s)).each(function(){a.activate(e(this),!0)})}t.addClass("active"),this.$copyHelper.val(this.getTokensList(null,null,!0)).select()}},activateAll:function(){var t=this;this.$wrapper.find(".token").each(function(n){t.activate(e(this),0!==n,!1,!1)})},deactivate:function(e){e&&(e.removeClass("active"),this.$copyHelper.val(this.getTokensList(null,null,!0)).select())},toggle:function(e){e&&(e.toggleClass("active"),this.$copyHelper.val(this.getTokensList(null,null,!0)).select())},edit:function(t){if(t){var n=t.data("attrs"),i={attrs:n,relatedTarget:t.get(0)},o=e.Event("tokenfield:edittoken",i);if(this.$element.trigger(o),!o.isDefaultPrevented()){t.find(".token-label").text(n.value);var r=t.outerWidth(),s=this.$input.hasClass("tt-input")?this.$input.parent():this.$input;t.replaceWith(s),this.preventCreateTokens=!0,this.$input.val(n.value).select().data("edit",!0).width(r),this.update(),this.$element.trigger(e.Event("tokenfield:editedtoken",i))}}},unedit:function(e){if((this.$input.hasClass("tt-input")?this.$input.parent():this.$input).appendTo(this.$wrapper),this.$input.data("edit",!1),this.$mirror.text(""),this.update(),e){var t=this;setTimeout(function(){t.$input.focus()},1)}},remove:function(t,n){if(!(this.$input.is(document.activeElement)||this._disabled||this._readonly)){var i="click"===t.type?e(t.target).closest(".token"):this.$wrapper.find(".token.active");if("click"!==t.type){if(!n)var n="prev";if(this[n](),"prev"===n)var o=0===i.first().prevAll(".token:first").length}var r={attrs:this.getTokenData(i),relatedTarget:i.get(0)},s=e.Event("tokenfield:removetoken",r);if(this.$element.trigger(s),!s.isDefaultPrevented()){var a=e.Event("tokenfield:removedtoken",r),l=e.Event("change",{initiator:"tokenfield"});i.remove(),this.$element.val(this.getTokensList()).trigger(a).trigger(l),this.$wrapper.find(".token").length&&"click"!==t.type&&!o||this.$input.focus(),this.$input.css("width",this.options.minWidth+"px"),this.update(),t.preventDefault(),t.stopPropagation()}}},update:function(){var e=this.$input.val(),t=parseInt(this.$input.css("padding-left"),10),n=parseInt(this.$input.css("padding-right"),10),i=t+n;if(this.$input.data("edit")){if(e||(e=this.$input.prop("placeholder")),e===this.$mirror.text())return;this.$mirror.text(e);var o=this.$mirror.width()+10;if(o>this.$wrapper.width())return this.$input.width(this.$wrapper.width());this.$input.width(o)}else{var r="rtl"===this.textDirection?this.$input.offset().left+this.$input.outerWidth()-this.$wrapper.offset().left-parseInt(this.$wrapper.css("padding-left"),10)-i-1:this.$wrapper.offset().left+this.$wrapper.width()+parseInt(this.$wrapper.css("padding-left"),10)-this.$input.offset().left-i;isNaN(r)?this.$input.width("100%"):this.$input.width(parseInt(r))}},focusInput:function(t){if(!(e(t.target).closest(".token").length||e(t.target).closest(".token-input").length||e(t.target).closest(".tt-dropdown-menu").length)){var n=this;setTimeout(function(){n.$input.focus()},0)}},search:function(){this.$input.data("ui-autocomplete")&&this.$input.autocomplete("search")},disable:function(){this.setProperty("disabled",!0)},enable:function(){this.setProperty("disabled",!1)},readonly:function(){this.setProperty("readonly",!0)},writeable:function(){this.setProperty("readonly",!1)},setProperty:function(e,t){this["_"+e]=t,this.$input.prop(e,t),this.$element.prop(e,t),this.$wrapper[t?"addClass":"removeClass"](e)},destroy:function(){this.$element.val(this.getTokensList()),this.$element.css(this.$element.data("original-styles")),this.$element.prop("tabindex",this.$element.data("original-tabindex"));var t=e('label[for="'+this.$input.prop("id")+'"]');return t.length&&t.prop("for",this.$element.prop("id")),this.$element.insertBefore(this.$wrapper),this.$element.removeData("original-styles").removeData("original-tabindex").removeData("bs.tokenfield"),this.$wrapper.remove(),this.$mirror.remove(),this.$element}};var i=e.fn.tokenfield;return e.fn.tokenfield=function(t,i){var o,r=[];Array.prototype.push.apply(r,arguments);var s=this.each(function(){var s=e(this),a=s.data("bs.tokenfield"),l="object"==typeof t&&t;"string"==typeof t&&a&&a[t]?(r.shift(),o=a[t].apply(a,r)):a||"string"==typeof t||i||(s.data("bs.tokenfield",a=new n(this,l)),s.trigger("tokenfield:initialize"))});return void 0!==o?o:s},e.fn.tokenfield.defaults={minWidth:60,minLength:0,allowEditing:!0,allowPasting:!0,limit:0,autocomplete:{},typeahead:{},showAutocompleteOnFocus:!1,createTokensOnBlur:!1,delimiter:",",beautify:!0,inputType:"text"},e.fn.tokenfield.Constructor=n,e.fn.tokenfield.noConflict=function(){return e.fn.tokenfield=i,this},n}),function(e,t){var n=t.t("js.moment");n.ordinalParse=/\d{1,2}(st|nd|rd|th)/,n.ordinal=function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},n.week={dow:1,doy:4},e.defineLocale("en",n)}(moment,I18n),function(e,t){var n=t.t("js.moment");n.ordinalParse=/\d{1,2}(er|)/,n.ordinal=function(e){return e+(1===e?"er":"")},n.week={dow:1,doy:4},e.defineLocale("fr",n)}(moment,I18n),moment.defineLocale("en-US",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}}),moment.locale(I18n.locale),function(e,t){if(t.features.isMobile){var n=new RegExp("^((https?:)?(//)?[^/?]*"+window.location.hostname.replace(/\./g,"\\.")+"|/.*)");e("[target=_blank]").each(function(){n.test(this.href)&&e(this).removeAttr("target")})}}(window.jQuery,window.AH),function(e,t,n){var i,o,r,s,a,l,u,c,d=e("meta[name=typeahead-endpoint]").prop("content"),h="true"===e("meta[name=typeahead-enabled]").prop("content"),p=t.compile('<h5 class="search-typeahead-section-name">{{ kind }}</h5>');s=function(t,n){var i={remote:{url:d+"/destinations/"+t,prepare:function(t,n){var i={data:{query:t},headers:{Accept:"version=1"}};return e.extend({},n,i)},transform:function(t){var n=[];return e.each(t,function(e){n.push({name:t[e].name,value:t[e].name,destination_id:t[e].destination_id})}),n}},datumTokenizer:function(){},queryTokenizer:Bloodhound.tokenizers.whitespace};return e.extend({},i,n)},i=new Bloodhound(s("cities")),o=new Bloodhound(s("districts",{limit:2})),r=new Bloodhound(s("places",{limit:2})),prepEngines=function(){i.initialize(),o.initialize(),r.initialize(),a={name:"cities",source:i.ttAdapter(),displayKey:"name",templates:{header:p.render({kind:n.t("js.typeahead.headings.cities")})}},l={name:"districts",source:o.ttAdapter(),displayKey:"name",templates:{header:p.render({kind:n.t("js.typeahead.headings.districts")})}},u={name:"places",source:r.ttAdapter(),displayKey:"name",templates:{header:p.render({kind:n.t("js.typeahead.headings.places")})}}},c=function(){prepEngines(),e("input[data-provide=search-autocomplete]").typeahead(null,a,l,u).on("input",function(t){e(t.target).trigger("search:input")}).on("keypress",function(t){if(13===t.which){var n=e(this).data("tt-typeahead"),i=n.menu.getTopSelectable();if(n.isOpen()&&i)return n.autocomplete(i),n.close(),!1}}),e("input[data-provide=cities-tokenfield]").tokenfield({createTokensOnBlur:!0,typeahead:[null,a]}),e("input[data-provide=districts-tokenfield]").tokenfield({createTokensOnBlur:!0,typeahead:[null,l]}),e("input[data-provide=places-tokenfield]").tokenfield({createTokensOnBlur:!0,typeahead:[null,u]}),initGeoTokenfields()},initGeoTokenfields=function(){e("input[data-provide=geo-tokenfield]").tokenfield({createTokensOnBlur:!0,typeahead:[null,a,u,l]})},h&&(e(c),e(document).on("tokenfields:reinitialize",initGeoTokenfields))}(window.jQuery,window.Hogan,window.I18n),function(e,t,n,i){"use strict";function o(){return"ontouchstart"in window||navigator.maxTouchPoints}function r(){e(".map").filter(":visible").each(function(){var t=e(this),n=t.data();n.map||t.data("map",new s(t,n))})}var s=function(n,i){var r=this,s=!0;if(this.$element=e(n),void 0===this.$element.data("map")){if(this.$element.data("map",this),this.options=e.extend({},this.defaults,i),"string"==typeof this.options["static"]&&(this.options["static"]=this.options["static"].split(" "),this.options["static"].indexOf("touch")>=0&&o()&&(this.options["static"]=!0)),!0===this.options["static"]&&(s=!1),"undefined"!=typeof this.options.zoomControl&&(s=this.options.zoomControl),this.map=t.mapbox.map(this.$element[0],null,{zoomControl:s}),this._ready=!1,t.mapbox.styleLayer(this.options.mapboxId).addTo(this.map).on("load",e.proxy(this.triggerReady,this)),this.markerLayer=t.mapbox.featureLayer(null).addTo(this.map),"undefined"!=typeof this.options.center&&this.setView(this.options.center),"undefined"!=typeof this.options.coordinates){var a=this.options.coordinates[0],l=this.options.coordinates[1];isNaN(a)||isNaN(l)||this.placePin(this.options.coordinates,this.options.zoom)}if("undefined"!=typeof this.options.boundary){var u=this.drawBoundary(this.options.boundary);this.fitBounds(u.getBounds())}"undefined"!=typeof this.options.geojson&&(this.markerLayer.on("layeradd",function(e){var t=e.layer,n=t.feature,i=n&&n.properties;t.options.icon.options.iconUrl.indexOf("mapbox.com")>=0&&t.setIcon(r.icon),(i&&i.html)!==undefined&&t.bindPopup(i.html,{closeButton:!1,minWidth:i.minWidth,className:i.className})}),this.markerLayer.setGeoJSON(this.options.geojson),this.$element.on("map:ready",function(){r.fitMarkers()})),!0===this.options["static"]?(this.map.dragging.disable(),this.map.touchZoom.disable(),this.map.doubleClickZoom.disable(),this.map.scrollWheelZoom.disable(),this.map.
28keyboard.disable()):"object"==typeof this.options["static"]&&(this.options["static"].indexOf("zoom")>=0&&(this.map.touchZoom.disable(),this.map.doubleClickZoom.disable(),this.map.scrollWheelZoom.disable()),this.options["static"].indexOf("pan")>=0&&(this.map.dragging.disable(),this.map.keyboard.disable()),this.options["static"].indexOf("scroll")>=0&&this.map.scrollWheelZoom.disable())}};s.prototype={constructor:s,defaults:{mapboxId:i.api_keys.mapbox_map_id,zoom:16,center:[51.5224366,-.1110926]},icon:t.icon({iconUrl:"/assets/pin-1d9c640d19815535222b9ccf99b713e2461b82d10b1711a2196d727ea505ccb0.png",iconRetinaUrl:"/assets/pin@2x-1ae83d41dd960c4d4a611f09bf7793e16fc4bcc3955174866e3cc7a061a28324.png",iconSize:[35,90],iconAnchor:[17.5,45],popupAnchor:[0,-45]}),triggerReady:function(){this._ready||(this._ready=!0)&&this.$element.trigger("map:ready",this)},addPin:function(n,i){return i=e.extend({icon:this.icon},i),t.marker(n,i).addTo(this.markerLayer)},removeMarkers:function(){this.markerLayer.clearLayers()},setView:function(e,t){this.map.setView(e,t||this.options.zoom,{reset:!1,pan:{animate:!0,duration:1},zoom:{animate:!0,duration:1}})},fitMarkers:function(t,n){var i=(t||this.markerLayer).getBounds(),n=e.extend({},{padding:[50,50]},n);this.fitBounds(i,n)},fitBounds:function(t,n){var n=e.extend({},n),i=this.map;this._ready?this.map.fitBounds(t,n):this.$element.on("map:ready",function(){i.fitBounds(t,n)})},placePin:function(e,t){this.removeMarkers(),this.addPin(e),this.setView(e,t)},layers:function(){var e=[];for(var t in this.map._layers)e.push(this.map._layers[t]);return e},markers:function(){return n.select(function(e){return!!e.feature})(this.layers())},center:function(e){this.setView(e)},drawBoundary:function(e){var n={stroke:!0,color:"#c7a45d",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0};return t.circle([e.latitude,e.longitude],e.radius,n).addTo(this.map)}},e(r),e(".nav").on("shown",r)}(window.jQuery,window.L,window.Utils,window.AH),function(e){var t={addressControl:!1,linksControl:!1,panControl:!1,zoomControl:!1,scrollwheel:!1},n=function(e,n){return function(i,o){if(o===google.maps.StreetViewStatus.OK){var r,s=google.maps.geometry.spherical.computeHeading(i.location.latLng,n);opts={position:i.location.latLng,pov:{heading:s,pitch:0},zoom:1},r=new google.maps.StreetViewPanorama(e,$.extend({},t,opts)),r.setVisible(!0)}}},i=function(){$(".streetview").filter(":visible").each(function(){var e=$
28(this).data("coordinates"),t=new google.maps.LatLng(e[0],e[1]);(new google.maps.StreetViewService).getPanoramaByLocation(t,50,n(this,t))})};e.setupStreetview=i,$(".nav-tabs, .nav").on("shown",i)}(window),function(e){var t=function(){var t=e("#space_list_count_badge");return{refreshCount:function(e){t.html(e)}}}();e(document).on("refresh-space-list-count",function(e,n){t.refreshCount(n)})}(window.jQuery),function(e,t,n,i){e.fn.simpleDatePicker=function(){return this.each(function(){var o=i.t("js.availablitypicker.date_picker"),r=i.t("js.availablitypicker.date_picker.long_format"),s=e(this).data("format")||r;new t({field:this,format:s,disableDayFn:function(e){return e<n().startOf("day")},i18n:o})})},e('[data-provide="simple_datepicker"]').prop("readonly",!0).simpleDatePicker()}(window.jQuery,window.Datepicker,window.moment,window.I18n),function(e){var t=function(t){e(t).slick({lazyLoad:"ondemand",responsive:[{breakpoint:769,settings:{swipe:!0}}]})};e.fn.slickGallery=function(){return this.each(function(){new t(this)})},e(function(){var t=e(".slick:not(.no-legacy)");t.slickGallery(),t.on("afterChange",function(){e(".slick-slide").css({color:"grey"}),e(".slick-active").prev().css({color:"transparent"}),e(".slick-active").next().css({color:"transparent"})})})}(window.jQuery),function(e,t,n,i){"use strict";var o=function(e){return"string"==typeof e?n(e,r.defaults.format):n(e)},r=function(n,s){var a,l,u=e(n),c=parseInt(s.minDays,10),d=s.message,h=u.parents("form").find(s.endOn),p=this.disableMinimum(c,u),f=i.t("js.availablitypicker.date_picker");a=new t({field:n,format:r.defaults.format,message:d,disableDayFn:this.disablePast,i18n:f}),l=new t({field:h[0],message:d,format:r.defaults.format,disableDayFn:p,i18n:f}),u.change(function(){var t,n=e(this),i=c-1,r=n.val();setTimeout(function(){h.val()+""==""&&(t=o(r).add(i,"day"),l.gotoDate(t.toDate()),setTimeout(function(){h.focus()},100))},0)}),h.change(function(){var e=a.getMoment(),t=l.getMoment();setTimeout(function(){e>t&&(h.val(null),l._d=null,u.val(t.format(s.format)),a.gotoDate(t.toDate()),a._d=t.toDate(),setTimeout(function(){h.focus()},100))},0)})};r.defaults={format:i.t("js.availablitypicker.date_picker.format")},r.prototype.disableMinimum=function(e,t){var n=e-1;return function(e){var i,e=o(e),s=t.val();return s+""==""?r.prototype.disablePast(e):(i=o(s).add(n,"day"),e.isBetween(o(s).subtract(1,"day"),i)||r.prototype.disablePast(e))}},r.prototype.disablePast=function(e){return e<o().startOf("day")},e.fn.availablitypicker=function(){return this.each(function(){var t,n,i=e(this),o=i.data();o.availablitypicker||(t=e.extend({},r.defaults,i.data()),n=new r(this,t),i.data("availablitypicker",n))})},e("[data-provide=availablitypicker]").availablitypicker(),e(document).ajaxComplete(function(){setTimeout(function(){e("[data-provide=availablitypicker]").availablitypicker()},0)})}(window.jQuery,window.Datepicker,window.moment,window.I18n),function(e,t,n,i){"use strict";var o=e(".js-homepage-hero-video"),r=function(e){e.currentTime=0,e.play(),n(function(){var t,n;4===e.readyState&&(t=Math.round(e.currentTime,0),n=Math.round(e.buffered.end(null),0),t===n&&e.load())},1e3)};i.features.isMobile||o.replaceWith(o.html()),e("html.video video[loop]").each(function(){r(this)}).on("ended",function(){r(this)})}(window.jQuery,window.Utils,window.setTimeout,window.AH),function(e){var t=function(){e(".alert-box").slideUp()};e(".alert-box").on("click",".close-button",t)}(window.jQuery),function(e,t){var n=e(".space-enquiry-panel"),i=e(document.body);e(".space-amenities-list-toggle").click(function(t){var n=e(this),i=e(".space-amenities-list > li.disabled"),o=n.data("toggle-text");t.preventDefault(),i.toggleClass("hidden"),n.data("toggle-text",n.text()),n.text(o)}),e(".space-section.collapsible > .space-section-header").click(function(){setTimeout(function(){t()},0)}),e(document).on("click",".space-popover-cta",function(){n.removeClass("hidden"),setTimeout(function(){i.addClass("noscroll")},0)}),e(document).on("click",".space-popover-close",function(){n.addClass("hidden"),setTimeout(function(){i.removeClass("noscroll")},0)})}(window.jQuery,window.setupStreetview),function(e){var t=function(t){this.$element=e(t),this.$items=this.$element.siblings(".has-jumbo"),this.$jumbo=this.$element.find("jumbo"),this.showing=!1,this.hoverOffTimer=null,this.hoverOnTimer=null,this.$element.on("mouseover",this.show(this)).on("mouseout",this.maybeHide(this)),this.$jumbo.on("mouseover",this.show(this)).on("mouseout",this.maybeHide(this))};t.prototype.show=function(e){return function(){e.hoverOffTimer&&(clearTimeout(e.hoverOffTimer),e.hoverOffTimer=null),e.hoverOnTimer||(e.hoverOnTimer=setTimeout(function(){e.$items.removeClass("hover"),e.$element.addClass("hover"),clearTimeout(e.hoverOnTimer),e.hoverOnTimer=null},e.$items.hasClass("hover")?0:250))}},t.prototype.maybeHide=function(e){return function(){e.hoverOnTimer&&(clearTimeout(e.hoverOnTimer),e.hoverOnTimer=null),e.hoverOffTimer||(e.hoverOffTimer=setTimeout(function(){e.$element.removeClass("hover"),clearTimeout(e.hoverOffTimer),e.hoverOffTimer=null},250))}},e(".has-jumbo").each(function(){new t(this)})}(window.jQuery),function(e,t){var n=e("form.parsley-validation");n.length&&(window.ParsleyConfig=window.ParsleyConfig||{},window.ParsleyConfig.i18n=window.ParsleyConfig.i18n||{},window.ParsleyConfig.i18n[t.locale]=jQuery.extend(window.ParsleyConfig.i18n[t.locale]||{},t.translations[t.locale].js.form_validation),"undefined"!=typeof window.Parsley&&window.Parsley.addCatalog(t.locale,window.ParsleyConfig.i18n[t.locale],!0),window.Parsley.setLocale(t.locale),n.parsley({trigger:"change"}))}(window.jQuery,window.I18n),function(e){CountrySelect=function(){e("body");this.$el=e(".js-country-select"),this.$label=this.$el.find("label"),this.$select=this.$el.find("select"),this.template=e("#tmpl-country-select-label").text(),!/(MSIE|Explorer)/gi.test(window.BrowserDetect.browser)||window.BrowserDetect.version>10?this.init():this.$label.addClass("hide")},CountrySelect.prototype.init=function(){this._renderLabel(),this._bindEvents()},CountrySelect.prototype._bindEvents=function(){this.$select.on("change",this._redirect.bind(this))},CountrySelect.prototype._renderLabel=function(){var e,t=this.template,n=this.$select.find("option:selected");e={flag_src:n.data("flagSrc"),currency:n.data("currency"),name:n.text()};for(var i in e)t=t.replace(new RegExp("{{"+i+"}}","gm"),e[i]);this.$label.html(t)}
28,CountrySelect.prototype._redirect=function(){window.location.href=this.$select.find("option:selected").data("href")},new CountrySelect}(window.jQuery),jQuery(function(e){var t;e("[data-role]").on("click",function(n){e("[data-role]").removeClass("active"),t=e(n.currentTarget).closest(".role-select").find("select"),t.addClass("active")})}),function(e){e(document.body).on("click","form input[data-simple-disable-with], form button[simple-disable-with]",function(t){t.preventDefault(),e(this).prop("disabled",!0),e(this).closest("form").submit()})}(window.jQuery),function(e){init=function(){ 29e("section.collapsible > header").click(function(){e(this).parent(".collapsible").toggleClass("collapse")})},e(document).ready(init)}(window.jQuery),function(){jQuery(function(e){if(e(".js-space-details-form").length){const t=function(t){"true"===t?(e("#multiple-spaces").addClass("active"),e("#multiple-spaces").find(":input").prop("disabled",!1),e("#single-space").removeClass("active"),e("#single-space").find(":input").prop("disabled",!0)):(e("#single-space").addClass("active"),e("#single-space").find(":input").prop("disabled",!1),e("#multiple-spaces").removeClass("active"),e("#multiple-spaces").find(":input").prop("disabled",!0))};var n=e(this).find(".token-inputs.content-toggle input[checked=checked]").val();t(n),e(document).on("change",".token-inputs.content-toggle input",function(){n=e(this).val(),t(n)}),e(".token-inputs.space-types").each(function(t){var n=e(this).find("ul"),i=t+"_";n.find("label").each(function(){var t=e(this),o=t.prop("for"),r=n.find("#"+o);t.prop("for",i+o),r.prop("id",i+o)})})}})}(window.jQuery),function(e){e("input[data-provide=checkbox-toggle]").on("change",function(t){var n=e(t.target).data("target"),i=e(t.target).is(":checked");e(n).toggleClass("hide",i).find("input").val("")}),e("input[data-provide=checkbox-toggle-reverse]").on("change",function(t){var n=e(t.target).data("target"),i=e(t.target).is(":checked");e(n).toggleClass("hide",!i).find("input").val("")})}(window.jQuery),$("input[data-provide=tokenfield]").tokenfield({createTokensOnBlur:!0});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.