!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(w,z){function j(e,t){return t.toUpperCase()}var e=[],x=w.document,d=e.slice,F=e.concat,R=e.push,o=e.indexOf,N={},B=N.toString,f=N.hasOwnProperty,m={},t="2.2.4",k=function(e,t){return new k.fn.init(e,t)},W=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,H=/^-ms-/,q=/-([\da-z])/gi;function V(e){var t=!!e&&"length"in e&&e.length,i=k.type(e);return"function"!==i&&!k.isWindow(e)&&("array"===i||0===t||"number"==typeof t&&0>10|55296,1023&n|56320)}function j(){x()}var e,f,b,s,F,m,R,N,w,l,c,x,k,t,S,g,n,o,v,C="sizzle"+ +new Date,_=z.document,T=0,B=0,W=ce(),H=ce(),y=ce(),q=function(e,t){return e===t&&(c=!0),0},V={}.hasOwnProperty,i=[],Y=i.pop,G=i.push,M=i.push,U=i.slice,E=function(e,t){for(var i=0,n=e.length;i+~]|"+a+")"+a+"*"),te=new RegExp("="+a+"*([^\\]'\"]*?)"+a+"*\\]","g"),ie=new RegExp(Q),ne=new RegExp("^"+r+"$"),h={ID:new RegExp("^#("+r+")"),CLASS:new RegExp("^\\.("+r+")"),TAG:new RegExp("^("+r+"|[*])"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},oe=/^(?:input|select|textarea|button)$/i,se=/^h\d$/i,d=/^[^{]+\{\s*\[native \w/,ae=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,re=/[+~]/,le=/'|\\/g,p=new RegExp("\\\\([\\da-f]{1,6}"+a+"?|("+a+")|.)","ig");try{M.apply(i=U.call(_.childNodes),_.childNodes),i[_.childNodes.length].nodeType}catch(e){M={apply:i.length?function(e,t){G.apply(e,U.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function L(e,t,i,n){var o,s,a,r,l,c,d,u,h=t&&t.ownerDocument,p=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return i;if(!n&&((t?t.ownerDocument||t:_)!==k&&x(t),t=t||k,S)){if(11!==p&&(c=ae.exec(e)))if(o=c[1]){if(9===p){if(!(a=t.getElementById(o)))return i;if(a.id===o)return i.push(a),i}else if(h&&(a=h.getElementById(o))&&v(t,a)&&a.id===o)return i.push(a),i}else{if(c[2])return M.apply(i,t.getElementsByTagName(e)),i;if((o=c[3])&&f.getElementsByClassName&&t.getElementsByClassName)return M.apply(i,t.getElementsByClassName(o)),i}if(f.qsa&&!y[e+" "]&&(!g||!g.test(e))){if(1!==p)h=t,u=e;else if("object"!==t.nodeName.toLowerCase()){for((r=t.getAttribute("id"))?r=r.replace(le,"\\$&"):t.setAttribute("id",r=C),s=(d=m(e)).length,l=ne.test(r)?"#"+r:"[id='"+r+"']";s--;)d[s]=l+" "+A(d[s]);u=d.join(","),h=re.test(e)&&he(t.parentNode)||t}if(u)try{return M.apply(i,h.querySelectorAll(u)),i}catch(e){}finally{r===C&&t.removeAttribute("id")}}}return N(e.replace(P,"$1"),t,i,n)}function ce(){var i=[];function n(e,t){return i.push(e+" ")>b.cacheLength&&delete n[i.shift()],n[e+" "]=t}return n}function I(e){return e[C]=!0,e}function D(e){var t=k.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function de(e,t){for(var i=e.split("|"),n=i.length;n--;)b.attrHandle[i[n]]=t}function ue(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function $(a){return I(function(s){return s=+s,I(function(e,t){for(var i,n=a([],e.length,s),o=n.length;o--;)e[i=n[o]]&&(e[i]=!(t[i]=e[i]))})})}function he(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=L.support={},F=L.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},x=L.setDocument=function(e){var e=e?e.ownerDocument||e:_;return e!==k&&9===e.nodeType&&e.documentElement&&(t=(k=e).documentElement,S=!F(k),(e=k.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",j,!1):e.attachEvent&&e.attachEvent("onunload",j)),f.attributes=D(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=D(function(e){return e.appendChild(k.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=d.test(k.getElementsByClassName),f.getById=D(function(e){return t.appendChild(e).id=C,!k.getElementsByName||!k.getElementsByName(C).length}),f.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&S)return(t=t.getElementById(e))?[t]:[]},b.filter.ID=function(e){var t=e.replace(p,u);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(p,u);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),b.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],o=0,s=t.getElementsByTagName(e);if("*"!==e)return s;for(;i=s[o++];)1===i.nodeType&&n.push(i);return n},b.find.CLASS=f.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&S?t.getElementsByClassName(e):void 0},n=[],g=[],(f.qsa=d.test(k.querySelectorAll))&&(D(function(e){t.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+a+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+C+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||g.push(".#.+[+~]")}),D(function(e){var t=k.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+a+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(f.matchesSelector=d.test(o=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&D(function(e){f.disconnectedMatch=o.call(e,"div"),o.call(e,"[s!='']:x"),n.push("!=",Q)}),g=g.length&&new RegExp(g.join("|")),n=n.length&&new RegExp(n.join("|")),e=d.test(t.compareDocumentPosition),v=e||d.test(t.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(i.contains?i.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},q=e?function(e,t){var i;return e===t?(c=!0,0):(i=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===i?e===k||e.ownerDocument===_&&v(_,e)?-1:t===k||t.ownerDocument===_&&v(_,t)?1:l?E(l,e)-E(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return c=!0,0;var i,n=0,o=e.parentNode,s=t.parentNode,a=[e],r=[t];if(!o||!s)return e===k?-1:t===k?1:o?-1:s?1:l?E(l,e)-E(l,t):0;if(o===s)return ue(e,t);for(i=e;i=i.parentNode;)a.unshift(i);for(i=t;i=i.parentNode;)r.unshift(i);for(;a[n]===r[n];)n++;return n?ue(a[n],r[n]):a[n]===_?-1:r[n]===_?1:0}),k},L.matches=function(e,t){return L(e,null,null,t)},L.matchesSelector=function(e,t){if((e.ownerDocument||e)!==k&&x(e),t=t.replace(te,"='$1']"),f.matchesSelector&&S&&!y[t+" "]&&(!n||!n.test(t))&&(!g||!g.test(t)))try{var i=o.call(e,t);if(i||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(p,u),e[3]=(e[3]||e[4]||e[5]||"").replace(p,u),"~="===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]||L.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]&&L.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return h.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&ie.test(i)&&(t=(t=m(i,!0))&&i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(p,u).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(e){e=L.attr(e,t);return null==e?"!="===i:!i||(e+="","="===i?e===n:"!="===i?e!==n:"^="===i?n&&0===e.indexOf(n):"*="===i?n&&-1(?:<\/\1>|)$/,Z=/^.[^:#\[\.,]*$/;function X(e,i,n){if(k.isFunction(i))return k.grep(e,function(e,t){return!!i.call(e,t,e)!==n});if(i.nodeType)return k.grep(e,function(e){return e===i!==n});if("string"==typeof i){if(Z.test(i))return k.filter(i,e,n);i=k.filter(i,e)}return k.grep(e,function(e){return-1)[^>]*|#([\w-]*))$/,K=((k.fn.init=function(e,t,i){if(e){if(i=i||Q,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):k.isFunction(e)?void 0!==i.ready?i.ready(e):e(k):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),k.makeArray(e,this));if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:J.exec(e))||!n[1]&&t)return(!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:x,!0)),U.test(n[1])&&k.isPlainObject(t))for(var n in t)k.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n])}else(i=x.getElementById(n[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=x,this.selector=e}return this}).prototype=k.fn,Q=k(x),/^(?:parents|prev(?:Until|All))/),ee={children:!0,contents:!0,next:!0,prev:!0};function te(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),i=t.length;return this.filter(function(){for(var e=0;e",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function b(e,t){var i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&k.nodeName(e,t)?k.merge([e],i):i}function ue(e,t){for(var i=0,n=e.length;ix",m.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue;var fe=/^key/,me=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ge=/^([^.]*)(?:\.(.+)|)/;function ve(){return!0}function c(){return!1}function _e(){try{return x.activeElement}catch(e){}}function ye(e,t,i,n,o,s){var a,r;if("object"==typeof t){for(r in"string"!=typeof i&&(n=n||i,i=void 0),t)ye(e,r,i,n,t[r],s);return e}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=c;else if(!o)return e;return 1===s&&(a=o,(o=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,o,n,i)})}k.event={global:{},add:function(t,e,i,n,o){var s,a,r,l,c,d,u,h,p,f=v.get(t);if(f)for(i.handler&&(i=(s=i).handler,o=s.selector),i.guid||(i.guid=k.guid++),r=(r=f.events)||(f.events={}),a=(a=f.handle)||(f.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(S)||[""]).length;l--;)u=p=(h=ge.exec(e[l])||[])[1],h=(h[2]||"").split(".").sort(),u&&(c=k.event.special[u]||{},u=(o?c.delegateType:c.bindType)||u,c=k.event.special[u]||{},p=k.extend({type:u,origType:p,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:h.join(".")},s),(d=r[u])||((d=r[u]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,h,a))||t.addEventListener&&t.addEventListener(u,a),c.add&&(c.add.call(t,p),p.handler.guid||(p.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,p):d.push(p),k.event.global[u]=!0)},remove:function(e,t,i,n,o){var s,a,r,l,c,d,u,h,p,f,m,g=v.hasData(e)&&v.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(S)||[""]).length;c--;)if(p=m=(r=ge.exec(t[c])||[])[1],f=(r[2]||"").split(".").sort(),p){for(u=k.event.special[p]||{},h=l[p=(n?u.delegateType:u.bindType)||p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=h.length;s--;)d=h[s],!o&&m!==d.origType||i&&i.guid!==d.guid||r&&!r.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(h.splice(s,1),d.selector&&h.delegateCount--,u.remove&&u.remove.call(e,d));a&&!h.length&&(u.teardown&&!1!==u.teardown.call(e,f,g.handle)||k.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)k.event.remove(e,p+t[c],i,n,!0);k.isEmptyObject(l)&&v.remove(e,"handle events")}},dispatch:function(e){e=k.event.fix(e);var t,i,n,o,s,a=d.call(arguments),r=(v.get(this,"events")||{})[e.type]||[],l=k.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(s=k.event.handlers.call(this,e,r),t=0;(n=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=n.elem,i=0;(o=n.handlers[i++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(o=((k.event.special[o.origType]||{}).handle||o.handler).apply(n.elem,a))&&!1===(e.result=o)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var i,n,o,s,a=[],r=t.delegateCount,l=e.target;if(r&&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(n=[],i=0;i]*)\/>/gi,we=/\s*$/g;function Ce(e,t){return k.nodeName(e,"table")&&k.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Te(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){var t=ke.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ee(e,t){var i,n,o,s,a,r;if(1===t.nodeType){if(v.hasData(e)&&(s=v.access(e),a=v.set(t,s),r=s.events))for(o in delete a.handle,a.events={},r)for(i=0,n=r[o].length;i")},clone:function(e,t,i){var n,o,s,a,r,l,c,d=e.cloneNode(!0),u=k.contains(e.ownerDocument,e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=b(d),n=0,o=(s=b(e)).length;n")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),i=De(e,t),Le.detach()),Ie[e]=i),i}function Ae(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:w).getComputedStyle(e)}function Oe(e,t,i,n){var o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in i=i.apply(e,n||[]),t)e.style[o]=s[o];return i}var ze,s,je,Fe,a,p,Re=/^margin/,Ne=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),T=x.documentElement;function Be(){p.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",p.innerHTML="",T.appendChild(a);var e=w.getComputedStyle(p);ze="1%"!==e.top,Fe="2px"===e.marginLeft,s="4px"===e.width,p.style.marginRight="50%",je="4px"===e.marginRight,T.removeChild(a)}function M(e,t,i){var n,o,s=e.style;return""!==(o=(i=i||Ae(e))?i.getPropertyValue(t)||i[t]:void 0)&&void 0!==o||k.contains(e.ownerDocument,e)||(o=k.style(e,t)),i&&!m.pixelMarginRight()&&Ne.test(o)&&Re.test(t)&&(e=s.width,t=s.minWidth,n=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=i.width,s.width=e,s.minWidth=t,s.maxWidth=n),void 0!==o?o+"":o}function We(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}a=x.createElement("div"),(p=x.createElement("div")).style&&(p.style.backgroundClip="content-box",p.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===p.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(p),k.extend(m,{pixelPosition:function(){return Be(),ze},boxSizingReliable:function(){return null==s&&Be(),s},pixelMarginRight:function(){return null==s&&Be(),je},reliableMarginLeft:function(){return null==s&&Be(),Fe},reliableMarginRight:function(){var e,t=p.appendChild(x.createElement("div"));return t.style.cssText=p.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",p.style.width="1px",T.appendChild(a),e=!parseFloat(w.getComputedStyle(t).marginRight),T.removeChild(a),p.removeChild(t),e}}));var He=/^(none|table(?!-c[ea]).+)/,qe={position:"absolute",visibility:"hidden",display:"block"},Ve={letterSpacing:"0",fontWeight:"400"},Ye=["Webkit","O","Moz","ms"],Ge=x.createElement("div").style;function Ue(e){if(e in Ge)return e;for(var t=e[0].toUpperCase()+e.slice(1),i=Ye.length;i--;)if((e=Ye[i]+t)in Ge)return e}function Ze(e,t,i){var n=h.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function Xe(e,t,i,n,o){for(var s=i===(n?"border":"content")?4:"width"===t?1:0,a=0;s<4;s+=2)"margin"===i&&(a+=k.css(e,i+r[s],!0,o)),n?("content"===i&&(a-=k.css(e,"padding"+r[s],!0,o)),"margin"!==i&&(a-=k.css(e,"border"+r[s]+"Width",!0,o))):(a+=k.css(e,"padding"+r[s],!0,o),"padding"!==i&&(a+=k.css(e,"border"+r[s]+"Width",!0,o)));return a}function Qe(e,t,i){var n=!0,o="width"===t?e.offsetWidth:e.offsetHeight,s=Ae(e),a="border-box"===k.css(e,"boxSizing",!1,s);if(o<=0||null==o){if(((o=M(e,t,s))<0||null==o)&&(o=e.style[t]),Ne.test(o))return o;n=a&&(m.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+Xe(e,t,i||(a?"border":"content"),n,s)+"px"}function Je(e,t){for(var i,n,o,s=[],a=0,r=e.length;a").prop({charset:i.scriptCharset,src:i.url}).on("load error",o=function(e){n.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),x.head.appendChild(n[0])},abort:function(){o&&o()}}}),[]),$t=/(=)\?(?=&|$)|\?\?/,At=(k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Dt.pop()||k.expando+"_"+ht++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,i){var n,o,s,a=!1!==e.jsonp&&($t.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(n=e.jsonpCallback=k.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace($t,"$1"+n):!1!==e.jsonp&&(e.url+=(pt.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return s||k.error(n+" was not called"),s[0]},e.dataTypes[0]="json",o=w[n],w[n]=function(){s=arguments},i.always(function(){void 0===o?k(w).removeProp(n):w[n]=o,e[n]&&(e.jsonpCallback=t.jsonpCallback,Dt.push(n)),s&&k.isFunction(o)&&o(s[0]),s=o=void 0}),"script"):void 0}),k.parseHTML=function(e,t,i){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(i=t,t=!1),t=t||x;var n=U.exec(e),i=!i&&[];return n?[t.createElement(n[1])]:(n=pe([e],t,i),i&&i.length&&k(i).remove(),k.merge([],n.childNodes))},k.fn.load);function Ot(e){return k.isWindow(e)?e:9===e.nodeType&&e.defaultView}k.fn.load=function(e,t,i){var n,o,s,a,r;return"string"!=typeof e&&At?At.apply(this,arguments):(a=this,-1<(r=e.indexOf(" "))&&(n=k.trim(e.slice(r)),e=e.slice(0,r)),k.isFunction(t)?(i=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0").append(k.parseHTML(e)).find(n):e)}).always(i&&function(e,t){a.each(function(){i.apply(this,s||[e.responseText,t,e])})}),this)},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.filters.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,i){var n,o,s,a,r=k.css(e,"position"),l=k(e),c={};"static"===r&&(e.style.position="relative"),s=l.offset(),n=k.css(e,"top"),a=k.css(e,"left"),r=("absolute"===r||"fixed"===r)&&-1<(n+a).indexOf("auto")?(o=(r=l.position()).top,r.left):(o=parseFloat(n)||0,parseFloat(a)||0),null!=(t=k.isFunction(t)?t.call(e,i,k.extend({},s)):t).top&&(c.top=t.top-s.top+o),null!=t.left&&(c.left=t.left-s.left+r),"using"in t?t.using.call(e,c):l.css(c)}},k.fn.extend({offset:function(t){var e,i,n,o;return arguments.length?void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)}):(n={top:0,left:0},(o=(i=this[0])&&i.ownerDocument)?(e=o.documentElement,k.contains(e,i)?(n=i.getBoundingClientRect(),i=Ot(o),{top:n.top+i.pageYOffset-e.clientTop,left:n.left+i.pageXOffset-e.clientLeft}):n):void 0)},position:function(){var e,t,i,n;if(this[0])return i=this[0],n={top:0,left:0},"fixed"===k.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(n=k.nodeName(e[0],"html")?n:e.offset()).top+=k.css(e[0],"borderTopWidth",!0),n.left+=k.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-k.css(i,"marginTop",!0),left:t.left-n.left-k.css(i,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||T})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var s="pageYOffset"===o;k.fn[t]=function(e){return u(this,function(e,t,i){var n=Ot(e);return void 0===i?n?n[o]:e[t]:void(n?n.scrollTo(s?n.pageXOffset:i,s?i:n.pageYOffset):e[t]=i)},t,e,arguments.length)}}),k.each(["top","left"],function(e,i){k.cssHooks[i]=We(m.pixelPosition,function(e,t){return t?(t=M(e,i),Ne.test(t)?k(e).position()[i]+"px":t):void 0})}),k.each({Height:"height",Width:"width"},function(s,a){k.each({padding:"inner"+s,content:a,"":"outer"+s},function(n,e){k.fn[e]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),o=n||(!0===e||!0===t?"margin":"border");return u(this,function(e,t,i){var n;return k.isWindow(e)?e.document.documentElement["client"+s]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+s],n["scroll"+s],e.body["offset"+s],n["offset"+s],n["client"+s])):void 0===i?k.css(e,t,o):k.style(e,t,i,o)},a,i?e:void 0,i,null)}})}),k.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},size:function(){return this.length}}),k.fn.andSelf=k.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return k});var zt=w.jQuery,jt=w.$;return k.noConflict=function(e){return w.$===k&&(w.$=jt),e&&w.jQuery===k&&(w.jQuery=zt),k},z||(w.jQuery=w.$=k),k}),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,n,o){return jQuery.easing[jQuery.easing.def](e,t,i,n,o)},easeInQuad:function(e,t,i,n,o){return n*(t/=o)*t+i},easeOutQuad:function(e,t,i,n,o){return-n*(t/=o)*(t-2)+i},easeInOutQuad:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,o){return n*(t/=o)*t*t+i},easeOutCubic:function(e,t,i,n,o){return n*((t=t/o-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,o){return n*(t/=o)*t*t*t+i},easeOutQuart:function(e,t,i,n,o){return-n*((t=t/o-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,o){return n*(t/=o)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,o){return n*((t=t/o-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,o){return-n*Math.cos(t/o*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,o){return n*Math.sin(t/o*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,o){return-n/2*(Math.cos(Math.PI*t/o)-1)+i},easeInExpo:function(e,t,i,n,o){return 0==t?i:n*Math.pow(2,10*(t/o-1))+i},easeOutExpo:function(e,t,i,n,o){return t==o?i+n:n*(1-Math.pow(2,-10*t/o))+i},easeInOutExpo:function(e,t,i,n,o){return 0==t?i:t==o?i+n:(t/=o/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(e,t,i,n,o){return-n*(Math.sqrt(1-(t/=o)*t)-1)+i},easeOutCirc:function(e,t,i,n,o){return n*Math.sqrt(1-(t=t/o-1)*t)+i},easeInOutCirc:function(e,t,i,n,o){return(t/=o/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,o){var s=1.70158,a=0,r=n;return 0==t?i:1==(t/=o)?i+n:(a=a||.3*o,s=rthis.nbCrumbDisplayed-1&&this.options.animation.activated?e.animate({width:0},o.options.animation.speed,function(){e.removeClass("breadcrumb__item--show")}):e.removeClass("breadcrumb__item--show"),this.nextCrumbToShowWidth||(this.nextCrumbToShowWidth=e.data("width")))},_showOrHideCrumbsListOnWindowResize:function(){var t=this;a(e).resize(function(){var e=t.$element.width();(e=t.totalCrumbsWidth&&t.$lastCrumb.hasClass("breadcrumb__item--ellipsis")&&t._disableEllipsis(t.$lastCrumb)})},_disableEllipsis:function(e){e.css({width:"auto"}),e.removeClass("breadcrumb__item--ellipsis")}},a.fn[i]=function(e){if(o.prototype[e]&&-1===e.indexOf("_")){var t=a.data(this[0],"plugin_"+i);if(t)return o.prototype[e].apply(t,Array.prototype.slice.call(arguments,1));a.error("jquery."+i+" plugin must be initialized first on the element")}else{if("object"==typeof e||!e)return this.each(function(){a.data(this,"plugin_"+i)?a.error("jquery."+i+" plugin cannot be instantiated multiple times on same element"):a.data(this,"plugin_"+i,new o(this,e))});a.error("Method "+e+" does not exist on jquery."+i)}}}(jQuery,window,document),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).leaflet={})}(this,function(e){"use strict";function c(e){for(var t,i,n=1,o=arguments.length;n=this.min.x&&i.x<=this.max.x&&t.y>=this.min.y&&i.y<=this.max.y},intersects:function(e){e=u(e);var t=this.min,i=this.max,n=e.min,o=(e=e.max).x>=t.x&&n.x<=i.x,e=e.y>=t.y&&n.y<=i.y;return o&&e},overlaps:function(e){e=u(e);var t=this.min,i=this.max,n=e.min,o=(e=e.max).x>t.x&&n.xt.y&&n.y=n.lat&&i.lat<=o.lat&&t.lng>=n.lng&&i.lng<=o.lng},intersects:function(e){e=v(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),o=(e=e.getNorthEast()).lat>=t.lat&&n.lat<=i.lat,e=e.lng>=t.lng&&n.lng<=i.lng;return o&&e},overlaps:function(e){e=v(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),o=(e=e.getNorthEast()).lat>t.lat&&n.latt.lng&&n.lng","http://www.w3.org/2000/svg"===(Ne.firstChild&&Ne.firstChild.namespaceURI));function w(e){return 0<=navigator.userAgent.toLowerCase().indexOf(e)}var x={ie:Tt,ielt9:fe,edge:n,webkit:me,android:ge,android23:ve,androidStock:_e,opera:ye,chrome:be,gecko:we,safari:xe,phantom:ke,opera12:o,win:Se,ie3d:Ce,webkit3d:Te,gecko3d:pe,any3d:Me,mobile:Gi,mobileWebkit:Ee,mobileWebkit3d:Pe,msPointer:Le,pointer:Ie,touch:$e,touchNative:De,mobileOpera:Ae,mobileGecko:Oe,retina:ze,passiveEvents:je,canvas:Fe,svg:Re,vml:!Re&&function(){try{var e=document.createElement("div"),t=(e.innerHTML='',e.firstChild);return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}(),inlineSvg:Ne,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},Be=x.msPointer?"MSPointerDown":"pointerdown",We=x.msPointer?"MSPointerMove":"pointermove",He=x.msPointer?"MSPointerUp":"pointerup",qe=x.msPointer?"MSPointerCancel":"pointercancel",Ve={touchstart:Be,touchmove:We,touchend:He,touchcancel:qe},Ye={touchstart:function(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&$(t),Je(e,t)},touchmove:Je,touchend:Je,touchcancel:Je},Ge={},Ue=!1;function Ze(e){Ge[e.pointerId]=e}function Xe(e){Ge[e.pointerId]&&(Ge[e.pointerId]=e)}function Qe(e){delete Ge[e.pointerId]}function Je(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in t.touches=[],Ge)t.touches.push(Ge[i]);t.changedTouches=[t],e(t)}}var Ke=200;var et,tt,it,nt,ot,st=gt(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),at=gt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),rt="webkitTransition"===at||"OTransition"===at?at+"End":"transitionend";function lt(e){return"string"==typeof e?document.getElementById(e):e}function ct(e,t){var i=e.style[t]||e.currentStyle&&e.currentStyle[t];return"auto"===(i=i&&"auto"!==i||!document.defaultView?i:(e=document.defaultView.getComputedStyle(e,null))?e[t]:null)?null:i}function k(e,t,i){return(e=document.createElement(e)).className=t||"",i&&i.appendChild(e),e}function S(e){var t=e.parentNode;t&&t.removeChild(e)}function dt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function ut(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function ht(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function pt(e,t){return void 0!==e.classList?e.classList.contains(t):0<(e=mt(e)).length&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e)}function C(e,t){var i;if(void 0!==e.classList)for(var n=H(t),o=0,s=n.length;othis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var i=this.getCenter(),e=this._limitCenter(i,this._zoom,v(e));return i.equals(e)||this.panTo(e,t),this._enforcingBounds=!1,this},panInside:function(e,t){var i=m((t=t||{}).paddingTopLeft||t.padding||[0,0]),n=m(t.paddingBottomRight||t.padding||[0,0]),o=this.project(this.getCenter()),e=this.project(e),s=(i=u([(s=this.getPixelBounds()).min.add(i),s.max.subtract(n)])).getSize();return i.contains(e)||(this._enforcingBounds=!0,n=e.subtract(i.getCenter()),i=i.extend(e).getSize().subtract(s),o.x+=n.x<0?-i.x:i.x,o.y+=n.y<0?-i.y:i.y,this.panTo(this.unproject(o),t),this._enforcingBounds=!1),this},invalidateSize:function(e){if(!this._loaded)return this;e=c({animate:!1,pan:!0},!0===e?{animate:!0}:e);var t=this.getSize(),i=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),n=t.divideBy(2).round(),o=i.divideBy(2).round();return(n=n.subtract(o)).x||n.y?(e.animate&&e.pan?this.panBy(n):(e.pan&&this._rawPanBy(n),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(r(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){var t,i;return e=this._locateOptions=c({timeout:1e4,watch:!1},e),"geolocation"in navigator?(t=r(this._handleGeolocationResponse,this),i=r(this._handleGeolocationError,this),e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,i,e):navigator.geolocation.getCurrentPosition(t,i,e)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),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;this._container._leaflet_id&&(t=e.code,e=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: "+e+"."}))},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t,i,n=new _(e.coords.latitude,e.coords.longitude),o=n.toBounds(2*e.coords.accuracy),s=this._locateOptions,a=(s.setView&&(t=this.getBoundsZoom(o),this.setView(n,s.maxZoom?Math.min(t,s.maxZoom):t)),{latlng:n,bounds:o,timestamp:e.timestamp});for(i in e.coords)"number"==typeof e.coords[i]&&(a[i]=e.coords[i]);this.fire("locationfound",a)}},addHandler:function(e,t){return t&&(t=this[e]=new t(this),this._handlers.push(t),this.options[e])&&t.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),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}for(var e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),S(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(a(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)S(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){return t=k("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane),e&&(this._panes[e]=t),t},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new s(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,i){e=v(e),i=m(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),a=e.getNorthWest(),e=e.getSouthEast(),i=this.getSize().subtract(i),e=u(this.project(e,n),this.project(a,n)).getSize(),a=x.any3d?this.options.zoomSnap:1,r=i.x/e.x,i=i.y/e.y,e=t?Math.max(r,i):Math.min(r,i),n=this.getScaleZoom(e,n);return a&&(n=Math.round(n/(a/100))*(a/100),n=t?Math.ceil(n/a)*a:Math.floor(n/a)*a),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new f(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){return new g(e=this._getTopLeftPoint(e,t),e.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 i=this.options.crs;return t=void 0===t?this._zoom:t,i.scale(e)/i.scale(t)},getScaleZoom:function(e,t){var i=this.options.crs,e=(t=void 0===t?this._zoom:t,i.zoom(e*i.scale(t)));return isNaN(e)?1/0:e},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(b(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(m(e),t)},layerPointToLatLng:function(e){return e=m(e).add(this.getPixelOrigin()),this.unproject(e)},latLngToLayerPoint:function(e){return this.project(b(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(b(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(v(e))},distance:function(e,t){return this.options.crs.distance(b(e),b(t))},containerPointToLayerPoint:function(e){return m(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return m(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){return e=this.containerPointToLayerPoint(m(e)),this.layerPointToLatLng(e)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(b(e)))},mouseEventToContainerPoint:function(e){return zt(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){if(!(e=this._container=lt(e)))throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");P(e,"scroll",this._onScroll,this),this._containerId=h(e)},_initLayout:function(){var e=this._container,t=(this._fadeAnimated=this.options.fadeAnimation&&x.any3d,C(e,"leaflet-container"+(x.touch?" leaflet-touch":"")+(x.retina?" leaflet-retina":"")+(x.ielt9?" leaflet-oldie":"")+(x.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),ct(e,"position"));"absolute"!==t&&"relative"!==t&&"fixed"!==t&&"sticky"!==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),E(this._mapPane,new f(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(C(e.markerPane,"leaflet-zoom-hide"),C(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t,i){E(this._mapPane,new f(0,0));var n=!this._loaded,o=(this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset"),this._zoom!==t);this._moveStart(o,i)._move(e,t)._moveEnd(o),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,i,n){void 0===t&&(t=this._zoom);var o=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return a(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){E(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={};var t=e?D:P;t((this._targets[h(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),x.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){a(this._resizeRequest),this._resizeRequest=y(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 i,n=[],o="mouseout"===t||"mouseover"===t,s=e.target||e.srcElement,a=!1;s;){if((i=this._targets[h(s)])&&("click"===t||"preclick"===t)&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(t,!0)){if(o&&!Rt(s,e))break;if(n.push(i),o)break}if(s===this._container)break;s=s.parentNode}return n.length||a||o||!this.listens(t,!0)?n:[this]},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t,i=e.target||e.srcElement;!this._loaded||i._leaflet_disable_events||"click"===e.type&&this._isClickDisabled(i)||("mousedown"===(t=e.type)&&wt(i),this._fireDOMEvent(e,t))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,t,i){"click"===e.type&&((r=c({},e)).type="preclick",this._fireDOMEvent(r,r.type,i));var n=this._findEventTargets(e,t);if(i){for(var o=[],s=0;sthis.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(t),n=this._getCenterOffset(e)._divideBy(1-1/n);if(!0!==i.animate&&!this.getSize().contains(n))return!1;y(function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(e,t,!0)},this)}return!0},_animateZoom:function(e,t,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,C(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(r(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&T(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Bt(e){return new O(e)}var O=te.extend({options:{position:"topright"},initialize:function(e){l(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),i=this.getPosition(),e=e._controlCorners[i];return C(t,"leaflet-control"),-1!==i.indexOf("bottom")?e.insertBefore(t,e.firstChild):e.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(S(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(e){this._map&&e&&0",(t=document.createElement("div")).innerHTML=e,t.firstChild},_addItem:function(e){var t,i=document.createElement("label"),n=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=n):t=this._createRadioElement("leaflet-base-layers_"+h(this),n),this._layerControlInputs.push(t),t.layerId=h(e.layer),P(t,"click",this._onInputClick,this);(n=document.createElement("span")).innerHTML=" "+e.name;var o=document.createElement("span");return i.appendChild(o),o.appendChild(t),o.appendChild(n),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var e,t,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=i.length-1;0<=s;s--)e=i[s],t=this._getLayer(e.layerId).layer,e.checked?n.push(t):e.checked||o.push(t);for(s=0;st.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section,t=(this._preventClick=!0,P(e,"click",$),this.expand(),this);setTimeout(function(){D(e,"click",$),t._preventClick=!1})}})),Ht=O.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",i=k("div",t+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,t+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,t+"-out",i,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),i},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._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,i,n,o){return(i=k("a",i,n)).innerHTML=e,i.href="#",i.title=t,i.setAttribute("role","button"),i.setAttribute("aria-label",t),$t(i),P(i,"click",At),P(i,"click",o,this),P(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";T(this._zoomInButton,t),T(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),!this._disabled&&e._zoom!==e.getMinZoom()||(C(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),!this._disabled&&e._zoom!==e.getMaxZoom()||(C(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}}),qt=(A.mergeOptions({zoomControl:!0}),A.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ht,this.addControl(this.zoomControl))}),O.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",i=k("div",t),n=this.options;return this._addScales(n,t+"-line",i),e.on(n.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),i},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,i){e.metric&&(this._mScale=k("div",t,i)),e.imperial&&(this._iScale=k("div",t,i))},_update:function(){var e=(t=this._map).getSize().y/2,t=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(t)},_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);this._updateScale(this._mScale,t<1e3?t+" m":t/1e3+" km",t/e)},_updateImperial:function(e){var t,i;5280<(e=3.2808399*e)?(i=this._getRoundNum(t=e/5280),this._updateScale(this._iScale,i+" mi",i/t)):(i=this._getRoundNum(e),this._updateScale(this._iScale,i+" ft",i/e))},_updateScale:function(e,t,i){e.style.width=Math.round(this.options.maxWidth*i)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1);return t*(10<=(e=e/t)?10:5<=e?5:3<=e?3:2<=e?2:1)}})),Vt=O.extend({options:{position:"bottomright",prefix:''+(x.inlineSvg?' ':"")+"Leaflet"},initialize:function(e){l(this,e),this._attributions={}},onAdd:function(e){for(var t in(e.attributionControl=this)._container=k("div","leaflet-control-attribution"),$t(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},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},removeAttribution:function(e){return e&&this._attributions[e]&&(this._attributions[e]--,this._update()),this},_update:function(){if(this._map){var e,t=[];for(e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(' ')}}});A.mergeOptions({attributionControl:!0}),A.addInitHook(function(){this.options.attributionControl&&(new Vt).addTo(this)}),O.Layers=Wt,O.Zoom=Ht,O.Scale=qt,O.Attribution=Vt,Bt.layers=function(e,t,i){return new Wt(e,t,i)},Bt.zoom=function(e){return new Ht(e)},Bt.scale=function(e){return new qt(e)},Bt.attribution=function(e){return new Vt(e)};(n=te.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}})).addTo=function(e,t){return e.addHandler(t,this),this};var me={Events:t},Yt=x.touch?"touchstart mousedown":"mousedown",Gt=ie.extend({options:{clickTolerance:3},initialize:function(e,t,i,n){l(this,n),this._element=e,this._dragStartTarget=t||e,this._preventOutline=i},enable:function(){this._enabled||(P(this._dragStartTarget,Yt,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Gt._dragging===this&&this.finishDrag(!0),D(this._dragStartTarget,Yt,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){var t,i;this._enabled&&(this._moved=!1,pt(this._element,"leaflet-zoom-anim")||(e.touches&&1!==e.touches.length?Gt._dragging===this&&this.finishDrag():Gt._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||((Gt._dragging=this)._preventOutline&&wt(this._element),yt(),it(),this._moving)||(this.fire("down"),i=e.touches?e.touches[0]:e,t=kt(this._element),this._startPoint=new f(i.clientX,i.clientY),this._startPos=_t(this._element),this._parentScale=St(t),i="mousedown"===e.type,P(document,i?"mousemove":"touchmove",this._onMove,this),P(document,i?"mouseup":"touchend touchcancel",this._onUp,this))))},_onMove:function(e){var t;this._enabled&&(e.touches&&1t&&(s.push(e[a]),r=a);return rt.max.x&&(i|=2),e.yt.max.y&&(i|=8),i}function ni(e,t,i,n){var o=t.x,t=t.y,s=i.x-o,a=i.y-t,r=s*s+a*a;return 0this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e.y!=n.y>e.y&&e.x<(n.x-i.x)*(e.y-i.y)/(n.y-i.y)+i.x&&(c=!c);return c||gi.prototype._containsPoint.call(this,e,!0)}})),_i=li.extend({initialize:function(e,t){l(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,i,n,o=d(e)?e:e.features;if(o){for(t=0,i=o.length;ts.x&&(a=i.x+r-s.x+o.x),i.x-a-n.x<(r=0)&&(a=i.x-n.x),i.y+t+o.y>s.y&&(r=i.y+t-s.y+o.y),i.y-r-n.y<0&&(r=i.y-n.y),(a||r)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([a,r]))))},_getAnchor:function(){return m(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}})),$i=(A.mergeOptions({closePopupOnClick:!0}),A.include({openPopup:function(e,t,i){return this._initOverlay(Di,e,t,i).openOn(this),this},closePopup:function(e){return(e=arguments.length?e:this._popup)&&e.close(),this}}),o.include({bindPopup:function(e,t){return this._popup=this._initOverlay(Di,this._popup,e,t),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){return this._popup&&(this instanceof li||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng))&&this._popup.openOn(this._map),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),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;this._popup&&this._map&&(At(e),t=e.layer||e.target,this._popup._source!==t||t instanceof pi?(this._popup._source=t,this.openPopup(e.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng))},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}}),Ii.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Ii.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Ii.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Ii.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=k("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+h(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,i=this._map,n=this._container,o=i.latLngToContainerPoint(i.getCenter()),i=i.layerPointToContainerPoint(e),s=this.options.direction,a=n.offsetWidth,r=n.offsetHeight,l=m(this.options.offset),c=this._getAnchor(),i="top"===s?(t=a/2,r):"bottom"===s?(t=a/2,0):(t="center"===s?a/2:"right"===s?0:"left"===s?a:i.xthis.options.maxZoom||nthis.options.maxZoom||void 0!==this.options.minZoom&&oi.max.x)||!t.wrapLat&&(e.yi.max.y))return!1}return!this.options.bounds||(t=this._tileCoordsToBounds(e),v(this.options.bounds).overlaps(t))},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,i=this.getTileSize(),n=e.scaleBy(i),i=n.add(i);return[t.unproject(n,e.z),t.unproject(i,e.z)]},_tileCoordsToBounds:function(e){return e=new s((e=this._tileCoordsToNwSe(e))[0],e[1]),this.options.noWrap?e:this._map.wrapLatLngBounds(e)},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=new f(+(e=e.split(":"))[0],+e[1]);return t.z=+e[2],t},_removeTile:function(e){var t=this._tiles[e];t&&(S(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){C(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=p,e.onmousemove=p,x.ielt9&&this.options.opacity<1&&M(e,this.options.opacity)},_addTile:function(e,t){var i=this._getTilePos(e),n=this._tileCoordsToKey(e),o=this.createTile(this._wrapCoords(e),r(this._tileReady,this,e));this._initTile(o),this.createTile.length<2&&y(r(this._tileReady,this,e,null,o)),E(o,i),this._tiles[n]={el:o,coords:e,current:!0},t.appendChild(o),this.fire("tileloadstart",{tile:o,coords:e})},_tileReady:function(e,t,i){t&&this.fire("tileerror",{error:t,tile:i,coords:e});var n=this._tileCoordsToKey(e);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(M(i.el,0),a(this._fadeFrame),this._fadeFrame=y(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),t||(C(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:e})),this._noTilesToLoad())&&(this._loading=!1,this.fire("load"),x.ielt9||!this._map._fadeAnimated?y(this._pruneTiles,this):setTimeout(r(this._pruneTiles,this),250))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new f(this._wrapX?B(e.x,this._wrapX):e.x,this._wrapY?B(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new g(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}})),zi=Oi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,(t=l(this,t)).detectRetina&&x.retina&&0')}}catch(e){}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Te={_initContainer:function(){this._container=k("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ri.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=Wi("shape");C(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=Wi("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[h(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;S(t),e.removeInteractiveTarget(t),delete this._layers[h(e)]},_updateStyle:function(e){var t=e._stroke,i=e._fill,n=e.options,o=e._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(t=t||(e._stroke=Wi("stroke")),o.appendChild(t),t.weight=n.weight+"px",t.color=n.color,t.opacity=n.opacity,n.dashArray?t.dashStyle=d(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=n.lineCap.replace("butt","flat"),t.joinstyle=n.lineJoin):t&&(o.removeChild(t),e._stroke=null),n.fill?(i=i||(e._fill=Wi("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),i=Math.round(e._radius),n=Math.round(e._radiusY||i);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+i+","+n+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){ut(e._container)},_bringToBack:function(e){ht(e._container)}},Hi=x.vml?Wi:ue,qi=Ri.extend({_initContainer:function(){this._container=Hi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Hi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){S(this._container),D(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){var e,t,i;this._map._animatingZoom&&this._bounds||(Ri.prototype._update.call(this),t=(e=this._bounds).getSize(),i=this._container,this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,i.setAttribute("width",t.x),i.setAttribute("height",t.y)),E(i,e.min),i.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&&C(t,e.options.className),e.options.interactive&&C(t,"leaflet-interactive"),this._updateStyle(e),this._layers[h(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){S(e._path),e.removeInteractiveTarget(e._path),delete this._layers[h(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,e=e.options;t&&(e.stroke?(t.setAttribute("stroke",e.color),t.setAttribute("stroke-opacity",e.opacity),t.setAttribute("stroke-width",e.weight),t.setAttribute("stroke-linecap",e.lineCap),t.setAttribute("stroke-linejoin",e.lineJoin),e.dashArray?t.setAttribute("stroke-dasharray",e.dashArray):t.removeAttribute("stroke-dasharray"),e.dashOffset?t.setAttribute("stroke-dashoffset",e.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),e.fill?(t.setAttribute("fill",e.fillColor||e.color),t.setAttribute("fill-opacity",e.fillOpacity),t.setAttribute("fill-rule",e.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,he(e._parts,t))},_updateCircle:function(e){var t=e._point,i=Math.max(Math.round(e._radius),1),n="a"+i+","+(Math.max(Math.round(e._radiusY),1)||i)+" 0 1,0 ",t=e._empty()?"M0 0":"M"+(t.x-i)+","+t.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(e,t)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){ut(e._path)},_bringToBack:function(e){ht(e._path)}});function Vi(e){return x.svg||x.vml?new qi(e):null}x.vml&&qi.include(Te),A.include({getRenderer:function(e){return e=(e=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(e){var t;return"overlayPane"!==e&&void 0!==e&&(void 0===(t=this._paneRenderers[e])&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t)},_createRenderer:function(e){return this.options.preferCanvas&&Bi(e)||Vi(e)}});var Yi=vi.extend({initialize:function(e,t){vi.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=v(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}}),pe=(qi.create=Hi,qi.pointsToPath=he,_i.geometryToLayer=yi,_i.coordsToLatLng=wi,_i.coordsToLatLngs=xi,_i.latLngToCoords=ki,_i.latLngsToCoords=Si,_i.getFeature=Ci,_i.asFeature=Ti,A.mergeOptions({boxZoom:!0}),n.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(){P(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){D(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){S(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(),it(),yt(),this._startPoint=this._map.mouseEventToContainerPoint(e),P(document,{contextmenu:At,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=k("div","leaflet-zoom-box",this._container),C(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=(e=new g(this._point,this._startPoint)).getSize();E(this._box,e.min),this._box.style.width=t.x+"px",this._box.style.height=t.y+"px"},_finish:function(){this._moved&&(S(this._box),T(this._container,"leaflet-crosshair")),Ct(),bt(),D(document,{contextmenu:At,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){1!==e.which&&1!==e.button||(this._finish(),this._moved&&(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(r(this._resetState,this),0),e=new s(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})))},_onKeyDown:function(e){27===e.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}})),Me=(A.addInitHook("addHandler","boxZoom",pe),A.mergeOptions({doubleClickZoom:!0}),n.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,i=t.getZoom(),n=t.options.zoomDelta,i=e.originalEvent.shiftKey?i-n:i+n;"center"===t.options.doubleClickZoom?t.setZoom(i):t.setZoomAround(e.containerPoint,i)}})),Gi=(A.addInitHook("addHandler","doubleClickZoom",Me),A.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),n.extend({addHooks:function(){var e;this._draggable||(e=this._map,this._draggable=new Gt(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))),C(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){T(this._map._container,"leaflet-grab"),T(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,t=this._map;t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(e=v(this._map.options.maxBounds),this._offsetLimit=u(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))):this._offsetLimit=null,t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){var t,i;this._map.options.inertia&&(t=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(i),this._times.push(t),this._prunePositions(t)),this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;1t.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),i=this._initialWorldOffset,n=((o=this._draggable._newPos.x)-t+i)%e+t-i,o=(o+t+i)%e-t-i,e=Math.abs(n+i)t.getMaxZoom()&&1