PageSourceSearch

https://www.maproute.com/js/?v=2.7&static

js maproute.com collected 2026-09-24 10:56:17 UTC 416,423 bytes, 463 lines download raw bytes

vendor: 23,418 bytes, lines 1-7
1/****************************/
2/* Copyright 2026 Zygomatic */
3/* https://www.zygomatic.nl */
4/****************************/
5
6/*! jQuery v3.7.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween | (c) OpenJS Foundation and other contributors | jquery.org/license */
7!function(e,t){"use strict";"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(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},m=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||m).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var de=oe.pop,pe=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function d(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,d)};var ye=m,me=s;!function(){var e,x,w,o,a,C,r,T,p,i,E=me,k=ce.expando,S=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",d="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+d+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),b=new RegExp(ge+"|>"),A=new RegExp(g),D=new RegExp("^"+t+"$"),N={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+d),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},L=/^(?:input|select|textarea|button)$/i,j=/^h\d$/i,O=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,P=/[+~]/,H=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),q=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},R=function(){V()},M=K(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{E.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){E={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!r&&(V(e),e=e||C,T)){if(11!==d&&(u=O.exec(t)))if(i=u[1]){if(9===d){if(!(a=e.getElementById(i)))return n;if(a.id===i)return E.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return E.call(n,a),n}else{if(u[2])return E.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return E.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||p&&p.test(t))){if(c=t,f=e,1===d&&(b.test(t)||m.test(t))){(f=P.test(t)&&X(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=k)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+G(l[o]);c=l.join(",")}try{return E.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>x.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function B(e){return e[k]=!0,e}function F(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function $(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&M(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function U(a){return B(function(o){return o=+o,B(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function X(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=C&&9===n.nodeType&&n.documentElement&&(r=(C=n).documentElement,T=!ce.isXMLDoc(C),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=C&&(t=C.defaultView)&&t.top!==t&&t.addEventListener("unload",R),le.getById=F(function(e){return r.appendChild(e).id=ce.expando,!C.getElementsByName||!C.getElementsByName(ce.expando).length}),le.disconnectedMatch=F(function(e){return i.call(e,"*")}),le.scope=F(function(){return C.querySelectorAll(":scope")}),le.cssHas=F(function(){try{return C.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(x.filter.ID=function(e){var t=e.replace(H,q);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&T){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var n=e.replace(H,q);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&T){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),x.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},x.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&T)return t.getElementsByClassName(e)},p=[],F(function(e){var t;r.appendChild(e).innerHTML="<a id='"+k+"' href='' disabled='disabled'></a><select id='"+k+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||p.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+k+"-]").length||p.push("~="),e.querySelectorAll("a#"+k+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.push(":checked"),(t=C.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===C||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),C}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),T&&!h[t+" "]&&(!p||!p.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,C,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=C&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=C&&V(e);var n=x.attrHandle[t.toLowerCase()],r=n&&ue.call(x.attrHandle,t.toLowerCase())?n(e,t,!T):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),pe.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(x=ce.expr={cacheLength:50,createPseudo:B,match:N,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(H,q),e[3]=(e[3]||e[4]||e[5]||"").replace(H,q),"~="===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]||I.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]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return N.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&A.test(n)&&(t=Y(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(H,q).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,h,g){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,d=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===p&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){d=(a=(r=(i=l[k]||(l[k]={}))[p]||[])[0]===S&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(d=a=0)||s.pop())if(1===o.nodeType&&++d&&o===e){i[p]=[S,a,d];break}}else if(f&&(d=a=(r=(i=e[k]||(e[k]={}))[p]||[])[0]===S&&r[1]),!1===d)while(o=++a&&o&&o[u]||(d=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++d&&(f&&((i=o[k]||(o[k]={}))[p]=[S,d]),o===e))break;return(d-=g)===h||d%h==0&&0<=d/h}}},PSEUDO:function(e,o){var t,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[k]?a(o):1<a.length?(t=[e,e,"",o],x.setFilters.hasOwnProperty(e.toLowerCase())?B(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:B(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[k]?B(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:B(function(t){return function(e){return 0<I(t,e).length}}),contains:B(function(t){return t=t.replace(H,q),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:B(function(n){return D.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(H,q).toLowerCase(),function(e){var t;do{if(t=T?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return C.activeElement}catch(e){}}()&&C.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!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 j.test(e.nodeName)},input:function(e){return L.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"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){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:U(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[e]=$(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=_(e);function Q(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=x.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),x.filter)!(r=N[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function G(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function K(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[S,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[k]||(e[k]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===S&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function J(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(p,h,g,v,y,e){return v&&!v[k]&&(v=ee(v)),y&&!y[k]&&(y=ee(y,e)),B(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),d=!p||!e&&h?f:Z(f,u,p,n,r);if(g?g(d,s=y||(e?p:c||v)?[]:t,n,r):s=d,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(d[l[o]]=a))}if(e){if(y||p){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(d[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):E.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=x.relative[e[0].type],a=o||x.relative[" "],s=o?1:0,u=K(function(e){return e===i},a,!0),l=K(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=x.relative[e[s].type])c=[K(J(c),t)];else{if((t=x.filter[e[s].type].apply(null,e[s].matches))[k]){for(n=++s;n<r;n++)if(x.relative[e[n].type])break;return ee(1<s&&J(c),1<s&&G(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&G(e))}c.push(t)}return J(c)}function ne(e,t){var n,v,y,m,b,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[k]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,b=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],d=w,p=e||b&&x.find.TAG("*",i),h=S+=null==d?1:Math.random()||.1,g=p.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=p[l]);l++){if(b&&o){a=0,t||o.ownerDocument==C||(V(o),n=!T);while(s=v[a++])if(s(o,t||C,n)){E.call(r,o);break}i&&(S=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=de.call(r));f=Z(f)}E.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(S=h,w=d),c},m?B(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&T&&x.relative[o[1].type]){if(!(t=(x.find.ID(a.matches[0].replace(H,q),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=N.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],x.relative[s=a.type])break;if((u=x.find[s])&&(r=u(a.matches[0].replace(H,q),P.test(o[0].type)&&X(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&G(o)))return E.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!T,n,!t||P.test(e)&&X(t.parentNode)||t),n}Q.prototype=x.filters=x.pseudos,x.setFilters=new Q,le.sortStable=k.split("").sort(l).join("")===k,V(),le.sortDetached=F(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var p=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},w=ce.expr.match.needsContext,C=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&w.test(e)?ce(e):e||[],!1).length}});var E,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||E,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:k.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),C.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=m.getElementById(r[2]))&&(this[0]=i,this.length=1),this}
vendor: 4,295 bytes, line 7
7return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,E=ce(m);var S=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};function D(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!w.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return p(e,"parentNode")},parentsUntil:function(e,t,n){return p(e,"parentNode",n)},next:function(e){return D(e,"nextSibling")},prev:function(e){return D(e,"previousSibling")},nextAll:function(e){return p(e,"nextSibling")},prevAll:function(e){return p(e,"previousSibling")},nextUntil:function(e,t,n){return p(e,"nextSibling",n)},prevUntil:function(e,t,n){return p(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(A[r]||ce.uniqueSort(n),S.test(r)&&n.reverse()),this.pushStack(n)}});var N=/[^\x20\t\r\n\f]+/g;function L(e){return e}function j(e){throw e}function O(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(N)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self
7-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,L,s),l(u,o,j,s)):(u++,t.call(e,l(u,o,L,s),l(u,o,j,s),l(u,o,L,o.notifyWith))):(a!==L&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==j&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:L,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:L)),o[2][3].add(l(0,e,v(n)?n:j))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(O(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)O(i[t],a(t),o.reject);return o.promise()}});var P=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&P.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var H=ce.Deferred();function q(){m.removeEventListener("DOMContentLoaded",q),ie.removeEventListener("load",q),ce.ready()}ce.fn.ready=function(e){return H.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||H.resolveWith(m,[ce])}}),ce.ready.then=H.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?ie.setTimeout(ce.ready):(m.addEventListener("DOMContentLoaded",q),ie.addEventListener("load",q));var R=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)R(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},M=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function B(e){return e.replace(M,"ms-").replace(I,W)}var F=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function $(){this.expando=ce.expando+$.uid++}$.uid=1,$.prototype={cache:function(e){var t=e[this.expando];return t||(t={},F(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[B(t)]=n;else for(r in t)i[B(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][B(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(B):(t=B(t))in r?[t]:t.match(N)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new $,z=new $,U=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,X=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(X,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:U.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;
vendor: 4,154 bytes, line 7
7while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=B(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):R(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),G=["Top","Right","Bottom","Left"],K=m.documentElement,J=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};K.getRootNode&&(J=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&J(e)&&"none"===ce.css(e,"display")};var te={};function ne(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=te[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),te[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return ne(this,!0)},hide:function(){return ne(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var re,be,xe=/^(?:checkbox|radio)$/i,we=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;re=m.createDocumentFragment().appendChild(m.createElement("div")),(be=m.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),re.appendChild(be),le.checkClone=re.cloneNode(!0).cloneNode(!0).lastChild.checked,re.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!re.cloneNode(!0).lastChild.defaultValue,re.innerHTML="<option></option>",le.option=!!re.lastChild;var Te={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ee(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}Te.tbody=Te.tfoot=Te.colgroup=Te.caption=Te.thead,Te.th=Te.td,le.option||(Te.optgroup=Te.option=[1,"<select multiple='multiple'>","</select>"]);var Se=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;
vendor: 13,976 bytes, line 7
7p++)if((o=e[p])||0===o)if("object"===x(o))ce.merge(d,o.nodeType?[o]:o);else if(Se.test(o)){a=a||f.appendChild(t.createElement("div")),s=(we.exec(o)||["",""])[1].toLowerCase(),u=Te[s]||Te._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(o));f.textContent="",p=0;while(o=d[p++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=J(o),a=Ee(f.appendChild(o),"script"),l&&ke(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function Le(){return!1}function je(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)je(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Le;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function Oe(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,v=_.get(t);if(F(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(K,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(N)||[""]).length;while(l--)p=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=ce.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=ce.event.special[p]||{},c=ce.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[p])||((d=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(p,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),ce.event.global[p]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(N)||[""]).length;while(l--)if(p=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p){f=ce.event.special[p]||{},d=u[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;while(o--)c=d[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,p,v.handle),delete u[p])}else for(p in u)ce.event.remove(e,p+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return xe.test(t.type)&&t.click&&fe(t,"input")&&Oe(t,"click",!0),!1},trigger:function(e){var t=this||e;return xe.test(t.type)&&t.click&&fe(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return xe.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:Le,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:Le,isPropagationStopped:Le,isImmediatePropagationStopped:Le,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(m.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(Oe(this,r,!0),!m.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return Oe(this,r),!0},teardown:function(){var e;if(!m.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=m.documentMode?this:e,n=_.get(t,i);n||(m.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=m.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(m.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return je(this,e,t,n,r)},one:function(e,t,n,r){return je(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Le),this.each(function(){ce.event.remove(this,e,n,t)})}});var Pe=/<script|<style|<link/i,He=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function Be(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,d=f-1,p=r[0],h=v(p);if(h||1<f&&"string"==typeof p&&!le.checkClone&&He.test(p))return n.each(function(e){var t=n.eq(e);h&&(r[0]=p.call(this,e,t.html())),Be(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Ee(e,"script"),Me)).length;c<f;c++)u=e,c!==d&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Ee(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,Ie),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(qe,""),u,l))}return n}function Fe(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Ee(r)),r.parentNode&&(n&&J(r)&&ke(Ee(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=J(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Ee(c),r=0,i=(o=Ee(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&xe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Ee(e),a=a||Ee(c),r=0,i=o.length;r<i;r++)We(o[r],a[r]);else We(e,c);return 0<(a=Ee(c,"script")).length&&ke(a,!f&&Ee(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if(F(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return R(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Be(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return Be(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Ee(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return R(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Pe.test(e)&&!Te[(we.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Ee(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Be(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Ee(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var $e=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),_e=/^--/,ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Xe=new RegExp(G.join("|"),"i");function Ve(e,t,n){var r,i,o,a,s=_e.test(t),u=e.style;return(n=n||ze(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||J(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&$e.test(a)&&Xe.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;
7left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",K.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),K.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=m.createElement("div"),l=m.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=m.createElement("table"),t=m.createElement("tr"),n=m.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",K.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,K.removeChild(e)),a}}))}();var Ye=["Webkit","Moz","ms"],Ge=m.createElement("div").style,Ke={};function Je(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Ge?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;while(n--)if((e=Ye[n]+t)in Ge)return e}(e)||e)}var Ze,et,tt=/^(none|table(?!-c[ea]).+)/,nt={position:"absolute",visibility:"hidden",display:"block"},rt={letterSpacing:"0",fontWeight:"400"};function it(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ot(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+G[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+G[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+G[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+G[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+G[a]+"Width",!0,i):s+=ce.css(e,"border"+G[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function at(e,t,n){var r=ze(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ve(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if($e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ot(e,t,n||(i?"border":"content"),o,r,a)+"px"}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ve(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=B(t),u=_e.test(t),l=e.style;if(u||(t=Je(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=function(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=B(t);return _e.test(t)||(t=Je(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ve(e,t,r)),"normal"===i&&t in rt&&(i=rt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!tt.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?at(e,u,n):Ue(e,nt,function(){return at(e,u,n)})},set:function(e,t,n){var r,i=ze(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?ot(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-ot(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),it(0,t,s)}}}),ce.cssHooks.marginLeft=Qe(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ve(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+G[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=it)}),ce.fn.extend({css:function(e,t){return R(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ze(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},Ze=m.createElement("input"),et=m.createElement("select").appendChild(m.createElement("option")),Ze.type="checkbox",le.checkOn=""!==Ze.value,le.optSelected=et.selected,(Ze=m.createElement("input")).value="t",Ze.type="radio",le.radioValue="t"===Ze.value;var st,ut=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return R(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}
vendor: 9,814 bytes, line 7
7),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?st:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(N);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),st={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=ut[t]||ce.find.attr;ut[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=ut[o],ut[o]=r,r=null!=a(e,t,n)?o:null,ut[o]=i),r}});var lt=/^(?:input|select|textarea|button)$/i,ct=/^(?:a|area)$/i;function ft(e){return(e.match(N)||[]).join(" ")}function dt(e){return e.getAttribute&&e.getAttribute("class")||""}function pt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}ce.fn.extend({prop:function(e,t){return R(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):lt.test(e.nodeName)||ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,dt(this)))}):(e=pt(t)).length?this.each(function(){if(r=dt(this),n=1===this.nodeType&&" "+ft(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=ft(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,dt(this)))}):arguments.length?(e=pt(t)).length?this.each(function(){if(r=dt(this),n=1===this.nodeType&&" "+ft(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=ft(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,dt(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=pt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=dt(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+ft(dt(n))+" ").indexOf(t))return!0;return!1}});var ht=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(ht,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:ft(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var gt=/^(?:focusinfocus|focusoutblur)$/,vt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,d=[n||m],p=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||m,3!==n.nodeType&&8!==n.nodeType&&!gt.test(p+ce.event.triggered)&&(-1<p.indexOf(".")&&(p=(h=p.split(".")).shift(),h.sort()),u=p.indexOf(":")<0&&"on"+p,(e=e[ce.expando]?e:new ce.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[p]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||p,gt.test(s+p)||(o=o.parentNode);o;o=o.parentNode)d.push(o),a=o;a===(n.ownerDocument||m)&&d.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=d[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||p,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&F(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!F(n)||u&&v(n[p])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=p,e.isPropagationStopped()&&f.addEventListener(p,vt),n[p](),e.isPropagationStopped()&&f.removeEventListener(p,vt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var yt,mt=/\[\]$/,bt=/\r?\n/g,xt=/^(?:submit|button|image|reset|file)$/i,wt=/^(?:input|select|textarea|keygen)/i;function Ct(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||mt.test(n)?i(n,t):Ct(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Ct(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Ct(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&wt.test(this.nodeName)&&!xt.test(e)&&(this.checked||!xe.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(bt,"\r\n")}}):{name:t.name,value:n.replace(bt,"\r\n")}}).get()}}),ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},le.createHTMLDocument=((yt=m.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===yt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,t.head.appendChild(r)):t=m),o=!n&&[],(i=C.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"to
7p"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||K})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return R(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Qe(le.pixelPosition,function(e,t){if(t)return t=Ve(e,n),$e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return R(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.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,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Tt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=B,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(Tt,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var Et=ie.jQuery,kt=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=kt),e&&ie.jQuery===ce&&(ie.jQuery=Et),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
8;
9/**
10* (c) Iconify
11*
12* For the full copyright and license information, please view the license.txt
13* files at https://github.com/iconify/iconify
14*
15* Licensed under MIT.
16*
17* @license MIT
vendor: 9,789 bytes, lines 18-20
18* @version 2.1.0
19*/
20!function(){"use strict";const t=Object.freeze({left:0,top:0,width:16,height:16}),e=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),n=Object.freeze({...t,...e}),i=Object.freeze({...n,body:"",hidden:!1}),r=Object.freeze({width:null,height:null}),o=Object.freeze({...r,...e});const s=/[\s,]+/;const c={...o,preserveAspectRatio:""};function a(t){const e={...c},n=(e,n)=>t.getAttribute(e)||n;var i;return e.width=n("width",null),e.height=n("height",null),e.rotate=function(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function i(t){for(;t<0;)t+=4;return t%4}if(""===n){const e=parseInt(t);return isNaN(e)?0:i(e)}if(n!==t){let e=0;switch(n){case"%":e=25;break;case"deg":e=90}if(e){let r=parseFloat(t.slice(0,t.length-n.length));return isNaN(r)?0:(r/=e,r%1==0?i(r):0)}}return e}(n("rotate","")),i=e,n("flip","").split(s).forEach((t=>{switch(t.trim()){case"horizontal":i.hFlip=!0;break;case"vertical":i.vFlip=!0}})),e.preserveAspectRatio=n("preserveAspectRatio",n("preserveaspectratio","")),e}const u=/^[a-z0-9]+(-[a-z0-9]+)*$/,l=(t,e,n,i="")=>{const r=t.split(":");if("@"===t.slice(0,1)){if(r.length<2||r.length>3)return null;i=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const t=r.pop(),n=r.pop(),o={provider:r.length>0?r[0]:i,prefix:n,name:t};return e&&!f(o)?null:o}const o=r[0],s=o.split("-");if(s.length>1){const t={provider:i,prefix:s.shift(),name:s.join("-")};return e&&!f(t)?null:t}if(n&&""===i){const t={provider:i,prefix:"",name:o};return e&&!f(t,n)?null:t}return null},f=(t,e)=>!!t&&!(""!==t.provider&&!t.provider.match(u)||!(e&&""===t.prefix||t.prefix.match(u))||!t.name.match(u));function d(t,n){const r=function(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const i=((t.rotate||0)+(e.rotate||0))%4;return i&&(n.rotate=i),n}(t,n);for(const o in i)o in e?o in t&&!(o in r)&&(r[o]=e[o]):o in n?r[o]=n[o]:o in t&&(r[o]=t[o]);return r}function h(t,e,n){const i=t.icons,r=t.aliases||Object.create(null);let o={};function s(t){o=d(i[t]||r[t],o)}return s(e),n.forEach(s),d(t,o)}function p(t,e){const n=[];if("object"!=typeof t||"object"!=typeof t.icons)return n;t.not_found instanceof Array&&t.not_found.forEach((t=>{e(t,null),n.push(t)}));const i=function(t,e){const n=t.icons,i=t.aliases||Object.create(null),r=Object.create(null);return(e||Object.keys(n).concat(Object.keys(i))).forEach((function t(e){if(n[e])return r[e]=[];if(!(e in r)){r[e]=null;const n=i[e]&&i[e].parent,o=n&&t(n);o&&(r[e]=[n].concat(o))}return r[e]})),r}(t);for(const r in i){const o=i[r];o&&(e(r,h(t,r,o)),n.push(r))}return n}const g={provider:"",aliases:{},not_found:{},...t};function b(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function v(t){if("object"!=typeof t||null===t)return null;const e=t;if("string"!=typeof e.prefix||!t.icons||"object"!=typeof t.icons)return null;if(!b(t,g))return null;const n=e.icons;for(const t in n){const e=n[t];if(!t.match(u)||"string"!=typeof e.body||!b(e,i))return null}const r=e.aliases||Object.create(null);for(const t in r){const e=r[t],o=e.parent;if(!t.match(u)||"string"!=typeof o||!n[o]&&!r[o]||!b(e,i))return null}return e}const m=Object.create(null);function y(t,e){const n=m[t]||(m[t]=Object.create(null));return n[e]||(n[e]=function(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}(t,e))}function x(t,e){return v(e)?p(e,((e,n)=>{n?t.icons[e]=n:t.missing.add(e)})):[]}function w(t,e){let n=[];return("string"==typeof t?[t]:Object.keys(m)).forEach((t=>{("string"==typeof t&&"string"==typeof e?[e]:Object.keys(m[t]||{})).forEach((e=>{const i=y(t,e);n=n.concat(Object.keys(i.icons).map((n=>(""!==t?"@"+t+":":"")+e+":"+n)))}))})),n}let _=!1;function k(t){return"boolean"==typeof t&&(_=t),_}function j(t){const e="string"==typeof t?l(t,!0,_):t;if(e){const t=y(e.provider,e.prefix),n=e.name;return t.icons[n]||(t.missing.has(n)?null:void 0)}}function A(t,e){const n=l(t,!0,_);if(!n)return!1;return function(t,e,n){try{if("string"==typeof n.body)return t.icons[e]={...n},!0}catch(t){}return!1}(y(n.provider,n.prefix),n.name,e)}function O(t,e){if("object"!=typeof t)return!1;if("string"!=typeof e&&(e=t.provider||""),_&&!e&&!t.prefix){let e=!1;return v(t)&&(t.prefix="",p(t,((t,n)=>{n&&A(t,n)&&(e=!0)}))),e}const n=t.prefix;if(!f({provider:e,prefix:n,name:"a"}))return!1;return!!x(y(e,n),t)}function C(t){return!!j(t)}function I(t){const e=j(t);return e?{...n,...e}:null}function S(t,e){t.forEach((t=>{const n=t.loaderCallbacks;n&&(t.loaderCallbacks=n.filter((t=>t.id!==e)))}))}let E=0;const M=Object.create(null);function T(t,e){M[t]=e}function F(t){return M[t]||M[""]}var R={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function L(t,e,n,i){const r=t.resources.length,o=t.random?Math.floor(Math.random()*r):t.index;let s;if(t.random){let e=t.resources.slice(0);for(s=[];e.length>1;){const t=Math.floor(Math.random()*e.length);s.push(e[t]),e=e.slice(0,t).concat(e.slice(t+1))}s=s.concat(e)}else s=t.resources.slice(o).concat(t.resources.slice(0,o));const c=Date.now();let a,u="pending",l=0,f=null,d=[],h=[];function p(){f&&(clearTimeout(f),f=null)}function g(){"pending"===u&&(u="aborted"),p(),d.forEach((t=>{"pending"===t.status&&(t.status="aborted")})),d=[]}function b(t,e){e&&(h=[]),"function"==typeof t&&h.push(t)}function v(){u="failed",h.forEach((t=>{t(void 0,a)}))}function m(){d.forEach((t=>{"pending"===t.status&&(t.status="aborted")})),d=[]}function y(){if("pending"!==u)return;p();const i=s.shift();if(void 0===i)return d.length?void(f=setTimeout((()=>{p(),"pending"===u&&(m(),v())}),t.timeout)):void v();const r={status:"pending",resource:i,callback:(e,n)=>{!function(e,n,i){const r="success"!==n;switch(d=d.filter((t=>t!==e)),u){case"pending":break;case"failed":if(r||!t.dataAfterTimeout)return;break;default:return}if("abort"===n)return a=i,void v();if(r)return a=i,void(d.length||(s.length?y():v()));if(p(),m(),!t.random){const n=t.resources.indexOf(e.resource);-1!==n&&n!==t.index&&(t.index=n)}u="completed",h.forEach((t=>{t(i)}))}(r,e,n)}};d.push(r),l++,f=setTimeout(y,t.rotate),n(i,e,r.callback)}return"function"==typeof i&&h.push(i),setTimeout(y),function(){return{startTime:c,payload:e,status:u,queriesSent:l,queriesPending:d.length,subscribe:b,abort:g}}}function P(t){const e={...R,...t};let n=[];function i(){n=n.filter((t=>"pending"===t().status))}return{query:function(t,r,o){const s=L(e,t,r,((t,e)=>{i(),o&&o(t,e)}));return n.push(s),s},find:function(t){return n.find((e=>t(e)))||null},setIndex:t=>{e.index=t},getIndex:()=>e.index,cleanup:i}}function N(t){let e;if("string"==typeof t.resources)e=[t.resources];else if(e=t.resources,!(e instanceof Array&&e.length))return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:!0===t.random,index:t.index||0,dataAfterTimeout:!1!==t.dataAfterTimeout}}const z=Object.create(null),Q=["https://api.simplesvg.com","https://api.unisvg.com"],q=[];for(;Q.length>0;)1===Q.length||Math.random()>.5?q.push(Q.shift()):q.push(Q.pop());function D(t,e){const n=N(e);return null!==n&&(z[t]=n,!0)}function U(t){return z[t]}function H(){return Object.keys(z)}function J(){}z[""]=N({resources:["https://api.iconify.design"].concat(q)});const $=Object.create(null);function B(t,e,n){let i,r;if("string"==typeof t){const e=F(t);if(!e)return n(void 0,424),J;r=e.send;const o=function(t){if(!$[t]){const e=U(t);if(!e)return;const n={config:e,redundancy:P(e)};$[t]=n}return $[t]}(t);o&&(i=o.redundancy)}else{const e=N(t);if(e){i=P(e);const n=F(t.resources?t.resources[0]:"");n&&(r=n.send)}}return i&&r?i.query(e,r,n)().abort:(n(void 0,424),J)}const G="iconify2",V="iconify",K=V+"-count",W=V+"-version",X=36e5,Y=168,Z=50;function tt(t,e){try{return t.getItem(e)}catch(t){}}function et(t,e,n){try{return t.setItem(e,n),!0}catch(t){}}function nt(t,e){try{t.removeItem(e)}catch(t){}}function it(t,e){return et(t,K,e.toString())}function rt(t){return parseInt(tt(t,K))||0}const ot={local:!0,session:!0},st={local:new Set,session:new Set};let ct=!1;let at="undefined"==typeof window?{}:window;function ut(t){const e=t+"Storage";try{if(at&&at[e]&&"number"==typeof at[e].length)return at[e]}catch(t){}ot[t]=!1}function lt(t,e){const n=ut(t);if(!n)return;const i=tt(n,W);if(i!==G){if(i){const t=rt(n);for(let e=0;e<t;e++)nt(n,V+e.toString())}return et(n,W,G),void it(n,0)}const r=Math.floor(Date.now()/X)-Y,o=t=>{const i=V+t.toString(),o=tt(n,i);if("string"==typeof o){try{const n=JSON.parse(o);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>r&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&e(n,t))return!0}catch(t){}nt(n,i)}};let s=rt(n);for(let e=s-1;e>=0;e--)o(e)||(e===s-1?(s--,it(n,s)):st[t].add(e))}function ft(){if(!ct){ct=!0;for(const t in ot)lt(t,(t=>{const e=t.data,n=y(t.provider,e.prefix);if(!x(n,e).length)return!1;const i=e.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,i):i,!0}))}}function dt(t,e){function n(n){let i;if(!ot[n]||!(i=ut(n)))return;const r=st[n];let o;if(r.size)r.delete(o=Array.from(r).shift());else if(o=rt(i),o>=Z||!it(i,o+1))return;const s={cached:Math.floor(Date.now()/X),provider:t.provider,data:e};return et(i,V+o.toString(),JSON.stringify(s))}ct||ft(),e.lastModified&&!function(t,e){const n=t.lastModifiedCached;if(n&&n>=e)return n===e;if(t.lastModifiedCached=e,n)for(const n in ot)lt(n,(n=>{const i=n.data;return n.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===e}));return!0}(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&delete(e=Object.assign({},e)).not_found,n("local")||n("session"))}function ht(){}function pt(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout((()=>{t.iconsLoaderFlag=!1,function(t){t.pendingCallbacksFlag||(t.pen
20dingCallbacksFlag=!0,setTimeout((()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const i=t.provider,r=t.prefix;e.forEach((e=>{const o=e.icons,s=o.pending.length;o.pending=o.pending.filter((e=>{if(e.prefix!==r)return!0;const s=e.name;if(t.icons[s])o.loaded.push({provider:i,prefix:r,name:s});else{if(!t.missing.has(s))return n=!0,!0;o.missing.push({provider:i,prefix:r,name:s})}return!1})),o.pending.length!==s&&(n||S([t],e.id),e.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),e.abort))}))})))}(t)})))}const gt=(t,e)=>{const n=function(t,e=!0,n=!1){const i=[];return t.forEach((t=>{const r="string"==typeof t?l(t,e,n):t;r&&i.push(r)})),i}(t,!0,k()),i=function(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort(((t,e)=>t.provider!==e.provider?t.provider.localeCompare(e.provider):t.prefix!==e.prefix?t.prefix.localeCompare(e.prefix):t.name.localeCompare(e.name)));let i={provider:"",prefix:"",name:""};return t.forEach((t=>{if(i.name===t.name&&i.prefix===t.prefix&&i.provider===t.provider)return;i=t;const r=t.provider,o=t.prefix,s=t.name,c=n[r]||(n[r]=Object.create(null)),a=c[o]||(c[o]=y(r,o));let u;u=s in a.icons?e.loaded:""===o||a.missing.has(s)?e.missing:e.pending;const l={provider:r,prefix:o,name:s};u.push(l)})),e}(n);if(!i.pending.length){let t=!0;return e&&setTimeout((()=>{t&&e(i.loaded,i.missing,i.pending,ht)})),()=>{t=!1}}const r=Object.create(null),o=[];let s,c;return i.pending.forEach((t=>{const{provider:e,prefix:n}=t;if(n===c&&e===s)return;s=e,c=n,o.push(y(e,n));const i=r[e]||(r[e]=Object.create(null));i[n]||(i[n]=[])})),i.pending.forEach((t=>{const{provider:e,prefix:n,name:i}=t,o=y(e,n),s=o.pendingIcons||(o.pendingIcons=new Set);s.has(i)||(s.add(i),r[e][n].push(i))})),o.forEach((t=>{const{provider:e,prefix:n}=t;r[e][n].length&&function(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout((()=>{t.iconsQueueFlag=!1;const{provider:e,prefix:n}=t,i=t.iconsToLoad;let r;delete t.iconsToLoad,i&&(r=F(e))&&r.prepare(e,n,i).forEach((n=>{B(e,n,(e=>{if("object"!=typeof e)n.icons.forEach((e=>{t.missing.add(e)}));else try{const n=x(t,e);if(!n.length)return;const i=t.pendingIcons;i&&n.forEach((t=>{i.delete(t)})),dt(t,e)}catch(t){console.error(t)}pt(t)}))}))})))}(t,r[e][n])})),e?function(t,e,n){const i=E++,r=S.bind(null,n,i);if(!e.pending.length)return r;const o={id:i,icons:e,callback:t,abort:r};return n.forEach((t=>{(t.loaderCallbacks||(t.loaderCallbacks=[])).push(o)})),r}(e,i,o):ht},bt=t=>new Promise(((e,i)=>{const r="string"==typeof t?l(t,!0):t;r?gt([r||t],(o=>{if(o.length&&r){const t=j(r);if(t)return void e({...n,...t})}i(t)})):i(t)}));function vt(t,e){const n="string"==typeof t?l(t,!0,!0):null;if(!n){const e=function(t){try{const e="string"==typeof t?JSON.parse(t):t;if("string"==typeof e.body)return{...e}}catch(t){}}(t);return{value:t,data:e}}const i=j(n);if(void 0!==i||!n.prefix)return{value:t,name:n,data:i};const r=gt([n],(()=>e(t,n,j(n))));return{value:t,name:n,loading:r}}let mt=!1;try{mt=0===navigator.vendor.indexOf("Apple")}catch(t){}const yt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,xt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wt(t,e,n){if(1===e)return t;if(n=n||100,"number"==typeof t)return Math.ceil(t*e*n)/n;if("string"!=typeof t)return t;const i=t.split(yt);if(null===i||!i.length)return t;const r=[];let o=i.shift(),s=xt.test(o);for(;;){if(s){const t=parseFloat(o);isNaN(t)?r.push(o):r.push(Math.ceil(t*e*n)/n)}else r.push(o);if(o=i.shift(),void 0===o)return r.join("");s=!s}}const _t=t=>"unset"===t||"undefined"===t||"none"===t;function kt(t,e){const i={...n,...t},r={...o,...e},s={left:i.left,top:i.top,width:i.width,height:i.height};let c=i.body;[i,r].forEach((t=>{const e=[],n=t.hFlip,i=t.vFlip;let r,o=t.rotate;switch(n?i?o+=2:(e.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),e.push("scale(-1 1)"),s.top=s.left=0):i&&(e.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),e.push("scale(1 -1)"),s.top=s.left=0),o<0&&(o-=4*Math.floor(o/4)),o%=4,o){case 1:r=s.height/2+s.top,e.unshift("rotate(90 "+r.toString()+" "+r.toString()+")");break;case 2:e.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:r=s.width/2+s.left,e.unshift("rotate(-90 "+r.toString()+" "+r.toString()+")")}o%2==1&&(s.left!==s.top&&(r=s.left,s.left=s.top,s.top=r),s.width!==s.height&&(r=s.width,s.width=s.height,s.height=r)),e.length&&(c=function(t,e,n){const i=function(t,e="defs"){let n="";const i=t.indexOf("<"+e);for(;i>=0;){const r=t.indexOf(">",i),o=t.indexOf("</"+e);if(-1===r||-1===o)break;const s=t.indexOf(">",o);if(-1===s)break;n+=t.slice(r+1,o).trim(),t=t.slice(0,i).trim()+t.slice(s+1)}return{defs:n,content:t}}(t);return r=i.defs,o=e+i.content+n,r?"<defs>"+r+"</defs>"+o:o;var r,o}(c,'<g transform="'+e.join(" ")+'">',"</g>"))}));const a=r.width,u=r.height,l=s.width,f=s.height;let d,h;null===a?(h=null===u?"1em":"auto"===u?f:u,d=wt(h,l/f)):(d="auto"===a?l:a,h=null===u?wt(d,f/l):"auto"===u?f:u);const p={},g=(t,e)=>{_t(e)||(p[t]=e.toString())};g("width",d),g("height",h);const b=[s.left,s.top,l,f];return p.viewBox=b.join(" "),{attributes:p,viewBox:b,body:c}}function jt(t,e){let n=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const t in e)n+=" "+t+'="'+e[t]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function At(t){return'url("'+function(t){return"data:image/svg+xml,"+function(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(t)}(t)+'")'}let Ot=(()=>{let t;try{if(t=fetch,"function"==typeof t)return t}catch(t){}})();function Ct(t){Ot=t}function It(){return Ot}const St={prepare:(t,e,n)=>{const i=[],r=function(t,e){const n=U(t);if(!n)return 0;let i;if(n.maxURL){let t=0;
vendor: 5,540 bytes, line 20
20n.resources.forEach((e=>{const n=e;t=Math.max(t,n.length)}));const r=e+".json?icons=";i=n.maxURL-t-n.path.length-r.length}else i=0;return i}(t,e),o="icons";let s={type:o,provider:t,prefix:e,icons:[]},c=0;return n.forEach(((n,a)=>{c+=n.length+1,c>=r&&a>0&&(i.push(s),s={type:o,provider:t,prefix:e,icons:[]},c=n.length),s.icons.push(n)})),i.push(s),i},send:(t,e,n)=>{if(!Ot)return void n("abort",424);let i=function(t){if("string"==typeof t){const e=U(t);if(e)return e.path}return"/"}(e.provider);switch(e.type){case"icons":{const t=e.prefix,n=e.icons.join(",");i+=t+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const t=e.uri;i+="/"===t.slice(0,1)?t.slice(1):t;break}default:return void n("abort",400)}let r=503;Ot(t+i).then((t=>{const e=t.status;if(200===e)return r=501,t.json();setTimeout((()=>{n(function(t){return 404===t}(e)?"abort":"next",e)}))})).then((t=>{"object"==typeof t&&null!==t?setTimeout((()=>{n("success",t)})):setTimeout((()=>{404===t?n("abort",t):n("next",r)}))})).catch((()=>{n("next",r)}))}};function Et(t,e){switch(t){case"local":case"session":ot[t]=e;break;case"all":for(const t in ot)ot[t]=e}}const Mt="data-style";let Tt="";function Ft(t){Tt=t}function Rt(t,e){let n=Array.from(t.childNodes).find((t=>t.hasAttribute&&t.hasAttribute(Mt)));n||(n=document.createElement("style"),n.setAttribute(Mt,Mt),t.appendChild(n)),n.textContent=":host{display:inline-block;vertical-align:"+(e?"-0.125em":"0")+"}span,svg{display:block}"+Tt}const Lt={"background-color":"currentColor"},Pt={"background-color":"transparent"},Nt={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},zt={"-webkit-mask":Lt,mask:Lt,background:Pt};for(const t in zt){const e=zt[t];for(const n in Nt)e[t+"-"+n]=Nt[n]}function Qt(t){return t?t+(t.match(/^[-0-9.]+$/)?"px":""):"inherit"}let qt;function Dt(t){return void 0===qt&&function(){try{qt=window.trustedTypes.createPolicy("iconify",{createHTML:t=>t})}catch(t){qt=null}}(),qt?qt.createHTML(t):t}function Ut(t){return Array.from(t.childNodes).find((t=>{const e=t.tagName&&t.tagName.toUpperCase();return"SPAN"===e||"SVG"===e}))}function Ht(t,e){const i=e.icon.data,r=e.customisations,o=kt(i,r);r.preserveAspectRatio&&(o.attributes.preserveAspectRatio=r.preserveAspectRatio);const s=e.renderedMode;let c;if("svg"===s)c=function(t){const e=document.createElement("span"),n=t.attributes;let i="";n.width||(i="width: inherit;"),n.height||(i+="height: inherit;"),i&&(n.style=i);const r=jt(t.body,n);return e.innerHTML=Dt(r),e.firstChild}(o);else c=function(t,e,n){const i=document.createElement("span");let r=t.body;-1!==r.indexOf("<a")&&(r+="\x3c!-- "+Date.now()+" --\x3e");const o=t.attributes,s=At(jt(r,{...o,width:e.width+"",height:e.height+""})),c=i.style,a={"--svg":s,width:Qt(o.width),height:Qt(o.height),...n?Lt:Pt};for(const t in a)c.setProperty(t,a[t]);return i}(o,{...n,...i},"mask"===s);const a=Ut(t);a?"SPAN"===c.tagName&&a.tagName===c.tagName?a.setAttribute("style",c.getAttribute("style")):t.replaceChild(c,a):t.appendChild(c)}function Jt(t,e,n){return{rendered:!1,inline:e,icon:t,lastRender:n&&(n.rendered?n:n.lastRender)}}!function(t="iconify-icon"){let e,n;try{e=window.customElements,n=window.HTMLElement}catch(t){return}if(!e||!n)return;const i=e.get(t);if(i)return i;const r=["icon","mode","inline","noobserver","width","height","rotate","flip"],o=class extends n{_shadowRoot;_initialised=!1;_state;_checkQueued=!1;_connected=!1;_observer=null;_visible=!0;constructor(){super();const t=this._shadowRoot=this.attachShadow({mode:"open"}),e=this.hasAttribute("inline");Rt(t,e),this._state=Jt({value:""},e),this._queueCheck()}connectedCallback(){this._connected=!0,this.startObserver()}disconnectedCallback(){this._connected=!1,this.stopObserver()}static get observedAttributes(){return r.slice(0)}attributeChangedCallback(t){switch(t){case"inline":{const t=this.hasAttribute("inline"),e=this._state;t!==e.inline&&(e.inline=t,Rt(this._shadowRoot,t));break}case"noobserver":this.hasAttribute("noobserver")?this.startObserver():this.stopObserver();break;default:this._queueCheck()}}get icon(){const t=this.getAttribute("icon");if(t&&"{"===t.slice(0,1))try{return JSON.parse(t)}catch(t){}return t}set icon(t){"object"==typeof t&&(t=JSON.stringify(t)),this.setAttribute("icon",t)}get inline(){return this.hasAttribute("inline")}set inline(t){t?this.setAttribute("inline","true"):this.removeAttribute("inline")}get observer(){return this.hasAttribute("observer")}set observer(t){t?this.setAttribute("observer","true"):this.removeAttribute("observer")}restartAnimation(){const t=this._state;if(t.rendered){const e=this._shadowRoot;if("svg"===t.renderedMode)try{return void e.lastChild.setCurrentTime(0)}catch(t){}Ht(e,t)}}get status(){const t=this._state;return t.rendered?"rendered":null===t.icon.data?"failed":"loading"}_queueCheck(){this._checkQueued||(this._checkQueued=!0,setTimeout((()=>{this._check()})))}_check(){if(!this._checkQueued)return;this._checkQueued=!1;const t=this._state,e=this.getAttribute("icon");if(e!==t.icon.value)return void this._iconChanged(e);if(!t.rendered||!this._visible)return;const n=this.getAttribute("mode"),i=a(this);t.attrMode===n&&!function(t,e){for(const n in c)if(t[n]!==e[n])return!0;return!1}(t.customisations,i)&&Ut(this._shadowRoot)||this._renderIcon(t.icon,i,n)}_iconChanged(t){const e=vt(t,((t,e,n)=>{const i=this._state;if(i.rendered||this.getAttribute("icon")!==t)return;const r={value:t,name:e,data:n};r.data?this._gotIconData(r):i.icon=r}));e.data?this._gotIconData(e):this._state=Jt(e,this._state.inline,this._state)}
20_forceRender(){if(this._visible)this._queueCheck();else{const t=Ut(this._shadowRoot);t&&this._shadowRoot.removeChild(t)}}_gotIconData(t){this._checkQueued=!1,this._renderIcon(t,a(this),this.getAttribute("mode"))}_renderIcon(t,e,n){const i=function(t,e){switch(e){case"svg":case"bg":case"mask":return e}return"style"===e||!mt&&-1!==t.indexOf("<a")?-1===t.indexOf("currentColor")?"bg":"mask":"svg"}(t.data.body,n),r=this._state.inline;Ht(this._shadowRoot,this._state={rendered:!0,icon:t,inline:r,customisations:e,attrMode:n,renderedMode:i})}startObserver(){if(!this._observer&&!this.hasAttribute("noobserver"))try{this._observer=new IntersectionObserver((t=>{const e=t.some((t=>t.isIntersecting));e!==this._visible&&(this._visible=e,this._forceRender())})),this._observer.observe(this)}catch(t){if(this._observer){try{this._observer.disconnect()}catch(t){}this._observer=null}}}stopObserver(){this._observer&&(this._observer.disconnect(),this._observer=null,this._visible=!0,this._connected&&this._forceRender())}};r.forEach((t=>{t in o.prototype||Object.defineProperty(o.prototype,t,{get:function(){return this.getAttribute(t)},set:function(e){null!==e?this.setAttribute(t,e):this.removeAttribute(t)}})}));const s=function(){let t;T("",St),k(!0);try{t=window}catch(t){}if(t){if(ft(),void 0!==t.IconifyPreload){const e=t.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof e&&null!==e&&(e instanceof Array?e:[e]).forEach((t=>{try{("object"!=typeof t||null===t||t instanceof Array||"object"!=typeof t.icons||"string"!=typeof t.prefix||!O(t))&&console.error(n)}catch(t){console.error(n)}}))}if(void 0!==t.IconifyProviders){const e=t.IconifyProviders;if("object"==typeof e&&null!==e)for(const t in e){const n="IconifyProviders["+t+"] is invalid.";try{const i=e[t];if("object"!=typeof i||!i||void 0===i.resources)continue;D(t,i)||console.error(n)}catch(t){console.error(n)}}}}return{enableCache:t=>Et(t,!0),disableCache:t=>Et(t,!1),iconLoaded:C,iconExists:C,getIcon:I,listIcons:w,addIcon:A,addCollection:O,calculateSize:wt,buildIcon:kt,iconToHTML:jt,svgToURL:At,loadIcons:gt,loadIcon:bt,addAPIProvider:D,appendCustomStyle:Ft,_api:{getAPIConfig:U,setAPIModule:T,sendAPIQuery:B,setFetch:Ct,getFetch:It,listAPIProviders:H}}}();for(const t in s)o[t]=o.prototype[t]=s[t];e.define(t,o)}()}();
21;
22/*!
23  * Bootstrap v5.3.3 (https://getbootstrap.com/)
24  * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
25  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
26  */
27!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t=new Map,e={set(e,i,n){t.has(e)||t.set(e,new Map);const s=t.get(e);s.has(i)||0===s.size?s.set(i,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(e,i)=>t.has(e)&&t.get(e).get(i)||null,remove(e,i){if(!t.has(e))return;const n=t.get(e);n.delete(i),0===n.size&&t.delete(e)}},i="transitionend",n=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),s=t=>{t.dispatchEvent(new Event(i))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(n(t)):null,a=t=>{if(!o(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},l=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),c=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c(t.parentNode):null},h=()=>{},d=t=>{t.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,m=t=>{var e;e=()=>{const e=u();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of f)t()}
vendor: 8,259 bytes, line 27
27)),f.push(e)):e()},g=(t,e=[],i=t)=>"function"==typeof t?t(...e):i,_=(t,e,n=!0)=>{if(!n)return void g(t);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let r=!1;const a=({target:n})=>{n===e&&(r=!0,e.removeEventListener(i,a),g(t))};e.addEventListener(i,a),setTimeout((()=>{r||s(e)}),o)},b=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,A={};let E=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},C=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function O(t,e){return e&&`${e}::${E++}`||t.uidEvent||E++}function x(t){const e=O(t);return t.uidEvent=e,A[e]=A[e]||{},A[e]}function k(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function L(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=I(t);return C.has(o)||(o=t),[n,s,o]}function S(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=L(e,i,n);if(e in T){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=x(t),c=l[a]||(l[a]={}),h=k(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=O(r,e.replace(v,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return P(s,{delegateTarget:r}),n.oneOff&&N.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return P(n,{delegateTarget:t}),i.oneOff&&N.off(t,n.type,e),e.apply(t,[n])}}(t,r);u.delegationSelector=o?i:null,u.callable=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function D(t,e,i,n,s){const o=k(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function $(t,e,i,n){const s=e[i]||{};for(const[o,r]of Object.entries(s))o.includes(n)&&D(t,e,i,r.callable,r.delegationSelector)}function I(t){return t=t.replace(y,""),T[t]||t}const N={on(t,e,i,n){S(t,e,i,n,!1)},one(t,e,i,n){S(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=L(e,i,n),a=r!==e,l=x(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))$(t,l,i,e.slice(1));for(const[i,n]of Object.entries(c)){const s=i.replace(w,"");a&&!e.includes(s)||D(t,l,r,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;D(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=u();let s=null,o=!0,r=!0,a=!1;e!==I(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=P(new Event(e,{bubbles:o,cancelable:!0}),i);return a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function P(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}function j(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function M(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const F={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${M(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${M(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=j(t.dataset[n])}return e},getDataAttribute:(t,e)=>j(t.getAttribute(`data-bs-${M(e)}`))};class H{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=o(e)?F.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(e)?F.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[n,s]of Object.entries(e)){const e=t[n],r=o(e)?"element":null==(i=e)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${s}".`)}var i}}class W extends H{constructor(t,i){super(),(t=r(t))&&(this._element=t,this._config=this._getConfig(i),e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){_(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return e.get(r(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const B=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e?e.split(",").map((t=>n(t))).join(","):null},z={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!l(t)&&a(t)))},getSelectorFromElement(t){const e=B(t);return e&&z.findOne(e)?e:null},getElementFromSelector(t){const e=B(t);return e?z.findOne(e):null},getMultipleElementsFromSelector(t){const e=B(t);return e?z.find(e):[]}},R=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;N.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),l(this))return;const s=z.getElementFromSelector(this)||this.closest(`.${n}`);t.getOrCreateInstance(s)[e]()}))},q=".bs.alert",V=`close${q}`,K=`closed${q}`;class Q extends W{static get NAME(){return"alert"}close(){if(N.trigger(this._element,V).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),N.trigger(this._element,K),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=Q.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
27amed "${t}"`);e[t](this)}}))}}R(Q,"close"),m(Q);const X='[data-bs-toggle="button"]';class Y extends W{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=Y.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}N.on(document,"click.bs.button.data-api",X,(t=>{t.preventDefault();const e=t.target.closest(X);Y.getOrCreateInstance(e).toggle()})),m(Y);const U=".bs.swipe",G=`touchstart${U}`,J=`touchmove${U}`,Z=`touchend${U}`,tt=`pointerdown${U}`,et=`pointerup${U}`,it={endCallback:null,leftCallback:null,rightCallback:null},nt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class st extends H{constructor(t,e){super(),this._element=t,t&&st.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return it}static get DefaultType(){return nt}static get NAME(){return"swipe"}dispose(){N.off(this._element,U)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&g(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(N.on(this._element,tt,(t=>this._start(t))),N.on(this._element,et,(t=>this._end(t))),this._element.classList.add("pointer-event")):(N.on(this._element,G,(t=>this._start(t))),N.on(this._element,J,(t=>this._move(t))),N.on(this._element,Z,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const ot=".bs.carousel",rt=".data-api",at="next",lt="prev",ct="left",ht="right",dt=`slide${ot}`,ut=`slid${ot}`,ft=`keydown${ot}`,pt=`mouseenter${ot}`,mt=`mouseleave${ot}`,gt=`dragstart${ot}`,_t=`load${ot}${rt}`,bt=`click${ot}${rt}`,vt="carousel",yt="active",wt=".active",At=".carousel-item",Et=wt+At,Tt={ArrowLeft:ht,ArrowRight:ct},Ct={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ot={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class xt extends W{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=z.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===vt&&this.cycle()}static get Default(){return Ct}static get DefaultType(){return Ot}static get NAME(){return"carousel"}next(){this._slide(at)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(lt)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?N.one(this._element,ut,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void N.one(this._element,ut,(()=>this.to(t)));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?at:lt;this._slide(n,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&N.on(this._element,ft,(t=>this._keydown(t))),"hover"===this._config.pause&&(N.on(this._element,pt,(()=>this.pause())),N.on(this._element,mt,(()=>this._maybeEnableCycle()))),this._config.touch&&st.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of z.find(".carousel-item img",this._element))N.on(t,gt,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(ct)),rightCallback:()=>this._slide(this._directionToOrder(ht)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new st(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Tt[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=z.findOne(wt,this._indicatorsElement);e.classList.remove(yt),e.removeAttribute("aria-current");const i=z.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(yt),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),n=t===at,s=e||b(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=e=>N.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r(dt).defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),d(s),i.classList.add(l),s.classList.add(l),this._queueCallback((()=>{s.classList.remove(l,c),s.classList.add(yt),i.classList.remove(yt,c,l),this._isSliding=!1,r(ut)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return z.findOne(Et,this._element)}_getItems(){return z.find(At,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return p()?t===ct?lt:at:t===ct?at:lt}_orderToDirection(t){return p()?t===lt?ct:ht:t===lt?ht:ct}static jQueryInterface(t){return this.each((function(){const e=xt.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
27amed "${t}"`);e[t]()}}else e.to(t)}))}}N.on(document,bt,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=z.getElementFromSelector(this);if(!e||!e.classList.contains(vt))return;t.preventDefault();const i=xt.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");return n?(i.to(n),void i._maybeEnableCycle()):"next"===F.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),N.on(window,_t,(()=>{const t=z.find('[data-bs-ride="carousel"]');for(const e of t)xt.getOrCreateInstance(e)})),m(xt);const kt=".bs.collapse",Lt=`show${kt}`,St=`shown${kt}`,Dt=`hide${kt}`,$t=`hidden${kt}`,It=`click${kt}.data-api`,Nt="show",Pt="collapse",jt="collapsing",Mt=`:scope .${Pt} .${Pt}`,Ft='[data-bs-toggle="collapse"]',Ht={parent:null,toggle:!0},Wt={parent:"(null|element)",toggle:"boolean"};class Bt extends W{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=z.find(Ft);for(const t of i){const e=z.getSelectorFromElement(t),i=z.find(e).filter((t=>t===this._element));null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ht}static get DefaultType(){return Wt}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>Bt.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(N.trigger(this._element,Lt).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(Pt),this._element.classList.add(jt),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(jt),this._element.classList.add(Pt,Nt),this._element.style[e]="",N.trigger(this._element,St)}),this._element,!0),this._element.style[e]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(N.trigger(this._element,Dt).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,d(this._element),this._element.classList.add(jt),this._element.classList.remove(Pt,Nt);for(const t of this._triggerArray){const e=z.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(jt),this._element.classList.add(Pt),N.trigger(this._element,$t)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(Nt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=r(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ft);for(const e of t){const t=z.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=z.find(Mt,this._config.parent);return z.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const i=Bt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}N.on(document,It,Ft,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of z.getMultipleElementsFromSelector(this))Bt.getOrCreateInstance(t,{toggle:!1}).toggle()})),m(Bt);var zt="top",Rt="bottom",qt="right",Vt="left",Kt="auto",Qt=[zt,Rt,qt,Vt],Xt="start",Yt="end",Ut="clippingParents",Gt="viewport",Jt="popper",Zt="reference",te=Qt.reduce((function(t,e){return t.concat([e+"-"+Xt,e+"-"+Yt])}),[]),ee=[].concat(Qt,[Kt]).reduce((function(t,e){return t.concat([e,e+"-"+Xt,e+"-"+Yt])}),[]),ie="beforeRead",ne="read",se="afterRead",oe="beforeMain",re="main",ae="afterMain",le="beforeWrite",ce="write",he="afterWrite",de=[ie,ne,se,oe,re,ae,le,ce,he];
vendor: 4,718 bytes, line 27
27function ue(t){return t?(t.nodeName||"").toLowerCase():null}function fe(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function pe(t){return t instanceof fe(t).Element||t instanceof Element}function me(t){return t instanceof fe(t).HTMLElement||t instanceof HTMLElement}function ge(t){return"undefined"!=typeof ShadowRoot&&(t instanceof fe(t).ShadowRoot||t instanceof ShadowRoot)}const _e={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];me(s)&&ue(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});me(n)&&ue(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function be(t){return t.split("-")[0]}var ve=Math.max,ye=Math.min,we=Math.round;function Ae(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function Ee(){return!/^((?!chrome|android).)*safari/i.test(Ae())}function Te(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,o=1;e&&me(t)&&(s=t.offsetWidth>0&&we(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&we(n.height)/t.offsetHeight||1);var r=(pe(t)?fe(t):window).visualViewport,a=!Ee()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,d=n.height/o;return{width:h,height:d,top:c,right:l+h,bottom:c+d,left:l,x:l,y:c}}function Ce(t){var e=Te(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function Oe(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&ge(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function xe(t){return fe(t).getComputedStyle(t)}function ke(t){return["table","td","th"].indexOf(ue(t))>=0}function Le(t){return((pe(t)?t.ownerDocument:t.document)||window.document).documentElement}function Se(t){return"html"===ue(t)?t:t.assignedSlot||t.parentNode||(ge(t)?t.host:null)||Le(t)}function De(t){return me(t)&&"fixed"!==xe(t).position?t.offsetParent:null}function $e(t){for(var e=fe(t),i=De(t);i&&ke(i)&&"static"===xe(i).position;)i=De(i);return i&&("html"===ue(i)||"body"===ue(i)&&"static"===xe(i).position)?e:i||function(t){var e=/firefox/i.test(Ae());if(/Trident/i.test(Ae())&&me(t)&&"fixed"===xe(t).position)return null;var i=Se(t);for(ge(i)&&(i=i.host);me(i)&&["html","body"].indexOf(ue(i))<0;){var n=xe(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function Ie(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ne(t,e,i){return ve(t,ye(e,i))}function Pe(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function je(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}const Me={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=be(i.placement),l=Ie(a),c=[Vt,qt].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(t,e){return Pe("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:je(t,Qt))}(s.padding,i),d=Ce(o),u="y"===l?zt:Vt,f="y"===l?Rt:qt,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=$e(o),_=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=p/2-m/2,v=h[u],y=_-d[c]-h[f],w=_/2-d[c]/2+b,A=Ne(v,w,y),E=l;i.modifiersData[n]=((e={})[E]=A,e.centerOffset=A-w,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&Oe(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fe(t){return t.split("-")[1]}
vendor: 4,497 bytes, line 27
27var He={top:"auto",right:"auto",bottom:"auto",left:"auto"};function We(t){var e,i=t.popper,n=t.popperRect,s=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,d=t.isFixed,u=r.x,f=void 0===u?0:u,p=r.y,m=void 0===p?0:p,g="function"==typeof h?h({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=Vt,y=zt,w=window;if(c){var A=$e(i),E="clientHeight",T="clientWidth";A===fe(i)&&"static"!==xe(A=Le(i)).position&&"absolute"===a&&(E="scrollHeight",T="scrollWidth"),(s===zt||(s===Vt||s===qt)&&o===Yt)&&(y=Rt,m-=(d&&A===w&&w.visualViewport?w.visualViewport.height:A[E])-n.height,m*=l?1:-1),s!==Vt&&(s!==zt&&s!==Rt||o!==Yt)||(v=qt,f-=(d&&A===w&&w.visualViewport?w.visualViewport.width:A[T])-n.width,f*=l?1:-1)}var C,O=Object.assign({position:a},c&&He),x=!0===h?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:we(i*s)/s||0,y:we(n*s)/s||0}}({x:f,y:m},fe(i)):{x:f,y:m};return f=x.x,m=x.y,l?Object.assign({},O,((C={})[y]=b?"0":"",C[v]=_?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},O,((e={})[y]=b?m+"px":"",e[v]=_?f+"px":"",e.transform="",e))}const Be={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:be(e.placement),variation:Fe(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,We(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,We(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var ze={passive:!0};const Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=fe(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,ze)})),a&&l.addEventListener("resize",i.update,ze),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,ze)})),a&&l.removeEventListener("resize",i.update,ze)}},data:{}};var qe={left:"right",right:"left",bottom:"top",top:"bottom"};function Ve(t){return t.replace(/left|right|bottom|top/g,(function(t){return qe[t]}))}var Ke={start:"end",end:"start"};function Qe(t){return t.replace(/start|end/g,(function(t){return Ke[t]}))}function Xe(t){var e=fe(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ye(t){return Te(Le(t)).left+Xe(t).scrollLeft}function Ue(t){var e=xe(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Ge(t){return["html","body","#document"].indexOf(ue(t))>=0?t.ownerDocument.body:me(t)&&Ue(t)?t:Ge(Se(t))}function Je(t,e){var i;void 0===e&&(e=[]);var n=Ge(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=fe(n),r=s?[o].concat(o.visualViewport||[],Ue(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(Je(Se(r)))}function Ze(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ti(t,e,i){return e===Gt?Ze(function(t,e){var i=fe(t),n=Le(t),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Ee();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Ye(t),y:l}}(t,i)):pe(e)?function(t,e){var i=Te(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):Ze(function(t){var e,i=Le(t),n=Xe(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=ve(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ve(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Ye(t),l=-n.scrollTop;return"rtl"===xe(s||i).direction&&(a+=ve(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(Le(t)))}function ei(t){var e,i=t.reference,n=t.element,s=t.placement,o=s?be
vendor: 4,529 bytes, line 27
27(s):null,r=s?Fe(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case zt:e={x:a,y:i.y-n.height};break;case Rt:e={x:a,y:i.y+i.height};break;case qt:e={x:i.x+i.width,y:l};break;case Vt:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?Ie(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case Xt:e[c]=e[c]-(i[h]/2-n[h]/2);break;case Yt:e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function ii(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.strategy,r=void 0===o?t.strategy:o,a=i.boundary,l=void 0===a?Ut:a,c=i.rootBoundary,h=void 0===c?Gt:c,d=i.elementContext,u=void 0===d?Jt:d,f=i.altBoundary,p=void 0!==f&&f,m=i.padding,g=void 0===m?0:m,_=Pe("number"!=typeof g?g:je(g,Qt)),b=u===Jt?Zt:Jt,v=t.rects.popper,y=t.elements[p?b:u],w=function(t,e,i,n){var s="clippingParents"===e?function(t){var e=Je(Se(t)),i=["absolute","fixed"].indexOf(xe(t).position)>=0&&me(t)?$e(t):t;return pe(i)?e.filter((function(t){return pe(t)&&Oe(t,i)&&"body"!==ue(t)})):[]}(t):[].concat(e),o=[].concat(s,[i]),r=o[0],a=o.reduce((function(e,i){var s=ti(t,i,n);return e.top=ve(s.top,e.top),e.right=ye(s.right,e.right),e.bottom=ye(s.bottom,e.bottom),e.left=ve(s.left,e.left),e}),ti(t,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(pe(y)?y:y.contextElement||Le(t.elements.popper),l,h,r),A=Te(t.elements.reference),E=ei({reference:A,element:v,strategy:"absolute",placement:s}),T=Ze(Object.assign({},v,E)),C=u===Jt?T:A,O={top:w.top-C.top+_.top,bottom:C.bottom-w.bottom+_.bottom,left:w.left-C.left+_.left,right:C.right-w.right+_.right},x=t.modifiersData.offset;if(u===Jt&&x){var k=x[s];Object.keys(O).forEach((function(t){var e=[qt,Rt].indexOf(t)>=0?1:-1,i=[zt,Rt].indexOf(t)>=0?"y":"x";O[t]+=k[i]*e}))}return O}function ni(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?ee:l,h=Fe(n),d=h?a?te:te.filter((function(t){return Fe(t)===h})):Qt,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d);var f=u.reduce((function(e,i){return e[i]=ii(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[be(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}const si={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,f=i.flipVariations,p=void 0===f||f,m=i.allowedAutoPlacements,g=e.options.placement,_=be(g),b=l||(_!==g&&p?function(t){if(be(t)===Kt)return[];var e=Ve(t);return[Qe(t),e,Qe(e)]}(g):[Ve(g)]),v=[g].concat(b).reduce((function(t,i){return t.concat(be(i)===Kt?ni(e,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):i)}),[]),y=e.rects.reference,w=e.rects.popper,A=new Map,E=!0,T=v[0],C=0;C<v.length;C++){var O=v[C],x=be(O),k=Fe(O)===Xt,L=[zt,Rt].indexOf(x)>=0,S=L?"width":"height",D=ii(e,{placement:O,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),$=L?k?qt:Vt:k?Rt:zt;y[S]>w[S]&&($=Ve($));var I=Ve($),N=[];if(o&&N.push(D[x]<=0),a&&N.push(D[$]<=0,D[I]<=0),N.every((function(t){return t}))){T=O,E=!1;break}A.set(O,N)}if(E)for(var P=function(t){var e=v.find((function(e){var i=A.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},j=p?3:1;j>0&&"break"!==P(j);j--);e.placement!==T&&(e.modifiersData[n]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function oi(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function ri(t){return[zt,qt,Rt,Vt].some((function(e){return t[e]>=0}))}const ai={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=ii(e,{elementContext:"reference"}),a=ii(e,{altBoundary:!0}),l=oi(r,n),c=oi(a,s,o),h=ri(l),d=ri(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},li={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=ee.reduce((function(t,i){return t[i]=function(t,e,
vendor: 4,389 bytes, line 27
27i){var n=be(t),s=[Vt,zt].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[Vt,qt].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},ci={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=ei({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},hi={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,f=void 0===u||u,p=i.tetherOffset,m=void 0===p?0:p,g=ii(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=be(e.placement),b=Fe(e.placement),v=!b,y=Ie(_),w="x"===y?"y":"x",A=e.modifiersData.popperOffsets,E=e.rects.reference,T=e.rects.popper,C="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),x=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(A){if(o){var L,S="y"===y?zt:Vt,D="y"===y?Rt:qt,$="y"===y?"height":"width",I=A[y],N=I+g[S],P=I-g[D],j=f?-T[$]/2:0,M=b===Xt?E[$]:T[$],F=b===Xt?-T[$]:-E[$],H=e.elements.arrow,W=f&&H?Ce(H):{width:0,height:0},B=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=B[S],R=B[D],q=Ne(0,E[$],W[$]),V=v?E[$]/2-j-q-z-O.mainAxis:M-q-z-O.mainAxis,K=v?-E[$]/2+j+q+R+O.mainAxis:F+q+R+O.mainAxis,Q=e.elements.arrow&&$e(e.elements.arrow),X=Q?"y"===y?Q.clientTop||0:Q.clientLeft||0:0,Y=null!=(L=null==x?void 0:x[y])?L:0,U=I+K-Y,G=Ne(f?ye(N,I+V-Y-X):N,I,f?ve(P,U):P);A[y]=G,k[y]=G-I}if(a){var J,Z="x"===y?zt:Vt,tt="x"===y?Rt:qt,et=A[w],it="y"===w?"height":"width",nt=et+g[Z],st=et-g[tt],ot=-1!==[zt,Vt].indexOf(_),rt=null!=(J=null==x?void 0:x[w])?J:0,at=ot?nt:et-E[it]-T[it]-rt+O.altAxis,lt=ot?et+E[it]+T[it]-rt-O.altAxis:st,ct=f&&ot?function(t,e,i){var n=Ne(t,e,i);return n>i?i:n}(at,et,lt):Ne(f?at:nt,et,f?lt:st);A[w]=ct,k[w]=ct-et}e.modifiersData[n]=k}},requiresIfExists:["offset"]};function di(t,e,i){void 0===i&&(i=!1);var n,s,o=me(e),r=me(e)&&function(t){var e=t.getBoundingClientRect(),i=we(e.width)/t.offsetWidth||1,n=we(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=Le(e),l=Te(t,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==ue(e)||Ue(a))&&(c=(n=e)!==fe(n)&&me(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Xe(n)),me(e)?((h=Te(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=Ye(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function ui(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}var fi={placement:"bottom",modifiers:[],strategy:"absolute"};function pi(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function mi(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,o=void 0===s?fi:s;return function(t,e,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},fi,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:pe(t)?Je(t):t.contextElement?Je(t.contextElement):[],popper:Je(e)};var r,c,u=function(t){var e=ui(t);return de.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((r=[].concat(n,a.options.modifiers),c=r.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return a.orderedModifiers=u.filter((function(t){return t.enabled}
27)),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var o=s({state:a,name:e,instance:h,options:n});l.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(pi(e,i)){a.rects={reference:di(e,$e(i),"fixed"===a.options.strategy),popper:Ce(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var s=a.orderedModifiers[n],o=s.fn,r=s.options,l=void 0===r?{}:r,d=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:d,instance:h})||a)}else a.reset=!1,n=-1}}},update:(s=function(){return new Promise((function(t){h.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(s())}))}))),r}),destroy:function(){d(),c=!0}};if(!pi(t,e))return h;function d(){l.forEach((function(t){return t()})),l=[]}return h.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),h}}var gi=mi(),_i=mi({defaultModifiers:[Re,ci,Be,_e]}),bi=mi({defaultModifiers:[Re,ci,Be,_e,li,si,hi,Me,ai]});const vi=Object.freeze(Object.defineProperty({__proto__:null,afterMain:ae,afterRead:se,afterWrite:he,applyStyles:_e,arrow:Me,auto:Kt,basePlacements:Qt,beforeMain:oe,beforeRead:ie,beforeWrite:le,bottom:Rt,clippingParents:Ut,computeStyles:Be,createPopper:bi,createPopperBase:gi,createPopperLite:_i,detectOverflow:ii,end:Yt,eventListeners:Re,flip:si,hide:ai,left:Vt,main:re,modifierPhases:de,offset:li,placements:ee,popper:Jt,popperGenerator:mi,popperOffsets:ci,preventOverflow:hi,read:ne,reference:Zt,right:qt,start:Xt,top:zt,variationPlacements:te,viewport:Gt,write:ce},Symbol.toStringTag,{value:"Module"})),yi="dropdown",wi=".bs.dropdown",Ai=".data-api",Ei="ArrowUp",Ti="ArrowDown",Ci=`hide${wi}`,Oi=`hidden${wi}`,xi=`show${wi}`,ki=`shown${wi}`,Li=`click${wi}${Ai}`,Si=`keydown${wi}${Ai}`,Di=`keyup${wi}${Ai}`,$i="show",Ii='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ni=`${Ii}.${$i}`,Pi=".dropdown-menu",ji=p()?"top-end":"top-start",Mi=p()?"top-start":"top-end",Fi=p()?"bottom-end":"bottom-start",Hi=p()?"bottom-start":"bottom-end",Wi=p()?"left-start":"right-start",Bi=p()?"right-start":"left-start",zi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Ri={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class qi extends W{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=z.next(this._element,Pi)[0]||z.prev(this._element,Pi)[0]||z.findOne(Pi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return zi}static get DefaultType(){return Ri}static get NAME(){return yi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!N.trigger(this._element,xi,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
27navbar-nav"))for(const t of[].concat(...document.body.children))N.on(t,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add($i),this._element.classList.add($i),N.trigger(this._element,ki,t)}}hide(){if(l(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!N.trigger(this._element,Ci,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))N.off(t,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove($i),this._element.classList.remove($i),this._element.setAttribute("aria-expanded","false"),F.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,Oi,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!o(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${yi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===vi)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:o(this._config.reference)?t=r(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=bi(t,this._menu,e)}_isShown(){return this._menu.classList.contains($i)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Wi;if(t.classList.contains("dropstart"))return Bi;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Mi:ji:e?Hi:Fi}
vendor: 5,989 bytes, line 27
27_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(F.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...g(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const i=z.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>a(t)));i.length&&b(i,e,t===Ti,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=qi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=z.find(Ni);for(const i of e){const e=qi.getInstance(i);if(!e||!1===e._config.autoClose)continue;const n=t.composedPath(),s=n.includes(e._menu);if(n.includes(e._element)||"inside"===e._config.autoClose&&!s||"outside"===e._config.autoClose&&s)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),i="Escape"===t.key,n=[Ei,Ti].includes(t.key);if(!n&&!i)return;if(e&&!i)return;t.preventDefault();const s=this.matches(Ii)?this:z.prev(this,Ii)[0]||z.next(this,Ii)[0]||z.findOne(Ii,t.delegateTarget.parentNode),o=qi.getOrCreateInstance(s);if(n)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}}N.on(document,Si,Ii,qi.dataApiKeydownHandler),N.on(document,Si,Pi,qi.dataApiKeydownHandler),N.on(document,Li,qi.clearMenus),N.on(document,Di,qi.clearMenus),N.on(document,Li,Ii,(function(t){t.preventDefault(),qi.getOrCreateInstance(this).toggle()})),m(qi);const Vi="backdrop",Ki="show",Qi=`mousedown.bs.${Vi}`,Xi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Yi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ui extends H{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Xi}static get DefaultType(){return Yi}static get NAME(){return Vi}show(t){if(!this._config.isVisible)return void g(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add(Ki),this._emulateAnimation((()=>{g(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Ki),this._emulateAnimation((()=>{this.dispose(),g(t)}))):g(t)}dispose(){this._isAppended&&(N.off(this._element,Qi),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=r(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),N.on(t,Qi,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){_(t,this._getElement(),this._config.isAnimated)}}const Gi=".bs.focustrap",Ji=`focusin${Gi}`,Zi=`keydown.tab${Gi}`,tn="backward",en={autofocus:!0,trapElement:null},nn={autofocus:"boolean",trapElement:"element"};class sn extends H{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return en}static get DefaultType(){return nn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,Gi),N.on(document,Ji,(t=>this._handleFocusin(t))),N.on(document,Zi,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,Gi))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=z.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===tn?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?tn:"forward")}}const on=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",rn=".sticky-top",an="padding-right",ln="margin-right";class cn{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,an,(e=>e+t)),this._setElementAttributes(on,an,(e=>e+t)),this._setElementAttributes(rn,ln,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,an),this._resetElementAttributes(on,an),this._resetElementAttributes(rn,ln)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&F.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=F.getDataAttribute(t,e);null!==i?(F.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)}))}
27_applyManipulationCallback(t,e){if(o(t))e(t);else for(const i of z.find(t,this._element))e(i)}}const hn=".bs.modal",dn=`hide${hn}`,un=`hidePrevented${hn}`,fn=`hidden${hn}`,pn=`show${hn}`,mn=`shown${hn}`,gn=`resize${hn}`,_n=`click.dismiss${hn}`,bn=`mousedown.dismiss${hn}`,vn=`keydown.dismiss${hn}`,yn=`click${hn}.data-api`,wn="modal-open",An="show",En="modal-static",Tn={backdrop:!0,focus:!0,keyboard:!0},Cn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class On extends W{constructor(t,e){super(t,e),this._dialog=z.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new cn,this._addEventListeners()}static get Default(){return Tn}static get DefaultType(){return Cn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||N.trigger(this._element,pn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(wn),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(N.trigger(this._element,dn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(An),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){N.off(window,hn),N.off(this._dialog,hn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ui({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new sn({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=z.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),d(this._element),this._element.classList.add(An),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,mn,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){N.on(this._element,vn,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),N.on(window,gn,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),N.on(this._element,bn,(t=>{N.one(this._element,_n,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(wn),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,fn)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(N.trigger(this._element,un).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(En)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(En),this._queueCallback((()=>{this._element.classList.remove(En),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=p()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=p()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=On.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method n
27amed "${t}"`);i[t](e)}}))}}N.on(document,yn,'[data-bs-toggle="modal"]',(function(t){const e=z.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),N.one(e,pn,(t=>{t.defaultPrevented||N.one(e,fn,(()=>{a(this)&&this.focus()}))}));const i=z.findOne(".modal.show");i&&On.getInstance(i).hide(),On.getOrCreateInstance(e).toggle(this)})),R(On),m(On);const xn=".bs.offcanvas",kn=".data-api",Ln=`load${xn}${kn}`,Sn="show",Dn="showing",$n="hiding",In=".offcanvas.show",Nn=`show${xn}`,Pn=`shown${xn}`,jn=`hide${xn}`,Mn=`hidePrevented${xn}`,Fn=`hidden${xn}`,Hn=`resize${xn}`,Wn=`click${xn}${kn}`,Bn=`keydown.dismiss${xn}`,zn={backdrop:!0,keyboard:!0,scroll:!1},Rn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class qn extends W{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return zn}static get DefaultType(){return Rn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||N.trigger(this._element,Nn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new cn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Dn),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Sn),this._element.classList.remove(Dn),N.trigger(this._element,Pn,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(N.trigger(this._element,jn).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add($n),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Sn,$n),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new cn).reset(),N.trigger(this._element,Fn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Ui({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():N.trigger(this._element,Mn)}:null})}_initializeFocusTrap(){return new sn({trapElement:this._element})}_addEventListeners(){N.on(this._element,Bn,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():N.trigger(this._element,Mn))}))}static jQueryInterface(t){return this.each((function(){const e=qn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}N.on(document,Wn,'[data-bs-toggle="offcanvas"]',(function(t){const e=z.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;N.one(e,Fn,(()=>{a(this)&&this.focus()}));const i=z.findOne(In);i&&i!==e&&qn.getInstance(i).hide(),qn.getOrCreateInstance(e).toggle(this)})),N.on(window,Ln,(()=>{for(const t of z.find(In))qn.getOrCreateInstance(t).show()})),N.on(window,Hn,(()=>{for(const t of z.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&qn.getOrCreateInstance(t).hide()})),R(qn),m(qn);const Vn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Kn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Qn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Xn=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Kn.has(i)||Boolean(Qn.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))},Yn={allowList:Vn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Un={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Gn={entry:"(string|element|function|null)",selector:"(string|element)"};class Jn extends H{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Yn}static get DefaultType(){return Un}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>
vendor: 10,003 bytes, line 27
27this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content))this._setContent(t,i,e);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},Gn)}_setContent(t,e,i){const n=z.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?o(e)?this._putElementInTemplate(r(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes),s=[].concat(e["*"]||[],e[i]||[]);for(const e of n)Xn(e,s)||t.removeAttribute(e.nodeName)}return n.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return g(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Zn=new Set(["sanitize","allowList","sanitizeFn"]),ts="fade",es="show",is=".modal",ns="hide.bs.modal",ss="hover",os="focus",rs={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},as={allowList:Vn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},ls={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class cs extends W{constructor(t,e){if(void 0===vi)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return as}static get DefaultType(){return ls}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),N.off(this._element.closest(is),ns,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=N.trigger(this._element,this.constructor.eventName("show")),e=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),N.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(es),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))N.on(t,"mouseover",h);this._queueCallback((()=>{N.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!N.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(es),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))N.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger[os]=!1,this._activeTrigger[ss]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(ts,es),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(ts),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Jn({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ts)}_isShown(){return this.tip&&this.tip.classList.contains(es)}_createPopper(t){const e=g(this._config.placement,[this,t,this._element]),i=rs[e.toUpperCase()];return bi(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return g(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...g(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)N.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===ss?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===ss?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");N.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?os:ss]=!0,e._enter()})),N.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?os:ss]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(is),ns,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=F.getDataAttributes(this._element);for(const t of Object.keys(e))Zn.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=cs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
27amed "${t}"`);e[t]()}}))}}m(cs);const hs={...cs.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ds={...cs.DefaultType,content:"(null|string|element|function)"};class us extends cs{static get Default(){return hs}static get DefaultType(){return ds}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=us.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m(us);const fs=".bs.scrollspy",ps=`activate${fs}`,ms=`click${fs}`,gs=`load${fs}.data-api`,_s="active",bs="[href]",vs=".nav-link",ys=`${vs}, .nav-item > ${vs}, .list-group-item`,ws={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},As={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Es extends W{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ws}static get DefaultType(){return As}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=r(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(N.off(this._config.target,ms),N.on(this._config.target,ms,bs,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=z.find(bs,this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=z.findOne(decodeURI(e.hash),this._element);a(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(_s),this._activateParents(t),N.trigger(this._element,ps,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))z.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(_s);else for(const e of z.parents(t,".nav, .list-group"))for(const t of z.prev(e,ys))t.classList.add(_s)}_clearActiveClass(t){t.classList.remove(_s);const e=z.find(`${bs}.${_s}`,t);for(const t of e)t.classList.remove(_s)}static jQueryInterface(t){return this.each((function(){const e=Es.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
27amed "${t}"`);e[t]()}}))}}N.on(window,gs,(()=>{for(const t of z.find('[data-bs-spy="scroll"]'))Es.getOrCreateInstance(t)})),m(Es);const Ts=".bs.tab",Cs=`hide${Ts}`,Os=`hidden${Ts}`,xs=`show${Ts}`,ks=`shown${Ts}`,Ls=`click${Ts}`,Ss=`keydown${Ts}`,Ds=`load${Ts}`,$s="ArrowLeft",Is="ArrowRight",Ns="ArrowUp",Ps="ArrowDown",js="Home",Ms="End",Fs="active",Hs="fade",Ws="show",Bs=".dropdown-toggle",zs=`:not(${Bs})`,Rs='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',qs=`.nav-link${zs}, .list-group-item${zs}, [role="tab"]${zs}, ${Rs}`,Vs=`.${Fs}[data-bs-toggle="tab"], .${Fs}[data-bs-toggle="pill"], .${Fs}[data-bs-toggle="list"]`;class Ks extends W{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),N.on(this._element,Ss,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?N.trigger(e,Cs,{relatedTarget:t}):null;N.trigger(t,xs,{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(Fs),this._activate(z.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),N.trigger(t,ks,{relatedTarget:e})):t.classList.add(Ws)}),t,t.classList.contains(Hs)))}_deactivate(t,e){t&&(t.classList.remove(Fs),t.blur(),this._deactivate(z.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),N.trigger(t,Os,{relatedTarget:e})):t.classList.remove(Ws)}),t,t.classList.contains(Hs)))}_keydown(t){if(![$s,Is,Ns,Ps,js,Ms].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!l(t)));let i;if([js,Ms].includes(t.key))i=e[t.key===js?0:e.length-1];else{const n=[Is,Ps].includes(t.key);i=b(e,t.target,n,!0)}i&&(i.focus({preventScroll:!0}),Ks.getOrCreateInstance(i).show())}_getChildren(){return z.find(qs,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=z.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const s=z.findOne(t,i);s&&s.classList.toggle(n,e)};n(Bs,Fs),n(".dropdown-menu",Ws),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(Fs)}_getInnerElement(t){return t.matches(qs)?t:z.findOne(qs,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=Ks.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}N.on(document,Ls,Rs,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||Ks.getOrCreateInstance(this).show()})),N.on(window,Ds,(()=>{for(const t of z.find(Vs))Ks.getOrCreateInstance(t)})),m(Ks);const Qs=".bs.toast",Xs=`mouseover${Qs}`,Ys=`mouseout${Qs}`,Us=`focusin${Qs}`,Gs=`focusout${Qs}`,Js=`hide${Qs}`,Zs=`hidden${Qs}`,to=`show${Qs}`,eo=`shown${Qs}`,io="hide",no="show",so="showing",oo={animation:"boolean",autohide:"boolean",delay:"number"},ro={animation:!0,autohide:!0,delay:5e3};class ao extends W{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ro}static get DefaultType(){return oo}static get NAME(){return"toast"}show(){N.trigger(this._element,to).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(io),d(this._element),this._element.classList.add(no,so),this._queueCallback((()=>{this._element.classList.remove(so),N.trigger(this._element,eo),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(N.trigger(this._element,Js).defaultPrevented||(this._element.classList.add(so),this._queueCallback((()=>{this._element.classList.add(io),this._element.classList.remove(so,no),N.trigger(this._element,Zs)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(no),super.dispose()}isShown(){return this._element.classList.contains(no)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,Xs,(t=>this._onInteraction(t,!0))),N.on(this._element,Ys,(t=>this._onInteraction(t,!1))),N.on(this._element,Us,(t=>this._onInteraction(t,!0))),N.on(this._element,Gs,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=ao.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
27amed "${t}"`);e[t](this)}}))}}return R(ao),m(ao),{Alert:Q,Button:Y,Carousel:xt,Collapse:Bt,Dropdown:qi,Modal:On,Offcanvas:qn,Popover:us,ScrollSpy:Es,Tab:Ks,Toast:ao,Tooltip:cs}}));
28;
29/*
30 @preserve
31 bootbox.js
32 version: 5.4.0
33 author: Nick Payne <[email protected]>
34 license: MIT
35 http://bootboxjs.com/
36*/
37(function(e,m){"function"===typeof define&&define.amd?define(["jquery"],m):"object"===typeof exports?module.exports=m(require("jquery")):e.bootbox=m(e.jQuery)})(this,function init(e,m){function x(a,b,d,c){if(c&&c[0]){var f=c[0].locale||u.locale;if(c[0].swapButtonOrder||u.swapButtonOrder)b=b.reverse()}var k=b,p=f;f={};for(var q=0,l=k.length;q<l;q++){var h=k[q],g=h.toLowerCase();h=h.toUpperCase();var r=v[p];f[g]={label:r?r[h]:v.en[h]}}k=B;p=e.extend;q=c.length;l={};if(1>q||2<q)throw Error("Invalid argument length");
382===q||"string"===typeof c[0]?(l[d[0]]=c[0],l[d[1]]=c[1]):l=c[0];return k(p.call(e,!0,{},{className:"bootbox-"+a,buttons:f},l),b)}function B(a,b){var d={};t(b,function(c,f){d[f]=!0});t(a.buttons,function(c){if(d[c]===m)throw Error('button key "'+c+'" is not allowed (options are '+b.join(" ")+")");});return a}function C(a){if("object"!==typeof a)throw Error("Please supply an object of options");if(!a.message)throw Error('"message" option must not be null or an empty string.');a=e.extend({},u,a);a.buttons||
39(a.buttons={});var b=a.buttons;var d=Object.keys(b).length;t(b,function(c,f,k){e.isFunction(f)&&(f=b[c]={callback:f});if("object"!==e.type(f))throw Error('button with key "'+c+'" must be an object');f.label||(f.label=c);f.className||(c=a.swapButtonOrder?0===k:k===d-1,f.className=2>=d&&c?"btn-primary":"btn-secondary btn-default")});return a}function t(a,b){var d=0;e.each(a,function(c,f){b(c,f,d++)})}function z(a){a.data.dialog.find(".bootbox-accept").first().trigger("focus")}function D(a){a.target===
40a.data.dialog[0]&&a.data.dialog.remove()}function E(a){a.target===a.data.dialog[0]&&(a.data.dialog.off("escape.close.bb"),a.data.dialog.off("click"))}function y(a,b,d){a.stopPropagation();a.preventDefault();e.isFunction(d)&&!1===d.call(b,a)||b.modal("hide")}function F(a,b,d){var c=!1,f=!0,k=!0;if("date"===a)b===m||(f=/(\d{4})-(\d{2})-(\d{2})/.test(b))?d===m||(k=/(\d{4})-(\d{2})-(\d{2})/.test(d))||console.warn('Browsers which natively support the "date" input type expect date values to be of the form "YYYY-MM-DD" (see ISO-8601 https://www.iso.org/iso-8601-date-and-time-format.html). Bootbox does not enforce this rule, but your max value may not be enforced by this browser.'):
41console.warn('Browsers which natively support the "date" input type expect date values to be of the form "YYYY-MM-DD" (see ISO-8601 https://www.iso.org/iso-8601-date-and-time-format.html). Bootbox does not enforce this rule, but your min value may not be enforced by this browser.');else if("time"===a){if(b!==m&&!(f=A(b)))throw Error('"min" is not a valid time. See https://www.w3.org/TR/2012/WD-html-markup-20120315/datatypes.html#form.data.time for more information.');if(d!==m&&!(k=A(d)))throw Error('"max" is not a valid time. See https://www.w3.org/TR/2012/WD-html-markup-20120315/datatypes.html#form.data.time for more information.');
42}else{if(b!==m&&isNaN(b))throw Error('"min" must be a valid number. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-min for more information.');if(d!==m&&isNaN(d))throw Error('"max" must be a valid number. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-max for more information.');}if(f&&k){if(d<=b)throw Error('"max" must be greater than "min". See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-max for more information.');c=!0}return c}
43function A(a){return/([01][0-9]|2[0-3]):[0-5][0-9]?:[0-5][0-9]/.test(a)}Object.keys||(Object.keys=function(){var a=Object.prototype.hasOwnProperty,b=!{toString:null}.propertyIsEnumerable("toString"),d="toString toLocaleString valueOf hasOwnProperty isPrototypeOf propertyIsEnumerable constructor".split(" "),c=d.length;return function(f){if("function"!==typeof f&&("object"!==typeof f||null===f))throw new TypeError("Object.keys called on non-object");var k=[],p;for(p in f)a.call(f,p)&&k.push(p);if(b)for(p=
440;p<c;p++)a.call(f,d[p])&&k.push(d[p]);return k}}());var n={VERSION:"5.0.0"},v={en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"}},w={text:'<input class="bootbox-input bootbox-input-text form-control" autocomplete="off" type="text" />',textarea:'<textarea class="bootbox-input bootbox-input-textarea form-control"></textarea>',email:'<input class="bootbox-input bootbox-input-email form-control" autocomplete="off" type="email" />',select:'<select class="bootbox-input bootbox-input-select form-control"></select>',
45checkbox:'<div class="form-check checkbox"><label class="form-check-label">
45<input class="form-check-input bootbox-input bootbox-input-checkbox" type="checkbox" /></label></div>',radio:'<div class="form-check radio"><label class="form-check-label"><input class="form-check-input bootbox-input bootbox-input-radio" type="radio" name="bootbox-radio" /></label></div>',date:'<input class="bootbox-input bootbox-input-date form-control" autocomplete="off" type="date" />',time:'<input class="bootbox-input bootbox-input-time form-control" autocomplete="off" type="time" />',
46number:'<input class="bootbox-input bootbox-input-number form-control" autocomplete="off" type="number" />',password:'<input class="bootbox-input bootbox-input-password form-control" autocomplete="off" type="password" />',range:'<input class="bootbox-input bootbox-input-range form-control-range" autocomplete="off" type="range" />'},u={locale:"en",backdrop:"static",animate:!0,className:null,closeButton:!0,show:!0,container:"body",value:"",inputType:"text",swapButtonOrder:!1,centerVertical:!1,multiple:!1,
47scrollable:!1};n.locales=function(a){return a?v[a]:v};n.addLocale=function(a,b){e.each(["OK","CANCEL","CONFIRM"],function(d,c){if(!b[c])throw Error('Please supply a translation for "'+c+'"');});v[a]={OK:b.OK,CANCEL:b.CANCEL,CONFIRM:b.CONFIRM};return n};n.removeLocale=function(a){if("en"!==a)delete v[a];else throw Error('"en" is used as the default and fallback locale and cannot be removed.');return n};n.setLocale=function(a){return n.setDefaults("locale",a)};n.setDefaults=function(){var a={};2===
48arguments.length?a[arguments[0]]=arguments[1]:a=arguments[0];e.extend(u,a);return n};n.hideAll=function(){e(".bootbox").modal("hide");return n};n.init=function(a){return init(a||e)};n.dialog=function(a){if(e.fn.modal===m)throw Error('"$.fn.modal" is not defined; please double check you have included the Bootstrap JavaScript library. See https://getbootstrap.com/docs/4.4/getting-started/javascript/ for more details.');a=C(a);if(e.fn.modal.Constructor.VERSION){a.fullBootstrapVersion=e.fn.modal.Constructor.VERSION;
49var b=a.fullBootstrapVersion.indexOf(".");a.bootstrap=a.fullBootstrapVersion.substring(0,b)}else a.bootstrap="2",a.fullBootstrapVersion="2.3.2",console.warn("Bootbox will *mostly* work with Bootstrap 2, but we do not officially support it. Please upgrade, if possible.");var d=e('<div class="bootbox modal" tabindex="-1" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-body"><div class="bootbox-body"></div></div></div></div></div>');b=d.find(".modal-dialog");
50var c=d.find(".modal-body"),f=e('<div class="modal-header"><h5 class="modal-title"></h5></div>'),k=e('<div class="modal-footer"></div>'),p=a.buttons,q={onEscape:a.onEscape};c.find(".bootbox-body").html(a.message);0<Object.keys(a.buttons).length&&(t(p,function(l,h){var g=e('<button type="button" class="btn"></button>');g.data("bb-handler",l);g.addClass(h.className);switch(l){case "ok":case "confirm":g.addClass("bootbox-accept");break;case "cancel":g.addClass("bootbox-cancel")}g.html(h.label);k.append(g);
51q[l]=h.callback}),c.after(k));!0===a.animate&&d.addClass("fade");a.className&&d.addClass(a.className);if(a.size)switch("3.1">a.fullBootstrapVersion.substring(0,3)&&console.warn('"size" requires Bootstrap 3.1.0 or higher. You appear to be using '+a.fullBootstrapVersion+". Please upgrade to use this option."),a.size){case "small":case "sm":b.addClass("modal-sm");break;case "large":case "lg":b.addClass("modal-lg");break;case "extra-large":case "xl":b.addClass("modal-xl"),"4.2">a.fullBootstrapVersion.substring(0,
523)&&console.warn('Using size "xl"/"extra-large" requires Bootstrap 4.2.0 or higher. You appear to be using '+a.fullBootstrapVersion+". Please upgrade to use this option.")}a.scrollable&&(b.addClass("modal-dialog-scrollable"),"4.3">a.fullBootstrapVersion.substring(0,3)&&console.warn('Using "scrollable" requires Bootstrap 4.3.0 or higher. You appear to be using '+a.fullBootstrapVersion+". Please upgrade to use this option."));a.title&&(c.before(f),d.find(".modal-title").html(a.title));
52a.closeButton&&
53(f=e('<button type="button" class="bootbox-close-button btn-close float-end" aria-hidden="true"></button>'),a.title?3<a.bootstrap?d.find(".modal-header").append(f):d.find(".modal-header").prepend(f):f.prependTo(c));a.centerVertical&&(b.addClass("modal-dialog-centered"),"4.0.0">a.fullBootstrapVersion&&console.warn('"centerVertical" requires Bootstrap 4.0.0-beta.3 or higher. You appear to be using '+a.fullBootstrapVersion+". Please upgrade to use this option."));d.one("hide.bs.modal",{dialog:d},E);
54if(a.onHide)if(e.isFunction(a.onHide))d.on("hide.bs.modal",a.onHide);else throw Error('Argument supplied to "onHide" must be a function');d.one("hidden.bs.modal",{dialog:d},D);if(a.onHidden)if(e.isFunction(a.onHidden))d.on("hidden.bs.modal",a.onHidden);else throw Error('Argument supplied to "onHidden" must be a function');if(a.onShow)if(e.isFunction(a.onShow))d.on("show.bs.modal",a.onShow);else throw Error('Argument supplied to "onShow" must be a function');d.one("shown.bs.modal",{dialog:d},z);if(a.onShown)if(e.isFunction(a.onShown))d.on("shown.bs.modal",
55a.onShown);else throw Error('Argument supplied to "onShown" must be a function');if("static"!==a.backdrop)d.on("click.dismiss.bs.modal",function(l){d.children(".modal-backdrop").length&&(l.currentTarget=d.children(".modal-backdrop").get(0));l.target===l.currentTarget&&d.trigger("escape.close.bb")});d.on("escape.close.bb",function(l){q.onEscape&&y(l,d,q.onEscape)});d.on("click",".modal-footer button:not(.disabled)",function(l){var h=e(this).data("bb-handler");h!==m&&y(l,d,q[h])});d.on("click",".bootbox-close-button",
56function(l){y(l,d,q.onEscape)});d.on("keyup",function(l){27===l.which&&d.trigger("escape.close.bb")});e(a.container).append(d);d.modal({backdrop:a.backdrop?"static":!1,keyboard:!1,show:!1});a.show&&d.modal("show");return d};n.alert=function(){var a=x("alert",["ok"],["message","callback"],arguments);if(a.callback&&!e.isFunction(a.callback))throw Error('alert requires the "callback" property to be a function when provided');a.buttons.ok.callback=a.onEscape=function(){return e.isFunction(a.callback)?
57a.callback.call(this):!0};return n.dialog(a)};n.confirm=function(){var a=x("confirm",["cancel","confirm"],["message","callback"],arguments);if(!e.isFunction(a.callback))throw Error("confirm requires a callback");a.buttons.cancel.callback=a.onEscape=function(){return a.callback.call(this,!1)};a.buttons.confirm.callback=function(){return a.callback.call(this,!0)};return n.dialog(a)};n.prompt=function(){var a=e('<form class="bootbox-form"></form>');var b=x("prompt",["cancel","confirm"],["title","callback"],
58arguments);b.value||(b.value=u.value);b.inputType||(b.inputType=u.inputType);var d=b.show===m?u.show:b.show;b.show=!1;b.buttons.cancel.callback=b.onEscape=function(){return b.callback.call(this,null)};b.buttons.confirm.callback=function(){if("checkbox"===b.inputType)var h=c.find("input:checked").map(function(){return e(this).val()}).get();else if("radio"===b.inputType)h=c.find("input:checked").val();else{if(c[0].checkValidity&&!c[0].checkValidity())return!1;h="select"===b.inputType&&!0===b.multiple?
59c.find("option:selected").map(function(){return e(this).val()}).get():c.val()}return b.callback.call(this,h)};if(!b.title)throw Error("prompt requires a title");if(!e.isFunction(b.callback))throw Error("prompt requires a callback");if(!w[b.inputType])throw Error("Invalid prompt type");var c=e(w[b.inputType]);switch(b.inputType){case "text":case "textarea":case "email":case "password":c.val(b.value);b.placeholder&&c.attr("placeholder",b.placeholder);b.pattern&&c.attr("pattern",b.pattern);b.maxlength&&
60c.attr("maxlength",b.maxlength);b.required&&c.prop({required:!0});b.rows&&!isNaN(parseInt(b.rows))&&"textarea"===b.inputType&&c.attr({rows:b.rows});break;case "date":case "time":case "number":case "range":c.val(b.value);b.placeholder&&c.attr("placeholder",b.placeholder);b.pattern&&c.attr("pattern",b.pattern);b.required&&c.prop({required:!0});if("date"!==b.inputType&&b.step)if("any"===b.step||!isNaN(b.step)&&0<parseFloat(b.step))c.attr("step",b.step);else throw Error('"step" must be a valid positive number or the value "any". See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-step for more information.');
61F(b.inputType,b.min,b.max)&&(b.min!==m&&c.attr("min",b.min),b.max!==m&&c.attr("max",b.max));break;case "select":var f={};var k=b.inputOptions||[];if(!e.isArray(k))throw Error("Please pass an array of input options");
61if(!k.length)throw Error('prompt with "inputType" set to "select" requires at least one option');b.placeholder&&c.attr("placeholder",b.placeholder);b.required&&c.prop({required:!0});b.multiple&&c.prop({multiple:!0});t(k,function(h,g){h=c;if(g.value===m||g.text===m)throw Error('each option needs a "value" property and a "text" property');
62g.group&&(f[g.group]||(f[g.group]=e("<optgroup />").attr("label",g.group)),h=f[g.group]);var r=e("<option></option>");r.attr("value",g.value).text(g.text);h.append(r)});t(f,function(h,g){c.append(g)});c.val(b.value);break;case "checkbox":var p=e.isArray(b.value)?b.value:[b.value];k=b.inputOptions||[];if(!k.length)throw Error('prompt with "inputType" set to "checkbox" requires at least one option');c=e('<div class="bootbox-checkbox-list"></div>');t(k,function(h,g){if(g.value===m||g.text===m)throw Error('each option needs a "value" property and a "text" property');
63var r=e(w[b.inputType]);r.find("input").attr("value",g.value);r.find("label").append("\n"+g.text);t(p,function(H,G){G===g.value&&r.find("input").prop("checked",!0)});c.append(r)});break;case "radio":if(b.value!==m&&e.isArray(b.value))throw Error('prompt with "inputType" set to "radio" requires a single, non-array value for "value"');k=b.inputOptions||[];if(!k.length)throw Error('prompt with "inputType" set to "radio" requires at least one option');c=e('<div class="bootbox-radiobutton-list"></div>');
64var q=!0;t(k,function(h,g){if(g.value===m||g.text===m)throw Error('each option needs a "value" property and a "text" property');h=e(w[b.inputType]);h.find("input").attr("value",g.value);h.find("label").append("\n"+g.text);b.value!==m&&g.value===b.value&&(h.find("input").prop("checked",!0),q=!1);c.append(h)});q&&c.find('input[type="radio"]').first().prop("checked",!0)}a.append(c);a.on("submit",function(h){h.preventDefault();h.stopPropagation();l.find(".bootbox-accept").trigger("click")});""!==e.trim(b.message)&&
65(k=e('<div class="bootbox-prompt-message"></div>').html(b.message),a.prepend(k));b.message=a;var l=n.dialog(b);l.off("shown.bs.modal",z);l.on("shown.bs.modal",function(){c.focus()});!0===d&&l.modal("show");return l};return n});
66;
67/**
68 * bootbox.js 5.2.0
69 *
70 * http://bootboxjs.com/license.txt
71 */
72!function(C,a){'use strict';'function'==typeof define&&define.amd?define(['bootbox'],a):'object'==typeof module&&module.exports?a(require('./bootbox')):a(C.bootbox)}(this,function(C){'use strict';C.addLocale('ar',{OK:'موافق',CANCEL:'الغاء',CONFIRM:'تأكيد'}),C.addLocale('az',{OK:'Ok',CANCEL:'İmtina et',CONFIRM:'Təsdiq et'}),C.addLocale('bg_BG',{OK:'Ок',CANCEL:'Отказ',CONFIRM:'Потвърждавам'}),C.addLocale('br',{OK:'Ok',CANCEL:'Cancelar',CONFIRM:'Sim'}),C.addLocale('cs',{OK:'Ok',CANCEL:'Zrušit',CONFIRM:'Potvrdit'}),C.addLocale('da',{OK:'Ok',CANCEL:'Annuller',CONFIRM:'Accepter'}),C.addLocale('de',{OK:'Ok',CANCEL:'Abbrechen',CONFIRM:'Ok'}),C.addLocale('el',{OK:'Εντάξει',CANCEL:'Ακύρωση',CONFIRM:'Επιβεβαίωση'}),C.addLocale('en',{OK:'Ok',CANCEL:'Cancel',CONFIRM:'Ok'}),C.addLocale('es',{OK:'Ok',CANCEL:'Cancelar',CONFIRM:'Aceptar'}),C.addLocale('eu',{OK:'Ok',CANCEL:'Ezeztatu',CONFIRM:'Onartu'}),C.addLocale('et',{OK:'Ok',CANCEL:'Katkesta',CONFIRM:'Ok'}),C.addLocale('fa',{OK:'قبول',CANCEL:'لغو',CONFIRM:'تایید'}),C.addLocale('fi',{OK:'Ok',CANCEL:'Peruuta',CONFIRM:'Ok'}),C.addLocale('fr',{OK:'Ok',CANCEL:'Annuler',CONFIRM:'Confirmer'}),C.addLocale('he',{OK:'אישור',CANCEL:'ביטול',CONFIRM:'אישור'}),C.addLocale('hu',{OK:'Ok',CANCEL:'Mégsem',CONFIRM:'Megerősít'}),C.addLocale('hr',{OK:'Ok',CANCEL:'Odustani',CONFIRM:'Potvrdi'}),C.addLocale('id',{OK:'Ok',CANCEL:'Batal',CONFIRM:'Ok'}),C.addLocale('it',{OK:'Ok',CANCEL:'Annulla',CONFIRM:'Conferma'}),C.addLocale('ja',{OK:'Ok',CANCEL:'キャンセル',CONFIRM:'確認'}),C.addLocale('ko',{OK:'Ok',CANCEL:'취소',CONFIRM:'확인'}),C.addLocale('lt',{OK:'Gerai',CANCEL:'Atšaukti',CONFIRM:'Patvirtinti'}),C.addLocale('lv',{OK:'Labi',CANCEL:'Atcelt',CONFIRM:'Apstiprināt'}),C.addLocale('nl',{OK:'Ok',CANCEL:'Annuleer',CONFIRM:'Ok'}),C.addLocale('no',{OK:'Ok',CANCEL:'Avbryt',CONFIRM:'Ok'}),C.addLocale('pl',{OK:'Ok',CANCEL:'Anuluj',CONFIRM:'Potwierdź'}),C.addLocale('pt',{OK:'Ok',CANCEL:'Cancelar',CONFIRM:'Confirmar'}),C.addLocale('ru',{OK:'Ok',CANCEL:'Отмена',CONFIRM:'Подтвердить'}),C.addLocale('sk',{OK:'Ok',CANCEL:'Zrušiť',CONFIRM:'Potvrdiť'}),C.addLocale('sl',{OK:'Ok',CANCEL:'Prekliči',CONFIRM:'Potrdi'}),C.addLocale('sq',{OK:'Ok',CANCEL:'Anulo',CONFIRM:'Prano'}),C.addLocale('sv',{OK:'Ok',CANCEL:'Avbryt',CONFIRM:'Ok'}),C.addLocale('sw',{OK:'Sawa',CANCEL:'Ghairi',CONFIRM:'Thibitisha'}
72),C.addLocale('ta',{OK:'சரி',CANCEL:'ரத்து செய்',CONFIRM:'உறுதி செய்'}),C.addLocale('th',{OK:'ตกลง',CANCEL:'ยกเลิก',CONFIRM:'ยืนยัน'}),C.addLocale('tr',{OK:'Tamam',CANCEL:'İptal',CONFIRM:'Onayla'}),C.addLocale('uk',{OK:'Ok',CANCEL:'Відміна',CONFIRM:'Прийняти'}),C.addLocale('zh_CN',{OK:'Ok',CANCEL:'取消',CONFIRM:'确认'}),C.addLocale('zh_TW',{OK:'Ok',CANCEL:'取消',CONFIRM:'確認'})});
73;
74(()=>{const b=a=>{"auto"==a&&(a=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");document.documentElement.setAttribute("data-bs-theme",a)};window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",a=>{b(a.matches?"dark":"light")});window.addEventListener("DOMContentLoaded",()=>{const a=localStorage.getItem("theme")||"auto";document.querySelectorAll("input[name='color-scheme']").forEach(c=>{c.checked=a==c.value;c.addEventListener("click",d=>{b(d.target.value);
75localStorage.setItem("theme",d.target.value)})});b(a)})})();
76;
77/*
78 Toastify js 1.12.0
79 https://github.com/apvarun/toastify-js
80 @license MIT licensed
81
82 Copyright (C) 2018 Varun A P
83*/
84'use strict';(function(l,h){"object"===typeof module&&module.exports?module.exports=h():l.Toastify=h()})(this,function(l){function h(a,c){return c.offset[a]?isNaN(c.offset[a])?c.offset[a]:c.offset[a]+"px":"0px"}function m(a,c){return a&&"string"===typeof c?a.className&&-1<a.className.trim().split(/\s+/gi).indexOf(c)?!0:!1:!1}var b=function(a){return new b.lib.init(a)};b.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3E3,selector:void 0,callback:function(){},destination:void 0,
85newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}};b.lib=b.prototype={toastify:"1.12.0",constructor:b,init:function(a){a||(a={});this.options={};this.toastElement=null;this.options.text=a.text||b.defaults.text;this.options.node=a.node||b.defaults.node;this.options.duration=0===a.duration?0:a.duration||b.defaults.duration;this.options.selector=
86a.selector||b.defaults.selector;this.options.callback=a.callback||b.defaults.callback;this.options.destination=a.destination||b.defaults.destination;this.options.newWindow=a.newWindow||b.defaults.newWindow;this.options.close=a.close||b.defaults.close;this.options.gravity="bottom"===a.gravity?"toastify-bottom":b.defaults.gravity;this.options.positionLeft=a.positionLeft||b.defaults.positionLeft;this.options.position=a.position||b.defaults.position;this.options.backgroundColor=a.backgroundColor||b.defaults.backgroundColor;
87this.options.avatar=a.avatar||b.defaults.avatar;this.options.className=a.className||b.defaults.className;this.options.stopOnFocus=void 0===a.stopOnFocus?b.defaults.stopOnFocus:a.stopOnFocus;this.options.onClick=a.onClick||b.defaults.onClick;this.options.offset=a.offset||b.defaults.offset;this.options.escapeMarkup=void 0!==a.escapeMarkup?a.escapeMarkup:b.defaults.escapeMarkup;this.options.ariaLive=a.ariaLive||b.defaults.ariaLive;this.options.style=a.style||b.defaults.style;a.backgroundColor&&(this.options.style.background=
88a.backgroundColor);return this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var a=document.createElement("div");a.className="toastify on "+this.options.className;this.options.position?a.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(a.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):a.className+=" toastify-right";a.className+=" "+this.options.gravity;
89this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var c in this.options.style)a.style[c]=this.options.style[c];this.options.ariaLive&&a.setAttribute("aria-live",this.options.ariaLive);this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE?a.appendChild(this.options.node):(this.options.escapeMarkup?a.innerText=this.options.text:a.innerHTML=this.options.text,""!==this.options.avatar&&(c=
90document.createElement("img"),c.src=this.options.avatar,c.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?a.appendChild(c):a.insertAdjacentElement("afterbegin",c)));if(!0===this.options.close){c=document.createElement("button");c.type="button";c.setAttribute("aria-label","Close");c.className="toast-close";c.innerHTML="&#10006;";c.addEventListener("click",function(d){d.stopPropagation();this.removeElement(this.toastElement);window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));
91var f=0<window.innerWidth?window.innerWidth:screen.width;
91("left"==this.options.position||!0===this.options.positionLeft)&&360<f?a.insertAdjacentElement("afterbegin",c):a.appendChild(c)}if(this.options.stopOnFocus&&0<this.options.duration){var e=this;a.addEventListener("mouseover",function(d){window.clearTimeout(a.timeOutValue)});a.addEventListener("mouseleave",function(){a.timeOutValue=window.setTimeout(function(){e.removeElement(a)},e.options.duration)})}"undefined"!==typeof this.options.destination&&
92a.addEventListener("click",function(d){d.stopPropagation();!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this));"function"===typeof this.options.onClick&&"undefined"===typeof this.options.destination&&a.addEventListener("click",function(d){d.stopPropagation();this.options.onClick()}.bind(this));"object"===typeof this.options.offset&&(c=h("x",this.options),f=h("y",this.options),a.style.transform="translate("+("left"==this.options.position?
93c:"-"+c)+","+("toastify-top"==this.options.gravity?f:"-"+f)+")");return a},showToast:function(){this.toastElement=this.buildToast();var a="string"===typeof this.options.selector?document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||"undefined"!==typeof ShadowRoot&&this.options.selector instanceof ShadowRoot?this.options.selector:document.body;if(!a)throw"Root element is not defined";a.insertBefore(this.toastElement,b.defaults.oldestFirst?a.firstChild:a.lastChild);
94b.reposition();0<this.options.duration&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration));return this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue);this.removeElement(this.toastElement)},removeElement:function(a){a.className=a.className.replace(" on","");window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node);
95a.parentNode&&a.parentNode.removeChild(a);this.options.callback.call(a);b.reposition()}.bind(this),400)}};b.reposition=function(){for(var a={top:15,bottom:15},c={top:15,bottom:15},f={top:15,bottom:15},e=document.getElementsByClassName("toastify"),d,g=0;g<e.length;g++){d=!0===m(e[g],"toastify-top")?"toastify-top":"toastify-bottom";var k=e[g].offsetHeight;d=d.substr(9,d.length-1);360>=(0<window.innerWidth?window.innerWidth:screen.width)?(e[g].style[d]=f[d]+"px",f[d]+=k+15):!0===m(e[g],"toastify-left")?
96(e[g].style[d]=a[d]+"px",a[d]+=k+15):(e[g].style[d]=c[d]+"px",c[d]+=k+15)}return this};b.lib.init.prototype=b.lib;return b});
97;
98const ModalManager=(()=>{let k,g,c,d=null,e=null;const h=()=>{e&&(e.hide(),e.dispose(),d.remove(),d=e=null,c.closeFn&&c.closeFn())};return{openWindow:a=>{null!==d&&h();c=a;d=$('<div id="myModal" class="modal" tabindex="-1">').appendTo("body");var b=["modal-dialog"];
98a.size&&b.push("modal-"+a.size);a.scrollable&&b.push("modal-dialog-scrollable");a.fullscreen&&b.push("modal-fullscreen");"class"in a&&b.push(a.class);b=$('<div id="toolControls" class="'+b.join(" ")+'">').appendTo(d);b=$('<div class="modal-content">').appendTo(b);
99k=$('<div class="modal-header">').html('<h5 class="modal-title">'+c.title+"</h5>").append($('<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">').on("click",h));g=$('<div class="modal-body">');if(a.fullscreen&&!a.buttons)b.append(k,g);else{var q=b.append,r=k,t=g;const l=$('<div class="modal-footer">');let n=!1;for(let m in c.buttons){let f=c.buttons[m];if("close"==m)n=!0;else{const p=$("<button>",{id:m+"Btn","class":"btn "+(f.className?f.className:"btn-primary")}).html(f.label);
100if("callback"in f)p.on("click",f.callback);l.append(p)}}n&&l.append($("<button>",{id:"closeBtn","class":"btn btn-secondary"}).html(lib.word(1035)).on("click",h));q.call(b,r,t,l)}e=new bootstrap.Modal(d[0],{backdrop:"backdrop"in a?a.backdrop:!1,keyboard:"keyboard"in a?a.keyboard:!0});e.show();return g},closeWindow:h}})();
101;
102(function(k,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports):"function"===typeof define&&define.amd?define(["exports"],y):(k="undefined"!==typeof globalThis?globalThis:k||self,y(k.leaflet={}))})(this,function(k){function y(a){var b,c;var d=1;for(c=arguments.length;d<c;d++){var e=arguments[d];for(b in e)a[b]=e[b]}return a}function B(a,b){var c=Array.prototype.slice;if(a.bind)return a.bind.apply(a,c.call(arguments,1));var d=c.call(arguments,2);return function(){return a.apply(b,
103d.length?d.concat(c.call(arguments)):arguments)}}function w(a){"_leaflet_id"in a||(a._leaflet_id=++$b);return a._leaflet_id}function ac(a,b,c){var d,e,f;var g=function(){d=!1;e&&(f.apply(c,e),e=!1)};return f=function(){d?e=arguments:(a.apply(c,arguments),setTimeout(g,b),d=!0)}}function Ca(a,b,c){var d=b[1];b=b[0];var e=d-b;return a===d&&c?a:((a-b)%e+e)%e+b}function H(){return!1}function X(a,b){if(!1===b)return a;b=Math.pow(10,void 0===b?6:b);return Math.round(a*b)/b}function ob(a){return a.trim?a.trim():
104a.replace(/^\s+|\s+$/g,"")}function na(a){return ob(a).split(/\s+/)}function C(a,b){Object.prototype.hasOwnProperty.call(a,"options")||(a.options=a.options?Sa(a.options):{});for(var c in b)a.options[c]=b[c];return a.options}function bc(a,b,c){var d=[],e;for(e in a)d.push(encodeURIComponent(c?e.toUpperCase():e)+"="+encodeURIComponent(a[e]));return(b&&-1!==b.indexOf("?")?"&":"?")+d.join("&")}function cc(a,b){return a.replace(pd,function(c,d){d=b[d];if(void 0===d)throw Error("No value provided for variable "+
105c);"function"===typeof d&&(d=d(b));return d})}function pb(a,b){for(var c=0;c<a.length;c++)if(a[c]===b)return c;return-1}function qb(a){return window["webkit"+a]||window["moz"+a]||window["ms"+a]}function dc(a){var b=+new Date,c=Math.max(0,16-(b-ec));ec=b+c;return window.setTimeout(a,c)}function N(a,b,c){if(c&&rb===dc)a.call(b);else return rb.call(window,B(a,b))}function R(a){a&&fc.call(window,a)}function da(){}function qd(a){if("undefined"!==typeof L&&L&&L.Mixin){a=U(a)?a:[a];for(var b=0;b<a.length;b++)a[b]===
106L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",Error().stack)}}function p(a,b,c){this.x=c?Math.round(a):a;this.y=c?Math.round(b):b}function n(a,b,c){return a instanceof p?a:U(a)?new p(a[0],a[1]):void 0===a||null===a?a:"object"===typeof a&&"x"in a&&"y"in a?new p(a.x,a.y):new p(a,b,c)}function D(a,b){if(a){a=b?[a,b]:a;b=0;for(var c=a.length;b<c;b++)this.extend(a[b])}}function O(a,b){return!a||
107a instanceof D?a:new D(a,b)}function P(a,b){if(a){a=b?[a,b]:a;b=0;for(var c=a.length;b<c;b++)this.extend(a[b])}}function I(a,b){return a instanceof P?a:new P(a,b)}function z(a,b,c){if(isNaN(a)||isNaN(b))throw Error("Invalid LatLng object: ("+a+", "+b+")");this.lat=+a;this.lng=+b;void 0!==c&&(this.alt=+c)}function u(a,b,c){return a instanceof z?a:U(a)&&"object"!==typeof a[0]?3===a.length?new z(a[0],a[1],a[2]):2===a.length?new z(a[0],a[1]):null:void 0===a||null===a?a:"object"===typeof a&&"lat"in a?
108new z(a.lat,"lng"in a?a.lng:a.lon,a.alt):void 0===b?null:new z(a,b,c)}function sb(a,b,c,d){U(a)?(this._a=a[0],this._b=a[1],this._c=a[2],this._d=a[3]):(this._a=a,this._b=b,this._c=c,this._d=d)}function Da(a,b,c,d){return new sb(a,b,c,d)}function gc(a){return document.createElementNS("http://www.w3.org/2000/svg",a)}function hc(a,b){var c="",d,e;var f=0;for(d=a.length;f<d;f++){var g=a[f];var h=0;for(e=g.length;h<e;h++){var l=g[h];c+=(h?"L":"M")+l.x+" "+l.y}c+=b?m.svg?"z":"x":""}return c||"M0 0"}function Y(a){return 0<=
109navigator.userAgent.toLowerCase().indexOf(a)}function rd(a,b,c){"touchstart"!==b||ic||(document.addEventListener(jc,sd,!0),document.addEventListener(kc,td,!0),document.addEventListener(lc,mc,!0),document.addEventListener(nc,mc,!0),ic=!0);if(!oc[b])return console.warn("wrong event specified:",b),H;c=oc[b].bind(this,c);a.addEventListener(tb[b],c,!1);return c}function sd(a){ua[a.pointerId]=a}function td(a){ua[a.pointerId]&&(ua[a.pointerId]=a)}function mc(a){delete ua[a.pointerId]}function Ta(a,b){if(b.pointerType!==
110(b.MSPOINTER_TYPE_MOUSE||"mouse")){b.touches=[];for(var c in ua)b.touches.push(ua[c]);b.changedTouches=[b];a(b)}}function ud(a){var b={},c;for(c in a){var d=a[c];b[c]=d&&d.bind?d.bind(a):d}b.type="dblclick";b.detail=2;b.isTrusted=!1;b._simulated=!0;return b}function vd(a,b){function c(f){if(1!==f.detail)e=f.detail;else if("mouse"!==f.pointerType&&(!f.sourceCapabilities||f.sourceCapabilities.firesTouchEvents)){var g=pc(f);if(!g.some(function(h){return h instanceof HTMLLabelElement&&h.attributes.for})||
111g.some(function(h){return h instanceof HTMLInputElement||h instanceof HTMLSelectElement}))g=Date.now(),200>=g-d?(e++,2===e&&b(ud(f))):e=1,d=g}}a.addEventListener("dblclick",b);var d=0,e;a.addEventListener("click",c);return{dblclick:b,simDblclick:c}}function qc(a){return"string"===typeof a?document.getElementById(a):a}function Ea(a,b){var c=a.style[b]||a.currentStyle&&a.currentStyle[b];c&&"auto"!==c||!document.defaultView||(c=(a=document.defaultView.getComputedStyle(a,null))?a[b]:null);return"auto"===
112c?null:c}function x(a,b,c){a=document.createElement(a);a.className=b||"";c&&c.appendChild(a);return a}function E(a){var b=a.parentNode;b&&b.removeChild(a)}function Ua(a){for(;a.firstChild;)a.removeChild(a.firstChild)}function va(a){var b=a.parentNode;b&&b.lastChild!==a&&b.appendChild(a)}function wa(a){var b=a.parentNode;b&&b.firstChild!==a&&b.insertBefore(a,b.firstChild)}function ub(a,b){if(void 0!==a.classList)return a.classList.contains(b);a=Va(a);return 0<a.length&&(new RegExp("(^|\\s)"+b+"(\\s|$)")).test(a)}
113function t(a,b){if(void 0!==a.classList){b=na(b);for(var c=0,d=b.length;c<d;c++)a.classList.add(b[c])}else ub(a,b)||(c=Va(a),vb(a,(c?c+" ":"")+b))}function G(a,b){void 0!==a.classList?a.classList.remove(b):vb(a,ob((" "+Va(a)+" ").replace(" "+b+" "," ")))}function vb(a,b){void 0===a.className.baseVal?a.className=b:a.className.baseVal=b}function Va(a){a.correspondingElement&&(a=a.correspondingElement);return void 0===a.className.baseVal?a.className:a.className.baseVal}function S(a,b){if("opacity"in
114a.style)a.style.opacity=b;else if("filter"in a.style)a:{var c=!1;try{c=a.filters.item("DXImageTransform.Microsoft.Alpha")}catch(d){if(1===b)break a}b=Math.round(100*b);c?(c.Enabled=100!==b,c.Opacity=b):a.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(opacity="+b+")"}}function Wa(a){for(var b=document.documentElement.style,c=0;c<a.length;c++)if(a[c]in b)return a[c];return!1}function oa(a,b,c){b=b||new p(0,0);a.style[wb]=(m.ie3d?"translate("+b.x+"px,"+b.y+"px)":"translate3d("+b.x+"px,"+b.y+
115"px,0)")+(c?" scale("+c+")":"")}function J(a,b){a._leaflet_pos=b;m.any3d?oa(a,b):(a.style.left=b.x+"px",a.style.top=b.y+"px")}function pa(a){return a._leaflet_pos||new p(0,0)}function xb(){q(window,"dragstart",K)}function yb(){A(window,"dragstart",K)}function zb(a){for(;-1===a.tabIndex;)a=a.parentNode;a.style&&(Xa(),Ya=a,Ab=a.style.outlineStyle,a.style.outlineStyle="none",q(window,"keydown",Xa))}function Xa(){Ya&&(Ya.style.outlineStyle=Ab,Ab=Ya=void 0,A(window,"keydown",Xa))}function rc(a){do a=a.parentNode;
116while(!(a.offsetWidth&&a.offsetHeight||a===document.body));return a}function Bb(a){var b=a.getBoundingClientRect();return{x:b.width/a.offsetWidth||1,y:b.height/a.offsetHeight||1,boundingClientRect:b}}function q(a,b,c,d){if(b&&"object"===typeof b)for(var e in b)Cb(a,e,b[e],c);else{b=na(b);e=0;for(var f=b.length;e<f;e++)Cb(a,b[e],c,d)}return this}function A(a,b,c,d){if(1===arguments.length)sc(a),delete a[Z];else if(b&&"object"===typeof b)for(var e in b)Db(a,e,b[e],c);else if(b=na(b),2===arguments.length)sc(a,
117function(g){return-1!==pb(b,g)});else{e=0;for(var f=b.length;e<f;e++)Db(a,b[e],c,d)}return this}function sc(a,b){for(var c in a[Z]){var d=c.split(/\d/)[0];
117b&&!b(d)||Db(a,d,null,null,c)}}function Cb(a,b,c,d){var e=b+w(c)+(d?"_"+w(d):"");if(a[Z]&&a[Z][e])return this;var f=function(h){return c.call(d||a,h||window.event)},g=f;!m.touchNative&&m.pointer&&0===b.indexOf("touch")?f=rd(a,b,f):m.touch&&"dblclick"===b?f=vd(a,f):"addEventListener"in a?"touchstart"===b||"touchmove"===b||"wheel"===b||"mousewheel"===
118b?a.addEventListener(Eb[b]||b,f,m.passiveEvents?{passive:!1}:!1):"mouseenter"===b||"mouseleave"===b?(f=function(h){h=h||window.event;Fb(a,h)&&g(h)},a.addEventListener(Eb[b],f,!1)):a.addEventListener(b,g,!1):a.attachEvent("on"+b,f);a[Z]=a[Z]||{};a[Z][e]=f}function Db(a,b,c,d,e){e=e||b+w(c)+(d?"_"+w(d):"");c=a[Z]&&a[Z][e];if(!c)return this;!m.touchNative&&m.pointer&&0===b.indexOf("touch")?tb[b]?a.removeEventListener(tb[b],c,!1):console.warn("wrong event specified:",b):m.touch&&"dblclick"===b?(a.removeEventListener("dblclick",
119c.dblclick),a.removeEventListener("click",c.simDblclick)):"removeEventListener"in a?a.removeEventListener(Eb[b]||b,c,!1):a.detachEvent("on"+b,c);a[Z][e]=null}function qa(a){a.stopPropagation?a.stopPropagation():a.originalEvent?a.originalEvent._stopped=!0:a.cancelBubble=!0;return this}function Gb(a){Cb(a,"wheel",qa);return this}function Fa(a){q(a,"mousedown touchstart dblclick contextmenu",qa);a._leaflet_disable_click=!0;return this}function K(a){a.preventDefault?a.preventDefault():a.returnValue=!1;
120return this}function ra(a){K(a);qa(a);return this}function pc(a){if(a.composedPath)return a.composedPath();var b=[];for(a=a.target;a;)b.push(a),a=a.parentNode;return b}function tc(a,b){if(!b)return new p(a.clientX,a.clientY);var c=Bb(b),d=c.boundingClientRect;return new p((a.clientX-d.left)/c.x-b.clientLeft,(a.clientY-d.top)/c.y-b.clientTop)}function uc(a){return m.edge?a.wheelDeltaY/2:a.deltaY&&0===a.deltaMode?-a.deltaY/wd:a.deltaY&&1===a.deltaMode?20*-a.deltaY:a.deltaY&&2===a.deltaMode?60*-a.deltaY:
121a.deltaX||a.deltaZ?0:a.wheelDelta?(a.wheelDeltaY||a.wheelDelta)/2:a.detail&&32765>Math.abs(a.detail)?20*-a.detail:a.detail?a.detail/-32765*60:0}function Fb(a,b){b=b.relatedTarget;if(!b)return!0;try{for(;b&&b!==a;)b=b.parentNode}catch(c){return!1}return b!==a}function vc(a,b,c){var d=[1,4,2,8],e,f,g;var h=0;for(g=a.length;h<g;h++)a[h]._code=sa(a[h],b);for(f=0;4>f;f++){var l=d[f];var r=[];h=0;g=a.length;for(e=g-1;h<g;e=h++){var F=a[h];e=a[e];F._code&l?e._code&l||(e=Za(e,F,l,b,c),e._code=sa(e,b),r.push(e)):
122(e._code&l&&(e=Za(e,F,l,b,c),e._code=sa(e,b),r.push(e)),r.push(F))}a=r}return a}function wc(a,b){var c,d,e;if(!a||0===a.length)throw Error("latlngs not passed");T(a)||(console.warn("latlngs are not flat! Only the first ring will be used"),a=a[0]);var f=u([0,0]);var g=I(a);1700>
122g.getNorthWest().distanceTo(g.getSouthWest())*g.getNorthEast().distanceTo(g.getNorthWest())&&(f=Hb(a));var h=a.length,l=[];for(g=0;g<h;g++){var r=u(a[g]);l.push(b.project(u([r.lat-f.lat,r.lng-f.lng])))}g=r=d=e=0;for(c=h-1;g<
123h;c=g++){a=l[g];c=l[c];var F=a.y*c.x-c.y*a.x;d+=(a.x+c.x)*F;e+=(a.y+c.y)*F;r+=3*F}b=b.unproject(n(0===r?l[0]:[d/r,e/r]));return u([b.lat+f.lat,b.lng+f.lng])}function Hb(a){for(var b=0,c=0,d=0,e=0;e<a.length;e++){var f=u(a[e]);b+=f.lat;c+=f.lng;d++}return u([b/d,c/d])}function xc(a,b){if(!b||!a.length)return a.slice();b*=b;for(var c=[a[0]],d=1,e=0,f=a.length;d<f;d++){var g=a[d],h=a[e],l=h.x-g.x;g=h.y-g.y;l*l+g*g>b&&(c.push(a[d]),e=d)}e<f-1&&c.push(a[f-1]);a=c;c=a.length;d=new ("undefined"!==typeof Uint8Array?
124Uint8Array:Array)(c);d[0]=d[c-1]=1;Ib(a,d,b,0,c-1);e=[];for(b=0;b<c;b++)d[b]&&e.push(a[b]);return a=e}function yc(a,b,c){return Math.sqrt(Ga(a,b,c,!0))}function Ib(a,b,c,d,e){var f=0,g;for(g=d+1;g<=e-1;g++){var h=Ga(a[g],a[d],a[e],!0);if(h>f){var l=g;f=h}}f>c&&(b[l]=1,Ib(a,b,c,d,l),Ib(a,b,c,l,e))}function zc(a,b,c,d,e){d=d?Ac:sa(a,c);var f=sa(b,c);for(Ac=f;;){if(!(d|f))return[a,b];if(d&f)return!1;var g=d||f;var h=Za(a,b,g,c,e);var l=sa(h,c);g===d?(a=h,d=l):(b=h,f=l)}}function Za(a,b,c,d,e){var f=
125b.x-a.x;b=b.y-a.y;var g=d.min;d=d.max;if(c&8){var h=a.x+f*(d.y-a.y)/b;var l=d.y}else c&4?(h=a.x+f*(g.y-a.y)/b,l=g.y):c&2?(h=d.x,l=a.y+b*(d.x-a.x)/f):c&1&&(h=g.x,l=a.y+b*(g.x-a.x)/f);return new p(h,l,e)}function sa(a,b){var c=0;a.x<b.min.x?c|=1:a.x>b.max.x&&(c|=2);a.y<b.min.y?c|=4:a.y>b.max.y&&(c|=8);return c}function Ga(a,b,c,d){var e=b.x;b=b.y;var f=c.x-e,g=c.y-b,h=f*f+g*g;0<h&&(h=((a.x-e)*f+(a.y-b)*g)/h,1<h?(e=c.x,b=c.y):0<h&&(e+=f*h,b+=g*h));f=a.x-e;g=a.y-b;return d?f*f+g*g:new p(e,b)}function T(a){return!U(a[0])||
126"object"!==typeof a[0][0]&&"undefined"!==typeof a[0][0]}function Bc(a){console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead.");return T(a)}function Cc(a,b){var c,d;if(!a||0===a.length)throw Error("latlngs not passed");T(a)||(console.warn("latlngs are not flat! Only the first ring will be used"),a=a[0]);var e=u([0,0]);var f=I(a);1700>
126f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest())&&(e=Hb(a));var g=a.length,h=[];for(f=0;f<g;f++){var l=
127u(a[f]);h.push(b.project(u([l.lat-e.lat,l.lng-e.lng])))}for(c=f=0;f<g-1;f++)c+=h[f].distanceTo(h[f+1])/2;if(0===c)var r=h[0];else for(d=f=0;f<g-1;f++){a=h[f];l=h[f+1];var F=a.distanceTo(l);d+=F;if(d>c){r=(d-c)/F;r=[l.x-r*(l.x-a.x),l.y-r*(l.y-a.y)];break}}b=b.unproject(n(r));return u([b.lat+e.lat,b.lng+e.lng])}function $a(a,b){var c="Feature"===a.type?a.geometry:a,d=c?c.coordinates:null,e=[],f=b&&b.pointToLayer,g=b&&b.coordsToLatLng||Jb,h,l;if(!d&&!c)return null;switch(c.type){case "Point":return e=
128h=g(d),f?f(a,e):new Ha(e,b&&b.markersInheritOptions&&b);case "MultiPoint":var r=0;for(l=d.length;r<l;r++){h=g(d[r]);c=e;var F=c.push,aa=b;h=f?f(a,h):new Ha(h,aa&&aa.markersInheritOptions&&aa);F.call(c,h)}return new ea(e);case "LineString":case "MultiLineString":return a=ab(d,"LineString"===c.type?0:1,g),new fa(a,b);case "Polygon":case "MultiPolygon":return a=ab(d,"Polygon"===c.type?1:2,g),new xa(a,b);case "GeometryCollection":r=0;for(l=c.geometries.length;r<l;r++)(f=$a({geometry:c.geometries[r],type:"Feature",
129properties:a.properties},b))&&e.push(f);return new ea(e);case "FeatureCollection":r=0;for(l=c.features.length;r<l;r++)(a=$a(c.features[r],b))&&e.push(a);return new ea(e);default:throw Error("Invalid GeoJSON object.");}}function Jb(a){return new z(a[1],a[0],a[2])}function ab(a,b,c){for(var d=[],e=0,f=a.length,g;e<f;e++)g=b?ab(a[e],b-1,c):(c||Jb)(a[e]),d.push(g);return d}function Kb(a,b){a=u(a);return void 0!==a.alt?[X(a.lng,b),X(a.lat,b),X(a.alt,b)]:[X(a.lng,b),X(a.lat,b)]}function bb(a,b,c,d){for(var e=
130[],f=0,g=a.length;f<g;f++)e.push(b?bb(a[f],T(a[f])?0:b-1,c,d):Kb(a[f],d));!b&&c&&0<e.length&&e.push(e[0].slice());return e}function ya(a,b){return a.feature?y({},a.feature,{geometry:b}):cb(b)}function cb(a){return"Feature"===a.type||"FeatureCollection"===a.type?a:{type:"Feature",properties:{},geometry:a}}function Dc(a,b){return new ha(a,b)}function Ec(a,b){return new za(a,b)}function Fc(a){return m.canvas?new Gc(a):null}function Hc(a){return m.svg||m.vml?new Ia(a):null}var Sa=Object.create||function(){function a(){}
131return function(b){a.prototype=b;return new a}}(),$b=0,pd=/\{ *([\w_ -]+) *\}/g,U=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)},ec=0,rb=window.requestAnimationFrame||qb("RequestAnimationFrame")||dc,fc=window.cancelAnimationFrame||qb("CancelAnimationFrame")||qb("CancelRequestAnimationFrame")||function(a){window.clearTimeout(a)},xd={__proto__:null,extend:y,create:Sa,bind:B,get lastId(){return $b},stamp:w,throttle:ac,wrapNum:Ca,falseFn:H,formatNum:X,trim:ob,splitWords:na,
132setOptions:C,getParamString:bc,template:cc,isArray:U,indexOf:pb,emptyImageUrl:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",requestFn:rb,cancelFn:fc,requestAnimFrame:N,cancelAnimFrame:R};da.extend=function(a){var b=function(){C(this);this.initialize&&this.initialize.apply(this,arguments);this.callInitHooks()},c=b.__super__=this.prototype,d=Sa(c);d.constructor=b;b.prototype=d;for(var e in this)Object.prototype.hasOwnProperty.call(this,e)&&"prototype"!==e&&"__super__"!==e&&(b[e]=this[e]);
133a.statics&&y(b,a.statics);a.includes&&(qd(a.includes),y.apply(null,[d].concat(a.includes)));y(d,a);delete d.statics;delete d.includes;d.options&&(d.options=c.options?Sa(c.options):{},y(d.options,a.options));d._initHooks=[];d.callInitHooks=function(){if(!this._initHooksCalled){c.callInitHooks&&c.callInitHooks.call(this);this._initHooksCalled=!0;for(var f=0,g=d._initHooks.length;f<g;f++)d._initHooks[f].call(this)}};return b};da.include=function(a){var b=this.prototype.options;y(this.prototype,a);a.options&&
134(this.prototype.options=b,this.mergeOptions(a.options));return this};da.mergeOptions=function(a){y(this.prototype.options,a);return this};da.addInitHook=function(a){var b=Array.prototype.slice.call(arguments,1);this.prototype._initHooks=this.prototype._initHooks||[];this.prototype._initHooks.push("function"===typeof a?a:function(){this[a].apply(this,b)});return this};var Q={on:function(a,b,c){if("object"===typeof a)for(var d in a)this._on(d,a[d],b);else{a=na(a);d=0;for(var e=a.length;d<e;d++)this._on(a[d],
135b,c)}return this},off:function(a,b,c){if(arguments.length)if("object"===typeof a)for(var d in a)this._off(d,a[d],b);else{a=na(a);d=1===arguments.length;for(var e=0,f=a.length;e<f;e++)d?this._off(a[e]):this._off(a[e],b,c)}else delete this._events;return this},_on:function(a,b,c,d){"function"!==typeof b?console.warn("wrong listener type: "+typeof b):!1===this._listens(a,b,c)&&(c===this&&(c=void 0),b={fn:b,ctx:c},d&&(b.once=!0),this._events=this._events||{},this._events[a]=this._events[a]||[],this._events[a].push(b))},
136_off:function(a,b,c){var d,e;if(this._events&&(d=this._events[a]))if(1===arguments.length){if(this._firingCount){var f=0;for(e=d.length;f<e;f++)d[f].fn=H}delete this._events[a]}else"function"!==typeof b?console.warn("wrong listener type: "+typeof b):(f=this._listens(a,b,c),!1!==f&&(e=d[f],this._firingCount&&(e.fn=H,this._events[a]=d=d.slice()),d.splice(f,1)))}
136,fire:function(a,b,c){if(!this.listens(a,c))return this;b=y({},b,{type:a,target:this,sourceTarget:b&&b.sourceTarget||this});if(this._events){var d=
137this._events[a];if(d){this._firingCount=this._firingCount+1||1;for(var e=0,f=d.length;e<f;e++){var g=d[e],h=g.fn;g.once&&this.off(a,h,g.ctx);h.call(g.ctx||this,b)}this._firingCount--}}c&&this._propagateEvent(b);return this},listens:function(a,b,c,d){"string"!==typeof a&&console.warn('"string" type argument expected');var e=b;"function"!==typeof b&&(d=!!b,c=e=void 0);var f=this._events&&this._events[a];if(f&&f.length&&!1!==this._listens(a,e,c))return!0;if(d)for(var g in this._eventParents)if(this._eventParents[g].listens(a,
138b,c,d))return!0;return!1},_listens:function(a,b,c){if(!this._events)return!1;a=this._events[a]||[];if(!b)return!!a.length;c===this&&(c=void 0);for(var d=0,e=a.length;d<e;d++)if(a[d].fn===b&&a[d].ctx===c)return d;return!1},once:function(a,b,c){if("object"===typeof a)for(var d in a)this._on(d,a[d],b,!0);else{a=na(a);d=0;for(var e=a.length;d<e;d++)this._on(a[d],b,c,!0)}return this},addEventParent:function(a){this._eventParents=this._eventParents||{};this._eventParents[w(a)]=a;return this},removeEventParent:function(a){this._eventParents&&
139delete this._eventParents[w(a)];return this},_propagateEvent:function(a){for(var b in this._eventParents)this._eventParents[b].fire(a.type,y({layer:a.target,propagatedFrom:a.target},a),!0)}};Q.addEventListener=Q.on;Q.removeEventListener=Q.clearAllEventListeners=Q.off;Q.addOneTimeEventListener=Q.once;Q.fireEvent=Q.fire;Q.hasEventListeners=Q.listens;var Ja=da.extend(Q),Ic=Math.trunc||function(a){return 0<a?Math.floor(a):Math.ceil(a)};p.prototype={clone:function(){return new p(this.x,this.y)},add:function(a){return this.clone()._add(n(a))},
140_add:function(a){this.x+=a.x;this.y+=a.y;return this},subtract:function(a){return this.clone()._subtract(n(a))},_subtract:function(a){this.x-=a.x;this.y-=a.y;return this},divideBy:function(a){return this.clone()._divideBy(a)},_divideBy:function(a){this.x/=a;this.y/=a;return this},multiplyBy:function(a){return this.clone()._multiplyBy(a)},_multiplyBy:function(a){this.x*=a;this.y*=a;return this},scaleBy:function(a){return new p(this.x*a.x,this.y*a.y)},unscaleBy:function(a){return new p(this.x/a.x,this.y/
141a.y)},round:function(){return this.clone()._round()},_round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this},floor:function(){return this.clone()._floor()},_floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this},ceil:function(){return this.clone()._ceil()},_ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this},trunc:function(){return this.clone()._trunc()},_trunc:function(){this.x=Ic(this.x);this.y=Ic(this.y);return this},
142distanceTo:function(a){a=n(a);var b=a.x-this.x;a=a.y-this.y;return Math.sqrt(b*b+a*a)},equals:function(a){a=n(a);return a.x===this.x&&a.y===this.y},contains:function(a){a=n(a);return Math.abs(a.x)<=Math.abs(this.x)&&Math.abs(a.y)<=Math.abs(this.y)},toString:function(){return"Point("+X(this.x)+", "+X(this.y)+")"}};D.prototype={extend:function(a){if(!a)return this;if(a instanceof p||"number"===typeof a[0]||"x"in a)var b=a=n(a);else if(a=O(a),b=a.min,a=a.max,!b||!a)return this;this.min||this.max?(this.min.x=
143Math.min(b.x,this.min.x),this.max.x=Math.max(a.x,this.max.x),this.min.y=Math.min(b.y,this.min.y),this.max.y=Math.max(a.y,this.max.y)):(this.min=b.clone(),this.max=a.clone());return this},getCenter:function(a){return n((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,a)},getBottomLeft:function(){return n(this.min.x,this.max.y)},getTopRight:function(){return n(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},
144contains:function(a){a="number"===typeof a[0]||a instanceof p?n(a):O(a);if(a instanceof D){var b=a.min;a=a.max}else b=a;return b.x>=this.min.x&&a.x<=this.max.x&&b.y>=this.min.y&&a.y<=this.max.y},intersects:function(a){a=O(a);var b=this.min,c=this.max,d=a.min;a=a.max;var e=a.y>=b.y&&d.y<=c.y;return a.x>=b.x&&d.x<=c.x&&e},overlaps:function(a){a=O(a);
144var b=this.min,c=this.max,d=a.min;a=a.max;var e=a.y>b.y&&d.y<c.y;return a.x>b.x&&d.x<c.x&&e},isValid:function(){return!(!this.min||!this.max)},pad:function(a){var b=
145this.min,c=this.max,d=Math.abs(b.x-c.x)*a;a*=Math.abs(b.y-c.y);return O(n(b.x-d,b.y-a),n(c.x+d,c.y+a))},equals:function(a){if(!a)return!1;a=O(a);return this.min.equals(a.getTopLeft())&&this.max.equals(a.getBottomRight())}};P.prototype={extend:function(a){var b=this._southWest,c=this._northEast;if(a instanceof z)var d=a;else if(a instanceof P){if(d=a._southWest,a=a._northEast,!d||!a)return this}else return a?this.extend(u(a)||I(a)):this;b||c?(b.lat=Math.min(d.lat,b.lat),b.lng=Math.min(d.lng,b.lng),
146c.lat=Math.max(a.lat,c.lat),c.lng=Math.max(a.lng,c.lng)):(this._southWest=new z(d.lat,d.lng),this._northEast=new z(a.lat,a.lng));return this},pad:function(a){var b=this._southWest,c=this._northEast,d=Math.abs(b.lat-c.lat)*a;a*=Math.abs(b.lng-c.lng);return new P(new z(b.lat-d,b.lng-a),new z(c.lat+d,c.lng+a))},getCenter:function(){return new z((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},
147getNorthWest:function(){return new z(this.getNorth(),this.getWest())},getSouthEast:function(){return new z(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(a){a="number"===typeof a[0]||a instanceof z||"lat"in a?u(a):I(a);var b=this._southWest,c=this._northEast;
147if(a instanceof P){var d=a.getSouthWest();a=a.getNorthEast()}else d=
148a;return d.lat>=b.lat&&a.lat<=c.lat&&d.lng>=b.lng&&a.lng<=c.lng},intersects:function(a){a=I(a);var b=this._southWest,c=this._northEast,d=a.getSouthWest();a=a.getNorthEast();var e=a.lng>=b.lng&&d.lng<=c.lng;return a.lat>=b.lat&&d.lat<=c.lat&&e},overlaps:function(a){a=I(a);var b=this._southWest,c=this._northEast,d=a.getSouthWest();a=a.getNorthEast();var e=a.lng>b.lng&&d.lng<c.lng;return a.lat>b.lat&&d.lat<c.lat&&e},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join()},
149equals:function(a,b){if(!a)return!1;a=I(a);return this._southWest.equals(a.getSouthWest(),b)&&this._northEast.equals(a.getNorthEast(),b)},isValid:function(){return!(!this._southWest||!this._northEast)}};z.prototype={equals:function(a,b){if(!a)return!1;a=u(a);return Math.max(Math.abs(this.lat-a.lat),Math.abs(this.lng-a.lng))<=(void 0===b?1E-9:b)},toString:function(a){return"LatLng("+X(this.lat,a)+", "+X(this.lng,a)+")"},distanceTo:function(a){return ka.distance(this,u(a))},wrap:function(){return ka.wrapLatLng(this)},
150toBounds:function(a){a=180*a/40075017;var b=a/Math.cos(Math.PI/180*this.lat);return I([this.lat-a,this.lng-b],[this.lat+a,this.lng+b])},clone:function(){return new z(this.lat,this.lng,this.alt)}};var ia={latLngToPoint:function(a,b){a=this.projection.project(a);b=this.scale(b);return this.transformation._transform(a,b)},pointToLatLng:function(a,b){b=this.scale(b);a=this.transformation.untransform(a,b);return this.projection.unproject(a)},project:function(a){return this.projection.project(a)},unproject:function(a){return this.projection.unproject(a)},
151scale:function(a){return 256*Math.pow(2,a)},zoom:function(a){return Math.log(a/256)/Math.LN2},getProjectedBounds:function(a){if(this.infinite)return null;var b=this.projection.bounds,c=this.scale(a);a=this.transformation.transform(b.min,c);b=this.transformation.transform(b.max,c);return new D(a,b)},infinite:!1,wrapLatLng:function(a){var b=this.wrapLng?Ca(a.lng,this.wrapLng,!0):a.lng,c=this.wrapLat?Ca(a.lat,this.wrapLat,!0):a.lat;return new z(c,b,a.alt)},wrapLatLngBounds:function(a){var b=a.getCenter(),
152c=this.wrapLatLng(b),d=b.lat-c.lat;b=b.lng-c.lng;if(0===d&&0===b)return a;
152c=a.getSouthWest();a=a.getNorthEast();c=new z(c.lat-d,c.lng-b);d=new z(a.lat-d,a.lng-b);return new P(c,d)}},ka=y({},ia,{wrapLng:[-180,180],R:6371E3,distance:function(a,b){var c=Math.PI/180,d=Math.sin((b.lat-a.lat)*c/2),e=Math.sin((b.lng-a.lng)*c/2);a=d*d+Math.cos(a.lat*c)*Math.cos(b.lat*c)*e*e;return 2*this.R*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))}}),Lb={R:6378137,MAX_LATITUDE:85.0511287798,project:function(a){var b=Math.PI/
153180,c=this.MAX_LATITUDE;c=Math.sin(Math.max(Math.min(c,a.lat),-c)*b);return new p(this.R*a.lng*b,this.R*Math.log((1+c)/(1-c))/2)},unproject:function(a){var b=180/Math.PI;return new z((2*Math.atan(Math.exp(a.y/this.R))-Math.PI/2)*b,a.x*b/this.R)},bounds:function(){var a=6378137*Math.PI;return new D([-a,-a],[a,a])}()};sb.prototype={transform:function(a,b){return this._transform(a.clone(),b)},_transform:function(a,b){b=b||1;a.x=b*(this._a*a.x+this._b);a.y=b*(this._c*a.y+this._d);return a},untransform:function(a,
154b){b=b||1;return new p((a.x/b-this._b)/this._a,(a.y/b-this._d)/this._c)}};var Mb=y({},ka,{code:"EPSG:3857",projection:Lb,transformation:function(){var a=.5/(Math.PI*Lb.R);return Da(a,.5,-a,.5)}()}),yd=y({},Mb,{code:"EPSG:900913"}),Nb=document.documentElement.style,db="ActiveXObject"in window,zd=db&&!document.addEventListener,Jc="msLaunchUri"in navigator&&!("documentMode"in document),Ob=Y("webkit"),Kc=Y("android"),Lc=Y("android 2")||Y("android 3"),Ad=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],
15510),Bd=Kc&&Y("Google")&&537>Ad&&!("AudioNode"in window),Pb=!!window.opera,Mc=!Jc&&Y("chrome"),Nc=Y("gecko")&&!Ob&&!Pb&&!db,Cd=!Mc&&Y("safari"),Oc=Y("phantom"),Pc="OTransition"in Nb,Dd=0===navigator.platform.indexOf("Win"),Qc=db&&"transition"in Nb,Qb="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!Lc,Rc="MozPerspective"in Nb,Ed=!window.L_DISABLE_3D&&(Qc||Qb||Rc)&&!Pc&&!Oc,Ka="undefined"!==typeof orientation||Y("mobile"),Fd=Ka&&Ob,Gd=Ka&&Qb,Sc=!window.PointerEvent&&window.MSPointerEvent,
156Tc=!(!window.PointerEvent&&!Sc),Uc="ontouchstart"in window||!!window.TouchEvent,Hd=!window.L_NO_TOUCH&&(Uc||Tc),Id=Ka&&Pb,Jd=Ka&&Nc,Kd=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Ld=function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});window.addEventListener("testPassiveEventSupport",H,b);window.removeEventListener("testPassiveEventSupport",H,b)}catch(c){}return a}(),Md=!!document.createElement("canvas").getContext,Rb=!(!document.createElementNS||
157!gc("svg").createSVGRect),Nd=!!Rb&&function(){var a=document.createElement("div");a.innerHTML="<svg/>";return"http://www.w3.org/2000/svg"===(a.firstChild&&a.firstChild.namespaceURI)}(),Od=!Rb&&function(){try{var a=document.createElement("div");a.innerHTML='<v:shape adj="1"/>';var b=a.firstChild;b.style.behavior="url(#default#VML)";return b&&"object"===typeof b.adj}catch(c){return!1}}(),Pd=0===navigator.platform.indexOf("Mac"),Qd=0===navigator.platform.indexOf("Linux"),m={ie:db,ielt9:zd,edge:Jc,webkit:Ob,
158android:Kc,android23:Lc,androidStock:Bd,opera:Pb,chrome:Mc,gecko:Nc,safari:Cd,phantom:Oc,opera12:Pc,win:Dd,ie3d:Qc,webkit3d:Qb,gecko3d:Rc,any3d:Ed,mobile:Ka,mobileWebkit:Fd,mobileWebkit3d:Gd,msPointer:Sc,pointer:Tc,touch:Hd,touchNative:Uc,mobileOpera:Id,mobileGecko:Jd,retina:Kd,passiveEvents:Ld,canvas:Md,svg:Rb,vml:Od,inlineSvg:Nd,mac:Pd,linux:Qd},jc=m.msPointer?"MSPointerDown":"pointerdown",kc=m.msPointer?"MSPointerMove":"pointermove",lc=m.msPointer?"MSPointerUp":"pointerup",nc=m.msPointer?"MSPointerCancel":
159"pointercancel",tb={touchstart:jc,touchmove:kc,touchend:lc,touchcancel:nc},oc={touchstart:function(a,b){b.MSPOINTER_TYPE_TOUCH&&b.pointerType===b.MSPOINTER_TYPE_TOUCH&&K(b);Ta(a,b)},touchmove:Ta,touchend:Ta,touchcancel:Ta},ua={},ic=!1,wb=Wa(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),La=Wa(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Vc="webkitTransition"===La||"OTransition"===La?La+"End":"transitionend",Sb;if("onselectstart"in document){var eb=
160function(){q(window,"selectstart",K)};var fb=function(){A(window,"selectstart",K)}}else{var Ma=Wa(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);eb=function(){if(Ma){var a=document.documentElement.style;Sb=a[Ma];a[Ma]="none"}};fb=function(){Ma&&(document.documentElement.style[Ma]=Sb,Sb=void 0)}}var Ya,Ab,Rd={__proto__:null,TRANSFORM:wb,TRANSITION:La,TRANSITION_END:Vc,get:qc,getStyle:Ea,create:x,remove:E,empty:Ua,toFront:va,toBack:wa,hasClass:ub,addClass:t,removeClass:G,
161setClass:vb,getClass:Va,setOpacity:S,testProp:Wa,setTransform:oa,setPosition:J,getPosition:pa,get disableTextSelection(){return eb},get enableTextSelection(){return fb},disableImageDrag:xb,enableImageDrag:yb,preventOutline:zb,restoreOutline:Xa,getSizedParentNode:rc,getScale:Bb}
161,Z="_leaflet_events",Eb={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"},wd=m.linux&&m.chrome?window.devicePixelRatio:m.mac?3*window.devicePixelRatio:0<window.devicePixelRatio?2*window.devicePixelRatio:
1621,Sd={__proto__:null,on:q,off:A,stopPropagation:qa,disableScrollPropagation:Gb,disableClickPropagation:Fa,preventDefault:K,stop:ra,getPropagationPath:pc,getMousePosition:tc,getWheelDelta:uc,isExternalTarget:Fb,addListener:q,removeListener:A},Wc=Ja.extend({run:function(a,b,c,d){this.stop();this._el=a;this._inProgress=!0;this._duration=c||.25;this._easeOutPower=1/Math.max(d||.5,.2);this._startPos=pa(a);this._offset=b.subtract(this._startPos);this._startTime=+new Date;this.fire("start");this._animate()},
163stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=N(this._animate,this);this._step()},_step:function(a){var b=+new Date-this._startTime,c=1E3*this._duration;b<c?this._runFrame(this._easeOut(b/c),a):(this._runFrame(1),this._complete())},_runFrame:function(a,b){a=this._startPos.add(this._offset.multiplyBy(a));b&&a._round();J(this._el,a);this.fire("step")},_complete:function(){R(this._animId);this._inProgress=!1;this.fire("end")},_easeOut:function(a){return 1-
164Math.pow(1-a,this._easeOutPower)}}),v=Ja.extend({options:{crs:Mb,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(a,b){b=C(this,b);this._handlers=[];this._layers={};this._zoomBoundLayers={};this._sizeChanged=!0;this._initContainer(a);this._initLayout();this._onResize=B(this._onResize,
165this);this._initEvents();b.maxBounds&&this.setMaxBounds(b.maxBounds);void 0!==b.zoom&&(this._zoom=this._limitZoom(b.zoom));b.center&&void 0!==b.zoom&&this.setView(u(b.center),b.zoom,{reset:!0});this.callInitHooks();if(this._zoomAnimated=La&&m.any3d&&!m.mobileOpera&&this.options.zoomAnimation)this._createAnimProxy(),q(this._proxy,Vc,this._catchTransitionEnd,this);this._addLayers(this.options.layers)},setView:function(a,b,c){b=void 0===b?this._zoom:this._limitZoom(b);a=this._limitCenter(u(a),b,this.options.maxBounds);
166c=c||{};this._stop();if(this._loaded&&!c.reset&&!0!==c&&(void 0!==c.animate&&(c.zoom=y({animate:c.animate},c.zoom),c.pan=y({animate:c.animate,duration:c.duration},c.pan)),this._zoom!==b?this._tryAnimatedZoom&&this._tryAnimatedZoom(a,b,c.zoom):this._tryAnimatedPan(a,c.pan)))return clearTimeout(this._sizeTimer),this;this._resetView(a,b,c.pan&&c.pan.noMoveStart);return this},setZoom:function(a,b){return this._loaded?this.setView(this.getCenter(),a,{zoom:b}):(this._zoom=a,this)},zoomIn:function(a,b){a=
167a||(m.any3d?this.options.zoomDelta:1);return this.setZoom(this._zoom+a,b)},zoomOut:function(a,b){a=a||(m.any3d?this.options.zoomDelta:1);return this.setZoom(this._zoom-a,b)},setZoomAround:function(a,b,c){var d=this.getZoomScale(b),e=this.getSize().divideBy(2);a=(a instanceof p?a:this.latLngToContainerPoint(a)).subtract(e).multiplyBy(1-1/d);e=this.containerPointToLatLng(e.add(a));return this.setView(e,b,{zoom:c})},_getBoundsCenterZoom:function(a,b){b=b||{};a=a.getBounds?a.getBounds():I(a);var c=n(b.paddingTopLeft||
168b.padding||[0,0]),d=n(b.paddingBottomRight||b.padding||[0,0]),e=this.getBoundsZoom(a,!1,c.add(d));e="number"===typeof b.maxZoom?Math.min(b.maxZoom,e):e;if(Infinity===e)return{center:a.getCenter(),zoom:e};b=d.subtract(c).divideBy(2);
168c=this.project(a.getSouthWest(),e);a=this.project(a.getNorthEast(),e);return{center:this.unproject(c.add(a).divideBy(2).add(b),e),zoom:e}},fitBounds:function(a,b){a=I(a);if(!a.isValid())throw Error("Bounds are not valid.");a=this._getBoundsCenterZoom(a,b);return this.setView(a.center,
169a.zoom,b)},fitWorld:function(a){return this.fitBounds([[-90,-180],[90,180]],a)},panTo:function(a,b){return this.setView(a,this._zoom,{pan:b})},panBy:function(a,b){a=n(a).round();b=b||{};if(!a.x&&!a.y)return this.fire("moveend");if(!0!==b.animate&&!this.getSize().contains(a))return this._resetView(this.unproject(this.project(this.getCenter()).add(a)),this.getZoom()),this;this._panAnim||(this._panAnim=new Wc,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this));b.noMoveStart||
170this.fire("movestart");!1!==b.animate?(t(this._mapPane,"leaflet-pan-anim"),a=this._getMapPanePos().subtract(a).round(),this._panAnim.run(this._mapPane,a,b.duration||.25,b.easeLinearity)):(this._rawPanBy(a),this.fire("move").fire("moveend"));return this},flyTo:function(a,b,c){function d(M){M=(aa*aa-F*F+2.0164*(M?-1:1)*2.0164*gb*gb)/(4.0328*(M?aa:F)*gb);M=Math.sqrt(M*M+1)-M;return 1E-9>M?-18:Math.log(M)}function e(M){return(Math.exp(M)+Math.exp(-M))/2}function f(){var M=(Date.now()-Td)/Ud,hb=(1-Math.pow(1-
171M,1.5))*Xc;if(1>=M){this._flyToFrame=N(f,this);M=this._move;var Tb=this.unproject,ib=g,Vd=ib.add,Yc=h.subtract(g),Wd=Yc.multiplyBy,Xd=e(ta);var Na=ta+1.42*hb;Na=(Math.exp(Na)-Math.exp(-Na))/2/e(Na);Tb=Tb.call(this,Vd.call(ib,Wd.call(Yc,F*(Xd*Na-(Math.exp(ta)-Math.exp(-ta))/2)/2.0164/gb)),r);ib=this.getScaleZoom;hb=F*(e(ta)/e(ta+1.42*hb));M.call(this,Tb,ib.call(this,F/hb,r),{flyTo:!0})}else this._move(a,b)._moveEnd(!0)}c=c||{};if(!1===c.animate||!m.any3d)return this.setView(a,b,c);this._stop();var g=
172this.project(this.getCenter()),h=this.project(a),l=this.getSize(),r=this._zoom;a=u(a);b=void 0===b?r:b;var F=Math.max(l.x,l.y),aa=F*this.getZoomScale(r,b),gb=h.distanceTo(g)||1,ta=d(0),Td=Date.now(),Xc=(d(1)-ta)/1.42,Ud=c.duration?1E3*c.duration:800*Xc;this._moveStart(!0,c.noMoveStart);f.call(this);return this},flyToBounds:function(a,b){a=this._getBoundsCenterZoom(a,b);return this.flyTo(a.center,a.zoom,b)},setMaxBounds:function(a){a=I(a);this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",
173this._panInsideMaxBounds);if(!a.isValid())return this.options.maxBounds=null,this;this.options.maxBounds=a;this._loaded&&this._panInsideMaxBounds();return this.on("moveend",this._panInsideMaxBounds)},setMinZoom:function(a){var b=this.options.minZoom;this.options.minZoom=a;return this._loaded&&b!==a&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(a):this},setMaxZoom:function(a){var b=this.options.maxZoom;this.options.maxZoom=a;return this._loaded&&b!==a&&(this.fire("zoomlevelschange"),
174this.getZoom()>this.options.maxZoom)?this.setZoom(a):this},panInsideBounds:function(a,b){this._enforcingBounds=!0;var c=this.getCenter();a=this._limitCenter(c,this._zoom,I(a));c.equals(a)||this.panTo(a,b);this._enforcingBounds=!1;return this},panInside:function(a,b){b=b||{};var c=n(b.paddingTopLeft||b.padding||[0,0]),d=n(b.paddingBottomRight||b.padding||[0,0]),e=this.project(this.getCenter());a=this.project(a);var f=this.getPixelBounds();d=O([f.min.add(c),f.max.subtract(d)]);f=d.getSize();d.contains(a)||
175(this._enforcingBounds=!0,c=a.subtract(d.getCenter()),a=d.extend(a).getSize().subtract(f),e.x+=0>c.x?-a.x:a.x,e.y+=0>c.y?-a.y:a.y,this.panTo(this.unproject(e),b),this._enforcingBounds=!1);return this},invalidateSize:function(a){if(!this._loaded)return this;a=y({animate:!1,pan:!0},!0===a?{animate:!0}:a);var b=this.getSize();this._sizeChanged=!0;this._lastCenter=null;var c=this.getSize(),d=b.divideBy(2).round(),e=c.divideBy(2).round();d=d.subtract(e);if(!d.x&&!d.y)return this;a.animate&&a.pan?this.panBy(d):
176(a.pan&&this._rawPanBy(d),this.fire("move"),a.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(B(this.fire,this,"moveend"),200)):this.fire("moveend"));return this.fire("resize",{oldSize:b,newSize:c})},stop:function(){this.setZoom(this._limitZoom(this._zoom));this.options.zoomSnap||this.fire("viewreset");return this._stop()},locate:function(a){a=this._locateOptions=y({timeout:1E4,watch:!1},a);if(!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),
177this;var b=B(this._handleGeolocationResponse,this),c=B(this._handleGeolocationError,this);a.watch?this._locationWatchId=navigator.geolocation.watchPosition(b,c,a):navigator.geolocation.getCurrentPosition(b,c,a);return this},stopLocate:function(){navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId);this._locateOptions&&(this._locateOptions.setView=!1);return this}
177,_handleGeolocationError:function(a){if(this._container._leaflet_id){var b=a.code;
178a=a.message||(1===b?"permission denied":2===b?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld();this.fire("locationerror",{code:b,message:"Geolocation error: "+a+"."})}},_handleGeolocationResponse:function(a){if(this._container._leaflet_id){var b=new z(a.coords.latitude,a.coords.longitude),c=b.toBounds(2*a.coords.accuracy),d=this._locateOptions;if(d.setView){var e=this.getBoundsZoom(c);this.setView(b,d.maxZoom?Math.min(e,d.maxZoom):e)}b={latlng:b,bounds:c,
179timestamp:a.timestamp};for(var f in a.coords)"number"===typeof a.coords[f]&&(b[f]=a.coords[f]);this.fire("locationfound",b)}},addHandler:function(a,b){if(!b)return this;b=this[a]=new b(this);this._handlers.push(b);this.options[a]&&b.enable();return this},remove:function(){this._initEvents(!0);this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds);if(this._containerId!==this._container._leaflet_id)throw Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,
180delete this._containerId}catch(b){this._containerId=this._container._leaflet_id=void 0}void 0!==this._locationWatchId&&this.stopLocate();this._stop();E(this._mapPane);this._clearControlPos&&this._clearControlPos();this._resizeRequest&&(R(this._resizeRequest),this._resizeRequest=null);this._clearHandlers();this._loaded&&this.fire("unload");for(var a in this._layers)this._layers[a].remove();for(a in this._panes)E(this._panes[a]);this._layers=[];this._panes=[];delete this._mapPane;delete this._renderer;
181return this},createPane:function(a,b){var c="leaflet-pane"+(a?" leaflet-"+a.replace("Pane","")+"-pane":"");b=x("div",c,b||this._mapPane);a&&(this._panes[a]=b);return b},getCenter:function(){this._checkIfLoaded();return this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var a=this.getPixelBounds(),b=this.unproject(a.getBottomLeft());a=this.unproject(a.getTopRight());return new P(b,
182a)},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?Infinity:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(a,b,c){a=I(a);c=n(c||[0,0]);var d=this.getZoom()||0,e=this.getMinZoom(),f=this.getMaxZoom(),g=a.getNorthWest();a=a.getSouthEast();c=this.getSize().subtract(c);var h=O(this.project(a,d),this.project(g,d)).getSize();g=m.any3d?this.options.zoomSnap:
1831;a=c.x/h.x;c=c.y/h.y;d=this.getScaleZoom(b?Math.max(a,c):Math.min(a,c),d);g&&(d=g/100*Math.round(d/(g/100)),d=b?Math.ceil(d/g)*g:Math.floor(d/g)*g);return Math.max(e,Math.min(f,d))},getSize:function(){if(!this._size||this._sizeChanged)this._size=new p(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1;return this._size.clone()},getPixelBounds:function(a,b){a=this._getTopLeftPoint(a,b);return new D(a,a.add(this.getSize()))},getPixelOrigin:function(){this._checkIfLoaded();
184return this._pixelOrigin},getPixelWorldBounds:function(a){return this.options.crs.getProjectedBounds(void 0===a?this.getZoom():a)},getPane:function(a){return"string"===typeof a?this._panes[a]:a},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(a,b){var c=this.options.crs;b=void 0===b?this._zoom:b;return c.scale(a)/c.scale(b)},getScaleZoom:function(a,b){var c=this.options.crs;b=void 0===b?this._zoom:b;a=c.zoom(a*c.scale(b));return isNaN(a)?
185Infinity:a},project:function(a,b){b=void 0===b?this._zoom:b;return this.options.crs.latLngToPoint(u(a),b)},unproject:function(a,b){b=void 0===b?this._zoom:b;return this.options.crs.pointToLatLng(n(a),b)},layerPointToLatLng:function(a){a=n(a).add(this.getPixelOrigin());return this.unproject(a)},latLngToLayerPoint:function(a){return this.project(u(a))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(a){return this.options.crs.wrapLatLng(u(a))},wrapLatLngBounds:function(a){return this.options.crs.wrapLatLngBounds(I(a))},
186distance:function(a,b){return this.options.crs.distance(u(a),u(b))},containerPointToLayerPoint:function(a){return n(a).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(a){return n(a).add(this._getMapPanePos())},containerPointToLatLng:function(a){a=this.containerPointToLayerPoint(n(a));
186return this.layerPointToLatLng(a)},latLngToContainerPoint:function(a){return this.layerPointToContainerPoint(this.latLngToLayerPoint(u(a)))},mouseEventToContainerPoint:function(a){return tc(a,this._container)},
187mouseEventToLayerPoint:function(a){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(a))},mouseEventToLatLng:function(a){return this.layerPointToLatLng(this.mouseEventToLayerPoint(a))},_initContainer:function(a){a=this._container=qc(a);if(!a)throw Error("Map container not found.");if(a._leaflet_id)throw Error("Map container is already initialized.");q(a,"scroll",this._onScroll,this);this._containerId=w(a)},_initLayout:function(){var a=this._container;this._fadeAnimated=this.options.fadeAnimation&&
188m.any3d;t(a,"leaflet-container"+(m.touch?" leaflet-touch":"")+(m.retina?" leaflet-retina":"")+(m.ielt9?" leaflet-oldie":"")+(m.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var b=Ea(a,"position");"absolute"!==b&&"relative"!==b&&"fixed"!==b&&"sticky"!==b&&(a.style.position="relative");this._initPanes();this._initControlPos&&this._initControlPos()},_initPanes:function(){var a=this._panes={};this._paneRenderers={};this._mapPane=this.createPane("mapPane",this._container);
189J(this._mapPane,new p(0,0));this.createPane("tilePane");this.createPane("overlayPane");this.createPane("shadowPane");this.createPane("markerPane");this.createPane("tooltipPane");this.createPane("popupPane");this.options.markerZoomAnimation||(t(a.markerPane,"leaflet-zoom-hide"),t(a.shadowPane,"leaflet-zoom-hide"))},_resetView:function(a,b,c){J(this._mapPane,new p(0,0));var d=!this._loaded;this._loaded=!0;b=this._limitZoom(b);this.fire("viewprereset");var e=this._zoom!==b;this._moveStart(e,c)._move(a,
190b)._moveEnd(e);this.fire("viewreset");d&&this.fire("load")},_moveStart:function(a,b){a&&this.fire("zoomstart");b||this.fire("movestart");return this},_move:function(a,b,c,d){void 0===b&&(b=this._zoom);var e=this._zoom!==b;this._zoom=b;this._lastCenter=a;this._pixelOrigin=this._getNewPixelOrigin(a);d?c&&c.pinch&&this.fire("zoom",c):((e||c&&c.pinch)&&this.fire("zoom",c),this.fire("move",c));return this},_moveEnd:function(a){a&&this.fire("zoomend");return this.fire("moveend")},_stop:function(){R(this._flyToFrame);
191this._panAnim&&this._panAnim.stop();return this},_rawPanBy:function(a){J(this._mapPane,this._getMapPanePos().subtract(a))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw Error("Set map center and zoom first.");},_initEvents:function(a){this._targets={};this._targets[w(this._container)]=this;var b=a?A:q;b(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",
192this._handleDOMEvent,this);this.options.trackResize&&b(window,"resize",this._onResize,this);m.any3d&&this.options.transform3DLimit&&(a?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){R(this._resizeRequest);this._resizeRequest=N(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0;this._container.scrollLeft=0},_onMoveEnd:function(){var a=this._getMapPanePos();Math.max(Math.abs(a.x),Math.abs(a.y))>=this.options.transform3DLimit&&
193this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(a,b){for(var c=[],d,e="mouseout"===b||"mouseover"===b,f=a.target||a.srcElement,g=!1;f;){if((d=this._targets[w(f)])&&("click"===b||"preclick"===b)&&this._draggableMoved(d)){g=!0;break}if(d&&d.listens(b,!0)){if(e&&!Fb(f,a))break;c.push(d);if(e)break}if(f===this._container)break;f=f.parentNode}c.length||g||e||!this.listens(b,!0)||(c=[this]);return c},_isClickDisabled:function(a){for(;a&&a!==this._container;){if(a._leaflet_disable_click)return!0;
194a=a.parentNode}},_handleDOMEvent:function(a){var b=a.target||a.srcElement;if(!(!this._loaded||b._leaflet_disable_events||"click"===a.type&&this._isClickDisabled(b))){var c=a.type;"mousedown"===c&&zb(b);this._fireDOMEvent(a,c)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(a,b,c){if("click"===a.type){var d=y({},a);d.type="preclick";this._fireDOMEvent(d,d.type,c)}d=this._findEventTargets(a,b);if(c){for(var e=[],f=0;f<c.length;f++)c[f].listens(b,!0)&&
195e.push(c[f]);d=e.concat(d)}if(d.length)for("contextmenu"===b&&K(a),f=d[0],c={originalEvent:a}
195,"keypress"!==a.type&&"keydown"!==a.type&&"keyup"!==a.type&&(e=f.getLatLng&&(!f._radius||10>=f._radius),c.containerPoint=e?this.latLngToContainerPoint(f.getLatLng()):this.mouseEventToContainerPoint(a),c.layerPoint=this.containerPointToLayerPoint(c.containerPoint),c.latlng=e?f.getLatLng():this.layerPointToLatLng(c.layerPoint)),f=0;f<d.length&&!(d[f].fire(b,c,!0),c.originalEvent._stopped||!1===d[f].options.bubblingMouseEvents&&
196-1!==pb(this._mouseEvents,b));f++);},_draggableMoved:function(a){a=a.dragging&&a.dragging.enabled()?a:this;return a.dragging&&a.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var a=0,b=this._handlers.length;a<b;a++)this._handlers[a].disable()},whenReady:function(a,b){if(this._loaded)a.call(b||this,{target:this});else this.on("load",a,b);return this},_getMapPanePos:function(){return pa(this._mapPane)||new p(0,0)},_moved:function(){var a=this._getMapPanePos();return a&&
197!a.equals([0,0])},_getTopLeftPoint:function(a,b){return(a&&void 0!==b?this._getNewPixelOrigin(a,b):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(a,b){var c=this.getSize()._divideBy(2);return this.project(a,b)._subtract(c)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(a,b,c){c=this._getNewPixelOrigin(c,b);return this.project(a,b)._subtract(c)},_latLngBoundsToNewLayerBounds:function(a,b,c){c=this._getNewPixelOrigin(c,b);
197return O([this.project(a.getSouthWest(),
198b)._subtract(c),this.project(a.getNorthWest(),b)._subtract(c),this.project(a.getSouthEast(),b)._subtract(c),this.project(a.getNorthEast(),b)._subtract(c)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(a){return this.latLngToLayerPoint(a).subtract(this._getCenterLayerPoint())},_limitCenter:function(a,b,c){if(!c)return a;var d=this.project(a,b),e=this.getSize().divideBy(2);e=new D(d.subtract(e),d.add(e));c=this._getBoundsOffset(e,
199c,b);return 1>=Math.abs(c.x)&&1>=Math.abs(c.y)?a:this.unproject(d.add(c),b)},_limitOffset:function(a,b){if(!b)return a;var c=this.getPixelBounds();c=new D(c.min.add(a),c.max.add(a));return a.add(this._getBoundsOffset(c,b))},_getBoundsOffset:function(a,b,c){c=O(this.project(b.getNorthEast(),c),this.project(b.getSouthWest(),c));b=c.min.subtract(a.min);c=c.max.subtract(a.max);a=this._rebound(b.x,-c.x);b=this._rebound(b.y,-c.y);return new p(a,b)},_rebound:function(a,b){return 0<a+b?Math.round(a-b)/2:
200Math.max(0,Math.ceil(a))-Math.max(0,Math.floor(b))},_limitZoom:function(a){var b=this.getMinZoom(),c=this.getMaxZoom(),d=m.any3d?this.options.zoomSnap:1;d&&(a=Math.round(a/d)*d);return Math.max(b,Math.min(c,a))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){G(this._mapPane,"leaflet-pan-anim");this.fire("moveend")},_tryAnimatedPan:function(a,b){a=this._getCenterOffset(a)._trunc();if(!0!==(b&&b.animate)&&!this.getSize().contains(a))return!1;this.panBy(a,b);return!0},
201_createAnimProxy:function(){var a=this._proxy=x("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(a);this.on("zoomanim",function(b){var c=wb,d=this._proxy.style[c];oa(this._proxy,this.project(b.center,b.zoom),this.getZoomScale(b.zoom,1));d===this._proxy.style[c]&&this._animatingZoom&&this._onZoomTransitionEnd()},this);this.on("load moveend",this._animMoveEnd,this);this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){E(this._proxy);this.off("load moveend",
202this._animMoveEnd,this);delete this._proxy},_animMoveEnd:function(){var a=this.getCenter(),b=this.getZoom();oa(this._proxy,this.project(a,b),this.getZoomScale(b,1))},_catchTransitionEnd:function(a){this._animatingZoom&&0<=a.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(a,b,c){if(this._animatingZoom)return!0;c=c||{};if(!this._zoomAnimated||!1===c.animate||
203this._nothingToAnimate()||Math.abs(b-this._zoom)>this.options.zoomAnimationThreshold)return!1;var d=this.getZoomScale(b);d=this._getCenterOffset(a)._divideBy(1-1/d);if(!0!==c.animate&&!this.getSize().contains(d))return!1;N(function(){this._moveStart(!0,c.noMoveStart||!1)._animateZoom(a,b,!0)},this);return!0},_animateZoom:function(a,b,c,d){this._mapPane&&(c&&(this._animatingZoom=!0,this._animateToCenter=a,this._animateToZoom=b,t(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:a,zoom:b,
204noUpdate:d}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(B(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&G(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))}}),
205V=da.extend({options:{position:"topright"},initialize:function(a){C(this,a)},getPosition:function(){return this.options.position},setPosition:function(a){var b=this._map;b&&b.removeControl(this);this.options.position=a;b&&b.addControl(this);return this},getContainer:function(){return this._container},addTo:function(a){this.remove();this._map=a;var b=this._container=this.onAdd(a),c=this.getPosition();a=a._controlCorners[c];t(b,"leaflet-control");-1!==c.indexOf("bottom")?a.insertBefore(b,a.firstChild):
206a.appendChild(b);this._map.on("unload",this.remove,this);return this},remove:function(){if(!this._map)return this;E(this._container);if(this.onRemove)this.onRemove(this._map);this._map.off("unload",this.remove,this);this._map=null;return this},_refocusOnMap:function(a){this._map&&a&&0<a.screenX&&0<a.screenY&&this._map.getContainer().focus()}}),Oa=function(a){return new V(a)};v.include({addControl:function(a){a.addTo(this);return this},removeControl:function(a){a.remove();return this}
206,_initControlPos:function(){function a(d,
207e){b[d+e]=x("div","leaflet-"+d+" leaflet-"+e,c)}var b=this._controlCorners={},c=this._controlContainer=x("div","leaflet-control-container",this._container);a("top","left");a("top","right");a("bottom","left");a("bottom","right")},_clearControlPos:function(){for(var a in this._controlCorners)E(this._controlCorners[a]);E(this._controlContainer);delete this._controlCorners;delete this._controlContainer}});var Zc=V.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,
208sortFunction:function(a,b,c,d){return c<d?-1:d<c?1:0}},initialize:function(a,b,c){C(this,c);this._layerControlInputs=[];this._layers=[];this._lastZIndex=0;this._preventClick=this._handlingClick=!1;for(var d in a)this._addLayer(a[d],d);for(d in b)this._addLayer(b[d],d,!0)},onAdd:function(a){this._initLayout();this._update();this._map=a;a.on("zoomend",this._checkDisabledLayers,this);for(a=0;a<this._layers.length;a++)this._layers[a].layer.on("add remove",this._onLayerChange,this);return this._container},
209addTo:function(a){V.prototype.addTo.call(this,a);return this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var a=0;a<this._layers.length;a++)this._layers[a].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(a,b){this._addLayer(a,b);return this._map?this._update():this},addOverlay:function(a,b){this._addLayer(a,b,!0);return this._map?this._update():this},removeLayer:function(a){a.off("add remove",this._onLayerChange,this);
210(a=this._getLayer(w(a)))&&this._layers.splice(this._layers.indexOf(a),1);return this._map?this._update():this},expand:function(){t(this._container,"leaflet-control-layers-expanded");this._section.style.height=null;var a=this._map.getSize().y-(this._container.offsetTop+50);a<this._section.clientHeight?(t(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=a+"px"):G(this._section,"leaflet-control-layers-scrollbar");this._checkDisabledLayers();return this},collapse:function(){G(this._container,
211"leaflet-control-layers-expanded");return this},_initLayout:function(){var a=this._container=x("div","leaflet-control-layers"),b=this.options.collapsed;a.setAttribute("aria-haspopup",!0);Fa(a);Gb(a);var c=this._section=x("section","leaflet-control-layers-list");b&&(this._map.on("click",this.collapse,this),q(a,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var d=this._layersLink=x("a","leaflet-control-layers-toggle",a);d.href="#";d.title="Layers";d.setAttribute("role","button");q(d,
212{keydown:function(e){13===e.keyCode&&this._expandSafely()},click:function(e){K(e);this._expandSafely()}},this);b||this.expand();this._baseLayersList=x("div","leaflet-control-layers-base",c);this._separator=x("div","leaflet-control-layers-separator",c);this._overlaysList=x("div","leaflet-control-layers-overlays",c);a.appendChild(c)},_getLayer:function(a){for(var b=0;b<this._layers.length;b++)if(this._layers[b]&&w(this._layers[b].layer)===a)return this._layers[b]},_addLayer:function(a,b,c){if(this._map)a.on("add remove",
213this._onLayerChange,this);this._layers.push({layer:a,name:b,overlay:c});this.options.sortLayers&&this._layers.sort(B(function(d,e){return this.options.sortFunction(d.layer,e.layer,d.name,e.name)},this));this.options.autoZIndex&&a.setZIndex&&(this._lastZIndex++,a.setZIndex(this._lastZIndex));this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Ua(this._baseLayersList);Ua(this._overlaysList);this._layerControlInputs=[];var a,b=0;for(a=0;a<this._layers.length;a++){var c=this._layers[a];
214this._addItem(c);var d=d||c.overlay;var e=e||!c.overlay;b+=c.overlay?0:1}this.options.hideSingleBase&&(e=e&&1<b,this._baseLayersList.style.display=e?"":"none");this._separator.style.display=d&&e?"":"none";return this},_onLayerChange:function(a){this._handlingClick||this._update();var b=this._getLayer(w(a.target));(a=b.overlay?"add"===a.type?"overlayadd":"overlayremove":"add"===a.type?"baselayerchange":null)&&this._map.fire(a,b)},_createRadioElement:function(a,b){a='<input type="radio" class="leaflet-control-layers-selector" name="'+
215a+'"'+(b?' checked="checked"':"")+"/>";b=document.createElement("div");b.innerHTML=a;
215return b.firstChild},_addItem:function(a){var b=document.createElement("label"),c=this._map.hasLayer(a.layer);if(a.overlay){var d=document.createElement("input");d.type="checkbox";d.className="leaflet-control-layers-selector";d.defaultChecked=c}else d=this._createRadioElement("leaflet-base-layers_"+w(this),c);this._layerControlInputs.push(d);d.layerId=w(a.layer);q(d,"click",this._onInputClick,this);c=document.createElement("span");
216c.innerHTML=" "+a.name;var e=document.createElement("span");b.appendChild(e);e.appendChild(d);e.appendChild(c);(a.overlay?this._overlaysList:this._baseLayersList).appendChild(b);this._checkDisabledLayers();return b},_onInputClick:function(){if(!this._preventClick){var a=this._layerControlInputs,b=[],c=[];this._handlingClick=!0;for(var d=a.length-1;0<=d;d--){var e=a[d];var f=this._getLayer(e.layerId).layer;e.checked?b.push(f):e.checked||c.push(f)}for(d=0;d<c.length;d++)this._map.hasLayer(c[d])&&this._map.removeLayer(c[d]);
217for(d=0;d<b.length;d++)this._map.hasLayer(b[d])||this._map.addLayer(b[d]);this._handlingClick=!1;this._refocusOnMap()}},_checkDisabledLayers:function(){for(var a=this._layerControlInputs,b,c,d=this._map.getZoom(),e=a.length-1;0<=e;e--)b=a[e],c=this._getLayer(b.layerId).layer,b.disabled=void 0!==c.options.minZoom&&d<c.options.minZoom||void 0!==c.options.maxZoom&&d>c.options.maxZoom},_expandIfNotCollapsed:function(){this._map&&!this.options.collapsed&&this.expand();return this},_expandSafely:function(){var a=
218this._section;this._preventClick=!0;q(a,"click",K);this.expand();var b=this;setTimeout(function(){A(a,"click",K);b._preventClick=!1})}}),Ub=V.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(a){var b=x("div","leaflet-control-zoom leaflet-bar"),c=this.options;this._zoomInButton=this._createButton(c.zoomInText,c.zoomInTitle,"leaflet-control-zoom-in",
219b,this._zoomIn);this._zoomOutButton=this._createButton(c.zoomOutText,c.zoomOutTitle,"leaflet-control-zoom-out",b,this._zoomOut);this._updateDisabled();a.on("zoomend zoomlevelschange",this._updateDisabled,this);return b},onRemove:function(a){a.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){this._disabled=!0;this._updateDisabled();return this},enable:function(){this._disabled=!1;this._updateDisabled();return this},_zoomIn:function(a){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&
220this._map.zoomIn(this._map.options.zoomDelta*(a.shiftKey?3:1))},_zoomOut:function(a){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(a.shiftKey?3:1))},_createButton:function(a,b,c,d,e){c=x("a",c,d);c.innerHTML=a;c.href="#";c.title=b;c.setAttribute("role","button");c.setAttribute("aria-label",b);Fa(c);q(c,"click",ra);q(c,"click",e,this);q(c,"click",this._refocusOnMap,this);return c},_updateDisabled:function(){var a=this._map;G(this._zoomInButton,
221"leaflet-disabled");G(this._zoomOutButton,"leaflet-disabled");this._zoomInButton.setAttribute("aria-disabled","false");this._zoomOutButton.setAttribute("aria-disabled","false");if(this._disabled||a._zoom===a.getMinZoom())t(this._zoomOutButton,"leaflet-disabled"),this._zoomOutButton.setAttribute("aria-disabled","true");if(this._disabled||a._zoom===a.getMaxZoom())t(this._zoomInButton,"leaflet-disabled"),this._zoomInButton.setAttribute("aria-disabled","true")}});v.mergeOptions({zoomControl:!0});v.addInitHook(function(){this.options.zoomControl&&
222(this.zoomControl=new Ub,this.addControl(this.zoomControl))});var $c=V.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(a){var b=x("div","leaflet-control-scale"),c=this.options;this._addScales(c,"leaflet-control-scale-line",b);a.on(c.updateWhenIdle?"moveend":"move",this._update,this);a.whenReady(this._update,this);return b},onRemove:function(a){a.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(a,b,c){a.metric&&(this._mScale=
223x("div",b,c));a.imperial&&(this._iScale=x("div",b,c))},_update:function(){var a=this._map,b=a.getSize().y/2;a=a.distance(a.containerPointToLatLng([0,b]),a.containerPointToLatLng([this.options.maxWidth,b]));this._updateScales(a)},_updateScales:function(a){this.options.metric&&a&&this._updateMetric(a);this.options.imperial&&a&&this._updateImperial(a)},_updateMetric:function(a){var b=this._getRoundNum(a);this._updateScale(this._mScale,1E3>b?b+" m":b/1E3+" km",b/a)},_updateImperial:function(a){a*=3.2808399;
224if(5280<a){a/=5280;var b=this._getRoundNum(a);this._updateScale(this._iScale,b+" mi",b/a)}else b=this._getRoundNum(a),this._updateScale(this._iScale,b+" ft",b/a)},_updateScale:function(a,b,c){a.style.width=Math.round(this.options.maxWidth*c)+"px";a.innerHTML=b},_getRoundNum:function(a){var b=Math.pow(10,(Math.floor(a)+"").length-1);a/=b;return b*(10<=a?10:5<=a?5:3<=a?3:2<=a?2:1)}}),Vb=V.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+
225(m.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(a){C(this,a);this._attributions={}}
225,onAdd:function(a){a.attributionControl=this;this._container=x("div","leaflet-control-attribution");Fa(this._container);for(var b in a._layers)a._layers[b].getAttribution&&
226this.addAttribution(a._layers[b].getAttribution());this._update();a.on("layeradd",this._addAttribution,this);return this._container},onRemove:function(a){a.off("layeradd",this._addAttribution,this)},_addAttribution:function(a){a.layer.getAttribution&&(this.addAttribution(a.layer.getAttribution()),a.layer.once("remove",function(){this.removeAttribution(a.layer.getAttribution())},this))},setPrefix:function(a){this.options.prefix=a;this._update();return this},addAttribution:function(a){if(!a)return this;
227this._attributions[a]||(this._attributions[a]=0);this._attributions[a]++;this._update();return this},removeAttribution:function(a){if(!a)return this;this._attributions[a]&&(this._attributions[a]--,this._update());return this},_update:function(){if(this._map){var a=[];for(b in this._attributions)this._attributions[b]&&a.push(b);var b=[];this.options.prefix&&b.push(this.options.prefix);a.length&&b.push(a.join(", "));this._container.innerHTML=b.join(' <span aria-hidden="true">|</span> ')}}});v.mergeOptions({attributionControl:!0});
228v.addInitHook(function(){this.options.attributionControl&&(new Vb).addTo(this)});V.Layers=Zc;V.Zoom=Ub;V.Scale=$c;V.Attribution=Vb;Oa.layers=function(a,b,c){return new Zc(a,b,c)};Oa.zoom=function(a){return new Ub(a)};Oa.scale=function(a){return new $c(a)};Oa.attribution=function(a){return new Vb(a)};var ba=da.extend({initialize:function(a){this._map=a},enable:function(){if(this._enabled)return this;this._enabled=!0;this.addHooks();return this},disable:function(){if(!this._enabled)return this;this._enabled=
229!1;this.removeHooks();return this},enabled:function(){return!!this._enabled}});ba.addTo=function(a,b){a.addHandler(b,this);return this};var Yd={Events:Q},ad=m.touch?"touchstart mousedown":"mousedown",la=Ja.extend({options:{clickTolerance:3},initialize:function(a,b,c,d){C(this,d);this._element=a;this._dragStartTarget=b||a;this._preventOutline=c},enable:function(){this._enabled||(q(this._dragStartTarget,ad,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(la._dragging===this&&
230this.finishDrag(!0),A(this._dragStartTarget,ad,this._onDown,this),this._moved=this._enabled=!1)},_onDown:function(a){if(this._enabled&&(this._moved=!1,!ub(this._element,"leaflet-zoom-anim")))if(a.touches&&1!==a.touches.length)la._dragging===this&&this.finishDrag();else if(!(la._dragging||a.shiftKey||1!==a.which&&1!==a.button&&!a.touches||(la._dragging=this,this._preventOutline&&zb(this._element),xb(),eb(),this._moving))){this.fire("down");var b=a.touches?a.touches[0]:a,c=rc(this._element);this._startPoint=
231new p(b.clientX,b.clientY);this._startPos=pa(this._element);this._parentScale=Bb(c);a="mousedown"===a.type;q(document,a?"mousemove":"touchmove",this._onMove,this);q(document,a?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(a){if(this._enabled)if(a.touches&&1<a.touches.length)this._moved=!0;else{var b=a.touches&&1===a.touches.length?a.touches[0]:a;b=(new p(b.clientX,b.clientY))._subtract(this._startPoint);!b.x&&!b.y||Math.abs(b.x)+Math.abs(b.y)<this.options.clickTolerance||(b.x/=
232this._parentScale.x,b.y/=this._parentScale.y,K(a),this._moved||(this.fire("dragstart"),this._moved=!0,t(document.body,"leaflet-dragging"),this._lastTarget=a.target||a.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),t(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(b),this._moving=!0,this._lastEvent=a,this._updatePosition())}},_updatePosition:function(){var a={originalEvent:this._lastEvent};
233this.fire("predrag",a);J(this._element,this._newPos);this.fire("drag",a)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(a){G(document.body,"leaflet-dragging");this._lastTarget&&(G(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null);A(document,"mousemove touchmove",this._onMove,this);A(document,"mouseup touchend touchcancel",this._onUp,this);yb();fb();var b=this._moved&&this._moving;this._moving=!1;la._dragging=!1;b&&this.fire("dragend",{noInertia:a,distance:this._newPos.distanceTo(this._startPos)})}}),
234Zd={__proto__:null,clipPolygon:vc,polygonCenter:wc,centroid:Hb},Ac,$d={__proto__:null,simplify:xc,pointToSegmentDistance:yc,closestPointOnSegment:function(a,b,c){return Ga(a,b,c)},clipSegment:zc,_getEdgeIntersection:Za,_getBitCode:sa,_sqClosestPointOnSegment:Ga,isFlat:T,_flat:Bc,polylineCenter:Cc},Wb={project:function(a){return new p(a.lng,a.lat)},unproject:function(a){return new z(a.y,a.x)},bounds:new D([-180,-90],[180,90])},Xb={R:6378137,R_MINOR:6356752.314245179,bounds:new D([-2.003750834279E7,
235-1.549657073972E7],[2.003750834279E7,1.876465623138E7]),project:function(a){var b=Math.PI/180,c=this.R,d=a.lat*b,e=this.R_MINOR/c;e=Math.sqrt(1-e*e);var f=e*Math.sin(d);
235d=-c*Math.log(Math.max(Math.tan(Math.PI/4-d/2)/Math.pow((1-f)/(1+f),e/2),1E-10));return new p(a.lng*b*c,d)},unproject:function(a){var b=180/Math.PI,c=this.R,d=this.R_MINOR/c;d=Math.sqrt(1-d*d);for(var e=Math.exp(-a.y/c),f=Math.PI/2-2*Math.atan(e),g=0,h=.1;15>g&&1E-7<Math.abs(h);g++)h=d*Math.sin(f),h=Math.pow((1-h)/(1+h),d/2),h=Math.PI/
2362-2*Math.atan(e*h)-f,f+=h;return new z(f*b,a.x*b/c)}},ae={__proto__:null,LonLat:Wb,Mercator:Xb,SphericalMercator:Lb},be=y({},ka,{code:"EPSG:3395",projection:Xb,transformation:function(){var a=.5/(Math.PI*Xb.R);return Da(a,.5,-a,.5)}()}),bd=y({},ka,{code:"EPSG:4326",projection:Wb,transformation:Da(1/180,1,-1/180,.5)}),ce=y({},ia,{projection:Wb,transformation:Da(1,0,-1,0),scale:function(a){return Math.pow(2,a)},zoom:function(a){return Math.log(a)/Math.LN2},distance:function(a,b){var c=b.lng-a.lng;a=
237b.lat-a.lat;return Math.sqrt(c*c+a*a)},infinite:!0});ia.Earth=ka;ia.EPSG3395=be;ia.EPSG3857=Mb;ia.EPSG900913=yd;ia.EPSG4326=bd;ia.Simple=ce;var W=Ja.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(a){a.addLayer(this);return this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(a){a&&a.removeLayer(this);return this},getPane:function(a){return this._map.getPane(a?this.options[a]||a:this.options.pane)},addInteractiveTarget:function(a){this._map._targets[w(a)]=
238this;return this},removeInteractiveTarget:function(a){delete this._map._targets[w(a)];return this},getAttribution:function(){return this.options.attribution},_layerAdd:function(a){var b=a.target;if(b.hasLayer(this)){this._map=b;this._zoomAnimated=b._zoomAnimated;if(this.getEvents){var c=this.getEvents();b.on(c,this);this.once("remove",function(){b.off(c,this)},this)}this.onAdd(b);this.fire("add");b.fire("layeradd",{layer:this})}}});v.include({addLayer:function(a){if(!a._layerAdd)throw Error("The provided object is not a Layer.");
239var b=w(a);if(this._layers[b])return this;this._layers[b]=a;a._mapToAdd=this;a.beforeAdd&&a.beforeAdd(this);this.whenReady(a._layerAdd,a);return this},removeLayer:function(a){var b=w(a);if(!this._layers[b])return this;if(this._loaded)a.onRemove(this);delete this._layers[b];this._loaded&&(this.fire("layerremove",{layer:a}),a.fire("remove"));a._map=a._mapToAdd=null;return this},hasLayer:function(a){return w(a)in this._layers},eachLayer:function(a,b){for(var c in this._layers)a.call(b,this._layers[c]);
240return this},_addLayers:function(a){a=a?U(a)?a:[a]:[];for(var b=0,c=a.length;b<c;b++)this.addLayer(a[b])},_addZoomLimit:function(a){isNaN(a.options.maxZoom)&&isNaN(a.options.minZoom)||(this._zoomBoundLayers[w(a)]=a,this._updateZoomLevels())},_removeZoomLimit:function(a){a=w(a);this._zoomBoundLayers[a]&&(delete this._zoomBoundLayers[a],this._updateZoomLevels())},_updateZoomLevels:function(){var a=Infinity,b=-Infinity,c=this._getZoomSpan(),d;for(d in this._zoomBoundLayers){var e=this._zoomBoundLayers[d].options;
241a=void 0===e.minZoom?a:Math.min(a,e.minZoom);b=void 0===e.maxZoom?b:Math.max(b,e.maxZoom)}this._layersMaxZoom=-Infinity===b?void 0:b;this._layersMinZoom=Infinity===a?void 0:a;c!==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 Aa=W.extend({initialize:function(a,
242b){C(this,b);this._layers={};var c;if(a)for(b=0,c=a.length;b<c;b++)this.addLayer(a[b])},addLayer:function(a){var b=this.getLayerId(a);this._layers[b]=a;this._map&&this._map.addLayer(a);return this},removeLayer:function(a){a=a in this._layers?a:this.getLayerId(a);this._map&&this._layers[a]&&this._map.removeLayer(this._layers[a]);delete this._layers[a];return this},hasLayer:function(a){return("number"===typeof a?a:this.getLayerId(a))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,
243this)},invoke:function(a){var b=Array.prototype.slice.call(arguments,1),c;for(c in this._layers){var d=this._layers[c];d[a]&&d[a].apply(d,b)}return this},onAdd:function(a){this.eachLayer(a.addLayer,a)},onRemove:function(a){this.eachLayer(a.removeLayer,a)},eachLayer:function(a,b){for(var c in this._layers)a.call(b,this._layers[c]);return this},getLayer:function(a){return this._layers[a]},getLayers:function(){var a=[];this.eachLayer(a.push,a);return a},setZIndex:function(a){return this.invoke("setZIndex",
244a)},getLayerId:function(a){return w(a)}}
244),ea=Aa.extend({addLayer:function(a){if(this.hasLayer(a))return this;a.addEventParent(this);Aa.prototype.addLayer.call(this,a);return this.fire("layeradd",{layer:a})},removeLayer:function(a){if(!this.hasLayer(a))return this;a in this._layers&&(a=this._layers[a]);a.removeEventParent(this);Aa.prototype.removeLayer.call(this,a);return this.fire("layerremove",{layer:a})},setStyle:function(a){return this.invoke("setStyle",a)},bringToFront:function(){return this.invoke("bringToFront")},
245bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var a=new P,b;for(b in this._layers){var c=this._layers[b];a.extend(c.getBounds?c.getBounds():c.getLatLng())}return a}}),Ba=da.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(a){C(this,a)},createIcon:function(a){return this._createIcon("icon",a)},createShadow:function(a){return this._createIcon("shadow",a)},_createIcon:function(a,b){var c=this._getIconUrl(a);if(!c){if("icon"===
246a)throw Error("iconUrl not set in Icon options (see the docs).");return null}b=this._createImg(c,b&&"IMG"===b.tagName?b:null);this._setIconStyles(b,a);if(this.options.crossOrigin||""===this.options.crossOrigin)b.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin;return b},_setIconStyles:function(a,b){var c=this.options,d=c[b+"Size"];"number"===typeof d&&(d=[d,d]);d=n(d);var e=n("shadow"===b&&c.shadowAnchor||c.iconAnchor||d&&d.divideBy(2,!0));a.className="leaflet-marker-"+b+" "+
247(c.className||"");e&&(a.style.marginLeft=-e.x+"px",a.style.marginTop=-e.y+"px");d&&(a.style.width=d.x+"px",a.style.height=d.y+"px")},_createImg:function(a,b){b=b||document.createElement("img");b.src=a;return b},_getIconUrl:function(a){return m.retina&&this.options[a+"RetinaUrl"]||this.options[a+"Url"]}}),Pa=Ba.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,
24841]},_getIconUrl:function(a){"string"!==typeof Pa.imagePath&&(Pa.imagePath=this._detectIconPath());return(this.options.imagePath||Pa.imagePath)+Ba.prototype._getIconUrl.call(this,a)},_stripUrl:function(a){a=(a=/^url\((['"])?(.+)\1\)$/.exec(a))&&a[2];var b;if(b=a)b=(a=/^(.*)marker-icon\.png$/.exec(a))&&a[1];return b},_detectIconPath:function(){var a=x("div","leaflet-default-icon-path",document.body),b=Ea(a,"background-image")||Ea(a,"backgroundImage");document.body.removeChild(a);return(b=this._stripUrl(b))?
249b:(a=document.querySelector('link[href$="leaflet.css"]'))?a.href.substring(0,a.href.length-11-1):""}}),cd=ba.extend({initialize:function(a){this._marker=a},addHooks:function(){var a=this._marker._icon;this._draggable||(this._draggable=new la(a,a,!0));this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable();t(a,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,
250drag:this._onDrag,dragend:this._onDragEnd},this).disable();this._marker._icon&&G(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(a){var b=this._marker,c=b._map,d=this._marker.options.autoPanSpeed,e=this._marker.options.autoPanPadding,f=pa(b._icon),g=c.getPixelBounds(),h=c.getPixelOrigin();e=O(g.min._subtract(h).add(e),g.max._subtract(h).subtract(e));e.contains(f)||(d=n((Math.max(e.max.x,f.x)-e.max.x)/(g.max.x-e.max.x)-
251(Math.min(e.min.x,f.x)-e.min.x)/(g.min.x-e.min.x),(Math.max(e.max.y,f.y)-e.max.y)/(g.max.y-e.max.y)-(Math.min(e.min.y,f.y)-e.min.y)/(g.min.y-e.min.y)).multiplyBy(d),c.panBy(d,{animate:!1}),this._draggable._newPos._add(d),this._draggable._startPos._add(d),J(b._icon,this._draggable._newPos),this._onDrag(a),this._panRequest=N(this._adjustPan.bind(this,a)))},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng();this._marker.closePopup&&this._marker.closePopup();this._marker.fire("movestart").fire("dragstart")},
252_onPreDrag:function(a){this._marker.options.autoPan&&(R(this._panRequest),this._panRequest=N(this._adjustPan.bind(this,a)))},_onDrag:function(a){var b=this._marker,c=b._shadow,d=pa(b._icon),e=b._map.layerPointToLatLng(d);c&&J(c,d);b._latlng=e;a.latlng=e;a.oldLatLng=this._oldLatLng;b.fire("move",a).fire("drag",a)},_onDragEnd:function(a){R(this._panRequest);delete this._oldLatLng;this._marker.fire("moveend").fire("dragend",a)}}),Ha=W.extend({options:{icon:new Pa,interactive:!0,keyboard:!0,title:"",
253alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(a,b){C(this,b);this._latlng=u(a)}
253,onAdd:function(a){if(this._zoomAnimated=this._zoomAnimated&&a.options.markerZoomAnimation)a.on("zoomanim",this._animateZoom,this);this._initIcon();this.update()},onRemove:function(a){this.dragging&&this.dragging.enabled()&&(this.options.draggable=
254!0,this.dragging.removeHooks());delete this.dragging;this._zoomAnimated&&a.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(a){var b=this._latlng;this._latlng=u(a);this.update();return this.fire("move",{oldLatLng:b,latlng:this._latlng})},setZIndexOffset:function(a){this.options.zIndexOffset=a;return this.update()},getIcon:function(){return this.options.icon},
255setIcon:function(a){this.options.icon=a;this._map&&(this._initIcon(),this.update());this._popup&&this.bindPopup(this._popup,this._popup.options);return this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var a=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(a)}return this},_initIcon:function(){var a=this.options,b="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),c=a.icon.createIcon(this._icon),d=!1;c!==this._icon&&(this._icon&&this._removeIcon(),
256d=!0,a.title&&(c.title=a.title),"IMG"===c.tagName&&(c.alt=a.alt||""));t(c,b);a.keyboard&&(c.tabIndex="0",c.setAttribute("role","button"));this._icon=c;if(a.riseOnHover)this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});this.options.autoPanOnFocus&&q(c,"focus",this._panOnFocus,this);c=a.icon.createShadow(this._shadow);var e=!1;c!==this._shadow&&(this._removeShadow(),e=!0);c&&(t(c,b),c.alt="");this._shadow=c;1>a.opacity&&this._updateOpacity();d&&this.getPane().appendChild(this._icon);
257this._initInteraction();c&&e&&this.getPane(a.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex});this.options.autoPanOnFocus&&A(this._icon,"focus",this._panOnFocus,this);E(this._icon);this.removeInteractiveTarget(this._icon);this._icon=null},_removeShadow:function(){this._shadow&&E(this._shadow);this._shadow=null},_setPos:function(a){this._icon&&J(this._icon,a);this._shadow&&J(this._shadow,a);this._zIndex=
258a.y+this.options.zIndexOffset;this._resetZIndex()},_updateZIndex:function(a){this._icon&&(this._icon.style.zIndex=this._zIndex+a)},_animateZoom:function(a){a=this._map._latLngToNewLayerPoint(this._latlng,a.zoom,a.center).round();this._setPos(a)},_initInteraction:function(){if(this.options.interactive&&(t(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),cd)){var a=this.options.draggable;this.dragging&&(a=this.dragging.enabled(),this.dragging.disable());this.dragging=new cd(this);
259a&&this.dragging.enable()}},setOpacity:function(a){this.options.opacity=a;this._map&&this._updateOpacity();return this},_updateOpacity:function(){var a=this.options.opacity;this._icon&&S(this._icon,a);this._shadow&&S(this._shadow,a)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var a=this._map;if(a){var b=this.options.icon.options,c=b.iconSize?n(b.iconSize):n(0,0);b=b.iconAnchor?n(b.iconAnchor):n(0,0);a.panInside(this._latlng,
260{paddingTopLeft:b,paddingBottomRight:c.subtract(b)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),ma=W.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(a){this._renderer=a.getRenderer(this)},onAdd:function(){this._renderer._initPath(this);
261this._reset();this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){this._map&&this._renderer._updatePath(this);return this},setStyle:function(a){C(this,a);this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&a&&Object.prototype.hasOwnProperty.call(a,"weight")&&this._updateBounds());return this},bringToFront:function(){this._renderer&&this._renderer._bringToFront(this);return this},bringToBack:function(){this._renderer&&this._renderer._bringToBack(this);
262return 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||0)}}),jb=ma.extend({options:{fill:!0,radius:10},initialize:function(a,b){C(this,b);this._latlng=u(a);this._radius=this.options.radius},setLatLng:function(a){var b=this._latlng;this._latlng=u(a);this.redraw();return this.fire("move",{oldLatLng:b,latlng:this._latlng})},getLatLng:function(){return this._latlng},
263setRadius:function(a){this.options.radius=this._radius=a;return this.redraw()},getRadius:function(){return this._radius},setStyle:function(a){var b=a&&a.radius||this._radius;ma.prototype.setStyle.call(this,a);this.setRadius(b);return this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng);this._updateBounds()},_updateBounds:function(){var a=this._radius,b=this._radiusY||a,c=this._clickTolerance();a=[a+c,b+c];this._pxBounds=new D(this._point.subtract(a),this._point.add(a))},
264_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(a){return a.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Yb=jb.extend({initialize:function(a,b,c){"number"===typeof b&&(b=y({},c,{radius:b}));C(this,b);this._latlng=u(a);if(isNaN(this.options.radius))throw Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},
265setRadius:function(a){this._mRadius=a;return this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var a=[this._radius,this._radiusY||this._radius];return new P(this._map.layerPointToLatLng(this._point.subtract(a)),this._map.layerPointToLatLng(this._point.add(a)))},setStyle:ma.prototype.setStyle,_project:function(){var a=this._latlng.lng,b=this._latlng.lat,c=this._map,d=c.options.crs;if(d.distance===ka.distance){var e=Math.PI/180;d=this._mRadius/ka.R/e;var f=c.project([b+
266d,a]),g=c.project([b-d,a]);g=f.add(g).divideBy(2);var h=c.unproject(g).lat;e=Math.acos((Math.cos(d*e)-Math.sin(b*e)*Math.sin(h*e))/(Math.cos(b*e)*Math.cos(h*e)))/e;if(isNaN(e)||0===e)e=d/Math.cos(Math.PI/180*b);this._point=g.subtract(c.getPixelOrigin());this._radius=isNaN(e)?0:g.x-c.project([h,a-e]).x;this._radiusY=g.y-f.y}else a=d.unproject(d.project(this._latlng).subtract([this._mRadius,0])),this._point=c.latLngToLayerPoint(this._latlng),this._radius=this._point.x-c.latLngToLayerPoint(a).x;this._updateBounds()}}),
267fa=ma.extend({options:{smoothFactor:1,noClip:!1},initialize:function(a,b){C(this,b);this._setLatLngs(a)},getLatLngs:function(){return this._latlngs},setLatLngs:function(a){this._setLatLngs(a);return this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(a){for(var b=Infinity,c=null,d=Ga,e,f,g=0,h=this._parts.length;g<h;g++)for(var l=this._parts[g],r=1,F=l.length;r<F;r++){e=l[r-1];f=l[r];var aa=d(a,e,f,!0);aa<b&&(b=aa,c=d(a,e,f))}c&&(c.distance=Math.sqrt(b));return c},
268getCenter:function(){if(!this._map)throw Error("Must add layer to map before using getCenter()");return Cc(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(a,b){b=b||this._defaultShape();a=u(a);b.push(a);this._bounds.extend(a);return this.redraw()},_setLatLngs:function(a){this._bounds=new P;this._latlngs=this._convertLatLngs(a)},_defaultShape:function(){return T(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(a){for(var b=
269[],c=T(a),d=0,e=a.length;d<e;d++)c?(b[d]=u(a[d]),this._bounds.extend(b[d])):b[d]=this._convertLatLngs(a[d]);return b},_project:function(){var a=new D;this._rings=[];this._projectLatlngs(this._latlngs,this._rings,a);this._bounds.isValid()&&a.isValid()&&(this._rawPxBounds=a,this._updateBounds())},_updateBounds:function(){var a=this._clickTolerance();a=new p(a,a);this._rawPxBounds&&(this._pxBounds=new D([this._rawPxBounds.min.subtract(a),this._rawPxBounds.max.add(a)]))},_projectLatlngs:function(a,b,
270c){var d=a.length,e;if(a[0]instanceof z){var f=[];for(e=0;e<d;e++)f[e]=this._map.latLngToLayerPoint(a[e]),c.extend(f[e]);b.push(f)}else for(e=0;e<d;e++)this._projectLatlngs(a[e],b,c)},_clipPoints:function(){var a=this._renderer._bounds;this._parts=[];if(this._pxBounds&&this._pxBounds.intersects(a))if(this.options.noClip)this._parts=this._rings;else{var b=this._parts,c,d,e,f;var g=c=0;for(d=this._rings.length;c<d;c++){var h=this._rings[c];var l=0;for(e=h.length;l<e-1;l++)if(f=zc(h[l],h[l+1],a,l,!0))if(b[g]=
271b[g]||[],b[g].push(f[0]),f[1]!==h[l+1]||l===e-2)b[g].push(f[1]),g++}}},_simplifyPoints:function(){for(var a=this._parts,b=this.options.smoothFactor,c=0,d=a.length;c<d;c++)a[c]=xc(a[c],b)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(a,b){var c,d,e=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(a))return!1;var f=0;for(d=this._parts.length;f<d;f++){var g=
272this._parts[f];var h=0;var l=g.length;for(c=l-1;h<l;c=h++)if((b||0!==h)&&yc(a,g[c],g[h])<=e)return!0}return!1}});fa._flat=Bc;var xa=fa.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw Error("Must add layer to map before using getCenter()");return wc(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(a){a=fa.prototype._convertLatLngs.call(this,a);var b=a.length;2<=b&&a[0]instanceof z&&a[0].equals(a[b-
2731])&&a.pop();return a},_setLatLngs:function(a){fa.prototype._setLatLngs.call(this,a);T(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return T(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var a=this._renderer._bounds,b=this.options.weight;b=new p(b,b);a=new D(a.min.subtract(b),a.max.add(b));this._parts=[];if(this._pxBounds&&this._pxBounds.intersects(a))if(this.options.noClip)this._parts=this._rings;else{b=0;for(var c=this._rings.length,
274d;b<c;b++)d=vc(this._rings[b],a,!0),d.length&&this._parts.push(d)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(a){var b=!1,c,d;if(!this._pxBounds||!this._pxBounds.contains(a))return!1;var e=0;for(d=this._parts.length;e<d;e++){var f=this._parts[e];var g=0;var h=f.length;for(c=h-1;g<h;c=g++){var l=f[g];c=f[c];l.y>a.y!==c.y>a.y&&a.x<(c.x-l.x)*(a.y-l.y)/(c.y-l.y)+l.x&&(b=!b)}}return b||fa.prototype._containsPoint.call(this,a,!0)}}),ha=ea.extend({initialize:function(a,
275b){C(this,b);this._layers={};a&&this.addData(a)},addData:function(a){var b=U(a)?a:a.features,c;if(b){a=0;for(c=b.length;a<c;a++){var d=b[a];(d.geometries||d.geometry||d.features||d.coordinates)&&this.addData(d)}return this}b=this.options;if(b.filter&&!b.filter(a))return this;c=$a(a,b);if(!c)return this;c.feature=cb(a);c.defaultOptions=c.options;this.resetStyle(c);if(b.onEachFeature)b.onEachFeature(a,c);return this.addLayer(c)},resetStyle:function(a){if(void 0===a)return this.eachLayer(this.resetStyle,
276this);a.options=y({},a.defaultOptions);this._setLayerStyle(a,this.options.style);return this},setStyle:function(a){return this.eachLayer(function(b){this._setLayerStyle(b,a)},this)},_setLayerStyle:function(a,b){a.setStyle&&("function"===typeof b&&(b=b(a.feature)),a.setStyle(b))}}),Zb={toGeoJSON:function(a){return ya(this,{type:"Point",coordinates:Kb(this.getLatLng(),a)})}};Ha.include(Zb);Yb.include(Zb);jb.include(Zb);fa.include({toGeoJSON:function(a){var b=!T(this._latlngs);a=bb(this._latlngs,b?1:
2770,!1,a);return ya(this,{type:(b?"Multi":"")+"LineString",coordinates:a})}});xa.include({toGeoJSON:function(a){var b=!T(this._latlngs),c=b&&!T(this._latlngs[0]);a=bb(this._latlngs,c?2:b?1:0,!0,a);b||(a=[a]);return ya(this,{type:(c?"Multi":"")+"Polygon",coordinates:a})}});Aa.include({toMultiPoint:function(a){var b=[];this.eachLayer(function(c){b.push(c.toGeoJSON(a).geometry.coordinates)});return ya(this,{type:"MultiPoint",coordinates:b})},toGeoJSON:function(a){var b=this.feature&&this.feature.geometry&&
278this.feature.geometry.type;if("MultiPoint"===b)return this.toMultiPoint(a);var c="GeometryCollection"===b,d=[];this.eachLayer(function(e){e.toGeoJSON&&(e=e.toGeoJSON(a),c?d.push(e.geometry):(e=cb(e),"FeatureCollection"===e.type?d.push.apply(d,e.features):d.push(e)))});return c?ya(this,{geometries:d,type:"GeometryCollection"}):{type:"FeatureCollection",features:d}}});var kb=W.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(a,
279b,c){this._url=a;this._bounds=I(b);C(this,c)},onAdd:function(){this._image||(this._initImage(),1>this.options.opacity&&this._updateOpacity());this.options.interactive&&(t(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image));this.getPane().appendChild(this._image);this._reset()},onRemove:function(){E(this._image);this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(a){this.options.opacity=a;this._image&&this._updateOpacity();return this},setStyle:function(a){a.opacity&&
280this.setOpacity(a.opacity);return this},bringToFront:function(){this._map&&va(this._image);return this},bringToBack:function(){this._map&&wa(this._image);return this},setUrl:function(a){this._url=a;this._image&&(this._image.src=a);return this},setBounds:function(a){this._bounds=I(a);this._map&&this._reset();return this},getEvents:function(){var a={zoom:this._reset,viewreset:this._reset};this._zoomAnimated&&(a.zoomanim=this._animateZoom);return a},setZIndex:function(a){this.options.zIndex=a;this._updateZIndex();
281return this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var a="IMG"===this._url.tagName,b=this._image=a?this._url:x("img");t(b,"leaflet-image-layer");this._zoomAnimated&&t(b,"leaflet-zoom-animated");this.options.className&&t(b,this.options.className);b.onselectstart=H;b.onmousemove=H;b.onload=B(this.fire,this,"load");b.onerror=B(this._overlayOnError,this,"error");
281if(this.options.crossOrigin||""===this.options.crossOrigin)b.crossOrigin=
282!0===this.options.crossOrigin?"":this.options.crossOrigin;this.options.zIndex&&this._updateZIndex();a?this._url=b.src:(b.src=this._url,b.alt=this.options.alt)},_animateZoom:function(a){var b=this._map.getZoomScale(a.zoom);a=this._map._latLngBoundsToNewLayerBounds(this._bounds,a.zoom,a.center).min;oa(this._image,a,b)},_reset:function(){var a=this._image,b=new D(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),c=b.getSize();J(a,b.min);
283a.style.width=c.x+"px";a.style.height=c.y+"px"},_updateOpacity:function(){S(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 a=this.options.errorOverlayUrl;a&&this._url!==a&&(this._url=a,this._image.src=a)},getCenter:function(){return this._bounds.getCenter()}}),dd=kb.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,
284muted:!1,playsInline:!0},_initImage:function(){var a="VIDEO"===this._url.tagName,b=this._image=a?this._url:x("video");t(b,"leaflet-image-layer");this._zoomAnimated&&t(b,"leaflet-zoom-animated");this.options.className&&t(b,this.options.className);b.onselectstart=H;b.onmousemove=H;b.onloadeddata=B(this.fire,this,"load");if(a){a=b.getElementsByTagName("source");for(var c=[],d=0;d<a.length;d++)c.push(a[d].src);this._url=0<a.length?c:[b.src]}else for(U(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&
285Object.prototype.hasOwnProperty.call(b.style,"objectFit")&&(b.style.objectFit="fill"),b.autoplay=!!this.options.autoplay,b.loop=!!this.options.loop,b.muted=!!this.options.muted,b.playsInline=!!this.options.playsInline,a=0;a<this._url.length;a++)c=x("source"),c.src=this._url[a],b.appendChild(c)}}),ed=kb.extend({_initImage:function(){var a=this._image=this._url;t(a,"leaflet-image-layer");this._zoomAnimated&&t(a,"leaflet-zoom-animated");this.options.className&&t(a,this.options.className);a.onselectstart=
286H;a.onmousemove=H}}),ca=W.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(a,b){a&&(a instanceof z||U(a))?(this._latlng=u(a),C(this,b)):(C(this,a),this._source=b);this.options.content&&(this._content=this.options.content)},openOn:function(a){a=arguments.length?a:this._source._map;a.hasLayer(this)||a.addLayer(this);return this},close:function(){this._map&&this._map.removeLayer(this);return this},toggle:function(a){this._map?this.close():(arguments.length?
287this._source=a:a=this._source,this._prepareOpen(),this.openOn(a._map));return this},onAdd:function(a){this._zoomAnimated=a._zoomAnimated;this._container||this._initLayout();a._fadeAnimated&&S(this._container,0);clearTimeout(this._removeTimeout);this.getPane().appendChild(this._container);this.update();a._fadeAnimated&&S(this._container,1);this.bringToFront();this.options.interactive&&(t(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(a){a._fadeAnimated?
288(S(this._container,0),this._removeTimeout=setTimeout(B(E,void 0,this._container),200)):E(this._container);this.options.interactive&&(G(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(a){this._latlng=u(a);this._map&&(this._updatePosition(),this._adjustPan());return this},getContent:function(){return this._content},setContent:function(a){this._content=a;this.update();return this},getElement:function(){return this._container},
289update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var a={zoom:this._updatePosition,viewreset:this._updatePosition};this._zoomAnimated&&(a.zoomanim=this._animateZoom);return a},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){this._map&&va(this._container);return this},bringToBack:function(){this._map&&
290wa(this._container);return this},_prepareOpen:function(a){var b=this._source;if(!b._map)return!1;if(b instanceof ea){b=null;var c=this._source._layers,d;for(d in c)if(c[d]._map){b=c[d];break}if(!b)return!1;this._source=b}if(!a)if(b.getCenter)a=b.getCenter();else if(b.getLatLng)a=b.getLatLng();else if(b.getBounds)a=b.getBounds().getCenter();else throw Error("Unable to get source layer LatLng.");this.setLatLng(a);this._map&&this.update();return!0},_updateContent:function(){if(this._content){var a=this._contentNode,
291b="function"===typeof this._content?this._content(this._source||this):this._content;if("string"===typeof b)a.innerHTML=b;else{for(;a.hasChildNodes();)a.removeChild(a.firstChild);a.appendChild(b)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var a=this._map.latLngToLayerPoint(this._latlng),b=n(this.options.offset),c=this._getAnchor();this._zoomAnimated?J(this._container,a.add(c)):b=b.add(a).add(c);a=this._containerBottom=-b.y;b=this._containerLeft=-Math.round(this._containerWidth/
2922)+b.x;this._container.style.bottom=a+"px";this._container.style.left=b+"px"}},_getAnchor:function(){return[0,0]}});v.include({_initOverlay:function(a,b,c,d){var e=b;e instanceof a||(e=(new a(d)).setContent(b));c&&e.setLatLng(c);return e}});W.include({_initOverlay:function(a,b,c,d){var e=c;e instanceof a?(C(e,d),e._source=this):(e=b&&!d?b:new a(d,this),e.setContent(c));return e}});var lb=ca.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,
293autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(a){a=arguments.length?a:this._source._map;!a.hasLayer(this)&&a._popup&&a._popup.options.autoClose&&a.removeLayer(a._popup);a._popup=this;return ca.prototype.openOn.call(this,a)},onAdd:function(a){ca.prototype.onAdd.call(this,a);a.fire("popupopen",{popup:this});if(this._source&&(this._source.fire("popupopen",{popup:this},!0),!(this._source instanceof ma)))this._source.on("preclick",
294qa)},onRemove:function(a){ca.prototype.onRemove.call(this,a);a.fire("popupclose",{popup:this});this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof ma||this._source.off("preclick",qa))},getEvents:function(){var a=ca.prototype.getEvents.call(this);if(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)a.preclick=this.close;
294this.options.keepInView&&(a.moveend=this._adjustPan);return a},_initLayout:function(){var a=this._container=
295x("div","leaflet-popup "+(this.options.className||"")+" leaflet-zoom-animated"),b=this._wrapper=x("div","leaflet-popup-content-wrapper",a);this._contentNode=x("div","leaflet-popup-content",b);Fa(a);Gb(this._contentNode);q(a,"contextmenu",qa);this._tipContainer=x("div","leaflet-popup-tip-container",a);this._tip=x("div","leaflet-popup-tip",this._tipContainer);this.options.closeButton&&(a=this._closeButton=x("a","leaflet-popup-close-button",a),a.setAttribute("role","button"),a.setAttribute("aria-label",
296"Close popup"),a.href="#close",a.innerHTML='<span aria-hidden="true">&#215;</span>',q(a,"click",function(c){K(c);this.close()},this))},_updateLayout:function(){var a=this._contentNode,b=a.style;b.width="";b.whiteSpace="nowrap";var c=a.offsetWidth;c=Math.min(c,this.options.maxWidth);c=Math.max(c,this.options.minWidth);b.width=c+1+"px";b.whiteSpace="";b.height="";c=a.offsetHeight;var d=this.options.maxHeight;d&&c>d?(b.height=d+"px",t(a,"leaflet-popup-scrolled")):G(a,"leaflet-popup-scrolled");this._containerWidth=
297this._container.offsetWidth},_animateZoom:function(a){a=this._map._latLngToNewLayerPoint(this._latlng,a.zoom,a.center);var b=this._getAnchor();J(this._container,a.add(b))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var a=this._map,b=parseInt(Ea(this._container,"marginBottom"),10)||0;b=this._container.offsetHeight+b;var c=this._containerWidth,d=new p(this._containerLeft,-b-this._containerBottom);d._add(pa(this._container));
298d=a.layerPointToContainerPoint(d);var e=n(this.options.autoPanPadding),f=n(this.options.autoPanPaddingTopLeft||e);e=n(this.options.autoPanPaddingBottomRight||e);var g=a.getSize(),h=0,l=0;d.x+c+e.x>g.x&&(h=d.x+c-g.x+e.x);0>d.x-h-f.x&&(h=d.x-f.x);d.y+b+e.y>g.y&&(l=d.y+b-g.y+e.y);0>d.y-l-f.y&&(l=d.y-f.y);if(h||l)this.options.keepInView&&(this._autopanning=!0),a.fire("autopanstart").panBy([h,l])}},_getAnchor:function(){return n(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():
299[0,0])}});v.mergeOptions({closePopupOnClick:!0});v.include({openPopup:function(a,b,c){this._initOverlay(lb,a,b,c).openOn(this);return this},closePopup:function(a){(a=arguments.length?a:this._popup)&&a.close();return this}});W.include({bindPopup:function(a,b){this._popup=this._initOverlay(lb,this._popup,a,b);this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0);return this},unbindPopup:function(){this._popup&&
300(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null);return this},openPopup:function(a){this._popup&&(this instanceof ea||(this._popup._source=this),this._popup._prepareOpen(a||this._latlng)&&this._popup.openOn(this._map));return this},closePopup:function(){this._popup&&this._popup.close();return this},togglePopup:function(){this._popup&&this._popup.toggle(this);return this},isPopupOpen:function(){return this._popup?
301this._popup.isOpen():!1},setPopupContent:function(a){this._popup&&this._popup.setContent(a);return this},getPopup:function(){return this._popup},_openPopup:function(a){if(this._popup&&this._map){ra(a);var b=a.layer||a.target;this._popup._source!==b||b instanceof ma?(this._popup._source=b,this.openPopup(a.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(a.latlng)}},_movePopup:function(a){this._popup.setLatLng(a.latlng)},_onKeyPress:function(a){13===a.originalEvent.keyCode&&
302this._openPopup(a)}});var mb=ca.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(a){ca.prototype.onAdd.call(this,a);this.setOpacity(this.options.opacity);a.fire("tooltipopen",{tooltip:this});this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(a){ca.prototype.onRemove.call(this,a);a.fire("tooltipclose",{tooltip:this});this._source&&(this.removeEventParent(this._source),
303this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var a=ca.prototype.getEvents.call(this);this.options.permanent||(a.preclick=this.close);return a},_initLayout:function(){this._contentNode=this._container=x("div","leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"));this._container.setAttribute("role","tooltip");this._container.setAttribute("id","leaflet-tooltip-"+w(this))},_updateLayout:function(){},_adjustPan:function(){},
304_setPosition:function(a){var b=this._map,c=this._container;var d=b.latLngToContainerPoint(b.getCenter());var e=b.layerPointToContainerPoint(a);b=this.options.direction;var f=c.offsetWidth;var g=c.offsetHeight;var h=n(this.options.offset),l=this._getAnchor();
304"top"===b?d=f/2:"bottom"===b?(d=f/2,g=0):("center"===b?d=f/2:"right"===b?d=0:"left"===b?d=f:e.x<d.x?(b="right",d=0):(b="left",d=f+2*(h.x+l.x)),g/=2);a=a.subtract(n(d,g,!0)).add(h).add(l);G(c,"leaflet-tooltip-right");G(c,"leaflet-tooltip-left");
305G(c,"leaflet-tooltip-top");G(c,"leaflet-tooltip-bottom");t(c,"leaflet-tooltip-"+b);J(c,a)},_updatePosition:function(){var a=this._map.latLngToLayerPoint(this._latlng);this._setPosition(a)},setOpacity:function(a){this.options.opacity=a;this._container&&S(this._container,a)},_animateZoom:function(a){a=this._map._latLngToNewLayerPoint(this._latlng,a.zoom,a.center);this._setPosition(a)},_getAnchor:function(){return n(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():
306[0,0])}});v.include({openTooltip:function(a,b,c){this._initOverlay(mb,a,b,c).openOn(this);return this},closeTooltip:function(a){a.close();return this}});W.include({bindTooltip:function(a,b){this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip();this._tooltip=this._initOverlay(mb,this._tooltip,a,b);this._initTooltipInteractions();this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip();return this},unbindTooltip:function(){this._tooltip&&(this._initTooltipInteractions(!0),
307this.closeTooltip(),this._tooltip=null);return this},_initTooltipInteractions:function(a){if(a||!this._tooltipHandlersAdded){var b=a?"off":"on",c={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?c.add=this._openTooltip:(c.mouseover=this._openTooltip,c.mouseout=this.closeTooltip,c.click=this._openTooltip,this._map?this._addFocusListeners():c.add=this._addFocusListeners);this._tooltip.options.sticky&&(c.mousemove=this._moveTooltip);this[b](c);this._tooltipHandlersAdded=
308!a}},openTooltip:function(a){this._tooltip&&(this instanceof ea||(this._tooltip._source=this),this._tooltip._prepareOpen(a)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this)));return this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){this._tooltip&&this._tooltip.toggle(this);return this},isTooltipOpen:function(){return this._tooltip.isOpen()},
309setTooltipContent:function(a){this._tooltip&&this._tooltip.setContent(a);return this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(a){var b="function"===typeof a.getElement&&a.getElement();b&&(q(b,"focus",function(){this._tooltip._source=a;this.openTooltip()},this),q(b,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(a){(a=
310"function"===typeof a.getElement&&a.getElement())&&a.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(a){if(this._tooltip&&this._map)if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var b=this;this._map.once("moveend",function(){b._openOnceFlag=!1;b._openTooltip(a)})}else this._tooltip._source=a.layer||a.target,this.openTooltip(this._tooltip.options.sticky?a.latlng:void 0)},_moveTooltip:function(a){var b=a.latlng;this._tooltip.options.sticky&&
311a.originalEvent&&(a=this._map.mouseEventToContainerPoint(a.originalEvent),a=this._map.containerPointToLayerPoint(a),b=this._map.layerPointToLatLng(
311a));this._tooltip.setLatLng(b)}});var fd=Ba.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(a){a=a&&"DIV"===a.tagName?a:document.createElement("div");var b=this.options;b.html instanceof Element?(Ua(a),a.appendChild(b.html)):a.innerHTML=!1!==b.html?b.html:"";b.bgPos&&(b=n(b.bgPos),a.style.backgroundPosition=
312-b.x+"px "+-b.y+"px");this._setIconStyles(a,"icon");return a},createShadow:function(){return null}});Ba.Default=Pa;var Qa=W.extend({options:{tileSize:256,opacity:1,updateWhenIdle:m.mobile,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(a){C(this,a)},onAdd:function(){this._initContainer();this._levels={};this._tiles={};this._resetView()},beforeAdd:function(a){a._addZoomLimit(this)},
313onRemove:function(a){this._removeAllTiles();E(this._container);a._removeZoomLimit(this);this._container=null;this._tileZoom=void 0},bringToFront:function(){this._map&&(va(this._container),this._setAutoZIndex(Math.max));return this},bringToBack:function(){this._map&&(wa(this._container),this._setAutoZIndex(Math.min));return this},getContainer:function(){return this._container},setOpacity:function(a){this.options.opacity=a;this._updateOpacity();return this},setZIndex:function(a){this.options.zIndex=
314a;this._updateZIndex();return this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var a=this._clampZoom(this._map.getZoom());a!==this._tileZoom&&(this._tileZoom=a,this._updateLevels());this._update()}return this},getEvents:function(){var a={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};this.options.updateWhenIdle||(this._onMove||(this._onMove=ac(this._onMoveEnd,this.options.updateInterval,
315this)),a.move=this._onMove);this._zoomAnimated&&(a.zoomanim=this._animateZoom);return a},createTile:function(){return document.createElement("div")},getTileSize:function(){var a=this.options.tileSize;return a instanceof p?a:new p(a,a)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(a){for(var b=this.getPane().children,c=-a(-Infinity,Infinity),d=0,e=b.length,f;d<e;d++)f=
316b[d].style.zIndex,b[d]!==this._container&&f&&(c=a(c,+f));isFinite(c)&&(this.options.zIndex=c+a(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!m.ielt9){S(this._container,this.options.opacity);var a=+new Date,b=!1,c=!1,d;for(d in this._tiles){var e=this._tiles[d];if(e.current&&e.loaded){var f=Math.min(1,(a-e.loaded)/200);S(e.el,f);1>f?b=!0:(e.active?c=!0:this._onOpaqueTile(e),e.active=!0)}}c&&!this._noPrune&&this._pruneTiles();b&&(R(this._fadeFrame),this._fadeFrame=N(this._updateOpacity,
317this))}},_onOpaqueTile:H,_initContainer:function(){this._container||(this._container=x("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),1>this.options.opacity&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var a=this._tileZoom,b=this.options.maxZoom;if(void 0!==a){for(var c in this._levels)c=Number(c),this._levels[c].el.children.length||c===a?(this._levels[c].el.style.zIndex=b-Math.abs(a-c),this._onUpdateLevel(c)):(E(this._levels[c].el),
318this._removeTilesAtZoom(c),this._onRemoveLevel(c),delete this._levels[c]);c=this._levels[a];var d=this._map;c||(c=this._levels[a]={},c.el=x("div","leaflet-tile-container leaflet-zoom-animated",this._container),c.el.style.zIndex=b,c.origin=d.project(d.unproject(d.getPixelOrigin()),a).roun
318d(),c.zoom=a,this._setZoomTransform(c,d.getCenter(),d.getZoom()),this._onCreateLevel(c));return this._level=c}},_onUpdateLevel:H,_onRemoveLevel:H,_onCreateLevel:H,_pruneTiles:function(){if(this._map){var a;var b=this._map.getZoom();
319if(b>this.options.maxZoom||b<this.options.minZoom)this._removeAllTiles();else{for(a in this._tiles)b=this._tiles[a],b.retain=b.current;for(a in this._tiles)b=this._tiles[a],b.current&&!b.active&&(b=b.coords,this._retainParent(b.x,b.y,b.z,b.z-5)||this._retainChildren(b.x,b.y,b.z,b.z+2));for(a in this._tiles)this._tiles[a].retain||this._removeTile(a)}}},_removeTilesAtZoom:function(a){for(var b in this._tiles)this._tiles[b].coords.z===a&&this._removeTile(b)},_removeAllTiles:function(){for(var a in this._tiles)this._removeTile(a)},
320_invalidateAll:function(){for(var a in this._levels)E(this._levels[a].el),this._onRemoveLevel(Number(a)),delete this._levels[a];this._removeAllTiles();this._tileZoom=void 0},_retainParent:function(a,b,c,d){a=Math.floor(a/2);b=Math.floor(b/2);--c;var e=new p(+a,+b);e.z=+c;e=this._tileCoordsToKey(e);if((e=this._tiles[e])&&e.active)return e.retain=!0;e&&e.loaded&&(e.retain=!0);return c>d?this._retainParent(a,b,c,d):!1},_retainChildren:function(a,b,c,d){for(var e=2*a;e<2*a+2;e++)for(var f=2*b;f<2*b+2;f++){var g=
321new p(e,f);g.z=c+1;g=this._tileCoordsToKey(g);(g=this._tiles[g])&&g.active?g.retain=!0:(g&&g.loaded&&(g.retain=!0),c+1<d&&this._retainChildren(e,f,c+1,d))}},_resetView:function(a){a=a&&(a.pinch||a.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),a,a)},_animateZoom:function(a){this._setView(a.center,a.zoom,!0,a.noUpdate)},_clampZoom:function(a){var b=this.options;return void 0!==b.minNativeZoom&&a<b.minNativeZoom?b.minNativeZoom:void 0!==b.maxNativeZoom&&b.maxNativeZoom<a?b.maxNativeZoom:
322a},_setView:function(a,b,c,d){var e=Math.round(b);e=void 0!==this.options.maxZoom&&e>this.options.maxZoom||void 0!==this.options.minZoom&&e<this.options.minZoom?void 0:this._clampZoom(e);var f=this.options.updateWhenZooming&&e!==this._tileZoom;if(!d||f)this._tileZoom=e,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==e&&this._update(a),c||this._pruneTiles(),this._noPrune=!!c;this._setZoomTransforms(a,b)},_setZoomTransforms:function(a,b){for(var c in this._levels)this._setZoomTransform(this._levels[c],
323a,b)},_setZoomTransform:function(a,b,c){var d=this._map.getZoomScale(c,a.zoom);b=a.origin.multiplyBy(d).subtract(this._map._getNewPixelOrigin(b,c)).round();m.any3d?oa(a.el,b,d):J(a.el,b)},_resetGrid:function(){var a=this._map,b=a.options.crs,c=this._tileSize=this.getTileSize(),d=this._tileZoom,e=this._map.getPixelWorldBounds(this._tileZoom);e&&(this._globalTileRange=this._pxBoundsToTileRange(e));this._wrapX=b.wrapLng&&!this.options.noWrap&&[Math.floor(a.project([0,b.wrapLng[0]],d).x/c.x),Math.ceil(a.project([0,
324b.wrapLng[1]],d).x/c.y)];this._wrapY=b.wrapLat&&!this.options.noWrap&&[Math.floor(a.project([b.wrapLat[0],0],d).y/c.x),Math.ceil(a.project([b.wrapLat[1],0],d).y/c.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(a){var b=this._map,c=b._animatingZoom?Math.max(b._animateToZoom,b.getZoom()):b.getZoom();c=b.getZoomScale(c,this._tileZoom);a=b.project(a,this._tileZoom).floor();b=b.getSize().divideBy(2*c);return new D(a.subtract(b),a.add(b))},
325_update:function(a){var b=this._map;if(b){var c=this._clampZoom(b.getZoom());void 0===a&&(a=b.getCenter());if(void 0!==this._tileZoom){b=this._getTiledPixelBounds(a);var d=this._pxBoundsToTileRange(b),e=d.getCenter();b=[];var f=this.options.keepBuffer;f=new D(d.getBottomLeft().subtract([f,-f]),d.getTopRight().add([f,-f]));if(!(isFinite(d.min.x)&&isFinite(d.min.y)&&isFinite(d.max.x)&&isFinite(d.max.y)))throw Error("Attempted to load an infinite number of tiles");for(var g in this._tiles){var h=this._tiles[g].coords;
326h.z===this._tileZoom&&f.contains(new p(h.x,h.y))||(this._tiles[g].current=!1)}if(1<Math.abs(c-this._tileZoom))this._setView(a,c);else{for(c=d.min.y;c<=d.max.y;c++)for(a=d.min.x;a<=d.max.x;a++)g=new p(a,c),g.z=this._tileZoom,this._isValidTile(g)&&((f=this._tiles[this._tileCoordsToKey(g)])?f.current=!0:b.push(g));b.sort(function(l,r){return l.distanceTo(e)-r.distanceTo(e)});if(0!==b.length){this._loading||(this._loading=!0,this.fire("loading"));d=document.createDocumentFragment();for(a=0;a<b.length;a++)this._addTile(b[a],
327d);this._level.el.appendChild(d)}}}}},_isValidTile:function(a){var b=this._map.options.crs;if(!b.infinite){var c=this._globalTileRange;if(!b.wrapLng&&(a.x<c.min.x||a.x>c.max.x)||!b.wrapLat&&(a.y<c.min.y||a.y>c.max.y))return!1}if(!this.options.bounds)return!0;a=this._tileCoordsToBounds(a);return I(this.options.bounds).overlaps(a)},_keyToBounds:function(a){return this._tileCoordsToBounds(this._keyToTileCoords(a))},_tileCoordsToNwSe:function(a){var b=this._map,c=this.getTileSize(),d=a.scaleBy(c);c=d.add(c);
328d=b.unproject(d,a.z);a=b.unproject(c,a.z);return[d,a]},_tileCoordsToBounds:function(a){a=this._tileCoordsToNwSe(a);a=new P(a[0],a[1]);this.options.noWrap||(a=this._map.wrapLatLngBounds(a));return a},_tileCoordsToKey:function(a){return a.x+":"+a.y+":"+a.z},_keyToTileCoords:function(a){a=a.split(":");
328var b=new p(+a[0],+a[1]);b.z=+a[2];return b},_removeTile:function(a){var b=this._tiles[a];b&&(E(b.el),delete this._tiles[a],this.fire("tileunload",{tile:b.el,coords:this._keyToTileCoords(a)}))},_initTile:function(a){t(a,
329"leaflet-tile");var b=this.getTileSize();a.style.width=b.x+"px";a.style.height=b.y+"px";a.onselectstart=H;a.onmousemove=H;m.ielt9&&1>this.options.opacity&&S(a,this.options.opacity)},_addTile:function(a,b){var c=this._getTilePos(a),d=this._tileCoordsToKey(a),e=this.createTile(this._wrapCoords(a),B(this._tileReady,this,a));this._initTile(e);2>this.createTile.length&&N(B(this._tileReady,this,a,null,e));J(e,c);this._tiles[d]={el:e,coords:a,current:!0};b.appendChild(e);this.fire("tileloadstart",{tile:e,
330coords:a})},_tileReady:function(a,b,c){b&&this.fire("tileerror",{error:b,tile:c,coords:a});c=this._tileCoordsToKey(a);if(c=this._tiles[c])c.loaded=+new Date,this._map._fadeAnimated?(S(c.el,0),R(this._fadeFrame),this._fadeFrame=N(this._updateOpacity,this)):(c.active=!0,this._pruneTiles()),b||(t(c.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:c.el,coords:a})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),m.ielt9||!this._map._fadeAnimated?N(this._pruneTiles,this):setTimeout(B(this._pruneTiles,
331this),250))},_getTilePos:function(a){return a.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(a){var b=new p(this._wrapX?Ca(a.x,this._wrapX):a.x,this._wrapY?Ca(a.y,this._wrapY):a.y);b.z=a.z;return b},_pxBoundsToTileRange:function(a){var b=this.getTileSize();return new D(a.min.unscaleBy(b).floor(),a.max.unscaleBy(b).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var a in this._tiles)if(!this._tiles[a].loaded)return!1;return!0}}),za=Qa.extend({options:{minZoom:0,
332maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(a,b){this._url=a;b=C(this,b);b.detectRetina&&m.retina&&0<b.maxZoom?(b.tileSize=Math.floor(b.tileSize/2),b.zoomReverse?(b.zoomOffset--,b.minZoom=Math.min(b.maxZoom,b.minZoom+1)):(b.zoomOffset++,b.maxZoom=Math.max(b.minZoom,b.maxZoom-1)),b.minZoom=Math.max(0,b.minZoom)):b.zoomReverse?b.minZoom=Math.min(b.maxZoom,b.minZoom):b.maxZoom=Math.max(b.minZoom,
333b.maxZoom);"string"===typeof b.subdomains&&(b.subdomains=b.subdomains.split(""));this.on("tileunload",this._onTileRemove)},setUrl:function(a,b){this._url===a&&void 0===b&&(b=!0);this._url=a;b||this.redraw();return this},createTile:function(a,b){var c=document.createElement("img");q(c,"load",B(this._tileOnLoad,this,b,c));q(c,"error",B(this._tileOnError,this,b,c));if(this.options.crossOrigin||""===this.options.crossOrigin)c.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin;"string"===
334typeof this.options.referrerPolicy&&(c.referrerPolicy=this.options.referrerPolicy);c.alt="";c.src=this.getTileUrl(a);return c},getTileUrl:function(a){var b={r:m.retina?"@2x":"",s:this._getSubdomain(a),x:a.x,y:a.y,z:this._getZoomForUrl()};this._map&&!this._map.options.crs.infinite&&(a=this._globalTileRange.max.y-a.y,this.options.tms&&(b.y=a),b["-y"]=a);return cc(this._url,y(b,this.options))},_tileOnLoad:function(a,b){m.ielt9?setTimeout(B(a,this,null,b),0):a(null,b)},_tileOnError:function(a,b,c){var d=
335this.options.errorTileUrl;d&&b.getAttribute("src")!==d&&(b.src=d);a(c,b)},_onTileRemove:function(a){a.tile.onload=null},_getZoomForUrl:function(){var a=this._tileZoom,b=this.options.maxZoom,c=this.options.zoomOffset;this.options.zoomReverse&&(a=b-a);return a+c},_getSubdomain:function(a){return this.options.subdomains[Math.abs(a.x+a.y)%this.options.subdomains.length]},_abortLoading:function(){var a;for(a in this._tiles)if(this._tiles[a].coords.z!==this._tileZoom){var b=this._tiles[a].el;b.onload=H;
336b.onerror=H;if(!b.complete){b.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";var c=this._tiles[a].coords;E(b);delete this._tiles[a];this.fire("tileabort",{tile:b,coords:c})}}},_removeTile:function(a){var b=this._tiles[a];if(b)return b.el.setAttribute("src","data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="),Qa.prototype._removeTile.call(this,a)},_tileReady:function(a,b,c){if(this._map&&(!c||"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="!==c.getAttribute("src")))return Qa.prototype._tileReady.call(this,
337a,b,c)}}),gd=za.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(a,b){this._url=a;a=y({},this.defaultWmsParams);for(var c in b)c in this.options||(a[c]=b[c]);b=C(this,b);b=b.detectRetina&&m.retina?2:1;c=this.getTileSize();a.width=c.x*b;a.height=c.y*b;this.wmsParams=a},onAdd:function(a){this._crs=this.options.crs||a.options.crs;this._wmsVersion=parseFloat(this.wmsParams.version);
338this.wmsParams[1.3<=this._wmsVersion?"crs":"srs"]=this._crs.code;za.prototype.onAdd.call(this,a)},getTileUrl:function(a){var b=this._tileCoordsToNwSe(a),c=this._crs;c=O(c.project(b[0]),c.project(b[1]));b=c.min;c=c.max;b=(1.3<=this._wmsVersion&&this._crs===bd?[b.y,b.x,c.y,c.x]:[b.x,b.y,c.x,c.y]).join(",");a=za.prototype.getTileUrl.call(this,a);return a+bc(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+b},setParams:function(a,b){y(this.wmsParams,a);b||this.redraw();
339return this}});za.WMS=gd;Ec.wms=function(a,b){return new gd(a,b)};var ja=W.extend({options:{padding:.1},initialize:function(a){C(this,a);w(this);this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),t(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 a={viewreset:this._reset,
340zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};this._zoomAnimated&&(a.zoomanim=this._onAnimZoom);return a},_onAnimZoom:function(a){this._updateTransform(a.center,a.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(a,b){var c=this._map.getZoomScale(b,this._zoom),d=this._map.getSize().multiplyBy(.5+this.options.padding),e=this._map.project(this._center,b);a=d.multiplyBy(-c).add(e).subtract(this._map._getNewPixelOrigin(a,
341b));m.any3d?oa(this._container,a,c):J(this._container,a)},_reset:function(){this._update();this._updateTransform(this._center,this._zoom);for(var a in this._layers)this._layers[a]._reset()},_onZoomEnd:function(){for(var a in this._layers)this._layers[a]._project()},_updatePaths:function(){for(var a in this._layers)this._layers[a]._update()},_update:function(){var a=this.options.padding,b=this._map.getSize(),c=this._map.containerPointToLayerPoint(b.multiplyBy(-a)).round();this._bounds=new D(c,c.add(b.multiplyBy(1+
3422*a)).round());this._center=this._map.getCenter();this._zoom=this._map.getZoom()}}),Gc=ja.extend({options:{tolerance:0},getEvents:function(){var a=ja.prototype.getEvents.call(this);a.viewprereset=this._onViewPreReset;return a},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ja.prototype.onAdd.call(this);this._draw()},_initContainer:function(){var a=this._container=document.createElement("canvas");q(a,"mousemove",this._onMouseMove,this);q(a,"click dblclick mousedown mouseup contextmenu",
343this._onClick,this);q(a,"mouseout",this._handleMouseOut,this);a._leaflet_disable_events=!0;this._ctx=a.getContext("2d")},_destroyContainer:function(){R(this._redrawRequest);delete this._ctx;E(this._container);A(this._container);delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){this._redrawBounds=null;for(var a in this._layers){var b=this._layers[a];b._update()}this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ja.prototype._update.call(this);
344var a=this._bounds,b=this._container,c=a.getSize(),d=m.retina?2:1;J(b,a.min);b.width=d*c.x;b.height=d*c.y;b.style.width=c.x+"px";b.style.height=c.y+"px";m.retina&&this._ctx.scale(2,2);this._ctx.translate(-a.min.x,-a.min.y);this.fire("update")}},_reset:function(){ja.prototype._reset.call(this);this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(a){this._updateDashArray(a);this._layers[w(a)]=a;a=a._order={layer:a,prev:this._drawLast,next:null};this._drawLast&&
345(this._drawLast.next=a);this._drawLast=a;this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(a){this._requestRedraw(a)},_removePath:function(a){var b=a._order,c=b.next;b=b.prev;c?c.prev=b:this._drawLast=b;b?b.next=c:this._drawFirst=c;delete a._order;delete this._layers[w(a)];this._requestRedraw(a)},_updatePath:function(a){this._extendRedrawBounds(a);a._project();a._update();this._requestRedraw(a)},_updateStyle:function(a){this._updateDashArray(a);this._requestRedraw(a)}
345,_updateDashArray:function(a){if("string"===
346typeof a.options.dashArray){var b=a.options.dashArray.split(/[, ]+/),c=[],d;for(d=0;d<b.length;d++){var e=Number(b[d]);if(isNaN(e))return;c.push(e)}a.options._dashArray=c}else a.options._dashArray=a.options.dashArray},_requestRedraw:function(a){this._map&&(this._extendRedrawBounds(a),this._redrawRequest=this._redrawRequest||N(this._redraw,this))},_extendRedrawBounds:function(a){if(a._pxBounds){var b=(a.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new D;this._redrawBounds.extend(a._pxBounds.min.subtract([b,
347b]));this._redrawBounds.extend(a._pxBounds.max.add([b,b]))}},_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 a=this._redrawBounds;if(a){var b=a.getSize();this._ctx.clearRect(a.min.x,a.min.y,b.x,b.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},
348_draw:function(){var a=this._redrawBounds;this._ctx.save();if(a){var b=a.getSize();this._ctx.beginPath();this._ctx.rect(a.min.x,a.min.y,b.x,b.y);this._ctx.clip()}this._drawing=!0;for(var c=this._drawFirst;c;c=c.next)b=c.layer,(!a||b._pxBounds&&b._pxBounds.intersects(a))&&b._updatePath();this._drawing=!1;this._ctx.restore()},_updatePoly:function(a,b){if(this._drawing){var c,d,e=a._parts,f=e.length,g=this._ctx;if(f){g.beginPath();for(c=0;c<f;c++){var h=0;for(d=e[c].length;h<d;h++){var l=e[c][h];g[h?
349"lineTo":"moveTo"](l.x,l.y)}b&&g.closePath()}this._fillStroke(g,a)}}},_updateCircle:function(a){if(this._drawing&&!a._empty()){var b=a._point,c=this._ctx,d=Math.max(Math.round(a._radius),1),e=(Math.max(Math.round(a._radiusY),1)||d)/d;1!==e&&(c.save(),c.scale(1,e));c.beginPath();c.arc(b.x,b.y/e,d,0,2*Math.PI,!1);1!==e&&c.restore();this._fillStroke(c,a)}},_fillStroke:function(a,b){var c=b.options;c.fill&&(a.globalAlpha=c.fillOpacity,a.fillStyle=c.fillColor||c.color,a.fill(c.fillRule||"evenodd"));c.stroke&&
3500!==c.weight&&(a.setLineDash&&a.setLineDash(b.options&&b.options._dashArray||[]),a.globalAlpha=c.opacity,a.lineWidth=c.weight,a.strokeStyle=c.color,a.lineCap=c.lineCap,a.lineJoin=c.lineJoin,a.stroke())},_onClick:function(a){for(var b=this._map.mouseEventToLayerPoint(a),c,d,e=this._drawFirst;e;e=e.next)c=e.layer,c.options.interactive&&c._containsPoint(b)&&("click"!==a.type&&"preclick"!==a.type||!this._map._draggableMoved(c))&&(d=c);this._fireEvent(d?[d]:!1,a)},_onMouseMove:function(a){if(this._map&&
351!this._map.dragging.moving()&&!this._map._animatingZoom){var b=this._map.mouseEventToLayerPoint(a);this._handleMouseHover(a,b)}},_handleMouseOut:function(a){var b=this._hoveredLayer;b&&(G(this._container,"leaflet-interactive"),this._fireEvent([b],a,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(a,b){if(!this._mouseHoverThrottled){for(var c,d,e=this._drawFirst;e;e=e.next)c=e.layer,c.options.interactive&&c._containsPoint(b)&&(d=c);d!==this._hoveredLayer&&
352(this._handleMouseOut(a),d&&(t(this._container,"leaflet-interactive"),this._fireEvent([d],a,"mouseover"),this._hoveredLayer=d));this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,a);this._mouseHoverThrottled=!0;setTimeout(B(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(a,b,c){this._map._fireDOMEvent(b,c||b.type,a)},_bringToFront:function(a){var b=a._order;if(b){var c=b.next,d=b.prev;c&&((c.prev=d)?d.next=c:c&&(this._drawFirst=c),b.prev=this._drawLast,this._drawLast.next=
353b,b.next=null,this._drawLast=b,this._requestRedraw(a))}},_bringToBack:function(a){var b=a._order;if(b){var c=b.next,d=b.prev;d&&((d.next=c)?c.prev=d:d&&(this._drawLast=d),b.prev=null,b.next=this._drawFirst,this._drawFirst=this._drawFirst.prev=b,this._requestRedraw(a))}}}),Ra=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(a){return document.createElement("<lvml:"+a+' class="lvml">')}}catch(a){}return function(a){return document.createElement("<"+a+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),
354de={_initContainer:function(){this._container=x("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ja.prototype._update.call(this),this.fire("update"))},_initPath:function(a){var b=a._container=Ra("shape");t(b,"leaflet-vml-shape "+(this.options.className||""));b.coordsize="1 1";a._path=Ra("path");b.appendChild(a._path);this._updateStyle(a);this._layers[w(a)]=a},_addPath:function(a){var b=a._container;this._container.appendChild(b);a.options.interactive&&a.addInteractiveTarget(b)},
355_removePath:function(a){var b=a._container;E(b);a.removeInteractiveTarget(b);delete this._layers[w(a)]},_updateStyle:function(a){var b=a._stroke,c=a._fill,d=a.options,e=a._container;e.stroked=!!d.stroke;e.filled=!!d.fill;d.stroke?(b||(b=a._stroke=Ra("stroke")),e.appendChild(b),b.weight=d.weight+"px",b.color=d.color,b.opacity=d.opacity,b.dashStyle=d.dashArray?U(d.dashArray)?d.dashArray.join(" "):d.dashArray.replace(/( *, *)/g," "):"",b.endcap=d.lineCap.replace("butt","flat"),b.joinstyle=d.lineJoin):
356b&&(e.removeChild(b),a._stroke=null);d.fill?(c||(c=a._fill=Ra("fill")),e.appendChild(c),c.color=d.fillColor||d.color,c.opacity=d.fillOpacity):c&&(e.removeChild(c),a._fill=null)},_updateCircle:function(a){var b=a._point.round(),c=Math.round(a._radius),d=Math.round(a._radiusY||c);this._setPath(a,a._empty()?"M0 0":"AL "+b.x+","+b.y+" "+c+","+d+" 0,23592600")},_setPath:function(a,b){a._path.v=b},_bringToFront:function(a){va(a._container)},_bringToBack:function(a){wa(a._container)}},nb=m.vml?Ra:gc,Ia=
357ja.extend({_initContainer:function(){this._container=nb("svg");this._container.setAttribute("pointer-events","none");this._rootGroup=nb("g");this._container.appendChild(this._rootGroup)},_destroyContainer:function(){E(this._container);A(this._container);delete this._container;delete this._rootGroup;delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){ja.prototype._update.call(this);var a=this._bounds,b=a.getSize(),c=this._container;this._svgSize&&this._svgSize.equals(b)||
358(this._svgSize=b,c.setAttribute("width",b.x),c.setAttribute("height",b.y));J(c,a.min);c.setAttribute("viewBox",[a.min.x,a.min.y,b.x,b.y].join(" "));this.fire("update")}},_initPath:function(a){var b=a._path=nb("path");a.options.className&&t(b,a.options.className);a.options.interactive&&t(b,"leaflet-interactive");this._updateStyle(a);this._layers[w(a)]=a},_addPath:function(a){this._rootGroup||this._initContainer();this._rootGroup.appendChild(a._path);a.addInteractiveTarget(a._path)},_removePath:function(a){E(a._path);
359a.removeInteractiveTarget(a._path);delete this._layers[w(a)]},_updatePath:function(a){a._project();a._update()},_updateStyle:function(a){var b=a._path;a=a.options;b&&(a.stroke?(b.setAttribute("stroke",a.color),b.setAttribute("stroke-opacity",a.opacity),b.setAttribute("stroke-width",a.weight),b.setAttribute("stroke-linecap",a.lineCap),b.setAttribute("stroke-linejoin",a.lineJoin),a.dashArray?b.setAttribute("stroke-dasharray",a.dashArray):b.removeAttribute("stroke-dasharray"),a.dashOffset?b.setAttribute("stroke-dashoffset",
360a.dashOffset):b.removeAttribute("stroke-dashoffset")):b.setAttribute("stroke","none"),a.fill?(b.setAttribute("fill",a.fillColor||a.color),b.setAttribute("fill-opacity",a.fillOpacity),b.setAttribute("fill-rule",a.fillRule||"evenodd")):b.setAttribute("fill","none"))},_updatePoly:function(a,b){this._setPath(a,hc(a._parts,b))},_updateCircle:function(a){var b=a._point,c=Math.max(Math.round(a._radius),1),d="a"+c+","+(Math.max(Math.round(a._radiusY),1)||c)+" 0 1,0 ";b=a._empty()?"M0 0":"M"+(b.x-c)+","+b.y+
361d+2*c+",0 "+d+2*-c+",0 ";this._setPath(a,b)},_setPath:function(a,b){a._path.setAttribute("d",b)},_bringToFront:function(a){va(a._path)},_bringToBack:function(a){wa(a._path)}});m.vml&&Ia.include(de);v.include({getRenderer:function(a){a=a.options.renderer||this._getPaneRenderer(a.options.pane)||this.options.renderer||this._renderer;a||(a=this._renderer=this._createRenderer());this.hasLayer(a)||this.addLayer(a);return a}
361,_getPaneRenderer:function(a){if("overlayPane"===a||void 0===a)return!1;var b=this._paneRenderers[a];
362void 0===b&&(b=this._createRenderer({pane:a}),this._paneRenderers[a]=b);return b},_createRenderer:function(a){return this.options.preferCanvas&&Fc(a)||Hc(a)}});var hd=xa.extend({initialize:function(a,b){xa.prototype.initialize.call(this,this._boundsToLatLngs(a),b)},setBounds:function(a){return this.setLatLngs(this._boundsToLatLngs(a))},_boundsToLatLngs:function(a){a=I(a);return[a.getSouthWest(),a.getNorthWest(),a.getNorthEast(),a.getSouthEast()]}});Ia.create=nb;Ia.pointsToPath=hc;ha.geometryToLayer=
363$a;ha.coordsToLatLng=Jb;ha.coordsToLatLngs=ab;ha.latLngToCoords=Kb;ha.latLngsToCoords=bb;ha.getFeature=ya;ha.asFeature=cb;v.mergeOptions({boxZoom:!0});var id=ba.extend({initialize:function(a){this._map=a;this._container=a._container;this._pane=a._panes.overlayPane;this._resetStateTimeout=0;a.on("unload",this._destroy,this)},addHooks:function(){q(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){A(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},
364_destroy:function(){E(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(a){if(!a.shiftKey||1!==a.which&&1!==a.button)return!1;this._clearDeferredResetState();this._resetState();eb();xb();this._startPoint=this._map.mouseEventToContainerPoint(a);q(document,{contextmenu:ra,mousemove:this._onMouseMove,mouseup:this._onMouseUp,
365keydown:this._onKeyDown},this)},_onMouseMove:function(a){this._moved||(this._moved=!0,this._box=x("div","leaflet-zoom-box",this._container),t(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart"));this._point=this._map.mouseEventToContainerPoint(a);a=new D(this._point,this._startPoint);var b=a.getSize();J(this._box,a.min);this._box.style.width=b.x+"px";this._box.style.height=b.y+"px"},_finish:function(){this._moved&&(E(this._box),G(this._container,"leaflet-crosshair"));fb();yb();A(document,
366{contextmenu:ra,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(a){if(1===a.which||1===a.button)this._finish(),this._moved&&(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(B(this._resetState,this),0),a=new P(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(a).fire("boxzoomend",{boxZoomBounds:a}))},_onKeyDown:function(a){27===a.keyCode&&(this._finish(),this._clearDeferredResetState(),
367this._resetState())}});v.addInitHook("addHandler","boxZoom",id);v.mergeOptions({doubleClickZoom:!0});var jd=ba.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(a){var b=this._map,c=b.getZoom(),d=b.options.zoomDelta;c=a.originalEvent.shiftKey?c-d:c+d;"center"===b.options.doubleClickZoom?b.setZoom(c):b.setZoomAround(a.containerPoint,c)}});v.addInitHook("addHandler","doubleClickZoom",
368jd);v.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:Infinity,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var kd=ba.extend({addHooks:function(){if(!this._draggable){var a=this._map;this._draggable=new la(a._mapPane,a._container);this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this);this._draggable.on("predrag",this._onPreDragLimit,this);a.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,
369this),a.on("zoomend",this._onZoomEnd,this),a.whenReady(this._onZoomEnd,this))}t(this._map._container,"leaflet-grab leaflet-touch-drag");this._draggable.enable();this._positions=[];this._times=[]},removeHooks:function(){G(this._map._container,"leaflet-grab");G(this._map._container,"leaflet-touch-drag");this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved}
369,moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var a=this._map;
370a._stop();if(this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var b=I(this._map.options.maxBounds);this._offsetLimit=O(this._map.latLngToContainerPoint(b.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(b.getSouthEast()).multiplyBy(-1).add(this._map.getSize()));this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;a.fire("movestart").fire("dragstart");a.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(a){if(this._map.options.inertia){var b=
371this._lastTime=+new Date,c=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(c);this._times.push(b);this._prunePositions(b)}this._map.fire("move",a).fire("drag",a)},_prunePositions:function(a){for(;1<this._positions.length&&50<a-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var a=this._map.getSize().divideBy(2);this._initialWorldOffset=this._map.latLngToLayerPoint([0,0]).subtract(a).x;this._worldWidth=this._map.getPixelWorldBounds().getSize().x},
372_viscousLimit:function(a,b){return a-(a-b)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var a=this._draggable._newPos.subtract(this._draggable._startPos),b=this._offsetLimit;a.x<b.min.x&&(a.x=this._viscousLimit(a.x,b.min.x));a.y<b.min.y&&(a.y=this._viscousLimit(a.y,b.min.y));a.x>b.max.x&&(a.x=this._viscousLimit(a.x,b.max.x));a.y>b.max.y&&(a.y=this._viscousLimit(a.y,b.max.y));this._draggable._newPos=this._draggable._startPos.add(a)}},_onPreDragWrap:function(){var a=
373this._worldWidth,b=Math.round(a/2),c=this._initialWorldOffset,d=this._draggable._newPos.x,e=(d-b+c)%a+b-c;a=(d+b+c)%a-b-c;c=Math.abs(e+c)<Math.abs(a+c)?e:a;this._draggable._absPos=this._draggable._newPos.clone();this._draggable._newPos.x=c},_onDragEnd:function(a){var b=this._map,c=b.options,d=!c.inertia||a.noInertia||2>this._times.length;b.fire("dragend",a);if(d)b.fire("moveend");else{this._prunePositions(+new Date);a=this._lastPos.subtract(this._positions[0]);var e=c.easeLinearity;d=a.multiplyBy(e/
374((this._lastTime-this._times[0])/1E3));var f=d.distanceTo([0,0]);a=Math.min(c.inertiaMaxSpeed,f);d=d.multiplyBy(a/f);var g=a/(c.inertiaDeceleration*e),h=d.multiplyBy(-g/2).round();h.x||h.y?(h=b._limitOffset(h,b.options.maxBounds),N(function(){b.panBy(h,{duration:g,easeLinearity:e,noMoveStart:!0,animate:!0})})):b.fire("moveend")}}});v.addInitHook("addHandler","dragging",kd);v.mergeOptions({keyboard:!0,keyboardPanDelta:80});var ld=ba.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,
375107,61,171],zoomOut:[189,109,54,173]},initialize:function(a){this._map=a;this._setPanDelta(a.options.keyboardPanDelta);this._setZoomDelta(a.options.zoomDelta)},addHooks:function(){var a=this._map._container;0>=a.tabIndex&&(a.tabIndex="0");q(a,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this);this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks();A(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},
376this);this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var a=document.body,b=document.documentElement,c=a.scrollTop||b.scrollTop;a=a.scrollLeft||b.scrollLeft;this._map._container.focus();window.scrollTo(a,c)}},_onFocus:function(){this._focused=!0;this._map.fire("focus")},_onBlur:function(){this._focused=!1;this._map.fire("blur")},_setPanDelta:function(a){var b=this._panKeys={},c=this.keyCodes,d;var e=0;for(d=c.left.length;e<d;e++)b[c.left[e]]=
377[-1*a,0];e=0;for(d=c.right.length;e<d;e++)b[c.right[e]]=[a,0];e=0;for(d=c.down.length;e<d;e++)b[c.down[e]]=[0,a];e=0;for(d=c.up.length;e<d;e++)b[c.up[e]]=[0,-1*a]},_setZoomDelta:function(a){var b=this._zoomKeys={},c=this.keyCodes,d;var e=0;for(d=c.zoomIn.length;e<d;e++)b[c.zoomIn[e]]=a;e=0;for(d=c.zoomOut.length;e<d;e++)b[c.zoomOut[e]]=-a},_addHooks:function(){q(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){A(document,"keydown",this._onKeyDown,this)}
377,_onKeyDown:function(a){if(!(a.altKey||
378a.ctrlKey||a.metaKey)){var b=a.keyCode,c=this._map;if(b in this._panKeys)c._panAnim&&c._panAnim._inProgress||(b=this._panKeys[b],a.shiftKey&&(b=n(b).multiplyBy(3)),c.options.maxBounds&&(b=c._limitOffset(n(b),c.options.maxBounds)),c.options.worldCopyJump?(b=c.wrapLatLng(c.unproject(c.project(c.getCenter()).add(b))),c.panTo(b)):c.panBy(b));else if(b in this._zoomKeys)c.setZoom(c.getZoom()+(a.shiftKey?3:1)*this._zoomKeys[b]);else if(27===b&&c._popup&&c._popup.options.closeOnEscapeKey)c.closePopup();
379else return;ra(a)}}});v.addInitHook("addHandler","keyboard",ld);v.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var md=ba.extend({addHooks:function(){q(this._map._container,"wheel",this._onWheelScroll,this);this._delta=0},removeHooks:function(){A(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(a){var b=uc(a),c=this._map.options.wheelDebounceTime;this._delta+=b;this._lastMousePos=this._map.mouseEventToContainerPoint(a);this._startTime||
380(this._startTime=+new Date);b=Math.max(c-(+new Date-this._startTime),0);clearTimeout(this._timer);this._timer=setTimeout(B(this._performZoom,this),b);ra(a)},_performZoom:function(){var a=this._map,b=a.getZoom(),c=this._map.options.zoomSnap||0;a._stop();var d=4*Math.log(2/(1+Math.exp(-Math.abs(this._delta/(4*this._map.options.wheelPxPerZoomLevel)))))/M
380ath.LN2;c=c?Math.ceil(d/c)*c:d;c=a._limitZoom(b+(0<this._delta?c:-c))-b;this._delta=0;this._startTime=null;c&&("center"===a.options.scrollWheelZoom?
381a.setZoom(b+c):a.setZoomAround(this._lastMousePos,b+c))}});v.addInitHook("addHandler","scrollWheelZoom",md);v.mergeOptions({tapHold:m.touchNative&&m.safari&&m.mobile,tapTolerance:15});var nd=ba.extend({addHooks:function(){q(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){A(this._map._container,"touchstart",this._onDown,this)},_onDown:function(a){clearTimeout(this._holdTimeout);if(1===a.touches.length){var b=a.touches[0];this._startPos=this._newPos=new p(b.clientX,b.clientY);
382this._holdTimeout=setTimeout(B(function(){this._cancel();this._isTapValid()&&(q(document,"touchend",K),q(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",b))},this),600);q(document,"touchend touchcancel contextmenu",this._cancel,this);q(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function b(){A(document,"touchend",K);A(document,"touchend touchcancel",b)},_cancel:function(){clearTimeout(this._holdTimeout);A(document,"touchend touchcancel contextmenu",
383this._cancel,this);A(document,"touchmove",this._onMove,this)},_onMove:function(b){b=b.touches[0];this._newPos=new p(b.clientX,b.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(b,c){b=new MouseEvent(b,{bubbles:!0,cancelable:!0,view:window,screenX:c.screenX,screenY:c.screenY,clientX:c.clientX,clientY:c.clientY});b._simulated=!0;c.target.dispatchEvent(b)}});v.addInitHook("addHandler","tapHold",nd);v.mergeOptions({touchZoom:m.touch,
384bounceAtZoomLimits:!0});var od=ba.extend({addHooks:function(){t(this._map._container,"leaflet-touch-zoom");q(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){G(this._map._container,"leaflet-touch-zoom");A(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(b){var c=this._map;if(b.touches&&2===b.touches.length&&!c._animatingZoom&&!this._zooming){var d=c.mouseEventToContainerPoint(b.touches[0]),e=c.mouseEventToContainerPoint(b.touches[1]);
385this._centerPoint=c.getSize()._divideBy(2);this._startLatLng=c.containerPointToLatLng(this._centerPoint);"center"!==c.options.touchZoom&&(this._pinchStartLatLng=c.containerPointToLatLng(d.add(e)._divideBy(2)));this._startDist=d.distanceTo(e);this._startZoom=c.getZoom();this._moved=!1;this._zooming=!0;c._stop();q(document,"touchmove",this._onTouchMove,this);q(document,"touchend touchcancel",this._onTouchEnd,this);K(b)}},_onTouchMove:function(b){if(b.touches&&2===b.touches.length&&this._zooming){var c=
386this._map,d=c.mouseEventToContainerPoint(b.touches[0]),e=c.mouseEventToContainerPoint(b.touches[1]),f=d.distanceTo(e)/this._startDist;this._zoom=c.getScaleZoom(f,this._startZoom);!c.options.bounceAtZoomLimits&&(this._zoom<c.getMinZoom()&&1>f||this._zoom>c.getMaxZoom()&&1<f)&&(this._zoom=c._limitZoom(this._zoom));if("center"===c.options.touchZoom){if(this._center=this._startLatLng,1===f)return}else{d=d._add(e)._divideBy(2)._subtract(this._centerPoint);if(1===f&&0===d.x&&0===d.y)return;this._center=
387c.unproject(c.project(this._pinchStartLatLng,this._zoom).subtract(d),this._zoom)}this._moved||(c._moveStart(!0,!1),this._moved=!0);R(this._animRequest);c=B(c._move,c,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=N(c,this,!0);K(b)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,R(this._animRequest),A(document,"touchmove",this._onTouchMove,this),A(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,
388this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});v.addInitHook("addHandler","touchZoom",od);v.BoxZoom=id;v.DoubleClickZoom=jd;v.Drag=kd;v.Keyboard=ld;v.ScrollWheelZoom=md;v.TapHold=nd;v.TouchZoom=od;k.Bounds=D;k.Browser=m;k.CRS=ia;k.Canvas=Gc;k.Circle=Yb;k.CircleMarker=jb;k.Class=da;k.Control=V;k.DivIcon=fd;k.DivOverlay=ca;k.DomEvent=Sd;k.DomUtil=Rd;k.Draggable=la;k.Evented=Ja;k.FeatureGroup=ea;
389k.GeoJSON=ha;k.GridLayer=Qa;k.Handler=ba;k.Icon=Ba;k.ImageOverlay=kb;k.LatLng=z;k.LatLngBounds=P;k.Layer=W;k.LayerGroup=Aa;k.LineUtil=$d;k.Map=v;k.Marker=Ha;k.Mixin=Yd;k.Path=ma;k.Point=p;k.PolyUtil=Zd;k.Polygon=xa;k.Polyline=fa;k.Popup=lb;k.PosAnimation=Wc;k.Projection=ae;k.Rectangle=hd;k.Renderer=ja;k.SVG=Ia;k.SVGOverlay=ed;k.TileLayer=za;k.Tooltip=mb;k.Transformation=sb;k.Util=xd;k.VideoOverlay=dd;k.bind=B;k.bounds=O;k.canvas=Fc;k.circle=function(b,c,d){return new Yb(b,c,d)};k.circleMarker=function(b,
390c){return new jb(b,c)};k.control=Oa;k.divIcon=function(b){return new fd(b)};k.extend=y;k.featureGroup=function(b,c){return new ea(b,c)};k.geoJSON=Dc;k.geoJson=Dc;k.gridLayer=function(b){return new Qa(b)};k.icon=function(b){return new Ba(b)};k.imageOverlay=function(b,c,d){return new kb(b,c,d)};k.latLng=u;k.latLngBounds=I;k.layerGroup=function(b,c){return new Aa(b,c)};k.map=function(b,c){return new v(b,c)};k.marker=function(b,c){return new Ha(b,c)};k.point=n;k.polygon=function(b,c){return new xa(b,
391c)};k.polyline=function(b,c){return new fa(b,c)};k.popup=function(b,c){return new lb(b,c)};k.rectangle=function(b,c){return new hd(b,c)};k.setOptions=C;k.stamp=w;k.svg=Hc;k.svgOverlay=function(b,c,d){return new ed(b,c,d)};k.tileLayer=Ec;k.tooltip=function(b,c){return new mb(b,c)};k.transformation=Da;k.version="1.9.4";k.videoOverlay=function(b,c,d){return new dd(b,c,d)};var ee=window.L;k.noConflict=function(){window.L=ee;return this};window.L=k});
392;
393L.AnimatedMarker=L.Marker.extend({options:{distance:200,interval:1E3,autoStart:!0,onEnd:function(){},clickable:!1,onPointVisit:function(){}}
393,initialize:function(a,b){this.setLine(a);L.Marker.prototype.initialize.call(this,a[0],b)},onAdd:function(a){L.Marker.prototype.onAdd.call(this,a);this.options.autoStart&&this.start()},animate:function(){var a=this,b=this._latlngs.length,c=this.options.interval;this._i<b&&0<this._i&&(c=this._latlngs[this._i-1].distanceTo(this._latlngs[this._i])/this.options.distance*
394this.options.interval);this._icon&&(this._icon.style[L.DomUtil.TRANSITION]="all "+c+"ms linear");this._shadow&&(this._shadow.style[L.DomUtil.TRANSITION]="all "+c+"ms linear");a.options.onPointVisit(this._latlngs[this._i]);this.setLatLng(this._latlngs[this._i]);this._i++;this._tid=setTimeout(function(){a._i===b?a.options.onEnd.apply(a,Array.prototype.slice.call(arguments)):a.animate()},c)},start:function(){this.animate()},stop:function(){this._tid&&clearTimeout(this._tid)},reset:function(){this.stop();
395this._icon&&(this._icon.style[L.DomUtil.TRANSITION]="all 0ms linear");this._shadow&&(this._shadow.style[L.DomUtil.TRANSITION]="all 0ms linear");this.initialize(this._latlngs);this.setLatLng(this._latlngs[0])}
395,setLine:function(a){this._latlngs=a;this._i=0}});L.animatedMarker=function(a,b){return new L.AnimatedMarker(a,b)};
396;
397const Polyline=(()=>{const m=a=>Math.floor(Math.abs(a)+.5)*(0<=a?1:-1),l=(a,b,c)=>{a=m(a*c);b=m(b*c);c=a-b<<1;0>a-b&&(c=~c);for(a="";32<=c;)a+=String.fromCharCode((32|c&31)+63),c>>=5;return a+=String.fromCharCode(c+63)};return{decode:(a,b)=>{let c=0,f=0,h=0,k=[];var e;let d,g,n=Math.pow(10,Number.isInteger(b)?b:5);for(;c<a.length;){d=e=0;do g=a.charCodeAt(c++)-63,d|=(g&31)<<e,e+=5;while(32<=g);b=d&1?~(d>>1):d>>1;e=d=0;do g=a.charCodeAt(c++)-63,d|=(g&31)<<e,e+=5;while(32<=g);e=d&1?~(d>>1):d>>1;f+=
398b;h+=e;k.push([f/n,h/n])}return k},encode:(a,b)=>{if(!a.length)return"";b=Math.pow(10,Number.isInteger(b)?b:5);let c=l(a[0][0],0,b)+l(a[0][1],0,b);for(let f=1;f<a.length;f++){const h=a[f],k=a[f-1];c+=l(h[0],k[0],b);c+=l(h[1],k[1],b)}return c}}})();
399;
400/*! kjua v0.9.0 - https://larsjung.de/kjua/ */
401!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("kjua",[],r):"object"==typeof exports?exports.kjua=r():t.kjua=r()}("undefined"!=typeof self?self:this,function(){return n={},o.m=e=[function(t,r,e){function n(t){var r=Object.assign({},o,t),e=i(r.text,r.ecLevel,r.minVersion,r.quiet);return"svg"===r.render?u(e,r):a(e,r,"image"===r.render)}var o=e(1),i=e(2),a=e(4),u=e(8);t.exports=n;try{jQuery.fn.kjua=function(e){return this.each(function(t,r){return r.appendChild(n(e))})}}catch(t){}},function(t,r){t.exports={render:"image",crisp:!0,minVersion:1,ecLevel:"L",size:200,ratio:null,fill:"#333",back:"#fff",text:"no text",rounded:0,quiet:0,mode:"plain",mSize:30,mPosX:50,mPosY:50,label:"no label",fontname:"sans",fontcolor:"#333",image:null}},function(t,r,e){function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var f=/code length overflow/i,c=e(3);c.stringToBytes=c.stringToBytesFuncs["UTF-8"];t.exports=function(t,r,e,n){var o,i=3<arguments.length&&void 0!==n?n:0,a=function(t,r,e){for(var n=2<arguments.length&&void 0!==e?e:1,o=n=Math.max(1,n);o<=40;o+=1)try{var i=function(){var e=c(o,r);e.addData(t),e.make();var n=e.getModuleCount();return{v:{text:t,level:r,version:o,module_count:n,is_dark:function(t,r){return 0<=t&&t<n&&0<=r&&r<n&&e.isDark(t,r)}}}}();if("object"===u(i))return i.v}catch(t){if(!(o<40&&f.test(t)))throw new Error(t)}return null}(0<arguments.length&&void 0!==t?t:"",1<arguments.length&&void 0!==r?r:"L",2<arguments.length&&void 0!==e?e:1);return a&&(o=a.is_dark,a.module_count+=2*i,a.is_dark=function(t,r){return o(t-i,r-i)}),a}},function(t,r,e){var n,o,i,a=function(){function i(t,r){function a(t,r){l=function(t){for(var r=new Array(t),e=0;e<t;e+=1){r[e]=new Array(t);for(var n=0;n<t;n+=1)r[e][n]=null}return r}(s=4*u+17),e(0,0),e(s-7,0),e(0,s-7),i(),o(),d(t,r),7<=u&&g(t),null==n&&(n=p(u,f,c)),v(n,r)}var u=t,f=w[r],l=null,s=0,n=null,c=[],h={},e=function(t,r){for(var e=-1;e<=7;e+=1)if(!(t+e<=-1||s<=t+e))for(var n=-1;n<=7;n+=1)r+n<=-1||s<=r+n||(l[t+e][r+n]=0<=e&&e<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==e||6==e)||2<=e&&e<=4&&2<=n&&n<=4)},o=function(){for(var t=8;t<s-8;t+=1)null==l[t][6]&&(l[t][6]=t%2==0);for(var r=8;r<s-8;r+=1)null==l[6][r]&&(l[6][r]=r%2==0)},i=function(){for(var t=m.getPatternPosition(u),r=0;r<t.length;r+=1)for(var e=0;e<t.length;e+=1){var n=t[r],o=t[e];if(null==l[n][o])for(var i=-2;i<=2;i+=1)for(var a=-2;a<=2;a+=1)l[n+i][o+a]=-2==i||2==i||-2==a||2==a||0==i&&0==a}},g=function(t){for(var r=m.getBCHTypeNumber(u),e=0;e<18;e+=1){var n=!t&&1==(r>>e&1);l[Math.floor(e/3)][e%3+s-8-3]=n}for(e=0;e<18;e+=1){n=!t&&1==(r>>e&1);l[e%3+s-8-3][Math.floor(e/3)]=n}},d=function(t,r){for(var e=f<<3|r,n=m.getBCHTypeInfo(e),o=0;o<15;o+=1){var i=!t&&1==(n>>o&1);o<6?l[o][8]=i:o<8?l[o+1][8]=i:l[s-15+o][8]=i}for(o=0;o<15;o+=1){i=!t&&1==(n>>o&1);o<8?l[8][s-o-1]=i:o<9?l[8][15-o-1+1]=i:l[8][15-o-1]=i}l[s-8][8]=!t},v=function(t,r){for(var e=-1,n=s-1,o=7,i=0,a=m.getMaskFunction(r),u=s-1;0<u;u-=2)for(6==u&&--u;;){for(var f,c=0;c<2;c+=1){null==l[n][u-c]&&(f=!1,i<t.length&&(f=1==(t[i]>>>o&1)),a(n,u-c)&&(f=!f),l[n][u-c]=f,-1==--o&&(i+=1,o=7))}if((n+=e)<0||s<=n){n-=e,e=-e;break}}},p=function(t,r,e){for(var n=S.getRSBlocks(t,r),o=M(),i=0;i<e.length;i+=1){var a=e[i];o.put(a.getMode(),4),o.put(a.getLength(),m.getLengthInBits(a.getMode(),t)),a.write(o)}for(var u=0,i=0;i<n.length;i+=1)u+=n[i].dataCount;if(o.getLengthInBits()>8*u)throw"code length overflow. ("+o.getLengthInBits()+">"+8*u+")";for(o.getLengthInBits()+4<=8*u&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*u||(o.put(236,8),o.getLengthInBits()>=8*u));)o.put(17,8);return function(t,r){for(var e=0,n=0,o=0,i=new Array(r.length),a=new Array(r.length),u=0;u<r.length;u+=1){var f=r[u].dataCount,c=r[u].totalCount-f,n=Math.max(n,f),o=Math.max(o,c);i[u]=new Array(f);for(var l=0;l<i[u].length;l+=1)i[u][l]=255&t.getBuffer()[l+e];e+=f;var s=m.getErrorCorrectPolynomial(c),g=b(i[u],s.getLength()-1).mod(s);a[u]=new Array(s.getLength()-1);for(l=0;l<a[u].length;l+=1){var h=l+g.getLength()-a[u].length;a[u][l]=0<=h?g.getAt(h):0}}for(var d=0,l=0;l<r.length;l+=1)d+=r[l].totalCount;for(var v=new Array(d),p=0,l=0;l<n;l+=1)for(u=0;
vendor: 8,528 bytes, line 401
401u<r.length;u+=1)l<i[u].length&&(v[p]=i[u][l],p+=1);for(l=0;l<o;l+=1)for(u=0;u<r.length;u+=1)l<a[u].length&&(v[p]=a[u][l],p+=1);return v}(o,n)};h.addData=function(t,r){var e=null;switch(r=r||"Byte"){case"Numeric":e=A(t);break;case"Alphanumeric":e=L(t);break;case"Byte":e=D(t);break;case"Kanji":e=_(t);break;default:throw"mode:"+r}c.push(e),n=null},h.isDark=function(t,r){if(t<0||s<=t||r<0||s<=r)throw t+","+r;return l[t][r]},h.getModuleCount=function(){return s},h.make=function(){if(u<1){for(var t=1;t<40;t++){for(var r=S.getRSBlocks(t,f),e=M(),n=0;n<c.length;n++){var o=c[n];e.put(o.getMode(),4),e.put(o.getLength(),m.getLengthInBits(o.getMode(),t)),o.write(e)}for(var i=0,n=0;n<r.length;n++)i+=r[n].dataCount;if(e.getLengthInBits()<=8*i)break}u=t}a(!1,function(){for(var t=0,r=0,e=0;e<8;e+=1){a(!0,e);var n=m.getLostPoint(h);(0==e||n<t)&&(t=n,r=e)}return r}())},h.createTableTag=function(t,r){t=t||2;var e="";e+='<table style="',e+=" border-width: 0px; border-style: none;",e+=" border-collapse: collapse;",e+=" padding: 0px; margin: "+(r=void 0===r?4*t:r)+"px;",e+='">',e+="<tbody>";for(var n=0;n<h.getModuleCount();n+=1){e+="<tr>";for(var o=0;o<h.getModuleCount();o+=1)e+='<td style="',e+=" border-width: 0px; border-style: none;",e+=" border-collapse: collapse;",e+=" padding: 0px; margin: 0px;",e+=" width: "+t+"px;",e+=" height: "+t+"px;",e+=" background-color: ",e+=h.isDark(n,o)?"#000000":"#ffffff",e+=";",e+='"/>';e+="</tr>"}return e+="</tbody>",e+="</table>"},h.createSvgTag=function(t,r,e,n){var o={};"object"==typeof arguments[0]&&(t=(o=arguments[0]).cellSize,r=o.margin,e=o.alt,n=o.title),t=t||2,r=void 0===r?4*t:r,(e="string"==typeof e?{text:e}:e||{}).text=e.text||null,e.id=e.text?e.id||"qrcode-description":null,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-title":null;var i,a,u,f=h.getModuleCount()*t+2*r,c="",l="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ";for(c+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',c+=o.scalable?"":' width="'+f+'px" height="'+f+'px"',c+=' viewBox="0 0 '+f+" "+f+'" ',c+=' preserveAspectRatio="xMinYMin meet"',c+=n.text||e.text?' role="img" aria-labelledby="'+y([n.id,e.id].join(" ").trim())+'"':"",c+=">",c+=n.text?'<title id="'+y(n.id)+'">'+y(n.text)+"</title>":"",c+=e.text?'<description id="'+y(e.id)+'">'+y(e.text)+"</description>":"",c+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',c+='<path d="',a=0;a<h.getModuleCount();a+=1)for(u=a*t+r,i=0;i<h.getModuleCount();i+=1)h.isDark(a,i)&&(c+="M"+(i*t+r)+","+u+l);return c+='" stroke="transparent" fill="black"/>',c+="</svg>"},h.createDataURL=function(o,t){o=o||2,t=void 0===t?4*o:t;var r=h.getModuleCount()*o+2*t,i=t,a=r-t;return P(r,r,function(t,r){if(i<=t&&t<a&&i<=r&&r<a){var e=Math.floor((t-i)/o),n=Math.floor((r-i)/o);return h.isDark(n,e)?0:1}return 1})},h.createImgTag=function(t,r,e){t=t||2,r=void 0===r?4*t:r;var n=h.getModuleCount()*t+2*r,o="";return o+="<img",o+=' src="',o+=h.createDataURL(t,r),o+='"',o+=' width="',o+=n,o+='"',o+=' height="',o+=n,o+='"',e&&(o+=' alt="',o+=y(e),o+='"'),o+="/>"};var y=function(t){for(var r="",e=0;e<t.length;e+=1){var n=t.charAt(e);switch(n){case"<":r+="&lt;";break;case">":r+="&gt;";break;case"&":r+="&amp;";break;case'"':r+="&quot;";break;default:r+=n}}return r};return h.createASCII=function(t,r){if((t=t||1)<2)return function(t){t=void 0===t?2:t;for(var r,e,n,o,i=+h.getModuleCount()+2*t,a=t,u=i-t,f={"██":"█","█ ":"▀"," █":"▄","  ":" "},c={"██":"▀","█ ":"▀"," █":" ","  ":" "},l="",s=0;s<i;s+=2){for(e=Math.floor(s-a),n=Math.floor(s+1-a),r=0;r<i;r+=1)o="█",a<=r&&r<u&&a<=s&&s<u&&h.isDark(e,Math.floor(r-a))&&(o=" "),a<=r&&r<u&&a<=s+1&&s+1<u&&h.isDark(n,Math.floor(r-a))?o+=" ":o+="█",l+=t<1&&u<=s+1?c[o]:f[o];l+="\n"}return i%2&&0<t?l.substring(0,l.length-i-1)+Array(1+i).join("▀"):l.substring(0,l.length-1)}(r);--t,r=void 0===r?2*t:r;for(var e,n,o,i=h.getModuleCount()*t+2*r,a=r,u=i-r,f=Array(t+1).join("██"),c=Array(t+1).join("  "),l="",s="",g=0;g<i;g+=1){for(n=Math.floor((g-a)/t),s="",e=0;e<i;e+=1)o=1,a<=e&&e<u&&a<=g&&g<u&&h.isDark(n,Math.floor((e-a)/t))&&(o=0),s+=o?f:c;for(n=0;n<t;n+=1)l+=s+"\n"}return l.substring(0,l.length-1)},h.renderTo2dContext=function(t,r){r=r||2;for(var e=h.getModuleCount(),n=0;n<e;n++)for(var o=0;o<e;o++)t.fillStyle=h.isDark(n,o)?"black":"white",t.fillRect(n*r,o*r,r,r)},h}i.stringToBytes=(i.stringToBytesFuncs={default:function(t){for(var r=[],e=0;e<t.length;e+=1){var n=t.charCodeAt(e);r.push(255&n)}return r}}).default,i.createStringToBytes=function(u,f){var i=function(){function t(){var t=r.read();if(-1==t)throw"eof";return t}for(var r=z(u),e=0,n={};;){var o=r.read();if(-1==o)break;var i=t(),a=t()<<8|t();n[String.fromCharCode(o<<8|i)]=a,e+=1}if(e!=f)throw e+" != "+f;return n}(),a="?".charCodeAt(0);return function(t){for(var r=[],e=0;e<t.length;e+=1){var n,o=t.charCodeAt(e);o<128?r.push(o):"number"==typeof(n=i[t.charAt(e)])?(255&n)==n?r.push(n):(r.push(n>>>8),r.push(255&n)):r.push(a)}return r}};var r,t,a=1,u=2,o=4,f=8,w={L:1,M:0,Q:3,H:2},e=0,n=1,c=2,l=3,s=4,g=5,h=6,d=7,m=(r=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],(t={}).getBCHTypeInfo=function(t){for(var r=t<<10;0<=v(r)-v(1335);)r^=1335<<v(r)-v(1335);return 21522^(t<<10|r)},t.getBCHTypeNumber=function(t){for(var r=t<<12;0<=v(r)-v(7973);)r^=7973<<v(r)-v(7973);return t<<12|r},t.getPatternPosition=function(t){return r[t-1]},t.getMaskFunction=function(t){switch(t){case e:return function(t,r){return(t+r)%2==0};case n:return function(t,r){return t%2==0};case c:return function(t,r){return r%3==0};case l:return function(t,r){return(t+r)%3==0};case s:return function(t,r){return(Math.floor(t/2)+Math.floor(r/3))%2==0};case g:return function(t,r){return t*r%2+t*r%3==0};case h:return function(t,r){return(t*r%2+t*r%3)%2==0};case d:return function(t,r){return(t*r%3+(t+r)%2)%2==0};default:throw"bad maskPattern:"+t}},t.getErrorCorrectPolynomial=function(t){for(var r=b([1],0),e=0;e<t;e+=1)r=r.multiply(b([1,p.gexp(e)],0));return r},t.getLengthInBits=function(t,r){if(1<=r&&r<10)switch(t){case a:return 10;case u:return 9;case o:case f:return 8;default:throw"mode:"+t}else if(r<27)switch(t){case a:return 12;case u:return 11;case o:return 16;case f:return 10;default:throw"mode:"+t}else{if(!(r<41))throw"type:"+r;switch(t){case a:return 14;case u:return 13;case o:return 16;case f:return 12;default:throw"mode:"+t}}},t.getLostPoint=function(t){for(var r=t.getModuleCount(),e=0,n=0;n<r;n+=1)for(var o=0;o<r;o+=1){for(var i=0,a=t.isDark(n,o),u=-1;u<=1;u+=1)if(!(n+u<0||r<=n+u))for(var f=-1;f<=1;f+=1)o+f<0||r<=o+f||0==u&&0==f||a==t.isDark(n+u,o+f)&&(i+=1);5<i&&(e+=3+i-5)}for(n=0;n<r-1;n+=1)for(o=0;o<r-1;o+=1){var c=0;t.isDark(n,o)&&(c+=1),t.isDark(n+1,o)&&(c+=1),t.isDark(n,o+1)&&(c+=1),t.isDark(n+1,o+1)&&(c+=1),0!=c&&4!=c||(e+=3)}for(n=0;n<r;n+=1)for(o=0;o<r-6;o+=1)t.isDark(n,o)&&!t.isDark(n,o+1)&&t.isDark(n,o+2)&&t.isDark(n,o+3)&&t.isDark(n,o+4)&&!t.isDark(n,o+5)&&t.isDark(n,o+6)&&(e+=40);for(o=0;o<r;o+=1)for(n=0;n<r-6;n+=1)t.isDark(n,o)&&!t.isDark(n+1,o)&&t.isDark(n+2,o)&&t.isDark(n+3,o)&&t.isDark(n+4,o)&&!t.isDark(n+5,o)&&t.isDark(n+6,o)&&(e+=40);for(var l=0,o=0;o<r;o+=1)for(n=0;n<r;n+=1)t.isDark(n,o)&&(l+=1);return e+=Math.abs(100*l/r/r-50)/5*10},t);function v(t){for(var r=0;0!=t;)r+=1,t>>>=1;return r}var p=function(){for(var r=new Array(256),e=new Array(256),t=0;t<8;t+=1)r[t]=1<<t;for(t=8;t<256;t+=1)r[t]=r[t-4]^r[t-5]^r[t-6]^r[t-8];for(t=0;t<255;t+=1)e[r[t]]=t;var n={glog:function(t){if(t<1)throw"glog("+t+")";return e[t]},gexp:function(t){for(;t<0;)t+=255;for(;256<=t;)t-=255;return r[t]}};return n}();function b(n,o){if(void 0===n.length)throw n.length+"/"+o;var r=function(){for(var t=0;t<n.length&&0==n[t];)t+=1;for(var r=new Array(n.length-t+o),e=0;e<n.length-t;e+=1)r[e]=n[e+t];return r}(),i={getAt:function(t){return r[t]},getLength:function(){return r.length},multiply:function(t){for(var r=new Array(i.getLength()+t.getLength()-1),e=0;e<i.getLength();e+=1)for(var n=0;n<t.getLength();
vendor: 7,657 bytes, line 401
401n+=1)r[e+n]^=p.gexp(p.glog(i.getAt(e))+p.glog(t.getAt(n)));return b(r,0)},mod:function(t){if(i.getLength()-t.getLength()<0)return i;for(var r=p.glog(i.getAt(0))-p.glog(t.getAt(0)),e=new Array(i.getLength()),n=0;n<i.getLength();n+=1)e[n]=i.getAt(n);for(n=0;n<t.getLength();n+=1)e[n]^=p.gexp(p.glog(t.getAt(n))+r);return b(e,0).mod(t)}};return i}function y(){var e=[],o={writeByte:function(t){e.push(255&t)},writeShort:function(t){o.writeByte(t),o.writeByte(t>>>8)},writeBytes:function(t,r,e){r=r||0,e=e||t.length;for(var n=0;n<e;n+=1)o.writeByte(t[n+r])},writeString:function(t){for(var r=0;r<t.length;r+=1)o.writeByte(t.charCodeAt(r))},toByteArray:function(){return e},toString:function(){var t="";t+="[";for(var r=0;r<e.length;r+=1)0<r&&(t+=","),t+=e[r];return t+="]"}};return o}function x(){function e(t){a+=String.fromCharCode(r(63&t))}var n=0,o=0,i=0,a="",t={},r=function(t){if(!(t<0)){if(t<26)return 65+t;if(t<52)return t-26+97;if(t<62)return t-52+48;if(62==t)return 43;if(63==t)return 47}throw"n:"+t};return t.writeByte=function(t){for(n=n<<8|255&t,o+=8,i+=1;6<=o;)e(n>>>o-6),o-=6},t.flush=function(){if(0<o&&(e(n<<6-o),o=n=0),i%3!=0)for(var t=3-i%3,r=0;r<t;r+=1)a+="="},t.toString=function(){return a},t}function k(t,r){var n=t,o=r,d=new Array(t*r),e={setPixel:function(t,r,e){d[r*n+t]=e},write:function(t){t.writeString("GIF87a"),t.writeShort(n),t.writeShort(o),t.writeByte(128),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(255),t.writeByte(255),t.writeByte(255),t.writeString(","),t.writeShort(0),t.writeShort(0),t.writeShort(n),t.writeShort(o),t.writeByte(0);var r=i(2);t.writeByte(2);for(var e=0;255<r.length-e;)t.writeByte(255),t.writeBytes(r,e,255),e+=255;t.writeByte(r.length-e),t.writeBytes(r,e,r.length-e),t.writeByte(0),t.writeString(";")}},i=function(t){for(var r=1<<t,e=1+(1<<t),n=t+1,o=v(),i=0;i<r;i+=1)o.add(String.fromCharCode(i));o.add(String.fromCharCode(r)),o.add(String.fromCharCode(e));var a,u,f,c=y(),l=(a=c,f=u=0,{write:function(t,r){if(t>>>r!=0)throw"length over";for(;8<=u+r;)a.writeByte(255&(t<<u|f)),r-=8-u,t>>>=8-u,u=f=0;f|=t<<u,u+=r},flush:function(){0<u&&a.writeByte(f)}});l.write(r,n);var s=0,g=String.fromCharCode(d[s]);for(s+=1;s<d.length;){var h=String.fromCharCode(d[s]);s+=1,o.contains(g+h)?g+=h:(l.write(o.indexOf(g),n),o.size()<4095&&(o.size()==1<<n&&(n+=1),o.add(g+h)),g=h)}return l.write(o.indexOf(g),n),l.write(e,n),l.flush(),c.toByteArray()},v=function(){var r={},e=0,n={add:function(t){if(n.contains(t))throw"dup key:"+t;r[t]=e,e+=1},size:function(){return e},indexOf:function(t){return r[t]},contains:function(t){return void 0!==r[t]}};return n};return e}var B,C,S=(B=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],(C={}).getRSBlocks=function(t,r){var e=function(t,r){switch(r){case w.L:return B[4*(t-1)+0];case w.M:return B[4*(t-1)+1];case w.Q:return B[4*(t-1)+2];case w.H:return B[4*(t-1)+3];default:return}}(t,r);if(void 0===e)throw"bad rs block @ typeNumber:"+t+"/errorCorrectionLevel:"+r;for(var n,o,i=e.length/3,a=[],u=0;u<i;u+=1)for(var f=e[3*u+0],c=e[3*u+1],l=e[3*u+2],s=0;s<f;s+=1)a.push((n=l,o=void 0,(o={}).totalCount=c,o.dataCount=n,o));return a},C),M=function(){var e=[],n=0,o={getBuffer:function(){return e},getAt:function(t){var r=Math.floor(t/8);return 1==(e[r]>>>7-t%8&1)},put:function(t,r){for(var e=0;e<r;e+=1)o.putBit(1==(t>>>r-e-1&1))},getLengthInBits:function(){return n},putBit:function(t){var r=Math.floor(n/8);e.length<=r&&e.push(0),t&&(e[r]|=128>>>n%8),n+=1}};return o},A=function(t){var r=a,n=t,e={getMode:function(){return r},getLength:function(t){return n.length},write:function(t){for(var r=n,e=0;e+2<r.length;)t.put(o(r.substring(e,e+3)),10),e+=3;e<r.length&&(r.length-e==1?t.put(o(r.substring(e,e+1)),4):r.length-e==2&&t.put(o(r.substring(e,e+2)),7))}},o=function(t){for(var r=0,e=0;e<t.length;e+=1)r=10*r+i(t.charAt(e));return r},i=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+t};return e},L=function(t){var r=u,n=t,e={getMode:function(){return r},getLength:function(t){return n.length},write:function(t){for(var r=n,e=0;e+1<r.length;)t.put(45*o(r.charAt(e))+o(r.charAt(e+1)),11),e+=2;e<r.length&&t.put(o(r.charAt(e)),6)}},o=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);if("A"<=t&&t<="Z")return t.charCodeAt(0)-"A".charCodeAt(0)+10;switch(t){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+t}};return e},D=function(t){var r=o,e=i.stringToBytes(t),n={getMode:function(){return r},getLength:function(t){return e.length},write:function(t){for(var r=0;r<e.length;r+=1)t.put(e[r],8)}};return n},_=function(t){var r=f,e=i.stringToBytesFuncs.SJIS;if(!e)throw"sjis not supported.";!function(){var t=e("友");
401if(2!=t.length||38726!=(t[0]<<8|t[1]))throw"sjis not supported."}();var o=e(t),n={getMode:function(){return r},getLength:function(t){return~~(o.length/2)},write:function(t){for(var r=o,e=0;e+1<r.length;){var n=(255&r[e])<<8|255&r[e+1];if(33088<=n&&n<=40956)n-=33088;else{if(!(57408<=n&&n<=60351))throw"illegal char at "+(e+1)+"/"+n;n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13),e+=2}if(e<r.length)throw"illegal char at "+(e+1)}};return n},z=function(t){var e=t,n=0,o=0,i=0,r={read:function(){for(;i<8;){if(n>=e.length){if(0==i)return-1;throw"unexpected end of file./"+i}var t=e.charAt(n);if(n+=1,"="==t)return i=0,-1;t.match(/^\s$/)||(o=o<<6|a(t.charCodeAt(0)),i+=6)}var r=o>>>i-8&255;return i-=8,r}},a=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return r},P=function(t,r,e){for(var n=k(t,r),o=0;o<r;o+=1)for(var i=0;i<t;i+=1)n.setPixel(i,o,e(i,o));var a=y();n.write(a);for(var u=x(),f=a.toByteArray(),c=0;c<f.length;c+=1)u.writeByte(f[c]);return u.flush(),"data:image/gif;base64,"+u};return i}();a.stringToBytesFuncs["UTF-8"]=function(t){return function(t){for(var r=[],e=0;e<t.length;e++){var n=t.charCodeAt(e);n<128?r.push(n):n<2048?r.push(192|n>>6,128|63&n):n<55296||57344<=n?r.push(224|n>>12,128|n>>6&63,128|63&n):(e++,n=65536+((1023&n)<<10|1023&t.charCodeAt(e)),r.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return r}(t)},o=[],void 0===(i="function"==typeof(n=function(){return a})?n.apply(r,o):n)||(t.exports=i)},function(t,r,e){function c(t,r,e,n,o,i){t.is_dark(o,i)&&r.rect(i*n,o*n,n,n)}function a(t,r,e){var n,o;n=r,(o=e).back&&(n.fillStyle=o.back,n.fillRect(0,0,o.size,o.size)),function(t,r,e){if(t){var n=0<e.rounded&&e.rounded<=100?l:c,o=t.module_count,i=e.size/o,a=0;e.crisp&&(i=Math.floor(i),a=Math.floor((e.size-i*o)/2)),r.translate(a,a),r.beginPath();for(var u=0;u<o;u+=1)for(var f=0;f<o;f+=1)n(t,r,e,i,u,f);r.fillStyle=e.fill,r.fill(),r.translate(-a,-a)}}(t,r,e),i(r,e)}var u=e(5),l=e(6),i=e(7);t.exports=function(t,r,e){var n=r.ratio||u.dpr,o=u.create_canvas(r.size,n),i=o.getContext("2d");return i.scale(n,n),a(t,i,r),e?u.canvas_to_img(o):o}},function(t,r){function e(t,r){return t.getAttribute(r)}function n(r,e){return Object.keys(e||{}).forEach(function(t){r.setAttribute(t,e[t])}),r}function o(t,r){return n(a.createElement(t),r)}var i=window,a=i.document,u=i.devicePixelRatio||1,f="http://www.w3.org/2000/svg";t.exports={dpr:u,SVG_NS:f,get_attr:e,create_el:o,create_svg_el:function(t,r){return n(a.createElementNS(f,t),r)},create_canvas:function(t,r){var e=o("canvas",{width:t*r,height:t*r});return e.style.width="".concat(t,"px"),e.style.height="".concat(t,"px"),e},canvas_to_img:function(t){var r=o("img",{crossOrigin:"anonymous",src:t.toDataURL("image/png"),width:e(t,"width"),height:e(t,"height")});return r.style.width=t.style.width,r.style.height=t.style.height,r}}},function(t,r){t.exports=function(t,r,e,n,o,i){var a,u,f,c,l,s,g,h,d,v,p,y,w,m,b,x,k,B,C,S,M=i*n,A=o*n,L=M+n,D=A+n,_=.005*e.rounded*n,z=t.is_dark,P=o-1,T=o+1,j=i-1,I=i+1,O=z(o,i),R=z(P,j),F=z(P,i),H=z(P,I),N=z(o,I),E=z(T,I),Y=z(T,i),q=z(T,j),U=z(o,j),W=(a=r,{m:function(t,r){return a.moveTo(t,r),this},l:function(t,r){return a.lineTo(t,r),this},a:function(){return a.arcTo.apply(a,arguments),this}});O?(p=W,y=M,w=A,m=L,b=D,x=_,B=!F&&!N,C=!Y&&!N,S=!Y&&!U,(k=!F&&!U)?p.m(y+x,w):p.m(y,w),B?p.l(m-x,w).a(m,w,m,b,x):p.l(m,w),C?p.l(m,b-x).a(m,b,y,b,x):p.l(m,b),S?p.l(y+x,b).a(y,b,y,w,x):p.l(y,b),k?p.l(y,w+x).a(y,w,m,w,x):p.l(y,w)):(u=W,f=M,c=A,l=L,s=D,g=_,h=F&&N&&H,d=Y&&N&&E,v=Y&&U&&q,F&&U&&R&&u.m(f+g,c).l(f,c).l(f,c+g).a(f,c,f+g,c,g),h&&u.m(l-g,c).l(l,c).l(l,c+g).a(l,c,l-g,c,g),d&&u.m(l-g,s).l(l,s).l(l,s-g).a(l,s,l-g,s,g),v&&u.m(f+g,s).l(f,s).l(f,s-g).a(f,s,f+g,s,g))}},function(t,r){t.exports=function(t,r){var e,n,o,i,a,u,f,c,l,s,g,h=r.mode;"label"===h?function(t,r){var e=r.size,n="bold "+.01*r.mSize*e+"px "+r.fontname;t.strokeStyle=r.back,t.lineWidth=.01*r.mSize*e*.1,t.fillStyle=r.fontcolor,t.font=n;var o=t.measureText(r.label).width,i=.01*r.mSize,a=(1-o/e)*r.mPosX*.01*e,u=(1-i)*r.mPosY*.01*e+.75*r.mSize*.01*e;t.strokeText(r.label,a,u),t.fillText(r.label,a,u)}
401(t,r):"image"===h&&(e=t,o=(n=r).size,i=n.image.naturalWidth||1,a=n.image.naturalHeight||1,u=.01*n.mSize,c=(1-(f=u*i/a))*n.mPosX*.01*o,l=(1-u)*n.mPosY*.01*o,s=f*o,g=u*o,e.drawImage(n.image,c,l,s,g))}},function(t,r,y){function J(n){function o(t){return Math.round(10*t)/10}function i(t){return Math.round(10*t)/10+n.o}return{m:function(t,r){return n.p+="M ".concat(i(t)," ").concat(i(r)," "),this},l:function(t,r){return n.p+="L ".concat(i(t)," ").concat(i(r)," "),this},a:function(t,r,e){return n.p+="A ".concat(o(e)," ").concat(o(e)," 0 0 1 ").concat(i(t)," ").concat(i(r)," "),this}}}var e=y(5),w=e.SVG_NS,m=e.get_attr,b=e.create_svg_el;t.exports=function(t,r){var e,n,o,i,a,u,f,c,l,s,g,h,d=r.size,v=r.mode,p=b("svg",{xmlns:w,width:d,height:d,viewBox:"0 0 ".concat(d," ").concat(d)});return p.style.width="".concat(d,"px"),p.style.height="".concat(d,"px"),r.back&&p.appendChild(b("rect",{x:0,y:0,width:d,height:d,fill:r.back})),p.appendChild(b("path",{d:function(t,r){if(!t)return"";var e={p:"",o:0},n=t.module_count,o=r.size/n;r.crisp&&(o=Math.floor(o),e.o=Math.floor((r.size-o*n)/2));for(var i,a,u,f,c,l,s,g,h,d,v,p,y,w,m,b,x,k,B,C,S,M,A,L,D,_,z,P,T,j,I,O,R,F,H,N,E,Y,q,U,W,X,V,G=J(e),Q=0;Q<n;Q+=1)for(var $=0;$<n;$+=1)i=t,a=G,V=X=W=U=q=Y=E=N=H=F=R=O=I=j=T=P=z=_=D=L=A=M=S=C=B=k=x=b=m=w=y=p=v=d=h=g=s=l=void 0,z=(D=(c=$)*(u=o))+u,P=(_=(f=Q)*u)+u,T=.005*r.rounded*u,j=i.is_dark,I=f-1,O=f+1,R=c-1,F=c+1,H=j(f,c),N=j(I,R),E=j(I,c),Y=j(I,F),q=j(f,F),U=j(O,F),W=j(O,c),X=j(O,R),V=j(f,R),H?(m=a,b=D,x=_,k=z,B=P,C=T,M=!E&&!q,A=!W&&!q,L=!W&&!V,(S=!E&&!V)?m.m(b+C,x):m.m(b,x),M?m.l(k-C,x).a(k,x+C,C):m.l(k,x),A?m.l(k,B-C).a(k-C,B,C):m.l(k,B),L?m.l(b+C,B).a(b,B-C,C):m.l(b,B),S?m.l(b,x+C).a(b+C,x,C):m.l(b,x)):(l=a,s=D,g=_,h=z,d=P,v=T,p=E&&q&&Y,y=W&&q&&U,w=W&&V&&X,E&&V&&N&&l.m(s+v,g).l(s,g).l(s,g+v).a(s+v,g,v),p&&l.m(h,g+v).l(h,g).l(h-v,g).a(h,g+v,v),y&&l.m(h-v,d).l(h,d).l(h,d-v).a(h-v,d,v),w&&l.m(s,d-v).l(s,d).l(s+v,d).a(s,d-v,v));return e.p}(t,r),fill:r.fill})),"label"===v?function(t,r){var e=r.size,n="bold "+.01*r.mSize*e+"px "+r.fontname,o=y(5),i=r.ratio||o.dpr,a=o.create_canvas(e,i).getContext("2d");a.strokeStyle=r.back,a.lineWidth=.01*r.mSize*e*.1,a.fillStyle=r.fontcolor,a.font=n;var u=a.measureText(r.label).width,f=.01*r.mSize,c=(1-u/e)*r.mPosX*.01*e,l=(1-f)*r.mPosY*.01*e+.75*r.mSize*.01*e,s=b("text",{x:c,y:l});Object.assign(s.style,{font:n,fill:r.fontcolor,"paint-order":"stroke",stroke:r.back,"stroke-width":a.lineWidth}),s.textContent=r.label,t.appendChild(s)}(p,r):"image"===v&&(e=p,o=(n=r).size,i=n.image.naturalWidth||1,a=n.image.naturalHeight||1,u=.01*n.mSize,c=(1-(f=u*i/a))*n.mPosX*.01*o,l=(1-u)*n.mPosY*.01*o,s=f*o,g=u*o,h=b("image",{href:m(n.image,"src"),x:c,y:l,width:s,height:g}),e.appendChild(h)),p}}],o.c=n,o.d=function(t,r,e){o.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(r,t){if(1&t&&(r=o(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var n in r)o.d(e,n,function(t){return r[t]}.bind(null,n));return e},o.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(r,"a",r),r},o.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},o.p="",o(o.s=0);function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}var e,n});;
402/**
403 * Minified by jsDelivr using Terser v5.10.0.
404 * Original file: /npm/[email protected]/dist/confetti.browser.js
405 *
406 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
407 */
408!function(t,e){!function t(e,n,a,i){var o=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL);function r(){}function l(t){var a=n.exports.Promise,i=void 0!==a?a:e.Promise;return"function"==typeof i?new i(t):(t(r,r),null)}var c,s,u,d,f,h,m,g,b,v=(u=Math.floor(1e3/60),d={},f=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(c=function(t){var e=Math.random();return d[e]=requestAnimationFrame((function n(a){f===a||f+u-1<a?(f=a,delete d[e],t()):d[e]=requestAnimationFrame(n)})),e},s=function(t){d[t]&&cancelAnimationFrame(d[t])}):(c=function(t){return setTimeout(t,u)},s=function(t){return clearTimeout(t)}),{frame:c,cancel:s}),p=(g={},function(){if(h)return h;if(!a&&o){var e=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {","  if (msg.data.options) {","    CONFETTI(msg.data.options).then(function () {","      if (msg.data.callback) {","        postMessage({ callback: msg.data.callback });","      }","    });","  } else if (msg.data.reset) {","    CONFETTI.reset();","  } else if (msg.data.resize) {","    SIZE.width = msg.data.resize.width;","    SIZE.height = msg.data.resize.height;","  } else if (msg.data.canvas) {","    SIZE.width = msg.data.canvas.width;","    SIZE.height = msg.data.canvas.height;","    CONFETTI = module.exports.create(msg.data.canvas);","  }","}"].join("\n");try{h=new Worker(URL.createObjectURL(new Blob([e])))}catch(t){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",t),null}!function(t){function e(e,n){t.postMessage({options:e||{},callback:n})}t.init=function(e){var n=e.transferControlToOffscreen();t.postMessage({canvas:n},[n])},t.fire=function(n,a,i){if(m)return e(n,null),m;var o=Math.random().toString(36).slice(2);return m=l((function(a){function r(e){e.data.callback===o&&(delete g[o],t.removeEventListener("message",r),m=null,i(),a())}t.addEventListener("message",r),e(n,o),g[o]=r.bind(null,{data:{callback:o}})}))},t.reset=function(){for(var e in t.postMessage({reset:!0}),g)g[e](),delete g[e]}}(h)}return h}),y={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function M(t,e,n){return function(t,e){return e?e(t):t}(t&&null!=t[e]?t[e]:y[e],n)}function w(t){return t<0?0:Math.floor(t)}function x(t){return parseInt(t,16)}function C(t){return t.map(k)}function k(t){var e=String(t).replace(/[^0-9a-f]/gi,"");return e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:x(e.substring(0,2)),g:x(e.substring(2,4)),b:x(e.substring(4,6))}}function I(t){t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight}function S(t){var e=t.getBoundingClientRect();t.width=e.width,t.height=e.height}function T(t,e,n,o,r){var c,s,u=e.slice(),d=t.getContext("2d"),f=l((function(e){function l(){c=s=null,d.clearRect(0,0,o.width,o.height),r(),e()}c=v.frame((function e(){!a||o.width===i.width&&o.height===i.height||(o.width=t.width=i.width,o.height=t.height=i.height),o.width||o.height||(n(t),o.width=t.width,o.height=t.height),d.clearRect(0,0,o.width,o.height),u=u.filter((function(t){return function(t,e){e.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.wobble+=e.wobbleSpeed,e.velocity
408*=e.decay,e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2,e.wobbleX=e.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.y+10*e.scalar*Math.sin(e.wobble);var n=e.tick++/e.totalTicks,a=e.x+e.random*e.tiltCos,i=e.y+e.random*e.tiltSin,o=e.wobbleX+e.random*e.tiltCos,r=e.wobbleY+e.random*e.tiltSin;return t.fillStyle="rgba("+e.color.r+", "+e.color.g+", "+e.color.b+", "+(1-n)+")",t.beginPath(),"circle"===e.shape?t.ellipse?t.ellipse(e.x,e.y,Math.abs(o-a)*e.ovalScalar,Math.abs(r-i)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):function(t,e,n,a,i,o,r,l,c){t.save(),t.translate(e,n),t.rotate(o),t.scale(a,i),t.arc(0,0,1,r,l,c),t.restore()}(t,e.x,e.y,Math.abs(o-a)*e.ovalScalar,Math.abs(r-i)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):(t.moveTo(Math.floor(e.x),Math.floor(e.y)),t.lineTo(Math.floor(e.wobbleX),Math.floor(i)),t.lineTo(Math.floor(o),Math.floor(r)),t.lineTo(Math.floor(a),Math.floor(e.wobbleY))),t.closePath(),t.fill(),e.tick<e.totalTicks}(d,t)})),u.length?c=v.frame(e):l()})),s=l}));return{addFettis:function(t){return u=u.concat(t),f},canvas:t,promise:f,reset:function(){c&&v.cancel(c),s&&s()}}}function E(t,n){var a,i=!t,r=!!M(n||{},"resize"),c=M(n,"disableForReducedMotion",Boolean),s=o&&!!M(n||{},"useWorker")?p():null,u=i?I:S,d=!(!t||!s)&&!!t.__confetti_initialized,f="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function h(e,n,i){for(var o,r,l,c,s,d=M(e,"particleCount",w),f=M(e,"angle",Number),h=M(e,"spread",Number),m=M(e,"startVelocity",Number),g=M(e,"decay",Number),b=M(e,"gravity",Number),v=M(e,"drift",Number),p=M(e,"colors",C),y=M(e,"ticks",Number),x=M(e,"shapes"),k=M(e,"scalar"),I=function(t){var e=M(t,"origin",Object);return e.x=M(e,"x",Number),e.y=M(e,"y",Number),e}(e),S=d,E=[],F=t.width*I.x,N=t.height*I.y;S--;)E.push((o={x:F,y:N,angle:f,spread:h,startVelocity:m,color:p[S%p.length],shape:x[(c=0,s=x.length,Math.floor(Math.random()*(s-c))+c)],ticks:y,decay:g,gravity:b,drift:v,scalar:k},r=void 0,l=void 0,r=o.angle*(Math.PI/180),l=o.spread*(Math.PI/180),{x:o.x,y:o.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*o.startVelocity+Math.random()*o.startVelocity,angle2D:-r+(.5*l-Math.random()*l),tiltAngle:(.5*Math.random()+.25)
408*Math.PI,color:o.color,shape:o.shape,tick:0,totalTicks:o.ticks,decay:o.decay,drift:o.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*o.gravity,ovalScalar:.6,scalar:o.scalar}));return a?a.addFettis(E):(a=T(t,E,u,n,i)).promise}function m(n){var o=c||M(n,"disableForReducedMotion",Boolean),m=M(n,"zIndex",Number);if(o&&f)return l((function(t){t()}));i&&a?t=a.canvas:i&&!t&&(t=function(t){var e=document.createElement("canvas");return e.style.position="fixed",e.style.top="0px",e.style.left="0px",e.style.pointerEvents="none",e.style.zIndex=t,e}(m),document.body.appendChild(t)),r&&!d&&u(t);var g={width:t.width,height:t.height};function b(){if(s){var e={getBoundingClientRect:function(){if(!i)return t.getBoundingClientRect()}};return u(e),void s.postMessage({resize:{width:e.width,height:e.height}})}g.width=g.height=null}function v(){a=null,r&&e.removeEventListener("resize",b),i&&t&&(document.body.removeChild(t),t=null,d=!1)}return s&&!d&&s.init(t),d=!0,s&&(t.__confetti_initialized=!0),r&&e.addEventListener("resize",b,!1),s?s.fire(n,g,v):h(n,g,v)}return m.reset=function(){s&&s.reset(),a&&a.reset()},m}function F(){return b||(b=E(null,{useWorker:!0,resize:!0})),b}n.exports=function(){return F().apply(this,arguments)},n.exports.reset=function(){F().reset()},n.exports.create=E}(function(){return void 0!==t?t:"undefined"!=typeof self?self:this||{}}(),e,!1),t.confetti=e.exports}(window,{});
409;
410const lib=(()=>{const m=a=>({start:new L.divIcon({html:'<svg viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="black" stroke-width="5" fill="#00d900" /></svg>',className:"",iconSize:[14,14],iconAnchor:[7,7]}),finish:new L.divIcon({html:'<svg viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="black" stroke-width="5" fill="red" /></svg>',className:"",iconSize:[14,14],iconAnchor:[7,7]}),move:new L.divIcon({html:'<svg viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="black" stroke-width="5" fill="rgba(0,0,0,.4)" /></svg>',
411className:"",iconSize:[12,12],iconAnchor:[6,6]}),waypoint:new L.divIcon({html:'<svg viewBox="0 0 100 100"><circle cx="50" cy="50" r="44" stroke="rgba(0,0,0,.5)" stroke-width="3" fill="rgba(255,255,255,.5)" /></svg>',className:"",iconSize:[12,12],iconAnchor:[6,6]}),poi:new L.divIcon({html:'<svg viewBox="0 0 100 100"><circle cx="50" cy="50" r="44" stroke="rgba(0,0,0,.5)" stroke-width="3" fill="#ed8959" /></svg>',className:"",iconSize:[12,12],iconAnchor:[6,6]}),bearing:new L.divIcon({html:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="transform:rotate(0deg)"><path d="M505.752,358.248L271.085,123.582c-8.331-8.331-21.839-8.331-30.17,0L6.248,358.248c-8.331,8.331-8.331,21.839,0,30.17\n\t\t\ts21.839,8.331,30.17,0L256,168.837l219.582,219.582c8.331,8.331,21.839,8.331,30.17,0S514.083,366.58,505.752,358.248z"/></svg>',
412className:"",iconSize:[12,12],iconAnchor:[6,6]}),pause:new L.divIcon({html:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#1f4a87" d="M64 32C28.7 32 0 60.7 0 96v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm128 224h48c17.7 0 32-14.3 32-32s-14.3-32-32-32h-48v64zm48 64h-48v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V168c0-22.1 17.9-40 40-40h72c53 0 96 43 96 96s-43 96-96 96z"/></svg>',className:"pause-icon",iconSize:[12,12],iconAnchor:[6,6]}),restaurant:L.divIcon({html:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#000" d="M416 0c-16 0-128 32-128 176v112c0 35.3 28.7 64 64 64h32v128c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32zM64 16C64 7.8 57.9 1 49.7.1S34.2 4.6 32.4 12.5L2.1 148.8C.7 155.1 0 161.5 0 167.9c0 45.9 35.1 83.6 80 87.7V480c0 17.7 14.3 32 32 32s32-14.3 32-32V255.6c44.9-4.1 80-41.8 80-87.7c0-6.4-.7-12.8-2.1-19.1L191.6 12.5c-1.8-8-9.3-13.3-17.4-12.4S160 7.8 160 16v134.2c0 5.4-4.4 9.8-9.8 9.8c-5.1 0-9.3-3.9-9.8-9L127.9 14.6C127.2 6.3 120.3 0 112 0S96.8 6.3 96.1 14.6L83.7 151c-.5 5.1-4.7 9-9.8 9c-5.4 0-9.8-4.4-9.8-9.8V16zm48.3 152h-.6l.3-.7l.3.7z"/></svg>',
413className:"pause-icon",iconSize:[12,12],iconAnchor:[6,6]}),hotel:L.divIcon({html:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
413<path fill="#000" d="M1 19V4h2v10h8V6h8q1.65 0 2.825 1.175T23 10v9h-2v-3H3v3zm6-6q-1.25 0-2.125-.875T4 10t.875-2.125T7 7t2.125.875T10 10t-.875 2.125T7 13"/></svg>',className:"pause-icon",iconSize:[12,12],iconAnchor:[6,6]}),coffee:new L.divIcon({html:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="#000" d="M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"/></svg>',
414className:"pause-icon",iconSize:[12,12],iconAnchor:[6,6]}),gas:new L.divIcon({html:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#000" d="M32 64C32 28.7 60.7 0 96 0h160c35.3 0 64 28.7 64 64v192h8c48.6 0 88 39.4 88 88v32c0 13.3 10.7 24 24 24s24-10.7 24-24V222c-27.6-7.1-48-32.2-48-62V96l-32-32c-8.8-8.8-8.8-23.2 0-32s23.2-8.8 32 0l77.3 77.3c12 12 18.7 28.3 18.7 45.3V376c0 39.8-32.2 72-72 72s-72-32.2-72-72v-32c0-22.1-17.9-40-40-40h-8v144c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32V64zm64 16v96c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H112c-8.8 0-16 7.2-16 16z"/></svg>',
415className:"pause-icon",iconSize:[12,12],iconAnchor:[6,6]}),viewpoint:new L.divIcon({html:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#000" d="M128 32h32c17.7 0 32 14.3 32 32v32H96V64c0-17.7 14.3-32 32-32zm64 96v320c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32v-59.1c0-34.6 9.4-68.6 27.2-98.3C40.9 267.8 49.7 242.4 53 216l7.5-60c2-16 15.6-28 31.8-28H192zm227.8 0c16.1 0 29.8 12 31.8 28l7.4 60c3.3 26.4 12.1 51.8 25.8 74.6c17.8 29.7 27.2 63.7 27.2 98.3V448c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V128h99.8zM320 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32v32h-96V64zm-32 64v160h-64V128h64z"/></svg>',
416className:"pause-icon",iconSize:[12,12],iconAnchor:[6,6]}),markerRed:new L.Icon({iconUrl:"/pics/markers/marker-icon-2x-red.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]}),markerGreen:new L.Icon({iconUrl:"/pics/markers/marker-icon-2x-green.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]}),markerGray:new L.Icon({iconUrl:"/pics/markers/marker-icon-2x-grey.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]}),
417markerPark:new L.Icon({iconUrl:"/pics/markers/marker-icon-2x-park.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]})})[a]||!1,l=(a,b)=>{b=b||"waypoint";a[2]?.pause&&(b=a[2].pause.icon);const c=L.marker([a[0],a[1]],{icon:m(b)});if(a[2]){let d=[];a[2]?.desc&&d.push('<div class="icon desc">'+a[2].desc+"</div>");a[2]?.pause&&d.push('<div class="icon '+b+'">'+a[2].pause.desc+"</div>");c.bindPopup(d.join("")).on("mouseover",e=>{e.target.openPopup()}).on("mouseout",e=>{e.target.closePopup()})}return c};
418return{isTouchDevice:()=>{if("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)return!0;const a=["("," -webkit- -moz- -o- -ms- ".split(" ").join("touch-enabled),("),"heartz)"].join("");return window.matchMedia(a).matches},getMapIcon:m,escapeHtml:a=>{const b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return a.replace(/[&<>"']/g,function(c){return b[c]})},nl2br:a=>a.trim().replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1<br>$2"),getTravelModeIcon:a=>'<iconify-icon icon="'+
419{driving:"fa-solid:car-alt",bicycling:"fa-solid:biking",walking:"fa-solid:walking"}[a]+'" inline></iconify-icon>',convertUnit:(a,b,c="metric")=>{switch(a){case "alt":case "altitude":return"imperial"==c?Math.round(3.28084*b)+"ft":Math.round(b)+"m";case "speed":return"imperial"==c?(2.23694*b).toFixed(1)+"mph":(3.6*b).toFixed(1)+"km/h";case "dist":case "distance":return"imperial"==c?(b/1E3*.621371).toFixed(1E3>b?2:1)+"mi":(b/1E3).toFixed(1E3>b?2:1)+"km"}},formatDuration:a=>{var b=a;a=Math.floor(b/86400);
420b-=86400*a;const c=Math.floor(b/3600);b=Math.floor((b-3600*c)/60);const d=[];a&&d.push(a+"d");d.push(c+":"+(10>b?"0"+b:b));return d.join(" ")},formatDistance:(a,b="metric")=>{if(!Number.isInteger(a))throw new TypeError("formatDistance expects meters as an integer.");if("metric"===b)return 1E3>a?`${a}m`:`${Math.round(a/1E3*10)/10}km`;b=a/1609.344;return 1>b?`${Math.round(3.280839895013123*a)}ft`:`${Math.round(10*b)/10}mi`},drawTinyRouteMap:(a,b,c,d=!1)=>{let e=L.layerGroup();const g=b.length;a=L.map(a,
421{zoom:13,detectRetina:!0,zoomControl:!1,scrollWheelZoom:!1,dragging:!L.Browser.mobile,tap:!L.Browser.mobile});L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(a);d&&L.control.zoom({position:"bottomright"}).addTo(a);a.addLayer(e);d=L.polyline(c?Polyline.decode(c):b,{color:"#4a99f7",weight:5}).addTo(a);a.fitBounds(d.getBounds());let f=b[0];l(f,"start").addTo(e);for(let h=1;h<g-
4221;h++)f=b[h],f[2]?.pause&&l(f).addTo(e);f=b[g-1];l(f,"finish").addTo(e);c&&(b=L.animatedMarker(d.getLatLngs(),{icon:m("move"),distance:300,interval:200}),a.addLayer(b));return{map:a,markersLyr:e}},$_GET:a=>(new URLSearchParams(location.search)).get(a)||!1,word:(...a)=>{let b=ZMprops.words[a[0]];for(let c=1;c<a.length;c++)b=b.replace(new RegExp("#"+c,"g"),a[c]);return b}
422,cookie:(a,b)=>{var c=new Date;const d={};var e=RegExp("(?:^|; )ZM=([^;]*)").exec(document.cookie);e=e?decodeURIComponent(e[1]):null;
423if(null!==e){e=e.split("||");for(let g in e)try{const f=e[g].split("|",2);d[f[0]]=f[1]}catch(f){}}if(void 0===b)return a in d?JSON.parse(d[a]):void 0;null===b||!1===b?delete d[a]:d[a]=JSON.stringify(b);a=[];for(let g in d)a.push(g+"|"+d[g]);c.setTime(c.getTime()+15768E7);c="; expires="+c.toGMTString();document.cookie="ZM="+encodeURIComponent(a.join("||"))+c+"; path=/; SameSite=Lax"},shareSocials:(a,b,c)=>{const d={url:b||window.location.href,text:c||$.trim($("meta[name=description]").attr("content")||
424$("title").text())},e={twitter:"https://twitter.com/share?url={url}&text={text}",facebook:"https://facebook.com/sharer/sharer.php?u={url}",linkedin:"https://www.linkedin.com/shareArticle?mini=true&url={url}",pinterest:"https://pinterest.com/pin/create/bookmarklet/?url={url}&description={text}",stumbleupon:"http://www.stumbleupon.com/submit?url={url}&title={title}",whatsapp:"whatsapp://send?text={url} {text}",messenger:"fb-messenger://share?link={url}",instagram:"https://www.instagram.com/"},g=/(&?[a-zA-Z0-9]+=)?\{([a-zA-Z0-9]+)\}/g,
425f=h=>h.replace(g,(k,n,p)=>(k=d[p]||"")?(n||"")+window.encodeURIComponent(k):"");$("[data-social]",a).each((h,k)=>{h=$(k).data("social");const n=f(e[h]);$(k).on("click",p=>{p.preventDefault();window.open(n,null,"width=600,height=400,location=0,menubar=0,resizeable=0,scrollbars=0,status=0,titlebar=0,toolbar=0")})})},isFavorite:a=>{const b=$("body").data("favorites");return b?-1!=b.indexOf(a):alert("<body> does not have data-favorites attribute!")},toggleFavorite:async a=>{a=await (await fetch("/ajax/",
426{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"toggleFavorite",routeID:a})})).json();$("body").data("favorites",a.data.favorites);$(document).trigger("change:routeFavorites");return a.favorites},getMarker:l,reduceArray:(a,b)=>{b=Math.floor(a.length/b)+1;const c=[];for(let d=0;d<a.length;d+=b)c.push(a[d]);return c},point2PointDistance:(a,b,c,d)=>{const e=(c-a)*Math.PI/180;b=(d-b)*Math.PI/180;a=a*Math.PI/180;c=c*Math.PI/180;a=Math.sin(e/2)*Math.sin(e/
4272)+Math.sin(b/2)*Math.sin(b/2)*Math.cos(a)*Math.cos(c);return 12742E3*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))},point2PointBearing:(a,b,c,d)=>{a=a*Math.PI/180;b=b*Math.PI/180;c=c*Math.PI/180;d=d*Math.PI/180;return Math.round((180*Math.atan2(Math.sin(d-b)*Math.cos(c),Math.cos(a)*Math.sin(c)-Math.sin(a)*Math.cos(c)*Math.cos(d-b))/Math.PI+360)%360*10)/10}}})();
428;
429const AdsAnalytics=(()=>{let k={},g="idle";const h={en:{adsBlocked:"You're using an AdBlocker! Thanks to advertising, we can offer this site for free. Would you please make an exception for us? Thank you very much."},nl:{adsBlocked:"Je gebruikt een AdBlocker! Dankzij advertenties kunnen wij deze site gratis aanbieden. Wil je een uitzondering maken voor ons? Heel erg bedankt!"},de:{adsBlocked:"Du benutzt einen AdBlocker! Dank der Werbung k\u00f6nnen wir diese Seite kostenlos anbieten. W\u00fcrdest du bitte eine Ausnahme f\u00fcr uns machen? Danke vielmals!"},
430es:{adsBlocked:"\u00a1Est\u00e1s usando un AdBlocker! Gracias a la publicidad, podemos ofrecereste sitio de forma gratuita. \u00bfPodr\u00eda hacer una excepci\u00f3n por nosotros? \u00a1Muchas gracias!"},fr:{adsBlocked:"Vous utilisez un AdBlocker ! Gr\u00e2ce \u00e0 la publicit\u00e9, nous pouvons offrir ce site gratuitement. Pourriez-vous faire une exception pour nous ? Merci beaucoup !"},it:{adsBlocked:"Stai usando un AdBlocker! Grazie alla pubblicit\u00e0, possiamo offrire questo sito gratuitamente. Potresti fare un'eccezione per noi? Grazie mille."},
431pt:{adsBlocked:"Voc\u00ea est\u00e1 usando um AdBlocker! Gra\u00e7as \u00e0 publicidade, podemos oferecer este site de gra\u00e7a. Pode abrir uma excep\u00e7\u00e3o para n\u00f3s, por favor? Muito obrigado."},pl:{adsBlocked:"U\u017cywasz AdBlockera! Dzi\u0119ki reklamom, mo\u017cemy zaoferowa\u0107 t\u0119 stron\u0119 za darmo. Czy m\u00f3g\u0142by\u015b zrobi\u0107 dla nas wyj\u0105tek? Dzi\u0119kuj\u0119 bardzo."},hi:{adsBlocked:"Aap ek AdBlocker ka use kar rahe hai! Vvigyaapan ke liye dhanyavaad, ham is site ko mupht mein pesh kar sakate hain. Kya aap kripaya hamaare lie ek apavaad banaenge? Ek guchchha dhanyavaad, aap shaasan karate hain!"},
432"in":{adsBlocked:"Aap ek AdBlocker ka use kar rahe hai! Vvigyaapan ke liye dhanyavaad, ham is site ko mupht mein pesh kar sakate hain. Kya aap kripaya hamaare lie ek apavaad banaenge? Ek guchchha dhanyavaad, aap shaasan karate hain!"}},l=(d,b,f)=>{var a=document.querySelector(`script[src="${d}"]`);if(a)return a;a=document.createElement("script");a.src=d;b&&a.addEventListener("load",b,{once:!0});f&&a.addEventListener("error",f,{once:!0});document.head.appendChild(a);return a},m=()=>{const d=document.querySelectorAll("div.adsbygoogle[data-ad-client]");
433if(0!=d.length){var b=a=>{if(a.isConnected){var c=document.createElement("ins");
433[...a.attributes].forEach(e=>{c.setAttribute(e.nodeName,e.nodeValue)});a.replaceWith(c);(window.adsbygoogle=window.adsbygoogle||[]).push({});setTimeout(()=>{if(c.isConnected){var e="none"===window.getComputedStyle(c).display||"true"===c.getAttribute("aria-hidden");if("failed"===g||e)e=document.createElement("div"),e.className="adBlocked",e.setAttribute("data-nosnippet",""),e.textContent=k.adsBlocked,c.parentNode&&c.parentNode.replaceChild(e,
434c)}},1500)}};b(d[0]);if(window.IntersectionObserver){var f=new IntersectionObserver(a=>{for(let c of a)0<c.intersectionRatio&&(f.unobserve(c.target),b(c.target))});for(let a of[...d].slice(1))f.observe(a)}}};return{initAdsense:m,init:(d,b)=>{b||(b=navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage,b=(document.documentElement.lang||b||"en").toLowerCase().slice(0,2));k=b in h?h[b]:h.en;d&&(window.dataLayer=window.dataLayer||[],l("https://www.googletagmanager.com/gtag/js?id="+
435d),window.gtag=window.gtag||function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",d,{anonymize_ip:!0}));l("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",()=>{g="loaded"},()=>{g="failed"});m()}}})();
436;
437const Page=(()=>{const q={EUR:"\u20ac",GBP:"\u00a3",USD:"$"},r=()=>{$(".navbar .badge").removeClass("popAnim");fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"getMyRoutesInfo"})}).then(a=>a.json()).then(a=>{a.success&&($(".nrMyRoutes").text(a.data.nrMyRoutes),$(".nrFavRoutes").text(a.data.nrFavRoutes),$(".nrTTTrips").text(a.data.nrTripTrackerTrips),$(".navbar .badge").addClass("popAnim"))})},n=()=>{var a=$("body").data("currency")||
438"USD";a=q[a];const g=[];for(let k in ZMprops.creditPacks){const d=ZMprops.creditPacks[k];let b=lib.word(1241,d.credits);0<d.free&&(b+=" + "+lib.word(1234,d.free));b+=" \u2014 ";b=0==d.price?b+lib.word(1177):b+(a+d.price+",-");g.push('<option value="'+k+'">'+b+"</option>")}return'<select class="form-select" name="creditPack">'+g.join("")+"</select>"},p=a=>{switch(a){case "signup-success":a=new URLSearchParams(location.search);const g=a.get("orderID"),k=a.get("userID"),d=bootbox.alert({title:lib.word(1206),
439message:'<iconify-icon icon="svg-spinners:180-ring-with-bg" inline></iconify-icon> '+lib.word(1098)+"&hellip;"}),b=c=>{confetti({particleCount:200,spread:100,zIndex:1061});$(".bootbox-accept",d).attr("disabled",!1);$(".bootbox-body",d).html(lib.word(1211));c&&$(".userBar").replaceWith(c)};d.init(()=>{$(".bootbox-accept",d).attr("disabled",!0);if(g){let c=setInterval(()=>{fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"checkUserSignup",
440orderID:g})}).then(e=>e.json()).then(e=>{e.success&&null!==e.data&&(clearInterval(c),b(e.data.userBar))})},1E3)}else fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"pollUserSignup",userID:k})}).then(c=>c.json()).then(c=>{c.success&&b(c.data?c.data.userBar:null)})});break;case "signup-failed":bootbox.alert({title:lib.word(1207),message:'<a href="#" onclick="$(\'.signupBtn:first\').click()">'+lib.word(1212)+"</a>."});break;case "replenish-success":const f=
441(new URLSearchParams(location.search)).get("orderID"),h=bootbox.alert({title:lib.word(1246),message:'<iconify-icon icon="svg-spinners:180-ring-with-bg" inline></iconify-icon> '+lib.word(1098)+"&hellip;"});h.init(()=>{$(".bootbox-accept",h).attr("disabled",!0);let c=setInterval(()=>{fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"pollReplenishment",orderID:f})}).then(e=>e.json()).then(e=>{e.success&&null!==e.data&&(clearInterval(c),
442confetti({particleCount:200,spread:100,zIndex:1061}),$(".bootbox-accept",h).attr("disabled",!1),$(".bootbox-body",h).html(lib.word(1247,e.data.credits)),$(".userBar").replaceWith(e.data.userBar))})},1E3)});break;case "replenish-failed":bootbox.alert({title:lib.word(1245),message:'<a href="#" class="buyCreditsBtn">'+lib.word(1212)+"</a>."})}};bootbox.setLocale(lib.word(1020));AdsAnalytics.init(ZMprops.googleAnalytics,ZMprops.lang);lib.shareSocials($("body"));window.addEventListener("DOMContentLoaded",
443()=>{lib.isTouchDevice()||$('[data-bs-toggle="tooltip"]').tooltip()});$("body").data("loginlink-expired")&&bootbox.alert(lib.word(1231
443));$(document).on("change:routeFavorites change:myRoutes",()=>{r()});$(window).on("hashchange",()=>{p(location.hash.substring(1))});p(location.hash.substring(1));$("body").on("click","[data-task='toggleFullscreen']",a=>{a.preventDefault();a=document.documentElement;document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen?(document.exitFullscreen?document.exitFullscreen():
444document.webkitExitFullscreen&&document.webkitExitFullscreen(),$("#zygomaticBar").show()):(a.requestFullscreen?a.requestFullscreen():a.webkitRequestFullscreen&&a.webkitRequestFullscreen(),$("#zygomaticBar").hide())}).on("click",".loginBtn",(a,g)=>{a.preventDefault();bootbox.hideAll();const k=[location.protocol,"//",location.host,location.pathname,location.search],d=bootbox.prompt({placeholder:"[email protected]",title:lib.word(1218),inputType:"email",value:g&&g.email?g.email:"",callback:b=>{if(null===
445b)return!0;$(".bootbox-form .inputError").remove();$(".bootbox-prompt .btn").prop("disabled",!0);fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"loginUser",email:b,pageUrl:k.join("")})}).then(f=>f.json()).then(f=>{f.success?($(".bootbox-form").html(lib.word(1219,b)),$(".bootbox .modal-footer").empty().append($("<button>",{type:"button",class:"btn btn-primary"}).html(lib.word(1033)).on("click",()=>{d.modal("hide")}))):($(".bootbox-prompt .btn").prop("disabled",
446!1),$(".bootbox-form :input").before('<div class="inputError">'+f.response+"</div>"))});return!1}});d.init(()=>{$("input[type='email']",d).attr({name:"email",autoComplete:"on"});g&&g.email&&$("button.bootbox-accept").click()});return!1}).on("click",".logoutBtn",a=>{a.preventDefault();fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"logoutUser"})}).then(g=>g.json()).then(g=>{document.location.href="/"})}).on("click",".signupBtn",(a,
447g)=>{a.preventDefault();bootbox.hideAll();const k=$("body").data("currency")||"USD",d=[location.protocol,"//",location.host,location.pathname];a=['<div id="signup-form">',lib.word(1201)+' <input class="bootbox-input bootbox-input-text form-control" type="text" name="name" maxlength="80">',"<br>",lib.word(1202)+' <input class="bootbox-input bootbox-input-text form-control" type="email" name="email" maxlength="80">',"<br>",lib.word(1233),n(),'<div class="form-check mt-3">','<input class="form-check-input" type="checkbox" value="" id="agreeDirectDelivery" checked>',
448'<label class="form-check-label" for="agreeDirectDelivery">',lib.word(1249),"</label>","</div>","EUR"==k?'<div class="text-center mt-3" style="font-size:80%">'+lib.word(1227,"/privacy/")+"</div>":"","<hr>",'<div class="text-center mt-3" style="font-size:80%">','<a href="https://www.zygomatic.com/terms/" target="newwin">'+lib.word(1021)+'</a> &middot; <a href="/privacy/" target="newwin">'+lib.word(1012)+'</a> &middot; <a href="/faq/" target="newwin">'+lib.word(1014)+'</a> &middot; <a href="/contact/" target="newwin">'+
449lib.word(1011)+"</a>","</div>"];const b=bootbox.dialog({title:lib.word(1200),message:a.join(""),buttons:{cancel:{label:lib.word(1032)},confirm:{label:lib.word(1200),callback:()=>{$(".modal-dialog button.bootbox-accept").prop("disabled",!0);const f=$("#signup-form input[name='name']").val(),h=$("#signup-form input[name='email']").val(),c=$("#signup-form select[name='creditPack']").val();$("#signup-form .inputError").remove();$(".bootbox.modal .btn").prop("disabled",!0);fetch("/ajax/",{method:"POST",
450headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"confirmUserEmail",name:f,email:h})}).then(e=>e.json()).then(e=>{if(e.success)$("#signup-form").closest(".modal-content").css("filter","blur(4px)"),bootbox.prompt({title:lib.word(1222),maxlength:5,inputType:"number",required:!0,message:lib.word(1224,h),callback:l=>{$("#signup-form").closest(".modal-content").css("filter","none");l&&/^\d{5}$/.test(l)?fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},
451body:JSON.stringify({task:"signupUser",code:l,name:f,email:h,creditPack:c,currency:k,pageUrl:d.join("")})}).then(m=>m.json()).then(m=>{if(!m.success&&m.response)return $(".bootbox.modal .btn").prop("disabled",!1),bootbox.alert(m.response);b.modal("hide");location.href=m.data.redirectUrl}):$(".bootbox.modal .btn").prop("disabled",!1)}});else if($(".bootbox.modal .btn").prop("disabled",!1),e.response)alert(e.response);else for(let l in e.data)$(":input[name='"+l+"']").before('<div class="inputError">'+
452e.data[l]+"</div>")});return!1}}}});b.init(()=>{setTimeout(()=>{$("#signup-form input:first").focus()},500);$("#agreeDirectDelivery").on("click",({currentTarget:f})=>{$("button.bootbox-accept").prop("disabled",!f.checked)})})}).on("click",".profileBtn",a=>{a.preventDefault();bootbox.hideAll();a=['<div id="signup-form">','<div class="mb-3">MapRoute User ID',"<div>",'<span style="font-family:monospace">
452'+ZMprops.user.key+"</span>",`<iconify-icon inline icon="heroicons-solid:clipboard-copy" class="ptr copy ms-2" style="font-size:1.5rem"  title="${lib.word(1199)}" data-bs-toggle="tooltip"></iconify-icon>`,
453"</div>","</div>",'<div class="mb-3">',lib.word(1201)+' <input class="bootbox-input bootbox-input-text form-control" type="text" name="name" maxlength="80">','</div><div class="mb-3">',lib.word(1202)+' <input class="bootbox-input bootbox-input-text form-control" type="email" name="email" maxlength="80">',"</div>",lib.word(1264)+"<br>",'<div class="btn-group btn-group-sm" role="group">','<input type="radio" class="btn-check" name="btnus" value="metric" id="btnus_metric">','<label class="btn btn-outline-primary" for="btnus_metric">kms</label>',
454'<input type="radio" class="btn-check" name="btnus" value="imperial" id="btnus_imperial">','<label class="btn btn-outline-primary" for="btnus_imperial">'+lib.word(1142)+"</label>","</div>","<hr>",'<div class="mt-3 text-center">','<button class="btn btn-sm btn-outline-danger delAccount">'+lib.word(1228)+"</button>","</div>","<hr>",'<div class="text-center mt-3" style="font-size:80%">','<a href="https://www.zygomatic.com/terms/" target="newwin">'+lib.word(1021)+'</a> &middot; <a href="/privacy/" target="newwin">'+
455lib.word(1012)+'</a> &middot; <a href="/faq/" target="newwin">'+lib.word(1014)+'</a> &middot; <a href="/contact/" target="newwin">'+lib.word(1011)+"</a>","</div>"];const g=(d,b,f,h)=>{$("#signup-form .inputError").remove();fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"editUser",name:d,email:b,unitSystem:f,code:h})}).then(c=>c.json()).then(c=>{if(c.success){for(let e in c.data.user)ZMprops.user[e]=c.data.user[e];$(".userBar").replaceWith(c.data.userBar);
456k.modal("hide")}else if(c.response)bootbox.alert(c.response);else for(let e in c.data)$(":input[name='"+e+"']").before('<div class="inputError">'+c.data[e]+"</div>")})},k=bootbox.dialog({title:lib.word(1205),message:a.join(""),buttons:{cancel:{label:lib.word(1032)},confirm:{label:lib.word(1033),callback:()=>{const d=$("#signup-form input[name='name']").val().trim(),b=$("#signup-form input[name='email']").val().trim(),f=$("#signup-form input[name='btnus']:checked").val();b.toUpperCase()!=ZMprops.user.email.toUpperCase()?
457fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"confirmUserEmail",email:b})}).then(h=>h.json()).then(h=>{if(h.success)$("#signup-form").closest(".modal-content").css("filter","blur(4px)"),bootbox.prompt({title:lib.word(1222),maxlength:5,required:!0,message:lib.word(1224,b),callback:c=>{$("#signup-form").closest(".modal-content").css("filter","none");c&&/^\d{5}$/.test(c)&&g(d,b,f,c)}});else if(h.response)alert(h.response);else for(let c in h.data)$(":input[name='"+
458c+"']").before('<div class="inputError">'+h.data[c]+"</div>")}):g(d,b,f);return!1}}}});k.init(()=>{$('[data-bs-toggle="tooltip"]',k).tooltip();$(".copy",k).on("click",()=>{navigator.clipboard.writeText(ZMprops.user.key);Toastify({text:lib.word(1278,"MapRoute User ID"),gravity:"bottom",position:"center"}).showToast()});$("#signup-form input[name='btnus'][value='"+ZMprops.user.unitSystem+"']").prop("checked",!0);$("#signup-form input[name='name']").val(ZMprops.user.name);$("#signup-form input[name='email']").val(ZMprops.user.email);
459$("#signup-form .newsletter").on("click",()=>{const d=ZMprops.newsletter+"&MERGE0="+encodeURIComponent(ZMprops.user.email);window.open(d)});$("#signup-form .delAccount").on("click",()=>{bootbox.confirm({message:lib.word(1229)+"<br><i>"+lib.word(1230)+"</i>",buttons:{cancel:{label:lib.word(1396),className:"btn-secondary"},confirm:{label:lib.word(1395),className:"btn-danger"}},callback:d=>{d&&fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},body:JSON.stringify({task:"deleteUser"})}).then(b=>
460b.json()).then(b=>{bootbox.hideAll();!b.success&&b.response?alert(b.response):$(".userBar").replaceWith(b.data.userBar)})}})})})}).on("click",".buyCreditsBtn",a=>{a.preventDefault();bootbox.hideAll();const g=$("body").data("currency")||"USD",k=[location.protocol,"//",location.host,location.pathname];a=['<div id="signup-form">',lib.word(1233),n(),"<hr>",'<div class="text-center mt-3" style="font-size:80%">','<a href="https://www.zygomatic.com/terms/" target="_blank">'+lib.word(1021)+'</a> &middot; <a href="/privacy/">'+
461lib.word(1012)+'</a> &middot; <a href="/faq/">'+lib.word(1014)+'</a> &middot; <a href="/contact/">'+lib.word(1011)+"</a>","</div>"];const d=bootbox.dialog({title:lib.word(1243),message:a.join(""),buttons:{cancel:{label:lib.word(1032)},confirm:{label:lib.word(1244),callback:()=>{$(".bootbox-accept,.bootbox-cancel",d).attr("disabled",!0);const b=$("#signup-form select[name='creditPack']").val();$("#signup-form .inputError").remove();fetch("/ajax/",{method:"POST",headers:{"Content-type":"application/json;charset=utf-8"},
462body:JSON.stringify({task:"buyCredits",creditPack:b,currency:g,pageUrl:k.join("")})}).then(f=>f.json()).then(f=>{f.success?(d.modal("hide"),location.href=f.data.redirectUrl):f.response&&bootbox.alert(f.response)});return!1}}}})});return{setBusy:a=>{$("#wait").css("display",a?"flex":"none");return new Promise(g=>{setTimeout(g,99)})}}})();
463;

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.