@bmlt-enabled/croutonjs 3.18.2 → 3.18.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/crouton.min.js CHANGED
@@ -1 +1 @@
1
- if(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(e,t){"use strict";var n=[],i=e.document,o=Object.getPrototypeOf,a=n.slice,r=n.concat,s=n.push,l=n.indexOf,c={},u=c.toString,h=c.hasOwnProperty,d=h.toString,p=d.call(Object),f={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},_={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var o,a,r=(n=n||i).createElement("script");if(r.text=e,t)for(o in _)(a=t[o]||t.getAttribute&&t.getAttribute(o))&&r.setAttribute(o,a);n.head.appendChild(r).parentNode.removeChild(r)}function v(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[u.call(e)]||"object":typeof e}var b="3.4.1",w=function(e,t){return new w.fn.init(e,t)},A=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function x(e){var t=!!e&&"length"in e&&e.length,n=v(e);return!m(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}w.fn=w.prototype={jquery:b,constructor:w,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,i,o,a,r=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[s]||{},s++),"object"==typeof r||m(r)||(r={}),s===l&&(r=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)i=e[t],"__proto__"!==t&&r!==i&&(c&&i&&(w.isPlainObject(i)||(o=Array.isArray(i)))?(n=r[t],a=o&&!Array.isArray(n)?[]:o||w.isPlainObject(n)?n:{},o=!1,r[t]=w.extend(c,a,i)):void 0!==i&&(r[t]=i));return r},w.extend({expando:"jQuery"+(b+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]"!==u.call(e)||(t=o(e))&&("function"!=typeof(n=h.call(t,"constructor")&&t.constructor)||d.call(n)!==p))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){y(e,{nonce:t&&t.nonce})},each:function(e,t){var n,i=0;if(x(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(A,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(x(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,a=e.length,r=!n;o<a;o++)!t(e[o],o)!==r&&i.push(e[o]);return i},map:function(e,t,n){var i,o,a=0,s=[];if(x(e))for(i=e.length;a<i;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return r.apply([],s)},guid:1,support:f}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});var k=function(e){var t,n,i,o,a,r,s,l,c,u,h,d,p,f,m,g,_,y,v,b="sizzle"+1*new Date,w=e.document,A=0,x=0,k=le(),S=le(),C=le(),P=le(),M=function(e,t){return e===t&&(h=!0),0},T={}.hasOwnProperty,L=[],E=L.pop,O=L.push,D=L.push,z=L.slice,I=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+B+"*("+j+")(?:"+B+"*([*^$|!~]?=)"+B+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+B+"*\\]",H=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",F=new RegExp(B+"+","g"),W=new RegExp("^"+B+"+|((?:^|[^\\\\])(?:\\\\.)*)"+B+"+$","g"),q=new RegExp("^"+B+"*,"+B+"*"),$=new RegExp("^"+B+"*([>+~]|"+B+")"+B+"*"),Z=new RegExp(B+"|>"),V=new RegExp(H),U=new RegExp("^"+j+"$"),G={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){d()},re=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{D.apply(L=z.call(w.childNodes),w.childNodes),L[w.childNodes.length].nodeType}catch(t){D={apply:L.length?function(e,t){O.apply(e,z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(e,t,i,o){var a,s,c,u,h,f,_,y=t&&t.ownerDocument,A=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==A&&9!==A&&11!==A)return i;if(!o&&((t?t.ownerDocument||t:w)!==p&&d(t),t=t||p,m)){if(11!==A&&(h=X.exec(e)))if(a=h[1]){if(9===A){if(!(c=t.getElementById(a)))return i;if(c.id===a)return i.push(c),i}else if(y&&(c=y.getElementById(a))&&v(t,c)&&c.id===a)return i.push(c),i}else{if(h[2])return D.apply(i,t.getElementsByTagName(e)),i;if((a=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return D.apply(i,t.getElementsByClassName(a)),i}if(n.qsa&&!P[e+" "]&&(!g||!g.test(e))&&(1!==A||"object"!==t.nodeName.toLowerCase())){if(_=e,y=t,1===A&&Z.test(e)){for((u=t.getAttribute("id"))?u=u.replace(ie,oe):t.setAttribute("id",u=b),s=(f=r(e)).length;s--;)f[s]="#"+u+" "+ve(f[s]);_=f.join(","),y=ee.test(e)&&_e(t.parentNode)||t}try{return D.apply(i,y.querySelectorAll(_)),i}catch(t){P(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return l(e.replace(W,"$1"),t,i,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[b]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var n=e.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=t}function de(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,i){for(var o,a=e([],n.length,t),r=a.length;r--;)n[o=a[r]]&&(n[o]=!(i[o]=n[o]))})})}function _e(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},a=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,o,r=e?e.ownerDocument||e:w;return r!==p&&9===r.nodeType&&r.documentElement&&(f=(p=r).documentElement,m=!a(p),w!==p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ae,!1):o.attachEvent&&o.attachEvent("onunload",ae)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=ue(function(e){return f.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,i,o,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(o=t.getElementsByName(e),i=0;a=o[i++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[o++];)1===n.nodeType&&i.push(n);return i}return a},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},_=[],g=[],(n.qsa=J.test(p.querySelectorAll))&&(ue(function(e){f.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+B+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+B+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+B+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=J.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),_.push("!=",H)}),g=g.length&&new RegExp(g.join("|")),_=_.length&&new RegExp(_.join("|")),t=J.test(f.compareDocumentPosition),v=t||J.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},M=t?function(e,t){if(e===t)return h=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===p||e.ownerDocument===w&&v(w,e)?-1:t===p||t.ownerDocument===w&&v(w,t)?1:u?I(u,e)-I(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return h=!0,0;var n,i=0,o=e.parentNode,a=t.parentNode,r=[e],s=[t];if(!o||!a)return e===p?-1:t===p?1:o?-1:a?1:u?I(u,e)-I(u,t):0;if(o===a)return de(e,t);for(n=e;n=n.parentNode;)r.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;r[i]===s[i];)i++;return i?de(r[i],s[i]):r[i]===w?-1:s[i]===w?1:0}),p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&d(e),n.matchesSelector&&m&&!P[t+" "]&&(!_||!_.test(t))&&(!g||!g.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){P(t,!0)}return 0<se(t,p,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!==p&&d(e),v(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==p&&d(e);var o=i.attrHandle[t.toLowerCase()],a=o&&T.call(i.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==a?a:n.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},se.escape=function(e){return(e+"").replace(ie,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],o=0,a=0;if(h=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(M),h){for(;t=e[a++];)t===e[a]&&(o=i.push(a));for(;o--;)e.splice(i[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",i=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(i=se.selectors={cacheLength:50,createPseudo:ce,match:G,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=r(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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "];return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&k(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var o=se.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&-1<o.indexOf(n):"$="===t?n&&o.slice(-n.length)===n:"~="===t?-1<(" "+o.replace(F," ")+" ").indexOf(n):"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var a="nth"!==e.slice(0,3),r="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,h,d,p,f,m=a!==r?"nextSibling":"previousSibling",g=t.parentNode,_=s&&t.nodeName.toLowerCase(),y=!l&&!s,v=!1;if(g){if(a){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===_:1===d.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[r?g.firstChild:g.lastChild],r&&y){for(v=(p=(c=(u=(h=(d=g)[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===A&&c[1])&&c[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(v=p=0)||f.pop();)if(1===d.nodeType&&++v&&d===t){u[e]=[A,p,v];break}}else if(y&&(v=p=(c=(u=(h=(d=t)[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===A&&c[1]),!1===v)for(;(d=++p&&d&&d[m]||(v=p=0)||f.pop())&&((s?d.nodeName.toLowerCase()!==_:1!==d.nodeType)||!++v||(y&&((u=(h=d[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]=[A,v]),d!==t)););return(v-=o)===i||v%i==0&&0<=v/i}}},PSEUDO:function(e,t){var n,o=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[b]?o(t):1<o.length?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){for(var i,a=o(e,t),r=a.length;r--;)e[i=I(e,a[r])]=!(n[i]=a[r])}):function(e){return o(e,0,n)}):o}},pseudos:{not:ce(function(e){var t=[],n=[],i=s(e.replace(W,"$1"));return i[b]?ce(function(e,t,n,o){for(var a,r=i(e,null,o,[]),s=e.length;s--;)(a=r[s])&&(e[s]=!(t[s]=a))}):function(e,o,a){return t[0]=e,i(t,null,a,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return 0<se(e,t).length}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return-1<(t.textContent||o(t)).indexOf(e)}}),lang:ce(function(e){return U.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ge(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ge(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:ge(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=fe(t);function ye(){}function ve(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function be(e,t,n){var i=t.dir,o=t.next,a=o||i,r=n&&"parentNode"===a,s=x++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,o);return!1}:function(t,n,l){var c,u,h,d=[A,s];if(l){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||r)if(u=(h=t[b]||(t[b]={}))[t.uniqueID]||(h[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=u[a])&&c[0]===A&&c[1]===s)return d[2]=c[2];if((u[a]=d)[2]=e(t,n,l))return!0}return!1}}function we(e){return 1<e.length?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function Ae(e,t,n,i,o){for(var a,r=[],s=0,l=e.length,c=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,i,o)||(r.push(a),c&&t.push(s)));return r}function xe(e,t,n,i,o,a){return i&&!i[b]&&(i=xe(i)),o&&!o[b]&&(o=xe(o,a)),ce(function(a,r,s,l){var c,u,h,d=[],p=[],f=r.length,m=a||function(e,t,n){for(var i=0,o=t.length;i<o;i++)se(e,t[i],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!a&&t?m:Ae(m,d,e,s,l),_=n?o||(a?e:f||i)?[]:r:g;if(n&&n(g,_,s,l),i)for(c=Ae(_,p),i(c,[],s,l),u=c.length;u--;)(h=c[u])&&(_[p[u]]=!(g[p[u]]=h));if(a){if(o||e){if(o){for(c=[],u=_.length;u--;)(h=_[u])&&c.push(g[u]=h);o(null,_=[],c,l)}for(u=_.length;u--;)(h=_[u])&&-1<(c=o?I(a,h):d[u])&&(a[c]=!(r[c]=h))}}else _=Ae(_===r?_.splice(f,_.length):_),o?o(null,r,_,l):D.apply(r,_)})}function ke(e){for(var t,n,o,a=e.length,r=i.relative[e[0].type],s=r||i.relative[" "],l=r?1:0,u=be(function(e){return e===t},s,!0),h=be(function(e){return-1<I(t,e)},s,!0),d=[function(e,n,i){var o=!r&&(i||n!==c)||((t=n).nodeType?u(e,n,i):h(e,n,i));return t=null,o}];l<a;l++)if(n=i.relative[e[l].type])d=[be(we(d),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[b]){for(o=++l;o<a&&!i.relative[e[o].type];o++);return xe(1<l&&we(d),1<l&&ve(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(W,"$1"),n,l<o&&ke(e.slice(l,o)),o<a&&ke(e=e.slice(o)),o<a&&ve(e))}d.push(n)}return we(d)}return ye.prototype=i.filters=i.pseudos,i.setFilters=new ye,r=se.tokenize=function(e,t){var n,o,a,r,s,l,c,u=S[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=i.preFilter;s;){for(r in n&&!(o=q.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(a=[])),n=!1,(o=$.exec(s))&&(n=o.shift(),a.push({value:n,type:o[0].replace(W," ")}),s=s.slice(n.length)),i.filter)!(o=G[r].exec(s))||c[r]&&!(o=c[r](o))||(n=o.shift(),a.push({value:n,type:r,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):S(e,l).slice(0)},s=se.compile=function(e,t){var n,o,a,s,l,u,h=[],f=[],g=C[e+" "];if(!g){for(t||(t=r(e)),n=t.length;n--;)(g=ke(t[n]))[b]?h.push(g):f.push(g);(g=C(e,(o=f,s=0<(a=h).length,l=0<o.length,u=function(e,t,n,r,u){var h,f,g,_=0,y="0",v=e&&[],b=[],w=c,x=e||l&&i.find.TAG("*",u),k=A+=null==w?1:Math.random()||.1,S=x.length;for(u&&(c=t===p||t||u);y!==S&&null!=(h=x[y]);y++){if(l&&h){for(f=0,t||h.ownerDocument===p||(d(h),n=!m);g=o[f++];)if(g(h,t||p,n)){r.push(h);break}u&&(A=k)}s&&((h=!g&&h)&&_--,e&&v.push(h))}if(_+=y,s&&y!==_){for(f=0;g=a[f++];)g(v,b,t,n);if(e){if(0<_)for(;y--;)v[y]||b[y]||(b[y]=E.call(r));b=Ae(b)}D.apply(r,b),u&&!e&&0<b.length&&1<_+a.length&&se.uniqueSort(r)}return u&&(A=k,c=w),v},s?ce(u):u))).selector=e}return g},l=se.select=function(e,t,n,o){var a,l,c,u,h,d="function"==typeof e&&e,p=!o&&r(e=d.selector||e);if(n=n||[],1===p.length){if(2<(l=p[0]=p[0].slice(0)).length&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(a=G.needsContext.test(e)?0:l.length;a--&&(c=l[a],!i.relative[u=c.type]);)if((h=i.find[u])&&(o=h(c.matches[0].replace(te,ne),ee.test(l[0].type)&&_e(t.parentNode)||t))){if(l.splice(a,1),!(e=o.length&&ve(l)))return D.apply(n,o),n;break}}return(d||s(e,p))(o,t,!m,n,!t||ee.test(e)&&_e(t.parentNode)||t),n},n.sortStable=b.split("").sort(M).join("")===b,n.detectDuplicates=!!h,d(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||he("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||he("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||he(N,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),se}(e);w.find=k,w.expr=k.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=k.uniqueSort,w.text=k.getText,w.isXMLDoc=k.isXML,w.contains=k.contains,w.escapeSelector=k.escape;var S=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&w(e).is(n))break;i.push(e)}return i},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},P=w.expr.match.needsContext;function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var T=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(e,t,n){return m(t)?w.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return-1<l.call(t,e)!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?w.find.matchesSelector(i,e)?[i]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<i;t++)if(w.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)w.find(e,o[t],n);return 1<i?w.uniqueSort(n):n},filter:function(e){return this.pushStack(L(this,e||[],!1))},not:function(e){return this.pushStack(L(this,e||[],!0))},is:function(e){return!!L(this,"string"==typeof e&&P.test(e)?w(e):e||[],!1).length}});var E,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var o,a;if(!e)return this;if(n=n||E,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:O.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:i,!0)),T.test(o[1])&&w.isPlainObject(t))for(o in t)m(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(a=i.getElementById(o[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,E=w(i);var D=/^(?:parents|prev(?:Until|All))/,z={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,a=[],r="string"!=typeof e&&w(e);if(!P.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(r?-1<r.index(n):1===n.nodeType&&w.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(1<a.length?w.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?l.call(w(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(M(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,i){var o=w.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=w.filter(i,o)),1<this.length&&(z[e]||w.uniqueSort(o),D.test(e)&&o.reverse()),this.pushStack(o)}});var N=/[^\x20\t\r\n\f]+/g;function B(e){return e}function j(e){throw e}function R(e,t,n,i){var o;try{e&&m(o=e.promise)?o.call(e).done(t).fail(n):e&&m(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}w.Callbacks=function(e){var t,n;e="string"==typeof e?(t=e,n={},w.each(t.match(N)||[],function(e,t){n[t]=!0}),n):w.extend({},e);var i,o,a,r,s=[],l=[],c=-1,u=function(){for(r=r||e.once,a=i=!0;l.length;c=-1)for(o=l.shift();++c<s.length;)!1===s[c].apply(o[0],o[1])&&e.stopOnFalse&&(c=s.length,o=!1);e.memory||(o=!1),i=!1,r&&(s=o?[]:"")},h={add:function(){return s&&(o&&!i&&(c=s.length-1,l.push(o)),function t(n){w.each(n,function(n,i){m(i)?e.unique&&h.has(i)||s.push(i):i&&i.length&&"string"!==v(i)&&t(i)})}(arguments),o&&!i&&u()),this},remove:function(){return w.each(arguments,function(e,t){for(var n;-1<(n=w.inArray(t,s,n));)s.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<w.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return r=l=[],s=o="",this},disabled:function(){return!s},lock:function(){return r=l=[],o||i||(s=o=""),this},locked:function(){return!!r},fireWith:function(e,t){return r||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),i||u()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!a}};return h},w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,i){var o=m(e[i[4]])&&e[i[4]];a[i[1]](function(){var e=o&&o.apply(this,arguments);e&&m(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,i,o){var a=0;function r(t,n,i,o){return function(){var s=this,l=arguments,c=function(){var e,c;if(!(t<a)){if((e=i.apply(s,l))===n.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(c)?o?c.call(e,r(a,n,B,o),r(a,n,j,o)):(a++,c.call(e,r(a,n,B,o),r(a,n,j,o),r(a,n,B,n.notifyWith))):(i!==B&&(s=void 0,l=[e]),(o||n.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,u.stackTrace),a<=t+1&&(i!==j&&(s=void 0,l=[e]),n.rejectWith(s,l))}};t?u():(w.Deferred.getStackHook&&(u.stackTrace=w.Deferred.getStackHook()),e.setTimeout(u))}}return w.Deferred(function(e){n[0][3].add(r(0,e,m(o)?o:B,e.notifyWith)),n[1][3].add(r(0,e,m(t)?t:B)),n[2][3].add(r(0,e,m(i)?i:j))}).promise()},promise:function(e){return null!=e?w.extend(e,o):o}},a={};return w.each(n,function(e,t){var r=t[2],s=t[5];o[t[1]]=r.add,s&&r.add(function(){i=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),r.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=r.fireWith}),o.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,n=t,i=Array(n),o=a.call(arguments),r=w.Deferred(),s=function(e){return function(n){i[e]=this,o[e]=1<arguments.length?a.call(arguments):n,--t||r.resolveWith(i,o)}};if(t<=1&&(R(e,r.done(s(n)).resolve,r.reject,!t),"pending"===r.state()||m(o[n]&&o[n].then)))return r.then();for(;n--;)R(o[n],s(n),r.reject);return r.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&H.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();function W(){i.removeEventListener("DOMContentLoaded",W),e.removeEventListener("load",W),w.ready()}w.fn.ready=function(e){return F.then(e).catch(function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0)!==e&&0<--w.readyWait||F.resolveWith(i,[w])}}),w.ready.then=F.then,"complete"===i.readyState||"loading"!==i.readyState&&!i.documentElement.doScroll?e.setTimeout(w.ready):(i.addEventListener("DOMContentLoaded",W),e.addEventListener("load",W));var q=function(e,t,n,i,o,a,r){var s=0,l=e.length,c=null==n;if("object"===v(n))for(s in o=!0,n)q(e,t,s,n[s],!0,a,r);else if(void 0!==i&&(o=!0,m(i)||(r=!0),c&&(r?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(w(e),n)})),t))for(;s<l;s++)t(e[s],n,r?i:i.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):a},$=/^-ms-/,Z=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function U(e){return e.replace($,"ms-").replace(Z,V)}var G=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Y(){this.expando=w.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(e){var t=e[this.expando];return t||(t={},G(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[U(t)]=n;else for(i in t)o[U(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][U(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,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(U):(t=U(t))in i?[t]:t.match(N)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||w.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var K=new Y,Q=new Y,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,X=/[A-Z]/g;function ee(e,t,n){var i,o;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(X,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:J.test(o)?JSON.parse(o):o)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return Q.hasData(e)||K.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,i,o,a=this[0],r=a&&a.attributes;if(void 0===e){if(this.length&&(o=Q.get(a),1===a.nodeType&&!K.get(a,"hasDataAttrs"))){for(n=r.length;n--;)r[n]&&0===(i=r[n].name).indexOf("data-")&&(i=U(i.slice(5)),ee(a,i,o[i]));K.set(a,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Q.set(this,e)}):q(this,function(t){var n;if(a&&void 0===t)return void 0!==(n=Q.get(a,e))?n:void 0!==(n=ee(a,e))?n:void 0;this.each(function(){Q.set(this,e,t)})},null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),w.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=K.get(e,t),n&&(!i||Array.isArray(n)?i=K.access(e,t,w.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),i=n.length,o=n.shift(),a=w._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete a.stop,o.call(e,function(){w.dequeue(e,t)},a)),!i&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:w.Callbacks("once memory").add(function(){K.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=w.Deferred(),a=this,r=this.length,s=function(){--i||o.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";r--;)(n=K.get(a[r],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ne=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],oe=i.documentElement,ae=function(e){return w.contains(e.ownerDocument,e)},re={composed:!0};oe.getRootNode&&(ae=function(e){return w.contains(e.ownerDocument,e)||e.getRootNode(re)===e.ownerDocument});var se=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===w.css(e,"display")},le=function(e,t,n,i){var o,a,r={};for(a in t)r[a]=e.style[a],e.style[a]=t[a];for(a in o=n.apply(e,i||[]),t)e.style[a]=r[a];return o};function ce(e,t,n,i){var o,a,r=20,s=i?function(){return i.cur()}:function(){return w.css(e,t,"")},l=s(),c=n&&n[3]||(w.cssNumber[t]?"":"px"),u=e.nodeType&&(w.cssNumber[t]||"px"!==c&&+l)&&ne.exec(w.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;r--;)w.style(e,t,u+c),(1-a)*(1-(a=s()/l||.5))<=0&&(r=0),u/=a;u*=2,w.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var ue={};function he(e,t){for(var n,i,o,a,r,s,l,c=[],u=0,h=e.length;u<h;u++)(i=e[u]).style&&(n=i.style.display,t?("none"===n&&(c[u]=K.get(i,"display")||null,c[u]||(i.style.display="")),""===i.style.display&&se(i)&&(c[u]=(l=r=a=void 0,r=(o=i).ownerDocument,s=o.nodeName,(l=ue[s])||(a=r.body.appendChild(r.createElement(s)),l=w.css(a,"display"),a.parentNode.removeChild(a),"none"===l&&(l="block"),ue[s]=l)))):"none"!==n&&(c[u]="none",K.set(i,"display",n)));for(u=0;u<h;u++)null!=c[u]&&(e[u].style.display=c[u]);return e}w.fn.extend({show:function(){return he(this,!0)},hide:function(){return he(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){se(this)?w(this).show():w(this).hide()})}});var de=/^(?:checkbox|radio)$/i,pe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,fe=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,"<select multiple='multiple'>","</select>"],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 ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t)?w.merge([e],n):n}function _e(e,t){for(var n=0,i=e.length;n<i;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}me.optgroup=me.option,me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td;var ye,ve,be=/<|&#?\w+;/;function we(e,t,n,i,o){for(var a,r,s,l,c,u,h=t.createDocumentFragment(),d=[],p=0,f=e.length;p<f;p++)if((a=e[p])||0===a)if("object"===v(a))w.merge(d,a.nodeType?[a]:a);else if(be.test(a)){for(r=r||h.appendChild(t.createElement("div")),s=(pe.exec(a)||["",""])[1].toLowerCase(),l=me[s]||me._default,r.innerHTML=l[1]+w.htmlPrefilter(a)+l[2],u=l[0];u--;)r=r.lastChild;w.merge(d,r.childNodes),(r=h.firstChild).textContent=""}else d.push(t.createTextNode(a));for(h.textContent="",p=0;a=d[p++];)if(i&&-1<w.inArray(a,i))o&&o.push(a);else if(c=ae(a),r=ge(h.appendChild(a),"script"),c&&_e(r),n)for(u=0;a=r[u++];)fe.test(a.type||"")&&n.push(a);return h}ye=i.createDocumentFragment().appendChild(i.createElement("div")),(ve=i.createElement("input")).setAttribute("type","radio"),ve.setAttribute("checked","checked"),ve.setAttribute("name","t"),ye.appendChild(ve),f.checkClone=ye.cloneNode(!0).cloneNode(!0).lastChild.checked,ye.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var Ae=/^key/,xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ke=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function Ce(){return!1}function Pe(e,t){return e===function(){try{return i.activeElement}catch(e){}}()==("focus"===t)}function Me(e,t,n,i,o,a){var r,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)Me(e,s,n,i,t[s],a);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Ce;else if(!o)return e;return 1===a&&(r=o,(o=function(e){return w().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=w.guid++)),e.each(function(){w.event.add(this,t,o,i,n)})}function Te(e,t,n){n?(K.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var i,o,r=K.get(this,t);if(1&e.isTrigger&&this[t]){if(r.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=a.call(arguments),K.set(this,t,r),i=n(this,t),this[t](),r!==(o=K.get(this,t))||i?K.set(this,t,!1):o={},r!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else r.length&&(K.set(this,t,{value:w.event.trigger(w.extend(r[0],w.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&w.event.add(e,t,Se)}w.event={global:{},add:function(e,t,n,i,o){var a,r,s,l,c,u,h,d,p,f,m,g=K.get(e);if(g)for(n.handler&&(n=(a=n).handler,o=a.selector),o&&w.find.matchesSelector(oe,o),n.guid||(n.guid=w.guid++),(l=g.events)||(l=g.events={}),(r=g.handle)||(r=g.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(N)||[""]).length;c--;)p=m=(s=ke.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),p&&(h=w.event.special[p]||{},p=(o?h.delegateType:h.bindType)||p,h=w.event.special[p]||{},u=w.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:f.join(".")},a),(d=l[p])||((d=l[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,i,f,r)||e.addEventListener&&e.addEventListener(p,r)),h.add&&(h.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),w.event.global[p]=!0)},remove:function(e,t,n,i,o){var a,r,s,l,c,u,h,d,p,f,m,g=K.hasData(e)&&K.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(N)||[""]).length;c--;)if(p=m=(s=ke.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),p){for(h=w.event.special[p]||{},d=l[p=(i?h.delegateType:h.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=a=d.length;a--;)u=d[a],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(d.splice(a,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(e,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,f,g.handle)||w.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)w.event.remove(e,p+t[c],n,i,!0);w.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,a,r,s=w.event.fix(e),l=new Array(arguments.length),c=(K.get(this,"events")||{})[s.type]||[],u=w.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(r=w.event.handlers.call(this,s,c),t=0;(o=r[t++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==a.namespace&&!s.rnamespace.test(a.namespace)||(s.handleObj=a,s.data=a.data,void 0!==(i=((w.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,l))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,i,o,a,r,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],r={},n=0;n<l;n++)void 0===r[o=(i=t[n]).selector+" "]&&(r[o]=i.needsContext?-1<w(o,this).index(c):w.find(o,this,null,[c]).length),r[o]&&a.push(i);a.length&&s.push({elem:c,handlers:a})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return de.test(t.type)&&t.click&&M(t,"input")&&Te(t,"click",Se),!1},trigger:function(e){var t=this||e;return de.test(t.type)&&t.click&&M(t,"input")&&Te(t,"click"),!0},_default:function(e){var t=e.target;return de.test(t.type)&&t.click&&M(t,"input")&&K.get(t,"click")||M(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Se:Ce,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&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:Ce,isPropagationStopped:Ce,isImmediatePropagationStopped:Ce,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Ae.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&xe.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},function(e,t){w.event.special[e]={setup:function(){return Te(this,e,Pe),!1},trigger:function(){return Te(this,e),!0},delegateType:t}}),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,o=e.handleObj;return i&&(i===this||w.contains(this,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,i){return Me(this,e,t,n,i)},one:function(e,t,n,i){return Me(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,w(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ce),this.each(function(){w.event.remove(this,e,n,t)})}});var Le=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ee=/<script|<style|<link/i,Oe=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ze(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ne(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Be(e,t){var n,i,o,a,r,s,l,c;if(1===t.nodeType){if(K.hasData(e)&&(a=K.access(e),r=K.set(t,a),c=a.events))for(o in delete r.handle,r.events={},c)for(n=0,i=c[o].length;n<i;n++)w.event.add(t,o,c[o][n]);Q.hasData(e)&&(s=Q.access(e),l=w.extend({},s),Q.set(t,l))}}function je(e,t,n,i){t=r.apply([],t);var o,a,s,l,c,u,h=0,d=e.length,p=d-1,g=t[0],_=m(g);if(_||1<d&&"string"==typeof g&&!f.checkClone&&Oe.test(g))return e.each(function(o){var a=e.eq(o);_&&(t[0]=g.call(this,o,a.html())),je(a,t,n,i)});if(d&&(a=(o=we(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=a),a||i)){for(l=(s=w.map(ge(o,"script"),Ie)).length;h<d;h++)c=o,h!==p&&(c=w.clone(c,!0,!0),l&&w.merge(s,ge(c,"script"))),n.call(e[h],c,h);if(l)for(u=s[s.length-1].ownerDocument,w.map(s,Ne),h=0;h<l;h++)c=s[h],fe.test(c.type||"")&&!K.access(c,"globalEval")&&w.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?w._evalUrl&&!c.noModule&&w._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")}):y(c.textContent.replace(De,""),c,u))}return e}function Re(e,t,n){for(var i,o=t?w.filter(t,e):e,a=0;null!=(i=o[a]);a++)n||1!==i.nodeType||w.cleanData(ge(i)),i.parentNode&&(n&&ae(i)&&_e(ge(i,"script")),i.parentNode.removeChild(i));return e}w.extend({htmlPrefilter:function(e){return e.replace(Le,"<$1></$2>")},clone:function(e,t,n){var i,o,a,r,s,l,c,u=e.cloneNode(!0),h=ae(e);if(!(f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(r=ge(u),i=0,o=(a=ge(e)).length;i<o;i++)s=a[i],"input"===(c=(l=r[i]).nodeName.toLowerCase())&&de.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(t)if(n)for(a=a||ge(e),r=r||ge(u),i=0,o=a.length;i<o;i++)Be(a[i],r[i]);else Be(e,u);return 0<(r=ge(u,"script")).length&&_e(r,!h&&ge(e,"script")),u},cleanData:function(e){for(var t,n,i,o=w.event.special,a=0;void 0!==(n=e[a]);a++)if(G(n)){if(t=n[K.expando]){if(t.events)for(i in t.events)o[i]?w.event.remove(n,i):w.removeEvent(n,i,t.handle);n[K.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return q(this,function(e){return void 0===e?w.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 je(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ze(this,e).appendChild(e)})},prepend:function(){return je(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ze(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return je(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return je(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&&(w.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return q(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!me[(pe.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return je(this,arguments,function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ge(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,i=[],o=w(e),a=o.length-1,r=0;r<=a;r++)n=r===a?this:this.clone(!0),w(o[r])[t](n),s.apply(i,n.get());return this.pushStack(i)}});var He=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),Fe=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},We=new RegExp(ie.join("|"),"i");function qe(e,t,n){var i,o,a,r,s=e.style;return(n=n||Fe(e))&&(""!==(r=n.getPropertyValue(t)||n[t])||ae(e)||(r=w.style(e,t)),!f.pixelBoxStyles()&&He.test(r)&&We.test(t)&&(i=s.width,o=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=r,r=n.width,s.width=i,s.minWidth=o,s.maxWidth=a)),void 0!==r?r+"":r}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",oe.appendChild(c).appendChild(u);var t=e.getComputedStyle(u);o="1%"!==t.top,l=12===n(t.marginLeft),u.style.right="60%",s=36===n(t.right),a=36===n(t.width),u.style.position="absolute",r=12===n(u.offsetWidth/3),oe.removeChild(c),u=null}}function n(e){return Math.round(parseFloat(e))}var o,a,r,s,l,c=i.createElement("div"),u=i.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===u.style.backgroundClip,w.extend(f,{boxSizingReliable:function(){return t(),a},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),o},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),r}}))}();var Ze=["Webkit","Moz","ms"],Ve=i.createElement("div").style,Ue={};function Ge(e){return w.cssProps[e]||Ue[e]||(e in Ve?e:Ue[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ze.length;n--;)if((e=Ze[n]+t)in Ve)return e}(e)||e)}var Ye=/^(none|table(?!-c[ea]).+)/,Ke=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function Xe(e,t,n){var i=ne.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function et(e,t,n,i,o,a){var r="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(l+=w.css(e,n+ie[r],!0,o)),i?("content"===n&&(l-=w.css(e,"padding"+ie[r],!0,o)),"margin"!==n&&(l-=w.css(e,"border"+ie[r]+"Width",!0,o))):(l+=w.css(e,"padding"+ie[r],!0,o),"padding"!==n?l+=w.css(e,"border"+ie[r]+"Width",!0,o):s+=w.css(e,"border"+ie[r]+"Width",!0,o));return!i&&0<=a&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l}function tt(e,t,n){var i=Fe(e),o=(!f.boxSizingReliable()||n)&&"border-box"===w.css(e,"boxSizing",!1,i),a=o,r=qe(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(r)){if(!n)return r;r="auto"}return(!f.boxSizingReliable()&&o||"auto"===r||!parseFloat(r)&&"inline"===w.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===w.css(e,"boxSizing",!1,i),(a=s in e)&&(r=e[s])),(r=parseFloat(r)||0)+et(e,t,n||(o?"border":"content"),a,i,r)+"px"}function nt(e,t,n,i,o){return new nt.prototype.init(e,t,n,i,o)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,r,s=U(t),l=Ke.test(t),c=e.style;if(l||(t=Ge(s)),r=w.cssHooks[t]||w.cssHooks[s],void 0===n)return r&&"get"in r&&void 0!==(o=r.get(e,!1,i))?o:c[t];"string"==(a=typeof n)&&(o=ne.exec(n))&&o[1]&&(n=ce(e,t,o),a="number"),null!=n&&n==n&&("number"!==a||l||(n+=o&&o[3]||(w.cssNumber[s]?"":"px")),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var o,a,r,s=U(t);return Ke.test(t)||(t=Ge(s)),(r=w.cssHooks[t]||w.cssHooks[s])&&"get"in r&&(o=r.get(e,!0,n)),void 0===o&&(o=qe(e,t,i)),"normal"===o&&t in Je&&(o=Je[t]),""===n||n?(a=parseFloat(o),!0===n||isFinite(a)?a||0:o):o}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,i){if(n)return!Ye.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,i):le(e,Qe,function(){return tt(e,t,i)})},set:function(e,n,i){var o,a=Fe(e),r=!f.scrollboxSize()&&"absolute"===a.position,s=(r||i)&&"border-box"===w.css(e,"boxSizing",!1,a),l=i?et(e,t,i,s,a):0;return s&&r&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-et(e,t,"border",!1,a)-.5)),l&&(o=ne.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Xe(0,n,l)}}}),w.cssHooks.marginLeft=$e(f.reliableMarginLeft,function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var i=0,o={},a="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+ie[i]+t]=a[i]||a[i-2]||a[0];return o}},"margin"!==e&&(w.cssHooks[e+t].set=Xe)}),w.fn.extend({css:function(e,t){return q(this,function(e,t,n){var i,o,a={},r=0;if(Array.isArray(t)){for(i=Fe(e),o=t.length;r<o;r++)a[t[r]]=w.css(e,t[r],!1,i);return a}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,1<arguments.length)}}),((w.Tween=nt).prototype={constructor:nt,init:function(e,t,n,i,o,a){this.elem=e,this.prop=n,this.easing=o||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=a||(w.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}}).init.prototype=nt.prototype,(nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||!w.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=nt.prototype.init,w.fx.step={};var it,ot,at,rt,st=/^(?:toggle|show|hide)$/,lt=/queueHooks$/;function ct(){ot&&(!1===i.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(ct):e.setTimeout(ct,w.fx.interval),w.fx.tick())}function ut(){return e.setTimeout(function(){it=void 0}),it=Date.now()}function ht(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=ie[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function dt(e,t,n){for(var i,o=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),a=0,r=o.length;a<r;a++)if(i=o[a].call(n,t,e))return i}function pt(e,t,n){var i,o,a=0,r=pt.prefilters.length,s=w.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=it||ut(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),a=0,r=c.tweens.length;a<r;a++)c.tweens[a].run(i);return s.notifyWith(e,[c,i,n]),i<1&&r?n:(r||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var i=w.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var n,i,o,a,r;for(n in e)if(o=t[i=U(n)],a=e[n],Array.isArray(a)&&(o=a[1],a=e[n]=a[0]),n!==i&&(e[i]=a,delete e[n]),(r=w.cssHooks[i])&&"expand"in r)for(n in a=r.expand(a),delete e[i],a)n in e||(e[n]=a[n],t[n]=o);else t[i]=o}(u,c.opts.specialEasing);a<r;a++)if(i=pt.prefilters[a].call(c,e,u,c.opts))return m(i.stop)&&(w._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return w.map(u,dt,c),m(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),w.fx.timer(w.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}w.Animation=w.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,ne.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(N);for(var n,i=0,o=e.length;i<o;i++)n=e[i],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,a,r,s,l,c,u,h="width"in t||"height"in t,d=this,p={},f=e.style,m=e.nodeType&&se(e),g=K.get(e,"fxshow");for(i in n.queue||(null==(r=w._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,s=r.empty.fire,r.empty.fire=function(){r.unqueued||s()}),r.unqueued++,d.always(function(){d.always(function(){r.unqueued--,w.queue(e,"fx").length||r.empty.fire()})})),t)if(o=t[i],st.test(o)){if(delete t[i],a=a||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;m=!0}p[i]=g&&g[i]||w.style(e,i)}if((l=!w.isEmptyObject(t))||!w.isEmptyObject(p))for(i in h&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=K.get(e,"display")),"none"===(u=w.css(e,"display"))&&(c?u=c:(he([e],!0),c=e.style.display||c,u=w.css(e,"display"),he([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===w.css(e,"float")&&(l||(d.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=K.access(e,"fxshow",{display:c}),a&&(g.hidden=!m),m&&he([e],!0),d.done(function(){for(i in m||he([e]),K.remove(e,"fxshow"),p)w.style(e,i,p[i])})),l=dt(m?g[i]:0,i,d),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),w.speed=function(e,t,n){var i=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return w.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in w.fx.speeds?i.duration=w.fx.speeds[i.duration]:i.duration=w.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){m(i.old)&&i.old.call(this),i.queue&&w.dequeue(this,i.queue)},i},w.fn.extend({fadeTo:function(e,t,n,i){return this.filter(se).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=w.isEmptyObject(e),a=w.speed(t,n,i),r=function(){var t=pt(this,w.extend({},e),a);(o||K.get(this,"finish"))&&t.stop(!0)};return r.finish=r,o||!1===a.queue?this.each(r):this.queue(a.queue,r)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",a=w.timers,r=K.get(this);if(o)r[o]&&r[o].stop&&i(r[o]);else for(o in r)r[o]&&r[o].stop&&lt.test(o)&&i(r[o]);for(o=a.length;o--;)a[o].elem!==this||null!=e&&a[o].queue!==e||(a[o].anim.stop(n),t=!1,a.splice(o,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=K.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],a=w.timers,r=i?i.length:0;for(n.finish=!0,w.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<r;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ht(t,!0),e,i,o)}}),w.each({slideDown:ht("show"),slideUp:ht("hide"),slideToggle:ht("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),it=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){ot||(ot=!0,ct())},w.fx.stop=function(){ot=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx&&w.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,i){var o=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(o)}})},at=i.createElement("input"),rt=i.createElement("select").appendChild(i.createElement("option")),at.type="checkbox",f.checkOn=""!==at.value,f.optSelected=rt.selected,(at=i.createElement("input")).value="t",at.type="radio",f.radioValue="t"===at.value;var ft,mt=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return q(this,w.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var i,o,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?w.prop(e,t,n):(1===a&&w.isXMLDoc(e)||(o=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=w.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&M(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(N);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=mt[t]||w.find.attr;mt[t]=function(e,t,i){var o,a,r=t.toLowerCase();return i||(a=mt[r],mt[r]=o,o=null!=n(e,t,i)?r:null,mt[r]=a),o}});var gt=/^(?:input|select|textarea|button)$/i,_t=/^(?:a|area)$/i;function yt(e){return(e.match(N)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}w.fn.extend({prop:function(e,t){return q(this,w.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var i,o,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&w.isXMLDoc(e)||(t=w.propFix[t]||t,o=w.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(w.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)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.fn.extend({addClass:function(e){var t,n,i,o,a,r,s,l=0;if(m(e))return this.each(function(t){w(this).addClass(e.call(this,t,vt(this)))});if((t=bt(e)).length)for(;n=this[l++];)if(o=vt(n),i=1===n.nodeType&&" "+yt(o)+" "){for(r=0;a=t[r++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");o!==(s=yt(i))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,o,a,r,s,l=0;if(m(e))return this.each(function(t){w(this).removeClass(e.call(this,t,vt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(o=vt(n),i=1===n.nodeType&&" "+yt(o)+" "){for(r=0;a=t[r++];)for(;-1<i.indexOf(" "+a+" ");)i=i.replace(" "+a+" "," ");o!==(s=yt(i))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):m(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,vt(this),t),t)}):this.each(function(){var t,o,a,r;if(i)for(o=0,a=w(this),r=bt(e);t=r[o++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+yt(vt(n))+" ").indexOf(t))return!0;return!1}});var wt=/\r/g;w.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=m(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?e.call(this,n,w(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=w.map(o,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=w.valHooks[o.type]||w.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(wt,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:yt(w.text(e))}},select:{get:function(e){var t,n,i,o=e.options,a=e.selectedIndex,r="select-one"===e.type,s=r?null:[],l=r?a+1:o.length;for(i=a<0?l:r?a:0;i<l;i++)if(((n=o[i]).selected||i===a)&&!n.disabled&&(!n.parentNode.disabled||!M(n.parentNode,"optgroup"))){if(t=w(n).val(),r)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,a=w.makeArray(t),r=o.length;r--;)((i=o[r]).selected=-1<w.inArray(w.valHooks.option.get(i),a))&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<w.inArray(w(e).val(),t)}},f.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),f.focusin="onfocusin"in e;var At=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,o,a){var r,s,l,c,u,d,p,f,_=[o||i],y=h.call(t,"type")?t.type:t,v=h.call(t,"namespace")?t.namespace.split("."):[];if(s=f=l=o=o||i,3!==o.nodeType&&8!==o.nodeType&&!At.test(y+w.event.triggered)&&(-1<y.indexOf(".")&&(y=(v=y.split(".")).shift(),v.sort()),u=y.indexOf(":")<0&&"on"+y,(t=t[w.expando]?t:new w.Event(y,"object"==typeof t&&t)).isTrigger=a?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),n=null==n?[t]:w.makeArray(n,[t]),p=w.event.special[y]||{},a||!p.trigger||!1!==p.trigger.apply(o,n))){if(!a&&!p.noBubble&&!g(o)){for(c=p.delegateType||y,At.test(c+y)||(s=s.parentNode);s;s=s.parentNode)_.push(s),l=s;l===(o.ownerDocument||i)&&_.push(l.defaultView||l.parentWindow||e)}for(r=0;(s=_[r++])&&!t.isPropagationStopped();)f=s,t.type=1<r?c:p.bindType||y,(d=(K.get(s,"events")||{})[t.type]&&K.get(s,"handle"))&&d.apply(s,n),(d=u&&s[u])&&d.apply&&G(s)&&(t.result=d.apply(s,n),!1===t.result&&t.preventDefault());return t.type=y,a||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(_.pop(),n)||!G(o)||u&&m(o[y])&&!g(o)&&((l=o[u])&&(o[u]=null),w.event.triggered=y,t.isPropagationStopped()&&f.addEventListener(y,xt),o[y](),t.isPropagationStopped()&&f.removeEventListener(y,xt),w.event.triggered=void 0,l&&(o[u]=l)),t.result}},simulate:function(e,t,n){var i=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(i,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),f.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var i=this.ownerDocument||this,o=K.access(i,t);o||i.addEventListener(e,n,!0),K.access(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=K.access(i,t)-1;o?K.access(i,t,o):(i.removeEventListener(e,n,!0),K.remove(i,t))}}});var kt=e.location,St=Date.now(),Ct=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var Pt=/\[\]$/,Mt=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function Et(e,t,n,i){var o;if(Array.isArray(t))w.each(t,function(t,o){n||Pt.test(e)?i(e,o):Et(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)});else if(n||"object"!==v(t))i(e,t);else for(o in t)Et(e+"["+o+"]",t[o],n,i)}w.param=function(e,t){var n,i=[],o=function(e,t){var n=m(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){o(this.name,this.value)});else for(n in e)Et(n,e[n],t,o);return i.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&Lt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!de.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Mt,"\r\n")}}):{name:t.name,value:n.replace(Mt,"\r\n")}}).get()}});var Ot=/%20/g,Dt=/#.*$/,zt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:GET|HEAD)$/,Bt=/^\/\//,jt={},Rt={},Ht="*/".concat("*"),Ft=i.createElement("a");function Wt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,a=t.toLowerCase().match(N)||[];if(m(n))for(;i=a[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function qt(e,t,n,i){var o={},a=e===Rt;function r(s){var l;return o[s]=!0,w.each(e[s]||[],function(e,s){var c=s(t,n,i);return"string"!=typeof c||a||o[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),r(c),!1)}),l}return r(t.dataTypes[0])||!o["*"]&&r("*")}function $t(e,t){var n,i,o=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&w.extend(!0,e,i),e}Ft.href=kt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,w.ajaxSettings),t):$t(w.ajaxSettings,e)},ajaxPrefilter:Wt(jt),ajaxTransport:Wt(Rt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var o,a,r,s,l,c,u,h,d,p,f=w.ajaxSetup({},n),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?w(m):w.event,_=w.Deferred(),y=w.Callbacks("once memory"),v=f.statusCode||{},b={},A={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=It.exec(r);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?r:null},setRequestHeader:function(e,t){return null==u&&(e=A[e.toLowerCase()]=A[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)k.always(e[k.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||x;return o&&o.abort(t),S(0,t),this}};if(_.promise(k),f.url=((t||f.url||kt.href)+"").replace(Bt,kt.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(N)||[""],null==f.crossDomain){c=i.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=Ft.protocol+"//"+Ft.host!=c.protocol+"//"+c.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=w.param(f.data,f.traditional)),qt(jt,f,n,k),u)return k;for(d in(h=w.event&&f.global)&&0==w.active++&&w.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Nt.test(f.type),a=f.url.replace(Dt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ot,"+")):(p=f.url.slice(a.length),f.data&&(f.processData||"string"==typeof f.data)&&(a+=(Ct.test(a)?"&":"?")+f.data,delete f.data),!1===f.cache&&(a=a.replace(zt,"$1"),p=(Ct.test(a)?"&":"?")+"_="+St+++p),f.url=a+p),f.ifModified&&(w.lastModified[a]&&k.setRequestHeader("If-Modified-Since",w.lastModified[a]),w.etag[a]&&k.setRequestHeader("If-None-Match",w.etag[a])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&k.setRequestHeader("Content-Type",f.contentType),k.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ht+"; q=0.01":""):f.accepts["*"]),f.headers)k.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(m,k,f)||u))return k.abort();if(x="abort",y.add(f.complete),k.done(f.success),k.fail(f.error),o=qt(Rt,f,n,k)){if(k.readyState=1,h&&g.trigger("ajaxSend",[k,f]),u)return k;f.async&&0<f.timeout&&(l=e.setTimeout(function(){k.abort("timeout")},f.timeout));try{u=!1,o.send(b,S)}catch(t){if(u)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,n,i,s){var c,d,p,b,A,x=n;u||(u=!0,l&&e.clearTimeout(l),o=void 0,r=s||"",k.readyState=0<t?4:0,c=200<=t&&t<300||304===t,i&&(b=function(e,t,n){for(var i,o,a,r,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)a=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){a=o;break}r||(r=o)}a=a||r}if(a)return a!==l[0]&&l.unshift(a),n[a]}(f,k,i)),b=function(e,t,n,i){var o,a,r,s,l,c={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)c[r.toLowerCase()]=e.converters[r];for(a=u.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(r=c[l+" "+a]||c["* "+a]))for(o in c)if((s=o.split(" "))[1]===a&&(r=c[l+" "+s[0]]||c["* "+s[0]])){!0===r?r=c[o]:!0!==c[o]&&(a=s[0],u.unshift(s[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(f,b,k,c),c?(f.ifModified&&((A=k.getResponseHeader("Last-Modified"))&&(w.lastModified[a]=A),(A=k.getResponseHeader("etag"))&&(w.etag[a]=A)),204===t||"HEAD"===f.type?x="nocontent":304===t?x="notmodified":(x=b.state,d=b.data,c=!(p=b.error))):(p=x,!t&&x||(x="error",t<0&&(t=0))),k.status=t,k.statusText=(n||x)+"",c?_.resolveWith(m,[d,x,k]):_.rejectWith(m,[k,x,p]),k.statusCode(v),v=void 0,h&&g.trigger(c?"ajaxSuccess":"ajaxError",[k,f,c?d:p]),y.fireWith(m,[k,x]),h&&(g.trigger("ajaxComplete",[k,f]),--w.active||w.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,i,o){return m(n)&&(o=o||i,i=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:o,data:n,success:i},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e,t){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t)}})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return m(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Vt=w.ajaxSettings.xhr();f.cors=!!Vt&&"withCredentials"in Vt,f.ajax=Vt=!!Vt,w.ajaxTransport(function(t){var n,i;if(f.cors||Vt&&!t.crossDomain)return{send:function(o,a){var r,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)s[r]=t.xhrFields[r];for(r in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(r,o[r]);n=function(e){return function(){n&&(n=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),i=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(o){if(n)throw o}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(o,a){t=w("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&a("error"===e.type?404:200,e.type)}),i.head.appendChild(t[0])},abort:function(){n&&n()}}});var Ut,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||w.expando+"_"+St++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,i){var o,a,r,s=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Yt,"$1"+o):!1!==t.jsonp&&(t.url+=(Ct.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return r||w.error(o+" was not called"),r[0]},t.dataTypes[0]="json",a=e[o],e[o]=function(){r=arguments},i.always(function(){void 0===a?w(e).removeProp(o):e[o]=a,t[o]&&(t.jsonpCallback=n.jsonpCallback,Gt.push(o)),r&&m(a)&&a(r[0]),r=a=void 0}),"script"}),f.createHTMLDocument=((Ut=i.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ut.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(f.createHTMLDocument?((o=(t=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,t.head.appendChild(o)):t=i),r=!n&&[],(a=T.exec(e))?[t.createElement(a[1])]:(a=we([e],t,r),r&&r.length&&w(r).remove(),w.merge([],a.childNodes)));var o,a,r},w.fn.load=function(e,t,n){var i,o,a,r=this,s=e.indexOf(" ");return-1<s&&(i=yt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<r.length&&w.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){a=arguments,r.html(i?w("<div>").append(w.parseHTML(e)).find(i):e)}).always(n&&function(e,t){r.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var i,o,a,r,s,l,c=w.css(e,"position"),u=w(e),h={};"static"===c&&(e.style.position="relative"),s=u.offset(),a=w.css(e,"top"),l=w.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(a+l).indexOf("auto")?(r=(i=u.position()).top,o=i.left):(r=parseFloat(a)||0,o=parseFloat(l)||0),m(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(h.top=t.top-s.top+r),null!=t.left&&(h.left=t.left-s.left+o),"using"in t?t.using.call(e,h):u.css(h)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===w.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),o.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-w.css(i,"marginTop",!0),left:t.left-o.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||oe})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(i){return q(this,function(e,i,o){var a;if(g(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===o)return a?a[t]:e[i];a?a.scrollTo(n?a.pageXOffset:o,n?o:a.pageYOffset):e[i]=o},e,i,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=$e(f.pixelPosition,function(e,n){if(n)return n=qe(e,t),He.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){w.fn[i]=function(o,a){var r=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===a?"margin":"border");return q(this,function(t,n,o){var a;return g(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===o?w.css(t,n,s):w.style(t,n,o,s)},t,r?o:void 0,r)}})}),w.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,t){w.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.proxy=function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return i=a.call(arguments,2),(o=function(){return e.apply(t||this,i.concat(a.call(arguments)))}).guid=e.guid=e.guid||w.guid++,o},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=M,w.isFunction=m,w.isWindow=g,w.camelCase=U,w.type=v,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Kt=e.jQuery,Qt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Qt),t&&e.jQuery===w&&(e.jQuery=Kt),w},t||(e.jQuery=e.$=w),w}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");var words;function CroutonLocalization(e){this.language=e,this.words={"da-DK":{days_of_the_week:["","Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],weekday:"Ugedag",city:"By",cities:"Byer",groups:"Grupper",areas:"Områder",regions:"Regions",locations:"Lokalite",counties:"Amter",states:"Provinser",postal_codes:"Post nummer",formats:"Struktur",map:"Kort",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",tabular:"As table",google_directions:"Google directions to meeting",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode"},"de-DE":{days_of_the_week:["","Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],weekday:"Wochentag",city:"Stadt",cities:"Städte",groups:"Gruppen",areas:"Gebiete",regions:"Regions",locations:"Orte",counties:"Landkreise",states:"Bundesländer",postal_codes:"PLZ",formats:"Formate",map:"Karte",neighborhood:"Nachbarschaft",near_me:"In meiner Nähe",text_search:"Textsuche",click_search:"Klicksuche",pan_and_zoom:"Schwenken + Zoomen",languages:"Sprachen",common_needs:"Common Needs",meeting_count:"Wöchentliche Meetings:",venue_types:"Treffpunktarten",venue_type_choices:{IN_PERSON:"Präsens-Meetings",VIRTUAL:"Online-Meetings"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"Teilen",tabular:"Als Tabelle",google_directions:"Google Routenplaner",no_meetings_for_this_day:"Keine Meetings an diesem Tag.","css-textalign":"","css-floatdirection":"",all:"Alle",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Meetings in andere Städten","filter meetings":"Filter für Sprache, Format usw.","visible meeting list":"Sichtbare Meetings als Tabelle","enter a city or zip code":"Stadt oder PLZ","toggle fullscreen mode":"Umschalten Vollbildmodus",close:"Schliessen","meeting page":"Meeting Seite","meeting details":"Genaueres zu Meeting"},"en-AU":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"en-CA":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"Provinces",postal_codes:"Postal Codes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"en-NZ":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"en-UK":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"en-US":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Zips",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",tabular:"As table",google_directions:"Google directions to meeting",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"es-US":{days_of_the_week:["","Domingo"," Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],weekday:"Día de la semana",city:"Ciudad",cities:"Ciudades",groups:"Grupos",areas:"Areas",regions:"Regions",locations:"Ubicaciones",counties:"Condados",states:"Estados",postal_codes:"Codiagos postales",formats:"Formatos",map:"Mapa",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"",tabular:"As table",google_directions:"Google directions to meeting","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"fa-IR":{days_of_the_week:["","یَکشَنب","دوشَنبه","سه‌شنبه","چهار شنبه","پَنج شَنبه","جُمعه","شَنبه"],weekday:"روز هفته",city:"شهر",cities:"شهرها",groups:"گروه ها",areas:"نواحی",regions:"Regions",locations:"آدرسها",counties:"بخشها",states:"ایالات",postal_codes:"کد پستی",formats:"فورمت ها",map:"نقشه",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":'style="text-align:right;"',"css-floatdirection":'style="float:right;"',all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"fr-CA":{days_of_the_week:["","Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],weekday:"Journée",city:"Ville",cities:"Villes",groups:"Groupes",areas:"CSL",regions:"Regions",locations:"Emplacements",counties:"Régions",states:"Provinces",postal_codes:"Codes postaux",formats:"Formats",map:"Carte",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"it-IT":{days_of_the_week:["","Domenica"," Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],weekday:"Giorno",city:"Città",cities:"Città",groups:"Gruppi",areas:"Aree",regions:"Regione",locations:"Località",counties:"Province",states:"Regione",postal_codes:"CAP",formats:"Formati",map:"Mappa",neighborhood:"Quartiere",near_me:"Vicino a me",text_search:"Ricerca testuale",click_search:"Fare click su cerca",pan_and_zoom:"Panoramica e zoom",languages:"Lingue",common_needs:"Bisogni comuni",meeting_count:"Incontri settimanali:",venue_types:"Tipologia di locali",venue_type_choices:{IN_PERSON:"Riunione fisica",VIRTUAL:"Riunione virtuale"},service_body_types:{AS:"Comitato area",RS:"Comitato di regione",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Forum supporto gruppi"},share:"Condividi",tabular:"Tabellare",google_directions:"Mappa",no_meetings_for_this_day:"Nessuna riunione per questo giorno.","css-textalign":"","css-floatdirection":"",all:"Tutti",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Mostra incontri nelle vicinanze..","filter meetings":"Filtrare le riunioni","visible meeting list":"Elenco riunioni visibile","enter a city or zip code":"Inserire una città o un codice postale","toggle fullscreen mode":"Attiva/disattiva la modalità a schermo intero",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"nl-NL":{days_of_the_week:["","Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag"],weekday:"Dag van de week",city:"Stad",cities:"Steden",groups:"Groepen",areas:"Gebieden",regions:"Regions",locations:"Locaties",counties:"Landen",states:"Provincies",postal_codes:"Postcodes",formats:"Formats",map:"Kaart",neighborhood:"Buurt",near_me:"Bij mij in de buurt",text_search:"Zoek op tekst",click_search:"Klik om te zoeken",pan_and_zoom:"Pan + Zoom",languages:"Talen",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Soorten locaties",venue_type_choices:{IN_PERSON:"Fysiek",VIRTUAL:"Online"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"pl-PL":{days_of_the_week:["","Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],weekday:"Dzień tygodnia",city:"Miasto",cities:"Miasta",groups:"Grupy",areas:"Okręgi",regions:"Regions",locations:"Lokalizacje",counties:"Powiaty",states:"Województwa",postal_codes:"Kody pocztowe",formats:"Formaty",map:"Mapa",neighborhood:"Sąsiedztwo",near_me:"Blisko Mnie",text_search:"Wpisz",click_search:"Kliknij na mapie",pan_and_zoom:"Przesuń powiększ",languages:"Języki",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"pt-BR":{days_of_the_week:["","Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],weekday:"Dia da semana",city:"Cidade",cities:"Cidades",groups:"Grupos",areas:"Áreas",regions:"Regions",locations:"Localizações",counties:"Municípios",states:"Estados",postal_codes:"CEPs",formats:"Formatos",map:"Mapa",neighborhood:"Bairro",near_me:"Minha Localização",text_search:"digite um endereço",click_search:"Clique no local",pan_and_zoom:"Panorâmico + Zoom",languages:"Idiomas",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"tipos de reunião",venue_type_choices:{IN_PERSON:"Presencial",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"Compartilhar",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"ru-RU":{days_of_the_week:["","Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],weekday:"будний день",city:"Город",cities:"Города",groups:"Группы",areas:"Зоны",regions:"Regions",locations:"Локации",counties:"Страны",states:"Штаты",postal_codes:"Индексы (почтовые)",formats:"Форматы",map:"Карта",neighborhood:"Соседство",near_me:"Около меня",text_search:"Поиск текста",click_search:"Нажмите Поиск",pan_and_zoom:"Pan + Zoom",languages:"Языки",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"sv-SE":{days_of_the_week:["","Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],weekday:"Veckodag",city:"Stad",cities:"Städer",groups:"Grupper",areas:"Distrikt",regions:"Regions",locations:"Plats",counties:"Land",states:"Stater",postal_codes:"Postnummer",formats:"Format",map:"Karta",neighborhood:"Region",near_me:"Nära mig",text_search:"Söktext",click_search:"Sök",pan_and_zoom:"Panorera + Zooma",languages:"Språk",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"}}}!function(e){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(e){"use strict";var t=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};t.VERSION="3.3.5",t.TRANSITION_DURATION=150,t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,n,i){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),a=o.length;a--;){var r=o[a];if("click"==r)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=r){var s="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,i){n[e]!=i&&(t[e]=i)}),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),n.isInStateTrue()?void 0:(clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide())},t.prototype.show=function(){var n=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var i=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!i)return;var o=this,a=this.tip(),r=this.getUID(this.type);this.setContent(),a.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&a.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),h=a[0].offsetWidth,d=a[0].offsetHeight;if(c){var p=s,f=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+d>f.bottom?"top":"top"==s&&u.top-d<f.top?"bottom":"right"==s&&u.right+h>f.width?"left":"left"==s&&u.left-h<f.left?"right":s,a.removeClass(p).addClass(s)}var m=this.getCalculatedOffset(s,u,h,d);this.applyPlacement(m,s);var g=function(){var e=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==e&&o.leave(o)};e.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",g).emulateTransitionEnd(t.TRANSITION_DURATION):g()}},t.prototype.applyPlacement=function(t,n){var i=this.tip(),o=i[0].offsetWidth,a=i[0].offsetHeight,r=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(s)&&(s=0),t.top+=r,t.left+=s,e.offset.setOffset(i[0],e.extend({using:function(e){i.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),i.addClass("in");var l=i[0].offsetWidth,c=i[0].offsetHeight;"top"==n&&c!=a&&(t.top=t.top+a-c);var u=this.getViewportAdjustedDelta(n,t,l,c);u.left?t.left+=u.left:t.top+=u.top;var h=/top|bottom/.test(n),d=h?2*u.left-o+l:2*u.top-a+c,p=h?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(d,i[0][p],h)},t.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},t.prototype.hide=function(n){function i(){"in"!=o.hoverState&&a.detach(),o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),n&&n()}var o=this,a=e(this.$tip),r=e.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(a.removeClass("in"),e.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(t.TRANSITION_DURATION):i(),this.hoverState=null,this)},t.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){var n=(t=t||this.$element)[0],i="BODY"==n.tagName,o=n.getBoundingClientRect();null==o.width&&(o=e.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var a=i?{top:0,left:0}:t.offset(),r={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=i?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},o,r,s,a)},t.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},t.prototype.getViewportAdjustedDelta=function(e,t,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var a=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-a-r.scroll,l=t.top+a-r.scroll+i;s<r.top?o.top=r.top-s:l>r.top+r.height&&(o.top=r.top+r.height-l)}else{var c=t.left-a,u=t.left+a+n;c<r.left?o.left=r.left-c:u>r.right&&(o.left=r.left+r.width-u)}return o},t.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},t.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null})};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var i=e(this),o=i.data("bs.tooltip"),a="object"==typeof n&&n;(o||!/destroy|hide/.test(n))&&(o||i.data("bs.tooltip",o=new t(this,a)),"string"==typeof n&&o[n]())})},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery),function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.5",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var i=e(this),o=i.data("bs.popover"),a="object"==typeof n&&n;(o||!/destroy|hide/.test(n))&&(o||i.data("bs.popover",o=new t(this,a)),"string"==typeof n&&o[n]())})},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var i=e(this),o=i.data("bs.tab");o||i.data("bs.tab",o=new n(this)),"string"==typeof t&&o[t]()})}var n=function(t){this.element=e(t)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var o=n.find(".active:last a"),a=e.Event("hide.bs.tab",{relatedTarget:t[0]}),r=e.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(a),t.trigger(r),!r.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=e(i);this.activate(t.closest("li"),n),this.activate(s,s.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},n.prototype.activate=function(t,i,o){function a(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}var r=i.find("> .active"),s=o&&e.support.transition&&(r.length&&r.hasClass("fade")||!!i.find("> .fade").length);r.length&&s?r.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),r.removeClass("in")};var i=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=i,this};var o=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(e){"use strict";e.fn.emulateTransitionEnd=function(t){var n=!1,i=this;e(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||e(i).trigger(e.support.transition.end)},t),this},e(function(){e.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var n;return function(){var e,n,i;t&&t.requirejs||(t?n=t:t={},function(t){function o(e,t){return v.call(e,t)}function a(e,t){var n,i,o,a,r,s,l,c,u,h,d,p=t&&t.split("/"),f=_.map,m=f&&f["*"]||{};if(e&&"."===e.charAt(0))if(t){for(p=p.slice(0,p.length-1),r=(e=e.split("/")).length-1,_.nodeIdCompat&&w.test(e[r])&&(e[r]=e[r].replace(w,"")),e=p.concat(e),u=0;u<e.length;u+=1)if("."===(d=e[u]))e.splice(u,1),u-=1;else if(".."===d){if(1===u&&(".."===e[2]||".."===e[0]))break;u>0&&(e.splice(u-1,2),u-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((p||m)&&f){for(u=(n=e.split("/")).length;u>0;u-=1){if(i=n.slice(0,u).join("/"),p)for(h=p.length;h>0;h-=1)if((o=f[p.slice(0,h).join("/")])&&(o=o[i])){a=o,s=u;break}if(a)break;!l&&m&&m[i]&&(l=m[i],c=u)}!a&&l&&(a=l,s=c),a&&(n.splice(0,s,a),e=n.join("/"))}return e}function r(e,n){return function(){return d.apply(t,b.call(arguments,0).concat([e,n]))}}function s(e){return function(t){m[e]=t}}function l(e){if(o(g,e)){var n=g[e];delete g[e],y[e]=!0,h.apply(t,n)}if(!o(m,e)&&!o(y,e))throw new Error("No "+e);return m[e]}function c(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function u(e){return function(){return _&&_.config&&_.config[e]||{}}}var h,d,p,f,m={},g={},_={},y={},v=Object.prototype.hasOwnProperty,b=[].slice,w=/\.js$/;p=function(e,t){var n,i=c(e),o=i[0];return e=i[1],o&&(n=l(o=a(o,t))),o?e=n&&n.normalize?n.normalize(e,function(e){return function(t){return a(t,e)}}(t)):a(e,t):(o=(i=c(e=a(e,t)))[0],e=i[1],o&&(n=l(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},f={require:function(e){return r(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:u(e)}}},h=function(e,n,i,a){var c,u,h,d,_,v,b=[],w=typeof i;if(a=a||e,"undefined"===w||"function"===w){for(n=!n.length&&i.length?["require","exports","module"]:n,_=0;_<n.length;_+=1)if("require"===(u=(d=p(n[_],a)).f))b[_]=f.require(e);else if("exports"===u)b[_]=f.exports(e),v=!0;else if("module"===u)c=b[_]=f.module(e);else if(o(m,u)||o(g,u)||o(y,u))b[_]=l(u);else{if(!d.p)throw new Error(e+" missing "+u);d.p.load(d.n,r(a,!0),s(u),{}),b[_]=m[u]}h=i?i.apply(m[e],b):void 0,e&&(c&&c.exports!==t&&c.exports!==m[e]?m[e]=c.exports:h===t&&v||(m[e]=h))}else e&&(m[e]=i)},e=n=d=function(e,n,i,o,a){if("string"==typeof e)return f[e]?f[e](n):l(p(e,n).f);if(!e.splice){if((_=e).deps&&d(_.deps,_.callback),!n)return;n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=o,o=a),o?h(t,e,n,i):setTimeout(function(){h(t,e,n,i)},4),d},d.config=function(e){return d(e)},e._defined=m,(i=function(e,t,n){t.splice||(n=t,t=[]),o(m,e)||o(g,e)||(g[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=i)}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(e){function t(e){var t=e.prototype,n=[];for(var i in t){"function"==typeof t[i]&&"constructor"!==i&&n.push(i)}return n}var n={Extend:function(e,t){function n(){this.constructor=e}var i={}.hasOwnProperty;for(var o in t)i.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},Decorate:function(e,n){function i(){var t=Array.prototype.unshift,i=n.prototype.constructor.length,o=e.prototype.constructor;i>0&&(t.call(arguments,e.prototype.constructor),o=n.prototype.constructor),o.apply(this,arguments)}var o=t(n),a=t(e);n.displayName=e.displayName,i.prototype=new function(){this.constructor=i};for(var r=0;r<a.length;r++){var s=a[r];i.prototype[s]=e.prototype[s]}for(var l=function(e){var t=function(){};e in i.prototype&&(t=i.prototype[e]);var o=n.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),o.apply(this,arguments)}},c=0;c<o.length;c++){var u=o[c];i.prototype[u]=l(u)}return i}},i=function(){this.listeners={}};return i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.prototype.trigger=function(e){var t=Array.prototype.slice;this.listeners=this.listeners||{},e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;i>n;n++)e[n].apply(this,t)},n.Observable=i,n.generateChars=function(e){for(var t="",n=0;e>n;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},n.bind=function(e,t){return function(){e.apply(t,arguments)}},n._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var o=0;o<n.length;o++){var a=n[o];(a=a.substring(0,1).toLowerCase()+a.substring(1))in i||(i[a]={}),o==n.length-1&&(i[a]=e[t]),i=i[a]}delete e[t]}}return e},n.hasScroll=function(t,n){var i=e(n),o=n.style.overflowX,a=n.style.overflowY;return(o!==a||"hidden"!==a&&"visible"!==a)&&("scroll"===o||"scroll"===a||(i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth))},n.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},n.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var i=e();e.map(n,function(e){i=i.add(e)}),n=i}t.append(n)},n}),t.define("select2/results",["jquery","./utils"],function(e,t){function n(e,t,i){this.$element=e,this.data=i,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=e('<li role="treeitem" class="select2-results__option"></li>'),o=this.options.get("translations").get(t.message);i.append(n(o(t.args))),this.$results.append(i)},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],o=this.option(i);t.push(o)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.setClasses=function(){var t=this;this.data.current(function(n){var i=e.map(n,function(e){return e.id.toString()}),o=t.$results.find(".select2-results__option[aria-selected]");o.each(function(){var t=e(this),n=e.data(this,"data"),o=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(o,i)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")});var a=o.filter("[aria-selected=true]");a.length>0?a.first().trigger("mouseenter"):o.first().trigger("mouseenter")})},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(t){var n=document.createElement("li");n.className="select2-results__option";var i={role:"treeitem","aria-selected":"false"};for(var o in t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]),i){var a=i[o];n.setAttribute(o,a)}if(t.children){var r=e(n),s=document.createElement("strong");s.className="select2-results__group",e(s),this.template(t,s);for(var l=[],c=0;c<t.children.length;c++){var u=t.children[c],h=this.option(u);l.push(h)}var d=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});d.append(l),r.append(s),r.append(d)}else this.template(t,n);return e.data(n,"data",t),n},n.prototype.bind=function(t){var n=this,i=t.id+"-results";this.$results.attr("id",i),t.on("results:all",function(e){n.clear(),n.append(e.data),t.isOpen()&&n.setClasses()}),t.on("results:append",function(e){n.append(e.data),t.isOpen()&&n.setClasses()}),t.on("query",function(e){n.showLoading(e)}),t.on("select",function(){t.isOpen()&&n.setClasses()}),t.on("unselect",function(){t.isOpen()&&n.setClasses()}),t.on("open",function(){n.$results.attr("aria-expanded","true"),n.$results.attr("aria-hidden","false"),n.setClasses(),n.ensureHighlightVisible()}),t.on("close",function(){n.$results.attr("aria-expanded","false"),n.$results.attr("aria-hidden","true"),n.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=n.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=n.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?n.trigger("close"):n.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=n.getHighlightedResults(),t=n.$results.find("[aria-selected]"),i=t.index(e);if(0!==i){var o=i-1;0===e.length&&(o=0);var a=t.eq(o);a.trigger("mouseenter");var r=n.$results.offset().top,s=a.offset().top,l=n.$results.scrollTop()+(s-r);0===o?n.$results.scrollTop(0):0>s-r&&n.$results.scrollTop(l)}}),t.on("results:next",function(){var e=n.getHighlightedResults(),t=n.$results.find("[aria-selected]"),i=t.index(e)+1;if(!(i>=t.length)){var o=t.eq(i);o.trigger("mouseenter");var a=n.$results.offset().top+n.$results.outerHeight(!1),r=o.offset().top+o.outerHeight(!1),s=n.$results.scrollTop()+r-a;0===i?n.$results.scrollTop(0):r>a&&n.$results.scrollTop(s)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){n.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=n.$results.scrollTop(),i=n.$results.get(0).scrollHeight-n.$results.scrollTop()+e.deltaY,o=e.deltaY>0&&t-e.deltaY<=0,a=e.deltaY<0&&i<=n.$results.height();o?(n.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):a&&(n.$results.scrollTop(n.$results.get(0).scrollHeight-n.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var i=e(this),o=i.data("data");return"true"===i.attr("aria-selected")?void(n.options.get("multiple")?n.trigger("unselect",{originalEvent:t,data:o}):n.trigger("close")):void n.trigger("select",{originalEvent:t,data:o})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var t=e(this).data("data");n.getHighlightedResults().removeClass("select2-results__option--highlighted"),n.trigger("results:focus",{data:t,element:e(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,o=this.$results.scrollTop()+(i-n),a=i-n;o-=2*e.outerHeight(!1),2>=t?this.$results.scrollTop(0):(a>this.$results.outerHeight()||0>a)&&this.$results.scrollTop(o)}},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),a=i(t);null==a?n.style.display="none":"string"==typeof a?n.innerHTML=o(a):e(n).append(a)},n}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="select2-selection" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},i.prototype.bind=function(e){var t=this,i=(e.id,e.id+"-results");this.container=e,this.$selection.on("focus",function(e){t.trigger("focus",e)}),this.$selection.on("blur",function(e){t.trigger("blur",e)}),this.$selection.on("keydown",function(e){t.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){t.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){t.update(e.data)}),e.on("open",function(){t.$selection.attr("aria-expanded","true"),t.$selection.attr("aria-owns",i),t._attachCloseHandler(e)}),e.on("close",function(){t.$selection.attr("aria-expanded","false"),t.$selection.removeAttr("aria-activedescendant"),t.$selection.removeAttr("aria-owns"),t.$selection.focus(),t._detachCloseHandler(e)}),e.on("enable",function(){t.$selection.attr("tabindex",t._tabindex)}),e.on("disable",function(){t.$selection.attr("tabindex","-1")})},i.prototype._attachCloseHandler=function(t){e(document.body).on("mousedown.select2."+t.id,function(t){var n=e(t.target).closest(".select2");e(".select2.select2-container--open").each(function(){var t=e(this);this!=n[0]&&t.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(e,t){t.find(".selection").append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},i}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},i.prototype.bind=function(e){var t=this;i.__super__.bind.apply(this,arguments);var n=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(e){1===e.which&&t.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),e.on("selection:update",function(e){t.update(e.data)})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},i.prototype.display=function(e){var t=this.options.get("templateSelection");return this.options.get("escapeMarkup")(t(e))},i.prototype.selectionContainer=function(){return e("<span></span>")},i.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.display(t),i=this.$selection.find(".select2-selection__rendered");i.empty().append(n),i.prop("title",t.title||t.text)}else this.clear()},i}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},i.prototype.bind=function(){var t=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){t.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(n){var i=e(this).parent().data("data");t.trigger("unselect",{originalEvent:n,data:i})})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},i.prototype.display=function(e){var t=this.options.get("templateSelection");return this.options.get("escapeMarkup")(t(e))},i.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=0;i<e.length;i++){var o=e[i],a=this.display(o),r=this.selectionContainer();r.append(a),r.prop("title",o.title||o.text),r.data("data",o),t.push(r)}var s=this.$selection.find(".select2-selection__rendered");n.appendMany(s,t)}},i}),t.define("select2/selection/placeholder",["../utils"],function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e}),t.define("select2/selection/allowClear",["jquery","../keys"],function(e,t){function n(){}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();for(var i=n.data("data"),o=0;o<i.length;o++){var a={data:i[o]};if(this.trigger("unselect",a),a.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle")}}},n.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||(n.which==t.DELETE||n.which==t.BACKSPACE)&&this._handleClear(n)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var i=e('<span class="select2-selection__clear">&times;</span>');i.data("data",n),this.$selection.find(".select2-selection__rendered").prepend(i)}},n}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.prototype.render=function(t){var n=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></li>');return this.$searchContainer=n,this.$search=n.find("input"),t.call(this)},i.prototype.bind=function(e,t,i){var o=this;e.call(this,t,i),t.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus()}),t.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val(""),o.$search.focus()}),t.on("enable",function(){o.$search.prop("disabled",!1)}),t.on("disable",function(){o.$search.prop("disabled",!0)}),this.$selection.on("focusin",".select2-search--inline",function(e){o.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){o.trigger("blur",e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===o.$search.val()){var t=o.$searchContainer.prev(".select2-selection__choice");if(t.length>0){var i=t.data("data");o.searchRemoveChoice(i),e.preventDefault()}}}),this.$selection.on("input",".select2-search--inline",function(){o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input",".select2-search--inline",function(e){o.handleSearch(e)})},i.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},i.prototype.update=function(e,t){this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch()},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.trigger("open"),this.$search.val(t.text+" ")},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";""!==this.$search.attr("placeholder")?e=this.$selection.find(".select2-selection__rendered").innerWidth():e=.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},i}),t.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,i){var o=this,a=["open","opening","close","closing","select","selecting","unselect","unselecting"],r=["opening","closing","selecting","unselecting"];t.call(this,n,i),n.on("*",function(t,n){if(-1!==e.inArray(t,a)){n=n||{};var i=e.Event("select2:"+t,{params:n});o.$element.trigger(i),-1!==e.inArray(t,r)&&(n.prevented=i.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])},n}),t.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),t.define("select2/data/base",["../utils"],function(e){function t(){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var i=t.id+"-result-";return(i+=e.generateChars(4))+(null!=n.id?"-"+n.id.toString():"-"+e.generateChars(4))},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=[],i=this;this.$element.find(":selected").each(function(){var e=n(this),o=i.item(e);t.push(o)}),e(t)},i.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var o=[];(e=[e]).push.apply(e,i);for(var a=0;a<e.length;a++){var r=e[a].id;-1===n.inArray(r,o)&&o.push(r)}t.$element.val(o),t.$element.trigger("change")});else{var i=e.id;this.$element.val(i),this.$element.trigger("change")}},i.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple"))return e.selected=!1,n(e.element).is("option")?(e.element.selected=!1,void this.$element.trigger("change")):void this.current(function(i){for(var o=[],a=0;a<i.length;a++){var r=i[a].id;r!==e.id&&-1===n.inArray(r,o)&&o.push(r)}t.$element.val(o),t.$element.trigger("change")})},i.prototype.bind=function(e){var t=this;this.container=e,e.on("select",function(e){t.select(e.data)}),e.on("unselect",function(e){t.unselect(e.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){n.removeData(this,"data")})},i.prototype.query=function(e,t){var i=[],o=this;this.$element.children().each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var a=o.item(t),r=o.matches(e,a);null!==r&&i.push(r)}}),t({results:i})},i.prototype.addOptions=function(e){t.appendMany(this.$element,e)},i.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var i=n(t),o=this._normalizeItem(e);return o.element=t,n.data(t,"data",o),i},i.prototype.item=function(e){var t={};if(null!=(t=n.data(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),o=[],a=0;a<i.length;a++){var r=n(i[a]),s=this.item(r);o.push(s)}t.children=o}return(t=this._normalizeItem(t)).element=e[0],n.data(e[0],"data",t),t},i.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e});return null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},{selected:!1,disabled:!1},e)},i.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},i}),t.define("select2/data/array",["./select","../utils","jquery"],function(e,t,n){function i(e,t){var n=t.get("data")||[];i.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(i,e),i.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){function i(e){return function(){return n(this).val()==e.id}}for(var o=this,a=this.$element.find("option"),r=a.map(function(){return o.item(n(this)).id}).get(),s=[],l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,r)>=0){var u=a.filter(i(c)),h=this.item(u),d=(n.extend(!0,{},h,c),this.option(h));u.replaceWith(d)}else{var p=this.option(c);if(c.children){var f=this.convertToOptions(c.children);t.appendMany(p,f)}s.push(p)}}return s},i}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function i(t,n){this.ajaxOptions=this._applyDefaults(n.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),e.__super__.constructor.call(this,t,n)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){var t={data:function(e){return{q:e.term}},transport:function(e,t,i){var o=n.ajax(e);return o.then(t),o.fail(i),o}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){function i(){var i=a.transport(a,function(i){var a=o.processResults(i,e);o.options.get("debug")&&window.console&&console.error&&(a&&a.results&&n.isArray(a.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(a)},function(){});o._request=i}var o=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var a=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof a.url&&(a.url=a.url(e)),"function"==typeof a.data&&(a.data=a.data(e)),this.ajaxOptions.delay&&""!==e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),t.define("select2/data/tags",["jquery"],function(e){function t(t,n,i){var o=i.get("tags"),a=i.get("createTag");if(void 0!==a&&(this.createTag=a),t.call(this,n,i),e.isArray(o))for(var r=0;r<o.length;r++){var s=o[r],l=this._normalizeItem(s),c=this.option(l);this.$element.append(c)}}return t.prototype.query=function(e,t,n){var i=this;return this._removeOldTags(),null==t.term||null!=t.page?void e.call(this,t,n):void e.call(this,t,function e(o,a){for(var r=o.results,s=0;s<r.length;s++){var l=r[s],c=null!=l.children&&!e({results:l.children},!0);if(l.text===t.term||c)return!a&&(o.data=r,void n(o))}if(a)return!0;var u=i.createTag(t);if(null!=u){var h=i.option(u);h.attr("data-select2-tag",!0),i.addOptions([h]),i.insertTag(r,u)}o.results=r,n(o)})},t.prototype.createTag=function(t,n){var i=e.trim(n.term);return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(){(this._lastTag,this.$element.find("option[data-select2-tag]")).each(function(){this.selected||e(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(e){function t(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(e,t,n){var i=this;t.term=t.term||"";var o=this.tokenizer(t,this.options,function(e){i.select(e)});o.term!==t.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),t.term=o.term),e.call(this,t,n)},t.prototype.tokenizer=function(t,n,i,o){for(var a=i.get("tokenSeparators")||[],r=n.term,s=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};s<r.length;){var c=r[s];if(-1!==e.inArray(c,a)){var u=r.substr(0,s);o(l(e.extend({},n,{term:u}))),r=r.substr(s+1)||"",s=0}else s++}return{term:r}},t}),t.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){return t.term=t.term||"",t.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):void e.call(this,t,n)},e}),t.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){return t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):void e.call(this,t,n)},e}),t.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){var i=this;this.current(function(o){var a=null!=o?o.length:0;return i.maximumSelectionLength>0&&a>=i.maximumSelectionLength?void i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):void e.call(i,t,n)})},e}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.position=function(){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),i=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},t.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),this.$search.on("keydown",function(e){o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(){e(this).off("keyup")}),this.$search.on("keyup input",function(e){o.handleSearch(e)}),n.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),n.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}),n.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(o.showSearch(e)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})},t.prototype.handleSearch=function(){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},t.prototype.showSearch=function(){return!0},t}),t.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var o=t[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},e}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),n.on("query",function(e){o.lastParams=e,o.loading=!0}),n.on("query:append",function(e){o.lastParams=e,o.loading=!0}),this.$results.on("scroll",function(){var t=e.contains(document.documentElement,o.$loadingMore[0]);!o.loading&&t&&(o.$results.offset().top+o.$results.outerHeight(!1)+50>=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1)&&o.loadMore())})},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="option load-more" role="treeitem"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(e,t,n){this.$dropdownParent=n.get("dropdownParent")||document.body,e.call(this,t,n)}return n.prototype.bind=function(e,t,n){var i=this,o=!1;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),o||(o=!0,t.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),t.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n){var i=this,o="scroll.select2."+n.id,a="resize.select2."+n.id,r="orientationchange.select2."+n.id,s=this.$container.parents().filter(t.hasScroll);s.each(function(){e(this).data("select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),s.on(o,function(){var t=e(this).data("select2-scroll-position");e(this).scrollTop(t.y)}),e(window).on(o+" "+a+" "+r,function(){i._positionDropdown(),i._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n){var i="scroll.select2."+n.id,o="resize.select2."+n.id,a="orientationchange.select2."+n.id;this.$container.parents().filter(t.hasScroll).off(i),e(window).off(i+" "+o+" "+a)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),o=null,a=(this.$container.position(),this.$container.offset());a.bottom=a.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=a.top,r.bottom=a.top+r.height;var s=this.$dropdown.outerHeight(!1),l=t.scrollTop(),c=t.scrollTop()+t.height(),u=l<a.top-s,h=c>a.bottom+s,d={left:a.left,top:r.bottom};n||i||(o="below"),h||!u||n?!u&&h&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(d.top=r.top-s),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){this.$dropdownContainer.width();var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var o=t[i];o.children?n+=e(o.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),t.define("select2/dropdown/selectOnClose",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(){i._handleSelectOnClose()})},e.prototype._handleSelectOnClose=function(){var e=this.getHighlightedResults();e.length<1||this.trigger("select",{data:e.data("data")})},e}),t.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&n.ctrlKey||this.trigger("close")},e}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(e,t,n,i,o,a,r,s,l,c,u,h,d,p,f,m,g,_,y,v,b,w,A,x,k,S,C,P,M){function T(){this.reset()}return T.prototype.apply=function(h){if(null==(h=e.extend({},this.defaults,h)).dataAdapter){if(h.dataAdapter=null!=h.ajax?f:null!=h.data?p:d,h.minimumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,_)),h.maximumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,y)),h.maximumSelectionLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,v)),h.tags&&(h.dataAdapter=c.Decorate(h.dataAdapter,m)),(null!=h.tokenSeparators||null!=h.tokenizer)&&(h.dataAdapter=c.Decorate(h.dataAdapter,g)),null!=h.query){var M=t(h.amdBase+"compat/query");h.dataAdapter=c.Decorate(h.dataAdapter,M)}if(null!=h.initSelection){var T=t(h.amdBase+"compat/initSelection");h.dataAdapter=c.Decorate(h.dataAdapter,T)}}if(null==h.resultsAdapter&&(h.resultsAdapter=n,null!=h.ajax&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,x)),null!=h.placeholder&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,A)),h.selectOnClose&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,C))),null==h.dropdownAdapter){if(h.multiple)h.dropdownAdapter=b;else{var L=c.Decorate(b,w);h.dropdownAdapter=L}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,S)),h.closeOnSelect&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,P)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var E=t(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=c.Decorate(h.dropdownAdapter,E)}h.dropdownAdapter=c.Decorate(h.dropdownAdapter,k)}if(null==h.selectionAdapter){if(h.selectionAdapter=h.multiple?o:i,null!=h.placeholder&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,a)),h.allowClear&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,r)),h.multiple&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,s)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var O=t(h.amdBase+"compat/containerCss");h.selectionAdapter=c.Decorate(h.selectionAdapter,O)}h.selectionAdapter=c.Decorate(h.selectionAdapter,l)}if("string"==typeof h.language)if(h.language.indexOf("-")>0){var D=h.language.split("-")[0];h.language=[h.language,D]}else h.language=[h.language];if(e.isArray(h.language)){var z=new u;h.language.push("en");for(var I=h.language,N=0;N<I.length;N++){var B=I[N],j={};try{j=u.loadPath(B)}catch(e){try{B=this.defaults.amdLanguageBase+B,j=u.loadPath(B)}catch(e){h.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+B+'" could not be automatically loaded. A fallback will be used instead.');continue}}z.extend(j)}h.translations=z}else{var R=u.loadPath(this.defaults.amdLanguageBase+"en"),H=new u(h.language);H.extend(R),h.translations=H}return h},T.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return h[e]||e})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:M,matcher:function n(i,o){if(""===e.trim(i.term))return o;if(o.children&&o.children.length>0){for(var a=e.extend(!0,{},o),r=o.children.length-1;r>=0;r--)null==n(i,o.children[r])&&a.children.splice(r,1);return a.children.length>0?a:n(i,a)}var s=t(o.text).toUpperCase(),l=t(i.term).toUpperCase();return s.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},T.prototype.set=function(t,n){var i={};i[e.camelCase(t)]=n;var o=c._convertData(i);e.extend(this.defaults,o)},new T}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(e,t,n,i){function o(t,o){if(this.options=t,null!=o&&this.fromElement(o),this.options=n.apply(this.options),o&&o.is("input")){var a=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,a)}}return o.prototype.fromElement=function(e){var n=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(this.options.dir=e.prop("dir")?e.prop("dir"):e.closest("[dir]").prop("dir")?e.closest("[dir]").prop("dir"):"ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),e.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),e.data("data",e.data("select2Tags")),e.data("tags",!0)),e.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",e.data("ajaxUrl")),e.data("ajax--url",e.data("ajaxUrl")));var o;o=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var a=t.extend(!0,{},o);for(var r in a=i._convertData(a))t.inArray(r,n)>-1||(t.isPlainObject(this.options[r])?t.extend(this.options[r],a[r]):this.options[r]=a[r]);return this},o.prototype.get=function(e){return this.options[e]},o.prototype.set=function(e,t){this.options[e]=t},o}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,n,i){var o=function(e,n){null!=e.data("select2")&&e.data("select2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),o.__super__.constructor.call(this);var i=e.attr("tabindex")||0;e.data("old-tabindex",i),e.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(e,this.options);var r=this.render();this._placeContainer(r);var s=this.options.get("selectionAdapter");this.selection=new s(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){u.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),e.data("select2",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4))},o.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},o.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var o=e.outerWidth(!1);return 0>=o?"auto":o+"px"}if("style"==t){var a=e.attr("style");if("string"!=typeof a)return null;for(var r=a.split(";"),s=0,l=r.length;l>s;s+=1){var c=r[s].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return t},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this._sync=n.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){e.each(n,t._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",t._sync,!1)},o.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerSelectionEvents=function(){var t=this,n=["toggle"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("*",function(i,o){-1===e.inArray(i,n)&&t.trigger(i,o)})},o.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("select2-container--open")}),this.on("close",function(){e.$container.removeClass("select2-container--open")}),this.on("enable",function(){e.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){e.$container.addClass("select2-container--disabled")}),this.on("focus",function(){e.$container.addClass("select2-container--focus")}),this.on("blur",function(){e.$container.removeClass("select2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open"),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===i.ENTER?(e.trigger("results:select"),t.preventDefault()):n===i.SPACE&&t.ctrlKey?(e.trigger("results:toggle"),t.preventDefault()):n===i.UP?(e.trigger("results:previous"),t.preventDefault()):n===i.DOWN?(e.trigger("results:next"),t.preventDefault()):(n===i.ESC||n===i.TAB)&&(e.close(),t.preventDefault()):(n===i.ENTER||n===i.SPACE||(n===i.DOWN||n===i.UP)&&t.altKey)&&(e.open(),t.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable")):this.trigger("enable")},o.prototype.trigger=function(e,t){var n=o.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(e in i){var a=i[e],r={prevented:!1,name:e,args:t};if(n.call(this,a,r),r.prevented)return void(t.prevented=!0)}n.call(this,e,t)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||(this.trigger("query",{}),this.trigger("open"))},o.prototype.close=function(){this.isOpen()&&this.trigger("close")},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==e||0===e.length)&&(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},o.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,function(e){return e.toString()})),this.$element.val(n).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},o}),t.define("select2/compat/utils",["jquery"],function(e){return{syncCssClasses:function(t,n,i){var o,a,r=[];(o=e.trim(t.attr("class")))&&e((o=""+o).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&r.push(this)}),(o=e.trim(n.attr("class")))&&e((o=""+o).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(a=i(this))&&r.push(a)}),t.attr("class",r.join(" "))}}}),t.define("select2/compat/containerCss",["jquery","./utils"],function(e,t){function n(){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),a=this.options.get("containerCssClass")||"";e.isFunction(a)&&(a=a(this.$element));var r=this.options.get("adaptContainerCssClass");if(r=r||n,-1!==a.indexOf(":all:")){a=a.replace(":all","");var s=r;r=function(e){var t=s(e);return null!=t?t+" "+e:e}}var l=this.options.get("containerCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(o,this.$element,r),o.css(l),o.addClass(a),o},i}),t.define("select2/compat/dropdownCss",["jquery","./utils"],function(e,t){function n(){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),a=this.options.get("dropdownCssClass")||"";e.isFunction(a)&&(a=a(this.$element));var r=this.options.get("adaptDropdownCssClass");if(r=r||n,-1!==a.indexOf(":all:")){a=a.replace(":all","");var s=r;r=function(e){var t=s(e);return null!=t?t+" "+e:e}}var l=this.options.get("dropdownCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(o,this.$element,r),o.css(l),o.addClass(a),o},i}),t.define("select2/compat/initSelection",["jquery"],function(e){function t(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return t.prototype.current=function(t,n){var i=this;return this._isInitialized?void t.call(this,n):void this.initSelection.call(null,this.$element,function(t){i._isInitialized=!0,e.isArray(t)||(t=[t]),n(t)})},t}),t.define("select2/compat/inputData",["jquery"],function(e){function t(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return t.prototype.current=function(t,n){function i(t,n){var o=[];return t.selected||-1!==e.inArray(t.id,n)?(t.selected=!0,o.push(t)):t.selected=!1,t.children&&o.push.apply(o,i(t.children,n)),o}for(var o=[],a=0;a<this._currentData.length;a++){var r=this._currentData[a];o.push.apply(o,i(r,this.$element.val().split(this._valueSeparator)))}n(o)},t.prototype.select=function(t,n){if(this.options.get("multiple")){var i=this.$element.val();i+=this._valueSeparator+n.id,this.$element.val(i),this.$element.trigger("change")}else this.current(function(t){e.map(t,function(e){e.selected=!1})}),this.$element.val(n.id),this.$element.trigger("change")},t.prototype.unselect=function(e,t){var n=this;t.selected=!1,this.current(function(e){for(var i=[],o=0;o<e.length;o++){var a=e[o];t.id!=a.id&&i.push(a.id)}n.$element.val(i.join(n._valueSeparator)),n.$element.trigger("change")})},t.prototype.query=function(e,t,n){for(var i=[],o=0;o<this._currentData.length;o++){var a=this._currentData[o],r=this.matches(t,a);null!==r&&i.push(r)}n({results:i})},t.prototype.addOptions=function(t,n){var i=e.map(n,function(t){return e.data(t[0],"data")});this._currentData.push.apply(this._currentData,i)},t}),t.define("select2/compat/matcher",["jquery"],function(e){return function(t){return function(n,i){var o=e.extend(!0,{},i);if(null==n.term||""===e.trim(n.term))return o;if(i.children){for(var a=i.children.length-1;a>=0;a--){var r=i.children[a];t(n.term,r.text,r)||o.children.splice(a,1)}if(o.children.length>0)return o}return t(n.term,i.text,i)?o:null}}}),t.define("select2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e}),t.define("select2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e}),t.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),t.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),t.define("jquery.select2",["jquery","require","./select2/core","./select2/defaults"],function(e,t,n,i){if(t("jquery.mousewheel"),null==e.fn.select2){var o=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var i=e.extend({},t,!0);new n(e(this),i)}),this;if("string"==typeof t){var i=this.data("select2");null==i&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2.");var a=Array.prototype.slice.call(arguments,1),r=i[t](a);return e.inArray(t,o)>-1?this:r}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=i),n}),n=function(e){function t(t){var r=t||window.event,s=l.call(arguments,1),c=0,h=0,d=0,p=0,f=0,m=0;if((t=e.event.fix(r)).type="mousewheel","detail"in r&&(d=-1*r.detail),"wheelDelta"in r&&(d=r.wheelDelta),"wheelDeltaY"in r&&(d=r.wheelDeltaY),"wheelDeltaX"in r&&(h=-1*r.wheelDeltaX),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(h=-1*d,d=0),c=0===d?h:d,"deltaY"in r&&(c=d=-1*r.deltaY),"deltaX"in r&&(h=r.deltaX,0===d&&(c=-1*h)),0!==d||0!==h){if(1===r.deltaMode){var g=e.data(this,"mousewheel-line-height");c*=g,d*=g,h*=g}else if(2===r.deltaMode){var _=e.data(this,"mousewheel-page-height");c*=_,d*=_,h*=_}if(p=Math.max(Math.abs(d),Math.abs(h)),(!a||a>p)&&(a=p,i(r,p)&&(a/=40)),i(r,p)&&(c/=40,h/=40,d/=40),c=Math[c>=1?"floor":"ceil"](c/a),h=Math[h>=1?"floor":"ceil"](h/a),d=Math[d>=1?"floor":"ceil"](d/a),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();f=t.clientX-y.left,m=t.clientY-y.top}return t.deltaX=h,t.deltaY=d,t.deltaFactor=a,t.offsetX=f,t.offsetY=m,t.deltaMode=0,s.unshift(t,c,h,d),o&&clearTimeout(o),o=setTimeout(n,200),(e.event.dispatch||e.event.handle).apply(this,s)}}function n(){a=null}function i(e,t){return u.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var o,a,r=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var c=r.length;c;)e.event.fixHooks[r[--c]]=e.event.mouseHooks;var u=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=s.length;n;)this.addEventListener(s[--n],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",u.getLineHeight(this)),e.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=s.length;n;)this.removeEventListener(s[--n],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof t.define&&t.define.amd?t.define("jquery.mousewheel",["jquery"],n):"object"==typeof exports?module.exports=n:n(e),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n}),function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return e.Tablesaw=t(n,e)}):"object"==typeof exports?module.exports=t("document"in e?require("jquery"):require("jquery")(e),e):e.Tablesaw=t(jQuery,e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=t.document,i=!1;n.addEventListener("DOMContentLoaded",function(){i=!0});var o,a,r,s,l,c,u,h,d,p={i18n:{modeStack:"Stack",modeSwipe:"Swipe",modeToggle:"Toggle",modeSwitchColumnsAbbreviated:"Cols",modeSwitchColumns:"Columns",columnToggleButton:"Columns",columnToggleError:"No eligible columns.",sort:"Sort",swipePreviousColumn:"Previous column",swipeNextColumn:"Next column"},mustard:"head"in n&&(!t.blackberry||t.WebKitPoint)&&!t.operamini,$:e,_init:function(e){p.$(e||n).trigger("enhance.tablesaw")},init:function(e){i?p._init(e):"addEventListener"in n&&n.addEventListener("DOMContentLoaded",function(){p._init(e)})}};return e(n).on("enhance.tablesaw",function(){"undefined"!=typeof TablesawConfig&&TablesawConfig.i18n&&(p.i18n=e.extend(p.i18n,TablesawConfig.i18n||{})),p.i18n.modes=[p.i18n.modeStack,p.i18n.modeSwipe,p.i18n.modeToggle]}),p.mustard&&e(n.documentElement).addClass("tablesaw-enhanced"),function(){var i="tablesaw-bar",o={create:"tablesawcreate",destroy:"tablesawdestroy",refresh:"tablesawrefresh",resize:"tablesawresize"},a={};p.events=o;var r=function(t){if(!t)throw new Error("Tablesaw requires an element.");this.table=t,this.$table=e(t),this.$thead=this.$table.children().filter("thead").eq(0),this.$tbody=this.$table.children().filter("tbody"),this.mode=this.$table.attr("data-tablesaw-mode")||"stack",this.$toolbar=null,this.attributes={subrow:"data-tablesaw-subrow",ignorerow:"data-tablesaw-ignorerow"},this.init()};r.prototype.init=function(){if(!this.$thead.length)throw new Error("tablesaw: a <thead> is required, but none was found.");if(!this.$thead.find("th").length)throw new Error("tablesaw: no header cells found. Are you using <th> inside of <thead>?");this.$table.attr("id")||this.$table.attr("id","tablesaw-"+Math.round(1e4*Math.random())),this.createToolbar(),this._initCells(),this.$table.data("tablesaw",this),this.$table.trigger(o.create,[this])},r.prototype.getConfig=function(t){var n=e.extend(a,t||{});return e.extend(n,"undefined"!=typeof TablesawConfig?TablesawConfig:{})},r.prototype._getPrimaryHeaderRow=function(){return this._getHeaderRows().eq(0)},r.prototype._getHeaderRows=function(){return this.$thead.children().filter("tr").filter(function(){return!e(this).is("[data-tablesaw-ignorerow]")})},r.prototype._getRowIndex=function(e){return e.prevAll().length},r.prototype._getHeaderRowIndeces=function(){var t=this,n=[];return this._getHeaderRows().each(function(){n.push(t._getRowIndex(e(this)))}),n},r.prototype._getPrimaryHeaderCells=function(e){return(e||this._getPrimaryHeaderRow()).find("th")},r.prototype._$getCells=function(t){var n=this;return e(t).add(t.cells).filter(function(){var t=e(this),i=t.parent(),o=t.is("[colspan]");return!(i.is("["+n.attributes.subrow+"]")||i.is("["+n.attributes.ignorerow+"]")&&o)})},r.prototype._getVisibleColspan=function(){var t=0;return this._getPrimaryHeaderCells().each(function(){var n=e(this);"none"!==n.css("display")&&(t+=parseInt(n.attr("colspan"),10)||1)}),t},r.prototype.getColspanForCell=function(t){var n=this._getVisibleColspan(),i=0;return t.closest("tr").data("tablesaw-rowspanned")&&i++,t.siblings().each(function(){var t=e(this),n=parseInt(t.attr("colspan"),10)||1;"none"!==t.css("display")&&(i+=n)}),n-i},r.prototype.isCellInColumn=function(t,n){return e(t).add(t.cells).filter(function(){return this===n}).length},r.prototype.updateColspanCells=function(t,n,i){var o=this,a=o._getPrimaryHeaderRow();this.$table.find("[rowspan][data-tablesaw-priority]").each(function(){var t=e(this);if("persist"===t.attr("data-tablesaw-priority")){var n=t.closest("tr"),i=parseInt(t.attr("rowspan"),10);i>1&&((n=n.next()).data("tablesaw-rowspanned",!0),i--)}}),this.$table.find("[colspan],[data-tablesaw-maxcolspan]").filter(function(){return e(this).closest("tr")[0]!==a[0]}).each(function(){var a=e(this);if(void 0===i||o.isCellInColumn(n,this)){var r=o.getColspanForCell(a);t&&void 0!==i&&a[0===r?"addClass":"removeClass"](t);var s=parseInt(a.attr("data-tablesaw-maxcolspan"),10);s?r>s&&(r=s):a.attr("data-tablesaw-maxcolspan",a.attr("colspan")),a.attr("colspan",r)}})},r.prototype._findPrimaryHeadersForCell=function(e){for(var t=this._getPrimaryHeaderRow(),n=this._getPrimaryHeaderCells(t),i=this._getRowIndex(t),o=[],a=0;a<this.headerMapping.length;a++)if(a!==i)for(var r=0;r<this.headerMapping[a].length;r++)this.headerMapping[a][r]===e&&o.push(n[r]);return o},r.prototype.getRows=function(){var t=this;return this.$table.find("tr").filter(function(){return e(this).closest("table").is(t.$table)})},r.prototype.getBodyRows=function(t){return(t?e(t):this.$tbody).children().filter("tr")},r.prototype.getHeaderCellIndex=function(e){for(var t=this.headerMapping[0],n=0;n<t.length;n++)if(t[n]===e)return n;return-1},r.prototype._initCells=function(){this.$table.find("[data-tablesaw-maxcolspan]").each(function(){var t=e(this);t.attr("colspan",t.attr("data-tablesaw-maxcolspan"))});var t=this.getRows(),n=[];t.each(function(e){n[e]=[]}),t.each(function(t){var i=0;e(this).children().each(function(){for(var e=parseInt(this.getAttribute("data-tablesaw-maxcolspan")||this.getAttribute("colspan"),10),o=parseInt(this.getAttribute("rowspan"),10);n[t][i];)i++;if(n[t][i]=this,e)for(var a=0;a<e-1;a++)i++,n[t][i]=this;if(o)for(var r=1;r<o;r++)n[t+r][i]=this;i++})});for(var i=this._getHeaderRowIndeces(),o=0;o<n[0].length;o++)for(var a=0,r=i.length;a<r;a++){var s,l=n[i[a]][o],c=i[a];for(l.cells||(l.cells=[]);c<n.length;)l!==(s=n[c][o])&&l.cells.push(s),c++}this.headerMapping=n},r.prototype.refresh=function(){this._initCells(),this.$table.trigger(o.refresh,[this])},r.prototype._getToolbarAnchor=function(){var e=this.$table.parent();return e.is(".tablesaw-overflow")?e:this.$table},r.prototype._getToolbar=function(e){return e||(e=this._getToolbarAnchor()),e.prev().filter("."+i)},r.prototype.createToolbar=function(){var t=this._getToolbarAnchor(),n=this._getToolbar(t);n.length||(n=e("<div>").addClass(i).insertBefore(t)),this.$toolbar=n,this.mode&&this.$toolbar.addClass("tablesaw-mode-"+this.mode)},r.prototype.destroy=function(){this._getToolbar().each(function(){this.className=this.className.replace(/\btablesaw-mode\-\w*\b/gi,"")});var i=this.$table.attr("id");e(n).off("."+i),e(t).off("."+i),this.$table.trigger(o.destroy,[this]),this.$table.removeData("tablesaw")},e.fn.tablesaw=function(){return this.each(function(){e(this).data("tablesaw")||new r(this)})};var s=e(n);s.on("enhance.tablesaw",function(t){p.mustard&&e(t.target).find("table").filter("[data-tablesaw],[data-tablesaw-mode],[data-tablesaw-sortable]").tablesaw()});var l,c,u=!1;s.on("scroll.tablesaw",function(){u=!0,t.clearTimeout(l),l=t.setTimeout(function(){u=!1},300)}),e(t).on("resize",function(){u||(t.clearTimeout(c),c=t.setTimeout(function(){s.trigger(o.resize)},150))}),p.Table=r}(),o="tablesaw-stack",a="tablesaw-cell-label",r="tablesaw-cell-content",s="tablesaw-stack",l="data-tablesaw-no-labels",c="data-tablesaw-hide-empty",(u=function(t,n){this.tablesaw=n,this.$table=e(t),this.labelless=this.$table.is("["+l+"]"),this.hideempty=this.$table.is("["+c+"]"),this.$table.data(s,this)}).prototype.init=function(){if(this.$table.addClass(o),!this.labelless){var t=this;this.$table.find("th, td").filter(function(){return!e(this).closest("thead").length}).filter(function(){return!(e(this).closest("tr").is("["+l+"]")||t.hideempty&&!e(this).html())}).each(function(){var i=e(n.createElement("b")).addClass(a),o=e(this);e(t.tablesaw._findPrimaryHeadersForCell(this)).each(function(t){var o=e(this.cloneNode(!0)),a=o.find(".tablesaw-sortable-btn");o.find(".tablesaw-sortable-arrow").remove();var r=o.find("[data-tablesaw-checkall]");if(r.closest("label").remove(),r.length)i=e([]);else{t>0&&i.append(n.createTextNode(", "));for(var s,l=a.length?a[0]:o[0];s=l.firstChild;)i[0].appendChild(s)}}),i.length&&!o.find("."+r).length&&o.wrapInner("<span class='"+r+"'></span>");var s=o.find("."+a);s.length?s.replaceWith(i):o.prepend(i)})}},u.prototype.destroy=function(){this.$table.removeClass(o),this.$table.find("."+a).remove(),this.$table.find("."+r).each(function(){e(this).replaceWith(this.childNodes)})},e(n).on(p.events.create,function(e,t){"stack"===t.mode&&new u(t.table,t).init()}).on(p.events.refresh,function(t,n){"stack"===n.mode&&e(n.table).data(s).init()}).on(p.events.destroy,function(t,n){"stack"===n.mode&&e(n.table).data(s).destroy()}),p.Stack=u,h={_create:function(){return e(this).each(function(){e(this).trigger("beforecreate.tablesawbtn").tablesawbtn("_init").trigger("create.tablesawbtn")})},_init:function(){var t=e(this),n=this.getElementsByTagName("select")[0];return n&&e(this).addClass("btn-select tablesaw-btn-select").tablesawbtn("_select",n),t},_select:function(t){var i=function(t,i){var o,a,r=e(i).find("option"),s=n.createElement("span"),l=!1;if(s.setAttribute("aria-hidden","true"),s.innerHTML="&#160;",r.each(function(){this.selected&&(s.innerHTML=this.text)}),a=t.childNodes,r.length>0){for(var c=0,u=a.length;c<u;c++)(o=a[c])&&"SPAN"===o.nodeName.toUpperCase()&&(t.replaceChild(s,o),l=!0);l||t.insertBefore(s,t.firstChild)}};i(this,t),e(this).on("change refresh",function(){i(this,t)})}},e.fn.tablesawbtn=function(t,n,i,o){return this.each(function(){return t&&"string"==typeof t?e.fn.tablesawbtn.prototype[t].call(this,n,i,o):e(this).data("tablesawbtnactive")?e(this):(e(this).data("tablesawbtnactive",!0),void e.fn.tablesawbtn.prototype._create.call(this))})},e.extend(e.fn.tablesawbtn.prototype,h),function(){var i="tablesaw-coltoggle",o=function(t){this.$table=e(t),this.$table.length&&(this.tablesaw=this.$table.data("tablesaw"),this.attributes={btnTarget:"data-tablesaw-columntoggle-btn-target",set:"data-tablesaw-columntoggle-set"},this.classes={columnToggleTable:"tablesaw-columntoggle",columnBtnContain:"tablesaw-columntoggle-btnwrap tablesaw-advance",columnBtn:"tablesaw-columntoggle-btn tablesaw-nav-btn down",popup:"tablesaw-columntoggle-popup",priorityPrefix:"tablesaw-priority-"},this.set=[],this.$headers=this.tablesaw._getPrimaryHeaderCells(),this.$table.data(i,this))};o.prototype.initSet=function(){var t=this.$table.attr(this.attributes.set);if(t){var n=this.$table[0];this.set=e("table["+this.attributes.set+"='"+t+"']").filter(function(){return this!==n}).get()}},o.prototype.init=function(){if(this.$table.length){var o,a,r,s,l,c,u=this,h=this.tablesaw.getConfig({getColumnToggleLabelTemplate:function(e){return"<label><input type='checkbox' checked>"+e+"</label>"}});this.$table.addClass(this.classes.columnToggleTable),a=(o=this.$table.attr("id"))+"-popup",c=e("<div class='"+this.classes.columnBtnContain+"'></div>"),r=e("<a href='#"+a+"' class='btn tablesaw-btn btn-micro "+this.classes.columnBtn+"' data-popup-link><span>"+p.i18n.columnToggleButton+"</span></a>"),s=e("<div class='"+this.classes.popup+"' id='"+a+"'></div>"),l=e("<div class='btn-group'></div>"),this.$popup=s;var d=!1;this.$headers.each(function(){var t=e(this),n=t.attr("data-tablesaw-priority"),i=u.tablesaw._$getCells(this);n&&"persist"!==n&&(i.addClass(u.classes.priorityPrefix+n),e(h.getColumnToggleLabelTemplate(t.text())).appendTo(l).find('input[type="checkbox"]').data("tablesaw-header",this),d=!0)}),d||l.append("<label>"+p.i18n.columnToggleError+"</label>"),l.appendTo(s),l.find('input[type="checkbox"]').on("change",function(t){var n;(y(t.target),u.set.length)&&(e(u.$popup).find("input[type='checkbox']").each(function(e){if(this===t.target)return n=e,!1}),e(u.set).each(function(){var o=e(this).data(i).$popup.find("input[type='checkbox']").get(n);o&&(o.checked=t.target.checked,y(o))}))}),r.appendTo(c);var f,m=e(this.$table.attr(this.attributes.btnTarget));c.appendTo(m.length?m:this.tablesaw.$toolbar),r.on("click.tablesaw",function(i){i.preventDefault(),c.is(".visible")?v():(c.addClass("visible"),r.removeClass("down").addClass("up"),e(n).off("click."+o,v),t.clearTimeout(f),f=t.setTimeout(function(){e(n).on("click."+o,v)},15))}),s.appendTo(c),this.$menu=l;var g,_=this.$table.closest(".tablesaw-overflow");if(_.css("-webkit-overflow-scrolling"))_.on("scroll",function(){var n=e(this);t.clearTimeout(g),g=t.setTimeout(function(){n.css("-webkit-overflow-scrolling","auto"),t.setTimeout(function(){n.css("-webkit-overflow-scrolling","touch")},0)},100)});e(t).on(p.events.resize+"."+o,function(){u.refreshToggle()}),this.initSet(),this.refreshToggle()}function y(e){var t=e.checked,n=u.getHeaderFromCheckbox(e),i=u.tablesaw._$getCells(n);i[t?"removeClass":"addClass"]("tablesaw-toggle-cellhidden"),i[t?"addClass":"removeClass"]("tablesaw-toggle-cellvisible"),u.updateColspanCells(n,t),u.$table.trigger("tablesawcolumns")}function v(t){t&&e(t.target).closest("."+u.classes.popup).length||(e(n).off("click."+o),r.removeClass("up").addClass("down"),c.removeClass("visible"))}},o.prototype.getHeaderFromCheckbox=function(t){return e(t).data("tablesaw-header")},o.prototype.refreshToggle=function(){var e=this;this.$menu.find("input").each(function(){var t=e.getHeaderFromCheckbox(this);this.checked="table-cell"===e.tablesaw._$getCells(t).eq(0).css("display")}),this.updateColspanCells()},o.prototype.updateColspanCells=function(e,t){this.tablesaw.updateColspanCells("tablesaw-toggle-cellhidden",e,t)},o.prototype.destroy=function(){this.$table.removeClass(this.classes.columnToggleTable),this.$table.find("th, td").each(function(){e(this).removeClass("tablesaw-toggle-cellhidden").removeClass("tablesaw-toggle-cellvisible"),this.className=this.className.replace(/\bui\-table\-priority\-\d\b/g,"")})},e(n).on(p.events.create,function(e,t){"columntoggle"===t.mode&&new o(t.table).init()}),e(n).on(p.events.destroy,function(t,n){"columntoggle"===n.mode&&e(n.table).data(i).destroy()}),e(n).on(p.events.refresh,function(t,n){"columntoggle"===n.mode&&e(n.table).data(i).refreshPriority()}),p.ColumnToggle=o}(),function(){function t(t){var n=[];return e(t.childNodes).each(function(){var t=e(this);t.is("input, select")?n.push(t.val()):t.is(".tablesaw-cell-label")||n.push((t.text()||"").replace(/^\s+|\s+$/g,""))}),n.join("")}var i="tablesaw-sortable",o="table[data-"+i+"]",a="[data-"+i+"-switch]",r={sortCol:"data-tablesaw-sortable-col",defaultCol:"data-tablesaw-sortable-default-col",numericCol:"data-tablesaw-sortable-numeric",subRow:"data-tablesaw-subrow",ignoreRow:"data-tablesaw-ignorerow"},s={head:i+"-head",ascend:i+"-ascending",descend:i+"-descending",switcher:i+"-switch",tableToolbar:"tablesaw-bar-section",sortButton:i+"-btn"},l={_create:function(t){return e(this).each(function(){if(e(this).data(i+"-init"))return!1;e(this).data(i+"-init",!0).trigger("beforecreate."+i)[i]("_init",t).trigger("create."+i)})},_init:function(){var n,o,l,c=e(this),u=c.data("tablesaw");function h(t){e.each(t,function(t,n){var i=e(n);i.removeAttr(r.defaultCol),i.removeClass(s.ascend),i.removeClass(s.descend)})}c.addClass(i),n=c.children().filter("thead").find("th["+r.sortCol+"]"),l=n,e.each(l,function(t,n){e(n).addClass(s.head)}),function(t,n){e.each(t,function(t,i){var o=e("<button class='"+s.sortButton+"'/>");o.on("click",{col:i},n),e(i).wrapInner(o).find("button").append("<span class='tablesaw-sortable-arrow'>")})}(n,function(t){if(!e(t.target).is("a[href]")){t.stopPropagation();var a=e(t.target).closest("["+r.sortCol+"]"),l=t.data.col,u=n.index(a[0]);h(a.closest("thead").find("th").filter(function(){return this!==a[0]})),a.is("."+s.descend)||!a.is("."+s.ascend)?(c[i]("sortBy",l,!0),u+="_asc"):(c[i]("sortBy",l),u+="_desc"),o&&o.find("select").val(u).trigger("refresh"),t.preventDefault()}}),function(t){e.each(t,function(t,n){var i=e(n);i.is("["+r.defaultCol+"]")&&(i.is("."+s.descend)||i.addClass(s.ascend))})}(n),c.is(a)&&function(n){o=e("<div>").addClass(s.switcher).addClass(s.tableToolbar);var a=["<label>"+p.i18n.sort+":"];a.push('<span class="btn tablesaw-btn"><select>'),n.each(function(n){var i=e(this),o=i.is("["+r.defaultCol+"]"),l=i.is("."+s.descend),c=i.is("["+r.numericCol+"]"),u=0;e(this.cells.slice(0,5)).each(function(){isNaN(parseInt(t(this),10))||u++});var h=5===u;c||i.attr(r.numericCol,h?"":"false"),a.push("<option"+(o&&!l?" selected":"")+' value="'+n+'_asc">'+i.text()+" "+(h?"&#x2191;":"(A-Z)")+"</option>"),a.push("<option"+(o&&l?" selected":"")+' value="'+n+'_desc">'+i.text()+" "+(h?"&#x2193;":"(Z-A)")+"</option>")}),a.push("</select></span></label>"),o.html(a.join(""));var l=u.$toolbar.children().eq(0);l.length?o.insertBefore(l):o.appendTo(u.$toolbar),o.find(".tablesaw-btn").tablesawbtn(),o.find("select").on("change",function(){var t=e(this).val().split("_"),o=n.eq(t[0]);h(o.siblings()),c[i]("sortBy",o.get(0),"asc"===t[1])})}(n)},sortRows:function(n,i,o,a,s){var l,c=function(n,i){var o=[];return e.each(n,function(n,a){for(var s=a.parentNode,l=e(s),c=[],u=l.next();u.is("["+r.subRow+"]");)c.push(u[0]),u=u.next();var h=s.parentNode;l.is("["+r.subRow+"]")||h===i&&o.push({element:a,cell:t(a),row:s,subrows:c.length?c:null,ignored:l.is("["+r.ignoreRow+"]")})}),o}(a.cells,s),u=e(a).data("tablesaw-sort");return l=!(!u||"function"!=typeof u)&&u(o)||function(e,t){var n=/[^\-\+\d\.]/g;return e?function(e,i){return e.ignored||i.ignored?0:t?parseFloat(e.cell.replace(n,""))-parseFloat(i.cell.replace(n,"")):e.cell.toLowerCase()>i.cell.toLowerCase()?1:-1}:function(e,i){return e.ignored||i.ignored?0:t?parseFloat(i.cell.replace(n,""))-parseFloat(e.cell.replace(n,"")):e.cell.toLowerCase()<i.cell.toLowerCase()?1:-1}}(o,e(a).is("["+r.numericCol+"]")&&!e(a).is("["+r.numericCol+'="false"]')),function(e){var t,n,i=[];for(t=0,n=e.length;t<n;t++)i.push(e[t].row),e[t].subrows&&i.push(e[t].subrows);return i}(c.sort(l))},makeColDefault:function(t,n){var i=e(t);i.attr(r.defaultCol,"true"),n?(i.removeClass(s.descend),i.addClass(s.ascend)):(i.removeClass(s.ascend),i.addClass(s.descend))},sortBy:function(t,n){var o,a=e(this),r=a.data("tablesaw");r.$tbody.each(function(){var s,l,c,u=e(this),h=r.getBodyRows(this),d=r.headerMapping[0];for(l=0,c=d.length;l<c;l++)if(d[l]===t){o=l;break}for(l=0,c=(s=a[i]("sortRows",h,o,n,t,this)).length;l<c;l++)u.append(s[l])}),a[i]("makeColDefault",t,n),a.trigger("tablesaw-sorted")}};e.fn[i]=function(t){var n,o=Array.prototype.slice.call(arguments,1);return t&&"string"==typeof t?void 0!==(n=e.fn[i].prototype[t].apply(this[0],o))?n:e(this):(e(this).data(i+"-active")||(e(this).data(i+"-active",!0),e.fn[i].prototype._create.call(this,t)),e(this))},e.extend(e.fn[i].prototype,l),e(n).on(p.events.create,function(e,t){t.$table.is(o)&&t.$table[i]()})}(),function(){var i={hideBtn:"disabled",persistWidths:"tablesaw-fix-persist",hiddenCol:"tablesaw-swipe-cellhidden",persistCol:"tablesaw-swipe-cellpersist",allColumnsVisible:"tablesaw-all-cols-visible"},o={disableTouchEvents:"data-tablesaw-no-touch",ignorerow:"data-tablesaw-ignorerow",subrow:"data-tablesaw-subrow"};function a(a,r){var s=r.data("tablesaw"),l=e("<div class='tablesaw-advance'></div>"),c=e("<a href='#' class='btn tablesaw-nav-btn tablesaw-btn btn-micro left'>"+p.i18n.swipePreviousColumn+"</a>").appendTo(l),u=e("<a href='#' class='btn tablesaw-nav-btn tablesaw-btn btn-micro right'>"+p.i18n.swipeNextColumn+"</a>").appendTo(l),h=a._getPrimaryHeaderCells(),d=h.not('[data-tablesaw-priority="persist"]'),f=[],m=e(n.head||"head"),g=r.attr("id");if(!h.length)throw new Error("tablesaw swipe: no header cells found.");function _(){r.css({width:"1px"}),r.find("."+i.hiddenCol).removeClass(i.hiddenCol),f=[],h.each(function(){f.push(this.offsetWidth)}),r.css({width:""})}function y(e){s._$getCells(e).removeClass(i.hiddenCol)}function v(e){s._$getCells(e).addClass(i.hiddenCol)}function b(){r.removeClass(i.persistWidths),e("#"+g+"-persist").remove()}function w(){var t,n="#"+g+".tablesaw-swipe ",o=[],a=r.width(),s=[];if(h.each(function(t){var r;e(this).is('[data-tablesaw-priority="persist"]')&&(r=this.offsetWidth)<.75*a&&(s.push(t+"-"+r),o.push(n+" ."+i.persistCol+":nth-child("+(t+1)+") { width: "+r+"px; }"))}),t=s.join("_"),o.length){r.addClass(i.persistWidths);var l=e("#"+g+"-persist");l.length&&l.data("tablesaw-hash")===t||(l.remove(),e("<style>"+o.join("\n")+"</style>").attr("id",g+"-persist").data("tablesaw-hash",t).appendTo(m))}}function A(){var t,n=[];return d.each(function(o){var a=e(this),r="none"===a.css("display")||a.is("."+i.hiddenCol);if(r||t){if(r&&t)return n[1]=o,!1}else t=!0,n[0]=o}),n}function x(){var e=A();return[e[1]-1,e[0]-1]}function k(e){return e[1]>-1&&e[1]<d.length}function S(){if(!(n=r.attr("data-tablesaw-swipe-media"))||"matchMedia"in t&&t.matchMedia(n).matches){var n,o=r.parent().width(),a=[],l=0,c=[],u=h.length;h.each(function(t){var n=e(this).is('[data-tablesaw-priority="persist"]');a.push(n),l+=f[t],c.push(l),(n||l>o)&&u--});var d=0===u;h.each(function(e){c[e]>o&&v(this)}),h.each(function(e){if(a[e])return t=this,void s._$getCells(t).addClass(i.persistCol);var t;(c[e]<=o||d)&&(d=!1,y(this),s.updateColspanCells(i.hiddenCol,this,!0))}),b(),r.trigger("tablesawcolumns")}}function C(e){var t=function(e){return e?A():x()}(e);k(t)&&(isNaN(t[0])&&(t[0]=e?0:d.length-1),w(),v(d.get(t[0])),s.updateColspanCells(i.hiddenCol,d.get(t[0]),!1),y(d.get(t[1])),s.updateColspanCells(i.hiddenCol,d.get(t[1]),!0),r.trigger("tablesawcolumns"))}function P(e,t){return(e.touches||e.originalEvent.touches)[0][t]}r.addClass("tablesaw-swipe"),_(),l.appendTo(s.$toolbar),g||(g="tableswipe-"+Math.round(1e4*Math.random()),r.attr("id",g)),c.add(u).on("click",function(t){C(!!e(t.target).closest(u).length),t.preventDefault()}),r.is("["+o.disableTouchEvents+"]")||r.on("touchstart.swipetoggle",function(n){var i,o,r=P(n,"pageX"),s=P(n,"pageY"),l=t.pageYOffset;e(t).off(p.events.resize,S),e(this).on("touchmove.swipetoggle",function(e){i=P(e,"pageX"),o=P(e,"pageY")}).on("touchend.swipetoggle",function(){var n=a.getConfig({swipeHorizontalThreshold:30,swipeVerticalThreshold:30}),c=n.swipe?n.swipe.verticalThreshold:n.swipeVerticalThreshold,u=n.swipe?n.swipe.horizontalThreshold:n.swipeHorizontalThreshold,h=Math.abs(t.pageYOffset-l)>=c;Math.abs(o-s)>=c||h||(i-r<-1*u&&C(!0),i-r>u&&C(!1)),t.setTimeout(function(){e(t).on(p.events.resize,S)},300),e(this).off("touchmove.swipetoggle touchend.swipetoggle")})}),r.on("tablesawcolumns.swipetoggle",function(){var e=k(x()),t=k(A());c[e?"removeClass":"addClass"](i.hideBtn),u[t?"removeClass":"addClass"](i.hideBtn),s.$toolbar[e||t?"removeClass":"addClass"](i.allColumnsVisible)}).on("tablesawnext.swipetoggle",function(){C(!0)}).on("tablesawprev.swipetoggle",function(){C(!1)}).on(p.events.destroy+".swipetoggle",function(){var n=e(this);n.removeClass("tablesaw-swipe"),s.$toolbar.find(".tablesaw-advance").remove(),e(t).off(p.events.resize,S),n.off(".swipetoggle")}).on(p.events.refresh,function(){b(),_(),S()}),S(),e(t).on(p.events.resize,S)}e(n).on(p.events.create,function(e,t){"swipe"===t.mode&&a(t,t.$table)})}(),function(){var i={attr:{init:"data-tablesaw-minimap"},show:function(e){var n=e.getAttribute(i.attr.init);return""===n||!!(n&&"matchMedia"in t)&&t.matchMedia(n).matches}};e(n).on(p.events.create,function(n,o){"swipe"!==o.mode&&"columntoggle"!==o.mode||!o.$table.is("[ "+i.attr.init+"]")||function(n){var o=n.data("tablesaw"),a=e('<div class="tablesaw-advance minimap">'),r=e('<ul class="tablesaw-advance-dots">').appendTo(a),s="tablesaw-advance-dots-hide";function l(){if(i.show(n[0])){a.css("display","block");var t=r.find("li").removeClass(s);n.find("thead th").each(function(n){"none"===e(this).css("display")&&t.eq(n).addClass(s)})}else a.css("display","none")}n.data("tablesaw")._getPrimaryHeaderCells().each(function(){r.append("<li><i></i></li>")}),a.appendTo(o.$toolbar),l(),e(t).on(p.events.resize,l),n.on("tablesawcolumns.minimap",function(){l()}).on(p.events.destroy+".minimap",function(){var n=e(this);o.$toolbar.find(".tablesaw-advance").remove(),e(t).off(p.events.resize,l),n.off(".minimap")})}(o.$table)}),p.MiniMap=i}(),d={selectors:{init:"table[data-tablesaw-mode-switch]"},attributes:{excludeMode:"data-tablesaw-mode-exclude"},classes:{main:"tablesaw-modeswitch",toolbar:"tablesaw-bar-section"},modes:["stack","swipe","columntoggle"],init:function(t){var n,i=e(t),o=i.data("tablesaw"),a=i.attr(d.attributes.excludeMode),r=o.$toolbar,s=e("<div>").addClass(d.classes.main+" "+d.classes.toolbar),l=['<label><span class="abbreviated">'+p.i18n.modeSwitchColumnsAbbreviated+'</span><span class="longform">'+p.i18n.modeSwitchColumns+"</span>:"],c=i.attr("data-tablesaw-mode");l.push('<span class="btn tablesaw-btn"><select>');for(var u=0,h=d.modes.length;u<h;u++)a&&a.toLowerCase()===d.modes[u]||(n=c===d.modes[u],l.push("<option"+(n?" selected":"")+' value="'+d.modes[u]+'">'+p.i18n.modes[u]+"</option>"));l.push("</select></span></label>"),s.html(l.join(""));var f=r.find(".tablesaw-advance").eq(0);f.length?s.insertBefore(f):s.appendTo(r),s.find(".tablesaw-btn").tablesawbtn(),s.find("select").on("change",function(n){return d.onModeChange.call(t,n,e(this).val())})},onModeChange:function(t,n){var i=e(this),o=i.data("tablesaw");o.$toolbar.find("."+d.classes.main).remove(),o.destroy(),i.attr("data-tablesaw-mode",n),i.tablesaw()}},e(n).on(p.events.create,function(e,t){t.$table.is(d.selectors.init)&&d.init(t.table)}),function(){var t="tablesawCheckAll";function i(e){this.tablesaw=e,this.$table=e.$table,this.attr="data-tablesaw-checkall",this.checkAllSelector="["+this.attr+"]",this.forceCheckedSelector="["+this.attr+"-checked]",this.forceUncheckedSelector="["+this.attr+"-unchecked]",this.checkboxSelector='input[type="checkbox"]',this.$triggers=null,this.$checkboxes=null,this.$table.data(t)||(this.$table.data(t,this),this.init())}i.prototype._filterCells=function(t){return t.filter(function(){return!e(this).closest("tr").is("[data-tablesaw-subrow],[data-tablesaw-ignorerow]")}).find(this.checkboxSelector).not(this.checkAllSelector)},i.prototype.getCheckboxesForButton=function(t){return this._filterCells(e(e(t).attr(this.attr)))},i.prototype.getCheckboxesForCheckbox=function(t){return this._filterCells(e(e(t).closest("th")[0].cells))},i.prototype.init=function(){var t=this;this.$table.find(this.checkAllSelector).each(function(){e(this).is(t.checkboxSelector)?t.addCheckboxEvents(this):t.addButtonEvents(this)})},i.prototype.addButtonEvents=function(n){var i=this;e(n).on("click",function(n){n.preventDefault();var o,a=i.getCheckboxesForButton(this),r=!0;a.each(function(){this.checked||(r=!1)}),o=!!e(this).is(i.forceCheckedSelector)||!e(this).is(i.forceUncheckedSelector)&&!r,a.each(function(){this.checked=o,e(this).trigger("change."+t)})})},i.prototype.addCheckboxEvents=function(n){var i=this;e(n).on("change",function(){var e=this.checked;i.getCheckboxesForCheckbox(this).each(function(){this.checked=e})});var o=i.getCheckboxesForCheckbox(n);o.on("change."+t,function(){var e=0;o.each(function(){this.checked&&e++});var t=e===o.length;n.checked=t,n.indeterminate=0!==e&&!t})},e(n).on(p.events.create,function(e,t){new i(t)}),p.CheckAll=i}(),p}),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Handlebars=t():e.Handlebars=t()}(this,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=i(n(2)),a=i(n(40)),r=n(41),s=n(46),l=i(n(49)),c=i(n(44)),u=i(n(39)),h=o.default.create;function d(){var e=h();return e.compile=function(t,n){return s.compile(t,n,e)},e.precompile=function(t,n){return s.precompile(t,n,e)},e.AST=a.default,e.Compiler=s.Compiler,e.JavaScriptCompiler=l.default,e.Parser=r.parser,e.parse=r.parse,e.parseWithoutProcessing=r.parseWithoutProcessing,e}var p=d();p.create=d,u.default(p),p.Visitor=c.default,p.default=p,t.default=p,e.exports=t.default},function(e,t){"use strict";t.default=function(e){return e&&e.__esModule?e:{default:e}},t.__esModule=!0},function(e,t,n){"use strict";var i=n(3).default,o=n(1).default;t.__esModule=!0;var a=i(n(4)),r=o(n(33)),s=o(n(6)),l=i(n(5)),c=i(n(34)),u=o(n(39));function h(){var e=new a.HandlebarsEnvironment;return l.extend(e,a),e.SafeString=r.default,e.Exception=s.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var d=h();d.create=h,u.default(d),d.default=d,t.default=d,e.exports=t.default},function(e,t){"use strict";t.default=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},t.__esModule=!0},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0,t.HandlebarsEnvironment=c;var o=n(5),a=i(n(6)),r=n(10),s=n(30),l=i(n(32));t.VERSION="4.5.3";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};function c(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},r.registerDefaultHelpers(this),s.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:l.default,log:l.default.log,registerHelper:function(e,t){if("[object Object]"===o.toString.call(e)){if(t)throw new a.default("Arg not supported with multiple helpers");o.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if("[object Object]"===o.toString.call(e))o.extend(this.partials,e);else{if(void 0===t)throw new a.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if("[object Object]"===o.toString.call(e)){if(t)throw new a.default("Arg not supported with multiple decorators");o.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var u=l.default.log;t.log=u,t.createFrame=o.createFrame,t.logger=l.default},function(e,t){"use strict";t.__esModule=!0,t.extend=r,t.indexOf=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}if(!o.test(e))return e;return e.replace(i,a)},t.isEmpty=function(e){return!e&&0!==e||!(!c(e)||0!==e.length)},t.createFrame=function(e){var t=r({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},i=/[&<>"'`=]/g,o=/[&<>"'`=]/;function a(e){return n[e]}function r(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var s=Object.prototype.toString;t.toString=s;var l=function(e){return"function"==typeof e};l(/x/)&&(t.isFunction=l=function(e){return"function"==typeof e&&"[object Function]"===s.call(e)}),t.isFunction=l;var c=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===s.call(e)};t.isArray=c},function(e,t,n){"use strict";var i=n(7).default;t.__esModule=!0;var o=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function a(e,t){var n=t&&t.loc,r=void 0,s=void 0,l=void 0,c=void 0;n&&(r=n.start.line,s=n.end.line,l=n.start.column,c=n.end.column,e+=" - "+r+":"+l);for(var u=Error.prototype.constructor.call(this,e),h=0;h<o.length;h++)this[o[h]]=u[o[h]];Error.captureStackTrace&&Error.captureStackTrace(this,a);try{n&&(this.lineNumber=r,this.endLineNumber=s,i?(Object.defineProperty(this,"column",{value:l,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:c,enumerable:!0})):(this.column=l,this.endColumn=c))}catch(e){}}a.prototype=new Error,t.default=a,e.exports=t.default},function(e,t,n){e.exports={default:n(8),__esModule:!0}},function(e,t,n){var i=n(9);e.exports=function(e,t,n){return i.setDesc(e,t,n)}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0,t.registerDefaultHelpers=function(e){o.default(e),a.default(e),r.default(e),s.default(e),l.default(e),c.default(e),u.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var o=i(n(11)),a=i(n(12)),r=i(n(25)),s=i(n(26)),l=i(n(27)),c=i(n(28)),u=i(n(29))},function(e,t,n){"use strict";t.__esModule=!0;var i=n(5);t.default=function(e){e.registerHelper("blockHelperMissing",function(t,n){var o=n.inverse,a=n.fn;if(!0===t)return a(this);if(!1===t||null==t)return o(this);if(i.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):o(this);if(n.data&&n.ids){var r=i.createFrame(n.data);r.contextPath=i.appendContextPath(n.data.contextPath,n.name),n={data:r}}return a(t,n)})},e.exports=t.default},function(e,t,n){(function(i){"use strict";var o=n(13).default,a=n(1).default;t.__esModule=!0;var r=n(5),s=a(n(6));t.default=function(e){e.registerHelper("each",function(e,t){if(!t)throw new s.default("Must pass iterator to #each");var n,a=t.fn,l=t.inverse,c=0,u="",h=void 0,d=void 0;function p(t,n,i){h&&(h.key=t,h.index=n,h.first=0===n,h.last=!!i,d&&(h.contextPath=d+t)),u+=a(e[t],{data:h,blockParams:r.blockParams([e[t],t],[d+t,null])})}if(t.data&&t.ids&&(d=r.appendContextPath(t.data.contextPath,t.ids[0])+"."),r.isFunction(e)&&(e=e.call(this)),t.data&&(h=r.createFrame(t.data)),e&&"object"==typeof e)if(r.isArray(e))for(var f=e.length;c<f;c++)c in e&&p(c,c,c===e.length-1);else if(i.Symbol&&e[i.Symbol.iterator]){for(var m=[],g=e[i.Symbol.iterator](),_=g.next();!_.done;_=g.next())m.push(_.value);for(f=(e=m).length;c<f;c++)p(c,c,c===e.length-1)}else n=void 0,o(e).forEach(function(e){void 0!==n&&p(n,c-1),n=e,c++}),void 0!==n&&p(n,c-1,!0);return 0===c&&(u=l(this)),u})},e.exports=t.default}).call(t,function(){return this}())},function(e,t,n){e.exports={default:n(14),__esModule:!0}},function(e,t,n){n(15),e.exports=n(21).Object.keys},function(e,t,n){var i=n(16);n(18)("keys",function(e){return function(t){return e(i(t))}})},function(e,t,n){var i=n(17);e.exports=function(e){return Object(i(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(19),o=n(21),a=n(24);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],r={};r[e]=t(n),i(i.S+i.F*a(function(){n(1)}),"Object",r)}},function(e,t,n){var i=n(20),o=n(21),a=n(22),r=function(e,t,n){var s,l,c,u=e&r.F,h=e&r.G,d=e&r.S,p=e&r.P,f=e&r.B,m=e&r.W,g=h?o:o[t]||(o[t]={}),_=h?i:d?i[t]:(i[t]||{}).prototype;for(s in h&&(n=t),n)(l=!u&&_&&s in _)&&s in g||(c=l?_[s]:n[s],g[s]=h&&"function"!=typeof _[s]?n[s]:f&&l?a(c,i):m&&_[s]==c?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t.prototype=e.prototype,t}(c):p&&"function"==typeof c?a(Function.call,c):c,p&&((g.prototype||(g.prototype={}))[s]=c))};r.F=1,r.G=2,r.S=4,r.P=8,r.B=16,r.W=32,e.exports=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(23);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=i(n(6));t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=n(5),a=i(n(6));t.default=function(e){e.registerHelper("if",function(e,t){if(2!=arguments.length)throw new a.default("#if requires exactly one argument");return o.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||o.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){if(2!=arguments.length)throw new a.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],n=arguments[arguments.length-1],i=0;i<arguments.length-1;i++)t.push(arguments[i]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),t[0]=o,e.log.apply(e,t)})},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0;var n=/^(constructor|__defineGetter__|__defineSetter__|__lookupGetter__|__proto__)$/;t.dangerousPropertyRegex=n,t.default=function(e){e.registerHelper("lookup",function(e,t){return e?!n.test(String(t))||Object.prototype.propertyIsEnumerable.call(e,t)?e[t]:void 0:e})}},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=n(5),a=i(n(6));t.default=function(e){e.registerHelper("with",function(e,t){if(2!=arguments.length)throw new a.default("#with requires exactly one argument");o.isFunction(e)&&(e=e.call(this));var n=t.fn;if(o.isEmpty(e))return t.inverse(this);var i=t.data;return t.data&&t.ids&&((i=o.createFrame(t.data)).contextPath=o.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:o.blockParams([e],[i&&i.contextPath])})})},e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0,t.registerDefaultDecorators=function(e){o.default(e)};var o=i(n(31))},function(e,t,n){"use strict";t.__esModule=!0;var i=n(5);t.default=function(e){e.registerDecorator("inline",function(e,t,n,o){var a=e;return t.partials||(t.partials={},a=function(o,a){var r=n.partials;n.partials=i.extend({},r,t.partials);var s=e(o,a);return n.partials=r,s}),t.partials[o.args[0]]=o.fn,a})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var i=n(5),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=i.indexOf(o.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){var t=o.methodMap[e];console[t]||(t="log");for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];console[t].apply(console,i)}}};t.default=o,e.exports=t.default},function(e,t){"use strict";function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},function(e,t,n){"use strict";var i=n(35).default,o=n(3).default,a=n(1).default;t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=l.COMPILER_REVISION;if(t>=l.LAST_COMPATIBLE_COMPILER_REVISION&&t<=l.COMPILER_REVISION)return;if(t<l.LAST_COMPATIBLE_COMPILER_REVISION){var i=l.REVISION_CHANGES[n],o=l.REVISION_CHANGES[t];throw new s.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+i+") or downgrade your runtime to an older version ("+o+").")}throw new s.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")},t.template=function(e,t){if(!t)throw new s.default("No environment passed to template");if(!e||!e.main)throw new s.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&7===e.compiler[0];var o={strict:function(e,t,n){if(!(e&&t in e))throw new s.default('"'+t+'" not defined in '+e,{loc:n});return e[t]},lookup:function(e,t){for(var n=e.length,i=0;i<n;i++)if(e[i]&&null!=e[i][t])return e[i][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:r.escapeExpression,invokePartial:function(n,i,o){o.hash&&(i=r.extend({},i,o.hash),o.ids&&(o.ids[0]=!0));n=t.VM.resolvePartial.call(this,n,i,o);var a=r.extend({},o,{hooks:this.hooks}),l=t.VM.invokePartial.call(this,n,i,a);null==l&&t.compile&&(o.partials[o.name]=t.compile(n,e.compilerOptions,t),l=o.partials[o.name](i,a));if(null!=l){if(o.indent){for(var c=l.split("\n"),u=0,h=c.length;u<h&&(c[u]||u+1!==h);u++)c[u]=o.indent+c[u];l=c.join("\n")}return l}throw new s.default("The partial "+o.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,i,o){var a=this.programs[e],r=this.fn(e);return t||o||i||n?a=u(this,e,r,t,n,i,o):a||(a=this.programs[e]=u(this,e,r)),a},data:function(e,t){for(;e&&t--;)e=e._parent;return e},nullContext:i({}),noop:t.VM.noop,compilerInfo:e.compiler};function a(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=n.data;a._setup(n),!n.partial&&e.useData&&(i=function(e,t){t&&"root"in t||((t=t?l.createFrame(t):{}).root=e);return t}(t,i));var r=void 0,s=e.useBlockParams?[]:void 0;function c(t){return""+e.main(o,t,o.helpers,o.partials,i,s,r)}return e.useDepths&&(r=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(c=d(e.main,c,o,n.depths||[],i,s))(t,n)}return a.isTop=!0,a._setup=function(i){if(i.partial)o.helpers=i.helpers,o.partials=i.partials,o.decorators=i.decorators,o.hooks=i.hooks;else{o.helpers=r.extend({},t.helpers,i.helpers),e.usePartial&&(o.partials=r.extend({},t.partials,i.partials)),(e.usePartial||e.useDecorators)&&(o.decorators=r.extend({},t.decorators,i.decorators)),o.hooks={};var a=i.allowCallsToHelperMissing||n;c.moveHelperToHooks(o,"helperMissing",a),c.moveHelperToHooks(o,"blockHelperMissing",a)}},a._child=function(t,n,i,a){if(e.useBlockParams&&!i)throw new s.default("must pass block params");if(e.useDepths&&!a)throw new s.default("must pass parent depths");return u(o,t,e[t],n,0,i,a)},a},t.wrapProgram=u,t.resolvePartial=function(e,t,n){e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return e},t.invokePartial=function(e,t,n){var i=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var o=void 0;n.fn&&n.fn!==h&&function(){n.data=l.createFrame(n.data);var e=n.fn;o=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=l.createFrame(n.data),n.data["partial-block"]=i,e(t,n)},e.partials&&(n.partials=r.extend({},n.partials,e.partials))}();void 0===e&&o&&(e=o);if(void 0===e)throw new s.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=h;var r=o(n(5)),s=a(n(6)),l=n(4),c=n(10);function u(e,t,n,i,o,a,r){function s(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=r;return!r||t==r[0]||t===e.nullContext&&null===r[0]||(s=[t].concat(r)),n(e,t,e.helpers,e.partials,o.data||i,a&&[o.blockParams].concat(a),s)}return(s=d(n,s,e,r,i,a)).program=t,s.depth=r?r.length:0,s.blockParams=o||0,s}function h(){return""}function d(e,t,n,i,o,a){if(e.decorator){var s={};t=e.decorator(t,s,n,i&&i[0],o,a,i),r.extend(t,s)}return t}},function(e,t,n){e.exports={default:n(36),__esModule:!0}},function(e,t,n){n(37),e.exports=n(21).Object.seal},function(e,t,n){var i=n(38);n(18)("seal",function(e){return function(t){return e&&i(t)?e(t):t}})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){(function(n){"use strict";t.__esModule=!0,t.default=function(e){var t=void 0!==n?n:window,i=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=i),e}},e.exports=t.default}).call(t,function(){return this}())},function(e,t){"use strict";t.__esModule=!0;var n={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!n.helpers.scopedId(e)&&!e.depth}}};t.default=n,e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default,o=n(3).default;t.__esModule=!0,t.parseWithoutProcessing=u,t.parse=function(e,t){var n=u(e,t);return new r.default(t).accept(n)};var a=i(n(42)),r=i(n(43)),s=o(n(45)),l=n(5);t.parser=a.default;var c={};function u(e,t){return"Program"===e.type?e:(a.default.yy=c,c.locInfo=function(e){return new c.SourceLocation(t&&t.srcName,e)},a.default.parse(e))}l.extend(c,s)},function(e,t){"use strict";t.__esModule=!0;var n=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(e,t,n,i,o,a,r){var s=a.length-1;switch(o){case 1:return a[s-1];case 2:this.$=i.prepareProgram(a[s]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=a[s];break;case 9:this.$={type:"CommentStatement",value:i.stripComment(a[s]),strip:i.stripFlags(a[s],a[s]),loc:i.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:a[s],value:a[s],loc:i.locInfo(this._$)};break;case 11:this.$=i.prepareRawBlock(a[s-2],a[s-1],a[s],this._$);break;case 12:this.$={path:a[s-3],params:a[s-2],hash:a[s-1]};break;case 13:this.$=i.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!1,this._$);break;case 14:this.$=i.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!0,this._$);break;case 15:this.$={open:a[s-5],path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:i.stripFlags(a[s-5],a[s])};break;case 16:case 17:this.$={path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:i.stripFlags(a[s-5],a[s])};break;case 18:this.$={strip:i.stripFlags(a[s-1],a[s-1]),program:a[s]};break;case 19:var l=i.prepareBlock(a[s-2],a[s-1],a[s],a[s],!1,this._$),c=i.prepareProgram([l],a[s-1].loc);c.chained=!0,this.$={strip:a[s-2].strip,program:c,chain:!0};break;case 20:this.$=a[s];break;case 21:this.$={path:a[s-1],strip:i.stripFlags(a[s-2],a[s])};break;case 22:case 23:this.$=i.prepareMustache(a[s-3],a[s-2],a[s-1],a[s-4],i.stripFlags(a[s-4],a[s]),this._$);break;case 24:this.$={type:"PartialStatement",name:a[s-3],params:a[s-2],hash:a[s-1],indent:"",strip:i.stripFlags(a[s-4],a[s]),loc:i.locInfo(this._$)};break;case 25:this.$=i.preparePartialBlock(a[s-2],a[s-1],a[s],this._$);break;case 26:this.$={path:a[s-3],params:a[s-2],hash:a[s-1],strip:i.stripFlags(a[s-4],a[s])};break;case 27:case 28:this.$=a[s];break;case 29:this.$={type:"SubExpression",path:a[s-3],params:a[s-2],hash:a[s-1],loc:i.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:a[s],loc:i.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:i.id(a[s-2]),value:a[s],loc:i.locInfo(this._$)};break;case 32:this.$=i.id(a[s-1]);break;case 33:case 34:this.$=a[s];break;case 35:this.$={type:"StringLiteral",value:a[s],original:a[s],loc:i.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(a[s]),original:Number(a[s]),loc:i.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===a[s],original:"true"===a[s],loc:i.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:i.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:i.locInfo(this._$)};break;case 40:case 41:this.$=a[s];break;case 42:this.$=i.preparePath(!0,a[s],this._$);break;case 43:this.$=i.preparePath(!1,a[s],this._$);break;case 44:a[s-2].push({part:i.id(a[s]),original:a[s],separator:a[s-1]}),this.$=a[s-2];break;case 45:this.$=[{part:i.id(a[s]),original:a[s]}];break;case 46:this.$=[];break;case 47:a[s-1].push(a[s]);break;case 48:this.$=[];break;case 49:a[s-1].push(a[s]);break;case 50:this.$=[];break;case 51:a[s-1].push(a[s]);break;case 58:this.$=[];break;case 59:a[s-1].push(a[s]);break;case 64:this.$=[];break;case 65:a[s-1].push(a[s]);break;case 70:this.$=[];break;case 71:a[s-1].push(a[s]);break;case 78:this.$=[];break;case 79:a[s-1].push(a[s]);break;case 82:this.$=[];break;case 83:a[s-1].push(a[s]);break;case 86:this.$=[];break;case 87:a[s-1].push(a[s]);break;case 90:this.$=[];break;case 91:a[s-1].push(a[s]);break;case 94:this.$=[];break;case 95:a[s-1].push(a[s]);break;case 98:this.$=[a[s]];break;case 99:a[s-1].push(a[s]);break;case 100:this.$=[a[s]];break;case 101:a[s-1].push(a[s])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],i=[null],o=[],a=this.table,r="",s=0,l=0,c=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;o.push(u);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,p,f,m,g,_,y,v,b,w,A={};;){if(f=n[n.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null==d&&(w=void 0,"number"!=typeof(w=t.lexer.lex()||1)&&(w=t.symbols_[w]||w),d=w),m=a[f]&&a[f][d]),void 0===m||!m.length||!m[0]){var x="";if(!c){for(_ in b=[],a[f])this.terminals_[_]&&_>2&&b.push("'"+this.terminals_[_]+"'");x=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[d]||d)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:u,expected:b})}}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+d);switch(m[0]){case 1:n.push(d),i.push(this.lexer.yytext),o.push(this.lexer.yylloc),n.push(m[1]),d=null,p?(d=p,p=null):(l=this.lexer.yyleng,r=this.lexer.yytext,s=this.lexer.yylineno,u=this.lexer.yylloc,c>0&&c--);break;case 2:if(y=this.productions_[m[1]][1],A.$=i[i.length-y],A._$={first_line:o[o.length-(y||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(y||1)].first_column,last_column:o[o.length-1].last_column},h&&(A._$.range=[o[o.length-(y||1)].range[0],o[o.length-1].range[1]]),void 0!==(g=this.performAction.call(A,r,l,s,this.yy,m[1],i,o)))return g;y&&(n=n.slice(0,-1*y*2),i=i.slice(0,-1*y),o=o.slice(0,-1*y)),n.push(this.productions_[m[1]][0]),i.push(A.$),o.push(A._$),v=a[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t,n,i,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),r=0;r<a.length&&(!(n=this._input.match(this.rules[a[r]]))||t&&!(n[0].length>t[0].length)||(t=n,i=r,this.options.flex));r++);return t?((o=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,a[i],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},options:{},performAction:function(e,t,n,i){function o(e,n){return t.yytext=t.yytext.substring(e,t.yyleng-n+e)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(o(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return e}();function n(){this.yy={}}return e.lexer=t,n.prototype=e,e.Parser=n,new n}();t.default=n,e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=i(n(44));function a(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function r(e,t,n){void 0===t&&(t=e.length);var i=e[t-1],o=e[t-2];return i?"ContentStatement"===i.type?(o||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(i.original):void 0:n}function s(e,t,n){void 0===t&&(t=-1);var i=e[t+1],o=e[t+2];return i?"ContentStatement"===i.type?(o||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(i.original):void 0:n}function l(e,t,n){var i=e[null==t?0:t+1];if(i&&"ContentStatement"===i.type&&(n||!i.rightStripped)){var o=i.value;i.value=i.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),i.rightStripped=i.value!==o}}function c(e,t,n){var i=e[null==t?e.length-1:t-1];if(i&&"ContentStatement"===i.type&&(n||!i.leftStripped)){var o=i.value;return i.value=i.value.replace(n?/\s+$/:/[ \t]+$/,""),i.leftStripped=i.value!==o,i.leftStripped}}a.prototype=new o.default,a.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var i=e.body,o=0,a=i.length;o<a;o++){var u=i[o],h=this.accept(u);if(h){var d=r(i,o,n),p=s(i,o,n),f=h.openStandalone&&d,m=h.closeStandalone&&p,g=h.inlineStandalone&&d&&p;h.close&&l(i,o,!0),h.open&&c(i,o,!0),t&&g&&(l(i,o),c(i,o)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(i[o-1].original)[1])),t&&f&&(l((u.program||u.inverse).body),c(i,o)),t&&m&&(l(i,o),c((u.inverse||u.program).body))}}return e},a.prototype.BlockStatement=a.prototype.DecoratorBlock=a.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,i=n,o=n;if(n&&n.chained)for(i=n.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var a={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:s(t.body),closeStandalone:r((i||t).body)};if(e.openStrip.close&&l(t.body,null,!0),n){var u=e.inverseStrip;u.open&&c(t.body,null,!0),u.close&&l(i.body,null,!0),e.closeStrip.open&&c(o.body,null,!0),!this.options.ignoreStandalone&&r(t.body)&&s(i.body)&&(c(t.body),l(i.body))}else e.closeStrip.open&&c(t.body,null,!0);return a},a.prototype.Decorator=a.prototype.MustacheStatement=function(e){return e.strip},a.prototype.PartialStatement=a.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t.default=a,e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=i(n(6));function a(){this.parents=[]}function r(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function s(e){r.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function l(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}a.prototype={constructor:a,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&!a.prototype[n.type])throw new o.default('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type);e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new o.default(e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;t<n;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},accept:function(e){if(e){if(!this[e.type])throw new o.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:!1!==t?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:r,Decorator:r,BlockStatement:s,DecoratorBlock:s,PartialStatement:l,PartialBlockStatement:function(e){l.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:r,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t.default=a,e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0,t.SourceLocation=function(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}},t.id=function(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e},t.stripFlags=function(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}},t.stripComment=function(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},t.preparePath=function(e,t,n){n=this.locInfo(n);for(var i=e?"@":"",a=[],r=0,s=0,l=t.length;s<l;s++){var c=t[s].part,u=t[s].original!==c;if(i+=(t[s].separator||"")+c,u||".."!==c&&"."!==c&&"this"!==c)a.push(c);else{if(a.length>0)throw new o.default("Invalid path: "+i,{loc:n});".."===c&&r++}}return{type:"PathExpression",data:e,depth:r,parts:a,original:i,loc:n}},t.prepareMustache=function(e,t,n,i,o,a){var r=i.charAt(3)||i.charAt(2),s="{"!==r&&"&"!==r;return{type:/\*/.test(i)?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:s,strip:o,loc:this.locInfo(a)}},t.prepareRawBlock=function(e,t,n,i){a(e,n),i=this.locInfo(i);var o={type:"Program",body:t,strip:{},loc:i};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:i}},t.prepareBlock=function(e,t,n,i,r,s){i&&i.path&&a(e,i);var l=/\*/.test(e.open);t.blockParams=e.blockParams;var c=void 0,u=void 0;if(n){if(l)throw new o.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=i.strip),u=n.strip,c=n.program}r&&(r=c,c=t,t=r);return{type:l?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:c,openStrip:e.strip,inverseStrip:u,closeStrip:i&&i.strip,loc:this.locInfo(s)}},t.prepareProgram=function(e,t){if(!t&&e.length){var n=e[0].loc,i=e[e.length-1].loc;n&&i&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:i.end.line,column:i.end.column}})}return{type:"Program",body:e,strip:{},loc:t}},t.preparePartialBlock=function(e,t,n,i){return a(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(i)}};var o=i(n(6));function a(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var n={loc:e.path.loc};throw new o.default(e.path.original+" doesn't match "+t,n)}}},function(e,t,n){"use strict";var i=n(47).default,o=n(1).default;t.__esModule=!0,t.Compiler=c,t.precompile=function(e,t,n){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new a.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);"data"in(t=t||{})||(t.data=!0);t.compat&&(t.useDepths=!0);var i=n.parse(e,t),o=(new n.Compiler).compile(i,t);return(new n.JavaScriptCompiler).compile(o,t)},t.compile=function(e,t,n){void 0===t&&(t={});if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new a.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in(t=r.extend({},t))||(t.data=!0);t.compat&&(t.useDepths=!0);var i=void 0;function o(){var i=n.parse(e,t),o=(new n.Compiler).compile(i,t),a=(new n.JavaScriptCompiler).compile(o,t,void 0,!0);return n.template(a)}function s(e,t){return i||(i=o()),i.call(this,e,t)}return s._setup=function(e){return i||(i=o()),i._setup(e)},s._child=function(e,t,n,a){return i||(i=o()),i._child(e,t,n,a)},s};var a=o(n(6)),r=n(5),s=o(n(40)),l=[].slice;function c(){}function u(e,t){if(e===t)return!0;if(r.isArray(e)&&r.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!u(e[n],t[n]))return!1;return!0}}function h(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}c.prototype={compiler:c,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;n<t;n++){var i=this.opcodes[n],o=e.opcodes[n];if(i.opcode!==o.opcode||!u(i.args,o.args))return!1}t=this.children.length;for(n=0;n<t;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,t){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[],t.knownHelpers=r.extend(i(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},t.knownHelpers),this.accept(e)},compileProgram:function(e){var t=(new this.compiler).compile(e,this.options),n=this.guid++;return this.usePartial=this.usePartial||t.usePartial,this.children[n]=t,this.useDepths=this.useDepths||t.useDepths,n},accept:function(e){if(!this[e.type])throw new a.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var t=this[e.type](e);return this.sourceNode.shift(),t},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,n=t.length,i=0;i<n;i++)this.accept(t[i]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){h(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var i=this.classifySexpr(e);"helper"===i?this.helperSexpr(e,t,n):"simple"===i?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var t=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,t,void 0),i=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,i.original)},PartialStatement:function(e){this.usePartial=!0;var t=e.program;t&&(t=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new a.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=e.name.original,o="SubExpression"===e.name.type;o&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var r=e.indent||"";this.options.preventIndent&&r&&(this.opcode("appendContent",r),r=""),this.opcode("invokePartial",o,i,r),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){h(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var i=e.path,o=i.parts[0],a=null!=t||null!=n;this.opcode("getContext",i.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",o,a)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var i=this.setupFullMustacheParams(e,t,n),o=e.path,r=o.parts[0];if(this.options.knownHelpers[r])this.opcode("invokeKnownHelper",i.length,r);else{if(this.options.knownHelpersOnly)throw new a.default("You specified knownHelpersOnly, but used the unknown helper "+r,e);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",i.length,o.original,s.default.helpers.simpleId(o))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=s.default.helpers.scopedId(e),i=!e.depth&&!n&&this.blockParamIndex(t);i?this.opcode("lookupBlockParam",i,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,n=0,i=t.length;for(this.opcode("pushHash");n<i;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:l.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=s.default.helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),i=!n&&s.default.helpers.helperExpression(e),o=!n&&(i||t);if(o&&!i){var a=e.path.parts[0],r=this.options;r.knownHelpers[a]?i=!0:r.knownHelpersOnly&&(o=!1)}return i?"helper":o?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;t<n;t++)this.pushParam(e[t])},pushParam:function(e){var t=null!=e.value?e.value:e.original||"";if(this.stringParams)t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",t,e.type),"SubExpression"===e.type&&this.accept(e);else{if(this.trackIds){var n=void 0;if(!e.parts||s.default.helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var i=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,i)}else(t=e.original||t).replace&&(t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,t)}this.accept(e)}},setupFullMustacheParams:function(e,t,n,i){var o=e.params;return this.pushParams(o),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",i),o},blockParamIndex:function(e){for(var t=0,n=this.options.blockParams.length;t<n;t++){var i=this.options.blockParams[t],o=i&&r.indexOf(i,e);if(i&&o>=0)return[t,o]}}}},function(e,t,n){e.exports={default:n(48),__esModule:!0}},function(e,t,n){var i=n(9);e.exports=function(e,t){return i.create(e,t)}},function(e,t,n){"use strict";var i=n(13).default,o=n(1).default;t.__esModule=!0;var a=n(4),r=o(n(6)),s=n(5),l=o(n(50)),c=n(28);function u(e){this.value=e}function h(){}h.prototype={nameLookup:function(e,t){return c.dangerousPropertyRegex.test(t)?["(",[this.aliasable("container.propertyIsEnumerable"),".call(",e,",",JSON.stringify(t),")"],"?",n()," : undefined)"]:n();function n(){return h.isValidJavaScriptVariableName(t)?[e,".",t]:[e,"[",JSON.stringify(t),"]"]}},depthedLookup:function(e){return[this.aliasable("container.lookup"),'(depths, "',e,'")']},compilerInfo:function(){var e=a.COMPILER_REVISION;return[e,a.REVISION_CHANGES[e]]},appendToBuffer:function(e,t,n){return s.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},compile:function(e,t,n,i){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var o=e.opcodes,a=void 0,s=void 0,l=void 0,c=void 0;for(l=0,c=o.length;l<c;l++)a=o[l],this.source.currentLocation=a.loc,s=s||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new r.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend("var decorators = container.decorators;\n"),this.decorators.push("return fn;"),i?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(i);if(this.isChild)return u;var h={compiler:this.compilerInfo(),main:u};this.decorators&&(h.main_d=this.decorators,h.useDecorators=!0);var d=this.context,p=d.programs,f=d.decorators;for(l=0,c=p.length;l<c;l++)p[l]&&(h[l]=p[l],f[l]&&(h[l+"_d"]=f[l],h.useDecorators=!0));return this.environment.usePartial&&(h.usePartial=!0),this.options.data&&(h.useData=!0),this.useDepths&&(h.useDepths=!0),this.useBlockParams&&(h.useBlockParams=!0),this.options.compat&&(h.compat=!0),i?h.compilerOptions=this.options:(h.compiler=JSON.stringify(h.compiler),this.source.currentLocation={start:{line:1,column:0}},h=this.objectLiteral(h),t.srcName?(h=h.toStringWithSourceMap({file:t.destName})).map=h.map&&h.map.toString():h=h.toString()),h},preamble:function(){this.lastContext=0,this.source=new l.default(this.options.srcName),this.decorators=new l.default(this.options.srcName)},createFunctionContext:function(e){var t=this,n="",o=this.stackVars.concat(this.registers.list);o.length>0&&(n+=", "+o.join(", "));var a=0;i(this.aliases).forEach(function(e){var i=t.aliases[e];i.children&&i.referenceCount>1&&(n+=", alias"+ ++a+"="+e,i.children[0]="alias"+a)});var r=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&r.push("blockParams"),this.useDepths&&r.push("depths");var s=this.mergeSource(n);return e?(r.push(s),Function.apply(this,r)):this.source.wrap(["function(",r.join(","),") {\n ",s,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,i=void 0,o=void 0,a=void 0,r=void 0;return this.source.each(function(e){e.appendToBuffer?(a?e.prepend(" + "):a=e,r=e):(a&&(o?a.prepend("buffer += "):i=!0,r.add(";"),a=r=void 0),o=!0,t||(n=!1))}),n?a?(a.prepend("return "),r.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(i?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),r.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(i?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,i){var o=0;i||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[o++])),this.resolvePath("context",e,o,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,n)},resolvePath:function(e,t,n,i,o){var a=this;if(this.options.strict||this.options.assumeObjects)this.push(function(e,t,n,i){var o=t.popStack(),a=0,r=n.length;e&&r--;for(;a<r;a++)o=t.nameLookup(o,n[a],i);return e?[t.aliasable("container.strict"),"(",o,", ",t.quotedString(n[a]),", ",JSON.stringify(t.source.currentLocation)," )"]:o}(this.options.strict&&o,this,t,e));else for(var r=t.length;n<r;n++)this.replaceStack(function(o){var r=a.nameLookup(o,t[n],e);return i?[" && ",r]:[" != null ? ",r," : ",o]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,t){var n=this.nameLookup("decorators",t,"decorator"),i=this.setupHelperArgs(t,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",i])," || fn;"])},invokeHelper:function(e,t,n){var i=this.popStack(),o=this.setupHelper(e,t),a=[];n&&a.push(o.name),a.push(i),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var r=["(",this.itemsSeparatedBy(a,"||"),")"],s=this.source.functionCall(r,"call",o.callParams);this.push(s)},itemsSeparatedBy:function(e,t){var n=[];n.push(e[0]);for(var i=1;i<e.length;i++)n.push(t,e[i]);return n},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var i=this.setupHelper(0,e,t),o=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",e,"helper")," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(e,t,n){var i=[],o=this.setupParams(t,1,i);e&&(t=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?i.unshift(t):i.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),i.push(o),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(e){var t=this.popStack(),n=void 0,i=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),i&&(a.types[e]=i),o&&(a.ids[e]=o),a.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:h,compileChildren:function(e,t){for(var n=e.children,i=void 0,o=void 0,a=0,r=n.length;a<r;a++){i=n[a],o=new this.compiler;var s=this.matchExistingProgram(i);if(null==s){this.context.programs.push("");var l=this.context.programs.length;i.index=l,i.name="program"+l,this.context.programs[l]=o.compile(i,t,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=i,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,i.useDepths=this.useDepths,i.useBlockParams=this.useBlockParams}else i.index=s.index,i.name="program"+s.index,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.useBlockParams}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var i=this.context.environments[t];if(i&&i.equals(e))return i}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof u||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new u(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],n=void 0,i=void 0,o=void 0;if(!this.isInline())throw new r.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof u)t=["(",n=[a.value]],o=!0;else{i=!0;var s=this.incrStack();t=["((",this.push(s)," = ",a,")"],n=this.topStack()}var l=e.call(this,n);o||this.popStack(),i&&this.stackSlot--,this.push(t.concat(l,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var i=e[t];if(i instanceof u)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof u)return n.value;if(!t){if(!this.stackSlot)throw new r.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof u?t.value:t},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):((t=this.aliases[e]=this.source.wrap(e)).aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,n){var i=[];return{params:i,paramsInit:this.setupHelperArgs(t,e,i,n),name:this.nameLookup("helpers",t,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(i)}},setupParams:function(e,t,n){var i={},o=[],a=[],r=[],s=!n,l=void 0;s&&(n=[]),i.name=this.quotedString(e),i.hash=this.popStack(),this.trackIds&&(i.hashIds=this.popStack()),this.stringParams&&(i.hashTypes=this.popStack(),i.hashContexts=this.popStack());var c=this.popStack(),u=this.popStack();(u||c)&&(i.fn=u||"container.noop",i.inverse=c||"container.noop");for(var h=t;h--;)l=this.popStack(),n[h]=l,this.trackIds&&(r[h]=this.popStack()),this.stringParams&&(a[h]=this.popStack(),o[h]=this.popStack());return s&&(i.args=this.source.generateArray(n)),this.trackIds&&(i.ids=this.source.generateArray(r)),this.stringParams&&(i.types=this.source.generateArray(a),i.contexts=this.source.generateArray(o)),this.options.data&&(i.data="data"),this.useBlockParams&&(i.blockParams="blockParams"),i},setupHelperArgs:function(e,t,n,i){var o=this.setupParams(e,t,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),i?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}},function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=h.RESERVED_WORDS={},n=0,i=e.length;n<i;n++)t[e[n]]=!0}(),h.isValidJavaScriptVariableName=function(e){return!h.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t.default=h,e.exports=t.default},function(e,t,n){"use strict";var i=n(13).default;t.__esModule=!0;var o=n(5),a=void 0;try{}catch(e){}function r(e,t,n){if(o.isArray(e)){for(var i=[],a=0,r=e.length;a<r;a++)i.push(t.wrap(e[a],n));return i}return"boolean"==typeof e||"number"==typeof e?e+"":e}function s(e){this.srcFile=e,this.source=[]}a||((a=function(e,t,n,i){this.src="",i&&this.add(i)}).prototype={add:function(e){o.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){o.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),s.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var e=this.empty();return this.each(function(t){e.add([" ",t,"\n"])}),e},each:function(e){for(var t=0,n=this.source.length;t<n;t++)e(this.source[t])},empty:function(){var e=this.currentLocation||{start:{}};return new a(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof a?e:(e=r(e,this,t),new a(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t=this,n=[];i(e).forEach(function(i){var o=r(e[i],t);"undefined"!==o&&n.push([t.quotedString(i),":",o])});var o=this.generateList(n);return o.prepend("{"),o.add("}"),o},generateList:function(e){for(var t=this.empty(),n=0,i=e.length;n<i;n++)n&&t.add(","),t.add(r(e[n],this));return t},generateArray:function(e){var t=this.generateList(e);return t.prepend("["),t.add("]"),t}},t.default=s,e.exports=t.default}])}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function r(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,i){return Pt(e,t,n,i,!0).utc()}function d(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var n=d(e),i=t.call(n.parsedDateParts,function(e){return null!=e}),o=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&i);if(e._strict&&(o=o&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function f(e){var t=h(NaN);return null!=e?u(d(t),e):d(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var m=n.momentProperties=[];function g(e,t){var n,i,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=d(t)),a(t._locale)||(e._locale=t._locale),m.length>0)for(n=0;n<m.length;n++)a(o=t[i=m[n]])||(e[i]=o);return e}var _=!1;function y(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,n.updateOffset(this),_=!1)}function v(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function A(e,t,n){var i,o=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),r=0;for(i=0;i<o;i++)(n&&e[i]!==t[i]||!n&&w(e[i])!==w(t[i]))&&r++;return r+a}function x(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var i=!0;return u(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),i){for(var o,a=[],r=0;r<arguments.length;r++){if(o="","object"==typeof arguments[r]){for(var s in o+="\n["+r+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[r];a.push(o)}x(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),i=!1}return t.apply(this,arguments)},t)}var S,C={};function P(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),C[e]||(x(t),C[e]=!0)}function M(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,i=u({},e);for(n in t)c(t,n)&&(o(e[n])&&o(t[n])?(i[n]={},u(i[n],e[n]),u(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)c(e,n)&&!c(t,n)&&o(e[n])&&(i[n]=u({},i[n]));return i}function L(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var E={};function O(e,t){var n=e.toLowerCase();E[n]=E[n+"s"]=E[t]=e}function D(e){return"string"==typeof e?E[e]||E[e.toLowerCase()]:void 0}function z(e){var t,n,i={};for(n in e)c(e,n)&&(t=D(n))&&(i[t]=e[n]);return i}var I={};function N(e,t){I[e]=t}function B(e,t,n){var i=""+Math.abs(e),o=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},F={};function W(e,t,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),e&&(F[e]=o),t&&(F[t[0]]=function(){return B(o.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function q(e,t){return e.isValid()?(t=$(t,e.localeData()),H[t]=H[t]||function(e){var t,n,i,o=e.match(j);for(t=0,n=o.length;t<n;t++)F[o[t]]?o[t]=F[o[t]]:o[t]=(i=o[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,a="";for(i=0;i<n;i++)a+=M(o[i])?o[i].call(t,e):o[i];return a}}(t),H[t](e)):e.localeData().invalidDate()}function $(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,i),R.lastIndex=0,n-=1;return e}var Z=/\d/,V=/\d\d/,U=/\d{3}/,G=/\d{4}/,Y=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,X=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,ie=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,re=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,se={};function le(e,t,n){se[e]=M(t)?t:function(e,i){return e&&n?n:t}}function ce(e,t){return c(se,e)?se[e](t._strict,t._locale):new RegExp(ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,o){return t||n||i||o})))}function ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function de(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),r(t)&&(i=function(e,n){n[t]=w(e)}),n=0;n<e.length;n++)he[e[n]]=i}function pe(e,t){de(e,function(e,n,i,o){i._w=i._w||{},t(e,i._w,i,o)})}function fe(e,t,n){null!=t&&c(he,e)&&he[e](t,n._a,n,e)}var me=0,ge=1,_e=2,ye=3,ve=4,be=5,we=6,Ae=7,xe=8;function ke(e){return Se(e)?366:365}function Se(e){return e%4==0&&e%100!=0||e%400==0}W("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),O("year","y"),N("year",1),le("Y",ie),le("YY",K,V),le("YYYY",ee,G),le("YYYYY",te,Y),le("YYYYYY",te,Y),de(["YYYYY","YYYYYY"],me),de("YYYY",function(e,t){t[me]=2===e.length?n.parseTwoDigitYear(e):w(e)}),de("YY",function(e,t){t[me]=n.parseTwoDigitYear(e)}),de("Y",function(e,t){t[me]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var Ce,Pe=Me("FullYear",!0);function Me(e,t){return function(i){return null!=i?(Le(this,e,i),n.updateOffset(this,t),this):Te(this,e)}}function Te(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Le(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Se(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ee(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ee(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?Se(e)?29:28:31-i%7%2}Ce=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),O("month","M"),N("month",8),le("M",K),le("MM",K,V),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),de(["M","MM"],function(e,t){t[ge]=w(e)-1}),de(["MMM","MMMM"],function(e,t,n,i){var o=n._locale.monthsParse(e,i,n._strict);null!=o?t[ge]=o:d(n).invalidMonth=e});var Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var ze="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ie(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!r(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ee(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ne(e){return null!=e?(Ie(this,e),n.updateOffset(this,!0),this):Te(this,"Month")}var Be=re;var je=re;function Re(){function e(e,t){return t.length-e.length}var t,n,i=[],o=[],a=[];for(t=0;t<12;t++)n=h([2e3,t]),i.push(this.monthsShort(n,"")),o.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(e),o.sort(e),a.sort(e),t=0;t<12;t++)i[t]=ue(i[t]),o[t]=ue(o[t]);for(t=0;t<24;t++)a[t]=ue(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function He(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Fe(e,t,n){var i=7+t-n;return-((7+He(e,0,i).getUTCDay()-t)%7)+i-1}function We(e,t,n,i,o){var a,r,s=1+7*(t-1)+(7+n-i)%7+Fe(e,i,o);return s<=0?r=ke(a=e-1)+s:s>ke(e)?(a=e+1,r=s-ke(e)):(a=e,r=s),{year:a,dayOfYear:r}}function qe(e,t,n){var i,o,a=Fe(e.year(),t,n),r=Math.floor((e.dayOfYear()-a-1)/7)+1;return r<1?i=r+$e(o=e.year()-1,t,n):r>$e(e.year(),t,n)?(i=r-$e(e.year(),t,n),o=e.year()+1):(o=e.year(),i=r),{week:i,year:o}}function $e(e,t,n){var i=Fe(e,t,n),o=Fe(e+1,t,n);return(ke(e)-i+o)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),N("week",5),N("isoWeek",5),le("w",K),le("ww",K,V),le("W",K),le("WW",K,V),pe(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=w(e)});W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),le("d",K),le("e",K),le("E",K),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),pe(["dd","ddd","dddd"],function(e,t,n,i){var o=n._locale.weekdaysParse(e,i,n._strict);null!=o?t.d=o:d(n).invalidWeekday=e}),pe(["d","e","E"],function(e,t,n,i){t[i]=w(e)});var Ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Ue="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Ge=re;var Ye=re;var Ke=re;function Qe(){function e(e,t){return t.length-e.length}var t,n,i,o,a,r=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),i=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),a=this.weekdays(n,""),r.push(i),s.push(o),l.push(a),c.push(i),c.push(o),c.push(a);for(r.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=ue(s[t]),l[t]=ue(l[t]),c[t]=ue(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Je(){return this.hours()%12||12}function Xe(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function et(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Je),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+Je.apply(this)+B(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Je.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Xe("a",!0),Xe("A",!1),O("hour","h"),N("hour",13),le("a",et),le("A",et),le("H",K),le("h",K),le("k",K),le("HH",K,V),le("hh",K,V),le("kk",K,V),le("hmm",Q),le("hmmss",J),le("Hmm",Q),le("Hmmss",J),de(["H","HH"],ye),de(["k","kk"],function(e,t,n){var i=w(e);t[ye]=24===i?0:i}),de(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),de(["h","hh"],function(e,t,n){t[ye]=w(e),d(n).bigHour=!0}),de("hmm",function(e,t,n){var i=e.length-2;t[ye]=w(e.substr(0,i)),t[ve]=w(e.substr(i)),d(n).bigHour=!0}),de("hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[ye]=w(e.substr(0,i)),t[ve]=w(e.substr(i,2)),t[be]=w(e.substr(o)),d(n).bigHour=!0}),de("Hmm",function(e,t,n){var i=e.length-2;t[ye]=w(e.substr(0,i)),t[ve]=w(e.substr(i))}),de("Hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[ye]=w(e.substr(0,i)),t[ve]=w(e.substr(i,2)),t[be]=w(e.substr(o))});var tt,nt=Me("Hours",!0),it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:De,monthsShort:ze,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:Ue,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},ot={},at={};function rt(e){return e?e.toLowerCase().replace("_","-"):e}function st(e){var t=null;if(!ot[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=tt._abbr,require("./locale/"+e),lt(t)}catch(e){}return ot[e]}function lt(e,t){var n;return e&&((n=a(t)?ut(e):ct(e,t))?tt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),tt._abbr}function ct(e,t){if(null!==t){var n,i=it;if(t.abbr=e,null!=ot[e])P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])i=ot[t.parentLocale]._config;else{if(null==(n=st(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ot[e]=new L(T(i,t)),at[e]&&at[e].forEach(function(e){ct(e.name,e.config)}),lt(e),ot[e]}return delete ot[e],null}function ut(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return tt;if(!i(e)){if(t=st(e))return t;e=[e]}return function(e){for(var t,n,i,o,a=0;a<e.length;){for(t=(o=rt(e[a]).split("-")).length,n=(n=rt(e[a+1]))?n.split("-"):null;t>0;){if(i=st(o.slice(0,t).join("-")))return i;if(n&&n.length>=t&&A(o,n,!0)>=t-1)break;t--}a++}return tt}(e)}function ht(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[ge]<0||n[ge]>11?ge:n[_e]<1||n[_e]>Ee(n[me],n[ge])?_e:n[ye]<0||n[ye]>24||24===n[ye]&&(0!==n[ve]||0!==n[be]||0!==n[we])?ye:n[ve]<0||n[ve]>59?ve:n[be]<0||n[be]>59?be:n[we]<0||n[we]>999?we:-1,d(e)._overflowDayOfYear&&(t<me||t>_e)&&(t=_e),d(e)._overflowWeeks&&-1===t&&(t=Ae),d(e)._overflowWeekday&&-1===t&&(t=xe),d(e).overflow=t),e}function dt(e,t,n){return null!=e?e:null!=t?t:n}function pt(e){var t,i,o,a,r,s=[];if(!e._d){for(o=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[_e]&&null==e._a[ge]&&function(e){var t,n,i,o,a,r,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)a=1,r=4,n=dt(t.GG,e._a[me],qe(Mt(),1,4).year),i=dt(t.W,1),((o=dt(t.E,1))<1||o>7)&&(l=!0);else{a=e._locale._week.dow,r=e._locale._week.doy;var c=qe(Mt(),a,r);n=dt(t.gg,e._a[me],c.year),i=dt(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+a,(t.e<0||t.e>6)&&(l=!0)):o=a}i<1||i>$e(n,a,r)?d(e)._overflowWeeks=!0:null!=l?d(e)._overflowWeekday=!0:(s=We(n,i,o,a,r),e._a[me]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(r=dt(e._a[me],o[me]),(e._dayOfYear>ke(r)||0===e._dayOfYear)&&(d(e)._overflowDayOfYear=!0),i=He(r,0,e._dayOfYear),e._a[ge]=i.getUTCMonth(),e._a[_e]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ye]&&0===e._a[ve]&&0===e._a[be]&&0===e._a[we]&&(e._nextDay=!0,e._a[ye]=0),e._d=(e._useUTC?He:function(e,t,n,i,o,a,r){var s=new Date(e,t,n,i,o,a,r);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ye]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(d(e).weekdayMismatch=!0)}}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((\-?\d+)/i;function bt(e){var t,n,i,o,a,r,s=e._i,l=ft.exec(s)||mt.exec(s);if(l){for(d(e).iso=!0,t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[1])){o=_t[t][0],i=!1!==_t[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[3])){a=(l[2]||" ")+yt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!gt.exec(l[4]))return void(e._isValid=!1);r="Z"}e._f=o+(a||"")+(r||""),St(e)}else e._isValid=!1}var wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function At(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var t,n,i,o,a,r,s,l=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var c=(t=l[4],n=l[3],i=l[2],o=l[5],a=l[6],r=l[7],s=[At(t),ze.indexOf(n),parseInt(i,10),parseInt(o,10),parseInt(a,10)],r&&s.push(parseInt(r,10)),s);if(!function(e,t,n){return!e||Ve.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(d(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],c,e))return;e._a=c,e._tzm=function(e,t,n){if(e)return xt[e];if(t)return 0;var i=parseInt(n,10),o=i%100;return(i-o)/100*60+o}(l[8],l[9],l[10]),e._d=He.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),d(e).rfc2822=!0}else e._isValid=!1}function St(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],d(e).empty=!0;var t,i,o,a,r,s=""+e._i,l=s.length,c=0;for(o=$(e._f,e._locale).match(j)||[],t=0;t<o.length;t++)a=o[t],(i=(s.match(ce(a,e))||[])[0])&&((r=s.substr(0,s.indexOf(i))).length>0&&d(e).unusedInput.push(r),s=s.slice(s.indexOf(i)+i.length),c+=i.length),F[a]?(i?d(e).empty=!1:d(e).unusedTokens.push(a),fe(a,i,e)):e._strict&&!i&&d(e).unusedTokens.push(a);d(e).charsLeftOver=l-c,s.length>0&&d(e).unusedInput.push(s),e._a[ye]<=12&&!0===d(e).bigHour&&e._a[ye]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[ye]=function(e,t,n){var i;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[ye],e._meridiem),pt(e),ht(e)}else kt(e);else bt(e)}function Ct(e){var t=e._i,c=e._f;return e._locale=e._locale||ut(e._l),null===t||void 0===c&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new y(ht(t)):(s(t)?e._d=t:i(c)?function(e){var t,n,i,o,a;if(0===e._f.length)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)a=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],St(t),p(t)&&(a+=d(t).charsLeftOver,a+=10*d(t).unusedTokens.length,d(t).score=a,(null==i||a<i)&&(i=a,n=t));u(e,n||t)}(e):c?St(e):function(e){var t=e._i;a(t)?e._d=new Date(n.now()):s(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=vt.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,kt(e),!1===e._isValid&&(delete e._isValid,n.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),pt(e)):o(t)?function(e){if(!e._d){var t=z(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),pt(e)}}(e):r(t)?e._d=new Date(t):n.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function Pt(e,t,n,a,r){var s,l={};return!0!==n&&!1!==n||(a=n,n=void 0),(o(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=r,l._l=n,l._i=e,l._f=t,l._strict=a,(s=new y(ht(Ct(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Mt(e,t,n,i){return Pt(e,t,n,i,!1)}n.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){},n.RFC_2822=function(){};var Tt=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()}),Lt=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()});function Et(e,t){var n,o;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Mt();for(n=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](n)||(n=t[o]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Dt(e){var t=z(e),n=t.year||0,i=t.quarter||0,o=t.month||0,a=t.week||0,r=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Ce.call(Ot,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<Ot.length;++i)if(e[Ot[i]]){if(n)return!1;parseFloat(e[Ot[i]])!==w(e[Ot[i]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+r+7*a,this._months=+o+3*i+12*n,this._data={},this._locale=ut(),this._bubble()}function zt(e){return e instanceof Dt}function It(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,t){W(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+B(~~(e/60),2)+t+B(~~e%60,2)})}Nt("Z",":"),Nt("ZZ",""),le("Z",ae),le("ZZ",ae),de(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=jt(ae,e)});var Bt=/([\+\-]|\d\d)/gi;function jt(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(Bt)||["-",0,0],o=60*i[1]+w(i[2]);return 0===o?0:"+"===i[0]?o:-o}function Rt(e,t){var i,o;return t._isUTC?(i=t.clone(),o=(v(e)||s(e)?e.valueOf():Mt(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+o),n.updateOffset(i,!1),i):Mt(e).local()}function Ht(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ft(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}n.updateOffset=function(){};var Wt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,qt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $t(e,t){var n,i,o,a=e,s=null;return zt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:r(e)?(a={},t?a[t]=e:a.milliseconds=e):(s=Wt.exec(e))?(n="-"===s[1]?-1:1,a={y:0,d:w(s[_e])*n,h:w(s[ye])*n,m:w(s[ve])*n,s:w(s[be])*n,ms:w(It(1e3*s[we]))*n}):(s=qt.exec(e))?(n="-"===s[1]?-1:(s[1],1),a={y:Zt(s[2],n),M:Zt(s[3],n),w:Zt(s[4],n),d:Zt(s[5],n),h:Zt(s[6],n),m:Zt(s[7],n),s:Zt(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Rt(t,e),e.isBefore(t)?n=Vt(e,t):((n=Vt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Mt(a.from),Mt(a.to)),(a={}).ms=o.milliseconds,a.M=o.months),i=new Dt(a),zt(e)&&c(e,"_locale")&&(i._locale=e._locale),i}function Zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Vt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ut(e,t){return function(n,i){var o;return null===i||isNaN(+i)||(P(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=i,i=o),Gt(this,$t(n="string"==typeof n?+n:n,i),e),this}}function Gt(e,t,i,o){var a=t._milliseconds,r=It(t._days),s=It(t._months);e.isValid()&&(o=null==o||o,s&&Ie(e,Te(e,"Month")+s*i),r&&Le(e,"Date",Te(e,"Date")+r*i),a&&e._d.setTime(e._d.valueOf()+a*i),o&&n.updateOffset(e,r||s))}$t.fn=Dt.prototype,$t.invalid=function(){return $t(NaN)};var Yt=Ut(1,"add"),Kt=Ut(-1,"subtract");function Qt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Jt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ut(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xt=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function en(){return this._locale}function tn(e,t){W(0,[e,e.length],0,t)}function nn(e,t,n,i,o){var a;return null==e?qe(this,i,o).year:(t>(a=$e(e,i,o))&&(t=a),function(e,t,n,i,o){var a=We(e,t,n,i,o),r=He(a.year,0,a.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,e,t,n,i,o))}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tn("gggg","weekYear"),tn("ggggg","weekYear"),tn("GGGG","isoWeekYear"),tn("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),le("G",ie),le("g",ie),le("GG",K,V),le("gg",K,V),le("GGGG",ee,G),le("gggg",ee,G),le("GGGGG",te,Y),le("ggggg",te,Y),pe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=w(e)}),pe(["gg","GG"],function(e,t,i,o){t[o]=n.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),O("quarter","Q"),N("quarter",7),le("Q",Z),de("Q",function(e,t){t[ge]=3*(w(e)-1)}),W("D",["DD",2],"Do","date"),O("date","D"),N("date",9),le("D",K),le("DD",K,V),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),de(["D","DD"],_e),de("Do",function(e,t){t[_e]=w(e.match(K)[0])});var on=Me("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),N("dayOfYear",4),le("DDD",X),le("DDDD",U),de(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),W("m",["mm",2],0,"minute"),O("minute","m"),N("minute",14),le("m",K),le("mm",K,V),de(["m","mm"],ve);var an=Me("Minutes",!1);W("s",["ss",2],0,"second"),O("second","s"),N("second",15),le("s",K),le("ss",K,V),de(["s","ss"],be);var rn,sn=Me("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),N("millisecond",16),le("S",X,Z),le("SS",X,V),le("SSS",X,U),rn="SSSS";rn.length<=9;rn+="S")le(rn,ne);function ln(e,t){t[we]=w(1e3*("0."+e))}for(rn="S";rn.length<=9;rn+="S")de(rn,ln);var cn=Me("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var un=y.prototype;function hn(e){return e}un.add=Yt,un.calendar=function(e,t){var i=e||Mt(),o=Rt(i,this).startOf("day"),a=n.calendarFormat(this,o)||"sameElse",r=t&&(M(t[a])?t[a].call(this,i):t[a]);return this.format(r||this.localeData().calendar(a,this,Mt(i)))},un.clone=function(){return new y(this)},un.diff=function(e,t,n){var i,o,a;if(!this.isValid())return NaN;if(!(i=Rt(e,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),t=D(t)){case"year":a=Qt(this,i)/12;break;case"month":a=Qt(this,i);break;case"quarter":a=Qt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-o)/864e5;break;case"week":a=(this-i-o)/6048e5;break;default:a=this-i}return n?a:b(a)},un.endOf=function(e){return void 0===(e=D(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},un.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=q(this,e);return this.localeData().postformat(t)},un.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||Mt(e).isValid())?$t({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.fromNow=function(e){return this.from(Mt(),e)},un.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||Mt(e).isValid())?$t({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.toNow=function(e){return this.to(Mt(),e)},un.get=function(e){return M(this[e=D(e)])?this[e]():this},un.invalidAt=function(){return d(this).overflow},un.isAfter=function(e,t){var n=v(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(a(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},un.isBefore=function(e,t){var n=v(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(a(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},un.isBetween=function(e,t,n,i){return("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},un.isSame=function(e,t){var n,i=v(e)?e:Mt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=D(t||"millisecond"))?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},un.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},un.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},un.isValid=function(){return p(this)},un.lang=Xt,un.locale=Jt,un.localeData=en,un.max=Lt,un.min=Tt,un.parsingFlags=function(){return u({},d(this))},un.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:I[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=z(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(M(this[e=D(e)]))return this[e](t);return this},un.startOf=function(e){switch(e=D(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},un.subtract=Kt,un.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},un.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},un.toDate=function(){return new Date(this.valueOf())},un.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?q(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",q(n,"Z")):q(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},un.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+o)},un.toJSON=function(){return this.isValid()?this.toISOString():null},un.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},un.unix=function(){return Math.floor(this.valueOf()/1e3)},un.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},un.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},un.year=Pe,un.isLeapYear=function(){return Se(this.year())},un.weekYear=function(e){return nn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},un.isoWeekYear=function(e){return nn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},un.quarter=un.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},un.month=Ne,un.daysInMonth=function(){return Ee(this.year(),this.month())},un.week=un.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},un.isoWeek=un.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},un.weeksInYear=function(){var e=this.localeData()._week;return $e(this.year(),e.dow,e.doy)},un.isoWeeksInYear=function(){return $e(this.year(),1,4)},un.date=on,un.day=un.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},un.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},un.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},un.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},un.hour=un.hours=nt,un.minute=un.minutes=an,un.second=un.seconds=sn,un.millisecond=un.milliseconds=cn,un.utcOffset=function(e,t,i){var o,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=jt(ae,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(o=Ht(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),a!==e&&(!t||this._changeInProgress?Gt(this,$t(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Ht(this)},un.utc=function(e){return this.utcOffset(0,e)},un.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},un.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=jt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},un.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Mt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},un.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},un.isLocal=function(){return!!this.isValid()&&!this._isUTC},un.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},un.isUtc=Ft,un.isUTC=Ft,un.zoneAbbr=function(){return this._isUTC?"UTC":""},un.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},un.dates=k("dates accessor is deprecated. Use date instead.",on),un.months=k("months accessor is deprecated. Use month instead",Ne),un.years=k("years accessor is deprecated. Use year instead",Pe),un.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),un.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=Ct(e))._a){var t=e._isUTC?h(e._a):Mt(e._a);this._isDSTShifted=this.isValid()&&A(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var dn=L.prototype;function pn(e,t,n,i){var o=ut(),a=h().set(i,t);return o[n](a,e)}function fn(e,t,n){if(r(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");var i,o=[];for(i=0;i<12;i++)o[i]=pn(e,i,n,"month");return o}function mn(e,t,n,i){"boolean"==typeof e?(r(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,r(t)&&(n=t,t=void 0),t=t||"");var o,a=ut(),s=e?a._week.dow:0;if(null!=n)return pn(t,(n+s)%7,i,"day");var l=[];for(o=0;o<7;o++)l[o]=pn(t,(o+s)%7,i,"day");return l}dn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return M(i)?i.call(t,n):i},dn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},dn.invalidDate=function(){return this._invalidDate},dn.ordinal=function(e){return this._ordinal.replace("%d",e)},dn.preparse=hn,dn.postformat=hn,dn.relativeTime=function(e,t,n,i){var o=this._relativeTime[n];return M(o)?o(e,t,n,i):o.replace(/%d/i,e)},dn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)},dn.set=function(e){var t,n;for(n in e)M(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},dn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},dn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},dn.monthsParse=function(e,t,n){var i,o,a;if(this._monthsParseExact)return function(e,t,n){var i,o,a,r=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=h([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Ce.call(this._shortMonthsParse,r))?o:null:-1!==(o=Ce.call(this._longMonthsParse,r))?o:null:"MMM"===t?-1!==(o=Ce.call(this._shortMonthsParse,r))?o:-1!==(o=Ce.call(this._longMonthsParse,r))?o:null:-1!==(o=Ce.call(this._longMonthsParse,r))?o:-1!==(o=Ce.call(this._shortMonthsParse,r))?o:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=h([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},dn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},dn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Be),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},dn.week=function(e){return qe(e,this._week.dow,this._week.doy).week},dn.firstDayOfYear=function(){return this._week.doy},dn.firstDayOfWeek=function(){return this._week.dow},dn.weekdays=function(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:i(this._weekdays)?this._weekdays:this._weekdays.standalone},dn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},dn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},dn.weekdaysParse=function(e,t,n){var i,o,a;if(this._weekdaysParseExact)return function(e,t,n){var i,o,a,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=h([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Ce.call(this._weekdaysParse,r))?o:null:"ddd"===t?-1!==(o=Ce.call(this._shortWeekdaysParse,r))?o:null:-1!==(o=Ce.call(this._minWeekdaysParse,r))?o:null:"dddd"===t?-1!==(o=Ce.call(this._weekdaysParse,r))?o:-1!==(o=Ce.call(this._shortWeekdaysParse,r))?o:-1!==(o=Ce.call(this._minWeekdaysParse,r))?o:null:"ddd"===t?-1!==(o=Ce.call(this._shortWeekdaysParse,r))?o:-1!==(o=Ce.call(this._weekdaysParse,r))?o:-1!==(o=Ce.call(this._minWeekdaysParse,r))?o:null:-1!==(o=Ce.call(this._minWeekdaysParse,r))?o:-1!==(o=Ce.call(this._weekdaysParse,r))?o:-1!==(o=Ce.call(this._shortWeekdaysParse,r))?o:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=h([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},dn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ge),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},dn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ye),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},dn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ke),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},dn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},dn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},lt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=k("moment.lang is deprecated. Use moment.locale instead.",lt),n.langData=k("moment.langData is deprecated. Use moment.localeData instead.",ut);var gn=Math.abs;function _n(e,t,n,i){var o=$t(t,n);return e._milliseconds+=i*o._milliseconds,e._days+=i*o._days,e._months+=i*o._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}var An=wn("ms"),xn=wn("s"),kn=wn("m"),Sn=wn("h"),Cn=wn("d"),Pn=wn("w"),Mn=wn("M"),Tn=wn("y");function Ln(e){return function(){return this.isValid()?this._data[e]:NaN}}var En=Ln("milliseconds"),On=Ln("seconds"),Dn=Ln("minutes"),zn=Ln("hours"),In=Ln("days"),Nn=Ln("months"),Bn=Ln("years");var jn=Math.round,Rn={ss:44,s:45,m:45,h:22,d:26,M:11};var Hn=Math.abs;function Fn(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Hn(this._milliseconds)/1e3,i=Hn(this._days),o=Hn(this._months);e=b(n/60),t=b(e/60),n%=60,e%=60;var a=b(o/12),r=o%=12,s=i,l=t,c=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",p=Fn(this._months)!==Fn(h)?"-":"",f=Fn(this._days)!==Fn(h)?"-":"",m=Fn(this._milliseconds)!==Fn(h)?"-":"";return d+"P"+(a?p+a+"Y":"")+(r?p+r+"M":"")+(s?f+s+"D":"")+(l||c||u?"T":"")+(l?m+l+"H":"")+(c?m+c+"M":"")+(u?m+u+"S":"")}var qn=Dt.prototype;return qn.isValid=function(){return this._isValid},qn.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},qn.add=function(e,t){return _n(this,e,t,1)},qn.subtract=function(e,t){return _n(this,e,t,-1)},qn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=D(e))||"year"===e)return t=this._days+i/864e5,n=this._months+vn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},qn.asMilliseconds=An,qn.asSeconds=xn,qn.asMinutes=kn,qn.asHours=Sn,qn.asDays=Cn,qn.asWeeks=Pn,qn.asMonths=Mn,qn.asYears=Tn,qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},qn._bubble=function(){var e,t,n,i,o,a=this._milliseconds,r=this._days,s=this._months,l=this._data;return a>=0&&r>=0&&s>=0||a<=0&&r<=0&&s<=0||(a+=864e5*yn(bn(s)+r),r=0,s=0),l.milliseconds=a%1e3,e=b(a/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,r+=b(n/24),s+=o=b(vn(r)),r-=yn(bn(o)),i=b(s/12),s%=12,l.days=r,l.months=s,l.years=i,this},qn.clone=function(){return $t(this)},qn.get=function(e){return e=D(e),this.isValid()?this[e+"s"]():NaN},qn.milliseconds=En,qn.seconds=On,qn.minutes=Dn,qn.hours=zn,qn.days=In,qn.weeks=function(){return b(this.days()/7)},qn.months=Nn,qn.years=Bn,qn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=$t(e).abs(),o=jn(i.as("s")),a=jn(i.as("m")),r=jn(i.as("h")),s=jn(i.as("d")),l=jn(i.as("M")),c=jn(i.as("y")),u=o<=Rn.ss&&["s",o]||o<Rn.s&&["ss",o]||a<=1&&["m"]||a<Rn.m&&["mm",a]||r<=1&&["h"]||r<Rn.h&&["hh",r]||s<=1&&["d"]||s<Rn.d&&["dd",s]||l<=1&&["M"]||l<Rn.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,function(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},qn.toISOString=Wn,qn.toString=Wn,qn.toJSON=Wn,qn.locale=Jt,qn.localeData=en,qn.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),qn.lang=Xt,W("X",0,0,"unix"),W("x",0,0,"valueOf"),le("x",ie),le("X",/[+-]?\d+(\.\d{1,3})?/),de("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),de("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.22.2",e=Mt,n.fn=un,n.min=function(){return Et("isBefore",[].slice.call(arguments,0))},n.max=function(){return Et("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(e){return Mt(1e3*e)},n.months=function(e,t){return fn(e,t,"months")},n.isDate=s,n.locale=lt,n.invalid=f,n.duration=$t,n.isMoment=v,n.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},n.parseZone=function(){return Mt.apply(null,arguments).parseZone()},n.localeData=ut,n.isDuration=zt,n.monthsShort=function(e,t){return fn(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},n.defineLocale=ct,n.updateLocale=function(e,t){if(null!=t){var n,i,o=it;null!=(i=st(e))&&(o=i._config),(n=new L(t=T(o,t))).parentLocale=ot[e],ot[e]=n,lt(e)}else null!=ot[e]&&(null!=ot[e].parentLocale?ot[e]=ot[e].parentLocale:null!=ot[e]&&delete ot[e]);return ot[e]},n.locales=function(){return S(ot)},n.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},n.normalizeUnits=D,n.relativeTimeRounding=function(e){return void 0===e?jn:"function"==typeof e&&(jn=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Rn[e]&&(void 0===t?Rn[e]:(Rn[e]=t,"s"===e&&(Rn.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=un,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},n}),function(e,t){"use strict";"object"==typeof module&&module.exports?module.exports=t(require("moment")):"function"==typeof define&&define.amd?define(["moment"],t):t(e.moment)}(this,function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n={},i={},o={},a={},r={};e&&"string"==typeof e.version||L("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var s=e.version.split("."),l=+s[0],c=+s[1];function u(e){return e>96?e-87:e>64?e-29:e-48}function h(e){var t=0,n=e.split("."),i=n[0],o=n[1]||"",a=1,r=0,s=1;for(45===e.charCodeAt(0)&&(t=1,s=-1);t<i.length;t++)r=60*r+u(i.charCodeAt(t));for(t=0;t<o.length;t++)a/=60,r+=u(o.charCodeAt(t))*a;return r*s}function d(e){for(var t=0;t<e.length;t++)e[t]=h(e[t])}function p(e,t){var n,i=[];for(n=0;n<t.length;n++)i[n]=e[t[n]];return i}function f(e){var t=e.split("|"),n=t[2].split(" "),i=t[3].split(""),o=t[4].split(" ");return d(n),d(i),d(o),function(e,t){for(var n=0;n<t;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}(o,i.length),{name:t[0],abbrs:p(t[1].split(" "),i),offsets:p(n,i),untils:o,population:0|t[5]}}function m(e){e&&this._set(f(e))}function g(e,t){this.name=e,this.zones=t}function _(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);"GMT"===(n=n&&n[0]?(n=n[0].match(/[A-Z]/g))?n.join(""):void 0:(n=t.match(/[A-Z]{3,5}/g))?n[0]:void 0)&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function y(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function v(e,t){for(var n,i;i=6e4*((t.at-e.at)/12e4|0);)(n=new _(new Date(e.at+i))).offset===e.offset?e=n:t=n;return e}function b(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:e.zone.population!==t.zone.population?t.zone.population-e.zone.population:t.zone.name.localeCompare(e.zone.name)}function w(e,t){var n,i;for(d(t),n=0;n<t.length;n++)i=t[n],r[i]=r[i]||{},r[i][e]=!0}function A(e){var t,n,i,o=e.length,s={},l=[];for(t=0;t<o;t++)for(n in i=r[e[t].offset]||{})i.hasOwnProperty(n)&&(s[n]=!0);for(t in s)s.hasOwnProperty(t)&&l.push(a[t]);return l}function x(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=a[k(e)];if(t)return t;L("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,i,o,r=function(){var e,t,n,i=(new Date).getFullYear()-2,o=new _(new Date(i,0,1)),a=[o];for(n=1;n<48;n++)(t=new _(new Date(i,n,1))).offset!==o.offset&&(e=v(o,t),a.push(e),a.push(new _(new Date(e.at+6e4)))),o=t;for(n=0;n<4;n++)a.push(new _(new Date(i+n,0,1))),a.push(new _(new Date(i+n,6,1)));return a}(),s=r.length,l=A(r),c=[];for(i=0;i<l.length;i++){for(n=new y(C(l[i]),s),o=0;o<s;o++)n.scoreOffsetAt(r[o]);c.push(n)}return c.sort(b),c.length>0?c[0].zone.name:void 0}function k(e){return(e||"").toLowerCase().replace(/\//g,"_")}function S(e){var t,i,o,r;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)r=k(i=(o=e[t].split("|"))[0]),n[r]=e[t],a[r]=i,w(r,o[2].split(" "))}function C(e,t){e=k(e);var o,r=n[e];return r instanceof m?r:"string"==typeof r?(r=new m(r),n[e]=r,r):i[e]&&t!==C&&(o=C(i[e],C))?((r=n[e]=new m)._set(o),r.name=a[e],r):null}function P(e){var t,n,o,r;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)o=k((n=e[t].split("|"))[0]),r=k(n[1]),i[o]=r,a[o]=n[0],i[r]=o,a[r]=n[1]}function M(e){S(e.zones),P(e.links),function(e){var t,n,i,a;if(e&&e.length)for(t=0;t<e.length;t++)n=(a=e[t].split("|"))[0].toUpperCase(),i=a[1].split(" "),o[n]=new g(n,i)}(e.countries),E.dataVersion=e.version}function T(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function L(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function E(t){var n=Array.prototype.slice.call(arguments,0,-1),i=arguments[arguments.length-1],o=C(i),a=e.utc.apply(null,n);return o&&!e.isMoment(t)&&T(a)&&a.add(o.parse(a),"minutes"),a.tz(i),a}(l<2||2===l&&c<6)&&L("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),m.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,i=this.untils;for(t=0;t<i.length;t++)if(n<i[t])return t},countries:function(){var e=this.name;return Object.keys(o).filter(function(t){return-1!==o[t].zones.indexOf(e)})},parse:function(e){var t,n,i,o,a=+e,r=this.offsets,s=this.untils,l=s.length-1;for(o=0;o<l;o++)if(t=r[o],n=r[o+1],i=r[o?o-1:o],t<n&&E.moveAmbiguousForward?t=n:t>i&&E.moveInvalidForward&&(t=i),a<s[o]-6e4*t)return r[o];return r[l]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return L("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},y.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},E.version="0.5.43",E.dataVersion="",E._zones=n,E._links=i,E._names=a,E._countries=o,E.add=S,E.link=P,E.load=M,E.zone=C,E.zoneExists=function e(t){return e.didShowError||(e.didShowError=!0,L("moment.tz.zoneExists('"+t+"') has been deprecated in favor of !moment.tz.zone('"+t+"')")),!!C(t)},E.guess=function(e){return t&&!e||(t=x()),t},E.names=function(){var e,t=[];for(e in a)a.hasOwnProperty(e)&&(n[e]||n[i[e]])&&a[e]&&t.push(a[e]);return t.sort()},E.Zone=m,E.unpack=f,E.unpackBase60=h,E.needsOffset=T,E.moveInvalidForward=!0,E.moveAmbiguousForward=!1,E.countries=function(){return Object.keys(o)},E.zonesForCountry=function(e,t){var n;if(n=(n=e).toUpperCase(),!(e=o[n]||null))return null;var i=e.zones.sort();return t?i.map(function(e){return{name:e,offset:C(e).utcOffset(new Date)}}):i};var O,D=e.fn;function z(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function I(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=E,e.defaultZone=null,e.updateOffset=function(t,n){var i,o=e.defaultZone;if(void 0===t._z&&(o&&T(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z)if(i=t._z.utcOffset(t),Math.abs(i)<16&&(i/=60),void 0!==t.utcOffset){var a=t._z;t.utcOffset(-i,n),t._z=a}else t.zone(i,n)},D.tz=function(t,n){if(t){if("string"!=typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=C(t),this._z?e.updateOffset(this,n):L("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},D.zoneName=z(D.zoneName),D.zoneAbbr=z(D.zoneAbbr),D.utc=I(D.utc),D.local=I(D.local),D.utcOffset=(O=D.utcOffset,function(){return arguments.length>0&&(this._z=null),O.apply(this,arguments)}),e.tz.setDefault=function(t){return(l<2||2===l&&c<9)&&L("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?C(t):null,e};var N=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(N)?(N.push("_z"),N.push("_a")):N&&(N._z=null),M({version:"2023c",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Nairobi|EAT|-30|0||47e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Khartoum|CAT|-20|0||51e5","Africa/Cairo|EET EEST|-20 -30|0101010101010|29NW0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0|15e6","Africa/Casablanca|+00 +01|0 -10|010101010101010101010101|1Vq20 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Juba|EAT CAT|-30 -20|01|24nx0|","Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00|","Africa/Tripoli|EET|-20|0||11e5","America/Adak|HST HDT|a0 90|01010101010101010101010|1VkA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1Vkz0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Fortaleza|-03|30|0||34e5","America/Asuncion|-03 -04|30 40|01010101010101010101010|1Vq30 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5","America/Panama|EST|50|0||15e5","America/Mexico_City|CST CDT|60 50|01010101010|1VsU0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Managua|CST|60|0||22e5","America/Caracas|-04|40|0||29e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|-03 -04|30 40|0101|1Vc30 1HB0 FX0|77e4","America/Chicago|CST CDT|60 50|01010101010101010101010|1Vkw0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT CST|70 60 60|01010101012|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Ciudad_Juarez|MST MDT CST|70 60 60|010101010120101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|","America/Phoenix|MST|70|0||42e5","America/Whitehorse|PST PDT MST|80 70 70|0101012|1Vky0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/New_York|EST EDT|50 40|01010101010101010101010|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1Vky0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6","America/Halifax|AST ADT|40 30|01010101010101010101010|1Vku0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02 -01|30 20 10|0101010101012121212121|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 2so0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|17e3","America/Grand_Turk|AST EDT EST|40 40 50|01212121212121212121212|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|37e2","America/Havana|CST CDT|50 40|01010101010101010101010|1Vkt0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5","America/Mazatlan|MST MDT|70 60|01010101010|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|44e4","America/Metlakatla|AKST AKDT PST|90 80 80|012010101010101010101010|1Vkz0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2","America/Miquelon|-03 -02|30 20|01010101010101010101010|1Vkt0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2","America/Noronha|-02|20|0||30e2","America/Ojinaga|MST MDT CST CDT|70 60 60 50|01010101012323232323232|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e3","America/Santiago|-03 -04|30 40|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|62e5","America/Sao_Paulo|-02 -03|20 30|0101|1Vc20 1HB0 FX0|20e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1Vktu 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|0101010|1Vkh0 1o30 14k0 1kr0 12l0 1o01|10","Asia/Bangkok|+07|-70|0||15e6","Asia/Vladivostok|+10|-a0|0||60e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1VsE0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Europe/Istanbul|+03|-30|0||13e6","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40","Asia/Dhaka|+06|-60|0||16e6","Asia/Amman|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Dubai|+04|-40|0||39e5","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1VpW0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5","Asia/Kuala_Lumpur|+08|-80|0||71e5","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+09|-90|0||33e4","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1Vpz0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 17d0 1in0 14p0 1lb0 11B0 1nX0 11B0 1qL0 WN0 1qL0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1Vpc0 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Sakhalin|+11|-b0|0||58e4","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PST|-80|0||24e6","Asia/Pyongyang|KST KST|-8u -90|01|1VGf0|29e5","Asia/Qyzylorda|+06 +05|-60 -50|01|1Xei0|73e4","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Seoul|KST|-90|0||23e6","Asia/Tehran|+0330 +0430|-3u -4u|01010101010|1VoIu 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1VsEu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1VsD0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5","Etc/GMT-1|+01|-10|0||","Pacific/Tongatapu|+13|-d0|0||75e3","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0||","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0||","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0||","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/UTC|UTC|0|0||","Europe/London|GMT BST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1Vq00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4","Europe/Moscow|MSK|-30|0||16e6","Europe/Volgograd|MSK +04|-30 -40|010|1WQL0 5gn0|10e5","Pacific/Honolulu|HST|a0|0||37e4","MET|MET MEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01010101|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Fiji|+13 +12|-d0 -c0|01010101|1UVO0 1VA0 s00 20o0 pc0 2hc0 bc0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+11 +12|-b0 -c0|01010101010101010101|219P0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|25e4"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Blantyre","Africa/Khartoum|Africa/Bujumbura","Africa/Khartoum|Africa/Gaborone","Africa/Khartoum|Africa/Harare","Africa/Khartoum|Africa/Kigali","Africa/Khartoum|Africa/Lubumbashi","Africa/Khartoum|Africa/Lusaka","Africa/Khartoum|Africa/Maputo","Africa/Khartoum|Africa/Windhoek","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Europe/Kaliningrad","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Campo_Grande|America/Cuiaba","America/Caracas|America/Boa_Vista","America/Caracas|America/Guyana","America/Caracas|America/La_Paz","America/Caracas|America/Manaus","America/Caracas|America/Porto_Velho","America/Caracas|Brazil/West","America/Caracas|Etc/GMT+4","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Araguaina","America/Fortaleza|America/Argentina/Buenos_Aires","America/Fortaleza|America/Argentina/Catamarca","America/Fortaleza|America/Argentina/ComodRivadavia","America/Fortaleza|America/Argentina/Cordoba","America/Fortaleza|America/Argentina/Jujuy","America/Fortaleza|America/Argentina/La_Rioja","America/Fortaleza|America/Argentina/Mendoza","America/Fortaleza|America/Argentina/Rio_Gallegos","America/Fortaleza|America/Argentina/Salta","America/Fortaleza|America/Argentina/San_Juan","America/Fortaleza|America/Argentina/San_Luis","America/Fortaleza|America/Argentina/Tucuman","America/Fortaleza|America/Argentina/Ushuaia","America/Fortaleza|America/Bahia","America/Fortaleza|America/Belem","America/Fortaleza|America/Buenos_Aires","America/Fortaleza|America/Catamarca","America/Fortaleza|America/Cayenne","America/Fortaleza|America/Cordoba","America/Fortaleza|America/Jujuy","America/Fortaleza|America/Maceio","America/Fortaleza|America/Mendoza","America/Fortaleza|America/Montevideo","America/Fortaleza|America/Paramaribo","America/Fortaleza|America/Punta_Arenas","America/Fortaleza|America/Recife","America/Fortaleza|America/Rosario","America/Fortaleza|America/Santarem","America/Fortaleza|Antarctica/Palmer","America/Fortaleza|Antarctica/Rothera","America/Fortaleza|Atlantic/Stanley","America/Fortaleza|Etc/GMT+3","America/Godthab|America/Nuuk","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Lima|America/Bogota","America/Lima|America/Eirunepe","America/Lima|America/Guayaquil","America/Lima|America/Porto_Acre","America/Lima|America/Rio_Branco","America/Lima|Brazil/Acre","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/Saskatchewan","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Port-au-Prince","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cancun","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Fort_Nelson","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Whitehorse|America/Dawson","America/Whitehorse|Canada/Yukon","Asia/Bangkok|Antarctica/Davis","Asia/Bangkok|Asia/Barnaul","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Hovd","Asia/Bangkok|Asia/Krasnoyarsk","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Novosibirsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Tomsk","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Chita|Asia/Dili","Asia/Chita|Asia/Khandyga","Asia/Chita|Asia/Yakutsk","Asia/Chita|Etc/GMT-9","Asia/Chita|Pacific/Palau","Asia/Dhaka|Antarctica/Vostok","Asia/Dhaka|Asia/Almaty","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Omsk","Asia/Dhaka|Asia/Qostanay","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dubai|Asia/Baku","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Astrakhan","Asia/Dubai|Europe/Samara","Asia/Dubai|Europe/Saratov","Asia/Dubai|Europe/Ulyanovsk","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Brunei","Asia/Kuala_Lumpur|Asia/Choibalsan","Asia/Kuala_Lumpur|Asia/Irkutsk","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Asia/Ulaanbaatar","Asia/Kuala_Lumpur|Asia/Ulan_Bator","Asia/Kuala_Lumpur|Etc/GMT-8","Asia/Kuala_Lumpur|Singapore","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Sakhalin|Asia/Magadan","Asia/Sakhalin|Asia/Srednekolymsk","Asia/Sakhalin|Etc/GMT-11","Asia/Sakhalin|Pacific/Bougainville","Asia/Sakhalin|Pacific/Efate","Asia/Sakhalin|Pacific/Guadalcanal","Asia/Sakhalin|Pacific/Kosrae","Asia/Sakhalin|Pacific/Noumea","Asia/Sakhalin|Pacific/Pohnpei","Asia/Sakhalin|Pacific/Ponape","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Asia/Yekaterinburg","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Vladivostok|Antarctica/DumontDUrville","Asia/Vladivostok|Asia/Ust-Nera","Asia/Vladivostok|Etc/GMT-10","Asia/Vladivostok|Pacific/Chuuk","Asia/Vladivostok|Pacific/Port_Moresby","Asia/Vladivostok|Pacific/Truk","Asia/Vladivostok|Pacific/Yap","Atlantic/Azores|America/Scoresbysund","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Antarctica/Macquarie","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Athens|Asia/Famagusta","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Kyiv","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Antarctica/Syowa","Europe/Istanbul|Asia/Aden","Europe/Istanbul|Asia/Baghdad","Europe/Istanbul|Asia/Bahrain","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Asia/Kuwait","Europe/Istanbul|Asia/Qatar","Europe/Istanbul|Asia/Riyadh","Europe/Istanbul|Etc/GMT-3","Europe/Istanbul|Europe/Minsk","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|Europe/Kirov","Europe/Moscow|Europe/Simferopol","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga","Pacific/Tongatapu|Etc/GMT-13","Pacific/Tongatapu|Pacific/Enderbury","Pacific/Tongatapu|Pacific/Fakaofo","Pacific/Tongatapu|Pacific/Kanton"],countries:["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Puerto_Rico America/Antigua","AI|America/Puerto_Rico America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Asia/Urumqi Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa Antarctica/Vostok","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Puerto_Rico America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Puerto_Rico America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Kuching Asia/Brunei","BO|America/La_Paz","BQ|America/Puerto_Rico America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Toronto America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Inuvik America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston","CC|Asia/Yangon Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Puerto_Rico America/Curacao","CX|Asia/Bangkok Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Berlin Europe/Copenhagen","DM|America/Puerto_Rico America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Puerto_Rico America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Abidjan Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Puerto_Rico America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Africa/Abidjan Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Puerto_Rico America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Puerto_Rico America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Brussels Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Paris Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Puerto_Rico America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Puerto_Rico America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana","MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Brussels Europe/Amsterdam","NO|Europe/Berlin Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Asia/Dubai Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Asia/Dubai Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Berlin Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Berlin Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Puerto_Rico America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Asia/Dubai Indian/Maldives Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Puerto_Rico America/Port_of_Spain","TV|Pacific/Tarawa Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kyiv","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Puerto_Rico America/St_Vincent","VE|America/Caracas","VG|America/Puerto_Rico America/Tortola","VI|America/Puerto_Rico America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Tarawa Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}),e}),CroutonLocalization.prototype.getDayOfTheWeekWord=function(e){return this.words[this.language].days_of_the_week[e]},CroutonLocalization.prototype.getWord=function(e){const t=this.words[this.language][e.toLowerCase()];return void 0===t?e:t},CroutonLocalization.prototype.getVenueType=function(e){return this.words[this.language].venue_type_choices[e]},CroutonLocalization.prototype.getServiceBodyType=function(e){return this.words[this.language].service_body_types[e]},this.hbs_Crouton=this.hbs_Crouton||{},this.hbs_Crouton.templates=this.hbs_Crouton.templates||{},this.hbs_Crouton.templates.byday=Handlebars.template({1:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <tbody class="bmlt-data-rows h-'+e.escapeExpression(e.lambda(null!=t?r(t,"day"):t,t))+'">\n'+(null!=(a=r(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?r(t,"hide"):t,{name:"unless",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:5,column:3},end:{line:11,column:14}}}))?a:"")+"\n"+(null!=(a=e.invokePartial(r(i,"meetings"),null!=t?r(t,"meetings"):t,{name:"meetings",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:"")+" </tbody>\n"},2:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=(r(n,"greaterThan")||t&&r(t,"greaterThan")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(a=null!=t?r(t,"meetings"):t)?r(a,"length"):a,0,{name:"greaterThan",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:6,column:4},end:{line:10,column:20}}}))?a:""},3:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t\t<tr class="meeting-header">\n\t\t\t\t\t\t<td colspan="3" '+(null!=(a=(r(n,"getWord")||t&&r(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:8,column:22},end:{line:8,column:51}}}))?a:"")+">"+e.escapeExpression(e.lambda(null!=t?r(t,"day"):t,t))+"</td>\n\t\t\t\t\t</tr>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a;return"<div id=\"bmlt-table-div\">\n <table class='bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack'>\n"+(null!=(a=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:8},end:{line:15,column:17}}}))?a:"")+" </table>\n</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.byfield=Handlebars.template({1:function(e,t,n,i,o){var a,r,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t<tr class="meeting-header" '+(null!=(a=(c(n,"getWord")||t&&c(t,"getWord")||l).call(s,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:5,column:30},end:{line:5,column:59}}}))?a:"")+'>\n\t\t\t\t<td colspan="3">'+e.escapeExpression("function"==typeof(r=null!=(r=c(n,"key")||o&&c(o,"key"))?r:l)?r.call(s,{name:"key",hash:{},data:o,loc:{start:{line:6,column:20},end:{line:6,column:28}}}):r)+"</td>\n\t\t\t</tr>\n"+(null!=(a=e.invokePartial(c(i,"meetings"),t,{name:"meetings",data:o,indent:"\t\t\t",helpers:n,partials:i,decorators:e.decorators}))?a:"")},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a;return'<div id="bmlt-table-div">\n\t<table class=\'bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack\'>\n\t\t<tbody class="byfield.hbs">\n'+(null!=(a=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:4,column:2},end:{line:9,column:11}}}))?a:"")+"\t\t</tbody>\n\t</table>\n</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.formatPopup=Handlebars.template({1:function(e,t,n,i,o){var a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <tr>\n <td class='formats_key'>"+l("function"==typeof(a=null!=(a=c(n,"key")||(null!=t?c(t,"key"):t))?a:s)?a.call(r,{name:"key",hash:{},data:o,loc:{start:{line:4,column:36},end:{line:4,column:43}}}):a)+"</td>\n <td class='formats_name'>"+l("function"==typeof(a=null!=(a=c(n,"name")||(null!=t?c(t,"name"):t))?a:s)?a.call(r,{name:"name",hash:{},data:o,loc:{start:{line:5,column:37},end:{line:5,column:45}}}):a)+"</td>\n <td class='formats_description'>"+l("function"==typeof(a=null!=(a=c(n,"description")||(null!=t?c(t,"description"):t))?a:s)?a.call(r,{name:"description",hash:{},data:o,loc:{start:{line:6,column:44},end:{line:6,column:59}}}):a)+"</td>\n </tr>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<table class='bmlt_a_format table-bordered'>\n"+(null!=(a=r(n,"each").call(null!=t?t:e.nullContext||{},null!=t?r(t,"formats_expanded"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:4},end:{line:8,column:13}}}))?a:"")+"</table>"},useData:!0}),this.hbs_Crouton.templates.header=Handlebars.template({1:function(e,t,n,i,o,a,r){var s,l=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(s=c(n,"if").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"include_weekday_button"):s,{name:"if",hash:{},fn:e.program(2,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:3,column:4},end:{line:5,column:11}}}))?s:"")+(null!=(s=c(n,"each").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"button_filters"):s,{name:"each",hash:{},fn:e.program(4,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:6,column:4},end:{line:8,column:13}}}))?s:"")+(null!=(s=c(n,"each").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"button_format_filters"):s,{name:"each",hash:{},fn:e.program(6,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:9,column:4},end:{line:11,column:13}}}))?s:"")+(null!=(s=c(n,"if").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"map_page"):s,{name:"if",hash:{},fn:e.program(8,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:12,column:4},end:{line:15,column:11}}}))?s:"")+"\n"+(null!=(s=c(n,"each").call(l,null!=t?c(t,"dropdownData"):t,{name:"each",hash:{},fn:e.program(10,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:17,column:4},end:{line:26,column:13}}}))?s:"")+" </div>\n"},2:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-button-container"><a id="day" class="btn btn-primary btn-sm">'+e.escapeExpression((a(n,"getWord")||t&&a(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"weekday",{name:"getWord",hash:{},data:o,loc:{start:{line:4,column:86},end:{line:4,column:107}}}))+"</a></div>\n"},4:function(e,t,n,i,o){var a=e.lambda,r=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-button-container"><a id="filterButton_'+r(a(null!=t?s(t,"field"):t,t))+'" data-field="'+r(a(null!=t?s(t,"field"):t,t))+'" class="filterButton filterButtonLogic btn btn-primary btn-sm">'+r((s(n,"getWord")||t&&s(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?s(t,"title"):t,{name:"getWord",hash:{},data:o,loc:{start:{line:7,column:169},end:{line:7,column:191}}}))+"</a></div>\n"},6:function(e,t,n,i,o){var a=e.lambda,r=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-button-container"><a id="filterButton_'+r(a(null!=t?s(t,"field"):t,t))+'" data-field="'+r(a(null!=t?s(t,"field"):t,t))+'" class="filterButton filterButtonLogic btn btn-primary btn-sm">'+r(a(null!=t?s(t,"title"):t,t))+"</a></div>\n"},8:function(e,t,n,i,o){var a=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-button-container"><a id="filterButton_embeddedMapPage" data-field="embeddedMapPage" class="filterButton displayTypeLogic btn btn-primary btn-sm">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"map",{name:"getWord",hash:{},data:o,loc:{start:{line:13,column:170},end:{line:13,column:187}}}))+'</a></div>\n <div class="bmlt-button-container"><a id="displayTypeButton_tablePages" data-field="tablePages" class="filterButton displayTypeLogic btn btn-primary btn-sm hide">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"tabular",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:170},end:{line:14,column:191}}}))+"</a></div>\n"},10:function(e,t,n,i,o,a,r){var s,l,c=e.escapeExpression,u=null!=t?t:e.nullContext||{},h=e.hooks.helperMissing,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t<div class="bmlt-dropdown-container">\n\t\t<select class="crouton-select filter-dropdown" style="width:'+c(e.lambda(null!=(s=null!=r[1]?d(r[1],"config"):r[1])?d(s,"dropdown_width"):s,t))+';" data-placeholder="'+c("function"==typeof(l=null!=(l=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:19,column:116},end:{line:19,column:131}}}):l)+'" data-pointer="'+c("function"==typeof(l=null!=(l=d(n,"pointer")||(null!=t?d(t,"pointer"):t))?l:h)?l.call(u,{name:"pointer",hash:{},data:o,loc:{start:{line:19,column:147},end:{line:19,column:158}}}):l)+'" id='+c("function"==typeof(l=null!=(l=d(n,"elementId")||(null!=t?d(t,"elementId"):t))?l:h)?l.call(u,{name:"elementId",hash:{},data:o,loc:{start:{line:19,column:163},end:{line:19,column:176}}}):l)+'>\n\t\t <option value="a-">'+c((d(n,"getWord")||t&&d(t,"getWord")||h).call(u,"all",{name:"getWord",hash:{},data:o,loc:{start:{line:20,column:25},end:{line:20,column:42}}}))+" "+c("function"==typeof(l=null!=(l=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:20,column:43},end:{line:20,column:58}}}):l)+"</option>\n"+(null!=(s=d(n,"each").call(u,(d(n,"call")||t&&d(t,"call")||h).call(u,null!=t?d(t,"uniqueData"):t,null!=(s=null!=r[1]?d(r[1],"meetings"):r[1])?d(s,"meetingData"):s,{name:"call",hash:{},data:o,loc:{start:{line:21,column:14},end:{line:21,column:55}}}),{name:"each",hash:{},fn:e.program(11,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:21,column:6},end:{line:23,column:15}}}))?s:"")+"\t\t</select>\n\t</div>\n"},11:function(e,t,n,i,o,a,r){var s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t <option value="a-'+c((u(n,"call")||t&&u(t,"call")||l).call(s,null!=r[1]?u(r[1],"objectPointer"):r[1],t,{name:"call",hash:{},data:o,loc:{start:{line:22,column:24},end:{line:22,column:54}}}))+'">'+c((u(n,"call")||t&&u(t,"call")||l).call(s,null!=r[1]?u(r[1],"optionName"):r[1],t,{name:"call",hash:{},data:o,loc:{start:{line:22,column:56},end:{line:22,column:83}}}))+"</option>\n"},13:function(e,t,n,i,o){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=(s(n,"ifEquals")||t&&s(t,"ifEquals")||e.hooks.helperMissing).call(r,null!=(a=null!=t?s(t,"config"):t)?s(a,"view_by"):a,"weekdays",{name:"ifEquals",hash:{},fn:e.program(14,o,0),inverse:e.program(16,o,0),data:o,loc:{start:{line:31,column:4},end:{line:35,column:17}}}))?a:"")+' <ul class="nav nav-tabs">\n'+(null!=(a=s(n,"each").call(r,null!=(a=null!=t?s(t,"config"):t)?s(a,"day_sequence"):a,{name:"each",hash:{},fn:e.program(18,o,0),inverse:e.noop,data:o,loc:{start:{line:37,column:12},end:{line:39,column:21}}}))?a:"")+" </ul>\n </div>\n"},14:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-page show" id="nav-days" '+(null!=(a=(r(n,"getWord")||t&&r(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"css-floatDirection",{name:"getWord",hash:{},data:o,loc:{start:{line:32,column:50},end:{line:32,column:84}}}))?a:"")+">\n"},16:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-page hide" id="nav-days" '+(null!=(a=(r(n,"getWord")||t&&r(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"css-floatDirection",{name:"getWord",hash:{},data:o,loc:{start:{line:34,column:50},end:{line:34,column:84}}}))?a:"")+">\n"},18:function(e,t,n,i,o){var a=e.escapeExpression,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <li><a href="#tab'+a(e.lambda(t,t))+'" data-toggle="tab">'+a((r(n,"getDayOfTheWeek")||t&&r(t,"getDayOfTheWeek")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"getDayOfTheWeek",hash:{},data:o,loc:{start:{line:38,column:61},end:{line:38,column:85}}}))+"</a></li>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,a,r){var s,l=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((c(n,"startup")||t&&c(t,"startup")||e.hooks.helperMissing).call(l,t,{name:"startup",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:16}}}))+"\n"+(null!=(s=c(n,"if").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"header"):s,{name:"if",hash:{},fn:e.program(1,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:2,column:0},end:{line:28,column:7}}}))?s:"")+"\n"+(null!=(s=c(n,"if").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"has_tabs"):s,{name:"if",hash:{},fn:e.program(13,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:30,column:0},end:{line:42,column:7}}}))?s:"")},useData:!0,useDepths:!0}),this.hbs_Crouton.templates.main=Handlebars.template({1:function(e,t,n,i,o){var a,r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t<div id="byfield_'+e.escapeExpression("function"==typeof(r=null!=(r=s(n,"key")||o&&s(o,"key"))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"key",hash:{},data:o,loc:{start:{line:6,column:19},end:{line:6,column:29}}}):r)+'" class="bmlt-page hide" >\n'+(null!=(a=e.invokePartial(s(i,"byfields"),t,{name:"byfields",data:o,indent:"\t\t\t",helpers:n,partials:i,decorators:e.decorators}))?a:"")+"\t\t</div>\n"},3:function(e,t,n,i,o){var a,r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t<div id="byfield_'+e.escapeExpression("function"==typeof(r=null!=(r=s(n,"key")||o&&s(o,"key"))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"key",hash:{},data:o,loc:{start:{line:11,column:19},end:{line:11,column:29}}}):r)+'" class="bmlt-page hide">\n'+(null!=(a=e.invokePartial(s(i,"byfields"),t,{name:"byfields",data:o,indent:"\t\t\t",helpers:n,partials:i,decorators:e.decorators}))?a:"")+"\t\t</div>\n"},5:function(e,t,n,i,o){return' \t<div id="byfield_embeddedMapPage" class="bmlt-map bmlt-page hide">\n\t\t</div>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="bmlt-tabs-table">\n <div id="bmlt-header" class="bmlt-header hide" '+(null!=(a=(s(n,"getWord")||t&&s(t,"getWord")||e.hooks.helperMissing).call(r,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:51},end:{line:2,column:80}}}))?a:"")+">\n"+(null!=(a=e.invokePartial(s(i,"header"),t,{name:"header",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:"")+" </div>\n"+(null!=(a=s(n,"each").call(r,null!=(a=null!=t?s(t,"meetings"):t)?s(a,"buttonFilters"):a,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:5,column:1},end:{line:9,column:10}}}))?a:"")+(null!=(a=s(n,"each").call(r,null!=(a=null!=t?s(t,"meetings"):t)?s(a,"buttonFormatFilters"):a,{name:"each",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:10,column:4},end:{line:14,column:10}}}))?a:"")+(null!=(a=s(n,"if").call(r,null!=(a=null!=t?s(t,"config"):t)?s(a,"map_page"):a,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:15,column:4},end:{line:18,column:11}}}))?a:"")+' <div id="byday" class="bmlt-page hide">\n'+(null!=(a=e.invokePartial(s(i,"bydays"),null!=(a=null!=t?s(t,"meetings"):t)?s(a,"bydays"):a,{name:"bydays",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:"")+' </div>\n <div id="tabs-content" class="bmlt-page">\n'+(null!=(a=e.invokePartial(s(i,"weekdays"),null!=(a=null!=t?s(t,"meetings"):t)?s(a,"weekdays"):a,{name:"weekdays",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:"")+" </div>\n"+(null!=(a=e.invokePartial(s(i,"meetingCountTemplate"),t,{name:"meetingCountTemplate",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:"")+"</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.mapMenu=Handlebars.template({1:function(e,t,n,i,o,a,r){var s,l,c=e.escapeExpression,u=null!=t?t:e.nullContext||{},h=e.hooks.helperMissing,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t <div class="bmlt-dropdown-container">\n\t\t <select class="crouton-select filter-dropdown" style="width:'+c(e.lambda(null!=(s=null!=r[1]?d(r[1],"config"):r[1])?d(s,"dropdown_width"):s,t))+';" data-placeholder="'+c("function"==typeof(l=null!=(l=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:17,column:124},end:{line:17,column:139}}}):l)+'" data-pointer="'+c("function"==typeof(l=null!=(l=d(n,"pointer")||(null!=t?d(t,"pointer"):t))?l:h)?l.call(u,{name:"pointer",hash:{},data:o,loc:{start:{line:17,column:155},end:{line:17,column:166}}}):l)+'" id='+c("function"==typeof(l=null!=(l=d(n,"elementId")||(null!=t?d(t,"elementId"):t))?l:h)?l.call(u,{name:"elementId",hash:{},data:o,loc:{start:{line:17,column:171},end:{line:17,column:184}}}):l)+'>\n\t\t <option value="a-">'+c((d(n,"getWord")||t&&d(t,"getWord")||h).call(u,"all",{name:"getWord",hash:{},data:o,loc:{start:{line:18,column:33},end:{line:18,column:50}}}))+" "+c("function"==typeof(l=null!=(l=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:18,column:51},end:{line:18,column:66}}}):l)+"</option>\n"+(null!=(s=d(n,"each").call(u,(d(n,"call")||t&&d(t,"call")||h).call(u,null!=t?d(t,"uniqueData"):t,null!=(s=null!=r[1]?d(r[1],"meetings"):r[1])?d(s,"meetingData"):s,{name:"call",hash:{},data:o,loc:{start:{line:19,column:22},end:{line:19,column:63}}}),{name:"each",hash:{},fn:e.program(2,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:19,column:14},end:{line:21,column:23}}}))?s:"")+"\t\t </select>\n\t </div>\n"},2:function(e,t,n,i,o,a,r){var s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t <option value="a-'+c((u(n,"call")||t&&u(t,"call")||l).call(s,null!=r[1]?u(r[1],"objectPointer"):r[1],t,{name:"call",hash:{},data:o,loc:{start:{line:20,column:32},end:{line:20,column:62}}}))+'">'+c((u(n,"call")||t&&u(t,"call")||l).call(s,null!=r[1]?u(r[1],"optionName"):r[1],t,{name:"call",hash:{},data:o,loc:{start:{line:20,column:64},end:{line:20,column:91}}}))+"</option>\n"},4:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=e.invokePartial(r(i,"meetings"),null!=t?r(t,"meetings"):t,{name:"meetings",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,a,r){var s,l=e.escapeExpression,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<button id="map-menu-button" class="menu-button" title="Erweiterte Suche" style="width: 95px;">\n <span class="menu-button-childSmall" style="background-image: url(\''+l(e.lambda(null!=t?h(t,"imageDir"):t,t))+'/menu-32.png\');"></span>\n <span class="menu-button-label">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Menu",{name:"getWord",hash:{},data:o,loc:{start:{line:3,column:36},end:{line:3,column:54}}}))+'</span>\n</button>\n <div id="map-menu-dropdown" class="menu-dropdown">\n <button id="lookupLocation" style="display: block;">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Show meetings near...",{name:"getWord",hash:{},data:o,loc:{start:{line:6,column:60},end:{line:6,column:95}}}))+'</button>\n <button id="nearbyMeetings" style="display: block;">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"near_me",{name:"getWord",hash:{},data:o,loc:{start:{line:7,column:60},end:{line:7,column:81}}}))+'</button>\n <button id="filterMeetings" style="display: block;">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Filter meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:8,column:60},end:{line:8,column:89}}}))+'</button>\n <button id="showAsTable" style="display: block;">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"visible meeting list",{name:"getWord",hash:{},data:o,loc:{start:{line:9,column:57},end:{line:9,column:91}}}))+'</button>\n <button id="fullscreenMode" style="display: block;">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Toggle fullscreen mode",{name:"getWord",hash:{},data:o,loc:{start:{line:10,column:60},end:{line:10,column:96}}}))+'</button>\n </div>\n<div id="filter_modal" class="modal" style="display: none;">\n\t<div class="modal-content">\n <span class="modal-title">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Filter meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:34},end:{line:14,column:63}}}))+'</span><span id="close_filter" class="modal-close">×</span>\n'+(null!=(s=h(n,"each").call(c,null!=t?h(t,"dropdownData"):t,{name:"each",hash:{},fn:e.program(1,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:15,column:8},end:{line:24,column:17}}}))?s:"")+' </div>\n</div>\n<div id="table_page" class="bmlt-page hide" >\n <div id="bmlt-maptable-header"><span class="map-list-title">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Visible meeting list",{name:"getWord",hash:{},data:o,loc:{start:{line:28,column:64},end:{line:28,column:98}}}))+'</span><span id="close_table" class="table-close">X</span></div>\n <div id="bmlt-maptable-div" style="position:relative; overflow-y:scroll;">\n \n <table class=\'bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack\'>\n'+(null!=(s=h(n,"each").call(c,null!=(s=null!=t?h(t,"meetings"):t)?h(s,"bydays"):s,{name:"each",hash:{},fn:e.program(4,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:32,column:8},end:{line:34,column:17}}}))?s:"")+' </table>\n </div>\n</div>\n<div id="geocoding_modal" class="modal" style="display: none;">\n\t<div id="search_content" class="modal-content">\n\t\t<span class="modal-title">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Show meetings near...",{name:"getWord",hash:{},data:o,loc:{start:{line:40,column:28},end:{line:40,column:63}}}))+'</span><span id="close_search" class="modal-close">x</span>\n <p></p>\n <div class="modal-search">\n '+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Enter a city or zip code",{name:"getWord",hash:{},data:o,loc:{start:{line:43,column:12},end:{line:43,column:50}}}))+'\n <input id="goto-text" type="text">\n <p>\n <button id="goto-button" class="filter-button">Los</button>\n </p>\n </div>\n \t</div>\t\n</div>\n\n'},usePartial:!0,useData:!0,useDepths:!0}),this.hbs_Crouton.templates.mapSearch=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<button id="map-search-button" class="menu-button" title="Erweiterte Suche">\n <span class="menu-button-label" style="position:initial;">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"Search for meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:62},end:{line:2,column:95}}}))+'</span>\n</button>\n<div id="bmltsearch_modal" class="modal" style="display: none;">\n\t<div id="bmltsearch_content" class="modal-content">\n\t\t<span class="modal-title">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"Search for meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:6,column:28},end:{line:6,column:61}}}))+'</span><span id="close_search" class="modal-close">x</span>\n <table>\n <tr><td><div class="modal-search">\n <input id="bmltsearch-goto-text" type="text" placeholder="'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"Enter a city or zip code",{name:"getWord",hash:{},data:o,loc:{start:{line:9,column:70},end:{line:9,column:108}}}))+'" style="margin-bottom:5px;">\n <button id="bmltsearch-text-button" class="filter-button">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"text_search",{name:"getWord",hash:{},data:o,loc:{start:{line:10,column:70},end:{line:10,column:95}}}))+'</button>\n </div></td></tr>\n <tr><td><div class="modal-search">\n <p>\n <button id="bmltsearch-nearbyMeetings" class="filter-button">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"near_me",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:77},end:{line:14,column:98}}}))+'</button>\n </p>\n </div></td></tr>\n <tr><td><div class="modal-search">\n <p>\n <button id="bmltsearch-clicksearch" class="filter-button">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"click_search",{name:"getWord",hash:{},data:o,loc:{start:{line:19,column:74},end:{line:19,column:100}}}))+"</button>\n </p>\n </div></td></tr></table>\n \t</div>\t\n</div>"},useData:!0}),this.hbs_Crouton.templates.meetings=Handlebars.template({1:function(e,t,n,i,o){var a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,c=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\t"+l((u(n,"enrich")||t&&u(t,"enrich")||s).call(r,t,{name:"enrich",hash:{},data:o,loc:{start:{line:2,column:1},end:{line:2,column:16}}}))+'\n\t<tr class="bmlt-data-row"\n\t\tid="meeting-data-row-'+l(c(null!=t?u(t,"id_bigint"):t,t))+'"\n\t\tdata-cities="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_municipality"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:5,column:15},end:{line:5,column:63}}}))+'"\n\t\tdata-groups="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"meeting_name"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:6,column:15},end:{line:6,column:54}}}))+'"\n\t\tdata-locations="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_text"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:7,column:18},end:{line:7,column:58}}}))+'"\n\t\tdata-zips="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_postal_code_1"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:8,column:13},end:{line:8,column:62}}}))+'"\n\t\tdata-formats="'+l((u(n,"formatDataPointerFormats")||t&&u(t,"formatDataPointerFormats")||s).call(r,null!=t?u(t,"formats_expanded"):t,{name:"formatDataPointerFormats",hash:{},data:o,loc:{start:{line:9,column:16},end:{line:9,column:66}}}))+'"\n\t\tdata-areas="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"service_body_bigint"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:10,column:14},end:{line:10,column:60}}}))+'"\n\t\tdata-regions="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"parentServiceBodyName"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:11,column:16},end:{line:11,column:64}}}))+'"\n\t\tdata-counties="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_sub_province"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:12,column:17},end:{line:12,column:65}}}))+'"\n\t\tdata-neighborhoods="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_neighborhood"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:13,column:22},end:{line:13,column:70}}}))+'"\n\t\tdata-states="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_province"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:14,column:15},end:{line:14,column:59}}}))+'"\n\t\tdata-venues="'+l((u(n,"formatDataFromArray")||t&&u(t,"formatDataFromArray")||s).call(r,null!=t?u(t,"venue_type_name"):t,{name:"formatDataFromArray",hash:{},data:o,loc:{start:{line:15,column:15},end:{line:15,column:59}}}))+'"\n\t\tdata-weekdays="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"formatted_day"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:16,column:17},end:{line:16,column:57}}}))+'">\n\t\t<td class="bmlt-column1" '+(null!=(a=(u(n,"getWord")||t&&u(t,"getWord")||s).call(r,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:17,column:27},end:{line:17,column:56}}}))?a:"")+'>\n\t\t\t<div class="bmlt-day">'+l(c(null!=t?u(t,"formatted_day"):t,t))+"</div>\n"+(null!=(a=(u(n,"ifEquals")||t&&u(t,"ifEquals")||s).call(r,null!=t?u(t,"duration_time"):t,"24:00:00",{name:"ifEquals",hash:{},fn:e.program(2,o,0),inverse:e.program(4,o,0),data:o,loc:{start:{line:19,column:3},end:{line:23,column:16}}}))?a:"")+(null!=(a=u(n,"if").call(r,null!=t?u(t,"formats"):t,{name:"if",hash:{},fn:e.program(6,o,0),inverse:e.noop,data:o,loc:{start:{line:24,column:3},end:{line:42,column:10}}}))?a:"")+'\t\t\t<div class="bmlt-comments">'+l((u(n,"formatLink")||t&&u(t,"formatLink")||s).call(r,null!=t?u(t,"formatted_comments"):t,{name:"formatLink",hash:{},data:o,loc:{start:{line:43,column:30},end:{line:43,column:68}}}))+'</div>\n\t\t\t<div class="bmlt-observer">'+(null!=(a=e.invokePartial((u(n,"selectObserver")||t&&u(t,"selectObserver")||s).call(r,{name:"selectObserver",hash:{},data:o,loc:{start:{line:44,column:34},end:{line:44,column:50}}}),t,{data:o,helpers:n,partials:i,decorators:e.decorators}))?a:"")+'</div>\n\t\t</td>\n\t\t<td class="bmlt-column2" '+(null!=(a=(u(n,"getWord")||t&&u(t,"getWord")||s).call(r,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:46,column:27},end:{line:46,column:56}}}))?a:"")+'>\n\t\t\t<div class="meeting-data-template">'+(null!=(a=e.invokePartial(u(i,"meetingDataTemplate"),t,{name:"meetingDataTemplate",data:o,helpers:n,partials:i,decorators:e.decorators}))?a:"")+'</div>\n\t\t</td>\n\t\t<td class="bmlt-column3">\n'+(null!=(a=e.invokePartial(u(i,"metaDataTemplate"),t,{name:"metaDataTemplate",data:o,indent:"\t\t\t",helpers:n,partials:i,decorators:e.decorators}))?a:"")+(null!=(a=(u(n,"canShare")||t&&u(t,"canShare")||s).call(r,t,{name:"canShare",hash:{},fn:e.program(8,o,0),inverse:e.noop,data:o,loc:{start:{line:51,column:3},end:{line:53,column:16}}}))?a:"")+"\t\t</td>\n\t</tr>\n"},2:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<div class="bmlt-time-2">'+e.escapeExpression(e.lambda(null!=t?a(t,"start_time_formatted"):t,t))+"</div>\n"},4:function(e,t,n,i,o){var a=e.lambda,r=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<div class="bmlt-time-2">'+r(a(null!=t?s(t,"start_time_formatted"):t,t))+" - "+r(a(null!=t?s(t,"end_time_formatted"):t,t))+"</div>\n"},6:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<a id="bmlt-formats"\n\t\t\t\t class="btn btn-primary btn-xs"\n\t\t\t\t title=""\n\t\t\t\t data-html="true"\n\t\t\t\t tabindex="0"\n\t\t\t\t data-trigger="focus"\n\t\t\t\t role="button"\n\t\t\t\t data-toggle="popover"\n\t\t\t\t data-original-title=""\n\t\t\t\t data-content="'+(null!=(a=e.invokePartial((r(n,"selectFormatPopup")||t&&r(t,"selectFormatPopup")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"selectFormatPopup",hash:{},data:o,loc:{start:{line:34,column:25},end:{line:34,column:44}}}),t,{data:o,helpers:n,partials:i,decorators:e.decorators}))?a:"")+'">\n <span class="glyphicon glyphicon-search"\n\t\t\t\t\t\t aria-hidden="true"\n\t\t\t\t\t\t data-toggle="popover"\n\t\t\t\t\t\t data-trigger="focus"\n\t\t\t\t\t\t data-html="true"\n\t\t\t\t\t\t role="button"></span>'+e.escapeExpression(e.lambda(null!=t?r(t,"formats"):t,t))+"\n\t\t\t\t</a>\n"},8:function(e,t,n,i,o){var a,r=e.lambda,s=e.escapeExpression,l=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<a href="javascript:void(0);" id="share-button" class="btn btn-primary btn-xs" onclick=\'navigator.share({ text: JSON.stringify("'+s(r(null!=t?u(t,"formatted_day"):t,t))+" "+s(r(null!=t?u(t,"start_time_formatted"):t,t))+" - "+s(r(null!=t?u(t,"end_time_formatted"):t,t))+" "+s(r(null!=t?u(t,"meeting_name"):t,t))+" "+s(r(null!=t?u(t,"location_text"):t,t))+" "+s(r(null!=t?u(t,"formatted_address"):t,t))+" "+s(r(null!=t?u(t,"formatted_location_info"):t,t))+(null!=(a=u(n,"if").call(l,null!=t?u(t,"virtual_meeting_additional_info"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:52,column:320},end:{line:52,column:412}}}))?a:"")+'"), url: "'+(null!=(a=(u(n,"isVirtualOrHybrid")||t&&u(t,"isVirtualOrHybrid")||c).call(l,t,{name:"isVirtualOrHybrid",hash:{},fn:e.program(11,o,0),inverse:e.noop,data:o,loc:{start:{line:52,column:422},end:{line:52,column:609}}}))?a:"")+(null!=(a=(u(n,"isInPersonOrHybrid")||t&&u(t,"isInPersonOrHybrid")||c).call(l,t,{name:"isInPersonOrHybrid",hash:{},fn:e.program(16,o,0),inverse:e.noop,data:o,loc:{start:{line:52,column:609},end:{line:52,column:792}}}))?a:"")+'"})\'><span class="glyphicon glyphicon-share"></span> '+s(r(null!=t?u(t,"share_word"):t,t))+"</a>\n"},9:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression(e.lambda(null!=t?a(t,"virtual_meeting_additional_info"):t,t))},11:function(e,t,n,i,o){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=s(n,"if").call(r,null!=t?s(t,"virtual_meeting_link"):t,{name:"if",hash:{},fn:e.program(12,o,0),inverse:e.noop,data:o,loc:{start:{line:52,column:449},end:{line:52,column:518}}}))?a:"")+(null!=(a=s(n,"if").call(r,null!=t?s(t,"phone_meeting_number"):t,{name:"if",hash:{},fn:e.program(14,o,0),inverse:e.noop,data:o,loc:{start:{line:52,column:518},end:{line:52,column:587}}}))?a:"")},12:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=t?a(t,"virtual_meeting_link"):t,t))},14:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=t?a(t,"phone_meeting_number"):t,t))},16:function(e,t,n,i,o){var a=e.lambda,r=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" https://www.google.com/maps/search/?api=1&amp;query="+r(a(null!=t?s(t,"latitude"):t,t))+","+r(a(null!=t?s(t,"longitude"):t,t))+"&amp;q="+r(a(null!=t?s(t,"latitude"):t,t))+","+r(a(null!=t?s(t,"longitude"):t,t))},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a;return null!=(a=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:56,column:9}}}))?a:""},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.weekdays=Handlebars.template({1:function(e,t,n,i,o){var a,r,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <div id='tab"+e.escapeExpression("function"==typeof(r=null!=(r=c(n,"day")||(null!=t?c(t,"day"):t))?r:l)?r.call(s,{name:"day",hash:{},data:o,loc:{start:{line:3,column:20},end:{line:3,column:29}}}):r)+"' class='tab-pane'>\n <div id=\"bmlt-table-div\">\n <table class='bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack'>\n <tbody class=\"weekdays.hbs\">\n"+(null!=(a=(c(n,"greaterThan")||t&&c(t,"greaterThan")||l).call(s,null!=(a=null!=t?c(t,"meetings"):t)?c(a,"length"):a,0,{name:"greaterThan",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:7,column:6},end:{line:9,column:22}}}))?a:"")+(null!=(a=(c(n,"lessThan")||t&&c(t,"lessThan")||l).call(s,null!=(a=null!=t?c(t,"meetings"):t)?c(a,"length"):a,1,{name:"lessThan",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:10,column:6},end:{line:16,column:19}}}))?a:"")+" </tbody>\n </table>\n </div>\n </div>\n"},2:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=e.invokePartial(r(i,"meetings"),null!=t?r(t,"meetings"):t,{name:"meetings",data:o,indent:"\t\t\t\t\t\t\t",helpers:n,partials:i,decorators:e.decorators}))?a:""},4:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t"+e.escapeExpression((a(n,"getWord")||t&&a(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"no_meetings_for_this_day",{name:"getWord",hash:{},data:o,loc:{start:{line:13,column:9},end:{line:13,column:47}}}))+"\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a;return'<div class="tab-content">\n'+(null!=(a=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:4},end:{line:21,column:13}}}))?a:"")+"</div>\n"},usePartial:!0,useData:!0});var croutonDefaultTemplates={meeting_data_template:["{{#isTemporarilyClosed this}}"," <div class='temporarilyClosed'><span class='glyphicon glyphicon-flag'></span> {{temporarilyClosed this}}</div>","{{/isTemporarilyClosed}}","<div class='meeting-name'>{{> meetingModal this}}</div>","<div class='location-text'>{{this.location_text}}</div>","<div class='meeting-address'>{{this.formatted_address}}</div>","<div class='location-information'>{{this.formatted_location_info}}</div>","{{#if this.virtual_meeting_additional_info}}"," <div class='meeting-additional-info'>{{this.virtual_meeting_additional_info}}</div>","{{/if}}"].join("\n"),metadata_template:["{{#isVirtualOrHybrid this}}"," {{#isHybrid this}}"," <div class='meetsVirtually'><span class='glyphicon glyphicon-cloud-upload'></span> {{meetsHybrid this}}</div>"," {{else}}"," <div class='meetsVirtually'><span class='glyphicon glyphicon-cloud'></span> {{meetsVirtually this}}</div>"," {{/isHybrid}}"," {{#if this.virtual_meeting_link}}"," <div><span class='glyphicon glyphicon-globe'></span> {{webLinkify this.virtual_meeting_link}}</div>"," {{#if this.show_qrcode}}"," <div class='qrcode'>{{qrCode this.virtual_meeting_link}}</div>"," {{/if}}"," {{/if}}"," {{#if this.phone_meeting_number}}"," <div><span class='glyphicon glyphicon-earphone'></span> {{phoneLinkify this.phone_meeting_number}}</div>"," {{#if this.show_qrcode}}"," <div class='qrcode'>{{qrCode this.phone_meeting_number}}</div>"," {{/if}}"," {{/if}}","{{/isVirtualOrHybrid}}","{{#isNotTemporarilyClosed this}}"," {{#unless (hasFormats 'VM' this)}}"," <div>"," <a id='map-button' class='btn btn-primary btn-xs'"," href='https://www.google.com/maps/search/?api=1&query={{this.latitude}},{{this.longitude}}&q={{this.latitude}},{{this.longitude}}'"," target='_blank' rel='noopener noreferrer'>"," <span class='glyphicon glyphicon-map-marker'></span> {{this.map_word}}</a>"," </div>"," <div class='geo hide'>{{this.latitude}},{{this.longitude}}</div>"," {{/unless}}","{{/isNotTemporarilyClosed}}"].join("\n"),observer_template:["<div class='observerLine'>{{this.contact_name_1}} {{this.contact_phone_1}} {{this.contact_email_1}}</div>","<div class='observerLine'>{{this.contact_name_2}} {{this.contact_phone_2}} {{this.contact_email_2}}</div>"].join("\n"),meeting_count_template:["{{#if this.config.has_meeting_count}}","<span class='bmlt_tabs_meeting_count'>{{getWord 'meeting_count'}} <span id='bmlt_tabs_meeting_count-live'>{{this.meetings.meetingCount}}</span></span>","{{/if}}"].join("\n"),meeting_link_template:["{{#if this.meeting_details_url}}","<a href='{{{this.meeting_details_url}}}'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>","{{else}}","{{this.meeting_name}}","{{/if}}"].join("\n"),meeting_modal_template:["<a onclick='crouton.meetingModal({{this.id_bigint}})'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>"].join("\n"),meetingpage_frame_template:'\n\t<div id="meeting_modal" class="modal bootstrap-bmlt" style="display: none;">\n\t<div class="modal-content">\n <span class="modal-title">{{getWord "Meeting Details"}}</span><span id="close_meeting_details" class="modal-close">×</span>\n\t\t<table id="meeting-details-table" class="bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack meeting-details">\n\t\t\t<thead>\n \t\t<th id="meeting-details-title" colspan="2">\n\t\t \t\t{{> meetingpageTitleTemplate this}}\n\t \t\t</th>\n \t\t</thead>\n \t\t<tbody>\n \t\t<tr id="meeting-details-contents">\n \t\t\t{{> meetingpageContentsTemplate this}}\n \t\t</tr>\n \t\t</tbody>\n\t\t</table>\n\t\t<div>\n\t\t\t<a id="map-button" class="btn btn-primary btn-xs" href="{{{this.meeting_details_url}}}" target="_blank" rel="noopener noreferrer" style="float:left">\n\t\t\t\t{{getWord "Meeting Page"}}</a>\n\t\t\t<a id="map-button" class="btn btn-primary btn-xs modal-close" style="float:right">\n\t\t\t\t{{getWord "Close"}}</a>\n\t\t</div>\n\t</div></div>',meetingpage_title_template:["{{this.formatted_day}} {{this.start_time_formatted}} - {{this.end_time_formatted}}: {{this.meeting_name}}"].join("\n"),meetingpage_contents_template:'<td id="meetingpage_map_td">\n\t\t{{#isInPersonOrHybrid this}}\n {{{crouton_map}}}\n </td>\n <td style="vertical-align:top;">\n <h4>Location:</h4>\n {{#isTemporarilyClosed this}}\n <div class="temporarilyClosed">{{temporarilyClosed this}}</div>\n {{/isTemporarilyClosed}}\n <div class="location-text">{{{this.location_text}}}</div>\n <div class="meeting-address">{{this.formatted_address}}</div>\n <div class="location-information">{{{this.formatted_location_info}}}</div>\n <a href="https://www.google.com/maps/dir/?api=1&destination={{this.latitude}}%2C{{this.longitude}}" class="bootstrap-bmlt" ><div class="btn btn-primary bmlt-xs get-directions"><span class="glyphicon glyphicon-road"></span> {{getWord "google_directions"}}</div></a>\n <br/>\n {{/isInPersonOrHybrid}}\n {{#isVirtualOrHybrid this}}\n <h4>Join this meeting online:</h4>\n {{#if virtual_meeting_link}}\n <div>{{webLinkify this.virtual_meeting_link}}</div>\n {{#if show_qrcode}}\n <div class="qrcode">{{qrCode virtual_meeting_link}}</div>\n {{/if}}\n {{/if}}\n {{#if this.phone_meeting_number}}\n <div>{{phoneLinkify this.phone_meeting_number}}</div>\n {{#if this.show_qrcode}}\n <div class="qrcode">{{qrCode this.phone_meeting_number}}</div>\n {{/if}}\n {{/if}}\n {{#if this.virtual_meeting_additional_info}}\n {{this.virtual_meeting_additional_info}}\n {{/if}}\n <br/>\n {{/isVirtualOrHybrid}}\n <br/>\n {{#if formats_expanded}}\n <h4>Meeting Formats</h4>\n <ul>\n {{#each formats_expanded}}\n <li>{{description}}</li>\n {{/each}}\n </ul>\n <br/>\n {{/if}}\n <h4>Contact:</h4>\n This meeting is in <a href="{{serviceBodyUrl}}">{{serviceBodyName}}</a>\n </td>',marker_contents_template:'<h4>{{meeting_name}}</h4>\n\t<div class="active">\n\t\t<div class="marker_div_location_text">{{{this.location_text}}}</div>\n\t\t<div class="marker_div_location_address">{{this.formatted_address}}</div>\n\t\t<div class="marker_div_location_info">{{{this.formatted_location_info}}}</div>\n\t\t<div class="marker_div_location_maplink">\n\t\t{{#if this.meeting_details_url}}\n\t\t\t<a href="{{this.meeting_details_url}}" target="_blank">More info</a>\n\t\t{{/if}}\n\t\t</div>\n\t\t<div class="marker_div_formats">\n\t\t{{#each this.formats_expanded}}{{#if @index}}; {{/if}}{{this.name}}{{/each}}\n\t\t</div>\n\t</div>\n\t'};!function(e){var t="object"==typeof exports&&exports&&!exports.nodeType&&exports,n="object"==typeof module&&module&&!module.nodeType&&module,i="object"==typeof global&&global;i.global!==i&&i.window!==i&&i.self!==i||(e=i);var o,a,r=2147483647,s=36,l=1,c=26,u=38,h=700,d=72,p=128,f="-",m=/^xn--/,g=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=s-l,b=Math.floor,w=String.fromCharCode;function A(e){throw new RangeError(y[e])}function x(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function k(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+x((e=e.replace(_,".")).split("."),t).join(".")}function S(e){for(var t,n,i=[],o=0,a=e.length;o<a;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<a?56320==(64512&(n=e.charCodeAt(o++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),o--):i.push(t);return i}function C(e){return x(e,function(e){var t="";return e>65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function P(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function M(e,t,n){var i=0;for(e=n?b(e/h):e>>1,e+=b(e/t);e>v*c>>1;i+=s)e=b(e/v);return b(i+(v+1)*e/(e+u))}function T(e){var t,n,i,o,a,u,h,m,g,_,y,v=[],w=e.length,x=0,k=p,S=d;for((n=e.lastIndexOf(f))<0&&(n=0),i=0;i<n;++i)e.charCodeAt(i)>=128&&A("not-basic"),v.push(e.charCodeAt(i));for(o=n>0?n+1:0;o<w;){for(a=x,u=1,h=s;o>=w&&A("invalid-input"),((m=(y=e.charCodeAt(o++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:s)>=s||m>b((r-x)/u))&&A("overflow"),x+=m*u,!(m<(g=h<=S?l:h>=S+c?c:h-S));h+=s)u>b(r/(_=s-g))&&A("overflow"),u*=_;S=M(x-a,t=v.length+1,0==a),b(x/t)>r-k&&A("overflow"),k+=b(x/t),x%=t,v.splice(x++,0,k)}return C(v)}function L(e){var t,n,i,o,a,u,h,m,g,_,y,v,x,k,C,T=[];for(v=(e=S(e)).length,t=p,n=0,a=d,u=0;u<v;++u)(y=e[u])<128&&T.push(w(y));for(i=o=T.length,o&&T.push(f);i<v;){for(h=r,u=0;u<v;++u)(y=e[u])>=t&&y<h&&(h=y);for(h-t>b((r-n)/(x=i+1))&&A("overflow"),n+=(h-t)*x,t=h,u=0;u<v;++u)if((y=e[u])<t&&++n>r&&A("overflow"),y==t){for(m=n,g=s;!(m<(_=g<=a?l:g>=a+c?c:g-a));g+=s)C=m-_,k=s-_,T.push(w(P(_+C%k,0))),m=b(C/k);T.push(w(P(m,0))),a=M(n,x,i==o),n=0,++i}++n,++t}return T.join("")}if(o={version:"1.4.1",ucs2:{decode:S,encode:C},decode:T,encode:L,toASCII:function(e){return k(e,function(e){return g.test(e)?"xn--"+L(e):e})},toUnicode:function(e){return k(e,function(e){return m.test(e)?T(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return o});else if(t&&n)if(module.exports==t)n.exports=o;else for(a in o)o.hasOwnProperty(a)&&(t[a]=o[a]);else e.punycode=o}(this);var defaultOptions={timeout:3e5,jsonpCallback:"callback",jsonpCallbackFunction:null};function generateCallbackFunction(){return"jsonp_"+Date.now().toString()+"_"+Math.ceil(1e5*Math.random()).toString()}function clearFunction(e){try{delete window[e]}catch(t){window[e]=void 0}}function removeScript(e){var t=document.getElementById(e);t&&document.getElementsByTagName("head")[0].removeChild(t)}function fetchJsonp(e,t){t||(t={});var n,i=e,o=t.timeout||defaultOptions.timeout,a=t.jsonpCallback||defaultOptions.jsonpCallback;return new Promise(function(r,s){var l=t.jsonpCallbackFunction||generateCallbackFunction(),c=a+"_"+l;window[l]=function(e){r({ok:!0,json:function(){return Promise.resolve(e)}}),n&&clearTimeout(n),removeScript(c),clearFunction(l)},i+=-1===i.indexOf("?")?"?":"&";var u=document.createElement("script");u.setAttribute("src",i+a+"="+l),t.charset&&u.setAttribute("charset",t.charset),t.nonce&&u.setAttribute("nonce",t.nonce),t.referrerPolicy&&u.setAttribute("referrerPolicy",t.referrerPolicy),u.id=c,document.getElementsByTagName("head")[0].appendChild(u),n=setTimeout(function(){s(new Error("JSONP request to "+e+" timed out")),clearFunction(l),removeScript(c),window[l]=function(){clearFunction(l)}},o),u.onerror=function(){s(new Error("JSONP request to "+e+" failed")),clearFunction(l),removeScript(c),n&&clearTimeout(n)}})}!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";function e(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})}function t(e){return new this(function(t,n){if(!e||void 0===e.length)return n(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);var o=i.length;function a(e,n){if(n&&("object"==typeof n||"function"==typeof n)){var r=n.then;if("function"==typeof r)return void r.call(n,function(t){a(e,t)},function(n){i[e]={status:"rejected",reason:n},0==--o&&t(i)})}i[e]={status:"fulfilled",value:n},0==--o&&t(i)}for(var r=0;r<i.length;r++)a(r,i[r])})}var n=setTimeout,i="undefined"!=typeof setImmediate?setImmediate:null;function o(e){return Boolean(e&&void 0!==e.length)}function a(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void c(t.promise,e)}l(t.promise,i)}else(1===e._state?l:c)(t.promise,e._value)})):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof n)return void d((i=n,o=t,function(){i.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){c(e,t)}var i,o}function c(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function h(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function d(e,t){var n=!1;try{e(function(e){n||(n=!0,l(t,e))},function(e){n||(n=!0,c(t,e))})}catch(e){if(n)return;n=!0,c(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(a);return s(this,new h(e,t,n)),n},r.prototype.finally=e,r.all=function(e){return new r(function(t,n){if(!o(e))return n(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);var a=i.length;function r(e,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,function(t){r(e,t)},n)}i[e]=o,0==--a&&t(i)}catch(e){n(e)}}for(var s=0;s<i.length;s++)r(s,i[s])})},r.allSettled=t,r.resolve=function(e){return e&&"object"==typeof e&&e.constructor===r?e:new r(function(t){t(e)})},r.reject=function(e){return new r(function(t,n){n(e)})},r.race=function(e){return new r(function(t,n){if(!o(e))return n(new TypeError("Promise.race accepts an array"));for(var i=0,a=e.length;i<a;i++)r.resolve(e[i]).then(t,n)})},r._immediateFn="function"==typeof i&&function(e){i(e)}||function(e){n(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var p=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}();"function"!=typeof p.Promise?p.Promise=r:(p.Promise.prototype.finally||(p.Promise.prototype.finally=e),p.Promise.allSettled||(p.Promise.allSettled=t))});var crouton_Handlebars=Handlebars.noConflict();function Crouton(e){var t=this;t.mutex=!1,t.filtering=!1,t.masterFormatCodes=[],t.max_filters=10,t.config={on_complete:null,root_server:null,placeholder_id:"bmlt-tabs",map_max_zoom:15,time_format:"h:mm a",language:"en-US",has_tabs:!0,filter_tabs:!1,header:!0,include_weekday_button:!0,int_include_unpublished:0,button_filters:[{title:"City",field:"location_municipality"}],button_format_filters:[],default_filter_dropdown:"",show_map:"embed",map_search:null,has_days:!1,has_cities:!0,has_formats:!0,has_groups:!1,has_locations:!0,has_zip_codes:!1,has_areas:!1,has_regions:!1,has_states:!1,has_sub_province:!1,has_neighborhoods:!1,has_languages:!1,has_common_needs:!1,has_venues:!0,has_meeting_count:!1,show_distance:!1,distance_search:0,recurse_service_bodies:!1,service_body:[],formats:"",venue_types:"",strict_datafields:!0,meeting_details_href:"",virtual_meeting_details_href:"",exclude_zip_codes:[],extra_meetings:[],native_lang:"",auto_tz_adjust:!1,base_tz:null,custom_query:null,sort_keys:"start_time",int_start_day_id:1,view_by:"weekday",show_qrcode:!1,force_rootserver_in_querystring:!0,force_timeformat_in_querystring:!0,force_language_in_querystring:!0,theme:"jack",meeting_data_template:croutonDefaultTemplates.meeting_data_template,metadata_template:croutonDefaultTemplates.metadata_template,observer_template:croutonDefaultTemplates.observer_template,meeting_count_template:croutonDefaultTemplates.meeting_count_template,meeting_link_template:croutonDefaultTemplates.meeting_link_template,meeting_modal_template:croutonDefaultTemplates.meeting_modal_template,meetingpage_title_template:croutonDefaultTemplates.meetingpage_title_template,meetingpage_contents_template:croutonDefaultTemplates.meetingpage_contents_template,meetingpage_frame_template:croutonDefaultTemplates.meetingpage_frame_template,lat:0,lng:0,zoom:10,clustering:12,nominatimUrl:"https://nominatim.openstreetmap.org/",tileUrl:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",tileOptions:{attribution:'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>',maxZoom:18},minZoom:6,maxZoom:17},t.setConfig(e),Crouton.prototype.searchByCoordinates=function(e,n,i){t.config.custom_query=(null!==t.config.custom_query?t.config.custom_query:"")+"&lat_val="+e+"&long_val="+n+("km"===t.config.distance_units?"&geo_width_km=":"&geo_width=")+i,t.meetingSearch().then(function(){t.config.refresh_map=1,t.config.show_map=1,t.reset(),t.render()})},t.getMeetings=function(e){var n=[fetchJsonp(this.config.root_server+e).then(function(e){return e.json()})];if(t.config.extra_meetings.length>0){for(var i="",o=0;o<t.config.extra_meetings.length;o++)i+="&meeting_ids[]="+t.config.extra_meetings[o];const a=/&services\[\]=\d+/;e=e.replace(a,""),n.push(fetchJsonp(t.config.root_server+e+i).then(function(e){return e.json()}))}return Promise.all(n).then(function(n){var i,o=n[0],a=JSON.stringify(o.meetings);if(2===n.length&&(i=n[1]),"{}"===a||"[]"===a){var r=t.config.root_server+e;return console.log('Could not find any meetings for the criteria specified with the query <a href="'+r+'" target=_blank>'+r+"</a>"),jQuery("#"+t.config.placeholder_id).html("No meetings found."),void(t.mutex=!1)}o.meetings.exclude(t.config.exclude_zip_codes,"location_postal_code_1"),t.meetingData=o.meetings,t.formatsData=o.formats,i&&(t.meetingData=t.meetingData.concat(i.meetings)),t.mutex=!1})},t.addDatafieldsToQuery=function(){if(!t.config.strict_datafields)return t.all_data_keys=[],t.queryable_data_keys=[],"";var e=["location_postal_code_1","duration_time","start_time","time_zone","weekday_tinyint","service_body_bigint","longitude","latitude","location_province","location_municipality","location_street","location_info","location_text","location_neighborhood","formats","format_shared_id_list","comments","meeting_name","location_sub_province","worldid_mixed","root_server_uri","id_bigint","venue_type"],n=["serviceBodyName","serviceBodyUrl","serviceBodyPhone","serviceBodyDescription","serviceBodyType","parentServiceBodyName","parentServiceBodyUrl","parentServiceBodyPhone","parentServiceBodyDescription","parentServiceBodyType","map_word","share_word","show_qrcode","formatted_day","formatted_address","formats_expanded","formatted_location_info","end_time_formatted","start_time_formatted","formatted_comments","start_time_raw","venue_type_name","day_of_the_week"];return t.all_data_keys=e.clone(),t.queryable_data_keys=e.clone(),t.collectDataKeys=function(e){for(var i=/this\.([A-Za-z0-9_]*)}}/gi;arr=i.exec(e);)t.all_data_keys.push(arr[1]),inArray(arr[1],n)||t.queryable_data_keys.push(arr[1])},t.collectDataKeys(t.config.meeting_data_template),t.collectDataKeys(t.config.metadata_template),t.collectDataKeys(t.config.observer_template),"&data_field_key="+arrayUnique(t.queryable_data_keys).join(",")},t.mutex=!0,t.meetingSearch=function(){var e="/client_interface/jsonp/?switcher=GetSearchResults&get_used_formats&lang_enum="+t.config.short_language+t.addDatafieldsToQuery();if(t.config.formats&&(e+=t.config.formats.reduce(function(e,t){return e+"&formats[]="+t},"")),t.config.venue_types&&(e+=t.config.venue_types.reduce(function(e,t){return e+"&venue_types[]="+t},"")),1===t.config.int_include_unpublished?e+="&advanced_published=0":-1===t.config.int_include_unpublished&&(e+="&advanced_published=-1"),0===t.config.distance_search){if(null!=t.config.custom_query)return e+=t.config.custom_query+"&sort_keys="+t.config.sort_keys,t.getMeetings(e);if(t.config.service_body.length>0){for(var n=0;n<t.config.service_body.length;n++)e+="&services[]="+t.config.service_body[n];return t.config.recurse_service_bodies&&(e+="&recursive=1"),e+="&sort_keys="+t.config.sort_keys,t.getMeetings(e)}return new Promise(function(e,t){e()})}if(navigator.geolocation)return new Promise(function(e,t){navigator.geolocation.getCurrentPosition(e,t)}).then(function(n){return e+="&lat_val="+n.coords.latitude+"&long_val="+n.coords.longitude+"&sort_results_by_distance=1",e+=("km"===t.config.distance_units?"&geo_width_km=":"&geo_width=")+t.config.distance_search,t.getMeetings(e)})},t.lock=function(e){var t=this,n=setInterval(function(){t.mutex||(clearInterval(n),e())},100)},t.dayTab=function(e){t.hideAllPages(),jQuery('.nav-tabs a[href="#tab'+e+'"]').tab("show"),t.showPage("#"+e)},t.dayTabFromId=function(e){day_id=t.meetingData.find(t=>t.id_bigint==e).weekday_tinyint,t.dayTab(day_id)},t.showPage=function(e){jQuery(e).removeClass("hide").addClass("show")},t.showView=function(e){"byday"===e?t.byDayView():"day"===e||"weekday"===e?t.dayView():"city"===e?t.filteredView("location_municipality"):t.filteredView(e)},t.byDayView=function(){t.resetFilter(),t.lowlightButton(".filterButton"),t.highlightButton("#day"),jQuery(".bmlt-page").each(function(e){t.hidePage("#"+this.id),t.showPage("#byday"),t.showPage("#nav-days")})},t.dayView=function(){t.resetFilter(),t.lowlightButton(".filterButton"),t.highlightButton("#day"),jQuery(".bmlt-page").each(function(e){t.hidePage("#"+this.id),t.showPage("#days"),t.showPage("#nav-days"),t.showPage("#tabs-content")})},t.filteredView=function(e,n=!0){n&&t.resetFilter(),t.lowlightButton("#day"),t.lowlightButton(".filterButton"),t.highlightButton("#filterButton_"+e),jQuery(".bmlt-page").each(function(n){t.hidePage("#"+this.id),t.showPage("#byfield_"+e)})},t.lowlightButton=function(e){jQuery(e).removeClass("buttonHighlight").addClass("buttonLowlight")},t.highlightButton=function(e){jQuery(e).removeClass("buttonLowlight").addClass("buttonHighlight")},t.hidePage=function(e){jQuery(e).removeClass("show").addClass("hide")},t.hideAllPages=function(e){jQuery("#tab-pane").removeClass("show").addClass("hide")},t.filteredPage=function(){jQuery(".meeting-header").removeClass("hide"),jQuery(".bmlt-data-row").removeClass("hide");var e=!1;if(jQuery(".filter-dropdown").each(function(t,n){const i=n.value.replace("a-","");if(""===i)return;e=!0;const o=n.getAttribute("data-pointer").toLowerCase();"formats"!==o&&"languages"!==o&&"venues"!==o&&"common_needs"!==o?jQuery(".bmlt-data-row").not("[data-"+o+"='"+i+"']").addClass("hide"):jQuery(".bmlt-data-row").not("[data-"+o+"~='"+i+"']").addClass("hide")}),!e)return t.filtering=!1,void(croutonMap&&croutonMap.fillMap());var n=[];jQuery(".bmlt-data-row").not(".hide").each(function(e,t){jQuery(t).addClass(e%2?"oddRow":"evenRow");const i=t.id.split("-");n.push(i[i.length-1])}),n=[...new Set(n)],t.updateMeetingCount(n),t.updateFilters(),croutonMap&&croutonMap.fillMap(n),t.config.map_page&&(jQuery("#byfield_embeddedMapPage").hasClass("hide")||(jQuery("#displayTypeButton_tablePages").removeClass("hide"),jQuery("#filterButton_embeddedMapPage").addClass("hide"))),t.config.map_page&&!jQuery("#byfield_embeddedMapPage").hasClass("hide")||t.showFilteredMeetingsAsTable(),t.filtering=!0},t.showFilteredMeetingsAsTable=function(){t.config.filter_tabs?(t.showPage("#nav-days"),t.showPage("#tabs-content")):(t.lowlightButton(".filterButton"),t.lowlightButton("#day"),t.showPage("#byday"),jQuery(".bmlt-data-rows").each(function(e,t){jQuery(t).find(".bmlt-data-row.hide").length===jQuery(t).find(".bmlt-data-row").length&&jQuery(t).find(".meeting-header").addClass("hide")}))},t.resetFilter=function(){t.config.map_page?(t.filtering&&croutonMap.fillMap(),jQuery("#displayTypeButton_tablePages").addClass("hide"),jQuery("#filterButton_embeddedMapPage").removeClass("hide")):t.config.show_map&&croutonMap.fillMap(),t.filtering=!1,t.updateFilters(),t.updateMeetingCount(),jQuery(".filter-dropdown").val(null).trigger("change"),jQuery(".meeting-header").removeClass("hide"),jQuery(".bmlt-data-row").removeClass("hide"),jQuery(".evenRow").removeClass("evenRow"),jQuery(".oddRow").removeClass("oddRow")},t.updateFilters=function(){const e=function(e){return e.id.replace("meeting-data-row-","")};t.dropdownData.forEach(function(n,i){let o=[];jQuery(".filter-dropdown").each(function(t,i){if(i.id===n.elementId)return;const a=i.value.replace("a-","");if(""===a)return;filteringDropdown=!0;const r=i.getAttribute("data-pointer").toLowerCase();"formats"!==r&&"languages"!==r&&"venues"!==r&&"common_needs"!==r?jQuery(".bmlt-data-row").not("[data-"+r+"='"+a+"']").each((t,n)=>o.push(e(n))):jQuery(".bmlt-data-row").not("[data-"+r+"~='"+a+"']").each((t,n)=>o.push(e(n)))}),o=[...new Set(o)];let a=t.meetingData.filter(e=>!o.includes(e.id_bigint));n.optionsShowing=n.uniqueData(a).map(e=>n.optionName(e))})},t.renderStandaloneMap=function(e,n,i=null,o=!0){hbs_Crouton.localization=t.localization,t.config.hide_byday_headers=!0,crouton_Handlebars.registerPartial("meetings",hbs_Crouton.templates.meetings),crouton_Handlebars.registerPartial("bydays",hbs_Crouton.templates.byday),crouton_Handlebars.registerPartial("formatPopup",hbs_Crouton.templates.formatPopup),window.crouton=t,croutonMap.initialize(t.createBmltMapElement(),t.meetingData,n,null,o,i)},t.getCurrentLocation=function(e){navigator.geolocation?navigator.geolocation.getCurrentPosition(e,t.errorHandler):$(".geo").removeClass("hide").addClass("show").html("<p>Geolocation is not supported by your browser</p>")},t.renderView=function(e,n,i,o){hbs_Crouton.localization=t.localization,crouton_Handlebars.registerPartial("meetings",hbs_Crouton.templates.meetings),crouton_Handlebars.registerPartial("bydays",hbs_Crouton.templates.byday),crouton_Handlebars.registerPartial("weekdays",hbs_Crouton.templates.weekdays),crouton_Handlebars.registerPartial("header",hbs_Crouton.templates.header),crouton_Handlebars.registerPartial("byfields",hbs_Crouton.templates.byfield),crouton_Handlebars.registerPartial("formatPopup",hbs_Crouton.templates.formatPopup);var a=hbs_Crouton.templates.main;jQuery(e).html(a(n)),i()},t.updateMeetingCount=function(e=null){let n=(t=this).meetingData.length;addLive=function(e){return e+", "+e+"-live"},null!==e&&(n=e.length,addLive=function(e){return e+"-live"}),jQuery(addLive("#bmlt_tabs_meeting_count")).text(n),jQuery(addLive("#bmlt_tabs_group_count")).each(function(){var n=t.meetingData;null!==e&&(n=t.meetingData.filter(t=>e.includes(t.id_bigint)));var i=n.map(e=>""!==e.worldid_mixed?e.worldid_mixed:e.meeting_name);jQuery(this).text(arrayUnique(i).length)}),jQuery(addLive("#bmlt_tabs_service_body_names")).each(function(){var n=t.meetingData;null!==e&&(n=t.meetingData.filter(t=>e.includes(t.id_bigint)));var i=getUniqueValuesOfKey(n,"service_body_bigint"),o=this;t.getServiceBodies(i).then(function(e){var t=e.length,n=e.map(e=>e.name);n.sort();var i="";if(1===t)i=n[0];else{i=n[0];for(var a=1;a<t-1;a++)i+=", ",i+=n[a];i+=" and "+n[t-1]}jQuery(o).text(i)})})},t.getServiceBodies=function(e){var n=t.config.has_regions;return fetchJsonp(this.config.root_server+"/client_interface/jsonp/?switcher=GetServiceBodies"+(n?"&parents=1":"")+getServiceBodiesQueryString(e)).then(function(e){return e.json()})},t.getMasterFormats=function(){return fetchJsonp(this.config.root_server+"/client_interface/jsonp/?switcher=GetFormats&lang_enum=en&key_strings[]=TC&key_strings[]=VM&key_strings[]=HY").then(function(e){return e.json()})},t.showLocation=function(e){var n,i,o=e.coords.latitude,a=e.coords.longitude;"km"===t.config.distance_units?(n="km",i="K"):"nm"===t.config.distance_units?(n="nm",i="N"):(n="mi",i="M"),jQuery(".geo").each(function(){var e=jQuery(this).html().split(","),r=t.distance(o,a,e[0],e[1],i);jQuery(this).removeClass("hide").addClass("show").html(r.toFixed(1)+" "+n)})},t.errorHandler=function(e){jQuery(".geo").removeClass("hide").addClass("show").html("")},t.handlebars=function(e,n){var i=!1;handlebarMapOptions=[],crouton_Handlebars.registerHelper("crouton_map",function(n){return i=!0,t.handlebarMapOptions=n.hash,t.handlebarMapOptions.zoom||(t.handlebarMapOptions.zoom=14),t.handlebarMapOptions.lat=parseFloat(e.latitude),t.handlebarMapOptions.lng=parseFloat(e.longitude),"<div id='bmlt-handlebars-map' class='bmlt-map'></div>"});for(var o=new DOMParser;n.length>0;){var a=n.item(0);if(a.firstChild){var r,s="";if(1===a.firstChild.nodeType){if(!a.firstChild.firstChild||3!==a.firstChild.firstChild.nodeType){console.log("<bmlt-handlebar> tag: cannot find textnode"),a.remove();continue}s=a.firstChild.firstChild.textContent}else 3===a.firstChild.nodeType&&(s=a.firstChild.textContent);try{r=crouton_Handlebars.compile(s)(e)}catch(e){console.log(e),r=e.message}var l=o.parseFromString("<body>"+r+"</body>","text/html");if(l.body&&l.body.firstChild){for(var c=l.body.firstChild,u=[],h=c,d=null;d=h.nextSibling;)h=d,u.push(h);a.replaceWith(c),u&&c.after(...u)}else console.log("<bmlt-handlebar> tag: could not parse the Handlebars result"),a.replaceWith("<bmlt-handlebar> tag: could not parse the Handlebars result")}else console.log("<bmlt-handlebar> tag must have at least one child"),a.remove()}i&&croutonMap.loadPopupMap("bmlt-handlebars-map",e,t.handlebarMapOptions)},Crouton.prototype.filterNext24=function(e=!0){if(!e)return jQuery("#filter-dropdown-next24").val("a-"),void t.filteredPage();const n=new Date,i=n.getDay(),o=n.getHours(),a=n.getMinutes(),r=t.meetingData.filter(function(e){var t=e.weekday_tinyint-1;if(t==i){var n=e.start_time.toString().split(":"),r=parseInt(n[0]);if(r>o)return!0;if(r==o&&parseInt(n[1])>a)return!0}else if(t==(i+1)%7)return!0;return!1}).map(e=>e.id_bigint);jQuery(".bmlt-data-row").each(function(e,t){t.dataset.next24=r.includes(t.id.split("-").pop())?"1":"0"}),jQuery("#filter-dropdown-next24").val("a-1"),t.filteredPage()},t.distance=function(e,t,n,i,o){if(e===n&&t===i)return 0;var a=Math.PI*e/180,r=Math.PI*n/180,s=t-i,l=Math.PI*s/180,c=Math.sin(a)*Math.sin(r)+Math.cos(a)*Math.cos(r)*Math.cos(l);return c>1&&(c=1),c=60*(c=180*(c=Math.acos(c))/Math.PI)*1.1515,"K"===o?1.609344*c:"N"===o?.8684*c:c},t.toFarsinNumber=function(e){const t=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"];return e.replace(/\d/g,e=>t[e])},t.enrichMeetings=function(e){var n=[];crouton_Handlebars.registerPartial("meetingDataTemplate",t.config.meeting_data_template),crouton_Handlebars.registerPartial("metaDataTemplate",t.config.metadata_template),crouton_Handlebars.registerPartial("observerTemplate",t.config.observer_template),crouton_Handlebars.registerPartial("meetingpageTitleTemplate",t.config.meetingpage_title_template),crouton_Handlebars.registerPartial("meetingpageContentsTemplate",t.config.meetingpage_contents_template),crouton_Handlebars.registerPartial("meetingCountTemplate",t.config.meeting_count_template),crouton_Handlebars.registerPartial("meetingLink",t.config.meeting_link_template),crouton_Handlebars.registerPartial("meetingModal",t.config.meeting_modal_template);for(var i=0;i<e.length;i++){e[i].formatted_comments=e[i].comments;var o=e[i].duration_time.split(":");e[i].start_time_raw=this.getAdjustedDateTime(1===parseInt(e[i].weekday_tinyint)?7:parseInt(e[i].weekday_tinyint)-1,e[i].start_time,e[i].time_zone),e[i].start_time_formatted=e[i].start_time_raw.format(t.config.time_format),e[i].end_time_formatted=e[i].start_time_raw.clone().add(o[0],"hours").add(o[1],"minutes").format(t.config.time_format),"fa-IR"===t.config.language&&(e[i].start_time_formatted=t.toFarsinNumber(e[i].start_time_formatted),e[i].end_time_formatted=t.toFarsinNumber(e[i].end_time_formatted)),e[i].day_of_the_week=7===e[i].start_time_raw.isoWeekday()?1:e[i].start_time_raw.isoWeekday()+1,e[i].formatted_day=t.localization.getDayOfTheWeekWord(e[i].day_of_the_week);var a=e[i].formats.split(","),r=[];let f=t.formatsData.filter(t=>t.root_server_uri==e[i].root_server_uri);for(var s=0;s<a.length;s++)for(var l=0;l<f.length;l++)a[s]===f[l].key_string&&r.push({id:f[l].id,key:a[s],name:f[l].name_string,description:f[l].description_string,type:f[l].format_type_enum});e[i].venue_type=parseInt(e[i].venue_type),e[i].venue_type_name=getVenueTypeName(e[i]),e[i].formats_expanded=r;var c=[e[i].location_street,e[i].location_municipality.trim(),e[i].location_province.trim(),e[i].location_postal_code_1.trim()];for(var u in c.clean(),e[i].formatted_address=c.join(", "),e[i].formatted_location_info=null!=e[i].location_info?e[i].location_info.replace("/(http|https)://([A-Za-z0-9._-/?=&;%,]+)/i",'<a style="text-decoration: underline;" href="$1://$2" target="_blank">$1://$2</a>'):"",e[i].map_word=t.localization.getWord("map").toUpperCase(),e[i].share_word=t.localization.getWord("share").toUpperCase(),e[i].show_qrcode=t.config.show_qrcode,e[i])if(e[i].hasOwnProperty(u)&&"string"==typeof e[i][u]&&-1!==e[i][u].indexOf("#@-@#")){var h=e[i][u].split("#@-@#");e[i][u]=h[h.length-1]}var d=t.getServiceBodyDetails(e[i].service_body_bigint);e[i].serviceBodyUrl=d.url,e[i].serviceBodyPhone=d.helpline,e[i].serviceBodyName=d.name,e[i].serviceBodyDescription=d.description,e[i].serviceBodyContactEmail=d.contact_email,e[i].serviceBodyType=t.localization.getServiceBodyType(d.type);var p=t.getServiceBodyDetails(d.parent_id);void 0!==p&&(e[i].parentServiceBodyId=d.parent_id,e[i].parentServiceBodyUrl=p.url,e[i].parentServiceBodyPhone=p.helpline,e[i].parentServiceBodyName=p.name,e[i].parentServiceBodyDescription=p.description,e[i].parentServiceBodyType=t.localization.getServiceBodyType(p.type)),e[i].meeting_details_url="",t.config.meeting_details_href&&(e[i].meeting_details_url=t.config.meeting_details_href,2===e[i].venue_type&&t.config.virtual_meeting_details_href&&(e[i].meeting_details_url=t.config.virtual_meeting_details_href),e[i].meeting_details_url+="?meeting-id="+e[i].id_bigint+"&language="+t.config.language+"&time_format="+encodeURIComponent(t.config.time_format)+(t.config.force_rootserver_in_querystring?"&root_server="+encodeURIComponent(t.config.root_server):"")),n.push(e[i])}return n},t.showMessage=function(e){jQuery("#"+t.config.placeholder_id).html("crouton: "+e),jQuery("#"+t.config.placeholder_id).removeClass("hide")},t.getUsedVenueType=function(e){let n=getUniqueValuesOfKey(e,"venue_type");return n.includes(3)?Object.values(t.localization.getWord("venue_type_choices")):2===n.length?Object.values(t.localization.getWord("venue_type_choices")):1===n[0]?[t.localization.getWord("venue_type_choices").IN_PERSON]:[t.localization.getWord("venue_type_choices").VIRTUAL]},t.getUsedVisibility=function(e){return[{name:"Visible",value:1}]},t.getUsedNext24=function(e){return[{name:"Next24",value:1}]},t.isEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},t.createBmltMapElement=function(){return document.getElementById("bmlt-map")||jQuery("#bmlt-tabs").before("<div id='bmlt-map' class='bootstrap-bmlt bmlt-map bmlt_map_container_div'></div>"),"bmlt-map"},(t.config.show_map||t.config.map_search)&&void 0===window.croutonMap&&(window.croutonMap=new MeetingMap(t.config),t.config.map_search&&t.searchMap()),t.meetingSearch()}function getTrueResult(e,t){return void 0===e.fn||e.fn(t)}function getFalseResult(e,t){return void 0!==e.inverse&&e.inverse(t)}function getMasterFormatId(e,t){for(var n=0;n<crouton.masterFormatCodes.length;n++){var i=crouton.masterFormatCodes[n];if(i.key_string===e&&i.root_server_uri===t.root_server_uri)return i.id}}crouton_Handlebars.registerHelper("startup",()=>""),crouton_Handlebars.registerHelper("enrich",()=>""),crouton_Handlebars.registerHelper("selectFormatPopup",()=>"formatPopup"),crouton_Handlebars.registerHelper("selectObserver",()=>"observerTemplate"),Crouton.prototype.setConfig=function(e){for(var t in e)t.indexOf("_template")>0&&""===e[t].trim()||(-1===t.indexOf("int_")?"1"===e[t]||1===e[t]?this.config[t]=!0:"0"===e[t]||0===e[t]?this.config[t]=!1:this.config[t]=e[t]:this.config[t]=parseInt(e[t]||0));"embed"===this.config.show_map&&(this.config.show_map=!1,this.config.map_page=!0),this.config.distance_search=parseInt(this.config.distance_search||0),this.config.day_sequence=[],this.config.day_sequence.push(this.config.int_start_day_id);for(var n=1;n<7;n++){var i=this.config.day_sequence[n-1]+1;i>7?this.config.day_sequence.push(i-7):this.config.day_sequence.push(i)}"weekday"===this.config.view_by&&(this.config.include_weekday_button=!0),this.config.has_tabs||(this.config.view_by="byday"),null==this.config.template_path&&(this.config.template_path="templates"),null==this.config.BMLTPlugin_images&&(this.config.BMLTPlugin_images=this.config.template_path),null==this.config.BMLTPlugin_throbber_img_src&&(this.config.BMLTPlugin_throbber_img_src=this.config.template_path+"/Throbber.gif"),this.config.short_language="da-DK"===this.config.language?"dk":this.config.language.substring(0,2),this.localization=new CroutonLocalization(this.config.language)},Crouton.prototype.reset=function(){jQuery("#custom-css").remove(),jQuery("#"+this.config.placeholder_id).html("")},Crouton.prototype.doFilters=function(){return this.filteredPage()},Crouton.prototype.getServiceBodyDetails=function(e){for(var t=0;t<this.all_service_bodies.length;t++){var n=this.all_service_bodies[t];if(n.id===e)return n}},Crouton.prototype.doHandlebars=function(){var e=document.getElementsByTagName("bmlt-handlebar");if(0!==e.length){var t=this;t.lock(function(){if(t.isEmpty(t.meetingData))for(let t=0;t<e.length;t++){e.item(t).innerHTML="Meeting not found!"}else{var n=[t.getServiceBodies([t.meetingData[0].service_body_bigint])];Promise.all(n).then(function(n){hbs_Crouton.localization=t.localization,t.all_service_bodies=[];var i=n[0][0];t.all_service_bodies.push(i);var o=t.enrichMeetings(t.meetingData);crouton_Handlebars.compile("{{startup}}")(o),crouton_Handlebars.compile("{{enrich this}}")(o[0]),t.handlebars(o[0],e)})}})}else console.log("No <bmlt-handlebar> tags found")},Crouton.prototype.meetingModal=function(e){let t=document.createElement("bmlt-handlebar"),n=document.getElementById("bmlt-tabs");n.appendChild(t);let i=document.createElement("span"),o=this.meetingData.find(t=>t.id_bigint==e);t.appendChild(i),i.textContent=this.config.meetingpage_frame_template,this.handlebars(o,n.getElementsByTagName("bmlt-handlebar")),[...n.getElementsByClassName("modal-close")].forEach(e=>e.addEventListener("click",e=>{croutonMap.closeModalWindow(e.target),document.getElementById("meeting_modal").remove()})),document.body.appendChild(document.getElementById("meeting_modal")),croutonMap.openModalWindow(document.getElementById("meeting_modal")),croutonMap.showMap(!0)},Crouton.prototype.searchMap=function(){self=this,self.config.map_search&&"object"==typeof self.config.map_search?(self.config.map_search.width||(self.config.map_search.width=-50),self.config.map_search.location||self.config.map_search.coordinates_search||(self.config.map_search.auto=!0),self.config.map_search.zoom||(self.config.map_search.zoom=14)):self.config.map_search={width:-50,auto:!0,zoom:14},self.config.map_page=!1,self.config.show_map=!1;var e=jQuery("body");""!==self.config.theme&&e.append("<div id='custom-css'><link rel='stylesheet' type='text/css' href='"+self.config.template_path+"/themes/"+self.config.theme+".css'>"),e.append("<div id='custom-css'><style type='text/css'>"+self.config.custom_css+"</style></div>"),self.meetingData=null,self.renderStandaloneMap("#"+self.config.placeholder_id,{config:self.config,meetings:{weekdays:[],buttonFilters:[],buttonFormatFilters:[],bydays:[],meetingCount:0,meetingData:[]},dropdownData:[],location:{latitude:0,longitude:0,zoom:10}})},Crouton.prototype.render=function(e=!1){var t=this;t.lock(function(){var n=jQuery("body");if(""!==t.config.theme&&n.append("<div id='custom-css'><link rel='stylesheet' type='text/css' href='"+t.config.template_path+"/themes/"+t.config.theme+".css'>"),n.append("<div id='custom-css'><style type='text/css'>"+t.config.custom_css+"</style></div>"),t.isEmpty(t.meetingData))t.showMessage("No meetings found for parameters specified.");else{t.unique_service_bodies_ids=getUniqueValuesOfKey(t.meetingData,"service_body_bigint").sort();var i=[t.getMasterFormats(),t.getServiceBodies(t.unique_service_bodies_ids)];Promise.all(i).then(function(n){t.all_service_bodies=[],t.masterFormatCodes=n[0];for(var i=n[1],o=0;o<i.length;o++)t.all_service_bodies.push(i[o]);jQuery.isEmptyObject(t.formatsData)||(t.formatsData=t.formatsData.sortByKey("name_string"));var a=t.enrichMeetings(t.meetingData);a.sort(function(e,t){return e.start_time_raw<t.start_time_raw?-1:e.start_time_raw>t.start_time_raw?1:0});for(var r=0,s=[],l={},c={},u=[];r<7;){var h=t.config.day_sequence[r],d=a.filterByObjectKeyValue("day_of_the_week",h);u.push({day:h,meetings:d}),s.push({hide:t.config.hide_byday_headers,day:t.localization.getDayOfTheWeekWord(h),meetings:d});for(var p=0;p<t.config.button_filters.length;p++){var f=getUniqueValuesOfKey(d,v=t.config.button_filters[p].field).sort();for(o=0;o<f.length;o++){var m=d.filterByObjectKeyValue(v,f[o]);l.hasOwnProperty(v)&&l[v].hasOwnProperty(f[o])?l[v][f[o]]=l[v][f[o]].concat(m):l.hasOwnProperty(v)?l[v][f[o]]=m:(l[v]={},l[v][f[o]]=m)}}for(p=0;p<t.config.button_format_filters.length;p++){f=getUniqueFormatsOfType(d,v=t.config.button_format_filters[p].field);"LANG"==v&&t.config.native_lang&&t.config.native_lang.length>0&&(f=f.filter(e=>e.key!=t.config.native_lang));for(o=0;o<f.length;o++){m=d.filter(e=>e.formats_expanded.map(e=>e.key).indexOf(f[o].key)>=0);c.hasOwnProperty(v)&&c[v].hasOwnProperty(f[o].description)?c[v][f[o].description]=c[v][f[o].description].concat(m):c.hasOwnProperty(v)?c[v][f[o].description]=m:(c[v]={},c[v][f[o].description]=m)}}r++}for(var g={},_=0;_<t.config.button_filters.length;_++){var y=[],v=t.config.button_filters[_].field;for(var b in l[v])y.push(b);y.sort(),g[v]={};for(var w=0;w<y.length;w++)g[v][y[w]]=l[v][y[w]]}t.dayNamesSequenced=t.config.day_sequence.map(e=>t.localization.getDayOfTheWeekWord(e)),t.dropdownData=[],t.config.has_days&&t.dropdownData.push({placeholder:t.localization.getWord("weekday"),pointer:"weekdays",elementId:"filter-dropdown-weekdays",uniqueData:e=>sortListByList(getUniqueValuesOfKey(e,"formatted_day"),t.dayNamesSequenced),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_states&&t.dropdownData.push({placeholder:t.localization.getWord("states"),pointer:"States",elementId:"filter-dropdown-states",uniqueData:e=>getUniqueValuesOfKey(e,"location_province").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_sub_province&&t.dropdownData.push({placeholder:t.localization.getWord("counties"),pointer:"Counties",elementId:"filter-dropdown-sub_province",uniqueData:e=>getUniqueValuesOfKey(e,"location_sub_province").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_cities&&t.dropdownData.push({placeholder:t.localization.getWord("cities"),pointer:"Cities",elementId:"filter-dropdown-cities",uniqueData:e=>getUniqueValuesOfKey(e,"location_municipality").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_neighborhoods&&t.dropdownData.push({placeholder:t.localization.getWord("neighborhood"),pointer:"Neighborhoods",elementId:"filter-dropdown-neighborhoods",uniqueData:e=>getUniqueValuesOfKey(e,"location_neighborhood").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_zip_codes&&t.dropdownData.push({placeholder:t.localization.getWord("postal_codes"),pointer:"Zips",elementId:"filter-dropdown-zipcodes",uniqueData:e=>getUniqueValuesOfKey(e,"location_postal_code_1").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_locations&&t.dropdownData.push({placeholder:t.localization.getWord("locations"),pointer:"Locations",elementId:"filter-dropdown-locations",uniqueData:e=>getUniqueValuesOfKey(e,"location_text").map(e=>e.replace(/(<([^>]+)>)/gi,"")).sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_regions&&t.dropdownData.push({placeholder:t.localization.getWord("regions"),pointer:"Regions",elementId:"filter-dropdown-regions",uniqueData:e=>t.all_service_bodies.filter(t=>getUniqueValuesOfKey(e,"parentServiceBodyId").includes(t.id)).sortByKey("name"),objectPointer:e=>convertToPunyCode(e.name),optionName:e=>e.name}),t.config.has_areas&&t.dropdownData.push({placeholder:t.localization.getWord("areas"),pointer:"Areas",elementId:"filter-dropdown-areas",uniqueData:e=>t.all_service_bodies.filter(t=>getUniqueValuesOfKey(e,"service_body_bigint").includes(t.id)).sortByKey("name"),objectPointer:e=>e.id,optionName:e=>e.name}),t.config.has_groups&&t.dropdownData.push({placeholder:t.localization.getWord("groups"),pointer:"Groups",elementId:"filter-dropdown-groups",uniqueData:e=>getUniqueValuesOfKey(e,"meeting_name").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_venues&&t.dropdownData.push({placeholder:t.localization.getWord("venue_types"),pointer:"Venues",elementId:"filter-dropdown-venues",uniqueData:e=>t.getUsedVenueType(e),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_formats&&t.dropdownData.push({placeholder:t.localization.getWord("formats"),pointer:"Formats",elementId:"filter-dropdown-formats",uniqueData:e=>getUniqueFormats(e),objectPointer:e=>convertToPunyCode(e.name),optionName:e=>e.name}),t.config.has_languages&&t.dropdownData.push({placeholder:t.localization.getWord("languages"),pointer:"Formats",elementId:"filter-dropdown-languages",uniqueData:e=>getUniqueFormatsOfType(e,"LANG").filter(e=>e.key!==t.config.native_lang),objectPointer:e=>convertToPunyCode(e.name),optionName:e=>e.name}),t.config.has_common_needs&&t.dropdownData.push({placeholder:t.localization.getWord("common_needs"),pointer:"Formats",elementId:"filter-dropdown-commonneeds",uniqueData:e=>getUniqueFormatsOfType(e,"FC3"),objectPointer:e=>convertToPunyCode(e.name),optionName:e=>e.name}),e&&t.dropdownData.push({placeholder:"",pointer:"visible",elementId:"filter-dropdown-visibile",uniqueData:e=>t.getUsedVisibility(e),objectPointer:e=>e.value,optionName:e=>e.name}),e&&t.dropdownData.push({placeholder:"",pointer:"next24",elementId:"filter-dropdown-next24",uniqueData:e=>t.getUsedNext24(e),objectPointer:e=>e.value,optionName:e=>e.name}),(e?t.renderStandaloneMap:t.renderView)("#"+t.config.placeholder_id,{config:t.config,meetings:{weekdays:u,buttonFilters:g,buttonFormatFilters:c,bydays:s,meetingCount:t.meetingData.length,meetingData:t.meetingData},dropdownData:t.dropdownData},function(){if((null!=t.config.map_search||t.config.show_map)&&(jQuery(".bmlt-data-row").css({cursor:"pointer"}),jQuery(".bmlt-data-row").click(function(e){"A"!==e.target.tagName&&croutonMap.rowClick(parseInt(this.id.replace("meeting-data-row-","")))})),jQuery("#"+t.config.placeholder_id).addClass("bootstrap-bmlt"),jQuery("#filter-dropdown-visibile").removeClass("crouton-select").addClass("hide"),jQuery("#filter-dropdown-next24").removeClass("crouton-select").addClass("hide"),jQuery(".crouton-select").select2({dropdownAutoWidth:!0,allowClear:!1,width:"resolve",minimumResultsForSearch:1,dropdownCssClass:"bmlt-drop",matcher:function(e,n){return"a-"===n.id?n:(elementId=n.element.parentElement.id,e.hasOwnProperty("term")&&n.text.toUpperCase().indexOf(e.term.toUpperCase())<0?null:(dropdown=t.dropdownData.find(e=>e.elementId===elementId),"undefined"==typeof dropdown?n:void 0===dropdown.optionsShowing?n:dropdown.optionsShowing.includes(n.text)?n:null))}}),jQuery('[data-toggle="popover"]').popover().click(function(e){e.preventDefault(),e.stopPropagation()}),jQuery("html").on("click",function(e){"popover"!==jQuery(e.target).data("toggle")&&jQuery('[data-toggle="popover"]').popover("hide")}),jQuery(".filter-dropdown").on("select2:select",function(e){jQuery(".bmlt-page:not(#byfield_embeddedMapPage)").each(function(){t.hidePage(this)}),t.filteredPage(),t.filtering||t.showView("byday"===t.config.view_by?"byday":"day")}),jQuery("#day").on("click",function(){t.showView("byday"===t.config.view_by?"byday":"day")}),jQuery(".filterButtonLogic").on("click",function(e){t.filteredView(e.target.attributes["data-field"].value)}),jQuery(".displayTypeLogic").on("click",function(e){jQuery(".displayTypeLogic").each(function(){e.target==this?jQuery(this).addClass("hide"):jQuery(this).removeClass("hide")})}),jQuery("#displayTypeButton_tablePages").on("click",function(e){t.hidePage("#byfield_embeddedMapPage"),t.showFilteredMeetingsAsTable()}),jQuery("#filterButton_embeddedMapPage").on("click",function(e){t.filteredView(e.target.attributes["data-field"].value,!1),croutonMap.showMap()}),jQuery(".custom-ul").on("click","a",function(e){jQuery(".bmlt-page").each(function(n){t.hidePage("#"+this.id),t.showPage("#"+e.target.id)})}),t.config.has_tabs){jQuery(".nav-tabs a").on("click",function(e){e.preventDefault(),jQuery(this).tab("show")});var n=(new Date).getDay();n++,jQuery('.nav-tabs a[href="#tab'+n+'"]').tab("show"),jQuery("#tab"+n).show()}if(t.showPage(".bmlt-header"),t.showPage(".bmlt-tabs"),t.showView(t.config.view_by),""!==t.config.default_filter_dropdown){var i=t.config.default_filter_dropdown.toLowerCase().split("=");jQuery("#filter-dropdown-"+i[0]).val("a-"+i[1]).trigger("change").trigger("select2:select")}t.config.show_distance&&t.getCurrentLocation(t.showLocation),!t.config.show_map||t.config.refresh_map||e||(croutonMap.initialize(t.createBmltMapElement(),t.meetingData),jQuery("#bmlt-map").removeClass("hide")),t.config.map_page&&!e&&croutonMap.initialize("byfield_embeddedMapPage",t.meetingData),t.config.refresh_map&&croutonMap.refreshMeetings(t.meetingData,!0,!0),null!=t.config.on_complete&&isFunction(t.config.on_complete)&&t.config.on_complete()},!e)})}})};var masterFormatVenueType={IN_PERSON:"IN_PERSON",VIRTUAL:"VIRTUAL"},venueType={IN_PERSON:1,VIRTUAL:2,HYBRID:3};function getVenueTypeName(e){return e.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",e),getFormats(e))?[crouton.localization.getVenueType(masterFormatVenueType.VIRTUAL),crouton.localization.getVenueType(masterFormatVenueType.IN_PERSON)]:e.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",e),getFormats(e))?[crouton.localization.getVenueType(masterFormatVenueType.VIRTUAL)]:[crouton.localization.getVenueType(masterFormatVenueType.IN_PERSON)]}function getFormats(e){return""!==e.formats?e.format_shared_id_list.split(","):[]}function convertToPunyCode(e){return void 0!==e?punycode.toASCII(e.toLowerCase()).replace(/\W|_/g,"-"):""}function arrayColumn(e,t){for(var n=[],i=0;i<e.length;i++)n.push(e[i][t]);return n}function getUniqueValuesOfKey(e,t){return e.reduce(function(e,n){return n[t]&&!~e.indexOf(n[t])&&e.push(n[t]),e},[])}function getValuesFromObject(e){var t=[];for(key in e)e.hasOwnProperty(key)&&t.push(e[key]);return t}function getUniqueFormats(e){return e.reduce(function(e,t){return t.formats_expanded?e.concat(t.formats_expanded.filter(t=>e.map(e=>e.key).indexOf(t.key)<0)):e},[])}function getUniqueFormatsOfType(e,t){return e.reduce(function(e,n){if(!n.formats_expanded)return e;var i=n.formats_expanded.filter(e=>e.type===t);return i&&(e=e.concat(i.filter(t=>e.map(e=>e.key).indexOf(t.key)<0))),e},[])}function arrayUnique(e,t,n){for(t=e.length;n=--t;)for(;n--;)e[t]!==e[n]||e.splice(n,1);return e}function sortListByList(e,t){for(var n=[],i=0;i<t.length;i++)for(var o=0;o<e.length;o++)t[i]===e[o]&&n.push(e[o]);return n}function inArray(e,t){return-1!==t.indexOf(e)}function isFunction(e){return e&&"[object Function]"==={}.toString.call(e)}function getServiceBodiesQueryString(e){for(var t="",n=0;n<e.length;n++)t+="&services[]="+e[n];return t}function MeetingMap(e){var t=new MapDelegate(e),n=null,i=null;const o=e;o.maxZoom||(o.maxZoom=17),o.minZoom||(o.minZoom=6),o.marker_contents_template||(o.marker_contents_template=croutonDefaultTemplates.marker_contents_template);var a,r=null,s=null,l=null,c=[];function u(e,t){l=e,c=t}function h(e,n,s=null,l=null){if(e){crouton_Handlebars.registerPartial("markerContentsTemplate",o.marker_contents_template),i=e,function(e){if(!e.myThrobber&&(e.myThrobber=document.createElement("div"),e.myThrobber)){e.myThrobber.id=e.id+"Throbber_div",e.myThrobber.className="bmlt_map_throbber_div",e.myThrobber.style.display="none",e.appendChild(e.myThrobber);var t=document.createElement("img");t?(t.src=o.BMLTPlugin_throbber_img_src,t.className="bmlt_mapThrobber_img",t.id=e.id+"Throbber_img",t.alt="AJAX Throbber",e.myThrobber.appendChild(t)):e.myThrobber=null}}(e),o.map_search?(o.map_search.width||(o.map_search.width=-50),o.map_search.location||o.map_search.coordinates_search||(o.map_search.auto=!0),(o.map_search.latitude||o.map_search.longitude)&&(o.lat=o.map_search.latitude,o.lng=o.map_search.longitude),o.map_search.zoom&&(o.zoom=o.map_search.zoom)):g();let h={latitude:o.lat,longitude:o.lng,zoom:o.zoom};s&&(h={latitude:s.lat,longitude:s.lng}),t.createMap(e,h)&&(t.addListener("zoomend",function(e){(function(){if(void 0===v)return!0;if(v!==E())return v=E(),!0;if(!1===E())return!0;return!1})()&&r&&T()},!1),o.map_search?t.addControl((c=hbs_Crouton.templates.mapSearch,(u=document.createElement("div")).innerHTML=c(),u.querySelector("#map-search-button").addEventListener("click",k),u.querySelector("#bmltsearch-nearbyMeetings").addEventListener("click",f),u.querySelector("#bmltsearch-text-button").addEventListener("click",function(){let e=document.getElementById("bmltsearch-goto-text").value.trim();""!==e&&(g(),t.callGeocoder(e,null,_),w(a))}),u.querySelector("#bmltsearch-clicksearch").addEventListener("click",m),[...u.getElementsByClassName("modal-close")].forEach(e=>e.addEventListener("click",e=>w(e.target))),(a=u.querySelector("#bmltsearch_modal")).parentElement.removeChild(a),u),"topleft",l):n&&(n.imageDir=o.BMLTPlugin_images,t.addControl(function(){rules=['.onoffswitch-inner:before {\n\t\tcontent: "__text__";\n\t\tpadding-left: 10px;\n\t\tbackground-color: #2d5c88; color: #FFFFFF;\n\t\t}','.onoffswitch-inner:after {\n\t\tcontent: "__text__";\n\t\tpadding-left: 30px;\n\t\tbackground-color: #EEEEEE; color: #2d5c88;\n\t\ttext-align: left;\n\t\t}'],rules[0]=rules[0].replace("__text__",crouton.localization.getWord("Upcoming Meetings")),rules[1]=rules[1].replace("__text__",crouton.localization.getWord("All Meetings"));var e=document.createElement("div");return e.innerHTML='\n\t<div id="next24_toggle" title="Next24_toggle" style="background: rgba(0, 0, 0, 0); cursor: pointer;">\n\t\t <div class="onoffswitch">\n\t\t\t <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="next24onoffswitch"/>\n\t\t\t <label class="onoffswitch-label" for="next24onoffswitch">\n\t\t\t\t <span class="onoffswitch-inner"></span>\n\t\t\t\t <span class="onoffswitch-switch"></span>\n\t\t\t </label>\n\t\t </div>\n\t</div>',e.querySelector(".onoffswitch").addEventListener("click",function(e){e.pointerId<0||(d=!d,p=!1,crouton.filterNext24(d),p=!0)}),document.styleSheets[0].insertRule(rules[0]),document.styleSheets[0].insertRule(rules[1]),e}(),"topleft"),t.addControl(function(e){var n=hbs_Crouton.templates.mapMenu,i=document.createElement("div");return i.innerHTML=n(e),i.querySelector("#nearbyMeetings").addEventListener("click",function(e){navigator.geolocation&&navigator.geolocation.getCurrentPosition(function(e){coords=e.coords,t.setViewToPosition(coords,B)}),dropdownContent=document.getElementById("map-menu-dropdown").style.display="none"}),i.querySelector("#lookupLocation").addEventListener("click",S),i.querySelector("#filterMeetings").addEventListener("click",x),i.querySelector("#showAsTable").addEventListener("click",C),i.querySelector("#fullscreenMode").addEventListener("click",F),i.querySelector("#map-menu-button").addEventListener("click",function(e){let t=document.getElementById("map-menu-dropdown");"inline-block"==t.style.display?t.style.display="none":t.style.display="inline-block"}),[...i.getElementsByClassName("modal-close")].forEach(e=>e.addEventListener("click",e=>w(e.target))),i.querySelector("#close_table").addEventListener("click",P),i.querySelector("#goto-text").addEventListener("keydown",function(e){e&&"Enter"==e.key&&(w(e.target),M(b))}),i.querySelector("#goto-button").addEventListener("click",function(e){w(e.target),M(b)}),i}(n),"topright",l)))}var c,u}var d=!1;var p=!0;function f(){navigator.geolocation&&navigator.geolocation.getCurrentPosition(function(e){g(),crouton.searchByCoordinates(e.coords.latitude,e.coords.longitude,o.map_search.width)},k),w(a)}function m(e){t.clickSearch(e,function(e,t){g(),crouton.searchByCoordinates(e,t,o.map_search.width)}),w(a)}function g(){i.myThrobber&&(i.myThrobber.style.display="block")}function _(e){let n=t.getGeocodeCenter(e);document.getElementById("bmltsearch-goto-text")&&(document.getElementById("bmltsearch-goto-text").value=""),g(),crouton.searchByCoordinates(n.lat,n.lng,o.map_search.width)}function y(e,n=!0,a=!1){if(null===e&&o.map_search)o.map_search.auto?f():o.map_search.coordinates_search?(g(),o.map_search.coordinates_search=!1,crouton.searchByCoordinates(o.map_search.latitude,o.map_search.longitude,o.map_search.width)):o.map_search.location?t.callGeocoder(o.map_search.location,null,_):k();else{if(r=e.filter(e=>2!=e.venue_type),n){const e=r.reduce(function(e,t){return e.push([t.latitude,t.longitude]),e},[]);t.fitBounds(e)}T(),i.myThrobber&&(i.myThrobber.style.display="none"),o.centerMe?navigator.geolocation?navigator.geolocation.getCurrentPosition(function(e){coords={latitude:e.coords.latitude,longitude:e.coords.longitude},t.setViewToPosition(coords,B)},S):a&&S():o.goto&&t.callGeocoder(goto,B)}}var v,b=!1;function w(e){if(t.modalOff(),!e.classList.contains("modal"))return w(e.parentNode);e.style.display="none",b&&(b=!1,H()||F())}function A(e){H()&&(b=!0,F()),e.style.display="block",dd=document.getElementById("map-menu-dropdown"),dd&&(dd.style.display="none"),t.modalOn()}function x(e){A(document.getElementById("filter_modal"))}function k(e){document.getElementById("bmltsearch_modal")||i.appendChild(a),A(a)}function S(e=null){A(document.getElementById("geocoding_modal"))}function C(e=null){N(),jQuery("#bmlt-tabs").append(jQuery("#table_page")),jQuery("#table_page").removeClass("hide"),jQuery("#bmlt-map").css("display","none"),jQuery("#table_page").css("max-height",jQuery("#bmlt-map").height()),jQuery("#bmlt-maptable-div").css("height",jQuery("#bmlt-map").height()-jQuery("#bmlt-maptable-header").height()),document.getElementById("map-menu-dropdown").style.display="none"}function P(e=null){N(!1),jQuery("#table_page").addClass("hide"),jQuery("#bmlt-map").css("display","block")}function M(e){return""!=document.getElementById("goto-text").value?e?t.addListener("idle",function(){t.callGeocoder(document.getElementById("goto-text").value,B)},!0):t.callGeocoder(document.getElementById("goto-text").value,B):alert(""),!0}function T(e=!1){if(r.length)try{O(e)}catch(n){console.log(n),t.addListener("projection_changed",function(t){O(e)},!0)}else alert(crouton.localization.getWord("no meetings found"))}function E(){return void 0===t.getZoom()||void 0!==o.clustering&&t.getZoom()<o.clustering}function O(e=!1){t.clearAllMarkers(),t.removeClusterLayer();const n=j(r);var i=E()||1==n.length?n.map(e=>[e]):function(e){var n=new Array;for(const[a,r]of Object.entries((o=e,o.reduce(function(e,t){return e.hasOwnProperty(t.location_municipality)?e[t.location_municipality].push(t):e[t.location_municipality]=[t],e},{})))){var i=r.map(e=>(item=new Object,item.matched=!1,item.meeting=e,item.coords=t.fromLatLngToPoint(e.latitude,e.longitude),item));i.reduce(function(e,t,n){if(t.matched)return e;matches=[t.meeting];var o=t.coords;for(c2=n+1;c2<r.length;c2++)if(!i[c2].matched){var a=i[c2].coords,s=o.x-8,l=o.x+8,c=o.y-8,u=o.y+8;a.x>=s&&a.x<=l&&a.y>=c&&a.y<=u&&(matches.push(i[c2].meeting),i[c2].matched=!0)}return matches.sort(D),e.push(matches),e},n)}var o;return n}(n);if(E()&&t.createClusterLayer(),i.forEach(function(e){var n,i,o;i=[(n=e)[0].latitude,n[0].longitude],o=crouton_Handlebars.compile(z)(n),t.createMarker(i,n.length>1,o,null,n.map(e=>parseInt(e.id_bigint)))}),t.addClusterLayer(),e){const e=n.reduce(function(e,t){return e.push([t.latitude,t.longitude]),e},[]);t.fitBounds(e)}}function D(e,t){var n=parseInt(e.weekday_tinyint,10),i=parseInt(t.weekday_tinyint,10);if(n<o.start_week&&(n+=7),i<o.start_week&&(i+=7),n<i)return-1;if(n>i)return 1;var a=e.start_time.toString().split(":"),r=t.start_time.toString().split(":");return parseInt(a[0])<parseInt(r[0])?-1:parseInt(a[0])>parseInt(r[0])?1:parseInt(a[1])<parseInt(r[1])?-1:parseInt(a[1])>parseInt(r[1])?1:0}const z='\n\t<div class="accordion">\n\t{{#each this}}<div>\n\t\t\t<input type="radio" name="panel" id="panel-{{this.id_bigint}}" {{#unless @index}}checked{{/unless}}/>\n\t\t\t<label for="panel-{{this.id_bigint}}">{{this.formatted_day}} {{this.start_time_formatted}}</label>\n\t\t\t<div class="marker_div_meeting" id="{{this.id_bigint}}">\n\t\t\t\t{{> markerContentsTemplate}}\n\t\t\t</div>\n\t</div>{{/each}}\n\t</div>\n\t';function I(e){return r.filter(n=>t.contains(e,n.latitude,n.longitude))}function N(e=!0){let n=(e?I(t.getBounds()):r).map(e=>e.id_bigint);jQuery(".bmlt-data-row").each(function(e,t){t.dataset.visible=n.includes(t.id.split("-").pop())?"1":"0"}),jQuery("#byday").removeClass("hide"),jQuery("#filter-dropdown-visibile").val("a-1"),p=!1,crouton.doFilters(),p=!0}function I(e){return r.filter(n=>t.contains(e,n.latitude,n.longitude))}function B(e){return j(I(e))}function j(e){var t=e.filter(e=>2!=e.venue_type);return null!=s?t.filter(e=>s.includes(e.id_bigint)):t}var R=!1;function H(){return(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement)===i||R}function F(e){var t=i;H()?e&&e.pseudoFullscreen?W(!1):document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():_disablePseudoFullscreen(t):e&&e.pseudoFullscreen?W(!0):t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):t.msRequestFullscreen?t.msRequestFullscreen():_enablePseudoFullscreen(t)}R=!1;function W(e){R=e;var n=i;e?L.DomUtil.addClass(n,"leaflet-pseudo-fullscreen"):L.DomUtil.removeClass(n,"leaflet-pseudo-fullscreen"),t.invalidateSize()}this.initialize=function e(n,i,o=null,a=null,r=!0,s){if(!t.isApiLoaded())return u(e,[n,i,o,a,r,s]),void t.loadApi();h(document.getElementById(n),o,a,s),y(i,r,!0)},this.showMap=function(e=!1){e&&n?n.invalidateSize():(t.invalidateSize(),t.fitBounds((s?r.filter(e=>s.includes(e.id_bigint)):r).reduce(function(e,t){return e.push([t.latitude,t.longitude]),e},[])))},this.fillMap=function(e){s=e,r&&T(p)},this.rowClick=function(e){let n=r.find(t=>t.id_bigint==e);n&&(t.getZoom()>=14&&t.contains(t.getBounds(),n.latitude,n.longitude)?t.openMarker(e):t.setViewToPosition({latitude:n.latitude,longitude:n.longitude},B,function(){t.openMarker(e)}))},this.apiLoadedCallback=function(){l(...c)},this.refreshMeetings=y,this.openModalWindow=A,this.closeModalWindow=w,this.loadPopupMap=function e(i,a,r=null){if(!t.isApiLoaded())return u(e,[i,a,r]),void t.loadApi();let s=document.getElementById(i),l=new MapDelegate(o);r&&(loc={latitude:r.lat,longitude:r.lng,zoom:r.zoom}),l.createMap(s,loc)&&(l.createMarker([a.latitude,a.longitude],!1,null,"",[parseInt(a.id_bigint)]),l.addClusterLayer(),n=l)}}function MapDelegate(e){var t,n,i=L.icon({iconUrl:e.BMLTPlugin_images+"/NAMarker.png",shadowUrl:e.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[0,-32]}),o=L.icon({iconUrl:e.BMLTPlugin_images+"/NAMarkerG.png",shadowUrl:e.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[0,-32]}),a=L.icon({iconUrl:e.BMLTPlugin_images+"/NAMarkerSel.png",shadowUrl:e.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[12,-32]}),r=[],s=null;function l(e,n){if(!t)return 12;for(var i=t.getZoom(),o=t.getCenter(),a=t.getBounds(),r=!1;0==n(a).length&&i>6;){r=!0,i-=1;var s=L.latLng(2*a.getNorthEast().lat-o.lat,2*a.getNorthEast().lng-o.lng),l=L.latLng(2*a.getSouthWest().lat-o.lat,2*a.getSouthWest().lng-o.lng);a=L.latLngBounds(l,s)}if(!e&&!r&&i<12){for(var c=n(a).length;i<12&&c>0;){i+=1;s=L.latLng(.5*(a.getNorthEast().lat+o.lat),.5*(a.getNorthEast().lng+o.lng)),l=L.latLng(.5*(a.getSouthWest().lat+o.lat),.5*(a.getSouthWest().lng+o.lng));c=n(a=L.latLngBounds(l,s)).length}0==c&&(i-=1)}return i}function c(e,t,n){var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===i.readyState){var e;if(200!==i.status&&304!==i.status)e="";else if("string"==typeof i.response)try{e=JSON.parse(i.response)}catch(t){e=i.response}else e=i.response;n(e)}},i.open("GET",e+function(e,t,n){var i=[];for(var o in e){var a=encodeURIComponent(n?o.toUpperCase():o),r=e[o];if(L.Util.isArray(r))for(var s=0;s<r.length;s++)i.push(a+"="+encodeURIComponent(r[s]));else i.push(a+"="+encodeURIComponent(r))}return(t&&-1!==t.indexOf("?")?"&":"?")+i.join("&")}(t),!0),i.responseType="json",i.setRequestHeader("Accept","application/json"),i.setRequestHeader("Accept","*/*"),i.send(null)}this.createMap=function(i,o){if(!o)return null;myOptions={minZoom:e.minZoom,maxZoom:e.maxZoom,doubleClickZoom:!1,scrollWheelZoom:!1},myOptions=Object.assign(myOptions,{center:new L.latLng(o.latitude,o.longitude),zoom:o.zoom});var a=i.offsetWidth;0==a&&(a=i.parentNode.offsetWidth);var r=i.offsetHeight;return 0==r&&(r=a),r>1.4*a&&(i.style.height=1.6*a+"px",i.parentNode.style.height=i.style.height),t=new L.Map(i,myOptions),n=L.tileLayer(e.tileUrl,e.tileOptions).addTo(t),t.zoomControl.setPosition("bottomright"),t.on("moveend",function(){n.redraw()}),t},this.addListener=function(e,n,i){"idle"==e&&(e="moveend"),i?t.once(e,n):t.on(e,n)},this.addControl=function(e,n,i){var o,a=L.Control.extend({onAdd:function(t){return e},onRemove:function(e){}});if(i){const t=new MutationObserver(function(n){n.forEach(n=>{n.addedNodes.forEach(n=>{n===e&&(t.disconnect(),i())})})});t.observe(document,{childList:!0,subtree:!0})}(o={position:n},new a(o)).addTo(t)},this.setViewToPosition=function(e,n,i=null){var o=L.latLng(e.latitude,e.longitude);t.flyTo(o),t.on("moveend",function(e){t.off("moveend"),newZoom=l(!1,n),t.getZoom()!=newZoom?(t.setZoom(newZoom),t.on("zoomend",function(){t.off("zoomend"),t.invalidateSize(),i&&t.on("load moveend",i)})):i&&i()})},this.clearAllMarkers=function(){r&&r.forEach(e=>{e.marker.closePopup(),t.removeLayer(e.marker)}),r=[]},this.fromLatLngToPoint=function(e,n){return t.latLngToLayerPoint(L.latLng(e,n))},this.callGeocoder=function(i,o,a=function(e,i){e&&e[0]&&e[0].bbox?(t.flyToBounds(e[0].bbox),t.on("moveend",function(e){t.off("moveend"),t.setZoom(l(!0,i)),t.on("moveend",function(){n.redraw()})})):alert(crouton.localization.getWord("address_lookup_fail"))}){geoCodeParams={},e.region&&""!==e.region.trim()&&(geoCodeParams.countrycodes=e.region),e.bounds&&e.bounds.north&&""!==e.bounds.north.trim()&&e.bounds.east&&""!==e.bounds.east.trim()&&e.bounds.south&&""!==e.bounds.south.trim()&&e.bounds.west&&""!==e.bounds.west.trim()&&(geoCodeParams.viewbox=e.bounds.south+","+e.bounds.west+","+e.bounds.north+","+e.bounds.east),function(t,n,i,o){var a=e.nominatimUrl;a||(a="https://nominatim.openstreetmap.org/"),c(a+"search",L.extend({q:t,limit:5,format:"json",addressdetails:1},n),L.bind(function(e){var t=[];if(e&&e.length){for(var n=e.length-1;n>=0;n--){for(var a=e[n].boundingbox,r=0;r<4;r++)a[r]=parseFloat(a[r]);t[n]={icon:e[n].icon,name:e[n].display_name,bbox:L.latLngBounds([a[0],a[2]],[a[1],a[3]]),center:L.latLng(e[n].lat,e[n].lon),properties:e[n]}}o?i(t,o):i(t)}else alert(crouton.localization.getWord("address_lookup_fail"))},this))}(i,geoCodeParams,a,o)},this.setZoom=function(e,n=0){n>0?t.setZoom(n):t.setZoom(l(!1,e))},this.getZoom=function(){return t.getZoom()},this.createMarker=function(e,n,l,c,u){var h=n?o:i;let d=function(e){let t=e.id.split("-")[1];jQuery(".bmlt-data-row > td").removeClass("rowHighlight"),jQuery("#meeting-data-row-"+t+" > td").addClass("rowHighlight"),"undefined"!=typeof crouton&&crouton.dayTabFromId(t)};var p=L.marker(e,{icon:h,title:c}).bindPopup(l);s?s.addLayer(p):p.addTo(t),p.on("popupopen",function(e){p.oldIcon=p.getIcon(),p.setIcon(a),t.on("zoomstart",function(){p.closePopup()}),jQuery("input[type=radio][name=panel]:checked").each(function(e,t){d(t)}),jQuery("input[type=radio][name=panel]").change(function(){d(this)})}),p.on("popupclose",function(e){p.setIcon(p.oldIcon),jQuery(".bmlt-data-row > td").removeClass("rowHighlight")}),r.push({ids:u,marker:p})},this.contains=function(e,t,n){return e.contains(L.latLng(t,n))},this.getBounds=function(){return t.getBounds()},this.invalidateSize=function(){t.invalidateSize()},this.zoomOut=function(e){t.setZoom(l(!0,e))},this.fitBounds=function(e){const n=e.reduce(function(e,t){return e.extend(t),e},L.latLngBounds());t.fitBounds(n)},this.openMarker=function(e){marker=r.find(t=>t.ids.includes(e)),marker&&(marker.marker.openPopup(),jQuery("#panel-"+e).prop("checked",!0),"undefined"!=typeof crouton&&crouton.dayTabFromId(e)),jQuery(".bmlt-data-row > td").removeClass("rowHighlight"),jQuery("#meeting-data-row-"+e+" > td").addClass("rowHighlight")},this.isApiLoaded=function(){return!0},this.createClusterLayer=function(){s=L.markerClusterGroup()},this.addClusterLayer=function(){s&&t.addLayer(s)},this.removeClusterLayer=function(){s&&t.removeLayer(s),s=null},this.clickSearch=function(e,n){L.DomUtil.addClass(t._container,"crosshair-cursor-enabled"),t.once("click",function(e){t.once("click",function(e){L.DomUtil.removeClass(t._container,"crosshair-cursor-enabled"),n(e.latlng.lat,e.latlng.lng)})})},this.getGeocodeCenter=function(e){if(e&&e[0])return{lat:e[0].center.lat,lng:e[0].center.lng};alert(crouton.localization.getWord("address_lookup_fail"))},this.modalOn=function(){t.dragging.disable()},this.modalOff=function(){t.dragging.enable()}}crouton_Handlebars.registerHelper("getDayOfTheWeek",function(e){return hbs_Crouton.localization.getDayOfTheWeekWord(e)}),crouton_Handlebars.registerHelper("getWord",function(e){var t=hbs_Crouton.localization.getWord(e);return void 0!==t?t:(console.log("no translation for '"+e+"'"),e)}),crouton_Handlebars.registerHelper("formatDataPointer",function(e){return convertToPunyCode(e)}),crouton_Handlebars.registerHelper("call",function(e,t){return e(t)}),crouton_Handlebars.registerHelper("canShare",function(e,t){return navigator.share?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isVirtual",function(e,t){return(e.venue_type===venueType.HYBRID||e.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("HY",e),getFormats(e))&&!inArray(getMasterFormatId("TC",e),getFormats(e))||inArray(getMasterFormatId("VM",e),getFormats(e)))&&(e.virtual_meeting_link||e.phone_meeting_number||e.virtual_meeting_additional_info)?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isVirtualOnly",function(e,t){return e.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isHybrid",function(e,t){return e.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isHybridOnly",function(e,t){return e.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isTemporarilyClosed",function(e,t){return inArray(getMasterFormatId("TC",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isNotTemporarilyClosed",function(e,t){return inArray(getMasterFormatId("TC",e),getFormats(e))?getFalseResult(t,this):getTrueResult(t,this)}),crouton_Handlebars.registerHelper("isInPersonOrHybrid",function(e,t){return e.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",e),getFormats(e))?getFalseResult(t,this):getTrueResult(t,this)}),crouton_Handlebars.registerHelper("isInPersonOnly",function(e,t){return e.venue_type===venueType.IN_PERSON||!inArray(getMasterFormatId("VM",e),getFormats(e))&&!inArray(getMasterFormatId("HY",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isVirtualOrHybrid",function(e,t){return e.venue_type===venueType.VIRTUAL||e.venue_type===venueType.HYBRID||inArray(getMasterFormatId("VM",e),getFormats(e))||inArray(getMasterFormatId("HY",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("hasFormats",function(e,t,n){for(var i=!1,o=t.formats.split(","),a=e.split(","),r=0;r<a.length;r++)i=inArray(a[r],o);return i?getTrueResult(n,this):getFalseResult(n,this)}),crouton_Handlebars.registerHelper("temporarilyClosed",function(e,t){return void 0!==e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("TC",e))?e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("TC",e)).description:"FACILITY IS TEMPORARILY CLOSED"}),crouton_Handlebars.registerHelper("meetsVirtually",function(e,t){return void 0!==e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("VM",e))?e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("VM",e)).description:"MEETS VIRTUALLY"}),crouton_Handlebars.registerHelper("meetsHybrid",function(e,t){return void 0!==e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("HY",e))?e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("HY",e)).description:"MEETS VIRTUALLY AND IN PERSON"}),crouton_Handlebars.registerHelper("qrCode",function(e,t){return new crouton_Handlebars.SafeString("<img alt='qrcode' src='https://chart.googleapis.com/chart?chs=100x100&cht=qr&chl="+e+"&choe=UTF-8&chld=L|0'>")}),crouton_Handlebars.registerHelper("formatDataFromArray",function(e){for(var t=[],n=0;n<e.length;n++)t.push(convertToPunyCode(e[n]));return t.join(" ")}),crouton_Handlebars.registerHelper("formatDataPointerFormats",function(e){for(var t=[],n=0;n<e.length;n++)t.push(convertToPunyCode(e[n].name));return t.join(" ")}),crouton_Handlebars.registerHelper("formatDataKeyFormats",function(e){for(var t=[],n=0;n<e.length;n++)t.push(convertToPunyCode(e[n].key));return t.join(" ")}),crouton_Handlebars.registerHelper("formatLink",function(e){return 0===e.indexOf("tel:")||0===e.indexOf("http")?new crouton_Handlebars.SafeString("<a href='"+e+"' target='_blank'>"+e+"</a>"):e}),crouton_Handlebars.registerHelper("webLinkify",function(e){return new crouton_Handlebars.SafeString("<a href='"+e+"' target='_blank'>"+e+"</a>")}),crouton_Handlebars.registerHelper("phoneLinkify",function(e){return new crouton_Handlebars.SafeString("<a href='tel:"+e+"' target='_blank'>"+e+"</a>")}),crouton_Handlebars.registerHelper("ifEquals",function(e,t,n){return e===t?n.fn(this):n.inverse(this)}),crouton_Handlebars.registerHelper("greaterThan",function(e,t,n){return e>t?n.fn(this):n.inverse(this)}),crouton_Handlebars.registerHelper("lessThan",function(e,t,n){return e<t?n.fn(this):n.inverse(this)}),crouton_Handlebars.registerHelper("times",function(e,t){for(var n="",i=1;i<=e;++i)n+=t.fn(i);return n}),Crouton.prototype.getAdjustedDateTime=function(e,t,n){var i,o=!0===this.config.auto_tz_adjust||"true"===this.config.auto_tz_adjust;o?(n||(n="UTC"),i=(i=moment.tz(n).set({hour:t.split(":")[0],minute:t.split(":")[1],second:0}).isoWeekday(e)).clone().tz(moment.tz.guess())):i=moment().set({hour:t.split(":")[0],minute:t.split(":")[1],second:0}).isoWeekday(e);var a=o?moment.tz(moment.tz.guess()):moment();return a>i?i.add(1,"weeks"):a.isoWeekday()==i.isoWeekday()&&0==i.diff(a,"days")&&i.add(1,"weeks"),i},Array.prototype.clone=function(){return this.slice()},Array.prototype.filterByObjectKeyValue=function(e,t){for(var n=[],i=0;i<this.length;i++)this[i][e]===t&&n.push(this[i]);return n},Array.prototype.getArrayItemByObjectKeyValue=function(e,t){for(var n=0;n<this.length;n++)if(this[n][e]===t)return this[n]},Array.prototype.clean=function(){for(var e=0;e<this.length;e++)""===this[e]&&(this.splice(e,1),e--);return this},Array.prototype.exclude=function(e,t){for(var n=this.length;n--;)for(var i=0;i<e.length;i++)e[i]===this[n][t]&&this.splice(n,1);return this},Array.prototype.sortByKey=function(e){return this.sort(function(t,n){return t[e]<n[e]?-1:t[e]>n[e]?1:0}),this},MeetingMap.prototype.initialize=null,MeetingMap.prototype.showMap=null,MeetingMap.prototype.fillMap=null,MeetingMap.prototype.rowClick=null,MeetingMap.prototype.apiLoadedCallback=null,MeetingMap.prototype.refreshMeetings=null,MeetingMap.prototype.openModalWindow=null,MeetingMap.prototype.closeModalWindow=null,MeetingMap.prototype.loadPopupMap=null,MapDelegate.prototype.createMap=null,MapDelegate.prototype.addListener=null,MapDelegate.prototype.addControl=null,MapDelegate.prototype.setViewToPosition=null,MapDelegate.prototype.clearAllMarkers=null,MapDelegate.prototype.fromLatLngToPoint=null,MapDelegate.prototype.callGeocoder=null,MapDelegate.prototype.setZoom=null,MapDelegate.prototype.getZoom=null,MapDelegate.prototype.createMarker=null,MapDelegate.prototype.contains=null,MapDelegate.prototype.getBounds=null,MapDelegate.prototype.invalidateSize=null,MapDelegate.prototype.zoomOut=null,MapDelegate.prototype.fitBounds=null,MapDelegate.prototype.openMarker=null,MapDelegate.prototype.isApiLoaded=null,MapDelegate.prototype.createClusterLayer=null,MapDelegate.prototype.addClusterLayer=null,MapDelegate.prototype.removeClusterLayer=null,MapDelegate.prototype.clickSearch=null,MapDelegate.prototype.getGeocodeCenter=null,MapDelegate.prototype.modalOn=null,MapDelegate.prototype.modalOff=null,function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.L={})}(this,function(e){"use strict";var t=Object.freeze;function n(e){var t,n,i,o;for(n=1,i=arguments.length;n<i;n++)for(t in o=arguments[n])e[t]=o[t];return e}Object.freeze=function(e){return e};var i=Object.create||function(e){return o.prototype=e,new o};function o(){}function a(e,t){var n=Array.prototype.slice;if(e.bind)return e.bind.apply(e,n.call(arguments,1));var i=n.call(arguments,2);return function(){return e.apply(t,i.length?i.concat(n.call(arguments)):arguments)}}var r=0;function s(e){return e._leaflet_id=e._leaflet_id||++r,e._leaflet_id}function l(e,t,n){var i,o,a,r;return r=function(){i=!1,o&&(a.apply(n,o),o=!1)},a=function(){i?o=arguments:(e.apply(n,arguments),setTimeout(r,t),i=!0)}}function c(e,t,n){var i=t[1],o=t[0],a=i-o;return e===i&&n?e:((e-o)%a+a)%a+o}function u(){return!1}function h(e,t){return t=void 0===t?6:t,+(Math.round(e+"e+"+t)+"e-"+t)}function d(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function p(e){return d(e).split(/\s+/)}function f(e,t){for(var n in e.hasOwnProperty("options")||(e.options=e.options?i(e.options):{}),t)e.options[n]=t[n];return e.options}function m(e,t,n){var i=[];for(var o in e)i.push(encodeURIComponent(n?o.toUpperCase():o)+"="+encodeURIComponent(e[o]));return(t&&-1!==t.indexOf("?")?"&":"?")+i.join("&")}var g=/\{ *([\w_-]+) *\}/g;function _(e,t){return e.replace(g,function(e,n){var i=t[n];if(void 0===i)throw new Error("No value provided for variable "+e);return"function"==typeof i&&(i=i(t)),i})}var y=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function v(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}var b="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function w(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var A=0;function x(e){var t=+new Date,n=Math.max(0,16-(t-A));return A=t+n,window.setTimeout(e,n)}var k=window.requestAnimationFrame||w("RequestAnimationFrame")||x,S=window.cancelAnimationFrame||w("CancelAnimationFrame")||w("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function C(e,t,n){if(!n||k!==x)return k.call(window,a(e,t));e.call(t)}function P(e){e&&S.call(window,e)}var M=(Object.freeze||Object)({freeze:t,extend:n,create:i,bind:a,lastId:r,stamp:s,throttle:l,wrapNum:c,falseFn:u,formatNum:h,trim:d,splitWords:p,setOptions:f,getParamString:m,template:_,isArray:y,indexOf:v,emptyImageUrl:b,requestFn:k,cancelFn:S,requestAnimFrame:C,cancelAnimFrame:P});function T(){}T.extend=function(e){function t(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var o=t.__super__=this.prototype,a=i(o);for(var r in(a.constructor=t).prototype=a,this)this.hasOwnProperty(r)&&"prototype"!==r&&"__super__"!==r&&(t[r]=this[r]);return e.statics&&(n(t,e.statics),delete e.statics),e.includes&&(function(e){if("undefined"!=typeof L&&L&&L.Mixin){e=y(e)?e:[e];for(var t=0;t<e.length;t++)e[t]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(e.includes),n.apply(null,[a].concat(e.includes)),delete e.includes),a.options&&(e.options=n(i(a.options),e.options)),n(a,e),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=a._initHooks.length;e<t;e++)a._initHooks[e].call(this)}},t},T.include=function(e){return n(this.prototype,e),this},T.mergeOptions=function(e){return n(this.prototype.options,e),this},T.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),n="function"==typeof e?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var E={on:function(e,t,n){if("object"==typeof e)for(var i in e)this._on(i,e[i],t);else for(var o=0,a=(e=p(e)).length;o<a;o++)this._on(e[o],t,n);return this},off:function(e,t,n){if(e)if("object"==typeof e)for(var i in e)this._off(i,e[i],t);else for(var o=0,a=(e=p(e)).length;o<a;o++)this._off(e[o],t,n);else delete this._events;return this},_on:function(e,t,n){this._events=this._events||{};var i=this._events[e];i||(i=[],this._events[e]=i),n===this&&(n=void 0);for(var o={fn:t,ctx:n},a=i,r=0,s=a.length;r<s;r++)if(a[r].fn===t&&a[r].ctx===n)return;a.push(o)},_off:function(e,t,n){var i,o,a;if(this._events&&(i=this._events[e]))if(t){if(n===this&&(n=void 0),i)for(o=0,a=i.length;o<a;o++){var r=i[o];if(r.ctx===n&&r.fn===t)return r.fn=u,this._firingCount&&(this._events[e]=i=i.slice()),void i.splice(o,1)}}else{for(o=0,a=i.length;o<a;o++)i[o].fn=u;delete this._events[e]}},fire:function(e,t,i){if(!this.listens(e,i))return this;var o=n({},t,{type:e,target:this,sourceTarget:t&&t.sourceTarget||this});if(this._events){var a=this._events[e];if(a){this._firingCount=this._firingCount+1||1;for(var r=0,s=a.length;r<s;r++){var l=a[r];l.fn.call(l.ctx||this,o)}this._firingCount--}}return i&&this._propagateEvent(o),this},listens:function(e,t){var n=this._events&&this._events[e];if(n&&n.length)return!0;if(t)for(var i in this._eventParents)if(this._eventParents[i].listens(e,t))return!0;return!1},once:function(e,t,n){if("object"==typeof e){for(var i in e)this.once(i,e[i],t);return this}var o=a(function(){this.off(e,t,n).off(e,o,n)},this);return this.on(e,t,n).on(e,o,n)},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[s(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[s(e)],this},_propagateEvent:function(e){for(var t in this._eventParents)this._eventParents[t].fire(e.type,n({layer:e.target,propagatedFrom:e.target},e),!0)}};E.addEventListener=E.on,E.removeEventListener=E.clearAllEventListeners=E.off,E.addOneTimeEventListener=E.once,E.fireEvent=E.fire,E.hasEventListeners=E.listens;var O=T.extend(E);function D(e,t,n){this.x=n?Math.round(e):e,this.y=n?Math.round(t):t}var z=Math.trunc||function(e){return 0<e?Math.floor(e):Math.ceil(e)};function I(e,t,n){return e instanceof D?e:y(e)?new D(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new D(e.x,e.y):new D(e,t,n)}function N(e,t){if(e)for(var n=t?[e,t]:e,i=0,o=n.length;i<o;i++)this.extend(n[i])}function B(e,t){return!e||e instanceof N?e:new N(e,t)}function j(e,t){if(e)for(var n=t?[e,t]:e,i=0,o=n.length;i<o;i++)this.extend(n[i])}function R(e,t){return e instanceof j?e:new j(e,t)}function H(e,t,n){if(isNaN(e)||isNaN(t))throw new Error("Invalid LatLng object: ("+e+", "+t+")");this.lat=+e,this.lng=+t,void 0!==n&&(this.alt=+n)}function F(e,t,n){return e instanceof H?e:y(e)&&"object"!=typeof e[0]?3===e.length?new H(e[0],e[1],e[2]):2===e.length?new H(e[0],e[1]):null:null==e?e:"object"==typeof e&&"lat"in e?new H(e.lat,"lng"in e?e.lng:e.lon,e.alt):void 0===t?null:new H(e,t,n)}D.prototype={clone:function(){return new D(this.x,this.y)},add:function(e){return this.clone()._add(I(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(I(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new D(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new D(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=z(this.x),this.y=z(this.y),this},distanceTo:function(e){var t=(e=I(e)).x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)},equals:function(e){return(e=I(e)).x===this.x&&e.y===this.y},contains:function(e){return e=I(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+h(this.x)+", "+h(this.y)+")"}},N.prototype={extend:function(e){return e=I(e),this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(e.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(e.y,this.max.y)):(this.min=e.clone(),this.max=e.clone()),this},getCenter:function(e){return new D((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return new D(this.min.x,this.max.y)},getTopRight:function(){return new D(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,n;return(e="number"==typeof e[0]||e instanceof D?I(e):B(e))instanceof N?(t=e.min,n=e.max):t=n=e,t.x>=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=B(e);var t=this.min,n=this.max,i=e.min,o=e.max,a=o.x>=t.x&&i.x<=n.x,r=o.y>=t.y&&i.y<=n.y;return a&&r},overlaps:function(e){e=B(e);var t=this.min,n=this.max,i=e.min,o=e.max,a=o.x>t.x&&i.x<n.x,r=o.y>t.y&&i.y<n.y;return a&&r},isValid:function(){return!(!this.min||!this.max)}},j.prototype={extend:function(e){var t,n,i=this._southWest,o=this._northEast;if(e instanceof H)n=t=e;else{if(!(e instanceof j))return e?this.extend(F(e)||R(e)):this;if(t=e._southWest,n=e._northEast,!t||!n)return this}return i||o?(i.lat=Math.min(t.lat,i.lat),i.lng=Math.min(t.lng,i.lng),o.lat=Math.max(n.lat,o.lat),o.lng=Math.max(n.lng,o.lng)):(this._southWest=new H(t.lat,t.lng),this._northEast=new H(n.lat,n.lng)),this},pad:function(e){var t=this._southWest,n=this._northEast,i=Math.abs(t.lat-n.lat)*e,o=Math.abs(t.lng-n.lng)*e;return new j(new H(t.lat-i,t.lng-o),new H(n.lat+i,n.lng+o))},getCenter:function(){return new H((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new H(this.getNorth(),this.getWest())},getSouthEast:function(){return new H(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(e){e="number"==typeof e[0]||e instanceof H||"lat"in e?F(e):R(e);var t,n,i=this._southWest,o=this._northEast;return e instanceof j?(t=e.getSouthWest(),n=e.getNorthEast()):t=n=e,t.lat>=i.lat&&n.lat<=o.lat&&t.lng>=i.lng&&n.lng<=o.lng},intersects:function(e){e=R(e);var t=this._southWest,n=this._northEast,i=e.getSouthWest(),o=e.getNorthEast(),a=o.lat>=t.lat&&i.lat<=n.lat,r=o.lng>=t.lng&&i.lng<=n.lng;return a&&r},overlaps:function(e){e=R(e);var t=this._southWest,n=this._northEast,i=e.getSouthWest(),o=e.getNorthEast(),a=o.lat>t.lat&&i.lat<n.lat,r=o.lng>t.lng&&i.lng<n.lng;return a&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,t){return!!e&&(e=R(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t))},isValid:function(){return!(!this._southWest||!this._northEast)}};var W,q={latLngToPoint:function(e,t){var n=this.projection.project(e),i=this.scale(t);return this.transformation._transform(n,i)},pointToLatLng:function(e,t){var n=this.scale(t),i=this.transformation.untransform(e,n);return this.projection.unproject(i)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,n=this.scale(e);return new N(this.transformation.transform(t.min,n),this.transformation.transform(t.max,n))},infinite:!(H.prototype={equals:function(e,t){return!!e&&(e=F(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(void 0===t?1e-9:t))},toString:function(e){return"LatLng("+h(this.lat,e)+", "+h(this.lng,e)+")"},distanceTo:function(e){return $.distance(this,F(e))},wrap:function(){return $.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,n=t/Math.cos(Math.PI/180*this.lat);return R([this.lat-t,this.lng-n],[this.lat+t,this.lng+n])},clone:function(){return new H(this.lat,this.lng,this.alt)}}),wrapLatLng:function(e){var t=this.wrapLng?c(e.lng,this.wrapLng,!0):e.lng;return new H(this.wrapLat?c(e.lat,this.wrapLat,!0):e.lat,t,e.alt)},wrapLatLngBounds:function(e){var t=e.getCenter(),n=this.wrapLatLng(t),i=t.lat-n.lat,o=t.lng-n.lng;if(0==i&&0==o)return e;var a=e.getSouthWest(),r=e.getNorthEast();return new j(new H(a.lat-i,a.lng-o),new H(r.lat-i,r.lng-o))}},$=n({},q,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var n=Math.PI/180,i=e.lat*n,o=t.lat*n,a=Math.sin((t.lat-e.lat)*n/2),r=Math.sin((t.lng-e.lng)*n/2),s=a*a+Math.cos(i)*Math.cos(o)*r*r,l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*l}}),Z=6378137,V={R:Z,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,n=this.MAX_LATITUDE,i=Math.max(Math.min(n,e.lat),-n),o=Math.sin(i*t);return new D(this.R*e.lng*t,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(e){var t=180/Math.PI;return new H((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:(W=Z*Math.PI,new N([-W,-W],[W,W]))};function U(e,t,n,i){if(y(e))return this._a=e[0],this._b=e[1],this._c=e[2],void(this._d=e[3]);this._a=e,this._b=t,this._c=n,this._d=i}function G(e,t,n,i){return new U(e,t,n,i)}U.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return t=t||1,e.x=t*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t=t||1,new D((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};var Y,K=n({},$,{code:"EPSG:3857",projection:V,transformation:(Y=.5/(Math.PI*V.R),G(Y,.5,-Y,.5))}),Q=n({},K,{code:"EPSG:900913"});function J(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function X(e,t){var n,i,o,a,r,s,l="";for(n=0,o=e.length;n<o;n++){for(i=0,a=(r=e[n]).length;i<a;i++)l+=(i?"L":"M")+(s=r[i]).x+" "+s.y;l+=t?Le?"z":"x":""}return l||"M0 0"}var ee=document.documentElement.style,te="ActiveXObject"in window,ne=te&&!document.addEventListener,ie="msLaunchUri"in navigator&&!("documentMode"in document),oe=Oe("webkit"),ae=Oe("android"),re=Oe("android 2")||Oe("android 3"),se=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),le=ae&&Oe("Google")&&se<537&&!("AudioNode"in window),ce=!!window.opera,ue=Oe("chrome"),he=Oe("gecko")&&!oe&&!ce&&!te,de=!ue&&Oe("safari"),pe=Oe("phantom"),fe="OTransition"in ee,me=0===navigator.platform.indexOf("Win"),ge=te&&"transition"in ee,_e="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!re,ye="MozPerspective"in ee,ve=!window.L_DISABLE_3D&&(ge||_e||ye)&&!fe&&!pe,be="undefined"!=typeof orientation||Oe("mobile"),we=be&&oe,Ae=be&&_e,xe=!window.PointerEvent&&window.MSPointerEvent,ke=!(!window.PointerEvent&&!xe),Se=!window.L_NO_TOUCH&&(ke||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),Ce=be&&ce,Pe=be&&he,Me=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Te=!!document.createElement("canvas").getContext,Le=!(!document.createElementNS||!J("svg").createSVGRect),Ee=!Le&&function(){try{var e=document.createElement("div");e.innerHTML='<v:shape adj="1"/>';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}();function Oe(e){return 0<=navigator.userAgent.toLowerCase().indexOf(e)}var De=(Object.freeze||Object)({ie:te,ielt9:ne,edge:ie,webkit:oe,android:ae,android23:re,androidStock:le,opera:ce,chrome:ue,gecko:he,safari:de,phantom:pe,opera12:fe,win:me,ie3d:ge,webkit3d:_e,gecko3d:ye,any3d:ve,mobile:be,mobileWebkit:we,mobileWebkit3d:Ae,msPointer:xe,pointer:ke,touch:Se,mobileOpera:Ce,mobileGecko:Pe,retina:Me,canvas:Te,svg:Le,vml:Ee}),ze=xe?"MSPointerDown":"pointerdown",Ie=xe?"MSPointerMove":"pointermove",Ne=xe?"MSPointerUp":"pointerup",Be=xe?"MSPointerCancel":"pointercancel",je=["INPUT","SELECT","OPTION"],Re={},He=!1,Fe=0;function We(e){Re[e.pointerId]=e,Fe++}function qe(e){Re[e.pointerId]&&(Re[e.pointerId]=e)}function $e(e){delete Re[e.pointerId],Fe--}function Ze(e,t){for(var n in e.touches=[],Re)e.touches.push(Re[n]);e.changedTouches=[e],t(e)}var Ve=xe?"MSPointerDown":ke?"pointerdown":"touchstart",Ue=xe?"MSPointerUp":ke?"pointerup":"touchend",Ge="_leaflet_";var Ye,Ke,Qe,Je,Xe,et=gt(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),tt=gt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),nt="webkitTransition"===tt||"OTransition"===tt?tt+"End":"transitionend";function it(e){return"string"==typeof e?document.getElementById(e):e}function ot(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(e,null);n=i?i[t]:null}return"auto"===n?null:n}function at(e,t,n){var i=document.createElement(e);return i.className=t||"",n&&n.appendChild(i),i}function rt(e){var t=e.parentNode;t&&t.removeChild(e)}function st(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function lt(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function ct(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function ut(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=ft(e);return 0<n.length&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(n)}function ht(e,t){if(void 0!==e.classList)for(var n=p(t),i=0,o=n.length;i<o;i++)e.classList.add(n[i]);else if(!ut(e,t)){var a=ft(e);pt(e,(a?a+" ":"")+t)}}function dt(e,t){void 0!==e.classList?e.classList.remove(t):pt(e,d((" "+ft(e)+" ").replace(" "+t+" "," ")))}function pt(e,t){void 0===e.className.baseVal?e.className=t:e.className.baseVal=t}function ft(e){return e.correspondingElement&&(e=e.correspondingElement),void 0===e.className.baseVal?e.className:e.className.baseVal}function mt(e,t){"opacity"in e.style?e.style.opacity=t:"filter"in e.style&&function(e,t){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=e.filters.item(i)}catch(e){if(1===t)return}t=Math.round(100*t),n?(n.Enabled=100!==t,n.Opacity=t):e.style.filter+=" progid:"+i+"(opacity="+t+")"}(e,t)}function gt(e){for(var t=document.documentElement.style,n=0;n<e.length;n++)if(e[n]in t)return e[n];return!1}function _t(e,t,n){var i=t||new D(0,0);e.style[et]=(ge?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(n?" scale("+n+")":"")}function yt(e,t){e._leaflet_pos=t,ve?_t(e,t):(e.style.left=t.x+"px",e.style.top=t.y+"px")}function vt(e){return e._leaflet_pos||new D(0,0)}if("onselectstart"in document)Ye=function(){Mt(window,"selectstart",Nt)},Ke=function(){Lt(window,"selectstart",Nt)};else{var bt=gt(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Ye=function(){if(bt){var e=document.documentElement.style;Qe=e[bt],e[bt]="none"}},Ke=function(){bt&&(document.documentElement.style[bt]=Qe,Qe=void 0)}}function wt(){Mt(window,"dragstart",Nt)}function At(){Lt(window,"dragstart",Nt)}function xt(e){for(;-1===e.tabIndex;)e=e.parentNode;e.style&&(kt(),Xe=(Je=e).style.outline,e.style.outline="none",Mt(window,"keydown",kt))}function kt(){Je&&(Je.style.outline=Xe,Xe=Je=void 0,Lt(window,"keydown",kt))}function St(e){for(;!((e=e.parentNode).offsetWidth&&e.offsetHeight||e===document.body););return e}function Ct(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}var Pt=(Object.freeze||Object)({TRANSFORM:et,TRANSITION:tt,TRANSITION_END:nt,get:it,getStyle:ot,create:at,remove:rt,empty:st,toFront:lt,toBack:ct,hasClass:ut,addClass:ht,removeClass:dt,setClass:pt,getClass:ft,setOpacity:mt,testProp:gt,setTransform:_t,setPosition:yt,getPosition:vt,disableTextSelection:Ye,enableTextSelection:Ke,disableImageDrag:wt,enableImageDrag:At,preventOutline:xt,restoreOutline:kt,getSizedParentNode:St,getScale:Ct});function Mt(e,t,n,i){if("object"==typeof t)for(var o in t)Et(e,o,t[o],n);else for(var a=0,r=(t=p(t)).length;a<r;a++)Et(e,t[a],n,i);return this}var Tt="_leaflet_events";function Lt(e,t,n,i){if("object"==typeof t)for(var o in t)Ot(e,o,t[o],n);else if(t)for(var a=0,r=(t=p(t)).length;a<r;a++)Ot(e,t[a],n,i);else{for(var s in e[Tt])Ot(e,s,e[Tt][s]);delete e[Tt]}return this}function Et(e,t,n,i){var o=t+s(n)+(i?"_"+s(i):"");if(e[Tt]&&e[Tt][o])return this;var r=function(t){return n.call(i||e,t||window.event)},l=r;ke&&0===t.indexOf("touch")?function(e,t,n,i){"touchstart"===t?function(e,t,n){var i=a(function(e){if("mouse"!==e.pointerType&&e.MSPOINTER_TYPE_MOUSE&&e.pointerType!==e.MSPOINTER_TYPE_MOUSE){if(!(je.indexOf(e.target.tagName)<0))return;Nt(e)}Ze(e,t)});e["_leaflet_touchstart"+n]=i,e.addEventListener(ze,i,!1),He||(document.documentElement.addEventListener(ze,We,!0),document.documentElement.addEventListener(Ie,qe,!0),document.documentElement.addEventListener(Ne,$e,!0),document.documentElement.addEventListener(Be,$e,!0),He=!0)}(e,n,i):"touchmove"===t?function(e,t,n){var i=function(e){(e.pointerType!==e.MSPOINTER_TYPE_MOUSE&&"mouse"!==e.pointerType||0!==e.buttons)&&Ze(e,t)};e["_leaflet_touchmove"+n]=i,e.addEventListener(Ie,i,!1)}(e,n,i):"touchend"===t&&function(e,t,n){var i=function(e){Ze(e,t)};e["_leaflet_touchend"+n]=i,e.addEventListener(Ne,i,!1),e.addEventListener(Be,i,!1)}(e,n,i)}(e,t,r,o):!Se||"dblclick"!==t||ke&&ue?"addEventListener"in e?"mousewheel"===t?e.addEventListener("onwheel"in e?"wheel":"mousewheel",r,!1):"mouseenter"===t||"mouseleave"===t?(r=function(t){t=t||window.event,Zt(e,t)&&l(t)},e.addEventListener("mouseenter"===t?"mouseover":"mouseout",r,!1)):("click"===t&&ae&&(r=function(e){!function(e,t){var n=e.timeStamp||e.originalEvent&&e.originalEvent.timeStamp,i=Ft&&n-Ft;if(i&&100<i&&i<500||e.target._simulatedClick&&!e._simulated)return Bt(e);Ft=n,t(e)}(e,l)}),e.addEventListener(t,r,!1)):"attachEvent"in e&&e.attachEvent("on"+t,r):function(e,t,n){var i,o,a=!1;function r(e){var t;if(ke){if(!ie||"mouse"===e.pointerType)return;t=Fe}else t=e.touches.length;if(!(1<t)){var n=Date.now(),r=n-(i||n);o=e.touches?e.touches[0]:e,a=0<r&&r<=250,i=n}}function s(e){if(a&&!o.cancelBubble){if(ke){if(!ie||"mouse"===e.pointerType)return;var n,r,s={};for(r in o)n=o[r],s[r]=n&&n.bind?n.bind(o):n;o=s}o.type="dblclick",o.button=0,t(o),i=null}}e[Ge+Ve+n]=r,e[Ge+Ue+n]=s,e[Ge+"dblclick"+n]=t,e.addEventListener(Ve,r,!1),e.addEventListener(Ue,s,!1),e.addEventListener("dblclick",t,!1)}(e,r,o),e[Tt]=e[Tt]||{},e[Tt][o]=r}function Ot(e,t,n,i){var o=t+s(n)+(i?"_"+s(i):""),a=e[Tt]&&e[Tt][o];if(!a)return this;ke&&0===t.indexOf("touch")?function(e,t,n){var i=e["_leaflet_"+t+o];"touchstart"===t?e.removeEventListener(ze,i,!1):"touchmove"===t?e.removeEventListener(Ie,i,!1):"touchend"===t&&(e.removeEventListener(Ne,i,!1),e.removeEventListener(Be,i,!1))}(e,t):!Se||"dblclick"!==t||ke&&ue?"removeEventListener"in e?"mousewheel"===t?e.removeEventListener("onwheel"in e?"wheel":"mousewheel",a,!1):e.removeEventListener("mouseenter"===t?"mouseover":"mouseleave"===t?"mouseout":t,a,!1):"detachEvent"in e&&e.detachEvent("on"+t,a):function(e,t){var n=e[Ge+Ve+t],i=e[Ge+Ue+t],o=e[Ge+"dblclick"+t];e.removeEventListener(Ve,n,!1),e.removeEventListener(Ue,i,!1),ie||e.removeEventListener("dblclick",o,!1)}(e,o),e[Tt][o]=null}function Dt(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,$t(e),this}function zt(e){return Et(e,"mousewheel",Dt),this}function It(e){return Mt(e,"mousedown touchstart dblclick",Dt),Et(e,"click",qt),this}function Nt(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function Bt(e){return Nt(e),Dt(e),this}function jt(e,t){if(!t)return new D(e.clientX,e.clientY);var n=Ct(t),i=n.boundingClientRect;return new D((e.clientX-i.left)/n.x-t.clientLeft,(e.clientY-i.top)/n.y-t.clientTop)}var Rt=me&&ue?2*window.devicePixelRatio:he?window.devicePixelRatio:1;function Ht(e){return ie?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/Rt:e.deltaY&&1===e.deltaMode?20*-e.deltaY:e.deltaY&&2===e.deltaMode?60*-e.deltaY:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?20*-e.detail:e.detail?e.detail/-32765*60:0}var Ft,Wt={};function qt(e){Wt[e.type]=!0}function $t(e){var t=Wt[e.type];return Wt[e.type]=!1,t}function Zt(e,t){var n=t.relatedTarget;if(!n)return!0;try{for(;n&&n!==e;)n=n.parentNode}catch(e){return!1}return n!==e}var Vt=(Object.freeze||Object)({on:Mt,off:Lt,stopPropagation:Dt,disableScrollPropagation:zt,disableClickPropagation:It,preventDefault:Nt,stop:Bt,getMousePosition:jt,getWheelDelta:Ht,fakeStop:qt,skipped:$t,isExternalTarget:Zt,addListener:Mt,removeListener:Lt}),Ut=O.extend({run:function(e,t,n,i){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=vt(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=1e3*this._duration;t<n?this._runFrame(this._easeOut(t/n),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var n=this._startPos.add(this._offset.multiplyBy(e));t&&n._round(),yt(this._el,n),this.fire("step")},_complete:function(){P(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),Gt=O.extend({options:{crs:K,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=f(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),void 0!==t.zoom&&(this._zoom=this._limitZoom(t.zoom)),t.center&&void 0!==t.zoom&&this.setView(F(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=tt&&ve&&!Ce&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Mt(this._proxy,nt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(e,t,i){return t=void 0===t?this._zoom:this._limitZoom(t),e=this._limitCenter(F(e),t,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=n({animate:i.animate},i.zoom),i.pan=n({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==t?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,t,i.zoom):this._tryAnimatedPan(e,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(e,t),this)},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e=e||(ve?this.options.zoomDelta:1),this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e=e||(ve?this.options.zoomDelta:1),this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,n){var i=this.getZoomScale(t),o=this.getSize().divideBy(2),a=(e instanceof D?e:this.latLngToContainerPoint(e)).subtract(o).multiplyBy(1-1/i),r=this.containerPointToLatLng(o.add(a));return this.setView(r,t,{zoom:n})},_getBoundsCenterZoom:function(e,t){t=t||{},e=e.getBounds?e.getBounds():R(e);var n=I(t.paddingTopLeft||t.padding||[0,0]),i=I(t.paddingBottomRight||t.padding||[0,0]),o=this.getBoundsZoom(e,!1,n.add(i));if((o="number"==typeof t.maxZoom?Math.min(t.maxZoom,o):o)===1/0)return{center:e.getCenter(),zoom:o};var a=i.subtract(n).divideBy(2),r=this.project(e.getSouthWest(),o),s=this.project(e.getNorthEast(),o);return{center:this.unproject(r.add(s).divideBy(2).add(a),o),zoom:o}},fitBounds:function(e,t){if(!(e=R(e)).isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(e,t);return this.setView(n.center,n.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(t=t||{},!(e=I(e).round()).x&&!e.y)return this.fire("moveend");if(!0!==t.animate&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Ut,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire("movestart"),!1!==t.animate){ht(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,n,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire("move").fire("moveend");return this},flyTo:function(e,t,n){if(!1===(n=n||{}).animate||!ve)return this.setView(e,t,n);this._stop();var i=this.project(this.getCenter()),o=this.project(e),a=this.getSize(),r=this._zoom;e=F(e),t=void 0===t?r:t;var s=Math.max(a.x,a.y),l=s*this.getZoomScale(r,t),c=o.distanceTo(i)||1,u=1.42,h=u*u;function d(e){var t=(l*l-s*s+(e?-1:1)*h*h*c*c)/(2*(e?l:s)*h*c),n=Math.sqrt(t*t+1)-t;return n<1e-9?-18:Math.log(n)}function p(e){return(Math.exp(e)-Math.exp(-e))/2}function f(e){return(Math.exp(e)+Math.exp(-e))/2}var m=d(0);var g=Date.now(),_=(d(1)-m)/u,y=n.duration?1e3*n.duration:1e3*_*.8;return this._moveStart(!0,n.noMoveStart),function n(){var a=(Date.now()-g)/y,l=function(e){return 1-Math.pow(1-e,1.5)}(a)*_;a<=1?(this._flyToFrame=C(n,this),this._move(this.unproject(i.add(o.subtract(i).multiplyBy(function(e){return s*(f(m)*function(e){return p(e)/f(e)}(m+u*e)-p(m))/h}(l)/c)),r),this.getScaleZoom(s/function(e){return s*(f(m)/f(m+u*e))}(l),r),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}.call(this),this},flyToBounds:function(e,t){var n=this._getBoundsCenterZoom(e,t);return this.flyTo(n.center,n.zoom,t)},setMaxBounds:function(e){return(e=R(e)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,R(e));return n.equals(i)||this.panTo(i,t),this._enforcingBounds=!1,this},panInside:function(e,t){var n=I((t=t||{}).paddingTopLeft||t.padding||[0,0]),i=I(t.paddingBottomRight||t.padding||[0,0]),o=this.getCenter(),a=this.project(o),r=this.project(e),s=this.getPixelBounds(),l=s.getSize().divideBy(2),c=B([s.min.add(n),s.max.subtract(i)]);if(!c.contains(r)){this._enforcingBounds=!0;var u=a.subtract(r),h=I(r.x+u.x,r.y+u.y);(r.x<c.min.x||r.x>c.max.x)&&(h.x=a.x-u.x,0<u.x?h.x+=l.x-n.x:h.x-=l.x-i.x),(r.y<c.min.y||r.y>c.max.y)&&(h.y=a.y-u.y,0<u.y?h.y+=l.y-n.y:h.y-=l.y-i.y),this.panTo(this.unproject(h),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=n({animate:!1,pan:!0},!0===e?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),o=t.divideBy(2).round(),r=i.divideBy(2).round(),s=o.subtract(r);return s.x||s.y?(e.animate&&e.pan?this.panBy(s):(e.pan&&this._rawPanBy(s),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=n({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var t=a(this._handleGeolocationResponse,this),i=a(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,i,e):navigator.geolocation.getCurrentPosition(t,i,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){var t=e.code,n=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(e){var t=new H(e.coords.latitude,e.coords.longitude),n=t.toBounds(2*e.coords.accuracy),i=this._locateOptions;if(i.setView){var o=this.getBoundsZoom(n);this.setView(t,i.maxZoom?Math.min(o,i.maxZoom):o)}var a={latlng:t,bounds:n,timestamp:e.timestamp};for(var r in e.coords)"number"==typeof e.coords[r]&&(a[r]=e.coords[r]);this.fire("locationfound",a)},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var e;for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),rt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(P(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)rt(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=at("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new j(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=R(e),n=I(n||[0,0]);var i=this.getZoom()||0,o=this.getMinZoom(),a=this.getMaxZoom(),r=e.getNorthWest(),s=e.getSouthEast(),l=this.getSize().subtract(n),c=B(this.project(s,i),this.project(r,i)).getSize(),u=ve?this.options.zoomSnap:1,h=l.x/c.x,d=l.y/c.y,p=t?Math.max(h,d):Math.min(h,d);return i=this.getScaleZoom(p,i),u&&(i=Math.round(i/(u/100))*(u/100),i=t?Math.ceil(i/u)*u:Math.floor(i/u)*u),Math.max(o,Math.min(a,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new N(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=void 0===t?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=void 0===t?this._zoom:t;var i=n.zoom(e*n.scale(t));return isNaN(i)?1/0:i},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(F(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(I(e),t)},layerPointToLatLng:function(e){var t=I(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(F(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(F(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(R(e))},distance:function(e,t){return this.options.crs.distance(F(e),F(t))},containerPointToLayerPoint:function(e){return I(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return I(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(I(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(e)))},mouseEventToContainerPoint:function(e){return jt(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=it(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");Mt(t,"scroll",this._onScroll,this),this._containerId=s(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&ve,ht(e,"leaflet-container"+(Se?" leaflet-touch":"")+(Me?" leaflet-retina":"")+(ne?" leaflet-oldie":"")+(de?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=ot(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),yt(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ht(e.markerPane,"leaflet-zoom-hide"),ht(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t){yt(this._mapPane,new D(0,0));var n=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var i=this._zoom!==t;this._moveStart(i,!1)._move(e,t)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,n){void 0===t&&(t=this._zoom);var i=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return P(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){yt(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={};var t=e?Lt:Mt;t((this._targets[s(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),ve&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){P(this._resizeRequest),this._resizeRequest=C(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n,i=[],o="mouseout"===t||"mouseover"===t,a=e.target||e.srcElement,r=!1;a;){if((n=this._targets[s(a)])&&("click"===t||"preclick"===t)&&!e._simulated&&this._draggableMoved(n)){r=!0;break}if(n&&n.listens(t,!0)){if(o&&!Zt(a,e))break;if(i.push(n),o)break}if(a===this._container)break;a=a.parentNode}return i.length||r||o||!Zt(a,e)||(i=[this]),i},_handleDOMEvent:function(e){if(this._loaded&&!$t(e)){var t=e.type;"mousedown"!==t&&"keypress"!==t&&"keyup"!==t&&"keydown"!==t||xt(e.target||e.srcElement),this._fireDOMEvent(e,t)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,t,i){if("click"===e.type){var o=n({},e);o.type="preclick",this._fireDOMEvent(o,o.type,i)}if(!e._stopped&&(i=(i||[]).concat(this._findEventTargets(e,t))).length){var a=i[0];"contextmenu"===t&&a.listens(t,!0)&&Nt(e);var r={originalEvent:e};if("keypress"!==e.type&&"keydown"!==e.type&&"keyup"!==e.type){var s=a.getLatLng&&(!a._radius||a._radius<=10);r.containerPoint=s?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(e),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=s?a.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var l=0;l<i.length;l++)if(i[l].fire(t,r,!0),r.originalEvent._stopped||!1===i[l].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,t))return}},_draggableMoved:function(e){return(e=e.dragging&&e.dragging.enabled()?e:this).dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on("load",e,t),this},_getMapPanePos:function(){return vt(this._mapPane)||new D(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&void 0!==t?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var n=this.getSize()._divideBy(2);return this.project(e,t)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,n){var i=this._getNewPixelOrigin(n,t);return this.project(e,t)._subtract(i)},_latLngBoundsToNewLayerBounds:function(e,t,n){var i=this._getNewPixelOrigin(n,t);return B([this.project(e.getSouthWest(),t)._subtract(i),this.project(e.getNorthWest(),t)._subtract(i),this.project(e.getSouthEast(),t)._subtract(i),this.project(e.getNorthEast(),t)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,n){if(!n)return e;var i=this.project(e,t),o=this.getSize().divideBy(2),a=new N(i.subtract(o),i.add(o)),r=this._getBoundsOffset(a,n,t);return r.round().equals([0,0])?e:this.unproject(i.add(r),t)},_limitOffset:function(e,t){if(!t)return e;var n=this.getPixelBounds(),i=new N(n.min.add(e),n.max.add(e));return e.add(this._getBoundsOffset(i,t))},_getBoundsOffset:function(e,t,n){var i=B(this.project(t.getNorthEast(),n),this.project(t.getSouthWest(),n)),o=i.min.subtract(e.min),a=i.max.subtract(e.max);return new D(this._rebound(o.x,-a.x),this._rebound(o.y,-a.y))},_rebound:function(e,t){return 0<e+t?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),i=ve?this.options.zoomSnap:1;return i&&(e=Math.round(e/i)*i),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){dt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return!(!0!==(t&&t.animate)&&!this.getSize().contains(n)||(this.panBy(n,t),0))},_createAnimProxy:function(){var e=this._proxy=at("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(e){var t=et,n=this._proxy.style[t];_t(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var e=this.getCenter(),t=this.getZoom();_t(this._proxy,this.project(e,t),this.getZoomScale(t,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){rt(this._proxy),delete this._proxy},_catchTransitionEnd:function(e){this._animatingZoom&&0<=e.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(t),o=this._getCenterOffset(e)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(o)||(C(function(){this._moveStart(!0,!1)._animateZoom(e,t,!0)},this),0))},_animateZoom:function(e,t,n,i){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,ht(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:i}),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&dt(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),C(function(){this._moveEnd(!0)},this))}});function Yt(e){return new Kt(e)}var Kt=T.extend({options:{position:"topright"},initialize:function(e){f(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),i=e._controlCorners[n];return ht(t,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(t,i.firstChild):i.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(rt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(e){this._map&&e&&0<e.screenX&&0<e.screenY&&this._map.getContainer().focus()}});Gt.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",n=this._controlContainer=at("div",t+"control-container",this._container);function i(i,o){var a=t+i+" "+t+o;e[i+o]=at("div",a,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)rt(this._controlCorners[e]);rt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Qt=Kt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,i){return n<i?-1:i<n?1:0}},initialize:function(e,t,n){for(var i in f(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,e)this._addLayer(e[i],i);for(i in t)this._addLayer(t[i],i,!0)},onAdd:function(e){this._initLayout(),this._update(),(this._map=e).on("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return Kt.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off("add remove",this._onLayerChange,this);var t=this._getLayer(s(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){ht(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(ht(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):dt(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return dt(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",t=this._container=at("div",e),n=this.options.collapsed;t.setAttribute("aria-haspopup",!0),It(t),zt(t);var i=this._section=at("section",e+"-list");n&&(this._map.on("click",this.collapse,this),ae||Mt(t,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=at("a",e+"-toggle",t);o.href="#",o.title="Layers",Se?(Mt(o,"click",Bt),Mt(o,"click",this.expand,this)):Mt(o,"focus",this.expand,this),n||this.expand(),this._baseLayersList=at("div",e+"-base",i),this._separator=at("div",e+"-separator",i),this._overlaysList=at("div",e+"-overlays",i),t.appendChild(i)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&s(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,n){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:n}),this.options.sortLayers&&this._layers.sort(a(function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;st(this._baseLayersList),st(this._overlaysList),this._layerControlInputs=[];var e,t,n,i,o=0;for(n=0;n<this._layers.length;n++)i=this._layers[n],this._addItem(i),t=t||i.overlay,e=e||!i.overlay,o+=i.overlay?0:1;return this.options.hideSingleBase&&(e=e&&1<o,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(s(e.target)),n=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(t?' checked="checked"':"")+"/>",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(e){var t,n=document.createElement("label"),i=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=i):t=this._createRadioElement("leaflet-base-layers_"+s(this),i),this._layerControlInputs.push(t),t.layerId=s(e.layer),Mt(t,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+e.name;var a=document.createElement("div");return n.appendChild(a),a.appendChild(t),a.appendChild(o),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var e,t,n=this._layerControlInputs,i=[],o=[];this._handlingClick=!0;for(var a=n.length-1;0<=a;a--)e=n[a],t=this._getLayer(e.layerId).layer,e.checked?i.push(t):e.checked||o.push(t);for(a=0;a<o.length;a++)this._map.hasLayer(o[a])&&this._map.removeLayer(o[a]);for(a=0;a<i.length;a++)this._map.hasLayer(i[a])||this._map.addLayer(i[a]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var e,t,n=this._layerControlInputs,i=this._map.getZoom(),o=n.length-1;0<=o;o--)e=n[o],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&i<t.options.minZoom||void 0!==t.options.maxZoom&&i>t.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Jt=Kt.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",n=at("div",t+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,t+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,t+"-out",n,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,i,o){var a=at("a",n,i);return a.innerHTML=e,a.href="#",a.title=t,a.setAttribute("role","button"),a.setAttribute("aria-label",t),It(a),Mt(a,"click",Bt),Mt(a,"click",o,this),Mt(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";dt(this._zoomInButton,t),dt(this._zoomOutButton,t),!this._disabled&&e._zoom!==e.getMinZoom()||ht(this._zoomOutButton,t),!this._disabled&&e._zoom!==e.getMaxZoom()||ht(this._zoomInButton,t)}});Gt.mergeOptions({zoomControl:!0}),Gt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Jt,this.addControl(this.zoomControl))});var Xt=Kt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",n=at("div",t),i=this.options;return this._addScales(i,t+"-line",n),e.on(i.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=at("div",t,n)),e.imperial&&(this._iScale=at("div",t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t,n,i,o=3.2808399*e;5280<o?(t=o/5280,n=this._getRoundNum(t),this._updateScale(this._iScale,n+" mi",n/t)):(i=this._getRoundNum(o),this._updateScale(this._iScale,i+" ft",i/o))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),n=e/t;return t*(10<=n?10:5<=n?5:3<=n?3:2<=n?2:1)}}),en=Kt.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(e){f(this,e),this._attributions={}},onAdd:function(e){for(var t in(e.attributionControl=this)._container=at("div","leaflet-control-attribution"),It(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),this._container},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e&&(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update()),this},removeAttribution:function(e){return e&&this._attributions[e]&&(this._attributions[e]--,this._update()),this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(" | ")}}});Gt.mergeOptions({attributionControl:!0}),Gt.addInitHook(function(){this.options.attributionControl&&(new en).addTo(this)}),Kt.Layers=Qt,Kt.Zoom=Jt,Kt.Scale=Xt,Kt.Attribution=en,Yt.layers=function(e,t,n){return new Qt(e,t,n)},Yt.zoom=function(e){return new Jt(e)},Yt.scale=function(e){return new Xt(e)},Yt.attribution=function(e){return new en(e)};var tn=T.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});tn.addTo=function(e,t){return e.addHandler(t,this),this};var nn,on={Events:E},an=Se?"touchstart mousedown":"mousedown",rn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},sn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},ln=O.extend({options:{clickTolerance:3},initialize:function(e,t,n,i){f(this,i),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n},enable:function(){this._enabled||(Mt(this._dragStartTarget,an,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ln._dragging===this&&this.finishDrag(),Lt(this._dragStartTarget,an,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(!e._simulated&&this._enabled&&(this._moved=!1,!ut(this._element,"leaflet-zoom-anim")&&!(ln._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||((ln._dragging=this)._preventOutline&&xt(this._element),wt(),Ye(),this._moving)))){this.fire("down");var t=e.touches?e.touches[0]:e,n=St(this._element);this._startPoint=new D(t.clientX,t.clientY),this._parentScale=Ct(n),Mt(document,sn[e.type],this._onMove,this),Mt(document,rn[e.type],this._onUp,this)}},_onMove:function(e){if(!e._simulated&&this._enabled)if(e.touches&&1<e.touches.length)this._moved=!0;else{var t=e.touches&&1===e.touches.length?e.touches[0]:e,n=new D(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Nt(e),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=vt(this._element).subtract(n),ht(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),ht(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,P(this._animRequest),this._lastEvent=e,this._animRequest=C(this._updatePosition,this,!0)))}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),yt(this._element,this._newPos),this.fire("drag",e)},_onUp:function(e){!e._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var e in dt(document.body,"leaflet-dragging"),this._lastTarget&&(dt(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),sn)Lt(document,sn[e],this._onMove,this),Lt(document,rn[e],this._onUp,this);At(),Ke(),this._moved&&this._moving&&(P(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,ln._dragging=!1}});function cn(e,t){if(!t||!e.length)return e.slice();var n=t*t;return function(e,t){var n=e.length,i=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);i[0]=i[n-1]=1,function e(t,n,i,o,a){var r,s,l,c=0;for(s=o+1;s<=a-1;s++)c<(l=fn(t[s],t[o],t[a],!0))&&(r=s,c=l);i<c&&(n[r]=1,e(t,n,i,o,r),e(t,n,i,r,a))}(e,i,t,0,n-1);var o,a=[];for(o=0;o<n;o++)i[o]&&a.push(e[o]);return a}(e=function(e,t){for(var n=[e[0]],i=1,o=0,a=e.length;i<a;i++)r=e[i],t<(l=(s=e[o]).x-r.x)*l+(c=s.y-r.y)*c&&(n.push(e[i]),o=i);var r,s,l,c;return o<a-1&&n.push(e[a-1]),n}(e,n),n)}function un(e,t,n){return Math.sqrt(fn(e,t,n,!0))}function hn(e,t,n,i,o){var a,r,s,l=i?nn:pn(e,n),c=pn(t,n);for(nn=c;;){if(!(l|c))return[e,t];if(l&c)return!1;s=pn(r=dn(e,t,a=l||c,n,o),n),a===l?(e=r,l=s):(t=r,c=s)}}function dn(e,t,n,i,o){var a,r,s=t.x-e.x,l=t.y-e.y,c=i.min,u=i.max;return 8&n?(a=e.x+s*(u.y-e.y)/l,r=u.y):4&n?(a=e.x+s*(c.y-e.y)/l,r=c.y):2&n?(a=u.x,r=e.y+l*(u.x-e.x)/s):1&n&&(a=c.x,r=e.y+l*(c.x-e.x)/s),new D(a,r,o)}function pn(e,t){var n=0;return e.x<t.min.x?n|=1:e.x>t.max.x&&(n|=2),e.y<t.min.y?n|=4:e.y>t.max.y&&(n|=8),n}function fn(e,t,n,i){var o,a=t.x,r=t.y,s=n.x-a,l=n.y-r,c=s*s+l*l;return 0<c&&(1<(o=((e.x-a)*s+(e.y-r)*l)/c)?(a=n.x,r=n.y):0<o&&(a+=s*o,r+=l*o)),s=e.x-a,l=e.y-r,i?s*s+l*l:new D(a,r)}function mn(e){return!y(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function gn(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),mn(e)}var _n=(Object.freeze||Object)({simplify:cn,pointToSegmentDistance:un,closestPointOnSegment:function(e,t,n){return fn(e,t,n)},clipSegment:hn,_getEdgeIntersection:dn,_getBitCode:pn,_sqClosestPointOnSegment:fn,isFlat:mn,_flat:gn});function yn(e,t,n){var i,o,a,r,s,l,c,u,h,d=[1,4,2,8];for(o=0,c=e.length;o<c;o++)e[o]._code=pn(e[o],t);for(r=0;r<4;r++){for(u=d[r],i=[],o=0,a=(c=e.length)-1;o<c;a=o++)s=e[o],l=e[a],s._code&u?l._code&u||((h=dn(l,s,u,t,n))._code=pn(h,t),i.push(h)):(l._code&u&&((h=dn(l,s,u,t,n))._code=pn(h,t),i.push(h)),i.push(s));e=i}return e}var vn,bn=(Object.freeze||Object)({clipPolygon:yn}),wn={project:function(e){return new D(e.lng,e.lat)},unproject:function(e){return new H(e.y,e.x)},bounds:new N([-180,-90],[180,90])},An={R:6378137,R_MINOR:6356752.314245179,bounds:new N([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,n=this.R,i=e.lat*t,o=this.R_MINOR/n,a=Math.sqrt(1-o*o),r=a*Math.sin(i),s=Math.tan(Math.PI/4-i/2)/Math.pow((1-r)/(1+r),a/2);return i=-n*Math.log(Math.max(s,1e-10)),new D(e.lng*t*n,i)},unproject:function(e){for(var t,n=180/Math.PI,i=this.R,o=this.R_MINOR/i,a=Math.sqrt(1-o*o),r=Math.exp(-e.y/i),s=Math.PI/2-2*Math.atan(r),l=0,c=.1;l<15&&1e-7<Math.abs(c);l++)t=a*Math.sin(s),t=Math.pow((1-t)/(1+t),a/2),s+=c=Math.PI/2-2*Math.atan(r*t)-s;return new H(s*n,e.x*n/i)}},xn=(Object.freeze||Object)({LonLat:wn,Mercator:An,SphericalMercator:V}),kn=n({},$,{code:"EPSG:3395",projection:An,transformation:(vn=.5/(Math.PI*An.R),G(vn,.5,-vn,.5))}),Sn=n({},$,{code:"EPSG:4326",projection:wn,transformation:G(1/180,1,-1/180,.5)}),Cn=n({},q,{projection:wn,transformation:G(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,i=t.lat-e.lat;return Math.sqrt(n*n+i*i)},infinite:!0});q.Earth=$,q.EPSG3395=kn,q.EPSG3857=K,q.EPSG900913=Q,q.EPSG4326=Sn,q.Simple=Cn;var Pn=O.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[s(e)]=this},removeInteractiveTarget:function(e){return delete this._map._targets[s(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once("remove",function(){t.off(n,this)},this)}this.onAdd(t),this.getAttribution&&t.attributionControl&&t.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),t.fire("layeradd",{layer:this})}}});Gt.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=s(e);return this._layers[t]||((this._layers[t]=e)._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=s(e);return this._layers[t]&&(this._loaded&&e.onRemove(this),e.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(e.getAttribution()),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null),this},hasLayer:function(e){return!!e&&s(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){for(var t=0,n=(e=e?y(e)?e:[e]:[]).length;t<n;t++)this.addLayer(e[t])},_addZoomLimit:function(e){!isNaN(e.options.maxZoom)&&isNaN(e.options.minZoom)||(this._zoomBoundLayers[s(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=s(e);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,n=this._getZoomSpan();for(var i in this._zoomBoundLayers){var o=this._zoomBoundLayers[i].options;e=void 0===o.minZoom?e:Math.min(e,o.minZoom),t=void 0===o.maxZoom?t:Math.max(t,o.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Mn=Pn.extend({initialize:function(e,t){var n,i;if(f(this,t),this._layers={},e)for(n=0,i=e.length;n<i;n++)this.addLayer(e[n])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){return!!e&&(e in this._layers||this.getLayerId(e)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t,n,i=Array.prototype.slice.call(arguments,1);for(t in this._layers)(n=this._layers[t])[e]&&n[e].apply(n,i);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:function(e){return s(e)}}),Tn=Mn.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),Mn.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),Mn.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e=new j;for(var t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),Ln=T.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(e){f(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var n=this._getIconUrl(e);if(!n){if("icon"===e)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i=this._createImg(n,t&&"IMG"===t.tagName?t:null);return this._setIconStyles(i,e),i},_setIconStyles:function(e,t){var n=this.options,i=n[t+"Size"];"number"==typeof i&&(i=[i,i]);var o=I(i),a=I("shadow"===t&&n.shadowAnchor||n.iconAnchor||o&&o.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(n.className||""),a&&(e.style.marginLeft=-a.x+"px",e.style.marginTop=-a.y+"px"),o&&(e.style.width=o.x+"px",e.style.height=o.y+"px")},_createImg:function(e,t){return(t=t||document.createElement("img")).src=e,t},_getIconUrl:function(e){return Me&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}}),En=Ln.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return En.imagePath||(En.imagePath=this._detectIconPath()),(this.options.imagePath||En.imagePath)+Ln.prototype._getIconUrl.call(this,e)},_detectIconPath:function(){var e=at("div","leaflet-default-icon-path",document.body),t=ot(e,"background-image")||ot(e,"backgroundImage");return document.body.removeChild(e),null===t||0!==t.indexOf("url")?"":t.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),On=tn.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new ln(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),ht(e,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&dt(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,n=t._map,i=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,a=vt(t._icon),r=n.getPixelBounds(),s=n.getPixelOrigin(),l=B(r.min._subtract(s).add(o),r.max._subtract(s).subtract(o));if(!l.contains(a)){var c=I((Math.max(l.max.x,a.x)-l.max.x)/(r.max.x-l.max.x)-(Math.min(l.min.x,a.x)-l.min.x)/(r.min.x-l.min.x),(Math.max(l.max.y,a.y)-l.max.y)/(r.max.y-l.max.y)-(Math.min(l.min.y,a.y)-l.min.y)/(r.min.y-l.min.y)).multiplyBy(i);n.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),yt(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=C(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(e){this._marker.options.autoPan&&(P(this._panRequest),this._panRequest=C(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,n=t._shadow,i=vt(t._icon),o=t._map.layerPointToLatLng(i);n&&yt(n,i),t._latlng=o,e.latlng=o,e.oldLatLng=this._oldLatLng,t.fire("move",e).fire("drag",e)},_onDragEnd:function(e){P(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),Dn=Pn.extend({options:{icon:new En,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){f(this,t),this._latlng=F(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=F(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=e.icon.createIcon(this._icon),i=!1;n!==this._icon&&(this._icon&&this._removeIcon(),i=!0,e.title&&(n.title=e.title),"IMG"===n.tagName&&(n.alt=e.alt||"")),ht(n,t),e.keyboard&&(n.tabIndex="0"),this._icon=n,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=e.icon.createShadow(this._shadow),a=!1;o!==this._shadow&&(this._removeShadow(),a=!0),o&&(ht(o,t),o.alt=""),this._shadow=o,e.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&a&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),rt(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&rt(this._shadow),this._shadow=null},_setPos:function(e){yt(this._icon,e),this._shadow&&yt(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon.style.zIndex=this._zIndex+e},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(ht(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),On)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new On(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&mt(this._icon,e),this._shadow&&mt(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),zn=Pn.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(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return f(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e.hasOwnProperty("weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),In=zn.extend({options:{fill:!0,radius:10},initialize:function(e,t){f(this,t),this._latlng=F(e),this._radius=this.options.radius},setLatLng:function(e){return this._latlng=F(e),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return zn.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,n=this._clickTolerance(),i=[e+n,t+n];this._pxBounds=new N(this._point.subtract(i),this._point.add(i))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Nn=In.extend({initialize:function(e,t,i){if("number"==typeof t&&(t=n({},i,{radius:t})),f(this,t),this._latlng=F(e),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new j(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:zn.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,n=this._map,i=n.options.crs;if(i.distance===$.distance){var o=Math.PI/180,a=this._mRadius/$.R/o,r=n.project([t+a,e]),s=n.project([t-a,e]),l=r.add(s).divideBy(2),c=n.unproject(l).lat,u=Math.acos((Math.cos(a*o)-Math.sin(t*o)*Math.sin(c*o))/(Math.cos(t*o)*Math.cos(c*o)))/o;!isNaN(u)&&0!==u||(u=a/Math.cos(Math.PI/180*t)),this._point=l.subtract(n.getPixelOrigin()),this._radius=isNaN(u)?0:l.x-n.project([c,e-u]).x,this._radiusY=l.y-r.y}else{var h=i.unproject(i.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(h).x}this._updateBounds()}}),Bn=zn.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){f(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t,n,i=1/0,o=null,a=fn,r=0,s=this._parts.length;r<s;r++)for(var l=this._parts[r],c=1,u=l.length;c<u;c++){var h=a(e,t=l[c-1],n=l[c],!0);h<i&&(i=h,o=a(e,t,n))}return o&&(o.distance=Math.sqrt(i)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var e,t,n,i,o,a,r,s=this._rings[0],l=s.length;if(!l)return null;for(t=e=0;e<l-1;e++)t+=s[e].distanceTo(s[e+1])/2;if(0===t)return this._map.layerPointToLatLng(s[0]);for(i=e=0;e<l-1;e++)if(o=s[e],a=s[e+1],t<(i+=n=o.distanceTo(a)))return r=(i-t)/n,this._map.layerPointToLatLng([a.x-r*(a.x-o.x),a.y-r*(a.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=F(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new j,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return mn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=mn(e),i=0,o=e.length;i<o;i++)n?(t[i]=F(e[i]),this._bounds.extend(t[i])):t[i]=this._convertLatLngs(e[i]);return t},_project:function(){var e=new N;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new D(e,e);this._pxBounds=new N([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)])},_projectLatlngs:function(e,t,n){var i,o,a=e[0]instanceof H,r=e.length;if(a){for(o=[],i=0;i<r;i++)o[i]=this._map.latLngToLayerPoint(e[i]),n.extend(o[i]);t.push(o)}else for(i=0;i<r;i++)this._projectLatlngs(e[i],t,n)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else{var t,n,i,o,a,r,s,l=this._parts;for(i=t=0,o=this._rings.length;t<o;t++)for(n=0,a=(s=this._rings[t]).length;n<a-1;n++)(r=hn(s[n],s[n+1],e,n,!0))&&(l[i]=l[i]||[],l[i].push(r[0]),r[1]===s[n+1]&&n!==a-2||(l[i].push(r[1]),i++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,n=0,i=e.length;n<i;n++)e[n]=cn(e[n],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var n,i,o,a,r,s,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(n=0,a=this._parts.length;n<a;n++)for(i=0,o=(r=(s=this._parts[n]).length)-1;i<r;o=i++)if((t||0!==i)&&un(e,s[o],s[i])<=l)return!0;return!1}});Bn._flat=gn;var jn=Bn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var e,t,n,i,o,a,r,s,l,c=this._rings[0],u=c.length;if(!u)return null;for(a=r=s=0,e=0,t=u-1;e<u;t=e++)n=c[e],i=c[t],o=n.y*i.x-i.y*n.x,r+=(n.x+i.x)*o,s+=(n.y+i.y)*o,a+=3*o;return l=0===a?c[0]:[r/a,s/a],this._map.layerPointToLatLng(l)},_convertLatLngs:function(e){var t=Bn.prototype._convertLatLngs.call(this,e),n=t.length;return 2<=n&&t[0]instanceof H&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){Bn.prototype._setLatLngs.call(this,e),mn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return mn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new D(t,t);if(e=new N(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var i,o=0,a=this._rings.length;o<a;o++)(i=yn(this._rings[o],e,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t,n,i,o,a,r,s,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(o=0,s=this._parts.length;o<s;o++)for(a=0,r=(l=(t=this._parts[o]).length)-1;a<l;r=a++)n=t[a],i=t[r],n.y>e.y!=i.y>e.y&&e.x<(i.x-n.x)*(e.y-n.y)/(i.y-n.y)+n.x&&(c=!c);return c||Bn.prototype._containsPoint.call(this,e,!0)}}),Rn=Tn.extend({initialize:function(e,t){f(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,n,i,o=y(e)?e:e.features;if(o){for(t=0,n=o.length;t<n;t++)((i=o[t]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var a=this.options;if(a.filter&&!a.filter(e))return this;var r=Hn(e,a);return r?(r.feature=Vn(e),r.defaultOptions=r.options,this.resetStyle(r),a.onEachFeature&&a.onEachFeature(e,r),this.addLayer(r)):this},resetStyle:function(e){return e.options=n({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(e,t){e.setStyle&&("function"==typeof t&&(t=t(e.feature)),e.setStyle(t))}});function Hn(e,t){var n,i,o,a,r="Feature"===e.type?e.geometry:e,s=r?r.coordinates:null,l=[],c=t&&t.pointToLayer,u=t&&t.coordsToLatLng||Fn;if(!s&&!r)return null;switch(r.type){case"Point":return n=u(s),c?c(e,n):new Dn(n);case"MultiPoint":for(o=0,a=s.length;o<a;o++)n=u(s[o]),l.push(c?c(e,n):new Dn(n));return new Tn(l);case"LineString":case"MultiLineString":return i=Wn(s,"LineString"===r.type?0:1,u),new Bn(i,t);case"Polygon":case"MultiPolygon":return i=Wn(s,"Polygon"===r.type?1:2,u),new jn(i,t);case"GeometryCollection":for(o=0,a=r.geometries.length;o<a;o++){var h=Hn({geometry:r.geometries[o],type:"Feature",properties:e.properties},t);h&&l.push(h)}return new Tn(l);default:throw new Error("Invalid GeoJSON object.")}}function Fn(e){return new H(e[1],e[0],e[2])}function Wn(e,t,n){for(var i,o=[],a=0,r=e.length;a<r;a++)i=t?Wn(e[a],t-1,n):(n||Fn)(e[a]),o.push(i);return o}function qn(e,t){return t="number"==typeof t?t:6,void 0!==e.alt?[h(e.lng,t),h(e.lat,t),h(e.alt,t)]:[h(e.lng,t),h(e.lat,t)]}function $n(e,t,n,i){for(var o=[],a=0,r=e.length;a<r;a++)o.push(t?$n(e[a],t-1,n,i):qn(e[a],i));return!t&&n&&o.push(o[0]),o}function Zn(e,t){return e.feature?n({},e.feature,{geometry:t}):Vn(t)}function Vn(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}var Un={toGeoJSON:function(e){return Zn(this,{type:"Point",coordinates:qn(this.getLatLng(),e)})}};function Gn(e,t){return new Rn(e,t)}Dn.include(Un),Nn.include(Un),In.include(Un),Bn.include({toGeoJSON:function(e){var t=!mn(this._latlngs);return Zn(this,{type:(t?"Multi":"")+"LineString",coordinates:$n(this._latlngs,t?1:0,!1,e)})}}),jn.include({toGeoJSON:function(e){var t=!mn(this._latlngs),n=t&&!mn(this._latlngs[0]),i=$n(this._latlngs,n?2:t?1:0,!0,e);return t||(i=[i]),Zn(this,{type:(n?"Multi":"")+"Polygon",coordinates:i})}}),Mn.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(n){t.push(n.toGeoJSON(e).geometry.coordinates)}),Zn(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var n="GeometryCollection"===t,i=[];return this.eachLayer(function(t){if(t.toGeoJSON){var o=t.toGeoJSON(e);if(n)i.push(o.geometry);else{var a=Vn(o);"FeatureCollection"===a.type?i.push.apply(i,a.features):i.push(a)}}}),n?Zn(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}});var Yn=Gn,Kn=Pn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,n){this._url=e,this._bounds=R(t),f(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ht(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){rt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&lt(this._image),this},bringToBack:function(){return this._map&&ct(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=R(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:at("img");ht(t,"leaflet-image-layer"),this._zoomAnimated&&ht(t,"leaflet-zoom-animated"),this.options.className&&ht(t,this.options.className),t.onselectstart=u,t.onmousemove=u,t.onload=a(this.fire,this,"load"),t.onerror=a(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;_t(this._image,n,t)},_reset:function(){var e=this._image,t=new N(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();yt(e,t.min),e.style.width=n.x+"px",e.style.height=n.y+"px"},_updateOpacity:function(){mt(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)}}),Qn=Kn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:at("video");if(ht(t,"leaflet-image-layer"),this._zoomAnimated&&ht(t,"leaflet-zoom-animated"),t.onselectstart=u,t.onmousemove=u,t.onloadeddata=a(this.fire,this,"load"),e){for(var n=t.getElementsByTagName("source"),i=[],o=0;o<n.length;o++)i.push(n[o].src);this._url=0<n.length?i:[t.src]}else{y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&t.style.hasOwnProperty("objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop;for(var r=0;r<this._url.length;r++){var s=at("source");s.src=this._url[r],t.appendChild(s)}}}}),Jn=Kn.extend({_initImage:function(){var e=this._image=this._url;ht(e,"leaflet-image-layer"),this._zoomAnimated&&ht(e,"leaflet-zoom-animated"),e.onselectstart=u,e.onmousemove=u}}),Xn=Pn.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(e,t){f(this,e),this._source=t},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&mt(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&mt(this._container,1),this.bringToFront()},onRemove:function(e){e._fadeAnimated?(mt(this._container,0),this._removeTimeout=setTimeout(a(rt,void 0,this._container),200)):rt(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=F(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&lt(this._container),this},bringToBack:function(){return this._map&&ct(this._container),this},_prepareOpen:function(e,t,n){if(t instanceof Pn||(n=t,t=e),t instanceof Tn)for(var i in e._layers){t=e._layers[i];break}if(!n)if(t.getCenter)n=t.getCenter();else{if(!t.getLatLng)throw new Error("Unable to get source layer LatLng.");n=t.getLatLng()}return this._source=t,this.update(),n},_updateContent:function(){if(this._content){var e=this._contentNode,t="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof t)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=I(this.options.offset),n=this._getAnchor();this._zoomAnimated?yt(this._container,e.add(n)):t=t.add(e).add(n);var i=this._containerBottom=-t.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=i+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),ei=Xn.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return e.openPopup(this),this},onAdd:function(e){Xn.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof zn||this._source.on("preclick",Dt))},onRemove:function(e){Xn.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof zn||this._source.off("preclick",Dt))},getEvents:function(){var e=Xn.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this._close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var e="leaflet-popup",t=this._container=at("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=at("div",e+"-content-wrapper",t);if(this._contentNode=at("div",e+"-content",n),It(n),zt(this._contentNode),Mt(n,"contextmenu",Dt),this._tipContainer=at("div",e+"-tip-container",t),this._tip=at("div",e+"-tip",this._tipContainer),this.options.closeButton){var i=this._closeButton=at("a",e+"-close-button",t);i.href="#close",i.innerHTML="&#215;",Mt(i,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+"px",t.whiteSpace="",t.height="";var i=e.offsetHeight,o=this.options.maxHeight,a="leaflet-popup-scrolled";o&&o<i?(t.height=o+"px",ht(e,a)):dt(e,a),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();yt(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var e=this._map,t=parseInt(ot(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+t,i=this._containerWidth,o=new D(this._containerLeft,-n-this._containerBottom);o._add(vt(this._container));var a=e.layerPointToContainerPoint(o),r=I(this.options.autoPanPadding),s=I(this.options.autoPanPaddingTopLeft||r),l=I(this.options.autoPanPaddingBottomRight||r),c=e.getSize(),u=0,h=0;a.x+i+l.x>c.x&&(u=a.x+i-c.x+l.x),a.x-u-s.x<0&&(u=a.x-s.x),a.y+n+l.y>c.y&&(h=a.y+n-c.y+l.y),a.y-h-s.y<0&&(h=a.y-s.y),(u||h)&&e.fire("autopanstart").panBy([u,h])}},_onCloseButtonClick:function(e){this._close(),Bt(e)},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Gt.mergeOptions({closePopupOnClick:!0}),Gt.include({openPopup:function(e,t,n){return e instanceof ei||(e=new ei(n).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=e,this.addLayer(e))},closePopup:function(e){return e&&e!==this._popup||(e=this._popup,this._popup=null),e&&this.removeLayer(e),this}}),Pn.include({bindPopup:function(e,t){return e instanceof ei?(f(e,t),(this._popup=e)._source=this):(this._popup&&!t||(this._popup=new ei(t,this)),this._popup.setContent(e)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e,t){return this._popup&&this._map&&(t=this._popup._prepareOpen(this,e,t),this._map.openPopup(this._popup,t)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(e){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(e)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){var t=e.layer||e.target;this._popup&&this._map&&(Bt(e),t instanceof zn?this.openPopup(e.layer||e.target,e.latlng):this._map.hasLayer(this._popup)&&this._popup._source===t?this.closePopup():this.openPopup(t,e.latlng))},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var ti=Xn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(e){Xn.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(e){Xn.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var e=Xn.prototype.getEvents.call(this);return Se&&!this.options.permanent&&(e.preclick=this._close),e},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=at("div",e)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t=this._map,n=this._container,i=t.latLngToContainerPoint(t.getCenter()),o=t.layerPointToContainerPoint(e),a=this.options.direction,r=n.offsetWidth,s=n.offsetHeight,l=I(this.options.offset),c=this._getAnchor();e="top"===a?e.add(I(-r/2+l.x,-s+l.y+c.y,!0)):"bottom"===a?e.subtract(I(r/2-l.x,-l.y,!0)):"center"===a?e.subtract(I(r/2+l.x,s/2-c.y+l.y,!0)):"right"===a||"auto"===a&&o.x<i.x?(a="right",e.add(I(l.x+c.x,c.y-s/2+l.y,!0))):(a="left",e.subtract(I(r+c.x-l.x,s/2-c.y-l.y,!0))),dt(n,"leaflet-tooltip-right"),dt(n,"leaflet-tooltip-left"),dt(n,"leaflet-tooltip-top"),dt(n,"leaflet-tooltip-bottom"),ht(n,"leaflet-tooltip-"+a),yt(n,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&mt(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return I(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Gt.include({openTooltip:function(e,t,n){return e instanceof ti||(e=new ti(n).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:this.addLayer(e)},closeTooltip:function(e){return e&&this.removeLayer(e),this}}),Pn.include({bindTooltip:function(e,t){return e instanceof ti?(f(e,t),(this._tooltip=e)._source=this):(this._tooltip&&!t||(this._tooltip=new ti(t,this)),this._tooltip.setContent(e)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){if(e||!this._tooltipHandlersAdded){var t=e?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),Se&&(n.click=this._openTooltip)),this[t](n),this._tooltipHandlersAdded=!e}},openTooltip:function(e,t){return this._tooltip&&this._map&&(t=this._tooltip._prepareOpen(this,e,t),this._map.openTooltip(this._tooltip,t),this._tooltip.options.interactive&&this._tooltip._container&&(ht(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(dt(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(e){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(e)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_openTooltip:function(e){var t=e.layer||e.target;this._tooltip&&this._map&&this.openTooltip(t,this._tooltip.options.sticky?e.latlng:void 0)},_moveTooltip:function(e){var t,n,i=e.latlng;this._tooltip.options.sticky&&e.originalEvent&&(t=this._map.mouseEventToContainerPoint(e.originalEvent),n=this._map.containerPointToLayerPoint(t),i=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(i)}});var ni=Ln.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&"DIV"===e.tagName?e:document.createElement("div"),n=this.options;if(n.html instanceof Element?(st(t),t.appendChild(n.html)):t.innerHTML=!1!==n.html?n.html:"",n.bgPos){var i=I(n.bgPos);t.style.backgroundPosition=-i.x+"px "+-i.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}});Ln.Default=En;var ii=Pn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:be,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){f(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),rt(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(lt(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ct(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=l(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof D?e:new D(e,e)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t,n=this.getPane().children,i=-e(-1/0,1/0),o=0,a=n.length;o<a;o++)t=n[o].style.zIndex,n[o]!==this._container&&t&&(i=e(i,+t));isFinite(i)&&(this.options.zIndex=i+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!ne){mt(this._container,this.options.opacity);var e=+new Date,t=!1,n=!1;for(var i in this._tiles){var o=this._tiles[i];if(o.current&&o.loaded){var a=Math.min(1,(e-o.loaded)/200);mt(o.el,a),a<1?t=!0:(o.active?n=!0:this._onOpaqueTile(o),o.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),t&&(P(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this))}},_onOpaqueTile:u,_initContainer:function(){this._container||(this._container=at("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(void 0!==e){for(var n in this._levels)this._levels[n].el.children.length||n===e?(this._levels[n].el.style.zIndex=t-Math.abs(e-n),this._onUpdateLevel(n)):(rt(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var i=this._levels[e],o=this._map;return i||((i=this._levels[e]={}).el=at("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=t,i.origin=o.project(o.unproject(o.getPixelOrigin()),e).round(),i.zoom=e,this._setZoomTransform(i,o.getCenter(),o.getZoom()),i.el.offsetWidth,this._onCreateLevel(i)),this._level=i}},_onUpdateLevel:u,_onRemoveLevel:u,_onCreateLevel:u,_pruneTiles:function(){if(this._map){var e,t,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(e in this._tiles)(t=this._tiles[e]).retain=t.current;for(e in this._tiles)if((t=this._tiles[e]).current&&!t.active){var i=t.coords;this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)rt(this._levels[e].el),this._onRemoveLevel(e),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,n,i){var o=Math.floor(e/2),a=Math.floor(t/2),r=n-1,s=new D(+o,+a);s.z=+r;var l=this._tileCoordsToKey(s),c=this._tiles[l];return c&&c.active?c.retain=!0:(c&&c.loaded&&(c.retain=!0),i<r&&this._retainParent(o,a,r,i))},_retainChildren:function(e,t,n,i){for(var o=2*e;o<2*e+2;o++)for(var a=2*t;a<2*t+2;a++){var r=new D(o,a);r.z=n+1;var s=this._tileCoordsToKey(r),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1<i&&this._retainChildren(o,a,n+1,i))}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return void 0!==t.minNativeZoom&&e<t.minNativeZoom?t.minNativeZoom:void 0!==t.maxNativeZoom&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,n,i){var o=this._clampZoom(Math.round(t));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0);var a=this.options.updateWhenZooming&&o!==this._tileZoom;i&&!a||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(e),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var n in this._levels)this._setZoomTransform(this._levels[n],e,t)},_setZoomTransform:function(e,t,n){var i=this._map.getZoomScale(n,e.zoom),o=e.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(t,n)).round();ve?_t(e.el,o,i):yt(e.el,o)},_resetGrid:function(){var e=this._map,t=e.options.crs,n=this._tileSize=this.getTileSize(),i=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],i).x/n.x),Math.ceil(e.project([0,t.wrapLng[1]],i).x/n.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],i).y/n.x),Math.ceil(e.project([t.wrapLat[1],0],i).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=this._map,n=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),i=t.getZoomScale(n,this._tileZoom),o=t.project(e,this._tileZoom).floor(),a=t.getSize().divideBy(2*i);return new N(o.subtract(a),o.add(a))},_update:function(e){var t=this._map;if(t){var n=this._clampZoom(t.getZoom());if(void 0===e&&(e=t.getCenter()),void 0!==this._tileZoom){var i=this._getTiledPixelBounds(e),o=this._pxBoundsToTileRange(i),a=o.getCenter(),r=[],s=this.options.keepBuffer,l=new N(o.getBottomLeft().subtract([s,-s]),o.getTopRight().add([s,-s]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var u=this._tiles[c].coords;u.z===this._tileZoom&&l.contains(new D(u.x,u.y))||(this._tiles[c].current=!1)}if(1<Math.abs(n-this._tileZoom))this._setView(e,n);else{for(var h=o.min.y;h<=o.max.y;h++)for(var d=o.min.x;d<=o.max.x;d++){var p=new D(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:r.push(p)}}if(r.sort(function(e,t){return e.distanceTo(a)-t.distanceTo(a)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;d<r.length;d++)this._addTile(r[d],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var n=this._globalTileRange;if(!t.wrapLng&&(e.x<n.min.x||e.x>n.max.x)||!t.wrapLat&&(e.y<n.min.y||e.y>n.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(e);return R(this.options.bounds).overlaps(i)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),i=e.scaleBy(n),o=i.add(n);return[t.unproject(i,e.z),t.unproject(o,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new j(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),n=new D(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(rt(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){ht(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=u,e.onmousemove=u,ne&&this.options.opacity<1&&mt(e,this.options.opacity),ae&&!re&&(e.style.WebkitBackfaceVisibility="hidden")},_addTile:function(e,t){var n=this._getTilePos(e),i=this._tileCoordsToKey(e),o=this.createTile(this._wrapCoords(e),a(this._tileReady,this,e));this._initTile(o),this.createTile.length<2&&C(a(this._tileReady,this,e,null,o)),yt(o,n),this._tiles[i]={el:o,coords:e,current:!0},t.appendChild(o),this.fire("tileloadstart",{tile:o,coords:e})},_tileReady:function(e,t,n){t&&this.fire("tileerror",{error:t,tile:n,coords:e});var i=this._tileCoordsToKey(e);(n=this._tiles[i])&&(n.loaded=+new Date,this._map._fadeAnimated?(mt(n.el,0),P(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(ht(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),ne||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new D(this._wrapX?c(e.x,this._wrapX):e.x,this._wrapY?c(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new N(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}}),oi=ii.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(e,t){this._url=e,(t=f(this,t)).detectRetina&&Me&&0<t.maxZoom&&(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom++):(t.zoomOffset++,t.maxZoom--),t.minZoom=Math.max(0,t.minZoom)),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),ae||this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=document.createElement("img");return Mt(n,"load",a(this._tileOnLoad,this,t,n)),Mt(n,"error",a(this._tileOnError,this,t,n)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(e),n},getTileUrl:function(e){var t={r:Me?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=i),t["-y"]=i}return _(this._url,n(t,this.options))},_tileOnLoad:function(e,t){ne?setTimeout(a(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var i=this.options.errorTileUrl;i&&t.getAttribute("src")!==i&&(t.src=i),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return this.options.zoomReverse&&(e=t-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=u,t.onerror=u,t.complete||(t.src=b,rt(t),delete this._tiles[e]))},_removeTile:function(e){var t=this._tiles[e];if(t)return le||t.el.setAttribute("src",b),ii.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(this._map&&(!n||n.getAttribute("src")!==b))return ii.prototype._tileReady.call(this,e,t,n)}});function ai(e,t){return new oi(e,t)}var ri=oi.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var i=n({},this.defaultWmsParams);for(var o in t)o in this.options||(i[o]=t[o]);var a=(t=f(this,t)).detectRetina&&Me?2:1,r=this.getTileSize();i.width=r.x*a,i.height=r.y*a,this.wmsParams=i},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[t]=this._crs.code,oi.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,i=B(n.project(t[0]),n.project(t[1])),o=i.min,a=i.max,r=(1.3<=this._wmsVersion&&this._crs===Sn?[o.y,o.x,a.y,a.x]:[o.x,o.y,a.x,a.y]).join(","),s=oi.prototype.getTileUrl.call(this,e);return s+m(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(e,t){return n(this.wmsParams,e),t||this.redraw(),this}});oi.WMS=ri,ai.wms=function(e,t){return new ri(e,t)};var si=Pn.extend({options:{padding:.1,tolerance:0},initialize:function(e){f(this,e),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&ht(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),i=vt(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,t),r=this._map.project(e,t).subtract(a),s=o.multiplyBy(-n).add(i).add(o).subtract(r);ve?_t(this._container,s,n):yt(this._container,s)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new N(n,n.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),li=si.extend({getEvents:function(){var e=si.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){si.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");Mt(e,"mousemove",l(this._onMouseMove,32,this),this),Mt(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Mt(e,"mouseout",this._handleMouseOut,this),this._ctx=e.getContext("2d")},_destroyContainer:function(){P(this._redrawRequest),delete this._ctx,rt(this._container),Lt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){si.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),i=Me?2:1;yt(t,e.min),t.width=i*n.x,t.height=i*n.y,t.style.width=n.x+"px",t.style.height=n.y+"px",Me&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){si.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e);var t=(this._layers[s(e)]=e)._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,i=t.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete e._order,delete this._layers[s(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,n,i=e.options.dashArray.split(/[, ]+/),o=[];for(n=0;n<i.length;n++){if(t=Number(i[n]),isNaN(t))return;o.push(t)}e.options._dashArray=o}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||C(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new N,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var n=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)e=i.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var n,i,o,a,r=e._parts,s=r.length,l=this._ctx;if(s){for(l.beginPath(),n=0;n<s;n++){for(i=0,o=r[n].length;i<o;i++)a=r[n][i],l[i?"lineTo":"moveTo"](a.x,a.y);t&&l.closePath()}this._fillStroke(l,e)}}},_updateCircle:function(e){if(this._drawing&&!e._empty()){var t=e._point,n=this._ctx,i=Math.max(Math.round(e._radius),1),o=(Math.max(Math.round(e._radiusY),1)||i)/i;1!=o&&(n.save(),n.scale(1,o)),n.beginPath(),n.arc(t.x,t.y/o,i,0,2*Math.PI,!1),1!=o&&n.restore(),this._fillStroke(n,e)}},_fillStroke:function(e,t){var n=t.options;n.fill&&(e.globalAlpha=n.fillOpacity,e.fillStyle=n.fillColor||n.color,e.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=n.opacity,e.lineWidth=n.weight,e.strokeStyle=n.color,e.lineCap=n.lineCap,e.lineJoin=n.lineJoin,e.stroke())},_onClick:function(e){for(var t,n,i=this._map.mouseEventToLayerPoint(e),o=this._drawFirst;o;o=o.next)(t=o.layer).options.interactive&&t._containsPoint(i)&&!this._map._draggableMoved(t)&&(n=t);n&&(qt(e),this._fireEvent([n],e))},_onMouseMove:function(e){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(dt(this._container,"leaflet-interactive"),this._fireEvent([t],e,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(e,t){for(var n,i,o=this._drawFirst;o;o=o.next)(n=o.layer).options.interactive&&n._containsPoint(t)&&(i=n);i!==this._hoveredLayer&&(this._handleMouseOut(e),i&&(ht(this._container,"leaflet-interactive"),this._fireEvent([i],e,"mouseover"),this._hoveredLayer=i)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],e)},_fireEvent:function(e,t,n){this._map._fireDOMEvent(t,n||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var n=t.next,i=t.prev;n&&((n.prev=i)?i.next=n:n&&(this._drawFirst=n),t.prev=this._drawLast,(this._drawLast.next=t).next=null,this._drawLast=t,this._requestRedraw(e))}},_bringToBack:function(e){var t=e._order;if(t){var n=t.next,i=t.prev;i&&((i.next=n)?n.prev=i:i&&(this._drawLast=i),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e))}}});function ci(e){return Te?new li(e):null}var ui=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch(e){return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),hi={_initContainer:function(){this._container=at("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(si.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=ui("shape");ht(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=ui("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[s(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;rt(t),e.removeInteractiveTarget(t),delete this._layers[s(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,i=e.options,o=e._container;o.stroked=!!i.stroke,o.filled=!!i.fill,i.stroke?(t||(t=e._stroke=ui("stroke")),o.appendChild(t),t.weight=i.weight+"px",t.color=i.color,t.opacity=i.opacity,i.dashArray?t.dashStyle=y(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=i.lineCap.replace("butt","flat"),t.joinstyle=i.lineJoin):t&&(o.removeChild(t),e._stroke=null),i.fill?(n||(n=e._fill=ui("fill")),o.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(o.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),i=Math.round(e._radiusY||n);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+n+","+i+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){lt(e._container)},_bringToBack:function(e){ct(e._container)}},di=Ee?ui:J,pi=si.extend({getEvents:function(){var e=si.prototype.getEvents.call(this);return e.zoomstart=this._onZoomStart,e},_initContainer:function(){this._container=di("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=di("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){rt(this._container),Lt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){si.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,n.setAttribute("width",t.x),n.setAttribute("height",t.y)),yt(n,e.min),n.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=di("path");e.options.className&&ht(t,e.options.className),e.options.interactive&&ht(t,"leaflet-interactive"),this._updateStyle(e),this._layers[s(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){rt(e._path),e.removeInteractiveTarget(e._path),delete this._layers[s(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute("stroke",n.color),t.setAttribute("stroke-opacity",n.opacity),t.setAttribute("stroke-width",n.weight),t.setAttribute("stroke-linecap",n.lineCap),t.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?t.setAttribute("stroke-dasharray",n.dashArray):t.removeAttribute("stroke-dasharray"),n.dashOffset?t.setAttribute("stroke-dashoffset",n.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),n.fill?(t.setAttribute("fill",n.fillColor||n.color),t.setAttribute("fill-opacity",n.fillOpacity),t.setAttribute("fill-rule",n.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,X(e._parts,t))},_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),i="a"+n+","+(Math.max(Math.round(e._radiusY),1)||n)+" 0 1,0 ",o=e._empty()?"M0 0":"M"+(t.x-n)+","+t.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(e,o)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){lt(e._path)},_bringToBack:function(e){ct(e._path)}});function fi(e){return Le||Ee?new pi(e):null}Ee&&pi.include(hi),Gt.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&ci(e)||fi(e)}});var mi=jn.extend({initialize:function(e,t){jn.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=R(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});pi.create=di,pi.pointsToPath=X,Rn.geometryToLayer=Hn,Rn.coordsToLatLng=Fn,Rn.coordsToLatLngs=Wn,Rn.latLngToCoords=qn,Rn.latLngsToCoords=$n,Rn.getFeature=Zn,Rn.asFeature=Vn,Gt.mergeOptions({boxZoom:!0});var gi=tn.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){Mt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Lt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){rt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),Ye(),wt(),this._startPoint=this._map.mouseEventToContainerPoint(e),Mt(document,{contextmenu:Bt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=at("div","leaflet-zoom-box",this._container),ht(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new N(this._point,this._startPoint),n=t.getSize();yt(this._box,t.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(rt(this._box),dt(this._container,"leaflet-crosshair")),Ke(),At(),Lt(document,{contextmenu:Bt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var t=new j(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&this._finish()}});Gt.addInitHook("addHandler","boxZoom",gi),Gt.mergeOptions({doubleClickZoom:!0});var _i=tn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),i=t.options.zoomDelta,o=e.originalEvent.shiftKey?n-i:n+i;"center"===t.options.doubleClickZoom?t.setZoom(o):t.setZoomAround(e.containerPoint,o)}});Gt.addInitHook("addHandler","doubleClickZoom",_i),Gt.mergeOptions({dragging:!0,inertia:!re,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var yi=tn.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new ln(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}ht(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){dt(this._map._container,"leaflet-grab"),dt(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=R(this._map.options.maxBounds);this._offsetLimit=B(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;1<this._positions.length&&50<e-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,o=(i-t+n)%e+t-n,a=(i+t+n)%e-t-n,r=Math.abs(o+n)<Math.abs(a+n)?o:a;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(e){var t=this._map,n=t.options,i=!n.inertia||this._times.length<2;if(t.fire("dragend",e),i)t.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,r=n.easeLinearity,s=o.multiplyBy(r/a),l=s.distanceTo([0,0]),c=Math.min(n.inertiaMaxSpeed,l),u=s.multiplyBy(c/l),h=c/(n.inertiaDeceleration*r),d=u.multiplyBy(-h/2).round();d.x||d.y?(d=t._limitOffset(d,t.options.maxBounds),C(function(){t.panBy(d,{duration:h,easeLinearity:r,noMoveStart:!0,animate:!0})})):t.fire("moveend")}}});Gt.addInitHook("addHandler","dragging",yi),Gt.mergeOptions({keyboard:!0,keyboardPanDelta:80});var vi=tn.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),Mt(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Lt(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,n=e.scrollTop||t.scrollTop,i=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(i,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t,n,i=this._panKeys={},o=this.keyCodes;for(t=0,n=o.left.length;t<n;t++)i[o.left[t]]=[-1*e,0];for(t=0,n=o.right.length;t<n;t++)i[o.right[t]]=[e,0];for(t=0,n=o.down.length;t<n;t++)i[o.down[t]]=[0,e];for(t=0,n=o.up.length;t<n;t++)i[o.up[t]]=[0,-1*e]},_setZoomDelta:function(e){var t,n,i=this._zoomKeys={},o=this.keyCodes;for(t=0,n=o.zoomIn.length;t<n;t++)i[o.zoomIn[t]]=e;for(t=0,n=o.zoomOut.length;t<n;t++)i[o.zoomOut[t]]=-e},_addHooks:function(){Mt(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Lt(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t,n=e.keyCode,i=this._map;if(n in this._panKeys)i._panAnim&&i._panAnim._inProgress||(t=this._panKeys[n],e.shiftKey&&(t=I(t).multiplyBy(3)),i.panBy(t),i.options.maxBounds&&i.panInsideBounds(i.options.maxBounds));else if(n in this._zoomKeys)i.setZoom(i.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!i._popup||!i._popup.options.closeOnEscapeKey)return;i.closePopup()}Bt(e)}}});Gt.addInitHook("addHandler","keyboard",vi),Gt.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var bi=tn.extend({addHooks:function(){Mt(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Lt(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var t=Ht(e),n=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date);var i=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),i),Bt(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),n=this._map.options.zoomSnap||0;e._stop();var i=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(i))))/Math.LN2,a=n?Math.ceil(o/n)*n:o,r=e._limitZoom(t+(0<this._delta?a:-a))-t;this._delta=0,this._startTime=null,r&&("center"===e.options.scrollWheelZoom?e.setZoom(t+r):e.setZoomAround(this._lastMousePos,t+r))}});Gt.addInitHook("addHandler","scrollWheelZoom",bi),Gt.mergeOptions({tap:!0,tapTolerance:15});var wi=tn.extend({addHooks:function(){Mt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Lt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(e.touches){if(Nt(e),this._fireClick=!0,1<e.touches.length)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var t=e.touches[0],n=t.target;this._startPos=this._newPos=new D(t.clientX,t.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&ht(n,"leaflet-active"),this._holdTimeout=setTimeout(a(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",t))},this),1e3),this._simulateEvent("mousedown",t),Mt(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(e){if(clearTimeout(this._holdTimeout),Lt(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&e&&e.changedTouches){var t=e.changedTouches[0],n=t.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&dt(n,"leaflet-active"),this._simulateEvent("mouseup",t),this._isTapValid()&&this._simulateEvent("click",t)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(e){var t=e.touches[0];this._newPos=new D(t.clientX,t.clientY),this._simulateEvent("mousemove",t)},_simulateEvent:function(e,t){var n=document.createEvent("MouseEvents");n._simulated=!0,t.target._simulatedClick=!0,n.initMouseEvent(e,!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n)}});Se&&!ke&&Gt.addInitHook("addHandler","tap",wi),Gt.mergeOptions({touchZoom:Se&&!re,bounceAtZoomLimits:!0});var Ai=tn.extend({addHooks:function(){ht(this._map._container,"leaflet-touch-zoom"),Mt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){dt(this._map._container,"leaflet-touch-zoom"),Lt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var n=t.mouseEventToContainerPoint(e.touches[0]),i=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),Mt(document,"touchmove",this._onTouchMove,this),Mt(document,"touchend",this._onTouchEnd,this),Nt(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),i=t.mouseEventToContainerPoint(e.touches[1]),o=n.distanceTo(i)/this._startDist;if(this._zoom=t.getScaleZoom(o,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&o<1||this._zoom>t.getMaxZoom()&&1<o)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1==o)return}else{var r=n._add(i)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===r.x&&0===r.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),P(this._animRequest);var s=a(t._move,t,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=C(s,this,!0),Nt(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,P(this._animRequest),Lt(document,"touchmove",this._onTouchMove),Lt(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Gt.addInitHook("addHandler","touchZoom",Ai),Gt.BoxZoom=gi,Gt.DoubleClickZoom=_i,Gt.Drag=yi,Gt.Keyboard=vi,Gt.ScrollWheelZoom=bi,Gt.Tap=wi,Gt.TouchZoom=Ai,Object.freeze=t,e.version="1.5.1+HEAD.2e3e0ff",e.Control=Kt,e.control=Yt,e.Browser=De,e.Evented=O,e.Mixin=on,e.Util=M,e.Class=T,e.Handler=tn,e.extend=n,e.bind=a,e.stamp=s,e.setOptions=f,e.DomEvent=Vt,e.DomUtil=Pt,e.PosAnimation=Ut,e.Draggable=ln,e.LineUtil=_n,e.PolyUtil=bn,e.Point=D,e.point=I,e.Bounds=N,e.bounds=B,e.Transformation=U,e.transformation=G,e.Projection=xn,e.LatLng=H,e.latLng=F,e.LatLngBounds=j,e.latLngBounds=R,e.CRS=q,e.GeoJSON=Rn,e.geoJSON=Gn,e.geoJson=Yn,e.Layer=Pn,e.LayerGroup=Mn,e.layerGroup=function(e,t){return new Mn(e,t)},e.FeatureGroup=Tn,e.featureGroup=function(e){return new Tn(e)},e.ImageOverlay=Kn,e.imageOverlay=function(e,t,n){return new Kn(e,t,n)},e.VideoOverlay=Qn,e.videoOverlay=function(e,t,n){return new Qn(e,t,n)},e.SVGOverlay=Jn,e.svgOverlay=function(e,t,n){return new Jn(e,t,n)},e.DivOverlay=Xn,e.Popup=ei,e.popup=function(e,t){return new ei(e,t)},e.Tooltip=ti,e.tooltip=function(e,t){return new ti(e,t)},e.Icon=Ln,e.icon=function(e){return new Ln(e)},e.DivIcon=ni,e.divIcon=function(e){return new ni(e)},e.Marker=Dn,e.marker=function(e,t){return new Dn(e,t)},e.TileLayer=oi,e.tileLayer=ai,e.GridLayer=ii,e.gridLayer=function(e){return new ii(e)},e.SVG=pi,e.svg=fi,e.Renderer=si,e.Canvas=li,e.canvas=ci,e.Path=zn,e.CircleMarker=In,e.circleMarker=function(e,t){return new In(e,t)},e.Circle=Nn,e.circle=function(e,t,n){return new Nn(e,t,n)},e.Polyline=Bn,e.polyline=function(e,t){return new Bn(e,t)},e.Polygon=jn,e.polygon=function(e,t){return new jn(e,t)},e.Rectangle=mi,e.rectangle=function(e,t){return new mi(e,t)},e.Map=Gt,e.map=function(e,t){return new Gt(e,t)};var xi=window.L;e.noConflict=function(){return window.L=xi,this},window.L=e}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e.Leaflet=e.Leaflet||{},e.Leaflet.markercluster=e.Leaflet.markercluster||{}))}(this,function(e){"use strict";var t=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(e){L.Util.setOptions(this,e),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var t=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,t?this._withAnimation:this._noAnimation),this._markerCluster=t?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(e){if(e instanceof L.LayerGroup)return this.addLayers([e]);if(!e.getLatLng)return this._nonPointGroup.addLayer(e),this.fire("layeradd",{layer:e}),this;if(!this._map)return this._needsClustering.push(e),this.fire("layeradd",{layer:e}),this;if(this.hasLayer(e))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(e,this._maxZoom),this.fire("layeradd",{layer:e}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var t=e,n=this._zoom;if(e.__parent)for(;t.__parent._zoom>=n;)t=t.__parent;return this._currentShownBounds.contains(t.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(e,t):this._animationAddLayerNonAnimated(e,t)),this},removeLayer:function(e){return e instanceof L.LayerGroup?this.removeLayers([e]):e.getLatLng?this._map?e.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(e)),this._removeLayer(e,!0),this.fire("layerremove",{layer:e}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),e.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(e)&&(this._featureGroup.removeLayer(e),e.clusterShow&&e.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,e)&&this.hasLayer(e)&&this._needsRemoving.push({layer:e,latlng:e._latlng}),this.fire("layerremove",{layer:e}),this):(this._nonPointGroup.removeLayer(e),this.fire("layerremove",{layer:e}),this)},addLayers:function(e,t){if(!L.Util.isArray(e))return this.addLayer(e);var n,i=this._featureGroup,o=this._nonPointGroup,a=this.options.chunkedLoading,r=this.options.chunkInterval,s=this.options.chunkProgress,l=e.length,c=0,u=!0;if(this._map){var h=(new Date).getTime(),d=L.bind(function(){for(var p=(new Date).getTime();l>c;c++){if(a&&0==c%200)if((new Date).getTime()-p>r)break;if((n=e[c])instanceof L.LayerGroup)u&&(e=e.slice(),u=!1),this._extractNonGroupLayers(n,e),l=e.length;else if(n.getLatLng){if(!this.hasLayer(n)&&(this._addLayer(n,this._maxZoom),t||this.fire("layeradd",{layer:n}),n.__parent&&2===n.__parent.getChildCount())){var f=n.__parent.getAllChildMarkers(),m=f[0]===n?f[1]:f[0];i.removeLayer(m)}}else o.addLayer(n),t||this.fire("layeradd",{layer:n})}s&&s(c,l,(new Date).getTime()-h),c===l?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(d,this.options.chunkDelay)},this);d()}else for(var p=this._needsClustering;l>c;c++)(n=e[c])instanceof L.LayerGroup?(u&&(e=e.slice(),u=!1),this._extractNonGroupLayers(n,e),l=e.length):n.getLatLng?this.hasLayer(n)||p.push(n):o.addLayer(n);return this},removeLayers:function(e){var t,n,i=e.length,o=this._featureGroup,a=this._nonPointGroup,r=!0;if(!this._map){for(t=0;i>t;t++)(n=e[t])instanceof L.LayerGroup?(r&&(e=e.slice(),r=!1),this._extractNonGroupLayers(n,e),i=e.length):(this._arraySplice(this._needsClustering,n),a.removeLayer(n),this.hasLayer(n)&&this._needsRemoving.push({layer:n,latlng:n._latlng}),this.fire("layerremove",{layer:n}));return this}if(this._unspiderfy){this._unspiderfy();var s=e.slice(),l=i;for(t=0;l>t;t++)(n=s[t])instanceof L.LayerGroup?(this._extractNonGroupLayers(n,s),l=s.length):this._unspiderfyLayer(n)}for(t=0;i>t;t++)(n=e[t])instanceof L.LayerGroup?(r&&(e=e.slice(),r=!1),this._extractNonGroupLayers(n,e),i=e.length):n.__parent?(this._removeLayer(n,!0,!0),this.fire("layerremove",{layer:n}),o.hasLayer(n)&&(o.removeLayer(n),n.clusterShow&&n.clusterShow())):(a.removeLayer(n),this.fire("layerremove",{layer:n}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(e){e.off(this._childMarkerEventHandlers,this),delete e.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var e=new L.LatLngBounds;this._topClusterLevel&&e.extend(this._topClusterLevel._bounds);for(var t=this._needsClustering.length-1;t>=0;t--)e.extend(this._needsClustering[t].getLatLng());return e.extend(this._nonPointGroup.getBounds()),e},eachLayer:function(e,t){var n,i,o,a=this._needsClustering.slice(),r=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(a),i=a.length-1;i>=0;i--){for(n=!0,o=r.length-1;o>=0;o--)if(r[o].layer===a[i]){n=!1;break}n&&e.call(t,a[i])}this._nonPointGroup.eachLayer(e,t)},getLayers:function(){var e=[];return this.eachLayer(function(t){e.push(t)}),e},getLayer:function(e){var t=null;return e=parseInt(e,10),this.eachLayer(function(n){L.stamp(n)===e&&(t=n)}),t},hasLayer:function(e){if(!e)return!1;var t,n=this._needsClustering;for(t=n.length-1;t>=0;t--)if(n[t]===e)return!0;for(t=(n=this._needsRemoving).length-1;t>=0;t--)if(n[t].layer===e)return!1;return!(!e.__parent||e.__parent._group!==this)||this._nonPointGroup.hasLayer(e)},zoomToShowLayer:function(e,t){"function"!=typeof t&&(t=function(){});var n=function(){!e._icon&&!e.__parent._icon||this._inZoomAnimation||(this._map.off("moveend",n,this),this.off("animationend",n,this),e._icon?t():e.__parent._icon&&(this.once("spiderfied",t,this),e.__parent.spiderfy()))};e._icon&&this._map.getBounds().contains(e.getLatLng())?t():e.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",n,this),this._map.panTo(e.getLatLng())):(this._map.on("moveend",n,this),this.on("animationend",n,this),e.__parent.zoomToBounds())},onAdd:function(e){var t,n,i;if(this._map=e,!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(e),this._nonPointGroup.addTo(e),this._gridClusters||this._generateInitialClusters(),this._maxLat=e.options.crs.projection.MAX_LATITUDE,t=0,n=this._needsRemoving.length;n>t;t++)(i=this._needsRemoving[t]).newlatlng=i.layer._latlng,i.layer._latlng=i.latlng;for(t=0,n=this._needsRemoving.length;n>t;t++)i=this._needsRemoving[t],this._removeLayer(i.layer,!0),i.layer._latlng=i.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),n=this._needsClustering,this._needsClustering=[],this.addLayers(n,!0)},onRemove:function(e){e.off("zoomend",this._zoomEnd,this),e.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(e){for(var t=e;t&&!t._icon;)t=t.__parent;return t||null},_arraySplice:function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return e.splice(n,1),!0},_removeFromGridUnclustered:function(e,t){for(var n=this._map,i=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());t>=o&&i[t].removeObject(e,n.project(e.getLatLng(),t));t--);},_childMarkerDragStart:function(e){e.target.__dragStart=e.target._latlng},_childMarkerMoved:function(e){if(!this._ignoreMove&&!e.target.__dragStart){var t=e.target._popup&&e.target._popup.isOpen();this._moveChild(e.target,e.oldLatLng,e.latlng),t&&e.target.openPopup()}},_moveChild:function(e,t,n){e._latlng=t,this.removeLayer(e),e._latlng=n,this.addLayer(e)},_childMarkerDragEnd:function(e){var t=e.target.__dragStart;delete e.target.__dragStart,t&&this._moveChild(e.target,t,e.target._latlng)},_removeLayer:function(e,t,n){var i=this._gridClusters,o=this._gridUnclustered,a=this._featureGroup,r=this._map,s=Math.floor(this._map.getMinZoom());t&&this._removeFromGridUnclustered(e,this._maxZoom);var l,c=e.__parent,u=c._markers;for(this._arraySplice(u,e);c&&(c._childCount--,c._boundsNeedUpdate=!0,!(c._zoom<s));)t&&c._childCount<=1?(l=c._markers[0]===e?c._markers[1]:c._markers[0],i[c._zoom].removeObject(c,r.project(c._cLatLng,c._zoom)),o[c._zoom].addObject(l,r.project(l.getLatLng(),c._zoom)),this._arraySplice(c.__parent._childClusters,c),c.__parent._markers.push(l),l.__parent=c.__parent,c._icon&&(a.removeLayer(c),n||a.addLayer(l))):c._iconNeedsUpdate=!0,c=c.__parent;delete e.__parent},_isOrIsParent:function(e,t){for(;t;){if(e===t)return!0;t=t.parentNode}return!1},fire:function(e,t,n){if(t&&t.layer instanceof L.MarkerCluster){if(t.originalEvent&&this._isOrIsParent(t.layer._icon,t.originalEvent.relatedTarget))return;e="cluster"+e}L.FeatureGroup.prototype.fire.call(this,e,t,n)},listens:function(e,t){return L.FeatureGroup.prototype.listens.call(this,e,t)||L.FeatureGroup.prototype.listens.call(this,"cluster"+e,t)},_defaultIconCreateFunction:function(e){var t=e.getChildCount(),n=" marker-cluster-";return n+=10>t?"small":100>t?"medium":"large",new L.DivIcon({html:"<div><span>"+t+"</span></div>",className:"marker-cluster"+n,iconSize:new L.Point(40,40)})},_bindEvents:function(){var e=this._map,t=this.options.spiderfyOnMaxZoom,n=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick;(t||i)&&this.on("clusterclick",this._zoomOrSpiderfy,this),n&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),e.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(e){for(var t=e.layer,n=t;1===n._childClusters.length;)n=n._childClusters[0];n._zoom===this._maxZoom&&n._childCount===t._childCount&&this.options.spiderfyOnMaxZoom?t.spiderfy():this.options.zoomToBoundsOnClick&&t.zoomToBounds(),e.originalEvent&&13===e.originalEvent.keyCode&&this._map._container.focus()},_showCoverage:function(e){var t=this._map;this._inZoomAnimation||(this._shownPolygon&&t.removeLayer(this._shownPolygon),e.layer.getChildCount()>2&&e.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(e.layer.getConvexHull(),this.options.polygonOptions),t.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var e=this.options.spiderfyOnMaxZoom,t=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick,i=this._map;(e||n)&&this.off("clusterclick",this._zoomOrSpiderfy,this),t&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),i.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var e=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),e),this._currentShownBounds=e}},_generateInitialClusters:function(){var e=Math.ceil(this._map.getMaxZoom()),t=Math.floor(this._map.getMinZoom()),n=this.options.maxClusterRadius,i=n;"function"!=typeof n&&(i=function(){return n}),null!==this.options.disableClusteringAtZoom&&(e=this.options.disableClusteringAtZoom-1),this._maxZoom=e,this._gridClusters={},this._gridUnclustered={};for(var o=e;o>=t;o--)this._gridClusters[o]=new L.DistanceGrid(i(o)),this._gridUnclustered[o]=new L.DistanceGrid(i(o));this._topClusterLevel=new this._markerCluster(this,t-1)},_addLayer:function(e,t){var n,i,o=this._gridClusters,a=this._gridUnclustered,r=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(e),e.on(this._childMarkerEventHandlers,this);t>=r;t--){n=this._map.project(e.getLatLng(),t);var s=o[t].getNearObject(n);if(s)return s._addChild(e),void(e.__parent=s);if(s=a[t].getNearObject(n)){var l=s.__parent;l&&this._removeLayer(s,!1);var c=new this._markerCluster(this,t,s,e);o[t].addObject(c,this._map.project(c._cLatLng,t)),s.__parent=c,e.__parent=c;var u=c;for(i=t-1;i>l._zoom;i--)u=new this._markerCluster(this,i,u),o[i].addObject(u,this._map.project(s.getLatLng(),i));return l._addChild(u),void this._removeFromGridUnclustered(s,t)}a[t].addObject(e,n)}this._topClusterLevel._addChild(e),e.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(e){e instanceof L.MarkerCluster&&e._iconNeedsUpdate&&e._updateIcon()})},_enqueue:function(e){this._queue.push(e),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var e=0;e<this._queue.length;e++)this._queue[e].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var e=Math.round(this._map._zoom);this._processQueue(),this._zoom<e&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,e)):this._zoom>e?(this._animationStart(),this._animationZoomOut(this._zoom,e)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(e){var t=this._maxLat;return void 0!==t&&(e.getNorth()>=t&&(e._northEast.lat=1/0),e.getSouth()<=-t&&(e._southWest.lat=-1/0)),e},_animationAddLayerNonAnimated:function(e,t){if(t===e)this._featureGroup.addLayer(e);else if(2===t._childCount){t._addToMap();var n=t.getAllChildMarkers();this._featureGroup.removeLayer(n[0]),this._featureGroup.removeLayer(n[1])}else t._updateIcon()},_extractNonGroupLayers:function(e,t){var n,i=e.getLayers(),o=0;for(t=t||[];o<i.length;o++)(n=i[o])instanceof L.LayerGroup?this._extractNonGroupLayers(n,t):t.push(n);return t},_overrideMarkerIcon:function(e){return e.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[e]}})}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(e,t){this._animationAddLayerNonAnimated(e,t)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(e,t){var n,i=this._getExpandedVisibleBounds(),o=this._featureGroup,a=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(i,e,a,function(a){var r,s=a._latlng,l=a._markers;for(i.contains(s)||(s=null),a._isSingleParent()&&e+1===t?(o.removeLayer(a),a._recursivelyAddChildrenToMap(null,t,i)):(a.clusterHide(),a._recursivelyAddChildrenToMap(s,t,i)),n=l.length-1;n>=0;n--)r=l[n],i.contains(r._latlng)||o.removeLayer(r)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(i,t),o.eachLayer(function(e){e instanceof L.MarkerCluster||!e._icon||e.clusterShow()}),this._topClusterLevel._recursively(i,e,t,function(e){e._recursivelyRestoreChildPositions(t)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(i,e,a,function(e){o.removeLayer(e),e.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(e,t){this._animationZoomOutSingle(this._topClusterLevel,e-1,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e,this._getExpandedVisibleBounds())},_animationAddLayer:function(e,t){var n=this,i=this._featureGroup;i.addLayer(e),t!==e&&(t._childCount>2?(t._updateIcon(),this._forceLayout(),this._animationStart(),e._setPos(this._map.latLngToLayerPoint(t.getLatLng())),e.clusterHide(),this._enqueue(function(){i.removeLayer(e),e.clusterShow(),n._animationEnd()})):(this._forceLayout(),n._animationStart(),n._animationZoomOutSingle(t,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(e,t,n){var i=this._getExpandedVisibleBounds(),o=Math.floor(this._map.getMinZoom());e._recursivelyAnimateChildrenInAndAddSelfToMap(i,o,t+1,n);var a=this;this._forceLayout(),e._recursivelyBecomeVisible(i,n),this._enqueue(function(){if(1===e._childCount){var r=e._markers[0];this._ignoreMove=!0,r.setLatLng(r.getLatLng()),this._ignoreMove=!1,r.clusterShow&&r.clusterShow()}else e._recursively(i,n,o,function(e){e._recursivelyRemoveChildrenFromMap(i,o,t+1)});a._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(e){return new L.MarkerClusterGroup(e)};var n=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(e,t,n,i){L.Marker.prototype.initialize.call(this,n?n._cLatLng||n.getLatLng():new L.LatLng(0,0),{icon:this,pane:e.options.clusterPane}),this._group=e,this._zoom=t,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,n&&this._addChild(n),i&&this._addChild(i)},getAllChildMarkers:function(e,t){e=e||[];for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n].getAllChildMarkers(e);for(var i=this._markers.length-1;i>=0;i--)t&&this._markers[i].__dragStart||e.push(this._markers[i]);return e},getChildCount:function(){return this._childCount},zoomToBounds:function(e){for(var t,n=this._childClusters.slice(),i=this._group._map,o=i.getBoundsZoom(this._bounds),a=this._zoom+1,r=i.getZoom();n.length>0&&o>a;){a++;var s=[];for(t=0;t<n.length;t++)s=s.concat(n[t]._childClusters);n=s}o>a?this._group._map.setView(this._latlng,a):r>=o?this._group._map.setView(this._latlng,r+1):this._group._map.fitBounds(this._bounds,e)},getBounds:function(){var e=new L.LatLngBounds;return e.extend(this._bounds),e},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(e,t){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(e),e instanceof L.MarkerCluster?(t||(this._childClusters.push(e),e.__parent=this),this._childCount+=e._childCount):(t||this._markers.push(e),this._childCount++),this.__parent&&this.__parent._addChild(e,!0)},_setClusterCenter:function(e){this._cLatLng||(this._cLatLng=e._cLatLng||e._latlng)},_resetBounds:function(){var e=this._bounds;e._southWest&&(e._southWest.lat=1/0,e._southWest.lng=1/0),e._northEast&&(e._northEast.lat=-1/0,e._northEast.lng=-1/0)},_recalculateBounds:function(){var e,t,n,i,o=this._markers,a=this._childClusters,r=0,s=0,l=this._childCount;if(0!==l){for(this._resetBounds(),e=0;e<o.length;e++)n=o[e]._latlng,this._bounds.extend(n),r+=n.lat,s+=n.lng;for(e=0;e<a.length;e++)(t=a[e])._boundsNeedUpdate&&t._recalculateBounds(),this._bounds.extend(t._bounds),n=t._wLatLng,i=t._childCount,r+=n.lat*i,s+=n.lng*i;this._latlng=this._wLatLng=new L.LatLng(r/l,s/l),this._boundsNeedUpdate=!1}},_addToMap:function(e){e&&(this._backupLatlng=this._latlng,this.setLatLng(e)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(e,t,n){this._recursively(e,this._group._map.getMinZoom(),n-1,function(e){var n,i,o=e._markers;for(n=o.length-1;n>=0;n--)(i=o[n])._icon&&(i._setPos(t),i.clusterHide())},function(e){var n,i,o=e._childClusters;for(n=o.length-1;n>=0;n--)(i=o[n])._icon&&(i._setPos(t),i.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(e,t,n,i){this._recursively(e,i,t,function(o){o._recursivelyAnimateChildrenIn(e,o._group._map.latLngToLayerPoint(o.getLatLng()).round(),n),o._isSingleParent()&&n-1===i?(o.clusterShow(),o._recursivelyRemoveChildrenFromMap(e,t,n)):o.clusterHide(),o._addToMap()})},_recursivelyBecomeVisible:function(e,t){this._recursively(e,this._group._map.getMinZoom(),t,null,function(e){e.clusterShow()})},_recursivelyAddChildrenToMap:function(e,t,n){this._recursively(n,this._group._map.getMinZoom()-1,t,function(i){if(t!==i._zoom)for(var o=i._markers.length-1;o>=0;o--){var a=i._markers[o];n.contains(a._latlng)&&(e&&(a._backupLatlng=a.getLatLng(),a.setLatLng(e),a.clusterHide&&a.clusterHide()),i._group._featureGroup.addLayer(a))}},function(t){t._addToMap(e)})},_recursivelyRestoreChildPositions:function(e){for(var t=this._markers.length-1;t>=0;t--){var n=this._markers[t];n._backupLatlng&&(n.setLatLng(n._backupLatlng),delete n._backupLatlng)}if(e-1===this._zoom)for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i]._restorePosition();else for(var o=this._childClusters.length-1;o>=0;o--)this._childClusters[o]._recursivelyRestoreChildPositions(e)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(e,t,n,i){var o,a;this._recursively(e,t-1,n-1,function(e){for(a=e._markers.length-1;a>=0;a--)o=e._markers[a],i&&i.contains(o._latlng)||(e._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())},function(e){for(a=e._childClusters.length-1;a>=0;a--)o=e._childClusters[a],i&&i.contains(o._latlng)||(e._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())})},_recursively:function(e,t,n,i,o){var a,r,s=this._childClusters,l=this._zoom;if(l>=t&&(i&&i(this),o&&l===n&&o(this)),t>l||n>l)for(a=s.length-1;a>=0;a--)(r=s[a])._boundsNeedUpdate&&r._recalculateBounds(),e.intersects(r._bounds)&&r._recursively(e,t,n,i,o)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var e=this.options.opacity;return this.setOpacity(0),this.options.opacity=e,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(e){this._cellSize=e,this._sqCellSize=e*e,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(e,t){var n=this._getCoord(t.x),i=this._getCoord(t.y),o=this._grid,a=o[i]=o[i]||{},r=a[n]=a[n]||[],s=L.Util.stamp(e);this._objectPoint[s]=t,r.push(e)},updateObject:function(e,t){this.removeObject(e),this.addObject(e,t)},removeObject:function(e,t){var n,i,o=this._getCoord(t.x),a=this._getCoord(t.y),r=this._grid,s=r[a]=r[a]||{},l=s[o]=s[o]||[];for(delete this._objectPoint[L.Util.stamp(e)],n=0,i=l.length;i>n;n++)if(l[n]===e)return l.splice(n,1),1===i&&delete s[o],!0},eachObject:function(e,t){var n,i,o,a,r,s,l=this._grid;for(n in l)for(i in r=l[n])for(o=0,a=(s=r[i]).length;a>o;o++)e.call(t,s[o])&&(o--,a--)},getNearObject:function(e){var t,n,i,o,a,r,s,l,c=this._getCoord(e.x),u=this._getCoord(e.y),h=this._objectPoint,d=this._sqCellSize,p=null;for(t=u-1;u+1>=t;t++)if(o=this._grid[t])for(n=c-1;c+1>=n;n++)if(a=o[n])for(i=0,r=a.length;r>i;i++)s=a[i],(d>(l=this._sqDist(h[L.Util.stamp(s)],e))||d>=l&&null===p)&&(d=l,p=s);return p},_getCoord:function(e){var t=Math.floor(e/this._cellSize);return isFinite(t)?t:e},_sqDist:function(e,t){var n=t.x-e.x,i=t.y-e.y;return n*n+i*i}},L.QuickHull={getDistant:function(e,t){var n=t[1].lat-t[0].lat;return(t[0].lng-t[1].lng)*(e.lat-t[0].lat)+n*(e.lng-t[0].lng)},findMostDistantPointFromBaseLine:function(e,t){var n,i,o,a=0,r=null,s=[];for(n=t.length-1;n>=0;n--)i=t[n],(o=this.getDistant(i,e))>0&&(s.push(i),o>a&&(a=o,r=i));return{maxPoint:r,newPoints:s}},buildConvexHull:function(e,t){var n=[],i=this.findMostDistantPointFromBaseLine(e,t);return i.maxPoint?n=(n=n.concat(this.buildConvexHull([e[0],i.maxPoint],i.newPoints))).concat(this.buildConvexHull([i.maxPoint,e[1]],i.newPoints)):[e[0]]},getConvexHull:function(e){var t,n=!1,i=!1,o=!1,a=!1,r=null,s=null,l=null,c=null,u=null,h=null;for(t=e.length-1;t>=0;t--){var d=e[t];(!1===n||d.lat>n)&&(r=d,n=d.lat),(!1===i||d.lat<i)&&(s=d,i=d.lat),(!1===o||d.lng>o)&&(l=d,o=d.lng),(!1===a||d.lng<a)&&(c=d,a=d.lng)}return i!==n?(h=s,u=r):(h=c,u=l),[].concat(this.buildConvexHull([h,u],e),this.buildConvexHull([u,h],e))}},L.MarkerCluster.include({getConvexHull:function(){var e,t,n=this.getAllChildMarkers(),i=[];for(t=n.length-1;t>=0;t--)e=n[t].getLatLng(),i.push(e);return L.QuickHull.getConvexHull(i)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var e,t=this.getAllChildMarkers(null,!0),n=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,t.length>=this._circleSpiralSwitchover?e=this._generatePointsSpiral(t.length,n):(n.y+=10,e=this._generatePointsCircle(t.length,n)),this._animationSpiderfy(t,e)}},unspiderfy:function(e){this._group._inZoomAnimation||(this._animationUnspiderfy(e),this._group._spiderfied=null)},_generatePointsCircle:function(e,t){var n,i,o=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+e)/this._2PI,a=this._2PI/e,r=[];for(o=Math.max(o,35),r.length=e,n=0;e>n;n++)i=this._circleStartAngle+n*a,r[n]=new L.Point(t.x+o*Math.cos(i),t.y+o*Math.sin(i))._round();return r},_generatePointsSpiral:function(e,t){var n,i=this._group.options.spiderfyDistanceMultiplier,o=i*this._spiralLengthStart,a=i*this._spiralFootSeparation,r=i*this._spiralLengthFactor*this._2PI,s=0,l=[];for(l.length=e,n=e;n>=0;n--)e>n&&(l[n]=new L.Point(t.x+o*Math.cos(s),t.y+o*Math.sin(s))._round()),o+=r/(s+=a/o+5e-4*n);return l},_noanimationUnspiderfy:function(){var e,t,n=this._group,i=n._map,o=n._featureGroup,a=this.getAllChildMarkers(null,!0);for(n._ignoreMove=!0,this.setOpacity(1),t=a.length-1;t>=0;t--)e=a[t],o.removeLayer(e),e._preSpiderfyLatlng&&(e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng),e.setZIndexOffset&&e.setZIndexOffset(0),e._spiderLeg&&(i.removeLayer(e._spiderLeg),delete e._spiderLeg);n.fire("unspiderfied",{cluster:this,markers:a}),n._ignoreMove=!1,n._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(e,t){var n,i,o,a,r=this._group,s=r._map,l=r._featureGroup,c=this._group.options.spiderLegPolylineOptions;for(r._ignoreMove=!0,n=0;n<e.length;n++)a=s.layerPointToLatLng(t[n]),i=e[n],o=new L.Polyline([this._latlng,a],c),s.addLayer(o),i._spiderLeg=o,i._preSpiderfyLatlng=i._latlng,i.setLatLng(a),i.setZIndexOffset&&i.setZIndexOffset(1e6),l.addLayer(i);this.setOpacity(.3),r._ignoreMove=!1,r.fire("spiderfied",{cluster:this,markers:e})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(e,t){var n,i,o,a,r,s,l=this,c=this._group,u=c._map,h=c._featureGroup,d=this._latlng,p=u.latLngToLayerPoint(d),f=L.Path.SVG,m=L.extend({},this._group.options.spiderLegPolylineOptions),g=m.opacity;for(void 0===g&&(g=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),f?(m.opacity=0,m.className=(m.className||"")+" leaflet-cluster-spider-leg"):m.opacity=g,c._ignoreMove=!0,n=0;n<e.length;n++)i=e[n],s=u.layerPointToLatLng(t[n]),o=new L.Polyline([d,s],m),u.addLayer(o),i._spiderLeg=o,f&&(r=(a=o._path).getTotalLength()+.1,a.style.strokeDasharray=r,a.style.strokeDashoffset=r),i.setZIndexOffset&&i.setZIndexOffset(1e6),i.clusterHide&&i.clusterHide(),h.addLayer(i),i._setPos&&i._setPos(p);for(c._forceLayout(),c._animationStart(),n=e.length-1;n>=0;n--)s=u.layerPointToLatLng(t[n]),(i=e[n])._preSpiderfyLatlng=i._latlng,i.setLatLng(s),i.clusterShow&&i.clusterShow(),f&&((a=(o=i._spiderLeg)._path).style.strokeDashoffset=0,o.setStyle({opacity:g}));this.setOpacity(.3),c._ignoreMove=!1,setTimeout(function(){c._animationEnd(),c.fire("spiderfied",{cluster:l,markers:e})},200)},_animationUnspiderfy:function(e){var t,n,i,o,a,r,s=this,l=this._group,c=l._map,u=l._featureGroup,h=e?c._latLngToNewLayerPoint(this._latlng,e.zoom,e.center):c.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(null,!0),p=L.Path.SVG;for(l._ignoreMove=!0,l._animationStart(),this.setOpacity(1),n=d.length-1;n>=0;n--)(t=d[n])._preSpiderfyLatlng&&(t.closePopup(),t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng,r=!0,t._setPos&&(t._setPos(h),r=!1),t.clusterHide&&(t.clusterHide(),r=!1),r&&u.removeLayer(t),p&&(a=(o=(i=t._spiderLeg)._path).getTotalLength()+.1,o.style.strokeDashoffset=a,i.setStyle({opacity:0})));l._ignoreMove=!1,setTimeout(function(){var e=0;for(n=d.length-1;n>=0;n--)(t=d[n])._spiderLeg&&e++;for(n=d.length-1;n>=0;n--)(t=d[n])._spiderLeg&&(t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),e>1&&u.removeLayer(t),c.removeLayer(t._spiderLeg),delete t._spiderLeg);l._animationEnd(),l.fire("unspiderfied",{cluster:s,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(e){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(e))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(e){this._spiderfied&&this._spiderfied.unspiderfy(e)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(e){e._spiderLeg&&(this._featureGroup.removeLayer(e),e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),this._map.removeLayer(e._spiderLeg),delete e._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(e){return e?e instanceof L.MarkerClusterGroup?e=e._topClusterLevel.getAllChildMarkers():e instanceof L.LayerGroup?e=e._layers:e instanceof L.MarkerCluster?e=e.getAllChildMarkers():e instanceof L.Marker&&(e=[e]):e=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(e),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(e),this},_flagParentsIconsNeedUpdate:function(e){var t,n;for(t in e)for(n=e[t].__parent;n;)n._iconNeedsUpdate=!0,n=n.__parent},_refreshSingleMarkerModeMarkers:function(e){var t,n;for(t in e)n=e[t],this.hasLayer(n)&&n.setIcon(this._overrideMarkerIcon(n))}}),L.Marker.include({refreshIconOptions:function(e,t){var n=this.options.icon;return L.setOptions(n,e),this.setIcon(n),t&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),e.MarkerClusterGroup=t,e.MarkerCluster=n});
1
+ if(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(e,t){"use strict";var n=[],i=e.document,o=Object.getPrototypeOf,a=n.slice,r=n.concat,s=n.push,l=n.indexOf,c={},u=c.toString,h=c.hasOwnProperty,d=h.toString,p=d.call(Object),f={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},_={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var o,a,r=(n=n||i).createElement("script");if(r.text=e,t)for(o in _)(a=t[o]||t.getAttribute&&t.getAttribute(o))&&r.setAttribute(o,a);n.head.appendChild(r).parentNode.removeChild(r)}function v(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[u.call(e)]||"object":typeof e}var b="3.4.1",w=function(e,t){return new w.fn.init(e,t)},A=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function x(e){var t=!!e&&"length"in e&&e.length,n=v(e);return!m(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}w.fn=w.prototype={jquery:b,constructor:w,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,i,o,a,r=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[s]||{},s++),"object"==typeof r||m(r)||(r={}),s===l&&(r=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)i=e[t],"__proto__"!==t&&r!==i&&(c&&i&&(w.isPlainObject(i)||(o=Array.isArray(i)))?(n=r[t],a=o&&!Array.isArray(n)?[]:o||w.isPlainObject(n)?n:{},o=!1,r[t]=w.extend(c,a,i)):void 0!==i&&(r[t]=i));return r},w.extend({expando:"jQuery"+(b+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]"!==u.call(e)||(t=o(e))&&("function"!=typeof(n=h.call(t,"constructor")&&t.constructor)||d.call(n)!==p))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){y(e,{nonce:t&&t.nonce})},each:function(e,t){var n,i=0;if(x(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(A,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(x(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,a=e.length,r=!n;o<a;o++)!t(e[o],o)!==r&&i.push(e[o]);return i},map:function(e,t,n){var i,o,a=0,s=[];if(x(e))for(i=e.length;a<i;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return r.apply([],s)},guid:1,support:f}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});var k=function(e){var t,n,i,o,a,r,s,l,c,u,h,d,p,f,m,g,_,y,v,b="sizzle"+1*new Date,w=e.document,A=0,x=0,k=le(),S=le(),C=le(),P=le(),M=function(e,t){return e===t&&(h=!0),0},T={}.hasOwnProperty,L=[],E=L.pop,O=L.push,D=L.push,z=L.slice,I=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+B+"*("+j+")(?:"+B+"*([*^$|!~]?=)"+B+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+B+"*\\]",H=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",F=new RegExp(B+"+","g"),W=new RegExp("^"+B+"+|((?:^|[^\\\\])(?:\\\\.)*)"+B+"+$","g"),q=new RegExp("^"+B+"*,"+B+"*"),$=new RegExp("^"+B+"*([>+~]|"+B+")"+B+"*"),Z=new RegExp(B+"|>"),V=new RegExp(H),U=new RegExp("^"+j+"$"),G={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){d()},re=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{D.apply(L=z.call(w.childNodes),w.childNodes),L[w.childNodes.length].nodeType}catch(t){D={apply:L.length?function(e,t){O.apply(e,z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(e,t,i,o){var a,s,c,u,h,f,_,y=t&&t.ownerDocument,A=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==A&&9!==A&&11!==A)return i;if(!o&&((t?t.ownerDocument||t:w)!==p&&d(t),t=t||p,m)){if(11!==A&&(h=X.exec(e)))if(a=h[1]){if(9===A){if(!(c=t.getElementById(a)))return i;if(c.id===a)return i.push(c),i}else if(y&&(c=y.getElementById(a))&&v(t,c)&&c.id===a)return i.push(c),i}else{if(h[2])return D.apply(i,t.getElementsByTagName(e)),i;if((a=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return D.apply(i,t.getElementsByClassName(a)),i}if(n.qsa&&!P[e+" "]&&(!g||!g.test(e))&&(1!==A||"object"!==t.nodeName.toLowerCase())){if(_=e,y=t,1===A&&Z.test(e)){for((u=t.getAttribute("id"))?u=u.replace(ie,oe):t.setAttribute("id",u=b),s=(f=r(e)).length;s--;)f[s]="#"+u+" "+ve(f[s]);_=f.join(","),y=ee.test(e)&&_e(t.parentNode)||t}try{return D.apply(i,y.querySelectorAll(_)),i}catch(t){P(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return l(e.replace(W,"$1"),t,i,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[b]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var n=e.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=t}function de(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,i){for(var o,a=e([],n.length,t),r=a.length;r--;)n[o=a[r]]&&(n[o]=!(i[o]=n[o]))})})}function _e(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},a=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,o,r=e?e.ownerDocument||e:w;return r!==p&&9===r.nodeType&&r.documentElement&&(f=(p=r).documentElement,m=!a(p),w!==p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ae,!1):o.attachEvent&&o.attachEvent("onunload",ae)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=ue(function(e){return f.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,i,o,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(o=t.getElementsByName(e),i=0;a=o[i++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[o++];)1===n.nodeType&&i.push(n);return i}return a},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},_=[],g=[],(n.qsa=J.test(p.querySelectorAll))&&(ue(function(e){f.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+B+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+B+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+B+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=J.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),_.push("!=",H)}),g=g.length&&new RegExp(g.join("|")),_=_.length&&new RegExp(_.join("|")),t=J.test(f.compareDocumentPosition),v=t||J.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},M=t?function(e,t){if(e===t)return h=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===p||e.ownerDocument===w&&v(w,e)?-1:t===p||t.ownerDocument===w&&v(w,t)?1:u?I(u,e)-I(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return h=!0,0;var n,i=0,o=e.parentNode,a=t.parentNode,r=[e],s=[t];if(!o||!a)return e===p?-1:t===p?1:o?-1:a?1:u?I(u,e)-I(u,t):0;if(o===a)return de(e,t);for(n=e;n=n.parentNode;)r.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;r[i]===s[i];)i++;return i?de(r[i],s[i]):r[i]===w?-1:s[i]===w?1:0}),p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&d(e),n.matchesSelector&&m&&!P[t+" "]&&(!_||!_.test(t))&&(!g||!g.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){P(t,!0)}return 0<se(t,p,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!==p&&d(e),v(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==p&&d(e);var o=i.attrHandle[t.toLowerCase()],a=o&&T.call(i.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==a?a:n.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},se.escape=function(e){return(e+"").replace(ie,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],o=0,a=0;if(h=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(M),h){for(;t=e[a++];)t===e[a]&&(o=i.push(a));for(;o--;)e.splice(i[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",i=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(i=se.selectors={cacheLength:50,createPseudo:ce,match:G,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=r(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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "];return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&k(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var o=se.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&-1<o.indexOf(n):"$="===t?n&&o.slice(-n.length)===n:"~="===t?-1<(" "+o.replace(F," ")+" ").indexOf(n):"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var a="nth"!==e.slice(0,3),r="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,h,d,p,f,m=a!==r?"nextSibling":"previousSibling",g=t.parentNode,_=s&&t.nodeName.toLowerCase(),y=!l&&!s,v=!1;if(g){if(a){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===_:1===d.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[r?g.firstChild:g.lastChild],r&&y){for(v=(p=(c=(u=(h=(d=g)[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===A&&c[1])&&c[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(v=p=0)||f.pop();)if(1===d.nodeType&&++v&&d===t){u[e]=[A,p,v];break}}else if(y&&(v=p=(c=(u=(h=(d=t)[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===A&&c[1]),!1===v)for(;(d=++p&&d&&d[m]||(v=p=0)||f.pop())&&((s?d.nodeName.toLowerCase()!==_:1!==d.nodeType)||!++v||(y&&((u=(h=d[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]=[A,v]),d!==t)););return(v-=o)===i||v%i==0&&0<=v/i}}},PSEUDO:function(e,t){var n,o=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[b]?o(t):1<o.length?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){for(var i,a=o(e,t),r=a.length;r--;)e[i=I(e,a[r])]=!(n[i]=a[r])}):function(e){return o(e,0,n)}):o}},pseudos:{not:ce(function(e){var t=[],n=[],i=s(e.replace(W,"$1"));return i[b]?ce(function(e,t,n,o){for(var a,r=i(e,null,o,[]),s=e.length;s--;)(a=r[s])&&(e[s]=!(t[s]=a))}):function(e,o,a){return t[0]=e,i(t,null,a,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return 0<se(e,t).length}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return-1<(t.textContent||o(t)).indexOf(e)}}),lang:ce(function(e){return U.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ge(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ge(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:ge(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=fe(t);function ye(){}function ve(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function be(e,t,n){var i=t.dir,o=t.next,a=o||i,r=n&&"parentNode"===a,s=x++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,o);return!1}:function(t,n,l){var c,u,h,d=[A,s];if(l){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||r)if(u=(h=t[b]||(t[b]={}))[t.uniqueID]||(h[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=u[a])&&c[0]===A&&c[1]===s)return d[2]=c[2];if((u[a]=d)[2]=e(t,n,l))return!0}return!1}}function we(e){return 1<e.length?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function Ae(e,t,n,i,o){for(var a,r=[],s=0,l=e.length,c=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,i,o)||(r.push(a),c&&t.push(s)));return r}function xe(e,t,n,i,o,a){return i&&!i[b]&&(i=xe(i)),o&&!o[b]&&(o=xe(o,a)),ce(function(a,r,s,l){var c,u,h,d=[],p=[],f=r.length,m=a||function(e,t,n){for(var i=0,o=t.length;i<o;i++)se(e,t[i],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!a&&t?m:Ae(m,d,e,s,l),_=n?o||(a?e:f||i)?[]:r:g;if(n&&n(g,_,s,l),i)for(c=Ae(_,p),i(c,[],s,l),u=c.length;u--;)(h=c[u])&&(_[p[u]]=!(g[p[u]]=h));if(a){if(o||e){if(o){for(c=[],u=_.length;u--;)(h=_[u])&&c.push(g[u]=h);o(null,_=[],c,l)}for(u=_.length;u--;)(h=_[u])&&-1<(c=o?I(a,h):d[u])&&(a[c]=!(r[c]=h))}}else _=Ae(_===r?_.splice(f,_.length):_),o?o(null,r,_,l):D.apply(r,_)})}function ke(e){for(var t,n,o,a=e.length,r=i.relative[e[0].type],s=r||i.relative[" "],l=r?1:0,u=be(function(e){return e===t},s,!0),h=be(function(e){return-1<I(t,e)},s,!0),d=[function(e,n,i){var o=!r&&(i||n!==c)||((t=n).nodeType?u(e,n,i):h(e,n,i));return t=null,o}];l<a;l++)if(n=i.relative[e[l].type])d=[be(we(d),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[b]){for(o=++l;o<a&&!i.relative[e[o].type];o++);return xe(1<l&&we(d),1<l&&ve(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(W,"$1"),n,l<o&&ke(e.slice(l,o)),o<a&&ke(e=e.slice(o)),o<a&&ve(e))}d.push(n)}return we(d)}return ye.prototype=i.filters=i.pseudos,i.setFilters=new ye,r=se.tokenize=function(e,t){var n,o,a,r,s,l,c,u=S[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=i.preFilter;s;){for(r in n&&!(o=q.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(a=[])),n=!1,(o=$.exec(s))&&(n=o.shift(),a.push({value:n,type:o[0].replace(W," ")}),s=s.slice(n.length)),i.filter)!(o=G[r].exec(s))||c[r]&&!(o=c[r](o))||(n=o.shift(),a.push({value:n,type:r,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):S(e,l).slice(0)},s=se.compile=function(e,t){var n,o,a,s,l,u,h=[],f=[],g=C[e+" "];if(!g){for(t||(t=r(e)),n=t.length;n--;)(g=ke(t[n]))[b]?h.push(g):f.push(g);(g=C(e,(o=f,s=0<(a=h).length,l=0<o.length,u=function(e,t,n,r,u){var h,f,g,_=0,y="0",v=e&&[],b=[],w=c,x=e||l&&i.find.TAG("*",u),k=A+=null==w?1:Math.random()||.1,S=x.length;for(u&&(c=t===p||t||u);y!==S&&null!=(h=x[y]);y++){if(l&&h){for(f=0,t||h.ownerDocument===p||(d(h),n=!m);g=o[f++];)if(g(h,t||p,n)){r.push(h);break}u&&(A=k)}s&&((h=!g&&h)&&_--,e&&v.push(h))}if(_+=y,s&&y!==_){for(f=0;g=a[f++];)g(v,b,t,n);if(e){if(0<_)for(;y--;)v[y]||b[y]||(b[y]=E.call(r));b=Ae(b)}D.apply(r,b),u&&!e&&0<b.length&&1<_+a.length&&se.uniqueSort(r)}return u&&(A=k,c=w),v},s?ce(u):u))).selector=e}return g},l=se.select=function(e,t,n,o){var a,l,c,u,h,d="function"==typeof e&&e,p=!o&&r(e=d.selector||e);if(n=n||[],1===p.length){if(2<(l=p[0]=p[0].slice(0)).length&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(a=G.needsContext.test(e)?0:l.length;a--&&(c=l[a],!i.relative[u=c.type]);)if((h=i.find[u])&&(o=h(c.matches[0].replace(te,ne),ee.test(l[0].type)&&_e(t.parentNode)||t))){if(l.splice(a,1),!(e=o.length&&ve(l)))return D.apply(n,o),n;break}}return(d||s(e,p))(o,t,!m,n,!t||ee.test(e)&&_e(t.parentNode)||t),n},n.sortStable=b.split("").sort(M).join("")===b,n.detectDuplicates=!!h,d(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||he("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||he("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||he(N,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),se}(e);w.find=k,w.expr=k.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=k.uniqueSort,w.text=k.getText,w.isXMLDoc=k.isXML,w.contains=k.contains,w.escapeSelector=k.escape;var S=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&w(e).is(n))break;i.push(e)}return i},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},P=w.expr.match.needsContext;function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var T=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(e,t,n){return m(t)?w.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return-1<l.call(t,e)!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?w.find.matchesSelector(i,e)?[i]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<i;t++)if(w.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)w.find(e,o[t],n);return 1<i?w.uniqueSort(n):n},filter:function(e){return this.pushStack(L(this,e||[],!1))},not:function(e){return this.pushStack(L(this,e||[],!0))},is:function(e){return!!L(this,"string"==typeof e&&P.test(e)?w(e):e||[],!1).length}});var E,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var o,a;if(!e)return this;if(n=n||E,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:O.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:i,!0)),T.test(o[1])&&w.isPlainObject(t))for(o in t)m(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(a=i.getElementById(o[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,E=w(i);var D=/^(?:parents|prev(?:Until|All))/,z={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,a=[],r="string"!=typeof e&&w(e);if(!P.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(r?-1<r.index(n):1===n.nodeType&&w.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(1<a.length?w.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?l.call(w(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(M(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,i){var o=w.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=w.filter(i,o)),1<this.length&&(z[e]||w.uniqueSort(o),D.test(e)&&o.reverse()),this.pushStack(o)}});var N=/[^\x20\t\r\n\f]+/g;function B(e){return e}function j(e){throw e}function R(e,t,n,i){var o;try{e&&m(o=e.promise)?o.call(e).done(t).fail(n):e&&m(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}w.Callbacks=function(e){var t,n;e="string"==typeof e?(t=e,n={},w.each(t.match(N)||[],function(e,t){n[t]=!0}),n):w.extend({},e);var i,o,a,r,s=[],l=[],c=-1,u=function(){for(r=r||e.once,a=i=!0;l.length;c=-1)for(o=l.shift();++c<s.length;)!1===s[c].apply(o[0],o[1])&&e.stopOnFalse&&(c=s.length,o=!1);e.memory||(o=!1),i=!1,r&&(s=o?[]:"")},h={add:function(){return s&&(o&&!i&&(c=s.length-1,l.push(o)),function t(n){w.each(n,function(n,i){m(i)?e.unique&&h.has(i)||s.push(i):i&&i.length&&"string"!==v(i)&&t(i)})}(arguments),o&&!i&&u()),this},remove:function(){return w.each(arguments,function(e,t){for(var n;-1<(n=w.inArray(t,s,n));)s.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<w.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return r=l=[],s=o="",this},disabled:function(){return!s},lock:function(){return r=l=[],o||i||(s=o=""),this},locked:function(){return!!r},fireWith:function(e,t){return r||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),i||u()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!a}};return h},w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,i){var o=m(e[i[4]])&&e[i[4]];a[i[1]](function(){var e=o&&o.apply(this,arguments);e&&m(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,i,o){var a=0;function r(t,n,i,o){return function(){var s=this,l=arguments,c=function(){var e,c;if(!(t<a)){if((e=i.apply(s,l))===n.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(c)?o?c.call(e,r(a,n,B,o),r(a,n,j,o)):(a++,c.call(e,r(a,n,B,o),r(a,n,j,o),r(a,n,B,n.notifyWith))):(i!==B&&(s=void 0,l=[e]),(o||n.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,u.stackTrace),a<=t+1&&(i!==j&&(s=void 0,l=[e]),n.rejectWith(s,l))}};t?u():(w.Deferred.getStackHook&&(u.stackTrace=w.Deferred.getStackHook()),e.setTimeout(u))}}return w.Deferred(function(e){n[0][3].add(r(0,e,m(o)?o:B,e.notifyWith)),n[1][3].add(r(0,e,m(t)?t:B)),n[2][3].add(r(0,e,m(i)?i:j))}).promise()},promise:function(e){return null!=e?w.extend(e,o):o}},a={};return w.each(n,function(e,t){var r=t[2],s=t[5];o[t[1]]=r.add,s&&r.add(function(){i=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),r.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=r.fireWith}),o.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,n=t,i=Array(n),o=a.call(arguments),r=w.Deferred(),s=function(e){return function(n){i[e]=this,o[e]=1<arguments.length?a.call(arguments):n,--t||r.resolveWith(i,o)}};if(t<=1&&(R(e,r.done(s(n)).resolve,r.reject,!t),"pending"===r.state()||m(o[n]&&o[n].then)))return r.then();for(;n--;)R(o[n],s(n),r.reject);return r.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&H.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();function W(){i.removeEventListener("DOMContentLoaded",W),e.removeEventListener("load",W),w.ready()}w.fn.ready=function(e){return F.then(e).catch(function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0)!==e&&0<--w.readyWait||F.resolveWith(i,[w])}}),w.ready.then=F.then,"complete"===i.readyState||"loading"!==i.readyState&&!i.documentElement.doScroll?e.setTimeout(w.ready):(i.addEventListener("DOMContentLoaded",W),e.addEventListener("load",W));var q=function(e,t,n,i,o,a,r){var s=0,l=e.length,c=null==n;if("object"===v(n))for(s in o=!0,n)q(e,t,s,n[s],!0,a,r);else if(void 0!==i&&(o=!0,m(i)||(r=!0),c&&(r?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(w(e),n)})),t))for(;s<l;s++)t(e[s],n,r?i:i.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):a},$=/^-ms-/,Z=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function U(e){return e.replace($,"ms-").replace(Z,V)}var G=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Y(){this.expando=w.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(e){var t=e[this.expando];return t||(t={},G(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[U(t)]=n;else for(i in t)o[U(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][U(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,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(U):(t=U(t))in i?[t]:t.match(N)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||w.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var K=new Y,Q=new Y,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,X=/[A-Z]/g;function ee(e,t,n){var i,o;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(X,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:J.test(o)?JSON.parse(o):o)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return Q.hasData(e)||K.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,i,o,a=this[0],r=a&&a.attributes;if(void 0===e){if(this.length&&(o=Q.get(a),1===a.nodeType&&!K.get(a,"hasDataAttrs"))){for(n=r.length;n--;)r[n]&&0===(i=r[n].name).indexOf("data-")&&(i=U(i.slice(5)),ee(a,i,o[i]));K.set(a,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Q.set(this,e)}):q(this,function(t){var n;if(a&&void 0===t)return void 0!==(n=Q.get(a,e))?n:void 0!==(n=ee(a,e))?n:void 0;this.each(function(){Q.set(this,e,t)})},null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),w.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=K.get(e,t),n&&(!i||Array.isArray(n)?i=K.access(e,t,w.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),i=n.length,o=n.shift(),a=w._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete a.stop,o.call(e,function(){w.dequeue(e,t)},a)),!i&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:w.Callbacks("once memory").add(function(){K.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=w.Deferred(),a=this,r=this.length,s=function(){--i||o.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";r--;)(n=K.get(a[r],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ne=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],oe=i.documentElement,ae=function(e){return w.contains(e.ownerDocument,e)},re={composed:!0};oe.getRootNode&&(ae=function(e){return w.contains(e.ownerDocument,e)||e.getRootNode(re)===e.ownerDocument});var se=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===w.css(e,"display")},le=function(e,t,n,i){var o,a,r={};for(a in t)r[a]=e.style[a],e.style[a]=t[a];for(a in o=n.apply(e,i||[]),t)e.style[a]=r[a];return o};function ce(e,t,n,i){var o,a,r=20,s=i?function(){return i.cur()}:function(){return w.css(e,t,"")},l=s(),c=n&&n[3]||(w.cssNumber[t]?"":"px"),u=e.nodeType&&(w.cssNumber[t]||"px"!==c&&+l)&&ne.exec(w.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;r--;)w.style(e,t,u+c),(1-a)*(1-(a=s()/l||.5))<=0&&(r=0),u/=a;u*=2,w.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var ue={};function he(e,t){for(var n,i,o,a,r,s,l,c=[],u=0,h=e.length;u<h;u++)(i=e[u]).style&&(n=i.style.display,t?("none"===n&&(c[u]=K.get(i,"display")||null,c[u]||(i.style.display="")),""===i.style.display&&se(i)&&(c[u]=(l=r=a=void 0,r=(o=i).ownerDocument,s=o.nodeName,(l=ue[s])||(a=r.body.appendChild(r.createElement(s)),l=w.css(a,"display"),a.parentNode.removeChild(a),"none"===l&&(l="block"),ue[s]=l)))):"none"!==n&&(c[u]="none",K.set(i,"display",n)));for(u=0;u<h;u++)null!=c[u]&&(e[u].style.display=c[u]);return e}w.fn.extend({show:function(){return he(this,!0)},hide:function(){return he(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){se(this)?w(this).show():w(this).hide()})}});var de=/^(?:checkbox|radio)$/i,pe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,fe=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,"<select multiple='multiple'>","</select>"],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 ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t)?w.merge([e],n):n}function _e(e,t){for(var n=0,i=e.length;n<i;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}me.optgroup=me.option,me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td;var ye,ve,be=/<|&#?\w+;/;function we(e,t,n,i,o){for(var a,r,s,l,c,u,h=t.createDocumentFragment(),d=[],p=0,f=e.length;p<f;p++)if((a=e[p])||0===a)if("object"===v(a))w.merge(d,a.nodeType?[a]:a);else if(be.test(a)){for(r=r||h.appendChild(t.createElement("div")),s=(pe.exec(a)||["",""])[1].toLowerCase(),l=me[s]||me._default,r.innerHTML=l[1]+w.htmlPrefilter(a)+l[2],u=l[0];u--;)r=r.lastChild;w.merge(d,r.childNodes),(r=h.firstChild).textContent=""}else d.push(t.createTextNode(a));for(h.textContent="",p=0;a=d[p++];)if(i&&-1<w.inArray(a,i))o&&o.push(a);else if(c=ae(a),r=ge(h.appendChild(a),"script"),c&&_e(r),n)for(u=0;a=r[u++];)fe.test(a.type||"")&&n.push(a);return h}ye=i.createDocumentFragment().appendChild(i.createElement("div")),(ve=i.createElement("input")).setAttribute("type","radio"),ve.setAttribute("checked","checked"),ve.setAttribute("name","t"),ye.appendChild(ve),f.checkClone=ye.cloneNode(!0).cloneNode(!0).lastChild.checked,ye.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var Ae=/^key/,xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ke=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function Ce(){return!1}function Pe(e,t){return e===function(){try{return i.activeElement}catch(e){}}()==("focus"===t)}function Me(e,t,n,i,o,a){var r,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)Me(e,s,n,i,t[s],a);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Ce;else if(!o)return e;return 1===a&&(r=o,(o=function(e){return w().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=w.guid++)),e.each(function(){w.event.add(this,t,o,i,n)})}function Te(e,t,n){n?(K.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var i,o,r=K.get(this,t);if(1&e.isTrigger&&this[t]){if(r.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=a.call(arguments),K.set(this,t,r),i=n(this,t),this[t](),r!==(o=K.get(this,t))||i?K.set(this,t,!1):o={},r!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else r.length&&(K.set(this,t,{value:w.event.trigger(w.extend(r[0],w.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&w.event.add(e,t,Se)}w.event={global:{},add:function(e,t,n,i,o){var a,r,s,l,c,u,h,d,p,f,m,g=K.get(e);if(g)for(n.handler&&(n=(a=n).handler,o=a.selector),o&&w.find.matchesSelector(oe,o),n.guid||(n.guid=w.guid++),(l=g.events)||(l=g.events={}),(r=g.handle)||(r=g.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(N)||[""]).length;c--;)p=m=(s=ke.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),p&&(h=w.event.special[p]||{},p=(o?h.delegateType:h.bindType)||p,h=w.event.special[p]||{},u=w.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:f.join(".")},a),(d=l[p])||((d=l[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,i,f,r)||e.addEventListener&&e.addEventListener(p,r)),h.add&&(h.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),w.event.global[p]=!0)},remove:function(e,t,n,i,o){var a,r,s,l,c,u,h,d,p,f,m,g=K.hasData(e)&&K.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(N)||[""]).length;c--;)if(p=m=(s=ke.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),p){for(h=w.event.special[p]||{},d=l[p=(i?h.delegateType:h.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=a=d.length;a--;)u=d[a],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(d.splice(a,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(e,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,f,g.handle)||w.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)w.event.remove(e,p+t[c],n,i,!0);w.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,a,r,s=w.event.fix(e),l=new Array(arguments.length),c=(K.get(this,"events")||{})[s.type]||[],u=w.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(r=w.event.handlers.call(this,s,c),t=0;(o=r[t++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==a.namespace&&!s.rnamespace.test(a.namespace)||(s.handleObj=a,s.data=a.data,void 0!==(i=((w.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,l))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,i,o,a,r,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],r={},n=0;n<l;n++)void 0===r[o=(i=t[n]).selector+" "]&&(r[o]=i.needsContext?-1<w(o,this).index(c):w.find(o,this,null,[c]).length),r[o]&&a.push(i);a.length&&s.push({elem:c,handlers:a})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return de.test(t.type)&&t.click&&M(t,"input")&&Te(t,"click",Se),!1},trigger:function(e){var t=this||e;return de.test(t.type)&&t.click&&M(t,"input")&&Te(t,"click"),!0},_default:function(e){var t=e.target;return de.test(t.type)&&t.click&&M(t,"input")&&K.get(t,"click")||M(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Se:Ce,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&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:Ce,isPropagationStopped:Ce,isImmediatePropagationStopped:Ce,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Ae.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&xe.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},function(e,t){w.event.special[e]={setup:function(){return Te(this,e,Pe),!1},trigger:function(){return Te(this,e),!0},delegateType:t}}),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,o=e.handleObj;return i&&(i===this||w.contains(this,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,i){return Me(this,e,t,n,i)},one:function(e,t,n,i){return Me(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,w(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ce),this.each(function(){w.event.remove(this,e,n,t)})}});var Le=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ee=/<script|<style|<link/i,Oe=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ze(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ne(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Be(e,t){var n,i,o,a,r,s,l,c;if(1===t.nodeType){if(K.hasData(e)&&(a=K.access(e),r=K.set(t,a),c=a.events))for(o in delete r.handle,r.events={},c)for(n=0,i=c[o].length;n<i;n++)w.event.add(t,o,c[o][n]);Q.hasData(e)&&(s=Q.access(e),l=w.extend({},s),Q.set(t,l))}}function je(e,t,n,i){t=r.apply([],t);var o,a,s,l,c,u,h=0,d=e.length,p=d-1,g=t[0],_=m(g);if(_||1<d&&"string"==typeof g&&!f.checkClone&&Oe.test(g))return e.each(function(o){var a=e.eq(o);_&&(t[0]=g.call(this,o,a.html())),je(a,t,n,i)});if(d&&(a=(o=we(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=a),a||i)){for(l=(s=w.map(ge(o,"script"),Ie)).length;h<d;h++)c=o,h!==p&&(c=w.clone(c,!0,!0),l&&w.merge(s,ge(c,"script"))),n.call(e[h],c,h);if(l)for(u=s[s.length-1].ownerDocument,w.map(s,Ne),h=0;h<l;h++)c=s[h],fe.test(c.type||"")&&!K.access(c,"globalEval")&&w.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?w._evalUrl&&!c.noModule&&w._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")}):y(c.textContent.replace(De,""),c,u))}return e}function Re(e,t,n){for(var i,o=t?w.filter(t,e):e,a=0;null!=(i=o[a]);a++)n||1!==i.nodeType||w.cleanData(ge(i)),i.parentNode&&(n&&ae(i)&&_e(ge(i,"script")),i.parentNode.removeChild(i));return e}w.extend({htmlPrefilter:function(e){return e.replace(Le,"<$1></$2>")},clone:function(e,t,n){var i,o,a,r,s,l,c,u=e.cloneNode(!0),h=ae(e);if(!(f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(r=ge(u),i=0,o=(a=ge(e)).length;i<o;i++)s=a[i],"input"===(c=(l=r[i]).nodeName.toLowerCase())&&de.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(t)if(n)for(a=a||ge(e),r=r||ge(u),i=0,o=a.length;i<o;i++)Be(a[i],r[i]);else Be(e,u);return 0<(r=ge(u,"script")).length&&_e(r,!h&&ge(e,"script")),u},cleanData:function(e){for(var t,n,i,o=w.event.special,a=0;void 0!==(n=e[a]);a++)if(G(n)){if(t=n[K.expando]){if(t.events)for(i in t.events)o[i]?w.event.remove(n,i):w.removeEvent(n,i,t.handle);n[K.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return q(this,function(e){return void 0===e?w.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 je(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ze(this,e).appendChild(e)})},prepend:function(){return je(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ze(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return je(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return je(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&&(w.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return q(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!me[(pe.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return je(this,arguments,function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ge(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,i=[],o=w(e),a=o.length-1,r=0;r<=a;r++)n=r===a?this:this.clone(!0),w(o[r])[t](n),s.apply(i,n.get());return this.pushStack(i)}});var He=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),Fe=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},We=new RegExp(ie.join("|"),"i");function qe(e,t,n){var i,o,a,r,s=e.style;return(n=n||Fe(e))&&(""!==(r=n.getPropertyValue(t)||n[t])||ae(e)||(r=w.style(e,t)),!f.pixelBoxStyles()&&He.test(r)&&We.test(t)&&(i=s.width,o=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=r,r=n.width,s.width=i,s.minWidth=o,s.maxWidth=a)),void 0!==r?r+"":r}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",oe.appendChild(c).appendChild(u);var t=e.getComputedStyle(u);o="1%"!==t.top,l=12===n(t.marginLeft),u.style.right="60%",s=36===n(t.right),a=36===n(t.width),u.style.position="absolute",r=12===n(u.offsetWidth/3),oe.removeChild(c),u=null}}function n(e){return Math.round(parseFloat(e))}var o,a,r,s,l,c=i.createElement("div"),u=i.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===u.style.backgroundClip,w.extend(f,{boxSizingReliable:function(){return t(),a},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),o},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),r}}))}();var Ze=["Webkit","Moz","ms"],Ve=i.createElement("div").style,Ue={};function Ge(e){return w.cssProps[e]||Ue[e]||(e in Ve?e:Ue[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ze.length;n--;)if((e=Ze[n]+t)in Ve)return e}(e)||e)}var Ye=/^(none|table(?!-c[ea]).+)/,Ke=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function Xe(e,t,n){var i=ne.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function et(e,t,n,i,o,a){var r="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(l+=w.css(e,n+ie[r],!0,o)),i?("content"===n&&(l-=w.css(e,"padding"+ie[r],!0,o)),"margin"!==n&&(l-=w.css(e,"border"+ie[r]+"Width",!0,o))):(l+=w.css(e,"padding"+ie[r],!0,o),"padding"!==n?l+=w.css(e,"border"+ie[r]+"Width",!0,o):s+=w.css(e,"border"+ie[r]+"Width",!0,o));return!i&&0<=a&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l}function tt(e,t,n){var i=Fe(e),o=(!f.boxSizingReliable()||n)&&"border-box"===w.css(e,"boxSizing",!1,i),a=o,r=qe(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(r)){if(!n)return r;r="auto"}return(!f.boxSizingReliable()&&o||"auto"===r||!parseFloat(r)&&"inline"===w.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===w.css(e,"boxSizing",!1,i),(a=s in e)&&(r=e[s])),(r=parseFloat(r)||0)+et(e,t,n||(o?"border":"content"),a,i,r)+"px"}function nt(e,t,n,i,o){return new nt.prototype.init(e,t,n,i,o)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,r,s=U(t),l=Ke.test(t),c=e.style;if(l||(t=Ge(s)),r=w.cssHooks[t]||w.cssHooks[s],void 0===n)return r&&"get"in r&&void 0!==(o=r.get(e,!1,i))?o:c[t];"string"==(a=typeof n)&&(o=ne.exec(n))&&o[1]&&(n=ce(e,t,o),a="number"),null!=n&&n==n&&("number"!==a||l||(n+=o&&o[3]||(w.cssNumber[s]?"":"px")),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var o,a,r,s=U(t);return Ke.test(t)||(t=Ge(s)),(r=w.cssHooks[t]||w.cssHooks[s])&&"get"in r&&(o=r.get(e,!0,n)),void 0===o&&(o=qe(e,t,i)),"normal"===o&&t in Je&&(o=Je[t]),""===n||n?(a=parseFloat(o),!0===n||isFinite(a)?a||0:o):o}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,i){if(n)return!Ye.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,i):le(e,Qe,function(){return tt(e,t,i)})},set:function(e,n,i){var o,a=Fe(e),r=!f.scrollboxSize()&&"absolute"===a.position,s=(r||i)&&"border-box"===w.css(e,"boxSizing",!1,a),l=i?et(e,t,i,s,a):0;return s&&r&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-et(e,t,"border",!1,a)-.5)),l&&(o=ne.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Xe(0,n,l)}}}),w.cssHooks.marginLeft=$e(f.reliableMarginLeft,function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var i=0,o={},a="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+ie[i]+t]=a[i]||a[i-2]||a[0];return o}},"margin"!==e&&(w.cssHooks[e+t].set=Xe)}),w.fn.extend({css:function(e,t){return q(this,function(e,t,n){var i,o,a={},r=0;if(Array.isArray(t)){for(i=Fe(e),o=t.length;r<o;r++)a[t[r]]=w.css(e,t[r],!1,i);return a}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,1<arguments.length)}}),((w.Tween=nt).prototype={constructor:nt,init:function(e,t,n,i,o,a){this.elem=e,this.prop=n,this.easing=o||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=a||(w.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}}).init.prototype=nt.prototype,(nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||!w.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=nt.prototype.init,w.fx.step={};var it,ot,at,rt,st=/^(?:toggle|show|hide)$/,lt=/queueHooks$/;function ct(){ot&&(!1===i.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(ct):e.setTimeout(ct,w.fx.interval),w.fx.tick())}function ut(){return e.setTimeout(function(){it=void 0}),it=Date.now()}function ht(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=ie[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function dt(e,t,n){for(var i,o=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),a=0,r=o.length;a<r;a++)if(i=o[a].call(n,t,e))return i}function pt(e,t,n){var i,o,a=0,r=pt.prefilters.length,s=w.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=it||ut(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),a=0,r=c.tweens.length;a<r;a++)c.tweens[a].run(i);return s.notifyWith(e,[c,i,n]),i<1&&r?n:(r||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var i=w.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var n,i,o,a,r;for(n in e)if(o=t[i=U(n)],a=e[n],Array.isArray(a)&&(o=a[1],a=e[n]=a[0]),n!==i&&(e[i]=a,delete e[n]),(r=w.cssHooks[i])&&"expand"in r)for(n in a=r.expand(a),delete e[i],a)n in e||(e[n]=a[n],t[n]=o);else t[i]=o}(u,c.opts.specialEasing);a<r;a++)if(i=pt.prefilters[a].call(c,e,u,c.opts))return m(i.stop)&&(w._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return w.map(u,dt,c),m(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),w.fx.timer(w.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}w.Animation=w.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,ne.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(N);for(var n,i=0,o=e.length;i<o;i++)n=e[i],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,a,r,s,l,c,u,h="width"in t||"height"in t,d=this,p={},f=e.style,m=e.nodeType&&se(e),g=K.get(e,"fxshow");for(i in n.queue||(null==(r=w._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,s=r.empty.fire,r.empty.fire=function(){r.unqueued||s()}),r.unqueued++,d.always(function(){d.always(function(){r.unqueued--,w.queue(e,"fx").length||r.empty.fire()})})),t)if(o=t[i],st.test(o)){if(delete t[i],a=a||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;m=!0}p[i]=g&&g[i]||w.style(e,i)}if((l=!w.isEmptyObject(t))||!w.isEmptyObject(p))for(i in h&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=K.get(e,"display")),"none"===(u=w.css(e,"display"))&&(c?u=c:(he([e],!0),c=e.style.display||c,u=w.css(e,"display"),he([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===w.css(e,"float")&&(l||(d.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=K.access(e,"fxshow",{display:c}),a&&(g.hidden=!m),m&&he([e],!0),d.done(function(){for(i in m||he([e]),K.remove(e,"fxshow"),p)w.style(e,i,p[i])})),l=dt(m?g[i]:0,i,d),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),w.speed=function(e,t,n){var i=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return w.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in w.fx.speeds?i.duration=w.fx.speeds[i.duration]:i.duration=w.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){m(i.old)&&i.old.call(this),i.queue&&w.dequeue(this,i.queue)},i},w.fn.extend({fadeTo:function(e,t,n,i){return this.filter(se).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=w.isEmptyObject(e),a=w.speed(t,n,i),r=function(){var t=pt(this,w.extend({},e),a);(o||K.get(this,"finish"))&&t.stop(!0)};return r.finish=r,o||!1===a.queue?this.each(r):this.queue(a.queue,r)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",a=w.timers,r=K.get(this);if(o)r[o]&&r[o].stop&&i(r[o]);else for(o in r)r[o]&&r[o].stop&&lt.test(o)&&i(r[o]);for(o=a.length;o--;)a[o].elem!==this||null!=e&&a[o].queue!==e||(a[o].anim.stop(n),t=!1,a.splice(o,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=K.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],a=w.timers,r=i?i.length:0;for(n.finish=!0,w.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<r;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ht(t,!0),e,i,o)}}),w.each({slideDown:ht("show"),slideUp:ht("hide"),slideToggle:ht("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),it=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){ot||(ot=!0,ct())},w.fx.stop=function(){ot=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx&&w.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,i){var o=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(o)}})},at=i.createElement("input"),rt=i.createElement("select").appendChild(i.createElement("option")),at.type="checkbox",f.checkOn=""!==at.value,f.optSelected=rt.selected,(at=i.createElement("input")).value="t",at.type="radio",f.radioValue="t"===at.value;var ft,mt=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return q(this,w.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var i,o,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?w.prop(e,t,n):(1===a&&w.isXMLDoc(e)||(o=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=w.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&M(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(N);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=mt[t]||w.find.attr;mt[t]=function(e,t,i){var o,a,r=t.toLowerCase();return i||(a=mt[r],mt[r]=o,o=null!=n(e,t,i)?r:null,mt[r]=a),o}});var gt=/^(?:input|select|textarea|button)$/i,_t=/^(?:a|area)$/i;function yt(e){return(e.match(N)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}w.fn.extend({prop:function(e,t){return q(this,w.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var i,o,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&w.isXMLDoc(e)||(t=w.propFix[t]||t,o=w.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(w.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)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.fn.extend({addClass:function(e){var t,n,i,o,a,r,s,l=0;if(m(e))return this.each(function(t){w(this).addClass(e.call(this,t,vt(this)))});if((t=bt(e)).length)for(;n=this[l++];)if(o=vt(n),i=1===n.nodeType&&" "+yt(o)+" "){for(r=0;a=t[r++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");o!==(s=yt(i))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,o,a,r,s,l=0;if(m(e))return this.each(function(t){w(this).removeClass(e.call(this,t,vt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(o=vt(n),i=1===n.nodeType&&" "+yt(o)+" "){for(r=0;a=t[r++];)for(;-1<i.indexOf(" "+a+" ");)i=i.replace(" "+a+" "," ");o!==(s=yt(i))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):m(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,vt(this),t),t)}):this.each(function(){var t,o,a,r;if(i)for(o=0,a=w(this),r=bt(e);t=r[o++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+yt(vt(n))+" ").indexOf(t))return!0;return!1}});var wt=/\r/g;w.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=m(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?e.call(this,n,w(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=w.map(o,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=w.valHooks[o.type]||w.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(wt,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:yt(w.text(e))}},select:{get:function(e){var t,n,i,o=e.options,a=e.selectedIndex,r="select-one"===e.type,s=r?null:[],l=r?a+1:o.length;for(i=a<0?l:r?a:0;i<l;i++)if(((n=o[i]).selected||i===a)&&!n.disabled&&(!n.parentNode.disabled||!M(n.parentNode,"optgroup"))){if(t=w(n).val(),r)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,a=w.makeArray(t),r=o.length;r--;)((i=o[r]).selected=-1<w.inArray(w.valHooks.option.get(i),a))&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<w.inArray(w(e).val(),t)}},f.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),f.focusin="onfocusin"in e;var At=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,o,a){var r,s,l,c,u,d,p,f,_=[o||i],y=h.call(t,"type")?t.type:t,v=h.call(t,"namespace")?t.namespace.split("."):[];if(s=f=l=o=o||i,3!==o.nodeType&&8!==o.nodeType&&!At.test(y+w.event.triggered)&&(-1<y.indexOf(".")&&(y=(v=y.split(".")).shift(),v.sort()),u=y.indexOf(":")<0&&"on"+y,(t=t[w.expando]?t:new w.Event(y,"object"==typeof t&&t)).isTrigger=a?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),n=null==n?[t]:w.makeArray(n,[t]),p=w.event.special[y]||{},a||!p.trigger||!1!==p.trigger.apply(o,n))){if(!a&&!p.noBubble&&!g(o)){for(c=p.delegateType||y,At.test(c+y)||(s=s.parentNode);s;s=s.parentNode)_.push(s),l=s;l===(o.ownerDocument||i)&&_.push(l.defaultView||l.parentWindow||e)}for(r=0;(s=_[r++])&&!t.isPropagationStopped();)f=s,t.type=1<r?c:p.bindType||y,(d=(K.get(s,"events")||{})[t.type]&&K.get(s,"handle"))&&d.apply(s,n),(d=u&&s[u])&&d.apply&&G(s)&&(t.result=d.apply(s,n),!1===t.result&&t.preventDefault());return t.type=y,a||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(_.pop(),n)||!G(o)||u&&m(o[y])&&!g(o)&&((l=o[u])&&(o[u]=null),w.event.triggered=y,t.isPropagationStopped()&&f.addEventListener(y,xt),o[y](),t.isPropagationStopped()&&f.removeEventListener(y,xt),w.event.triggered=void 0,l&&(o[u]=l)),t.result}},simulate:function(e,t,n){var i=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(i,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),f.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var i=this.ownerDocument||this,o=K.access(i,t);o||i.addEventListener(e,n,!0),K.access(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=K.access(i,t)-1;o?K.access(i,t,o):(i.removeEventListener(e,n,!0),K.remove(i,t))}}});var kt=e.location,St=Date.now(),Ct=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var Pt=/\[\]$/,Mt=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function Et(e,t,n,i){var o;if(Array.isArray(t))w.each(t,function(t,o){n||Pt.test(e)?i(e,o):Et(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)});else if(n||"object"!==v(t))i(e,t);else for(o in t)Et(e+"["+o+"]",t[o],n,i)}w.param=function(e,t){var n,i=[],o=function(e,t){var n=m(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){o(this.name,this.value)});else for(n in e)Et(n,e[n],t,o);return i.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&Lt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!de.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Mt,"\r\n")}}):{name:t.name,value:n.replace(Mt,"\r\n")}}).get()}});var Ot=/%20/g,Dt=/#.*$/,zt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:GET|HEAD)$/,Bt=/^\/\//,jt={},Rt={},Ht="*/".concat("*"),Ft=i.createElement("a");function Wt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,a=t.toLowerCase().match(N)||[];if(m(n))for(;i=a[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function qt(e,t,n,i){var o={},a=e===Rt;function r(s){var l;return o[s]=!0,w.each(e[s]||[],function(e,s){var c=s(t,n,i);return"string"!=typeof c||a||o[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),r(c),!1)}),l}return r(t.dataTypes[0])||!o["*"]&&r("*")}function $t(e,t){var n,i,o=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&w.extend(!0,e,i),e}Ft.href=kt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,w.ajaxSettings),t):$t(w.ajaxSettings,e)},ajaxPrefilter:Wt(jt),ajaxTransport:Wt(Rt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var o,a,r,s,l,c,u,h,d,p,f=w.ajaxSetup({},n),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?w(m):w.event,_=w.Deferred(),y=w.Callbacks("once memory"),v=f.statusCode||{},b={},A={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=It.exec(r);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?r:null},setRequestHeader:function(e,t){return null==u&&(e=A[e.toLowerCase()]=A[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)k.always(e[k.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||x;return o&&o.abort(t),S(0,t),this}};if(_.promise(k),f.url=((t||f.url||kt.href)+"").replace(Bt,kt.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(N)||[""],null==f.crossDomain){c=i.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=Ft.protocol+"//"+Ft.host!=c.protocol+"//"+c.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=w.param(f.data,f.traditional)),qt(jt,f,n,k),u)return k;for(d in(h=w.event&&f.global)&&0==w.active++&&w.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Nt.test(f.type),a=f.url.replace(Dt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ot,"+")):(p=f.url.slice(a.length),f.data&&(f.processData||"string"==typeof f.data)&&(a+=(Ct.test(a)?"&":"?")+f.data,delete f.data),!1===f.cache&&(a=a.replace(zt,"$1"),p=(Ct.test(a)?"&":"?")+"_="+St+++p),f.url=a+p),f.ifModified&&(w.lastModified[a]&&k.setRequestHeader("If-Modified-Since",w.lastModified[a]),w.etag[a]&&k.setRequestHeader("If-None-Match",w.etag[a])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&k.setRequestHeader("Content-Type",f.contentType),k.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ht+"; q=0.01":""):f.accepts["*"]),f.headers)k.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(m,k,f)||u))return k.abort();if(x="abort",y.add(f.complete),k.done(f.success),k.fail(f.error),o=qt(Rt,f,n,k)){if(k.readyState=1,h&&g.trigger("ajaxSend",[k,f]),u)return k;f.async&&0<f.timeout&&(l=e.setTimeout(function(){k.abort("timeout")},f.timeout));try{u=!1,o.send(b,S)}catch(t){if(u)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,n,i,s){var c,d,p,b,A,x=n;u||(u=!0,l&&e.clearTimeout(l),o=void 0,r=s||"",k.readyState=0<t?4:0,c=200<=t&&t<300||304===t,i&&(b=function(e,t,n){for(var i,o,a,r,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)a=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){a=o;break}r||(r=o)}a=a||r}if(a)return a!==l[0]&&l.unshift(a),n[a]}(f,k,i)),b=function(e,t,n,i){var o,a,r,s,l,c={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)c[r.toLowerCase()]=e.converters[r];for(a=u.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(r=c[l+" "+a]||c["* "+a]))for(o in c)if((s=o.split(" "))[1]===a&&(r=c[l+" "+s[0]]||c["* "+s[0]])){!0===r?r=c[o]:!0!==c[o]&&(a=s[0],u.unshift(s[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(f,b,k,c),c?(f.ifModified&&((A=k.getResponseHeader("Last-Modified"))&&(w.lastModified[a]=A),(A=k.getResponseHeader("etag"))&&(w.etag[a]=A)),204===t||"HEAD"===f.type?x="nocontent":304===t?x="notmodified":(x=b.state,d=b.data,c=!(p=b.error))):(p=x,!t&&x||(x="error",t<0&&(t=0))),k.status=t,k.statusText=(n||x)+"",c?_.resolveWith(m,[d,x,k]):_.rejectWith(m,[k,x,p]),k.statusCode(v),v=void 0,h&&g.trigger(c?"ajaxSuccess":"ajaxError",[k,f,c?d:p]),y.fireWith(m,[k,x]),h&&(g.trigger("ajaxComplete",[k,f]),--w.active||w.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,i,o){return m(n)&&(o=o||i,i=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:o,data:n,success:i},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e,t){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t)}})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return m(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Vt=w.ajaxSettings.xhr();f.cors=!!Vt&&"withCredentials"in Vt,f.ajax=Vt=!!Vt,w.ajaxTransport(function(t){var n,i;if(f.cors||Vt&&!t.crossDomain)return{send:function(o,a){var r,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)s[r]=t.xhrFields[r];for(r in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(r,o[r]);n=function(e){return function(){n&&(n=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),i=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(o){if(n)throw o}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(o,a){t=w("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&a("error"===e.type?404:200,e.type)}),i.head.appendChild(t[0])},abort:function(){n&&n()}}});var Ut,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||w.expando+"_"+St++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,i){var o,a,r,s=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Yt,"$1"+o):!1!==t.jsonp&&(t.url+=(Ct.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return r||w.error(o+" was not called"),r[0]},t.dataTypes[0]="json",a=e[o],e[o]=function(){r=arguments},i.always(function(){void 0===a?w(e).removeProp(o):e[o]=a,t[o]&&(t.jsonpCallback=n.jsonpCallback,Gt.push(o)),r&&m(a)&&a(r[0]),r=a=void 0}),"script"}),f.createHTMLDocument=((Ut=i.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ut.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(f.createHTMLDocument?((o=(t=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,t.head.appendChild(o)):t=i),r=!n&&[],(a=T.exec(e))?[t.createElement(a[1])]:(a=we([e],t,r),r&&r.length&&w(r).remove(),w.merge([],a.childNodes)));var o,a,r},w.fn.load=function(e,t,n){var i,o,a,r=this,s=e.indexOf(" ");return-1<s&&(i=yt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<r.length&&w.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){a=arguments,r.html(i?w("<div>").append(w.parseHTML(e)).find(i):e)}).always(n&&function(e,t){r.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var i,o,a,r,s,l,c=w.css(e,"position"),u=w(e),h={};"static"===c&&(e.style.position="relative"),s=u.offset(),a=w.css(e,"top"),l=w.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(a+l).indexOf("auto")?(r=(i=u.position()).top,o=i.left):(r=parseFloat(a)||0,o=parseFloat(l)||0),m(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(h.top=t.top-s.top+r),null!=t.left&&(h.left=t.left-s.left+o),"using"in t?t.using.call(e,h):u.css(h)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===w.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),o.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-w.css(i,"marginTop",!0),left:t.left-o.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||oe})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(i){return q(this,function(e,i,o){var a;if(g(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===o)return a?a[t]:e[i];a?a.scrollTo(n?a.pageXOffset:o,n?o:a.pageYOffset):e[i]=o},e,i,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=$e(f.pixelPosition,function(e,n){if(n)return n=qe(e,t),He.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){w.fn[i]=function(o,a){var r=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===a?"margin":"border");return q(this,function(t,n,o){var a;return g(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===o?w.css(t,n,s):w.style(t,n,o,s)},t,r?o:void 0,r)}})}),w.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,t){w.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.proxy=function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return i=a.call(arguments,2),(o=function(){return e.apply(t||this,i.concat(a.call(arguments)))}).guid=e.guid=e.guid||w.guid++,o},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=M,w.isFunction=m,w.isWindow=g,w.camelCase=U,w.type=v,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Kt=e.jQuery,Qt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Qt),t&&e.jQuery===w&&(e.jQuery=Kt),w},t||(e.jQuery=e.$=w),w}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");var words;function CroutonLocalization(e){this.language=e,this.words={"da-DK":{days_of_the_week:["","Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],weekday:"Ugedag",city:"By",cities:"Byer",groups:"Grupper",areas:"Områder",regions:"Regions",locations:"Lokalite",counties:"Amter",states:"Provinser",postal_codes:"Post nummer",formats:"Struktur",map:"Kort",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",tabular:"As table",google_directions:"Google directions to meeting",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode"},"de-DE":{days_of_the_week:["","Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],weekday:"Wochentag",city:"Stadt",cities:"Städte",groups:"Gruppen",areas:"Gebiete",regions:"Regions",locations:"Orte",counties:"Landkreise",states:"Bundesländer",postal_codes:"PLZ",formats:"Formate",map:"Karte",neighborhood:"Nachbarschaft",near_me:"In meiner Nähe",text_search:"Textsuche",click_search:"Klicksuche",pan_and_zoom:"Schwenken + Zoomen",languages:"Sprachen",common_needs:"Common Needs",meeting_count:"Wöchentliche Meetings:",venue_types:"Treffpunktarten",venue_type_choices:{IN_PERSON:"Präsens-Meetings",VIRTUAL:"Online-Meetings"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"Teilen",tabular:"Als Tabelle",google_directions:"Google Routenplaner",no_meetings_for_this_day:"Keine Meetings an diesem Tag.","css-textalign":"","css-floatdirection":"",all:"Alle",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Meetings in andere Städten","filter meetings":"Filter für Sprache, Format usw.","visible meeting list":"Sichtbare Meetings als Tabelle","enter a city or zip code":"Stadt oder PLZ","toggle fullscreen mode":"Umschalten Vollbildmodus",close:"Schliessen","meeting page":"Meeting Seite","meeting details":"Genaueres zu Meeting"},"en-AU":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"en-CA":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"Provinces",postal_codes:"Postal Codes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"en-NZ":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"en-UK":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"en-US":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Zips",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",tabular:"As table",google_directions:"Google directions to meeting",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"es-US":{days_of_the_week:["","Domingo"," Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],weekday:"Día de la semana",city:"Ciudad",cities:"Ciudades",groups:"Grupos",areas:"Areas",regions:"Regions",locations:"Ubicaciones",counties:"Condados",states:"Estados",postal_codes:"Codiagos postales",formats:"Formatos",map:"Mapa",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"",tabular:"As table",google_directions:"Google directions to meeting","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"fa-IR":{days_of_the_week:["","یَکشَنب","دوشَنبه","سه‌شنبه","چهار شنبه","پَنج شَنبه","جُمعه","شَنبه"],weekday:"روز هفته",city:"شهر",cities:"شهرها",groups:"گروه ها",areas:"نواحی",regions:"Regions",locations:"آدرسها",counties:"بخشها",states:"ایالات",postal_codes:"کد پستی",formats:"فورمت ها",map:"نقشه",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":'style="text-align:right;"',"css-floatdirection":'style="float:right;"',all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"fr-CA":{days_of_the_week:["","Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],weekday:"Journée",city:"Ville",cities:"Villes",groups:"Groupes",areas:"CSL",regions:"Regions",locations:"Emplacements",counties:"Régions",states:"Provinces",postal_codes:"Codes postaux",formats:"Formats",map:"Carte",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"it-IT":{days_of_the_week:["","Domenica"," Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],weekday:"Giorno",city:"Città",cities:"Città",groups:"Gruppi",areas:"Aree",regions:"Regione",locations:"Località",counties:"Province",states:"Regione",postal_codes:"CAP",formats:"Formati",map:"Mappa",neighborhood:"Quartiere",near_me:"Vicino a me",text_search:"Ricerca testuale",click_search:"Fare click su cerca",pan_and_zoom:"Panoramica e zoom",languages:"Lingue",common_needs:"Bisogni comuni",meeting_count:"Incontri settimanali:",venue_types:"Tipologia di locali",venue_type_choices:{IN_PERSON:"Riunione fisica",VIRTUAL:"Riunione virtuale"},service_body_types:{AS:"Comitato area",RS:"Comitato di regione",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Forum supporto gruppi"},share:"Condividi",tabular:"Tabellare",google_directions:"Mappa",no_meetings_for_this_day:"Nessuna riunione per questo giorno.","css-textalign":"","css-floatdirection":"",all:"Tutti",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Mostra incontri nelle vicinanze..","filter meetings":"Filtrare le riunioni","visible meeting list":"Elenco riunioni visibile","enter a city or zip code":"Inserire una città o un codice postale","toggle fullscreen mode":"Attiva/disattiva la modalità a schermo intero",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"nl-NL":{days_of_the_week:["","Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag"],weekday:"Dag van de week",city:"Stad",cities:"Steden",groups:"Groepen",areas:"Gebieden",regions:"Regions",locations:"Locaties",counties:"Landen",states:"Provincies",postal_codes:"Postcodes",formats:"Formats",map:"Kaart",neighborhood:"Buurt",near_me:"Bij mij in de buurt",text_search:"Zoek op tekst",click_search:"Klik om te zoeken",pan_and_zoom:"Pan + Zoom",languages:"Talen",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Soorten locaties",venue_type_choices:{IN_PERSON:"Fysiek",VIRTUAL:"Online"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"pl-PL":{days_of_the_week:["","Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],weekday:"Dzień tygodnia",city:"Miasto",cities:"Miasta",groups:"Grupy",areas:"Okręgi",regions:"Regions",locations:"Lokalizacje",counties:"Powiaty",states:"Województwa",postal_codes:"Kody pocztowe",formats:"Formaty",map:"Mapa",neighborhood:"Sąsiedztwo",near_me:"Blisko Mnie",text_search:"Wpisz",click_search:"Kliknij na mapie",pan_and_zoom:"Przesuń powiększ",languages:"Języki",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"pt-BR":{days_of_the_week:["","Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],weekday:"Dia da semana",city:"Cidade",cities:"Cidades",groups:"Grupos",areas:"Áreas",regions:"Regions",locations:"Localizações",counties:"Municípios",states:"Estados",postal_codes:"CEPs",formats:"Formatos",map:"Mapa",neighborhood:"Bairro",near_me:"Minha Localização",text_search:"digite um endereço",click_search:"Clique no local",pan_and_zoom:"Panorâmico + Zoom",languages:"Idiomas",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"tipos de reunião",venue_type_choices:{IN_PERSON:"Presencial",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"Compartilhar",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"ru-RU":{days_of_the_week:["","Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],weekday:"будний день",city:"Город",cities:"Города",groups:"Группы",areas:"Зоны",regions:"Regions",locations:"Локации",counties:"Страны",states:"Штаты",postal_codes:"Индексы (почтовые)",formats:"Форматы",map:"Карта",neighborhood:"Соседство",near_me:"Около меня",text_search:"Поиск текста",click_search:"Нажмите Поиск",pan_and_zoom:"Pan + Zoom",languages:"Языки",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"},"sv-SE":{days_of_the_week:["","Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],weekday:"Veckodag",city:"Stad",cities:"Städer",groups:"Grupper",areas:"Distrikt",regions:"Regions",locations:"Plats",counties:"Land",states:"Stater",postal_codes:"Postnummer",formats:"Format",map:"Karta",neighborhood:"Region",near_me:"Nära mig",text_search:"Söktext",click_search:"Sök",pan_and_zoom:"Panorera + Zooma",languages:"Språk",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details"}}}!function(e){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(e){"use strict";var t=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};t.VERSION="3.3.5",t.TRANSITION_DURATION=150,t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,n,i){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),a=o.length;a--;){var r=o[a];if("click"==r)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=r){var s="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,i){n[e]!=i&&(t[e]=i)}),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),n.isInStateTrue()?void 0:(clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide())},t.prototype.show=function(){var n=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var i=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!i)return;var o=this,a=this.tip(),r=this.getUID(this.type);this.setContent(),a.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&a.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),h=a[0].offsetWidth,d=a[0].offsetHeight;if(c){var p=s,f=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+d>f.bottom?"top":"top"==s&&u.top-d<f.top?"bottom":"right"==s&&u.right+h>f.width?"left":"left"==s&&u.left-h<f.left?"right":s,a.removeClass(p).addClass(s)}var m=this.getCalculatedOffset(s,u,h,d);this.applyPlacement(m,s);var g=function(){var e=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==e&&o.leave(o)};e.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",g).emulateTransitionEnd(t.TRANSITION_DURATION):g()}},t.prototype.applyPlacement=function(t,n){var i=this.tip(),o=i[0].offsetWidth,a=i[0].offsetHeight,r=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(s)&&(s=0),t.top+=r,t.left+=s,e.offset.setOffset(i[0],e.extend({using:function(e){i.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),i.addClass("in");var l=i[0].offsetWidth,c=i[0].offsetHeight;"top"==n&&c!=a&&(t.top=t.top+a-c);var u=this.getViewportAdjustedDelta(n,t,l,c);u.left?t.left+=u.left:t.top+=u.top;var h=/top|bottom/.test(n),d=h?2*u.left-o+l:2*u.top-a+c,p=h?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(d,i[0][p],h)},t.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},t.prototype.hide=function(n){function i(){"in"!=o.hoverState&&a.detach(),o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),n&&n()}var o=this,a=e(this.$tip),r=e.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(a.removeClass("in"),e.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(t.TRANSITION_DURATION):i(),this.hoverState=null,this)},t.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){var n=(t=t||this.$element)[0],i="BODY"==n.tagName,o=n.getBoundingClientRect();null==o.width&&(o=e.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var a=i?{top:0,left:0}:t.offset(),r={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=i?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},o,r,s,a)},t.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},t.prototype.getViewportAdjustedDelta=function(e,t,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var a=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-a-r.scroll,l=t.top+a-r.scroll+i;s<r.top?o.top=r.top-s:l>r.top+r.height&&(o.top=r.top+r.height-l)}else{var c=t.left-a,u=t.left+a+n;c<r.left?o.left=r.left-c:u>r.right&&(o.left=r.left+r.width-u)}return o},t.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},t.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null})};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var i=e(this),o=i.data("bs.tooltip"),a="object"==typeof n&&n;(o||!/destroy|hide/.test(n))&&(o||i.data("bs.tooltip",o=new t(this,a)),"string"==typeof n&&o[n]())})},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery),function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.5",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var i=e(this),o=i.data("bs.popover"),a="object"==typeof n&&n;(o||!/destroy|hide/.test(n))&&(o||i.data("bs.popover",o=new t(this,a)),"string"==typeof n&&o[n]())})},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var i=e(this),o=i.data("bs.tab");o||i.data("bs.tab",o=new n(this)),"string"==typeof t&&o[t]()})}var n=function(t){this.element=e(t)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var o=n.find(".active:last a"),a=e.Event("hide.bs.tab",{relatedTarget:t[0]}),r=e.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(a),t.trigger(r),!r.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=e(i);this.activate(t.closest("li"),n),this.activate(s,s.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},n.prototype.activate=function(t,i,o){function a(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}var r=i.find("> .active"),s=o&&e.support.transition&&(r.length&&r.hasClass("fade")||!!i.find("> .fade").length);r.length&&s?r.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),r.removeClass("in")};var i=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=i,this};var o=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(e){"use strict";e.fn.emulateTransitionEnd=function(t){var n=!1,i=this;e(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||e(i).trigger(e.support.transition.end)},t),this},e(function(){e.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var n;return function(){var e,n,i;t&&t.requirejs||(t?n=t:t={},function(t){function o(e,t){return v.call(e,t)}function a(e,t){var n,i,o,a,r,s,l,c,u,h,d,p=t&&t.split("/"),f=_.map,m=f&&f["*"]||{};if(e&&"."===e.charAt(0))if(t){for(p=p.slice(0,p.length-1),r=(e=e.split("/")).length-1,_.nodeIdCompat&&w.test(e[r])&&(e[r]=e[r].replace(w,"")),e=p.concat(e),u=0;u<e.length;u+=1)if("."===(d=e[u]))e.splice(u,1),u-=1;else if(".."===d){if(1===u&&(".."===e[2]||".."===e[0]))break;u>0&&(e.splice(u-1,2),u-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((p||m)&&f){for(u=(n=e.split("/")).length;u>0;u-=1){if(i=n.slice(0,u).join("/"),p)for(h=p.length;h>0;h-=1)if((o=f[p.slice(0,h).join("/")])&&(o=o[i])){a=o,s=u;break}if(a)break;!l&&m&&m[i]&&(l=m[i],c=u)}!a&&l&&(a=l,s=c),a&&(n.splice(0,s,a),e=n.join("/"))}return e}function r(e,n){return function(){return d.apply(t,b.call(arguments,0).concat([e,n]))}}function s(e){return function(t){m[e]=t}}function l(e){if(o(g,e)){var n=g[e];delete g[e],y[e]=!0,h.apply(t,n)}if(!o(m,e)&&!o(y,e))throw new Error("No "+e);return m[e]}function c(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function u(e){return function(){return _&&_.config&&_.config[e]||{}}}var h,d,p,f,m={},g={},_={},y={},v=Object.prototype.hasOwnProperty,b=[].slice,w=/\.js$/;p=function(e,t){var n,i=c(e),o=i[0];return e=i[1],o&&(n=l(o=a(o,t))),o?e=n&&n.normalize?n.normalize(e,function(e){return function(t){return a(t,e)}}(t)):a(e,t):(o=(i=c(e=a(e,t)))[0],e=i[1],o&&(n=l(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},f={require:function(e){return r(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:u(e)}}},h=function(e,n,i,a){var c,u,h,d,_,v,b=[],w=typeof i;if(a=a||e,"undefined"===w||"function"===w){for(n=!n.length&&i.length?["require","exports","module"]:n,_=0;_<n.length;_+=1)if("require"===(u=(d=p(n[_],a)).f))b[_]=f.require(e);else if("exports"===u)b[_]=f.exports(e),v=!0;else if("module"===u)c=b[_]=f.module(e);else if(o(m,u)||o(g,u)||o(y,u))b[_]=l(u);else{if(!d.p)throw new Error(e+" missing "+u);d.p.load(d.n,r(a,!0),s(u),{}),b[_]=m[u]}h=i?i.apply(m[e],b):void 0,e&&(c&&c.exports!==t&&c.exports!==m[e]?m[e]=c.exports:h===t&&v||(m[e]=h))}else e&&(m[e]=i)},e=n=d=function(e,n,i,o,a){if("string"==typeof e)return f[e]?f[e](n):l(p(e,n).f);if(!e.splice){if((_=e).deps&&d(_.deps,_.callback),!n)return;n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=o,o=a),o?h(t,e,n,i):setTimeout(function(){h(t,e,n,i)},4),d},d.config=function(e){return d(e)},e._defined=m,(i=function(e,t,n){t.splice||(n=t,t=[]),o(m,e)||o(g,e)||(g[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=i)}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(e){function t(e){var t=e.prototype,n=[];for(var i in t){"function"==typeof t[i]&&"constructor"!==i&&n.push(i)}return n}var n={Extend:function(e,t){function n(){this.constructor=e}var i={}.hasOwnProperty;for(var o in t)i.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},Decorate:function(e,n){function i(){var t=Array.prototype.unshift,i=n.prototype.constructor.length,o=e.prototype.constructor;i>0&&(t.call(arguments,e.prototype.constructor),o=n.prototype.constructor),o.apply(this,arguments)}var o=t(n),a=t(e);n.displayName=e.displayName,i.prototype=new function(){this.constructor=i};for(var r=0;r<a.length;r++){var s=a[r];i.prototype[s]=e.prototype[s]}for(var l=function(e){var t=function(){};e in i.prototype&&(t=i.prototype[e]);var o=n.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),o.apply(this,arguments)}},c=0;c<o.length;c++){var u=o[c];i.prototype[u]=l(u)}return i}},i=function(){this.listeners={}};return i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.prototype.trigger=function(e){var t=Array.prototype.slice;this.listeners=this.listeners||{},e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;i>n;n++)e[n].apply(this,t)},n.Observable=i,n.generateChars=function(e){for(var t="",n=0;e>n;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},n.bind=function(e,t){return function(){e.apply(t,arguments)}},n._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var o=0;o<n.length;o++){var a=n[o];(a=a.substring(0,1).toLowerCase()+a.substring(1))in i||(i[a]={}),o==n.length-1&&(i[a]=e[t]),i=i[a]}delete e[t]}}return e},n.hasScroll=function(t,n){var i=e(n),o=n.style.overflowX,a=n.style.overflowY;return(o!==a||"hidden"!==a&&"visible"!==a)&&("scroll"===o||"scroll"===a||(i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth))},n.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},n.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var i=e();e.map(n,function(e){i=i.add(e)}),n=i}t.append(n)},n}),t.define("select2/results",["jquery","./utils"],function(e,t){function n(e,t,i){this.$element=e,this.data=i,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=e('<li role="treeitem" class="select2-results__option"></li>'),o=this.options.get("translations").get(t.message);i.append(n(o(t.args))),this.$results.append(i)},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],o=this.option(i);t.push(o)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.setClasses=function(){var t=this;this.data.current(function(n){var i=e.map(n,function(e){return e.id.toString()}),o=t.$results.find(".select2-results__option[aria-selected]");o.each(function(){var t=e(this),n=e.data(this,"data"),o=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(o,i)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")});var a=o.filter("[aria-selected=true]");a.length>0?a.first().trigger("mouseenter"):o.first().trigger("mouseenter")})},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(t){var n=document.createElement("li");n.className="select2-results__option";var i={role:"treeitem","aria-selected":"false"};for(var o in t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]),i){var a=i[o];n.setAttribute(o,a)}if(t.children){var r=e(n),s=document.createElement("strong");s.className="select2-results__group",e(s),this.template(t,s);for(var l=[],c=0;c<t.children.length;c++){var u=t.children[c],h=this.option(u);l.push(h)}var d=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});d.append(l),r.append(s),r.append(d)}else this.template(t,n);return e.data(n,"data",t),n},n.prototype.bind=function(t){var n=this,i=t.id+"-results";this.$results.attr("id",i),t.on("results:all",function(e){n.clear(),n.append(e.data),t.isOpen()&&n.setClasses()}),t.on("results:append",function(e){n.append(e.data),t.isOpen()&&n.setClasses()}),t.on("query",function(e){n.showLoading(e)}),t.on("select",function(){t.isOpen()&&n.setClasses()}),t.on("unselect",function(){t.isOpen()&&n.setClasses()}),t.on("open",function(){n.$results.attr("aria-expanded","true"),n.$results.attr("aria-hidden","false"),n.setClasses(),n.ensureHighlightVisible()}),t.on("close",function(){n.$results.attr("aria-expanded","false"),n.$results.attr("aria-hidden","true"),n.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=n.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=n.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?n.trigger("close"):n.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=n.getHighlightedResults(),t=n.$results.find("[aria-selected]"),i=t.index(e);if(0!==i){var o=i-1;0===e.length&&(o=0);var a=t.eq(o);a.trigger("mouseenter");var r=n.$results.offset().top,s=a.offset().top,l=n.$results.scrollTop()+(s-r);0===o?n.$results.scrollTop(0):0>s-r&&n.$results.scrollTop(l)}}),t.on("results:next",function(){var e=n.getHighlightedResults(),t=n.$results.find("[aria-selected]"),i=t.index(e)+1;if(!(i>=t.length)){var o=t.eq(i);o.trigger("mouseenter");var a=n.$results.offset().top+n.$results.outerHeight(!1),r=o.offset().top+o.outerHeight(!1),s=n.$results.scrollTop()+r-a;0===i?n.$results.scrollTop(0):r>a&&n.$results.scrollTop(s)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){n.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=n.$results.scrollTop(),i=n.$results.get(0).scrollHeight-n.$results.scrollTop()+e.deltaY,o=e.deltaY>0&&t-e.deltaY<=0,a=e.deltaY<0&&i<=n.$results.height();o?(n.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):a&&(n.$results.scrollTop(n.$results.get(0).scrollHeight-n.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var i=e(this),o=i.data("data");return"true"===i.attr("aria-selected")?void(n.options.get("multiple")?n.trigger("unselect",{originalEvent:t,data:o}):n.trigger("close")):void n.trigger("select",{originalEvent:t,data:o})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var t=e(this).data("data");n.getHighlightedResults().removeClass("select2-results__option--highlighted"),n.trigger("results:focus",{data:t,element:e(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,o=this.$results.scrollTop()+(i-n),a=i-n;o-=2*e.outerHeight(!1),2>=t?this.$results.scrollTop(0):(a>this.$results.outerHeight()||0>a)&&this.$results.scrollTop(o)}},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),a=i(t);null==a?n.style.display="none":"string"==typeof a?n.innerHTML=o(a):e(n).append(a)},n}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="select2-selection" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},i.prototype.bind=function(e){var t=this,i=(e.id,e.id+"-results");this.container=e,this.$selection.on("focus",function(e){t.trigger("focus",e)}),this.$selection.on("blur",function(e){t.trigger("blur",e)}),this.$selection.on("keydown",function(e){t.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){t.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){t.update(e.data)}),e.on("open",function(){t.$selection.attr("aria-expanded","true"),t.$selection.attr("aria-owns",i),t._attachCloseHandler(e)}),e.on("close",function(){t.$selection.attr("aria-expanded","false"),t.$selection.removeAttr("aria-activedescendant"),t.$selection.removeAttr("aria-owns"),t.$selection.focus(),t._detachCloseHandler(e)}),e.on("enable",function(){t.$selection.attr("tabindex",t._tabindex)}),e.on("disable",function(){t.$selection.attr("tabindex","-1")})},i.prototype._attachCloseHandler=function(t){e(document.body).on("mousedown.select2."+t.id,function(t){var n=e(t.target).closest(".select2");e(".select2.select2-container--open").each(function(){var t=e(this);this!=n[0]&&t.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(e,t){t.find(".selection").append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},i}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},i.prototype.bind=function(e){var t=this;i.__super__.bind.apply(this,arguments);var n=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(e){1===e.which&&t.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),e.on("selection:update",function(e){t.update(e.data)})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},i.prototype.display=function(e){var t=this.options.get("templateSelection");return this.options.get("escapeMarkup")(t(e))},i.prototype.selectionContainer=function(){return e("<span></span>")},i.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.display(t),i=this.$selection.find(".select2-selection__rendered");i.empty().append(n),i.prop("title",t.title||t.text)}else this.clear()},i}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},i.prototype.bind=function(){var t=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){t.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(n){var i=e(this).parent().data("data");t.trigger("unselect",{originalEvent:n,data:i})})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},i.prototype.display=function(e){var t=this.options.get("templateSelection");return this.options.get("escapeMarkup")(t(e))},i.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=0;i<e.length;i++){var o=e[i],a=this.display(o),r=this.selectionContainer();r.append(a),r.prop("title",o.title||o.text),r.data("data",o),t.push(r)}var s=this.$selection.find(".select2-selection__rendered");n.appendMany(s,t)}},i}),t.define("select2/selection/placeholder",["../utils"],function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e}),t.define("select2/selection/allowClear",["jquery","../keys"],function(e,t){function n(){}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();for(var i=n.data("data"),o=0;o<i.length;o++){var a={data:i[o]};if(this.trigger("unselect",a),a.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle")}}},n.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||(n.which==t.DELETE||n.which==t.BACKSPACE)&&this._handleClear(n)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var i=e('<span class="select2-selection__clear">&times;</span>');i.data("data",n),this.$selection.find(".select2-selection__rendered").prepend(i)}},n}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.prototype.render=function(t){var n=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></li>');return this.$searchContainer=n,this.$search=n.find("input"),t.call(this)},i.prototype.bind=function(e,t,i){var o=this;e.call(this,t,i),t.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus()}),t.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val(""),o.$search.focus()}),t.on("enable",function(){o.$search.prop("disabled",!1)}),t.on("disable",function(){o.$search.prop("disabled",!0)}),this.$selection.on("focusin",".select2-search--inline",function(e){o.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){o.trigger("blur",e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===o.$search.val()){var t=o.$searchContainer.prev(".select2-selection__choice");if(t.length>0){var i=t.data("data");o.searchRemoveChoice(i),e.preventDefault()}}}),this.$selection.on("input",".select2-search--inline",function(){o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input",".select2-search--inline",function(e){o.handleSearch(e)})},i.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},i.prototype.update=function(e,t){this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch()},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.trigger("open"),this.$search.val(t.text+" ")},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";""!==this.$search.attr("placeholder")?e=this.$selection.find(".select2-selection__rendered").innerWidth():e=.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},i}),t.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,i){var o=this,a=["open","opening","close","closing","select","selecting","unselect","unselecting"],r=["opening","closing","selecting","unselecting"];t.call(this,n,i),n.on("*",function(t,n){if(-1!==e.inArray(t,a)){n=n||{};var i=e.Event("select2:"+t,{params:n});o.$element.trigger(i),-1!==e.inArray(t,r)&&(n.prevented=i.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])},n}),t.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),t.define("select2/data/base",["../utils"],function(e){function t(){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var i=t.id+"-result-";return(i+=e.generateChars(4))+(null!=n.id?"-"+n.id.toString():"-"+e.generateChars(4))},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=[],i=this;this.$element.find(":selected").each(function(){var e=n(this),o=i.item(e);t.push(o)}),e(t)},i.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var o=[];(e=[e]).push.apply(e,i);for(var a=0;a<e.length;a++){var r=e[a].id;-1===n.inArray(r,o)&&o.push(r)}t.$element.val(o),t.$element.trigger("change")});else{var i=e.id;this.$element.val(i),this.$element.trigger("change")}},i.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple"))return e.selected=!1,n(e.element).is("option")?(e.element.selected=!1,void this.$element.trigger("change")):void this.current(function(i){for(var o=[],a=0;a<i.length;a++){var r=i[a].id;r!==e.id&&-1===n.inArray(r,o)&&o.push(r)}t.$element.val(o),t.$element.trigger("change")})},i.prototype.bind=function(e){var t=this;this.container=e,e.on("select",function(e){t.select(e.data)}),e.on("unselect",function(e){t.unselect(e.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){n.removeData(this,"data")})},i.prototype.query=function(e,t){var i=[],o=this;this.$element.children().each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var a=o.item(t),r=o.matches(e,a);null!==r&&i.push(r)}}),t({results:i})},i.prototype.addOptions=function(e){t.appendMany(this.$element,e)},i.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var i=n(t),o=this._normalizeItem(e);return o.element=t,n.data(t,"data",o),i},i.prototype.item=function(e){var t={};if(null!=(t=n.data(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),o=[],a=0;a<i.length;a++){var r=n(i[a]),s=this.item(r);o.push(s)}t.children=o}return(t=this._normalizeItem(t)).element=e[0],n.data(e[0],"data",t),t},i.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e});return null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},{selected:!1,disabled:!1},e)},i.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},i}),t.define("select2/data/array",["./select","../utils","jquery"],function(e,t,n){function i(e,t){var n=t.get("data")||[];i.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(i,e),i.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){function i(e){return function(){return n(this).val()==e.id}}for(var o=this,a=this.$element.find("option"),r=a.map(function(){return o.item(n(this)).id}).get(),s=[],l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,r)>=0){var u=a.filter(i(c)),h=this.item(u),d=(n.extend(!0,{},h,c),this.option(h));u.replaceWith(d)}else{var p=this.option(c);if(c.children){var f=this.convertToOptions(c.children);t.appendMany(p,f)}s.push(p)}}return s},i}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function i(t,n){this.ajaxOptions=this._applyDefaults(n.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),e.__super__.constructor.call(this,t,n)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){var t={data:function(e){return{q:e.term}},transport:function(e,t,i){var o=n.ajax(e);return o.then(t),o.fail(i),o}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){function i(){var i=a.transport(a,function(i){var a=o.processResults(i,e);o.options.get("debug")&&window.console&&console.error&&(a&&a.results&&n.isArray(a.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(a)},function(){});o._request=i}var o=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var a=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof a.url&&(a.url=a.url(e)),"function"==typeof a.data&&(a.data=a.data(e)),this.ajaxOptions.delay&&""!==e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),t.define("select2/data/tags",["jquery"],function(e){function t(t,n,i){var o=i.get("tags"),a=i.get("createTag");if(void 0!==a&&(this.createTag=a),t.call(this,n,i),e.isArray(o))for(var r=0;r<o.length;r++){var s=o[r],l=this._normalizeItem(s),c=this.option(l);this.$element.append(c)}}return t.prototype.query=function(e,t,n){var i=this;return this._removeOldTags(),null==t.term||null!=t.page?void e.call(this,t,n):void e.call(this,t,function e(o,a){for(var r=o.results,s=0;s<r.length;s++){var l=r[s],c=null!=l.children&&!e({results:l.children},!0);if(l.text===t.term||c)return!a&&(o.data=r,void n(o))}if(a)return!0;var u=i.createTag(t);if(null!=u){var h=i.option(u);h.attr("data-select2-tag",!0),i.addOptions([h]),i.insertTag(r,u)}o.results=r,n(o)})},t.prototype.createTag=function(t,n){var i=e.trim(n.term);return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(){(this._lastTag,this.$element.find("option[data-select2-tag]")).each(function(){this.selected||e(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(e){function t(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(e,t,n){var i=this;t.term=t.term||"";var o=this.tokenizer(t,this.options,function(e){i.select(e)});o.term!==t.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),t.term=o.term),e.call(this,t,n)},t.prototype.tokenizer=function(t,n,i,o){for(var a=i.get("tokenSeparators")||[],r=n.term,s=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};s<r.length;){var c=r[s];if(-1!==e.inArray(c,a)){var u=r.substr(0,s);o(l(e.extend({},n,{term:u}))),r=r.substr(s+1)||"",s=0}else s++}return{term:r}},t}),t.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){return t.term=t.term||"",t.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):void e.call(this,t,n)},e}),t.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){return t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):void e.call(this,t,n)},e}),t.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){var i=this;this.current(function(o){var a=null!=o?o.length:0;return i.maximumSelectionLength>0&&a>=i.maximumSelectionLength?void i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):void e.call(i,t,n)})},e}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.position=function(){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),i=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},t.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),this.$search.on("keydown",function(e){o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(){e(this).off("keyup")}),this.$search.on("keyup input",function(e){o.handleSearch(e)}),n.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),n.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}),n.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(o.showSearch(e)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})},t.prototype.handleSearch=function(){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},t.prototype.showSearch=function(){return!0},t}),t.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var o=t[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},e}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),n.on("query",function(e){o.lastParams=e,o.loading=!0}),n.on("query:append",function(e){o.lastParams=e,o.loading=!0}),this.$results.on("scroll",function(){var t=e.contains(document.documentElement,o.$loadingMore[0]);!o.loading&&t&&(o.$results.offset().top+o.$results.outerHeight(!1)+50>=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1)&&o.loadMore())})},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="option load-more" role="treeitem"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(e,t,n){this.$dropdownParent=n.get("dropdownParent")||document.body,e.call(this,t,n)}return n.prototype.bind=function(e,t,n){var i=this,o=!1;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),o||(o=!0,t.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),t.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n){var i=this,o="scroll.select2."+n.id,a="resize.select2."+n.id,r="orientationchange.select2."+n.id,s=this.$container.parents().filter(t.hasScroll);s.each(function(){e(this).data("select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),s.on(o,function(){var t=e(this).data("select2-scroll-position");e(this).scrollTop(t.y)}),e(window).on(o+" "+a+" "+r,function(){i._positionDropdown(),i._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n){var i="scroll.select2."+n.id,o="resize.select2."+n.id,a="orientationchange.select2."+n.id;this.$container.parents().filter(t.hasScroll).off(i),e(window).off(i+" "+o+" "+a)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),o=null,a=(this.$container.position(),this.$container.offset());a.bottom=a.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=a.top,r.bottom=a.top+r.height;var s=this.$dropdown.outerHeight(!1),l=t.scrollTop(),c=t.scrollTop()+t.height(),u=l<a.top-s,h=c>a.bottom+s,d={left:a.left,top:r.bottom};n||i||(o="below"),h||!u||n?!u&&h&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(d.top=r.top-s),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){this.$dropdownContainer.width();var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var o=t[i];o.children?n+=e(o.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),t.define("select2/dropdown/selectOnClose",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(){i._handleSelectOnClose()})},e.prototype._handleSelectOnClose=function(){var e=this.getHighlightedResults();e.length<1||this.trigger("select",{data:e.data("data")})},e}),t.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&n.ctrlKey||this.trigger("close")},e}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(e,t,n,i,o,a,r,s,l,c,u,h,d,p,f,m,g,_,y,v,b,w,A,x,k,S,C,P,M){function T(){this.reset()}return T.prototype.apply=function(h){if(null==(h=e.extend({},this.defaults,h)).dataAdapter){if(h.dataAdapter=null!=h.ajax?f:null!=h.data?p:d,h.minimumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,_)),h.maximumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,y)),h.maximumSelectionLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,v)),h.tags&&(h.dataAdapter=c.Decorate(h.dataAdapter,m)),(null!=h.tokenSeparators||null!=h.tokenizer)&&(h.dataAdapter=c.Decorate(h.dataAdapter,g)),null!=h.query){var M=t(h.amdBase+"compat/query");h.dataAdapter=c.Decorate(h.dataAdapter,M)}if(null!=h.initSelection){var T=t(h.amdBase+"compat/initSelection");h.dataAdapter=c.Decorate(h.dataAdapter,T)}}if(null==h.resultsAdapter&&(h.resultsAdapter=n,null!=h.ajax&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,x)),null!=h.placeholder&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,A)),h.selectOnClose&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,C))),null==h.dropdownAdapter){if(h.multiple)h.dropdownAdapter=b;else{var L=c.Decorate(b,w);h.dropdownAdapter=L}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,S)),h.closeOnSelect&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,P)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var E=t(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=c.Decorate(h.dropdownAdapter,E)}h.dropdownAdapter=c.Decorate(h.dropdownAdapter,k)}if(null==h.selectionAdapter){if(h.selectionAdapter=h.multiple?o:i,null!=h.placeholder&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,a)),h.allowClear&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,r)),h.multiple&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,s)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var O=t(h.amdBase+"compat/containerCss");h.selectionAdapter=c.Decorate(h.selectionAdapter,O)}h.selectionAdapter=c.Decorate(h.selectionAdapter,l)}if("string"==typeof h.language)if(h.language.indexOf("-")>0){var D=h.language.split("-")[0];h.language=[h.language,D]}else h.language=[h.language];if(e.isArray(h.language)){var z=new u;h.language.push("en");for(var I=h.language,N=0;N<I.length;N++){var B=I[N],j={};try{j=u.loadPath(B)}catch(e){try{B=this.defaults.amdLanguageBase+B,j=u.loadPath(B)}catch(e){h.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+B+'" could not be automatically loaded. A fallback will be used instead.');continue}}z.extend(j)}h.translations=z}else{var R=u.loadPath(this.defaults.amdLanguageBase+"en"),H=new u(h.language);H.extend(R),h.translations=H}return h},T.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return h[e]||e})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:M,matcher:function n(i,o){if(""===e.trim(i.term))return o;if(o.children&&o.children.length>0){for(var a=e.extend(!0,{},o),r=o.children.length-1;r>=0;r--)null==n(i,o.children[r])&&a.children.splice(r,1);return a.children.length>0?a:n(i,a)}var s=t(o.text).toUpperCase(),l=t(i.term).toUpperCase();return s.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},T.prototype.set=function(t,n){var i={};i[e.camelCase(t)]=n;var o=c._convertData(i);e.extend(this.defaults,o)},new T}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(e,t,n,i){function o(t,o){if(this.options=t,null!=o&&this.fromElement(o),this.options=n.apply(this.options),o&&o.is("input")){var a=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,a)}}return o.prototype.fromElement=function(e){var n=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(this.options.dir=e.prop("dir")?e.prop("dir"):e.closest("[dir]").prop("dir")?e.closest("[dir]").prop("dir"):"ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),e.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),e.data("data",e.data("select2Tags")),e.data("tags",!0)),e.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",e.data("ajaxUrl")),e.data("ajax--url",e.data("ajaxUrl")));var o;o=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var a=t.extend(!0,{},o);for(var r in a=i._convertData(a))t.inArray(r,n)>-1||(t.isPlainObject(this.options[r])?t.extend(this.options[r],a[r]):this.options[r]=a[r]);return this},o.prototype.get=function(e){return this.options[e]},o.prototype.set=function(e,t){this.options[e]=t},o}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,n,i){var o=function(e,n){null!=e.data("select2")&&e.data("select2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),o.__super__.constructor.call(this);var i=e.attr("tabindex")||0;e.data("old-tabindex",i),e.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(e,this.options);var r=this.render();this._placeContainer(r);var s=this.options.get("selectionAdapter");this.selection=new s(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){u.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),e.data("select2",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4))},o.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},o.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var o=e.outerWidth(!1);return 0>=o?"auto":o+"px"}if("style"==t){var a=e.attr("style");if("string"!=typeof a)return null;for(var r=a.split(";"),s=0,l=r.length;l>s;s+=1){var c=r[s].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return t},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this._sync=n.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){e.each(n,t._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",t._sync,!1)},o.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerSelectionEvents=function(){var t=this,n=["toggle"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("*",function(i,o){-1===e.inArray(i,n)&&t.trigger(i,o)})},o.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("select2-container--open")}),this.on("close",function(){e.$container.removeClass("select2-container--open")}),this.on("enable",function(){e.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){e.$container.addClass("select2-container--disabled")}),this.on("focus",function(){e.$container.addClass("select2-container--focus")}),this.on("blur",function(){e.$container.removeClass("select2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open"),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===i.ENTER?(e.trigger("results:select"),t.preventDefault()):n===i.SPACE&&t.ctrlKey?(e.trigger("results:toggle"),t.preventDefault()):n===i.UP?(e.trigger("results:previous"),t.preventDefault()):n===i.DOWN?(e.trigger("results:next"),t.preventDefault()):(n===i.ESC||n===i.TAB)&&(e.close(),t.preventDefault()):(n===i.ENTER||n===i.SPACE||(n===i.DOWN||n===i.UP)&&t.altKey)&&(e.open(),t.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable")):this.trigger("enable")},o.prototype.trigger=function(e,t){var n=o.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(e in i){var a=i[e],r={prevented:!1,name:e,args:t};if(n.call(this,a,r),r.prevented)return void(t.prevented=!0)}n.call(this,e,t)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||(this.trigger("query",{}),this.trigger("open"))},o.prototype.close=function(){this.isOpen()&&this.trigger("close")},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==e||0===e.length)&&(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},o.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,function(e){return e.toString()})),this.$element.val(n).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},o}),t.define("select2/compat/utils",["jquery"],function(e){return{syncCssClasses:function(t,n,i){var o,a,r=[];(o=e.trim(t.attr("class")))&&e((o=""+o).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&r.push(this)}),(o=e.trim(n.attr("class")))&&e((o=""+o).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(a=i(this))&&r.push(a)}),t.attr("class",r.join(" "))}}}),t.define("select2/compat/containerCss",["jquery","./utils"],function(e,t){function n(){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),a=this.options.get("containerCssClass")||"";e.isFunction(a)&&(a=a(this.$element));var r=this.options.get("adaptContainerCssClass");if(r=r||n,-1!==a.indexOf(":all:")){a=a.replace(":all","");var s=r;r=function(e){var t=s(e);return null!=t?t+" "+e:e}}var l=this.options.get("containerCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(o,this.$element,r),o.css(l),o.addClass(a),o},i}),t.define("select2/compat/dropdownCss",["jquery","./utils"],function(e,t){function n(){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),a=this.options.get("dropdownCssClass")||"";e.isFunction(a)&&(a=a(this.$element));var r=this.options.get("adaptDropdownCssClass");if(r=r||n,-1!==a.indexOf(":all:")){a=a.replace(":all","");var s=r;r=function(e){var t=s(e);return null!=t?t+" "+e:e}}var l=this.options.get("dropdownCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(o,this.$element,r),o.css(l),o.addClass(a),o},i}),t.define("select2/compat/initSelection",["jquery"],function(e){function t(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return t.prototype.current=function(t,n){var i=this;return this._isInitialized?void t.call(this,n):void this.initSelection.call(null,this.$element,function(t){i._isInitialized=!0,e.isArray(t)||(t=[t]),n(t)})},t}),t.define("select2/compat/inputData",["jquery"],function(e){function t(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return t.prototype.current=function(t,n){function i(t,n){var o=[];return t.selected||-1!==e.inArray(t.id,n)?(t.selected=!0,o.push(t)):t.selected=!1,t.children&&o.push.apply(o,i(t.children,n)),o}for(var o=[],a=0;a<this._currentData.length;a++){var r=this._currentData[a];o.push.apply(o,i(r,this.$element.val().split(this._valueSeparator)))}n(o)},t.prototype.select=function(t,n){if(this.options.get("multiple")){var i=this.$element.val();i+=this._valueSeparator+n.id,this.$element.val(i),this.$element.trigger("change")}else this.current(function(t){e.map(t,function(e){e.selected=!1})}),this.$element.val(n.id),this.$element.trigger("change")},t.prototype.unselect=function(e,t){var n=this;t.selected=!1,this.current(function(e){for(var i=[],o=0;o<e.length;o++){var a=e[o];t.id!=a.id&&i.push(a.id)}n.$element.val(i.join(n._valueSeparator)),n.$element.trigger("change")})},t.prototype.query=function(e,t,n){for(var i=[],o=0;o<this._currentData.length;o++){var a=this._currentData[o],r=this.matches(t,a);null!==r&&i.push(r)}n({results:i})},t.prototype.addOptions=function(t,n){var i=e.map(n,function(t){return e.data(t[0],"data")});this._currentData.push.apply(this._currentData,i)},t}),t.define("select2/compat/matcher",["jquery"],function(e){return function(t){return function(n,i){var o=e.extend(!0,{},i);if(null==n.term||""===e.trim(n.term))return o;if(i.children){for(var a=i.children.length-1;a>=0;a--){var r=i.children[a];t(n.term,r.text,r)||o.children.splice(a,1)}if(o.children.length>0)return o}return t(n.term,i.text,i)?o:null}}}),t.define("select2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e}),t.define("select2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e}),t.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),t.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),t.define("jquery.select2",["jquery","require","./select2/core","./select2/defaults"],function(e,t,n,i){if(t("jquery.mousewheel"),null==e.fn.select2){var o=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var i=e.extend({},t,!0);new n(e(this),i)}),this;if("string"==typeof t){var i=this.data("select2");null==i&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2.");var a=Array.prototype.slice.call(arguments,1),r=i[t](a);return e.inArray(t,o)>-1?this:r}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=i),n}),n=function(e){function t(t){var r=t||window.event,s=l.call(arguments,1),c=0,h=0,d=0,p=0,f=0,m=0;if((t=e.event.fix(r)).type="mousewheel","detail"in r&&(d=-1*r.detail),"wheelDelta"in r&&(d=r.wheelDelta),"wheelDeltaY"in r&&(d=r.wheelDeltaY),"wheelDeltaX"in r&&(h=-1*r.wheelDeltaX),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(h=-1*d,d=0),c=0===d?h:d,"deltaY"in r&&(c=d=-1*r.deltaY),"deltaX"in r&&(h=r.deltaX,0===d&&(c=-1*h)),0!==d||0!==h){if(1===r.deltaMode){var g=e.data(this,"mousewheel-line-height");c*=g,d*=g,h*=g}else if(2===r.deltaMode){var _=e.data(this,"mousewheel-page-height");c*=_,d*=_,h*=_}if(p=Math.max(Math.abs(d),Math.abs(h)),(!a||a>p)&&(a=p,i(r,p)&&(a/=40)),i(r,p)&&(c/=40,h/=40,d/=40),c=Math[c>=1?"floor":"ceil"](c/a),h=Math[h>=1?"floor":"ceil"](h/a),d=Math[d>=1?"floor":"ceil"](d/a),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();f=t.clientX-y.left,m=t.clientY-y.top}return t.deltaX=h,t.deltaY=d,t.deltaFactor=a,t.offsetX=f,t.offsetY=m,t.deltaMode=0,s.unshift(t,c,h,d),o&&clearTimeout(o),o=setTimeout(n,200),(e.event.dispatch||e.event.handle).apply(this,s)}}function n(){a=null}function i(e,t){return u.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var o,a,r=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var c=r.length;c;)e.event.fixHooks[r[--c]]=e.event.mouseHooks;var u=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=s.length;n;)this.addEventListener(s[--n],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",u.getLineHeight(this)),e.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=s.length;n;)this.removeEventListener(s[--n],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof t.define&&t.define.amd?t.define("jquery.mousewheel",["jquery"],n):"object"==typeof exports?module.exports=n:n(e),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n}),function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return e.Tablesaw=t(n,e)}):"object"==typeof exports?module.exports=t("document"in e?require("jquery"):require("jquery")(e),e):e.Tablesaw=t(jQuery,e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=t.document,i=!1;n.addEventListener("DOMContentLoaded",function(){i=!0});var o,a,r,s,l,c,u,h,d,p={i18n:{modeStack:"Stack",modeSwipe:"Swipe",modeToggle:"Toggle",modeSwitchColumnsAbbreviated:"Cols",modeSwitchColumns:"Columns",columnToggleButton:"Columns",columnToggleError:"No eligible columns.",sort:"Sort",swipePreviousColumn:"Previous column",swipeNextColumn:"Next column"},mustard:"head"in n&&(!t.blackberry||t.WebKitPoint)&&!t.operamini,$:e,_init:function(e){p.$(e||n).trigger("enhance.tablesaw")},init:function(e){i?p._init(e):"addEventListener"in n&&n.addEventListener("DOMContentLoaded",function(){p._init(e)})}};return e(n).on("enhance.tablesaw",function(){"undefined"!=typeof TablesawConfig&&TablesawConfig.i18n&&(p.i18n=e.extend(p.i18n,TablesawConfig.i18n||{})),p.i18n.modes=[p.i18n.modeStack,p.i18n.modeSwipe,p.i18n.modeToggle]}),p.mustard&&e(n.documentElement).addClass("tablesaw-enhanced"),function(){var i="tablesaw-bar",o={create:"tablesawcreate",destroy:"tablesawdestroy",refresh:"tablesawrefresh",resize:"tablesawresize"},a={};p.events=o;var r=function(t){if(!t)throw new Error("Tablesaw requires an element.");this.table=t,this.$table=e(t),this.$thead=this.$table.children().filter("thead").eq(0),this.$tbody=this.$table.children().filter("tbody"),this.mode=this.$table.attr("data-tablesaw-mode")||"stack",this.$toolbar=null,this.attributes={subrow:"data-tablesaw-subrow",ignorerow:"data-tablesaw-ignorerow"},this.init()};r.prototype.init=function(){if(!this.$thead.length)throw new Error("tablesaw: a <thead> is required, but none was found.");if(!this.$thead.find("th").length)throw new Error("tablesaw: no header cells found. Are you using <th> inside of <thead>?");this.$table.attr("id")||this.$table.attr("id","tablesaw-"+Math.round(1e4*Math.random())),this.createToolbar(),this._initCells(),this.$table.data("tablesaw",this),this.$table.trigger(o.create,[this])},r.prototype.getConfig=function(t){var n=e.extend(a,t||{});return e.extend(n,"undefined"!=typeof TablesawConfig?TablesawConfig:{})},r.prototype._getPrimaryHeaderRow=function(){return this._getHeaderRows().eq(0)},r.prototype._getHeaderRows=function(){return this.$thead.children().filter("tr").filter(function(){return!e(this).is("[data-tablesaw-ignorerow]")})},r.prototype._getRowIndex=function(e){return e.prevAll().length},r.prototype._getHeaderRowIndeces=function(){var t=this,n=[];return this._getHeaderRows().each(function(){n.push(t._getRowIndex(e(this)))}),n},r.prototype._getPrimaryHeaderCells=function(e){return(e||this._getPrimaryHeaderRow()).find("th")},r.prototype._$getCells=function(t){var n=this;return e(t).add(t.cells).filter(function(){var t=e(this),i=t.parent(),o=t.is("[colspan]");return!(i.is("["+n.attributes.subrow+"]")||i.is("["+n.attributes.ignorerow+"]")&&o)})},r.prototype._getVisibleColspan=function(){var t=0;return this._getPrimaryHeaderCells().each(function(){var n=e(this);"none"!==n.css("display")&&(t+=parseInt(n.attr("colspan"),10)||1)}),t},r.prototype.getColspanForCell=function(t){var n=this._getVisibleColspan(),i=0;return t.closest("tr").data("tablesaw-rowspanned")&&i++,t.siblings().each(function(){var t=e(this),n=parseInt(t.attr("colspan"),10)||1;"none"!==t.css("display")&&(i+=n)}),n-i},r.prototype.isCellInColumn=function(t,n){return e(t).add(t.cells).filter(function(){return this===n}).length},r.prototype.updateColspanCells=function(t,n,i){var o=this,a=o._getPrimaryHeaderRow();this.$table.find("[rowspan][data-tablesaw-priority]").each(function(){var t=e(this);if("persist"===t.attr("data-tablesaw-priority")){var n=t.closest("tr"),i=parseInt(t.attr("rowspan"),10);i>1&&((n=n.next()).data("tablesaw-rowspanned",!0),i--)}}),this.$table.find("[colspan],[data-tablesaw-maxcolspan]").filter(function(){return e(this).closest("tr")[0]!==a[0]}).each(function(){var a=e(this);if(void 0===i||o.isCellInColumn(n,this)){var r=o.getColspanForCell(a);t&&void 0!==i&&a[0===r?"addClass":"removeClass"](t);var s=parseInt(a.attr("data-tablesaw-maxcolspan"),10);s?r>s&&(r=s):a.attr("data-tablesaw-maxcolspan",a.attr("colspan")),a.attr("colspan",r)}})},r.prototype._findPrimaryHeadersForCell=function(e){for(var t=this._getPrimaryHeaderRow(),n=this._getPrimaryHeaderCells(t),i=this._getRowIndex(t),o=[],a=0;a<this.headerMapping.length;a++)if(a!==i)for(var r=0;r<this.headerMapping[a].length;r++)this.headerMapping[a][r]===e&&o.push(n[r]);return o},r.prototype.getRows=function(){var t=this;return this.$table.find("tr").filter(function(){return e(this).closest("table").is(t.$table)})},r.prototype.getBodyRows=function(t){return(t?e(t):this.$tbody).children().filter("tr")},r.prototype.getHeaderCellIndex=function(e){for(var t=this.headerMapping[0],n=0;n<t.length;n++)if(t[n]===e)return n;return-1},r.prototype._initCells=function(){this.$table.find("[data-tablesaw-maxcolspan]").each(function(){var t=e(this);t.attr("colspan",t.attr("data-tablesaw-maxcolspan"))});var t=this.getRows(),n=[];t.each(function(e){n[e]=[]}),t.each(function(t){var i=0;e(this).children().each(function(){for(var e=parseInt(this.getAttribute("data-tablesaw-maxcolspan")||this.getAttribute("colspan"),10),o=parseInt(this.getAttribute("rowspan"),10);n[t][i];)i++;if(n[t][i]=this,e)for(var a=0;a<e-1;a++)i++,n[t][i]=this;if(o)for(var r=1;r<o;r++)n[t+r][i]=this;i++})});for(var i=this._getHeaderRowIndeces(),o=0;o<n[0].length;o++)for(var a=0,r=i.length;a<r;a++){var s,l=n[i[a]][o],c=i[a];for(l.cells||(l.cells=[]);c<n.length;)l!==(s=n[c][o])&&l.cells.push(s),c++}this.headerMapping=n},r.prototype.refresh=function(){this._initCells(),this.$table.trigger(o.refresh,[this])},r.prototype._getToolbarAnchor=function(){var e=this.$table.parent();return e.is(".tablesaw-overflow")?e:this.$table},r.prototype._getToolbar=function(e){return e||(e=this._getToolbarAnchor()),e.prev().filter("."+i)},r.prototype.createToolbar=function(){var t=this._getToolbarAnchor(),n=this._getToolbar(t);n.length||(n=e("<div>").addClass(i).insertBefore(t)),this.$toolbar=n,this.mode&&this.$toolbar.addClass("tablesaw-mode-"+this.mode)},r.prototype.destroy=function(){this._getToolbar().each(function(){this.className=this.className.replace(/\btablesaw-mode\-\w*\b/gi,"")});var i=this.$table.attr("id");e(n).off("."+i),e(t).off("."+i),this.$table.trigger(o.destroy,[this]),this.$table.removeData("tablesaw")},e.fn.tablesaw=function(){return this.each(function(){e(this).data("tablesaw")||new r(this)})};var s=e(n);s.on("enhance.tablesaw",function(t){p.mustard&&e(t.target).find("table").filter("[data-tablesaw],[data-tablesaw-mode],[data-tablesaw-sortable]").tablesaw()});var l,c,u=!1;s.on("scroll.tablesaw",function(){u=!0,t.clearTimeout(l),l=t.setTimeout(function(){u=!1},300)}),e(t).on("resize",function(){u||(t.clearTimeout(c),c=t.setTimeout(function(){s.trigger(o.resize)},150))}),p.Table=r}(),o="tablesaw-stack",a="tablesaw-cell-label",r="tablesaw-cell-content",s="tablesaw-stack",l="data-tablesaw-no-labels",c="data-tablesaw-hide-empty",(u=function(t,n){this.tablesaw=n,this.$table=e(t),this.labelless=this.$table.is("["+l+"]"),this.hideempty=this.$table.is("["+c+"]"),this.$table.data(s,this)}).prototype.init=function(){if(this.$table.addClass(o),!this.labelless){var t=this;this.$table.find("th, td").filter(function(){return!e(this).closest("thead").length}).filter(function(){return!(e(this).closest("tr").is("["+l+"]")||t.hideempty&&!e(this).html())}).each(function(){var i=e(n.createElement("b")).addClass(a),o=e(this);e(t.tablesaw._findPrimaryHeadersForCell(this)).each(function(t){var o=e(this.cloneNode(!0)),a=o.find(".tablesaw-sortable-btn");o.find(".tablesaw-sortable-arrow").remove();var r=o.find("[data-tablesaw-checkall]");if(r.closest("label").remove(),r.length)i=e([]);else{t>0&&i.append(n.createTextNode(", "));for(var s,l=a.length?a[0]:o[0];s=l.firstChild;)i[0].appendChild(s)}}),i.length&&!o.find("."+r).length&&o.wrapInner("<span class='"+r+"'></span>");var s=o.find("."+a);s.length?s.replaceWith(i):o.prepend(i)})}},u.prototype.destroy=function(){this.$table.removeClass(o),this.$table.find("."+a).remove(),this.$table.find("."+r).each(function(){e(this).replaceWith(this.childNodes)})},e(n).on(p.events.create,function(e,t){"stack"===t.mode&&new u(t.table,t).init()}).on(p.events.refresh,function(t,n){"stack"===n.mode&&e(n.table).data(s).init()}).on(p.events.destroy,function(t,n){"stack"===n.mode&&e(n.table).data(s).destroy()}),p.Stack=u,h={_create:function(){return e(this).each(function(){e(this).trigger("beforecreate.tablesawbtn").tablesawbtn("_init").trigger("create.tablesawbtn")})},_init:function(){var t=e(this),n=this.getElementsByTagName("select")[0];return n&&e(this).addClass("btn-select tablesaw-btn-select").tablesawbtn("_select",n),t},_select:function(t){var i=function(t,i){var o,a,r=e(i).find("option"),s=n.createElement("span"),l=!1;if(s.setAttribute("aria-hidden","true"),s.innerHTML="&#160;",r.each(function(){this.selected&&(s.innerHTML=this.text)}),a=t.childNodes,r.length>0){for(var c=0,u=a.length;c<u;c++)(o=a[c])&&"SPAN"===o.nodeName.toUpperCase()&&(t.replaceChild(s,o),l=!0);l||t.insertBefore(s,t.firstChild)}};i(this,t),e(this).on("change refresh",function(){i(this,t)})}},e.fn.tablesawbtn=function(t,n,i,o){return this.each(function(){return t&&"string"==typeof t?e.fn.tablesawbtn.prototype[t].call(this,n,i,o):e(this).data("tablesawbtnactive")?e(this):(e(this).data("tablesawbtnactive",!0),void e.fn.tablesawbtn.prototype._create.call(this))})},e.extend(e.fn.tablesawbtn.prototype,h),function(){var i="tablesaw-coltoggle",o=function(t){this.$table=e(t),this.$table.length&&(this.tablesaw=this.$table.data("tablesaw"),this.attributes={btnTarget:"data-tablesaw-columntoggle-btn-target",set:"data-tablesaw-columntoggle-set"},this.classes={columnToggleTable:"tablesaw-columntoggle",columnBtnContain:"tablesaw-columntoggle-btnwrap tablesaw-advance",columnBtn:"tablesaw-columntoggle-btn tablesaw-nav-btn down",popup:"tablesaw-columntoggle-popup",priorityPrefix:"tablesaw-priority-"},this.set=[],this.$headers=this.tablesaw._getPrimaryHeaderCells(),this.$table.data(i,this))};o.prototype.initSet=function(){var t=this.$table.attr(this.attributes.set);if(t){var n=this.$table[0];this.set=e("table["+this.attributes.set+"='"+t+"']").filter(function(){return this!==n}).get()}},o.prototype.init=function(){if(this.$table.length){var o,a,r,s,l,c,u=this,h=this.tablesaw.getConfig({getColumnToggleLabelTemplate:function(e){return"<label><input type='checkbox' checked>"+e+"</label>"}});this.$table.addClass(this.classes.columnToggleTable),a=(o=this.$table.attr("id"))+"-popup",c=e("<div class='"+this.classes.columnBtnContain+"'></div>"),r=e("<a href='#"+a+"' class='btn tablesaw-btn btn-micro "+this.classes.columnBtn+"' data-popup-link><span>"+p.i18n.columnToggleButton+"</span></a>"),s=e("<div class='"+this.classes.popup+"' id='"+a+"'></div>"),l=e("<div class='btn-group'></div>"),this.$popup=s;var d=!1;this.$headers.each(function(){var t=e(this),n=t.attr("data-tablesaw-priority"),i=u.tablesaw._$getCells(this);n&&"persist"!==n&&(i.addClass(u.classes.priorityPrefix+n),e(h.getColumnToggleLabelTemplate(t.text())).appendTo(l).find('input[type="checkbox"]').data("tablesaw-header",this),d=!0)}),d||l.append("<label>"+p.i18n.columnToggleError+"</label>"),l.appendTo(s),l.find('input[type="checkbox"]').on("change",function(t){var n;(y(t.target),u.set.length)&&(e(u.$popup).find("input[type='checkbox']").each(function(e){if(this===t.target)return n=e,!1}),e(u.set).each(function(){var o=e(this).data(i).$popup.find("input[type='checkbox']").get(n);o&&(o.checked=t.target.checked,y(o))}))}),r.appendTo(c);var f,m=e(this.$table.attr(this.attributes.btnTarget));c.appendTo(m.length?m:this.tablesaw.$toolbar),r.on("click.tablesaw",function(i){i.preventDefault(),c.is(".visible")?v():(c.addClass("visible"),r.removeClass("down").addClass("up"),e(n).off("click."+o,v),t.clearTimeout(f),f=t.setTimeout(function(){e(n).on("click."+o,v)},15))}),s.appendTo(c),this.$menu=l;var g,_=this.$table.closest(".tablesaw-overflow");if(_.css("-webkit-overflow-scrolling"))_.on("scroll",function(){var n=e(this);t.clearTimeout(g),g=t.setTimeout(function(){n.css("-webkit-overflow-scrolling","auto"),t.setTimeout(function(){n.css("-webkit-overflow-scrolling","touch")},0)},100)});e(t).on(p.events.resize+"."+o,function(){u.refreshToggle()}),this.initSet(),this.refreshToggle()}function y(e){var t=e.checked,n=u.getHeaderFromCheckbox(e),i=u.tablesaw._$getCells(n);i[t?"removeClass":"addClass"]("tablesaw-toggle-cellhidden"),i[t?"addClass":"removeClass"]("tablesaw-toggle-cellvisible"),u.updateColspanCells(n,t),u.$table.trigger("tablesawcolumns")}function v(t){t&&e(t.target).closest("."+u.classes.popup).length||(e(n).off("click."+o),r.removeClass("up").addClass("down"),c.removeClass("visible"))}},o.prototype.getHeaderFromCheckbox=function(t){return e(t).data("tablesaw-header")},o.prototype.refreshToggle=function(){var e=this;this.$menu.find("input").each(function(){var t=e.getHeaderFromCheckbox(this);this.checked="table-cell"===e.tablesaw._$getCells(t).eq(0).css("display")}),this.updateColspanCells()},o.prototype.updateColspanCells=function(e,t){this.tablesaw.updateColspanCells("tablesaw-toggle-cellhidden",e,t)},o.prototype.destroy=function(){this.$table.removeClass(this.classes.columnToggleTable),this.$table.find("th, td").each(function(){e(this).removeClass("tablesaw-toggle-cellhidden").removeClass("tablesaw-toggle-cellvisible"),this.className=this.className.replace(/\bui\-table\-priority\-\d\b/g,"")})},e(n).on(p.events.create,function(e,t){"columntoggle"===t.mode&&new o(t.table).init()}),e(n).on(p.events.destroy,function(t,n){"columntoggle"===n.mode&&e(n.table).data(i).destroy()}),e(n).on(p.events.refresh,function(t,n){"columntoggle"===n.mode&&e(n.table).data(i).refreshPriority()}),p.ColumnToggle=o}(),function(){function t(t){var n=[];return e(t.childNodes).each(function(){var t=e(this);t.is("input, select")?n.push(t.val()):t.is(".tablesaw-cell-label")||n.push((t.text()||"").replace(/^\s+|\s+$/g,""))}),n.join("")}var i="tablesaw-sortable",o="table[data-"+i+"]",a="[data-"+i+"-switch]",r={sortCol:"data-tablesaw-sortable-col",defaultCol:"data-tablesaw-sortable-default-col",numericCol:"data-tablesaw-sortable-numeric",subRow:"data-tablesaw-subrow",ignoreRow:"data-tablesaw-ignorerow"},s={head:i+"-head",ascend:i+"-ascending",descend:i+"-descending",switcher:i+"-switch",tableToolbar:"tablesaw-bar-section",sortButton:i+"-btn"},l={_create:function(t){return e(this).each(function(){if(e(this).data(i+"-init"))return!1;e(this).data(i+"-init",!0).trigger("beforecreate."+i)[i]("_init",t).trigger("create."+i)})},_init:function(){var n,o,l,c=e(this),u=c.data("tablesaw");function h(t){e.each(t,function(t,n){var i=e(n);i.removeAttr(r.defaultCol),i.removeClass(s.ascend),i.removeClass(s.descend)})}c.addClass(i),n=c.children().filter("thead").find("th["+r.sortCol+"]"),l=n,e.each(l,function(t,n){e(n).addClass(s.head)}),function(t,n){e.each(t,function(t,i){var o=e("<button class='"+s.sortButton+"'/>");o.on("click",{col:i},n),e(i).wrapInner(o).find("button").append("<span class='tablesaw-sortable-arrow'>")})}(n,function(t){if(!e(t.target).is("a[href]")){t.stopPropagation();var a=e(t.target).closest("["+r.sortCol+"]"),l=t.data.col,u=n.index(a[0]);h(a.closest("thead").find("th").filter(function(){return this!==a[0]})),a.is("."+s.descend)||!a.is("."+s.ascend)?(c[i]("sortBy",l,!0),u+="_asc"):(c[i]("sortBy",l),u+="_desc"),o&&o.find("select").val(u).trigger("refresh"),t.preventDefault()}}),function(t){e.each(t,function(t,n){var i=e(n);i.is("["+r.defaultCol+"]")&&(i.is("."+s.descend)||i.addClass(s.ascend))})}(n),c.is(a)&&function(n){o=e("<div>").addClass(s.switcher).addClass(s.tableToolbar);var a=["<label>"+p.i18n.sort+":"];a.push('<span class="btn tablesaw-btn"><select>'),n.each(function(n){var i=e(this),o=i.is("["+r.defaultCol+"]"),l=i.is("."+s.descend),c=i.is("["+r.numericCol+"]"),u=0;e(this.cells.slice(0,5)).each(function(){isNaN(parseInt(t(this),10))||u++});var h=5===u;c||i.attr(r.numericCol,h?"":"false"),a.push("<option"+(o&&!l?" selected":"")+' value="'+n+'_asc">'+i.text()+" "+(h?"&#x2191;":"(A-Z)")+"</option>"),a.push("<option"+(o&&l?" selected":"")+' value="'+n+'_desc">'+i.text()+" "+(h?"&#x2193;":"(Z-A)")+"</option>")}),a.push("</select></span></label>"),o.html(a.join(""));var l=u.$toolbar.children().eq(0);l.length?o.insertBefore(l):o.appendTo(u.$toolbar),o.find(".tablesaw-btn").tablesawbtn(),o.find("select").on("change",function(){var t=e(this).val().split("_"),o=n.eq(t[0]);h(o.siblings()),c[i]("sortBy",o.get(0),"asc"===t[1])})}(n)},sortRows:function(n,i,o,a,s){var l,c=function(n,i){var o=[];return e.each(n,function(n,a){for(var s=a.parentNode,l=e(s),c=[],u=l.next();u.is("["+r.subRow+"]");)c.push(u[0]),u=u.next();var h=s.parentNode;l.is("["+r.subRow+"]")||h===i&&o.push({element:a,cell:t(a),row:s,subrows:c.length?c:null,ignored:l.is("["+r.ignoreRow+"]")})}),o}(a.cells,s),u=e(a).data("tablesaw-sort");return l=!(!u||"function"!=typeof u)&&u(o)||function(e,t){var n=/[^\-\+\d\.]/g;return e?function(e,i){return e.ignored||i.ignored?0:t?parseFloat(e.cell.replace(n,""))-parseFloat(i.cell.replace(n,"")):e.cell.toLowerCase()>i.cell.toLowerCase()?1:-1}:function(e,i){return e.ignored||i.ignored?0:t?parseFloat(i.cell.replace(n,""))-parseFloat(e.cell.replace(n,"")):e.cell.toLowerCase()<i.cell.toLowerCase()?1:-1}}(o,e(a).is("["+r.numericCol+"]")&&!e(a).is("["+r.numericCol+'="false"]')),function(e){var t,n,i=[];for(t=0,n=e.length;t<n;t++)i.push(e[t].row),e[t].subrows&&i.push(e[t].subrows);return i}(c.sort(l))},makeColDefault:function(t,n){var i=e(t);i.attr(r.defaultCol,"true"),n?(i.removeClass(s.descend),i.addClass(s.ascend)):(i.removeClass(s.ascend),i.addClass(s.descend))},sortBy:function(t,n){var o,a=e(this),r=a.data("tablesaw");r.$tbody.each(function(){var s,l,c,u=e(this),h=r.getBodyRows(this),d=r.headerMapping[0];for(l=0,c=d.length;l<c;l++)if(d[l]===t){o=l;break}for(l=0,c=(s=a[i]("sortRows",h,o,n,t,this)).length;l<c;l++)u.append(s[l])}),a[i]("makeColDefault",t,n),a.trigger("tablesaw-sorted")}};e.fn[i]=function(t){var n,o=Array.prototype.slice.call(arguments,1);return t&&"string"==typeof t?void 0!==(n=e.fn[i].prototype[t].apply(this[0],o))?n:e(this):(e(this).data(i+"-active")||(e(this).data(i+"-active",!0),e.fn[i].prototype._create.call(this,t)),e(this))},e.extend(e.fn[i].prototype,l),e(n).on(p.events.create,function(e,t){t.$table.is(o)&&t.$table[i]()})}(),function(){var i={hideBtn:"disabled",persistWidths:"tablesaw-fix-persist",hiddenCol:"tablesaw-swipe-cellhidden",persistCol:"tablesaw-swipe-cellpersist",allColumnsVisible:"tablesaw-all-cols-visible"},o={disableTouchEvents:"data-tablesaw-no-touch",ignorerow:"data-tablesaw-ignorerow",subrow:"data-tablesaw-subrow"};function a(a,r){var s=r.data("tablesaw"),l=e("<div class='tablesaw-advance'></div>"),c=e("<a href='#' class='btn tablesaw-nav-btn tablesaw-btn btn-micro left'>"+p.i18n.swipePreviousColumn+"</a>").appendTo(l),u=e("<a href='#' class='btn tablesaw-nav-btn tablesaw-btn btn-micro right'>"+p.i18n.swipeNextColumn+"</a>").appendTo(l),h=a._getPrimaryHeaderCells(),d=h.not('[data-tablesaw-priority="persist"]'),f=[],m=e(n.head||"head"),g=r.attr("id");if(!h.length)throw new Error("tablesaw swipe: no header cells found.");function _(){r.css({width:"1px"}),r.find("."+i.hiddenCol).removeClass(i.hiddenCol),f=[],h.each(function(){f.push(this.offsetWidth)}),r.css({width:""})}function y(e){s._$getCells(e).removeClass(i.hiddenCol)}function v(e){s._$getCells(e).addClass(i.hiddenCol)}function b(){r.removeClass(i.persistWidths),e("#"+g+"-persist").remove()}function w(){var t,n="#"+g+".tablesaw-swipe ",o=[],a=r.width(),s=[];if(h.each(function(t){var r;e(this).is('[data-tablesaw-priority="persist"]')&&(r=this.offsetWidth)<.75*a&&(s.push(t+"-"+r),o.push(n+" ."+i.persistCol+":nth-child("+(t+1)+") { width: "+r+"px; }"))}),t=s.join("_"),o.length){r.addClass(i.persistWidths);var l=e("#"+g+"-persist");l.length&&l.data("tablesaw-hash")===t||(l.remove(),e("<style>"+o.join("\n")+"</style>").attr("id",g+"-persist").data("tablesaw-hash",t).appendTo(m))}}function A(){var t,n=[];return d.each(function(o){var a=e(this),r="none"===a.css("display")||a.is("."+i.hiddenCol);if(r||t){if(r&&t)return n[1]=o,!1}else t=!0,n[0]=o}),n}function x(){var e=A();return[e[1]-1,e[0]-1]}function k(e){return e[1]>-1&&e[1]<d.length}function S(){if(!(n=r.attr("data-tablesaw-swipe-media"))||"matchMedia"in t&&t.matchMedia(n).matches){var n,o=r.parent().width(),a=[],l=0,c=[],u=h.length;h.each(function(t){var n=e(this).is('[data-tablesaw-priority="persist"]');a.push(n),l+=f[t],c.push(l),(n||l>o)&&u--});var d=0===u;h.each(function(e){c[e]>o&&v(this)}),h.each(function(e){if(a[e])return t=this,void s._$getCells(t).addClass(i.persistCol);var t;(c[e]<=o||d)&&(d=!1,y(this),s.updateColspanCells(i.hiddenCol,this,!0))}),b(),r.trigger("tablesawcolumns")}}function C(e){var t=function(e){return e?A():x()}(e);k(t)&&(isNaN(t[0])&&(t[0]=e?0:d.length-1),w(),v(d.get(t[0])),s.updateColspanCells(i.hiddenCol,d.get(t[0]),!1),y(d.get(t[1])),s.updateColspanCells(i.hiddenCol,d.get(t[1]),!0),r.trigger("tablesawcolumns"))}function P(e,t){return(e.touches||e.originalEvent.touches)[0][t]}r.addClass("tablesaw-swipe"),_(),l.appendTo(s.$toolbar),g||(g="tableswipe-"+Math.round(1e4*Math.random()),r.attr("id",g)),c.add(u).on("click",function(t){C(!!e(t.target).closest(u).length),t.preventDefault()}),r.is("["+o.disableTouchEvents+"]")||r.on("touchstart.swipetoggle",function(n){var i,o,r=P(n,"pageX"),s=P(n,"pageY"),l=t.pageYOffset;e(t).off(p.events.resize,S),e(this).on("touchmove.swipetoggle",function(e){i=P(e,"pageX"),o=P(e,"pageY")}).on("touchend.swipetoggle",function(){var n=a.getConfig({swipeHorizontalThreshold:30,swipeVerticalThreshold:30}),c=n.swipe?n.swipe.verticalThreshold:n.swipeVerticalThreshold,u=n.swipe?n.swipe.horizontalThreshold:n.swipeHorizontalThreshold,h=Math.abs(t.pageYOffset-l)>=c;Math.abs(o-s)>=c||h||(i-r<-1*u&&C(!0),i-r>u&&C(!1)),t.setTimeout(function(){e(t).on(p.events.resize,S)},300),e(this).off("touchmove.swipetoggle touchend.swipetoggle")})}),r.on("tablesawcolumns.swipetoggle",function(){var e=k(x()),t=k(A());c[e?"removeClass":"addClass"](i.hideBtn),u[t?"removeClass":"addClass"](i.hideBtn),s.$toolbar[e||t?"removeClass":"addClass"](i.allColumnsVisible)}).on("tablesawnext.swipetoggle",function(){C(!0)}).on("tablesawprev.swipetoggle",function(){C(!1)}).on(p.events.destroy+".swipetoggle",function(){var n=e(this);n.removeClass("tablesaw-swipe"),s.$toolbar.find(".tablesaw-advance").remove(),e(t).off(p.events.resize,S),n.off(".swipetoggle")}).on(p.events.refresh,function(){b(),_(),S()}),S(),e(t).on(p.events.resize,S)}e(n).on(p.events.create,function(e,t){"swipe"===t.mode&&a(t,t.$table)})}(),function(){var i={attr:{init:"data-tablesaw-minimap"},show:function(e){var n=e.getAttribute(i.attr.init);return""===n||!!(n&&"matchMedia"in t)&&t.matchMedia(n).matches}};e(n).on(p.events.create,function(n,o){"swipe"!==o.mode&&"columntoggle"!==o.mode||!o.$table.is("[ "+i.attr.init+"]")||function(n){var o=n.data("tablesaw"),a=e('<div class="tablesaw-advance minimap">'),r=e('<ul class="tablesaw-advance-dots">').appendTo(a),s="tablesaw-advance-dots-hide";function l(){if(i.show(n[0])){a.css("display","block");var t=r.find("li").removeClass(s);n.find("thead th").each(function(n){"none"===e(this).css("display")&&t.eq(n).addClass(s)})}else a.css("display","none")}n.data("tablesaw")._getPrimaryHeaderCells().each(function(){r.append("<li><i></i></li>")}),a.appendTo(o.$toolbar),l(),e(t).on(p.events.resize,l),n.on("tablesawcolumns.minimap",function(){l()}).on(p.events.destroy+".minimap",function(){var n=e(this);o.$toolbar.find(".tablesaw-advance").remove(),e(t).off(p.events.resize,l),n.off(".minimap")})}(o.$table)}),p.MiniMap=i}(),d={selectors:{init:"table[data-tablesaw-mode-switch]"},attributes:{excludeMode:"data-tablesaw-mode-exclude"},classes:{main:"tablesaw-modeswitch",toolbar:"tablesaw-bar-section"},modes:["stack","swipe","columntoggle"],init:function(t){var n,i=e(t),o=i.data("tablesaw"),a=i.attr(d.attributes.excludeMode),r=o.$toolbar,s=e("<div>").addClass(d.classes.main+" "+d.classes.toolbar),l=['<label><span class="abbreviated">'+p.i18n.modeSwitchColumnsAbbreviated+'</span><span class="longform">'+p.i18n.modeSwitchColumns+"</span>:"],c=i.attr("data-tablesaw-mode");l.push('<span class="btn tablesaw-btn"><select>');for(var u=0,h=d.modes.length;u<h;u++)a&&a.toLowerCase()===d.modes[u]||(n=c===d.modes[u],l.push("<option"+(n?" selected":"")+' value="'+d.modes[u]+'">'+p.i18n.modes[u]+"</option>"));l.push("</select></span></label>"),s.html(l.join(""));var f=r.find(".tablesaw-advance").eq(0);f.length?s.insertBefore(f):s.appendTo(r),s.find(".tablesaw-btn").tablesawbtn(),s.find("select").on("change",function(n){return d.onModeChange.call(t,n,e(this).val())})},onModeChange:function(t,n){var i=e(this),o=i.data("tablesaw");o.$toolbar.find("."+d.classes.main).remove(),o.destroy(),i.attr("data-tablesaw-mode",n),i.tablesaw()}},e(n).on(p.events.create,function(e,t){t.$table.is(d.selectors.init)&&d.init(t.table)}),function(){var t="tablesawCheckAll";function i(e){this.tablesaw=e,this.$table=e.$table,this.attr="data-tablesaw-checkall",this.checkAllSelector="["+this.attr+"]",this.forceCheckedSelector="["+this.attr+"-checked]",this.forceUncheckedSelector="["+this.attr+"-unchecked]",this.checkboxSelector='input[type="checkbox"]',this.$triggers=null,this.$checkboxes=null,this.$table.data(t)||(this.$table.data(t,this),this.init())}i.prototype._filterCells=function(t){return t.filter(function(){return!e(this).closest("tr").is("[data-tablesaw-subrow],[data-tablesaw-ignorerow]")}).find(this.checkboxSelector).not(this.checkAllSelector)},i.prototype.getCheckboxesForButton=function(t){return this._filterCells(e(e(t).attr(this.attr)))},i.prototype.getCheckboxesForCheckbox=function(t){return this._filterCells(e(e(t).closest("th")[0].cells))},i.prototype.init=function(){var t=this;this.$table.find(this.checkAllSelector).each(function(){e(this).is(t.checkboxSelector)?t.addCheckboxEvents(this):t.addButtonEvents(this)})},i.prototype.addButtonEvents=function(n){var i=this;e(n).on("click",function(n){n.preventDefault();var o,a=i.getCheckboxesForButton(this),r=!0;a.each(function(){this.checked||(r=!1)}),o=!!e(this).is(i.forceCheckedSelector)||!e(this).is(i.forceUncheckedSelector)&&!r,a.each(function(){this.checked=o,e(this).trigger("change."+t)})})},i.prototype.addCheckboxEvents=function(n){var i=this;e(n).on("change",function(){var e=this.checked;i.getCheckboxesForCheckbox(this).each(function(){this.checked=e})});var o=i.getCheckboxesForCheckbox(n);o.on("change."+t,function(){var e=0;o.each(function(){this.checked&&e++});var t=e===o.length;n.checked=t,n.indeterminate=0!==e&&!t})},e(n).on(p.events.create,function(e,t){new i(t)}),p.CheckAll=i}(),p}),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Handlebars=t():e.Handlebars=t()}(this,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=i(n(2)),a=i(n(40)),r=n(41),s=n(46),l=i(n(49)),c=i(n(44)),u=i(n(39)),h=o.default.create;function d(){var e=h();return e.compile=function(t,n){return s.compile(t,n,e)},e.precompile=function(t,n){return s.precompile(t,n,e)},e.AST=a.default,e.Compiler=s.Compiler,e.JavaScriptCompiler=l.default,e.Parser=r.parser,e.parse=r.parse,e.parseWithoutProcessing=r.parseWithoutProcessing,e}var p=d();p.create=d,u.default(p),p.Visitor=c.default,p.default=p,t.default=p,e.exports=t.default},function(e,t){"use strict";t.default=function(e){return e&&e.__esModule?e:{default:e}},t.__esModule=!0},function(e,t,n){"use strict";var i=n(3).default,o=n(1).default;t.__esModule=!0;var a=i(n(4)),r=o(n(33)),s=o(n(6)),l=i(n(5)),c=i(n(34)),u=o(n(39));function h(){var e=new a.HandlebarsEnvironment;return l.extend(e,a),e.SafeString=r.default,e.Exception=s.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var d=h();d.create=h,u.default(d),d.default=d,t.default=d,e.exports=t.default},function(e,t){"use strict";t.default=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},t.__esModule=!0},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0,t.HandlebarsEnvironment=c;var o=n(5),a=i(n(6)),r=n(10),s=n(30),l=i(n(32));t.VERSION="4.5.3";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};function c(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},r.registerDefaultHelpers(this),s.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:l.default,log:l.default.log,registerHelper:function(e,t){if("[object Object]"===o.toString.call(e)){if(t)throw new a.default("Arg not supported with multiple helpers");o.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if("[object Object]"===o.toString.call(e))o.extend(this.partials,e);else{if(void 0===t)throw new a.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if("[object Object]"===o.toString.call(e)){if(t)throw new a.default("Arg not supported with multiple decorators");o.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var u=l.default.log;t.log=u,t.createFrame=o.createFrame,t.logger=l.default},function(e,t){"use strict";t.__esModule=!0,t.extend=r,t.indexOf=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}if(!o.test(e))return e;return e.replace(i,a)},t.isEmpty=function(e){return!e&&0!==e||!(!c(e)||0!==e.length)},t.createFrame=function(e){var t=r({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},i=/[&<>"'`=]/g,o=/[&<>"'`=]/;function a(e){return n[e]}function r(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var s=Object.prototype.toString;t.toString=s;var l=function(e){return"function"==typeof e};l(/x/)&&(t.isFunction=l=function(e){return"function"==typeof e&&"[object Function]"===s.call(e)}),t.isFunction=l;var c=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===s.call(e)};t.isArray=c},function(e,t,n){"use strict";var i=n(7).default;t.__esModule=!0;var o=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function a(e,t){var n=t&&t.loc,r=void 0,s=void 0,l=void 0,c=void 0;n&&(r=n.start.line,s=n.end.line,l=n.start.column,c=n.end.column,e+=" - "+r+":"+l);for(var u=Error.prototype.constructor.call(this,e),h=0;h<o.length;h++)this[o[h]]=u[o[h]];Error.captureStackTrace&&Error.captureStackTrace(this,a);try{n&&(this.lineNumber=r,this.endLineNumber=s,i?(Object.defineProperty(this,"column",{value:l,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:c,enumerable:!0})):(this.column=l,this.endColumn=c))}catch(e){}}a.prototype=new Error,t.default=a,e.exports=t.default},function(e,t,n){e.exports={default:n(8),__esModule:!0}},function(e,t,n){var i=n(9);e.exports=function(e,t,n){return i.setDesc(e,t,n)}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0,t.registerDefaultHelpers=function(e){o.default(e),a.default(e),r.default(e),s.default(e),l.default(e),c.default(e),u.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var o=i(n(11)),a=i(n(12)),r=i(n(25)),s=i(n(26)),l=i(n(27)),c=i(n(28)),u=i(n(29))},function(e,t,n){"use strict";t.__esModule=!0;var i=n(5);t.default=function(e){e.registerHelper("blockHelperMissing",function(t,n){var o=n.inverse,a=n.fn;if(!0===t)return a(this);if(!1===t||null==t)return o(this);if(i.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):o(this);if(n.data&&n.ids){var r=i.createFrame(n.data);r.contextPath=i.appendContextPath(n.data.contextPath,n.name),n={data:r}}return a(t,n)})},e.exports=t.default},function(e,t,n){(function(i){"use strict";var o=n(13).default,a=n(1).default;t.__esModule=!0;var r=n(5),s=a(n(6));t.default=function(e){e.registerHelper("each",function(e,t){if(!t)throw new s.default("Must pass iterator to #each");var n,a=t.fn,l=t.inverse,c=0,u="",h=void 0,d=void 0;function p(t,n,i){h&&(h.key=t,h.index=n,h.first=0===n,h.last=!!i,d&&(h.contextPath=d+t)),u+=a(e[t],{data:h,blockParams:r.blockParams([e[t],t],[d+t,null])})}if(t.data&&t.ids&&(d=r.appendContextPath(t.data.contextPath,t.ids[0])+"."),r.isFunction(e)&&(e=e.call(this)),t.data&&(h=r.createFrame(t.data)),e&&"object"==typeof e)if(r.isArray(e))for(var f=e.length;c<f;c++)c in e&&p(c,c,c===e.length-1);else if(i.Symbol&&e[i.Symbol.iterator]){for(var m=[],g=e[i.Symbol.iterator](),_=g.next();!_.done;_=g.next())m.push(_.value);for(f=(e=m).length;c<f;c++)p(c,c,c===e.length-1)}else n=void 0,o(e).forEach(function(e){void 0!==n&&p(n,c-1),n=e,c++}),void 0!==n&&p(n,c-1,!0);return 0===c&&(u=l(this)),u})},e.exports=t.default}).call(t,function(){return this}())},function(e,t,n){e.exports={default:n(14),__esModule:!0}},function(e,t,n){n(15),e.exports=n(21).Object.keys},function(e,t,n){var i=n(16);n(18)("keys",function(e){return function(t){return e(i(t))}})},function(e,t,n){var i=n(17);e.exports=function(e){return Object(i(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(19),o=n(21),a=n(24);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],r={};r[e]=t(n),i(i.S+i.F*a(function(){n(1)}),"Object",r)}},function(e,t,n){var i=n(20),o=n(21),a=n(22),r=function(e,t,n){var s,l,c,u=e&r.F,h=e&r.G,d=e&r.S,p=e&r.P,f=e&r.B,m=e&r.W,g=h?o:o[t]||(o[t]={}),_=h?i:d?i[t]:(i[t]||{}).prototype;for(s in h&&(n=t),n)(l=!u&&_&&s in _)&&s in g||(c=l?_[s]:n[s],g[s]=h&&"function"!=typeof _[s]?n[s]:f&&l?a(c,i):m&&_[s]==c?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t.prototype=e.prototype,t}(c):p&&"function"==typeof c?a(Function.call,c):c,p&&((g.prototype||(g.prototype={}))[s]=c))};r.F=1,r.G=2,r.S=4,r.P=8,r.B=16,r.W=32,e.exports=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(23);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=i(n(6));t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=n(5),a=i(n(6));t.default=function(e){e.registerHelper("if",function(e,t){if(2!=arguments.length)throw new a.default("#if requires exactly one argument");return o.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||o.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){if(2!=arguments.length)throw new a.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],n=arguments[arguments.length-1],i=0;i<arguments.length-1;i++)t.push(arguments[i]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),t[0]=o,e.log.apply(e,t)})},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0;var n=/^(constructor|__defineGetter__|__defineSetter__|__lookupGetter__|__proto__)$/;t.dangerousPropertyRegex=n,t.default=function(e){e.registerHelper("lookup",function(e,t){return e?!n.test(String(t))||Object.prototype.propertyIsEnumerable.call(e,t)?e[t]:void 0:e})}},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=n(5),a=i(n(6));t.default=function(e){e.registerHelper("with",function(e,t){if(2!=arguments.length)throw new a.default("#with requires exactly one argument");o.isFunction(e)&&(e=e.call(this));var n=t.fn;if(o.isEmpty(e))return t.inverse(this);var i=t.data;return t.data&&t.ids&&((i=o.createFrame(t.data)).contextPath=o.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:o.blockParams([e],[i&&i.contextPath])})})},e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0,t.registerDefaultDecorators=function(e){o.default(e)};var o=i(n(31))},function(e,t,n){"use strict";t.__esModule=!0;var i=n(5);t.default=function(e){e.registerDecorator("inline",function(e,t,n,o){var a=e;return t.partials||(t.partials={},a=function(o,a){var r=n.partials;n.partials=i.extend({},r,t.partials);var s=e(o,a);return n.partials=r,s}),t.partials[o.args[0]]=o.fn,a})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var i=n(5),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=i.indexOf(o.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){var t=o.methodMap[e];console[t]||(t="log");for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];console[t].apply(console,i)}}};t.default=o,e.exports=t.default},function(e,t){"use strict";function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},function(e,t,n){"use strict";var i=n(35).default,o=n(3).default,a=n(1).default;t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=l.COMPILER_REVISION;if(t>=l.LAST_COMPATIBLE_COMPILER_REVISION&&t<=l.COMPILER_REVISION)return;if(t<l.LAST_COMPATIBLE_COMPILER_REVISION){var i=l.REVISION_CHANGES[n],o=l.REVISION_CHANGES[t];throw new s.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+i+") or downgrade your runtime to an older version ("+o+").")}throw new s.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")},t.template=function(e,t){if(!t)throw new s.default("No environment passed to template");if(!e||!e.main)throw new s.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&7===e.compiler[0];var o={strict:function(e,t,n){if(!(e&&t in e))throw new s.default('"'+t+'" not defined in '+e,{loc:n});return e[t]},lookup:function(e,t){for(var n=e.length,i=0;i<n;i++)if(e[i]&&null!=e[i][t])return e[i][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:r.escapeExpression,invokePartial:function(n,i,o){o.hash&&(i=r.extend({},i,o.hash),o.ids&&(o.ids[0]=!0));n=t.VM.resolvePartial.call(this,n,i,o);var a=r.extend({},o,{hooks:this.hooks}),l=t.VM.invokePartial.call(this,n,i,a);null==l&&t.compile&&(o.partials[o.name]=t.compile(n,e.compilerOptions,t),l=o.partials[o.name](i,a));if(null!=l){if(o.indent){for(var c=l.split("\n"),u=0,h=c.length;u<h&&(c[u]||u+1!==h);u++)c[u]=o.indent+c[u];l=c.join("\n")}return l}throw new s.default("The partial "+o.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,i,o){var a=this.programs[e],r=this.fn(e);return t||o||i||n?a=u(this,e,r,t,n,i,o):a||(a=this.programs[e]=u(this,e,r)),a},data:function(e,t){for(;e&&t--;)e=e._parent;return e},nullContext:i({}),noop:t.VM.noop,compilerInfo:e.compiler};function a(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=n.data;a._setup(n),!n.partial&&e.useData&&(i=function(e,t){t&&"root"in t||((t=t?l.createFrame(t):{}).root=e);return t}(t,i));var r=void 0,s=e.useBlockParams?[]:void 0;function c(t){return""+e.main(o,t,o.helpers,o.partials,i,s,r)}return e.useDepths&&(r=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(c=d(e.main,c,o,n.depths||[],i,s))(t,n)}return a.isTop=!0,a._setup=function(i){if(i.partial)o.helpers=i.helpers,o.partials=i.partials,o.decorators=i.decorators,o.hooks=i.hooks;else{o.helpers=r.extend({},t.helpers,i.helpers),e.usePartial&&(o.partials=r.extend({},t.partials,i.partials)),(e.usePartial||e.useDecorators)&&(o.decorators=r.extend({},t.decorators,i.decorators)),o.hooks={};var a=i.allowCallsToHelperMissing||n;c.moveHelperToHooks(o,"helperMissing",a),c.moveHelperToHooks(o,"blockHelperMissing",a)}},a._child=function(t,n,i,a){if(e.useBlockParams&&!i)throw new s.default("must pass block params");if(e.useDepths&&!a)throw new s.default("must pass parent depths");return u(o,t,e[t],n,0,i,a)},a},t.wrapProgram=u,t.resolvePartial=function(e,t,n){e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return e},t.invokePartial=function(e,t,n){var i=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var o=void 0;n.fn&&n.fn!==h&&function(){n.data=l.createFrame(n.data);var e=n.fn;o=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=l.createFrame(n.data),n.data["partial-block"]=i,e(t,n)},e.partials&&(n.partials=r.extend({},n.partials,e.partials))}();void 0===e&&o&&(e=o);if(void 0===e)throw new s.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=h;var r=o(n(5)),s=a(n(6)),l=n(4),c=n(10);function u(e,t,n,i,o,a,r){function s(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=r;return!r||t==r[0]||t===e.nullContext&&null===r[0]||(s=[t].concat(r)),n(e,t,e.helpers,e.partials,o.data||i,a&&[o.blockParams].concat(a),s)}return(s=d(n,s,e,r,i,a)).program=t,s.depth=r?r.length:0,s.blockParams=o||0,s}function h(){return""}function d(e,t,n,i,o,a){if(e.decorator){var s={};t=e.decorator(t,s,n,i&&i[0],o,a,i),r.extend(t,s)}return t}},function(e,t,n){e.exports={default:n(36),__esModule:!0}},function(e,t,n){n(37),e.exports=n(21).Object.seal},function(e,t,n){var i=n(38);n(18)("seal",function(e){return function(t){return e&&i(t)?e(t):t}})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){(function(n){"use strict";t.__esModule=!0,t.default=function(e){var t=void 0!==n?n:window,i=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=i),e}},e.exports=t.default}).call(t,function(){return this}())},function(e,t){"use strict";t.__esModule=!0;var n={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!n.helpers.scopedId(e)&&!e.depth}}};t.default=n,e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default,o=n(3).default;t.__esModule=!0,t.parseWithoutProcessing=u,t.parse=function(e,t){var n=u(e,t);return new r.default(t).accept(n)};var a=i(n(42)),r=i(n(43)),s=o(n(45)),l=n(5);t.parser=a.default;var c={};function u(e,t){return"Program"===e.type?e:(a.default.yy=c,c.locInfo=function(e){return new c.SourceLocation(t&&t.srcName,e)},a.default.parse(e))}l.extend(c,s)},function(e,t){"use strict";t.__esModule=!0;var n=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(e,t,n,i,o,a,r){var s=a.length-1;switch(o){case 1:return a[s-1];case 2:this.$=i.prepareProgram(a[s]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=a[s];break;case 9:this.$={type:"CommentStatement",value:i.stripComment(a[s]),strip:i.stripFlags(a[s],a[s]),loc:i.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:a[s],value:a[s],loc:i.locInfo(this._$)};break;case 11:this.$=i.prepareRawBlock(a[s-2],a[s-1],a[s],this._$);break;case 12:this.$={path:a[s-3],params:a[s-2],hash:a[s-1]};break;case 13:this.$=i.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!1,this._$);break;case 14:this.$=i.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!0,this._$);break;case 15:this.$={open:a[s-5],path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:i.stripFlags(a[s-5],a[s])};break;case 16:case 17:this.$={path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:i.stripFlags(a[s-5],a[s])};break;case 18:this.$={strip:i.stripFlags(a[s-1],a[s-1]),program:a[s]};break;case 19:var l=i.prepareBlock(a[s-2],a[s-1],a[s],a[s],!1,this._$),c=i.prepareProgram([l],a[s-1].loc);c.chained=!0,this.$={strip:a[s-2].strip,program:c,chain:!0};break;case 20:this.$=a[s];break;case 21:this.$={path:a[s-1],strip:i.stripFlags(a[s-2],a[s])};break;case 22:case 23:this.$=i.prepareMustache(a[s-3],a[s-2],a[s-1],a[s-4],i.stripFlags(a[s-4],a[s]),this._$);break;case 24:this.$={type:"PartialStatement",name:a[s-3],params:a[s-2],hash:a[s-1],indent:"",strip:i.stripFlags(a[s-4],a[s]),loc:i.locInfo(this._$)};break;case 25:this.$=i.preparePartialBlock(a[s-2],a[s-1],a[s],this._$);break;case 26:this.$={path:a[s-3],params:a[s-2],hash:a[s-1],strip:i.stripFlags(a[s-4],a[s])};break;case 27:case 28:this.$=a[s];break;case 29:this.$={type:"SubExpression",path:a[s-3],params:a[s-2],hash:a[s-1],loc:i.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:a[s],loc:i.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:i.id(a[s-2]),value:a[s],loc:i.locInfo(this._$)};break;case 32:this.$=i.id(a[s-1]);break;case 33:case 34:this.$=a[s];break;case 35:this.$={type:"StringLiteral",value:a[s],original:a[s],loc:i.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(a[s]),original:Number(a[s]),loc:i.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===a[s],original:"true"===a[s],loc:i.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:i.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:i.locInfo(this._$)};break;case 40:case 41:this.$=a[s];break;case 42:this.$=i.preparePath(!0,a[s],this._$);break;case 43:this.$=i.preparePath(!1,a[s],this._$);break;case 44:a[s-2].push({part:i.id(a[s]),original:a[s],separator:a[s-1]}),this.$=a[s-2];break;case 45:this.$=[{part:i.id(a[s]),original:a[s]}];break;case 46:this.$=[];break;case 47:a[s-1].push(a[s]);break;case 48:this.$=[];break;case 49:a[s-1].push(a[s]);break;case 50:this.$=[];break;case 51:a[s-1].push(a[s]);break;case 58:this.$=[];break;case 59:a[s-1].push(a[s]);break;case 64:this.$=[];break;case 65:a[s-1].push(a[s]);break;case 70:this.$=[];break;case 71:a[s-1].push(a[s]);break;case 78:this.$=[];break;case 79:a[s-1].push(a[s]);break;case 82:this.$=[];break;case 83:a[s-1].push(a[s]);break;case 86:this.$=[];break;case 87:a[s-1].push(a[s]);break;case 90:this.$=[];break;case 91:a[s-1].push(a[s]);break;case 94:this.$=[];break;case 95:a[s-1].push(a[s]);break;case 98:this.$=[a[s]];break;case 99:a[s-1].push(a[s]);break;case 100:this.$=[a[s]];break;case 101:a[s-1].push(a[s])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],i=[null],o=[],a=this.table,r="",s=0,l=0,c=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;o.push(u);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,p,f,m,g,_,y,v,b,w,A={};;){if(f=n[n.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null==d&&(w=void 0,"number"!=typeof(w=t.lexer.lex()||1)&&(w=t.symbols_[w]||w),d=w),m=a[f]&&a[f][d]),void 0===m||!m.length||!m[0]){var x="";if(!c){for(_ in b=[],a[f])this.terminals_[_]&&_>2&&b.push("'"+this.terminals_[_]+"'");x=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[d]||d)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:u,expected:b})}}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+d);switch(m[0]){case 1:n.push(d),i.push(this.lexer.yytext),o.push(this.lexer.yylloc),n.push(m[1]),d=null,p?(d=p,p=null):(l=this.lexer.yyleng,r=this.lexer.yytext,s=this.lexer.yylineno,u=this.lexer.yylloc,c>0&&c--);break;case 2:if(y=this.productions_[m[1]][1],A.$=i[i.length-y],A._$={first_line:o[o.length-(y||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(y||1)].first_column,last_column:o[o.length-1].last_column},h&&(A._$.range=[o[o.length-(y||1)].range[0],o[o.length-1].range[1]]),void 0!==(g=this.performAction.call(A,r,l,s,this.yy,m[1],i,o)))return g;y&&(n=n.slice(0,-1*y*2),i=i.slice(0,-1*y),o=o.slice(0,-1*y)),n.push(this.productions_[m[1]][0]),i.push(A.$),o.push(A._$),v=a[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t,n,i,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),r=0;r<a.length&&(!(n=this._input.match(this.rules[a[r]]))||t&&!(n[0].length>t[0].length)||(t=n,i=r,this.options.flex));r++);return t?((o=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,a[i],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},options:{},performAction:function(e,t,n,i){function o(e,n){return t.yytext=t.yytext.substring(e,t.yyleng-n+e)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(o(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return e}();function n(){this.yy={}}return e.lexer=t,n.prototype=e,e.Parser=n,new n}();t.default=n,e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=i(n(44));function a(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function r(e,t,n){void 0===t&&(t=e.length);var i=e[t-1],o=e[t-2];return i?"ContentStatement"===i.type?(o||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(i.original):void 0:n}function s(e,t,n){void 0===t&&(t=-1);var i=e[t+1],o=e[t+2];return i?"ContentStatement"===i.type?(o||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(i.original):void 0:n}function l(e,t,n){var i=e[null==t?0:t+1];if(i&&"ContentStatement"===i.type&&(n||!i.rightStripped)){var o=i.value;i.value=i.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),i.rightStripped=i.value!==o}}function c(e,t,n){var i=e[null==t?e.length-1:t-1];if(i&&"ContentStatement"===i.type&&(n||!i.leftStripped)){var o=i.value;return i.value=i.value.replace(n?/\s+$/:/[ \t]+$/,""),i.leftStripped=i.value!==o,i.leftStripped}}a.prototype=new o.default,a.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var i=e.body,o=0,a=i.length;o<a;o++){var u=i[o],h=this.accept(u);if(h){var d=r(i,o,n),p=s(i,o,n),f=h.openStandalone&&d,m=h.closeStandalone&&p,g=h.inlineStandalone&&d&&p;h.close&&l(i,o,!0),h.open&&c(i,o,!0),t&&g&&(l(i,o),c(i,o)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(i[o-1].original)[1])),t&&f&&(l((u.program||u.inverse).body),c(i,o)),t&&m&&(l(i,o),c((u.inverse||u.program).body))}}return e},a.prototype.BlockStatement=a.prototype.DecoratorBlock=a.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,i=n,o=n;if(n&&n.chained)for(i=n.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var a={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:s(t.body),closeStandalone:r((i||t).body)};if(e.openStrip.close&&l(t.body,null,!0),n){var u=e.inverseStrip;u.open&&c(t.body,null,!0),u.close&&l(i.body,null,!0),e.closeStrip.open&&c(o.body,null,!0),!this.options.ignoreStandalone&&r(t.body)&&s(i.body)&&(c(t.body),l(i.body))}else e.closeStrip.open&&c(t.body,null,!0);return a},a.prototype.Decorator=a.prototype.MustacheStatement=function(e){return e.strip},a.prototype.PartialStatement=a.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t.default=a,e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0;var o=i(n(6));function a(){this.parents=[]}function r(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function s(e){r.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function l(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}a.prototype={constructor:a,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&!a.prototype[n.type])throw new o.default('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type);e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new o.default(e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;t<n;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},accept:function(e){if(e){if(!this[e.type])throw new o.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:!1!==t?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:r,Decorator:r,BlockStatement:s,DecoratorBlock:s,PartialStatement:l,PartialBlockStatement:function(e){l.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:r,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t.default=a,e.exports=t.default},function(e,t,n){"use strict";var i=n(1).default;t.__esModule=!0,t.SourceLocation=function(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}},t.id=function(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e},t.stripFlags=function(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}},t.stripComment=function(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},t.preparePath=function(e,t,n){n=this.locInfo(n);for(var i=e?"@":"",a=[],r=0,s=0,l=t.length;s<l;s++){var c=t[s].part,u=t[s].original!==c;if(i+=(t[s].separator||"")+c,u||".."!==c&&"."!==c&&"this"!==c)a.push(c);else{if(a.length>0)throw new o.default("Invalid path: "+i,{loc:n});".."===c&&r++}}return{type:"PathExpression",data:e,depth:r,parts:a,original:i,loc:n}},t.prepareMustache=function(e,t,n,i,o,a){var r=i.charAt(3)||i.charAt(2),s="{"!==r&&"&"!==r;return{type:/\*/.test(i)?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:s,strip:o,loc:this.locInfo(a)}},t.prepareRawBlock=function(e,t,n,i){a(e,n),i=this.locInfo(i);var o={type:"Program",body:t,strip:{},loc:i};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:i}},t.prepareBlock=function(e,t,n,i,r,s){i&&i.path&&a(e,i);var l=/\*/.test(e.open);t.blockParams=e.blockParams;var c=void 0,u=void 0;if(n){if(l)throw new o.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=i.strip),u=n.strip,c=n.program}r&&(r=c,c=t,t=r);return{type:l?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:c,openStrip:e.strip,inverseStrip:u,closeStrip:i&&i.strip,loc:this.locInfo(s)}},t.prepareProgram=function(e,t){if(!t&&e.length){var n=e[0].loc,i=e[e.length-1].loc;n&&i&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:i.end.line,column:i.end.column}})}return{type:"Program",body:e,strip:{},loc:t}},t.preparePartialBlock=function(e,t,n,i){return a(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(i)}};var o=i(n(6));function a(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var n={loc:e.path.loc};throw new o.default(e.path.original+" doesn't match "+t,n)}}},function(e,t,n){"use strict";var i=n(47).default,o=n(1).default;t.__esModule=!0,t.Compiler=c,t.precompile=function(e,t,n){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new a.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);"data"in(t=t||{})||(t.data=!0);t.compat&&(t.useDepths=!0);var i=n.parse(e,t),o=(new n.Compiler).compile(i,t);return(new n.JavaScriptCompiler).compile(o,t)},t.compile=function(e,t,n){void 0===t&&(t={});if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new a.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in(t=r.extend({},t))||(t.data=!0);t.compat&&(t.useDepths=!0);var i=void 0;function o(){var i=n.parse(e,t),o=(new n.Compiler).compile(i,t),a=(new n.JavaScriptCompiler).compile(o,t,void 0,!0);return n.template(a)}function s(e,t){return i||(i=o()),i.call(this,e,t)}return s._setup=function(e){return i||(i=o()),i._setup(e)},s._child=function(e,t,n,a){return i||(i=o()),i._child(e,t,n,a)},s};var a=o(n(6)),r=n(5),s=o(n(40)),l=[].slice;function c(){}function u(e,t){if(e===t)return!0;if(r.isArray(e)&&r.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!u(e[n],t[n]))return!1;return!0}}function h(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}c.prototype={compiler:c,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;n<t;n++){var i=this.opcodes[n],o=e.opcodes[n];if(i.opcode!==o.opcode||!u(i.args,o.args))return!1}t=this.children.length;for(n=0;n<t;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,t){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[],t.knownHelpers=r.extend(i(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},t.knownHelpers),this.accept(e)},compileProgram:function(e){var t=(new this.compiler).compile(e,this.options),n=this.guid++;return this.usePartial=this.usePartial||t.usePartial,this.children[n]=t,this.useDepths=this.useDepths||t.useDepths,n},accept:function(e){if(!this[e.type])throw new a.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var t=this[e.type](e);return this.sourceNode.shift(),t},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,n=t.length,i=0;i<n;i++)this.accept(t[i]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){h(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var i=this.classifySexpr(e);"helper"===i?this.helperSexpr(e,t,n):"simple"===i?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var t=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,t,void 0),i=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,i.original)},PartialStatement:function(e){this.usePartial=!0;var t=e.program;t&&(t=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new a.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=e.name.original,o="SubExpression"===e.name.type;o&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var r=e.indent||"";this.options.preventIndent&&r&&(this.opcode("appendContent",r),r=""),this.opcode("invokePartial",o,i,r),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){h(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var i=e.path,o=i.parts[0],a=null!=t||null!=n;this.opcode("getContext",i.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",o,a)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var i=this.setupFullMustacheParams(e,t,n),o=e.path,r=o.parts[0];if(this.options.knownHelpers[r])this.opcode("invokeKnownHelper",i.length,r);else{if(this.options.knownHelpersOnly)throw new a.default("You specified knownHelpersOnly, but used the unknown helper "+r,e);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",i.length,o.original,s.default.helpers.simpleId(o))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=s.default.helpers.scopedId(e),i=!e.depth&&!n&&this.blockParamIndex(t);i?this.opcode("lookupBlockParam",i,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,n=0,i=t.length;for(this.opcode("pushHash");n<i;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:l.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=s.default.helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),i=!n&&s.default.helpers.helperExpression(e),o=!n&&(i||t);if(o&&!i){var a=e.path.parts[0],r=this.options;r.knownHelpers[a]?i=!0:r.knownHelpersOnly&&(o=!1)}return i?"helper":o?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;t<n;t++)this.pushParam(e[t])},pushParam:function(e){var t=null!=e.value?e.value:e.original||"";if(this.stringParams)t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",t,e.type),"SubExpression"===e.type&&this.accept(e);else{if(this.trackIds){var n=void 0;if(!e.parts||s.default.helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var i=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,i)}else(t=e.original||t).replace&&(t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,t)}this.accept(e)}},setupFullMustacheParams:function(e,t,n,i){var o=e.params;return this.pushParams(o),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",i),o},blockParamIndex:function(e){for(var t=0,n=this.options.blockParams.length;t<n;t++){var i=this.options.blockParams[t],o=i&&r.indexOf(i,e);if(i&&o>=0)return[t,o]}}}},function(e,t,n){e.exports={default:n(48),__esModule:!0}},function(e,t,n){var i=n(9);e.exports=function(e,t){return i.create(e,t)}},function(e,t,n){"use strict";var i=n(13).default,o=n(1).default;t.__esModule=!0;var a=n(4),r=o(n(6)),s=n(5),l=o(n(50)),c=n(28);function u(e){this.value=e}function h(){}h.prototype={nameLookup:function(e,t){return c.dangerousPropertyRegex.test(t)?["(",[this.aliasable("container.propertyIsEnumerable"),".call(",e,",",JSON.stringify(t),")"],"?",n()," : undefined)"]:n();function n(){return h.isValidJavaScriptVariableName(t)?[e,".",t]:[e,"[",JSON.stringify(t),"]"]}},depthedLookup:function(e){return[this.aliasable("container.lookup"),'(depths, "',e,'")']},compilerInfo:function(){var e=a.COMPILER_REVISION;return[e,a.REVISION_CHANGES[e]]},appendToBuffer:function(e,t,n){return s.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},compile:function(e,t,n,i){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var o=e.opcodes,a=void 0,s=void 0,l=void 0,c=void 0;for(l=0,c=o.length;l<c;l++)a=o[l],this.source.currentLocation=a.loc,s=s||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new r.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend("var decorators = container.decorators;\n"),this.decorators.push("return fn;"),i?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(i);if(this.isChild)return u;var h={compiler:this.compilerInfo(),main:u};this.decorators&&(h.main_d=this.decorators,h.useDecorators=!0);var d=this.context,p=d.programs,f=d.decorators;for(l=0,c=p.length;l<c;l++)p[l]&&(h[l]=p[l],f[l]&&(h[l+"_d"]=f[l],h.useDecorators=!0));return this.environment.usePartial&&(h.usePartial=!0),this.options.data&&(h.useData=!0),this.useDepths&&(h.useDepths=!0),this.useBlockParams&&(h.useBlockParams=!0),this.options.compat&&(h.compat=!0),i?h.compilerOptions=this.options:(h.compiler=JSON.stringify(h.compiler),this.source.currentLocation={start:{line:1,column:0}},h=this.objectLiteral(h),t.srcName?(h=h.toStringWithSourceMap({file:t.destName})).map=h.map&&h.map.toString():h=h.toString()),h},preamble:function(){this.lastContext=0,this.source=new l.default(this.options.srcName),this.decorators=new l.default(this.options.srcName)},createFunctionContext:function(e){var t=this,n="",o=this.stackVars.concat(this.registers.list);o.length>0&&(n+=", "+o.join(", "));var a=0;i(this.aliases).forEach(function(e){var i=t.aliases[e];i.children&&i.referenceCount>1&&(n+=", alias"+ ++a+"="+e,i.children[0]="alias"+a)});var r=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&r.push("blockParams"),this.useDepths&&r.push("depths");var s=this.mergeSource(n);return e?(r.push(s),Function.apply(this,r)):this.source.wrap(["function(",r.join(","),") {\n ",s,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,i=void 0,o=void 0,a=void 0,r=void 0;return this.source.each(function(e){e.appendToBuffer?(a?e.prepend(" + "):a=e,r=e):(a&&(o?a.prepend("buffer += "):i=!0,r.add(";"),a=r=void 0),o=!0,t||(n=!1))}),n?a?(a.prepend("return "),r.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(i?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),r.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(i?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,i){var o=0;i||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[o++])),this.resolvePath("context",e,o,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,n)},resolvePath:function(e,t,n,i,o){var a=this;if(this.options.strict||this.options.assumeObjects)this.push(function(e,t,n,i){var o=t.popStack(),a=0,r=n.length;e&&r--;for(;a<r;a++)o=t.nameLookup(o,n[a],i);return e?[t.aliasable("container.strict"),"(",o,", ",t.quotedString(n[a]),", ",JSON.stringify(t.source.currentLocation)," )"]:o}(this.options.strict&&o,this,t,e));else for(var r=t.length;n<r;n++)this.replaceStack(function(o){var r=a.nameLookup(o,t[n],e);return i?[" && ",r]:[" != null ? ",r," : ",o]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,t){var n=this.nameLookup("decorators",t,"decorator"),i=this.setupHelperArgs(t,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",i])," || fn;"])},invokeHelper:function(e,t,n){var i=this.popStack(),o=this.setupHelper(e,t),a=[];n&&a.push(o.name),a.push(i),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var r=["(",this.itemsSeparatedBy(a,"||"),")"],s=this.source.functionCall(r,"call",o.callParams);this.push(s)},itemsSeparatedBy:function(e,t){var n=[];n.push(e[0]);for(var i=1;i<e.length;i++)n.push(t,e[i]);return n},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var i=this.setupHelper(0,e,t),o=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",e,"helper")," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(e,t,n){var i=[],o=this.setupParams(t,1,i);e&&(t=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?i.unshift(t):i.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),i.push(o),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(e){var t=this.popStack(),n=void 0,i=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),i&&(a.types[e]=i),o&&(a.ids[e]=o),a.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:h,compileChildren:function(e,t){for(var n=e.children,i=void 0,o=void 0,a=0,r=n.length;a<r;a++){i=n[a],o=new this.compiler;var s=this.matchExistingProgram(i);if(null==s){this.context.programs.push("");var l=this.context.programs.length;i.index=l,i.name="program"+l,this.context.programs[l]=o.compile(i,t,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=i,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,i.useDepths=this.useDepths,i.useBlockParams=this.useBlockParams}else i.index=s.index,i.name="program"+s.index,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.useBlockParams}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var i=this.context.environments[t];if(i&&i.equals(e))return i}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof u||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new u(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],n=void 0,i=void 0,o=void 0;if(!this.isInline())throw new r.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof u)t=["(",n=[a.value]],o=!0;else{i=!0;var s=this.incrStack();t=["((",this.push(s)," = ",a,")"],n=this.topStack()}var l=e.call(this,n);o||this.popStack(),i&&this.stackSlot--,this.push(t.concat(l,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var i=e[t];if(i instanceof u)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof u)return n.value;if(!t){if(!this.stackSlot)throw new r.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof u?t.value:t},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):((t=this.aliases[e]=this.source.wrap(e)).aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,n){var i=[];return{params:i,paramsInit:this.setupHelperArgs(t,e,i,n),name:this.nameLookup("helpers",t,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(i)}},setupParams:function(e,t,n){var i={},o=[],a=[],r=[],s=!n,l=void 0;s&&(n=[]),i.name=this.quotedString(e),i.hash=this.popStack(),this.trackIds&&(i.hashIds=this.popStack()),this.stringParams&&(i.hashTypes=this.popStack(),i.hashContexts=this.popStack());var c=this.popStack(),u=this.popStack();(u||c)&&(i.fn=u||"container.noop",i.inverse=c||"container.noop");for(var h=t;h--;)l=this.popStack(),n[h]=l,this.trackIds&&(r[h]=this.popStack()),this.stringParams&&(a[h]=this.popStack(),o[h]=this.popStack());return s&&(i.args=this.source.generateArray(n)),this.trackIds&&(i.ids=this.source.generateArray(r)),this.stringParams&&(i.types=this.source.generateArray(a),i.contexts=this.source.generateArray(o)),this.options.data&&(i.data="data"),this.useBlockParams&&(i.blockParams="blockParams"),i},setupHelperArgs:function(e,t,n,i){var o=this.setupParams(e,t,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),i?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}},function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=h.RESERVED_WORDS={},n=0,i=e.length;n<i;n++)t[e[n]]=!0}(),h.isValidJavaScriptVariableName=function(e){return!h.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t.default=h,e.exports=t.default},function(e,t,n){"use strict";var i=n(13).default;t.__esModule=!0;var o=n(5),a=void 0;try{}catch(e){}function r(e,t,n){if(o.isArray(e)){for(var i=[],a=0,r=e.length;a<r;a++)i.push(t.wrap(e[a],n));return i}return"boolean"==typeof e||"number"==typeof e?e+"":e}function s(e){this.srcFile=e,this.source=[]}a||((a=function(e,t,n,i){this.src="",i&&this.add(i)}).prototype={add:function(e){o.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){o.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),s.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var e=this.empty();return this.each(function(t){e.add([" ",t,"\n"])}),e},each:function(e){for(var t=0,n=this.source.length;t<n;t++)e(this.source[t])},empty:function(){var e=this.currentLocation||{start:{}};return new a(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof a?e:(e=r(e,this,t),new a(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t=this,n=[];i(e).forEach(function(i){var o=r(e[i],t);"undefined"!==o&&n.push([t.quotedString(i),":",o])});var o=this.generateList(n);return o.prepend("{"),o.add("}"),o},generateList:function(e){for(var t=this.empty(),n=0,i=e.length;n<i;n++)n&&t.add(","),t.add(r(e[n],this));return t},generateArray:function(e){var t=this.generateList(e);return t.prepend("["),t.add("]"),t}},t.default=s,e.exports=t.default}])}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function r(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,i){return Pt(e,t,n,i,!0).utc()}function d(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var n=d(e),i=t.call(n.parsedDateParts,function(e){return null!=e}),o=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&i);if(e._strict&&(o=o&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function f(e){var t=h(NaN);return null!=e?u(d(t),e):d(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var m=n.momentProperties=[];function g(e,t){var n,i,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=d(t)),a(t._locale)||(e._locale=t._locale),m.length>0)for(n=0;n<m.length;n++)a(o=t[i=m[n]])||(e[i]=o);return e}var _=!1;function y(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,n.updateOffset(this),_=!1)}function v(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function A(e,t,n){var i,o=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),r=0;for(i=0;i<o;i++)(n&&e[i]!==t[i]||!n&&w(e[i])!==w(t[i]))&&r++;return r+a}function x(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var i=!0;return u(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),i){for(var o,a=[],r=0;r<arguments.length;r++){if(o="","object"==typeof arguments[r]){for(var s in o+="\n["+r+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[r];a.push(o)}x(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),i=!1}return t.apply(this,arguments)},t)}var S,C={};function P(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),C[e]||(x(t),C[e]=!0)}function M(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,i=u({},e);for(n in t)c(t,n)&&(o(e[n])&&o(t[n])?(i[n]={},u(i[n],e[n]),u(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)c(e,n)&&!c(t,n)&&o(e[n])&&(i[n]=u({},i[n]));return i}function L(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var E={};function O(e,t){var n=e.toLowerCase();E[n]=E[n+"s"]=E[t]=e}function D(e){return"string"==typeof e?E[e]||E[e.toLowerCase()]:void 0}function z(e){var t,n,i={};for(n in e)c(e,n)&&(t=D(n))&&(i[t]=e[n]);return i}var I={};function N(e,t){I[e]=t}function B(e,t,n){var i=""+Math.abs(e),o=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},F={};function W(e,t,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),e&&(F[e]=o),t&&(F[t[0]]=function(){return B(o.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function q(e,t){return e.isValid()?(t=$(t,e.localeData()),H[t]=H[t]||function(e){var t,n,i,o=e.match(j);for(t=0,n=o.length;t<n;t++)F[o[t]]?o[t]=F[o[t]]:o[t]=(i=o[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,a="";for(i=0;i<n;i++)a+=M(o[i])?o[i].call(t,e):o[i];return a}}(t),H[t](e)):e.localeData().invalidDate()}function $(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,i),R.lastIndex=0,n-=1;return e}var Z=/\d/,V=/\d\d/,U=/\d{3}/,G=/\d{4}/,Y=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,X=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,ie=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,re=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,se={};function le(e,t,n){se[e]=M(t)?t:function(e,i){return e&&n?n:t}}function ce(e,t){return c(se,e)?se[e](t._strict,t._locale):new RegExp(ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,o){return t||n||i||o})))}function ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function de(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),r(t)&&(i=function(e,n){n[t]=w(e)}),n=0;n<e.length;n++)he[e[n]]=i}function pe(e,t){de(e,function(e,n,i,o){i._w=i._w||{},t(e,i._w,i,o)})}function fe(e,t,n){null!=t&&c(he,e)&&he[e](t,n._a,n,e)}var me=0,ge=1,_e=2,ye=3,ve=4,be=5,we=6,Ae=7,xe=8;function ke(e){return Se(e)?366:365}function Se(e){return e%4==0&&e%100!=0||e%400==0}W("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),O("year","y"),N("year",1),le("Y",ie),le("YY",K,V),le("YYYY",ee,G),le("YYYYY",te,Y),le("YYYYYY",te,Y),de(["YYYYY","YYYYYY"],me),de("YYYY",function(e,t){t[me]=2===e.length?n.parseTwoDigitYear(e):w(e)}),de("YY",function(e,t){t[me]=n.parseTwoDigitYear(e)}),de("Y",function(e,t){t[me]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var Ce,Pe=Me("FullYear",!0);function Me(e,t){return function(i){return null!=i?(Le(this,e,i),n.updateOffset(this,t),this):Te(this,e)}}function Te(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Le(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Se(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ee(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ee(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?Se(e)?29:28:31-i%7%2}Ce=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),O("month","M"),N("month",8),le("M",K),le("MM",K,V),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),de(["M","MM"],function(e,t){t[ge]=w(e)-1}),de(["MMM","MMMM"],function(e,t,n,i){var o=n._locale.monthsParse(e,i,n._strict);null!=o?t[ge]=o:d(n).invalidMonth=e});var Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var ze="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ie(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!r(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ee(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ne(e){return null!=e?(Ie(this,e),n.updateOffset(this,!0),this):Te(this,"Month")}var Be=re;var je=re;function Re(){function e(e,t){return t.length-e.length}var t,n,i=[],o=[],a=[];for(t=0;t<12;t++)n=h([2e3,t]),i.push(this.monthsShort(n,"")),o.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(e),o.sort(e),a.sort(e),t=0;t<12;t++)i[t]=ue(i[t]),o[t]=ue(o[t]);for(t=0;t<24;t++)a[t]=ue(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function He(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Fe(e,t,n){var i=7+t-n;return-((7+He(e,0,i).getUTCDay()-t)%7)+i-1}function We(e,t,n,i,o){var a,r,s=1+7*(t-1)+(7+n-i)%7+Fe(e,i,o);return s<=0?r=ke(a=e-1)+s:s>ke(e)?(a=e+1,r=s-ke(e)):(a=e,r=s),{year:a,dayOfYear:r}}function qe(e,t,n){var i,o,a=Fe(e.year(),t,n),r=Math.floor((e.dayOfYear()-a-1)/7)+1;return r<1?i=r+$e(o=e.year()-1,t,n):r>$e(e.year(),t,n)?(i=r-$e(e.year(),t,n),o=e.year()+1):(o=e.year(),i=r),{week:i,year:o}}function $e(e,t,n){var i=Fe(e,t,n),o=Fe(e+1,t,n);return(ke(e)-i+o)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),N("week",5),N("isoWeek",5),le("w",K),le("ww",K,V),le("W",K),le("WW",K,V),pe(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=w(e)});W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),le("d",K),le("e",K),le("E",K),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),pe(["dd","ddd","dddd"],function(e,t,n,i){var o=n._locale.weekdaysParse(e,i,n._strict);null!=o?t.d=o:d(n).invalidWeekday=e}),pe(["d","e","E"],function(e,t,n,i){t[i]=w(e)});var Ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Ue="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Ge=re;var Ye=re;var Ke=re;function Qe(){function e(e,t){return t.length-e.length}var t,n,i,o,a,r=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),i=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),a=this.weekdays(n,""),r.push(i),s.push(o),l.push(a),c.push(i),c.push(o),c.push(a);for(r.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=ue(s[t]),l[t]=ue(l[t]),c[t]=ue(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Je(){return this.hours()%12||12}function Xe(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function et(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Je),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+Je.apply(this)+B(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Je.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Xe("a",!0),Xe("A",!1),O("hour","h"),N("hour",13),le("a",et),le("A",et),le("H",K),le("h",K),le("k",K),le("HH",K,V),le("hh",K,V),le("kk",K,V),le("hmm",Q),le("hmmss",J),le("Hmm",Q),le("Hmmss",J),de(["H","HH"],ye),de(["k","kk"],function(e,t,n){var i=w(e);t[ye]=24===i?0:i}),de(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),de(["h","hh"],function(e,t,n){t[ye]=w(e),d(n).bigHour=!0}),de("hmm",function(e,t,n){var i=e.length-2;t[ye]=w(e.substr(0,i)),t[ve]=w(e.substr(i)),d(n).bigHour=!0}),de("hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[ye]=w(e.substr(0,i)),t[ve]=w(e.substr(i,2)),t[be]=w(e.substr(o)),d(n).bigHour=!0}),de("Hmm",function(e,t,n){var i=e.length-2;t[ye]=w(e.substr(0,i)),t[ve]=w(e.substr(i))}),de("Hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[ye]=w(e.substr(0,i)),t[ve]=w(e.substr(i,2)),t[be]=w(e.substr(o))});var tt,nt=Me("Hours",!0),it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:De,monthsShort:ze,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:Ue,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},ot={},at={};function rt(e){return e?e.toLowerCase().replace("_","-"):e}function st(e){var t=null;if(!ot[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=tt._abbr,require("./locale/"+e),lt(t)}catch(e){}return ot[e]}function lt(e,t){var n;return e&&((n=a(t)?ut(e):ct(e,t))?tt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),tt._abbr}function ct(e,t){if(null!==t){var n,i=it;if(t.abbr=e,null!=ot[e])P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])i=ot[t.parentLocale]._config;else{if(null==(n=st(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ot[e]=new L(T(i,t)),at[e]&&at[e].forEach(function(e){ct(e.name,e.config)}),lt(e),ot[e]}return delete ot[e],null}function ut(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return tt;if(!i(e)){if(t=st(e))return t;e=[e]}return function(e){for(var t,n,i,o,a=0;a<e.length;){for(t=(o=rt(e[a]).split("-")).length,n=(n=rt(e[a+1]))?n.split("-"):null;t>0;){if(i=st(o.slice(0,t).join("-")))return i;if(n&&n.length>=t&&A(o,n,!0)>=t-1)break;t--}a++}return tt}(e)}function ht(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[ge]<0||n[ge]>11?ge:n[_e]<1||n[_e]>Ee(n[me],n[ge])?_e:n[ye]<0||n[ye]>24||24===n[ye]&&(0!==n[ve]||0!==n[be]||0!==n[we])?ye:n[ve]<0||n[ve]>59?ve:n[be]<0||n[be]>59?be:n[we]<0||n[we]>999?we:-1,d(e)._overflowDayOfYear&&(t<me||t>_e)&&(t=_e),d(e)._overflowWeeks&&-1===t&&(t=Ae),d(e)._overflowWeekday&&-1===t&&(t=xe),d(e).overflow=t),e}function dt(e,t,n){return null!=e?e:null!=t?t:n}function pt(e){var t,i,o,a,r,s=[];if(!e._d){for(o=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[_e]&&null==e._a[ge]&&function(e){var t,n,i,o,a,r,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)a=1,r=4,n=dt(t.GG,e._a[me],qe(Mt(),1,4).year),i=dt(t.W,1),((o=dt(t.E,1))<1||o>7)&&(l=!0);else{a=e._locale._week.dow,r=e._locale._week.doy;var c=qe(Mt(),a,r);n=dt(t.gg,e._a[me],c.year),i=dt(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+a,(t.e<0||t.e>6)&&(l=!0)):o=a}i<1||i>$e(n,a,r)?d(e)._overflowWeeks=!0:null!=l?d(e)._overflowWeekday=!0:(s=We(n,i,o,a,r),e._a[me]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(r=dt(e._a[me],o[me]),(e._dayOfYear>ke(r)||0===e._dayOfYear)&&(d(e)._overflowDayOfYear=!0),i=He(r,0,e._dayOfYear),e._a[ge]=i.getUTCMonth(),e._a[_e]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ye]&&0===e._a[ve]&&0===e._a[be]&&0===e._a[we]&&(e._nextDay=!0,e._a[ye]=0),e._d=(e._useUTC?He:function(e,t,n,i,o,a,r){var s=new Date(e,t,n,i,o,a,r);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ye]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(d(e).weekdayMismatch=!0)}}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((\-?\d+)/i;function bt(e){var t,n,i,o,a,r,s=e._i,l=ft.exec(s)||mt.exec(s);if(l){for(d(e).iso=!0,t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[1])){o=_t[t][0],i=!1!==_t[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[3])){a=(l[2]||" ")+yt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!gt.exec(l[4]))return void(e._isValid=!1);r="Z"}e._f=o+(a||"")+(r||""),St(e)}else e._isValid=!1}var wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function At(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var t,n,i,o,a,r,s,l=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var c=(t=l[4],n=l[3],i=l[2],o=l[5],a=l[6],r=l[7],s=[At(t),ze.indexOf(n),parseInt(i,10),parseInt(o,10),parseInt(a,10)],r&&s.push(parseInt(r,10)),s);if(!function(e,t,n){return!e||Ve.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(d(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],c,e))return;e._a=c,e._tzm=function(e,t,n){if(e)return xt[e];if(t)return 0;var i=parseInt(n,10),o=i%100;return(i-o)/100*60+o}(l[8],l[9],l[10]),e._d=He.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),d(e).rfc2822=!0}else e._isValid=!1}function St(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],d(e).empty=!0;var t,i,o,a,r,s=""+e._i,l=s.length,c=0;for(o=$(e._f,e._locale).match(j)||[],t=0;t<o.length;t++)a=o[t],(i=(s.match(ce(a,e))||[])[0])&&((r=s.substr(0,s.indexOf(i))).length>0&&d(e).unusedInput.push(r),s=s.slice(s.indexOf(i)+i.length),c+=i.length),F[a]?(i?d(e).empty=!1:d(e).unusedTokens.push(a),fe(a,i,e)):e._strict&&!i&&d(e).unusedTokens.push(a);d(e).charsLeftOver=l-c,s.length>0&&d(e).unusedInput.push(s),e._a[ye]<=12&&!0===d(e).bigHour&&e._a[ye]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[ye]=function(e,t,n){var i;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[ye],e._meridiem),pt(e),ht(e)}else kt(e);else bt(e)}function Ct(e){var t=e._i,c=e._f;return e._locale=e._locale||ut(e._l),null===t||void 0===c&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new y(ht(t)):(s(t)?e._d=t:i(c)?function(e){var t,n,i,o,a;if(0===e._f.length)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)a=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],St(t),p(t)&&(a+=d(t).charsLeftOver,a+=10*d(t).unusedTokens.length,d(t).score=a,(null==i||a<i)&&(i=a,n=t));u(e,n||t)}(e):c?St(e):function(e){var t=e._i;a(t)?e._d=new Date(n.now()):s(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=vt.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,kt(e),!1===e._isValid&&(delete e._isValid,n.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),pt(e)):o(t)?function(e){if(!e._d){var t=z(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),pt(e)}}(e):r(t)?e._d=new Date(t):n.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function Pt(e,t,n,a,r){var s,l={};return!0!==n&&!1!==n||(a=n,n=void 0),(o(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=r,l._l=n,l._i=e,l._f=t,l._strict=a,(s=new y(ht(Ct(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Mt(e,t,n,i){return Pt(e,t,n,i,!1)}n.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){},n.RFC_2822=function(){};var Tt=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()}),Lt=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()});function Et(e,t){var n,o;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Mt();for(n=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](n)||(n=t[o]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Dt(e){var t=z(e),n=t.year||0,i=t.quarter||0,o=t.month||0,a=t.week||0,r=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Ce.call(Ot,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<Ot.length;++i)if(e[Ot[i]]){if(n)return!1;parseFloat(e[Ot[i]])!==w(e[Ot[i]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+r+7*a,this._months=+o+3*i+12*n,this._data={},this._locale=ut(),this._bubble()}function zt(e){return e instanceof Dt}function It(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,t){W(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+B(~~(e/60),2)+t+B(~~e%60,2)})}Nt("Z",":"),Nt("ZZ",""),le("Z",ae),le("ZZ",ae),de(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=jt(ae,e)});var Bt=/([\+\-]|\d\d)/gi;function jt(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(Bt)||["-",0,0],o=60*i[1]+w(i[2]);return 0===o?0:"+"===i[0]?o:-o}function Rt(e,t){var i,o;return t._isUTC?(i=t.clone(),o=(v(e)||s(e)?e.valueOf():Mt(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+o),n.updateOffset(i,!1),i):Mt(e).local()}function Ht(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ft(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}n.updateOffset=function(){};var Wt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,qt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $t(e,t){var n,i,o,a=e,s=null;return zt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:r(e)?(a={},t?a[t]=e:a.milliseconds=e):(s=Wt.exec(e))?(n="-"===s[1]?-1:1,a={y:0,d:w(s[_e])*n,h:w(s[ye])*n,m:w(s[ve])*n,s:w(s[be])*n,ms:w(It(1e3*s[we]))*n}):(s=qt.exec(e))?(n="-"===s[1]?-1:(s[1],1),a={y:Zt(s[2],n),M:Zt(s[3],n),w:Zt(s[4],n),d:Zt(s[5],n),h:Zt(s[6],n),m:Zt(s[7],n),s:Zt(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Rt(t,e),e.isBefore(t)?n=Vt(e,t):((n=Vt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Mt(a.from),Mt(a.to)),(a={}).ms=o.milliseconds,a.M=o.months),i=new Dt(a),zt(e)&&c(e,"_locale")&&(i._locale=e._locale),i}function Zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Vt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ut(e,t){return function(n,i){var o;return null===i||isNaN(+i)||(P(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=i,i=o),Gt(this,$t(n="string"==typeof n?+n:n,i),e),this}}function Gt(e,t,i,o){var a=t._milliseconds,r=It(t._days),s=It(t._months);e.isValid()&&(o=null==o||o,s&&Ie(e,Te(e,"Month")+s*i),r&&Le(e,"Date",Te(e,"Date")+r*i),a&&e._d.setTime(e._d.valueOf()+a*i),o&&n.updateOffset(e,r||s))}$t.fn=Dt.prototype,$t.invalid=function(){return $t(NaN)};var Yt=Ut(1,"add"),Kt=Ut(-1,"subtract");function Qt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Jt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ut(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xt=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function en(){return this._locale}function tn(e,t){W(0,[e,e.length],0,t)}function nn(e,t,n,i,o){var a;return null==e?qe(this,i,o).year:(t>(a=$e(e,i,o))&&(t=a),function(e,t,n,i,o){var a=We(e,t,n,i,o),r=He(a.year,0,a.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,e,t,n,i,o))}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tn("gggg","weekYear"),tn("ggggg","weekYear"),tn("GGGG","isoWeekYear"),tn("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),le("G",ie),le("g",ie),le("GG",K,V),le("gg",K,V),le("GGGG",ee,G),le("gggg",ee,G),le("GGGGG",te,Y),le("ggggg",te,Y),pe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=w(e)}),pe(["gg","GG"],function(e,t,i,o){t[o]=n.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),O("quarter","Q"),N("quarter",7),le("Q",Z),de("Q",function(e,t){t[ge]=3*(w(e)-1)}),W("D",["DD",2],"Do","date"),O("date","D"),N("date",9),le("D",K),le("DD",K,V),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),de(["D","DD"],_e),de("Do",function(e,t){t[_e]=w(e.match(K)[0])});var on=Me("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),N("dayOfYear",4),le("DDD",X),le("DDDD",U),de(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),W("m",["mm",2],0,"minute"),O("minute","m"),N("minute",14),le("m",K),le("mm",K,V),de(["m","mm"],ve);var an=Me("Minutes",!1);W("s",["ss",2],0,"second"),O("second","s"),N("second",15),le("s",K),le("ss",K,V),de(["s","ss"],be);var rn,sn=Me("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),N("millisecond",16),le("S",X,Z),le("SS",X,V),le("SSS",X,U),rn="SSSS";rn.length<=9;rn+="S")le(rn,ne);function ln(e,t){t[we]=w(1e3*("0."+e))}for(rn="S";rn.length<=9;rn+="S")de(rn,ln);var cn=Me("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var un=y.prototype;function hn(e){return e}un.add=Yt,un.calendar=function(e,t){var i=e||Mt(),o=Rt(i,this).startOf("day"),a=n.calendarFormat(this,o)||"sameElse",r=t&&(M(t[a])?t[a].call(this,i):t[a]);return this.format(r||this.localeData().calendar(a,this,Mt(i)))},un.clone=function(){return new y(this)},un.diff=function(e,t,n){var i,o,a;if(!this.isValid())return NaN;if(!(i=Rt(e,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),t=D(t)){case"year":a=Qt(this,i)/12;break;case"month":a=Qt(this,i);break;case"quarter":a=Qt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-o)/864e5;break;case"week":a=(this-i-o)/6048e5;break;default:a=this-i}return n?a:b(a)},un.endOf=function(e){return void 0===(e=D(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},un.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=q(this,e);return this.localeData().postformat(t)},un.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||Mt(e).isValid())?$t({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.fromNow=function(e){return this.from(Mt(),e)},un.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||Mt(e).isValid())?$t({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.toNow=function(e){return this.to(Mt(),e)},un.get=function(e){return M(this[e=D(e)])?this[e]():this},un.invalidAt=function(){return d(this).overflow},un.isAfter=function(e,t){var n=v(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(a(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},un.isBefore=function(e,t){var n=v(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(a(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},un.isBetween=function(e,t,n,i){return("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},un.isSame=function(e,t){var n,i=v(e)?e:Mt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=D(t||"millisecond"))?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},un.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},un.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},un.isValid=function(){return p(this)},un.lang=Xt,un.locale=Jt,un.localeData=en,un.max=Lt,un.min=Tt,un.parsingFlags=function(){return u({},d(this))},un.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:I[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=z(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(M(this[e=D(e)]))return this[e](t);return this},un.startOf=function(e){switch(e=D(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},un.subtract=Kt,un.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},un.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},un.toDate=function(){return new Date(this.valueOf())},un.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?q(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",q(n,"Z")):q(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},un.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+o)},un.toJSON=function(){return this.isValid()?this.toISOString():null},un.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},un.unix=function(){return Math.floor(this.valueOf()/1e3)},un.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},un.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},un.year=Pe,un.isLeapYear=function(){return Se(this.year())},un.weekYear=function(e){return nn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},un.isoWeekYear=function(e){return nn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},un.quarter=un.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},un.month=Ne,un.daysInMonth=function(){return Ee(this.year(),this.month())},un.week=un.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},un.isoWeek=un.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},un.weeksInYear=function(){var e=this.localeData()._week;return $e(this.year(),e.dow,e.doy)},un.isoWeeksInYear=function(){return $e(this.year(),1,4)},un.date=on,un.day=un.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},un.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},un.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},un.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},un.hour=un.hours=nt,un.minute=un.minutes=an,un.second=un.seconds=sn,un.millisecond=un.milliseconds=cn,un.utcOffset=function(e,t,i){var o,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=jt(ae,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(o=Ht(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),a!==e&&(!t||this._changeInProgress?Gt(this,$t(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Ht(this)},un.utc=function(e){return this.utcOffset(0,e)},un.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},un.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=jt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},un.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Mt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},un.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},un.isLocal=function(){return!!this.isValid()&&!this._isUTC},un.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},un.isUtc=Ft,un.isUTC=Ft,un.zoneAbbr=function(){return this._isUTC?"UTC":""},un.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},un.dates=k("dates accessor is deprecated. Use date instead.",on),un.months=k("months accessor is deprecated. Use month instead",Ne),un.years=k("years accessor is deprecated. Use year instead",Pe),un.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),un.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=Ct(e))._a){var t=e._isUTC?h(e._a):Mt(e._a);this._isDSTShifted=this.isValid()&&A(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var dn=L.prototype;function pn(e,t,n,i){var o=ut(),a=h().set(i,t);return o[n](a,e)}function fn(e,t,n){if(r(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");var i,o=[];for(i=0;i<12;i++)o[i]=pn(e,i,n,"month");return o}function mn(e,t,n,i){"boolean"==typeof e?(r(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,r(t)&&(n=t,t=void 0),t=t||"");var o,a=ut(),s=e?a._week.dow:0;if(null!=n)return pn(t,(n+s)%7,i,"day");var l=[];for(o=0;o<7;o++)l[o]=pn(t,(o+s)%7,i,"day");return l}dn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return M(i)?i.call(t,n):i},dn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},dn.invalidDate=function(){return this._invalidDate},dn.ordinal=function(e){return this._ordinal.replace("%d",e)},dn.preparse=hn,dn.postformat=hn,dn.relativeTime=function(e,t,n,i){var o=this._relativeTime[n];return M(o)?o(e,t,n,i):o.replace(/%d/i,e)},dn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)},dn.set=function(e){var t,n;for(n in e)M(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},dn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},dn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},dn.monthsParse=function(e,t,n){var i,o,a;if(this._monthsParseExact)return function(e,t,n){var i,o,a,r=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=h([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Ce.call(this._shortMonthsParse,r))?o:null:-1!==(o=Ce.call(this._longMonthsParse,r))?o:null:"MMM"===t?-1!==(o=Ce.call(this._shortMonthsParse,r))?o:-1!==(o=Ce.call(this._longMonthsParse,r))?o:null:-1!==(o=Ce.call(this._longMonthsParse,r))?o:-1!==(o=Ce.call(this._shortMonthsParse,r))?o:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=h([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},dn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},dn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Be),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},dn.week=function(e){return qe(e,this._week.dow,this._week.doy).week},dn.firstDayOfYear=function(){return this._week.doy},dn.firstDayOfWeek=function(){return this._week.dow},dn.weekdays=function(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:i(this._weekdays)?this._weekdays:this._weekdays.standalone},dn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},dn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},dn.weekdaysParse=function(e,t,n){var i,o,a;if(this._weekdaysParseExact)return function(e,t,n){var i,o,a,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=h([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Ce.call(this._weekdaysParse,r))?o:null:"ddd"===t?-1!==(o=Ce.call(this._shortWeekdaysParse,r))?o:null:-1!==(o=Ce.call(this._minWeekdaysParse,r))?o:null:"dddd"===t?-1!==(o=Ce.call(this._weekdaysParse,r))?o:-1!==(o=Ce.call(this._shortWeekdaysParse,r))?o:-1!==(o=Ce.call(this._minWeekdaysParse,r))?o:null:"ddd"===t?-1!==(o=Ce.call(this._shortWeekdaysParse,r))?o:-1!==(o=Ce.call(this._weekdaysParse,r))?o:-1!==(o=Ce.call(this._minWeekdaysParse,r))?o:null:-1!==(o=Ce.call(this._minWeekdaysParse,r))?o:-1!==(o=Ce.call(this._weekdaysParse,r))?o:-1!==(o=Ce.call(this._shortWeekdaysParse,r))?o:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=h([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},dn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ge),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},dn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ye),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},dn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ke),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},dn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},dn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},lt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=k("moment.lang is deprecated. Use moment.locale instead.",lt),n.langData=k("moment.langData is deprecated. Use moment.localeData instead.",ut);var gn=Math.abs;function _n(e,t,n,i){var o=$t(t,n);return e._milliseconds+=i*o._milliseconds,e._days+=i*o._days,e._months+=i*o._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}var An=wn("ms"),xn=wn("s"),kn=wn("m"),Sn=wn("h"),Cn=wn("d"),Pn=wn("w"),Mn=wn("M"),Tn=wn("y");function Ln(e){return function(){return this.isValid()?this._data[e]:NaN}}var En=Ln("milliseconds"),On=Ln("seconds"),Dn=Ln("minutes"),zn=Ln("hours"),In=Ln("days"),Nn=Ln("months"),Bn=Ln("years");var jn=Math.round,Rn={ss:44,s:45,m:45,h:22,d:26,M:11};var Hn=Math.abs;function Fn(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Hn(this._milliseconds)/1e3,i=Hn(this._days),o=Hn(this._months);e=b(n/60),t=b(e/60),n%=60,e%=60;var a=b(o/12),r=o%=12,s=i,l=t,c=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",p=Fn(this._months)!==Fn(h)?"-":"",f=Fn(this._days)!==Fn(h)?"-":"",m=Fn(this._milliseconds)!==Fn(h)?"-":"";return d+"P"+(a?p+a+"Y":"")+(r?p+r+"M":"")+(s?f+s+"D":"")+(l||c||u?"T":"")+(l?m+l+"H":"")+(c?m+c+"M":"")+(u?m+u+"S":"")}var qn=Dt.prototype;return qn.isValid=function(){return this._isValid},qn.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},qn.add=function(e,t){return _n(this,e,t,1)},qn.subtract=function(e,t){return _n(this,e,t,-1)},qn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=D(e))||"year"===e)return t=this._days+i/864e5,n=this._months+vn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},qn.asMilliseconds=An,qn.asSeconds=xn,qn.asMinutes=kn,qn.asHours=Sn,qn.asDays=Cn,qn.asWeeks=Pn,qn.asMonths=Mn,qn.asYears=Tn,qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},qn._bubble=function(){var e,t,n,i,o,a=this._milliseconds,r=this._days,s=this._months,l=this._data;return a>=0&&r>=0&&s>=0||a<=0&&r<=0&&s<=0||(a+=864e5*yn(bn(s)+r),r=0,s=0),l.milliseconds=a%1e3,e=b(a/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,r+=b(n/24),s+=o=b(vn(r)),r-=yn(bn(o)),i=b(s/12),s%=12,l.days=r,l.months=s,l.years=i,this},qn.clone=function(){return $t(this)},qn.get=function(e){return e=D(e),this.isValid()?this[e+"s"]():NaN},qn.milliseconds=En,qn.seconds=On,qn.minutes=Dn,qn.hours=zn,qn.days=In,qn.weeks=function(){return b(this.days()/7)},qn.months=Nn,qn.years=Bn,qn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=$t(e).abs(),o=jn(i.as("s")),a=jn(i.as("m")),r=jn(i.as("h")),s=jn(i.as("d")),l=jn(i.as("M")),c=jn(i.as("y")),u=o<=Rn.ss&&["s",o]||o<Rn.s&&["ss",o]||a<=1&&["m"]||a<Rn.m&&["mm",a]||r<=1&&["h"]||r<Rn.h&&["hh",r]||s<=1&&["d"]||s<Rn.d&&["dd",s]||l<=1&&["M"]||l<Rn.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,function(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},qn.toISOString=Wn,qn.toString=Wn,qn.toJSON=Wn,qn.locale=Jt,qn.localeData=en,qn.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),qn.lang=Xt,W("X",0,0,"unix"),W("x",0,0,"valueOf"),le("x",ie),le("X",/[+-]?\d+(\.\d{1,3})?/),de("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),de("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.22.2",e=Mt,n.fn=un,n.min=function(){return Et("isBefore",[].slice.call(arguments,0))},n.max=function(){return Et("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(e){return Mt(1e3*e)},n.months=function(e,t){return fn(e,t,"months")},n.isDate=s,n.locale=lt,n.invalid=f,n.duration=$t,n.isMoment=v,n.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},n.parseZone=function(){return Mt.apply(null,arguments).parseZone()},n.localeData=ut,n.isDuration=zt,n.monthsShort=function(e,t){return fn(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},n.defineLocale=ct,n.updateLocale=function(e,t){if(null!=t){var n,i,o=it;null!=(i=st(e))&&(o=i._config),(n=new L(t=T(o,t))).parentLocale=ot[e],ot[e]=n,lt(e)}else null!=ot[e]&&(null!=ot[e].parentLocale?ot[e]=ot[e].parentLocale:null!=ot[e]&&delete ot[e]);return ot[e]},n.locales=function(){return S(ot)},n.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},n.normalizeUnits=D,n.relativeTimeRounding=function(e){return void 0===e?jn:"function"==typeof e&&(jn=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Rn[e]&&(void 0===t?Rn[e]:(Rn[e]=t,"s"===e&&(Rn.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=un,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},n}),function(e,t){"use strict";"object"==typeof module&&module.exports?module.exports=t(require("moment")):"function"==typeof define&&define.amd?define(["moment"],t):t(e.moment)}(this,function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n={},i={},o={},a={},r={};e&&"string"==typeof e.version||L("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var s=e.version.split("."),l=+s[0],c=+s[1];function u(e){return e>96?e-87:e>64?e-29:e-48}function h(e){var t=0,n=e.split("."),i=n[0],o=n[1]||"",a=1,r=0,s=1;for(45===e.charCodeAt(0)&&(t=1,s=-1);t<i.length;t++)r=60*r+u(i.charCodeAt(t));for(t=0;t<o.length;t++)a/=60,r+=u(o.charCodeAt(t))*a;return r*s}function d(e){for(var t=0;t<e.length;t++)e[t]=h(e[t])}function p(e,t){var n,i=[];for(n=0;n<t.length;n++)i[n]=e[t[n]];return i}function f(e){var t=e.split("|"),n=t[2].split(" "),i=t[3].split(""),o=t[4].split(" ");return d(n),d(i),d(o),function(e,t){for(var n=0;n<t;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}(o,i.length),{name:t[0],abbrs:p(t[1].split(" "),i),offsets:p(n,i),untils:o,population:0|t[5]}}function m(e){e&&this._set(f(e))}function g(e,t){this.name=e,this.zones=t}function _(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);"GMT"===(n=n&&n[0]?(n=n[0].match(/[A-Z]/g))?n.join(""):void 0:(n=t.match(/[A-Z]{3,5}/g))?n[0]:void 0)&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function y(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function v(e,t){for(var n,i;i=6e4*((t.at-e.at)/12e4|0);)(n=new _(new Date(e.at+i))).offset===e.offset?e=n:t=n;return e}function b(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:e.zone.population!==t.zone.population?t.zone.population-e.zone.population:t.zone.name.localeCompare(e.zone.name)}function w(e,t){var n,i;for(d(t),n=0;n<t.length;n++)i=t[n],r[i]=r[i]||{},r[i][e]=!0}function A(e){var t,n,i,o=e.length,s={},l=[];for(t=0;t<o;t++)for(n in i=r[e[t].offset]||{})i.hasOwnProperty(n)&&(s[n]=!0);for(t in s)s.hasOwnProperty(t)&&l.push(a[t]);return l}function x(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=a[k(e)];if(t)return t;L("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,i,o,r=function(){var e,t,n,i=(new Date).getFullYear()-2,o=new _(new Date(i,0,1)),a=[o];for(n=1;n<48;n++)(t=new _(new Date(i,n,1))).offset!==o.offset&&(e=v(o,t),a.push(e),a.push(new _(new Date(e.at+6e4)))),o=t;for(n=0;n<4;n++)a.push(new _(new Date(i+n,0,1))),a.push(new _(new Date(i+n,6,1)));return a}(),s=r.length,l=A(r),c=[];for(i=0;i<l.length;i++){for(n=new y(C(l[i]),s),o=0;o<s;o++)n.scoreOffsetAt(r[o]);c.push(n)}return c.sort(b),c.length>0?c[0].zone.name:void 0}function k(e){return(e||"").toLowerCase().replace(/\//g,"_")}function S(e){var t,i,o,r;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)r=k(i=(o=e[t].split("|"))[0]),n[r]=e[t],a[r]=i,w(r,o[2].split(" "))}function C(e,t){e=k(e);var o,r=n[e];return r instanceof m?r:"string"==typeof r?(r=new m(r),n[e]=r,r):i[e]&&t!==C&&(o=C(i[e],C))?((r=n[e]=new m)._set(o),r.name=a[e],r):null}function P(e){var t,n,o,r;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)o=k((n=e[t].split("|"))[0]),r=k(n[1]),i[o]=r,a[o]=n[0],i[r]=o,a[r]=n[1]}function M(e){S(e.zones),P(e.links),function(e){var t,n,i,a;if(e&&e.length)for(t=0;t<e.length;t++)n=(a=e[t].split("|"))[0].toUpperCase(),i=a[1].split(" "),o[n]=new g(n,i)}(e.countries),E.dataVersion=e.version}function T(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function L(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function E(t){var n=Array.prototype.slice.call(arguments,0,-1),i=arguments[arguments.length-1],o=C(i),a=e.utc.apply(null,n);return o&&!e.isMoment(t)&&T(a)&&a.add(o.parse(a),"minutes"),a.tz(i),a}(l<2||2===l&&c<6)&&L("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),m.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,i=this.untils;for(t=0;t<i.length;t++)if(n<i[t])return t},countries:function(){var e=this.name;return Object.keys(o).filter(function(t){return-1!==o[t].zones.indexOf(e)})},parse:function(e){var t,n,i,o,a=+e,r=this.offsets,s=this.untils,l=s.length-1;for(o=0;o<l;o++)if(t=r[o],n=r[o+1],i=r[o?o-1:o],t<n&&E.moveAmbiguousForward?t=n:t>i&&E.moveInvalidForward&&(t=i),a<s[o]-6e4*t)return r[o];return r[l]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return L("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},y.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},E.version="0.5.43",E.dataVersion="",E._zones=n,E._links=i,E._names=a,E._countries=o,E.add=S,E.link=P,E.load=M,E.zone=C,E.zoneExists=function e(t){return e.didShowError||(e.didShowError=!0,L("moment.tz.zoneExists('"+t+"') has been deprecated in favor of !moment.tz.zone('"+t+"')")),!!C(t)},E.guess=function(e){return t&&!e||(t=x()),t},E.names=function(){var e,t=[];for(e in a)a.hasOwnProperty(e)&&(n[e]||n[i[e]])&&a[e]&&t.push(a[e]);return t.sort()},E.Zone=m,E.unpack=f,E.unpackBase60=h,E.needsOffset=T,E.moveInvalidForward=!0,E.moveAmbiguousForward=!1,E.countries=function(){return Object.keys(o)},E.zonesForCountry=function(e,t){var n;if(n=(n=e).toUpperCase(),!(e=o[n]||null))return null;var i=e.zones.sort();return t?i.map(function(e){return{name:e,offset:C(e).utcOffset(new Date)}}):i};var O,D=e.fn;function z(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function I(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=E,e.defaultZone=null,e.updateOffset=function(t,n){var i,o=e.defaultZone;if(void 0===t._z&&(o&&T(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z)if(i=t._z.utcOffset(t),Math.abs(i)<16&&(i/=60),void 0!==t.utcOffset){var a=t._z;t.utcOffset(-i,n),t._z=a}else t.zone(i,n)},D.tz=function(t,n){if(t){if("string"!=typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=C(t),this._z?e.updateOffset(this,n):L("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},D.zoneName=z(D.zoneName),D.zoneAbbr=z(D.zoneAbbr),D.utc=I(D.utc),D.local=I(D.local),D.utcOffset=(O=D.utcOffset,function(){return arguments.length>0&&(this._z=null),O.apply(this,arguments)}),e.tz.setDefault=function(t){return(l<2||2===l&&c<9)&&L("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?C(t):null,e};var N=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(N)?(N.push("_z"),N.push("_a")):N&&(N._z=null),M({version:"2023c",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Nairobi|EAT|-30|0||47e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Khartoum|CAT|-20|0||51e5","Africa/Cairo|EET EEST|-20 -30|0101010101010|29NW0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0|15e6","Africa/Casablanca|+00 +01|0 -10|010101010101010101010101|1Vq20 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Juba|EAT CAT|-30 -20|01|24nx0|","Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00|","Africa/Tripoli|EET|-20|0||11e5","America/Adak|HST HDT|a0 90|01010101010101010101010|1VkA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1Vkz0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Fortaleza|-03|30|0||34e5","America/Asuncion|-03 -04|30 40|01010101010101010101010|1Vq30 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5","America/Panama|EST|50|0||15e5","America/Mexico_City|CST CDT|60 50|01010101010|1VsU0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Managua|CST|60|0||22e5","America/Caracas|-04|40|0||29e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|-03 -04|30 40|0101|1Vc30 1HB0 FX0|77e4","America/Chicago|CST CDT|60 50|01010101010101010101010|1Vkw0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT CST|70 60 60|01010101012|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Ciudad_Juarez|MST MDT CST|70 60 60|010101010120101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|","America/Phoenix|MST|70|0||42e5","America/Whitehorse|PST PDT MST|80 70 70|0101012|1Vky0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/New_York|EST EDT|50 40|01010101010101010101010|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1Vky0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6","America/Halifax|AST ADT|40 30|01010101010101010101010|1Vku0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02 -01|30 20 10|0101010101012121212121|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 2so0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|17e3","America/Grand_Turk|AST EDT EST|40 40 50|01212121212121212121212|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|37e2","America/Havana|CST CDT|50 40|01010101010101010101010|1Vkt0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5","America/Mazatlan|MST MDT|70 60|01010101010|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|44e4","America/Metlakatla|AKST AKDT PST|90 80 80|012010101010101010101010|1Vkz0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2","America/Miquelon|-03 -02|30 20|01010101010101010101010|1Vkt0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2","America/Noronha|-02|20|0||30e2","America/Ojinaga|MST MDT CST CDT|70 60 60 50|01010101012323232323232|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e3","America/Santiago|-03 -04|30 40|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|62e5","America/Sao_Paulo|-02 -03|20 30|0101|1Vc20 1HB0 FX0|20e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1Vktu 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|0101010|1Vkh0 1o30 14k0 1kr0 12l0 1o01|10","Asia/Bangkok|+07|-70|0||15e6","Asia/Vladivostok|+10|-a0|0||60e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1VsE0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Europe/Istanbul|+03|-30|0||13e6","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40","Asia/Dhaka|+06|-60|0||16e6","Asia/Amman|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Dubai|+04|-40|0||39e5","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1VpW0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5","Asia/Kuala_Lumpur|+08|-80|0||71e5","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+09|-90|0||33e4","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1Vpz0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 17d0 1in0 14p0 1lb0 11B0 1nX0 11B0 1qL0 WN0 1qL0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1Vpc0 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Sakhalin|+11|-b0|0||58e4","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PST|-80|0||24e6","Asia/Pyongyang|KST KST|-8u -90|01|1VGf0|29e5","Asia/Qyzylorda|+06 +05|-60 -50|01|1Xei0|73e4","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Seoul|KST|-90|0||23e6","Asia/Tehran|+0330 +0430|-3u -4u|01010101010|1VoIu 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1VsEu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1VsD0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5","Etc/GMT-1|+01|-10|0||","Pacific/Tongatapu|+13|-d0|0||75e3","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0||","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0||","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0||","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/UTC|UTC|0|0||","Europe/London|GMT BST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1Vq00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4","Europe/Moscow|MSK|-30|0||16e6","Europe/Volgograd|MSK +04|-30 -40|010|1WQL0 5gn0|10e5","Pacific/Honolulu|HST|a0|0||37e4","MET|MET MEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01010101|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Fiji|+13 +12|-d0 -c0|01010101|1UVO0 1VA0 s00 20o0 pc0 2hc0 bc0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+11 +12|-b0 -c0|01010101010101010101|219P0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|25e4"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Blantyre","Africa/Khartoum|Africa/Bujumbura","Africa/Khartoum|Africa/Gaborone","Africa/Khartoum|Africa/Harare","Africa/Khartoum|Africa/Kigali","Africa/Khartoum|Africa/Lubumbashi","Africa/Khartoum|Africa/Lusaka","Africa/Khartoum|Africa/Maputo","Africa/Khartoum|Africa/Windhoek","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Europe/Kaliningrad","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Campo_Grande|America/Cuiaba","America/Caracas|America/Boa_Vista","America/Caracas|America/Guyana","America/Caracas|America/La_Paz","America/Caracas|America/Manaus","America/Caracas|America/Porto_Velho","America/Caracas|Brazil/West","America/Caracas|Etc/GMT+4","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Araguaina","America/Fortaleza|America/Argentina/Buenos_Aires","America/Fortaleza|America/Argentina/Catamarca","America/Fortaleza|America/Argentina/ComodRivadavia","America/Fortaleza|America/Argentina/Cordoba","America/Fortaleza|America/Argentina/Jujuy","America/Fortaleza|America/Argentina/La_Rioja","America/Fortaleza|America/Argentina/Mendoza","America/Fortaleza|America/Argentina/Rio_Gallegos","America/Fortaleza|America/Argentina/Salta","America/Fortaleza|America/Argentina/San_Juan","America/Fortaleza|America/Argentina/San_Luis","America/Fortaleza|America/Argentina/Tucuman","America/Fortaleza|America/Argentina/Ushuaia","America/Fortaleza|America/Bahia","America/Fortaleza|America/Belem","America/Fortaleza|America/Buenos_Aires","America/Fortaleza|America/Catamarca","America/Fortaleza|America/Cayenne","America/Fortaleza|America/Cordoba","America/Fortaleza|America/Jujuy","America/Fortaleza|America/Maceio","America/Fortaleza|America/Mendoza","America/Fortaleza|America/Montevideo","America/Fortaleza|America/Paramaribo","America/Fortaleza|America/Punta_Arenas","America/Fortaleza|America/Recife","America/Fortaleza|America/Rosario","America/Fortaleza|America/Santarem","America/Fortaleza|Antarctica/Palmer","America/Fortaleza|Antarctica/Rothera","America/Fortaleza|Atlantic/Stanley","America/Fortaleza|Etc/GMT+3","America/Godthab|America/Nuuk","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Lima|America/Bogota","America/Lima|America/Eirunepe","America/Lima|America/Guayaquil","America/Lima|America/Porto_Acre","America/Lima|America/Rio_Branco","America/Lima|Brazil/Acre","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/Saskatchewan","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Port-au-Prince","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cancun","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Fort_Nelson","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Whitehorse|America/Dawson","America/Whitehorse|Canada/Yukon","Asia/Bangkok|Antarctica/Davis","Asia/Bangkok|Asia/Barnaul","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Hovd","Asia/Bangkok|Asia/Krasnoyarsk","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Novosibirsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Tomsk","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Chita|Asia/Dili","Asia/Chita|Asia/Khandyga","Asia/Chita|Asia/Yakutsk","Asia/Chita|Etc/GMT-9","Asia/Chita|Pacific/Palau","Asia/Dhaka|Antarctica/Vostok","Asia/Dhaka|Asia/Almaty","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Omsk","Asia/Dhaka|Asia/Qostanay","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dubai|Asia/Baku","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Astrakhan","Asia/Dubai|Europe/Samara","Asia/Dubai|Europe/Saratov","Asia/Dubai|Europe/Ulyanovsk","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Brunei","Asia/Kuala_Lumpur|Asia/Choibalsan","Asia/Kuala_Lumpur|Asia/Irkutsk","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Asia/Ulaanbaatar","Asia/Kuala_Lumpur|Asia/Ulan_Bator","Asia/Kuala_Lumpur|Etc/GMT-8","Asia/Kuala_Lumpur|Singapore","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Sakhalin|Asia/Magadan","Asia/Sakhalin|Asia/Srednekolymsk","Asia/Sakhalin|Etc/GMT-11","Asia/Sakhalin|Pacific/Bougainville","Asia/Sakhalin|Pacific/Efate","Asia/Sakhalin|Pacific/Guadalcanal","Asia/Sakhalin|Pacific/Kosrae","Asia/Sakhalin|Pacific/Noumea","Asia/Sakhalin|Pacific/Pohnpei","Asia/Sakhalin|Pacific/Ponape","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Asia/Yekaterinburg","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Vladivostok|Antarctica/DumontDUrville","Asia/Vladivostok|Asia/Ust-Nera","Asia/Vladivostok|Etc/GMT-10","Asia/Vladivostok|Pacific/Chuuk","Asia/Vladivostok|Pacific/Port_Moresby","Asia/Vladivostok|Pacific/Truk","Asia/Vladivostok|Pacific/Yap","Atlantic/Azores|America/Scoresbysund","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Antarctica/Macquarie","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Athens|Asia/Famagusta","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Kyiv","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Antarctica/Syowa","Europe/Istanbul|Asia/Aden","Europe/Istanbul|Asia/Baghdad","Europe/Istanbul|Asia/Bahrain","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Asia/Kuwait","Europe/Istanbul|Asia/Qatar","Europe/Istanbul|Asia/Riyadh","Europe/Istanbul|Etc/GMT-3","Europe/Istanbul|Europe/Minsk","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|Europe/Kirov","Europe/Moscow|Europe/Simferopol","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga","Pacific/Tongatapu|Etc/GMT-13","Pacific/Tongatapu|Pacific/Enderbury","Pacific/Tongatapu|Pacific/Fakaofo","Pacific/Tongatapu|Pacific/Kanton"],countries:["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Puerto_Rico America/Antigua","AI|America/Puerto_Rico America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Asia/Urumqi Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa Antarctica/Vostok","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Puerto_Rico America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Puerto_Rico America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Kuching Asia/Brunei","BO|America/La_Paz","BQ|America/Puerto_Rico America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Toronto America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Inuvik America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston","CC|Asia/Yangon Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Puerto_Rico America/Curacao","CX|Asia/Bangkok Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Berlin Europe/Copenhagen","DM|America/Puerto_Rico America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Puerto_Rico America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Abidjan Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Puerto_Rico America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Africa/Abidjan Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Puerto_Rico America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Puerto_Rico America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Brussels Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Paris Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Puerto_Rico America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Puerto_Rico America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana","MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Brussels Europe/Amsterdam","NO|Europe/Berlin Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Asia/Dubai Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Asia/Dubai Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Berlin Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Berlin Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Puerto_Rico America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Asia/Dubai Indian/Maldives Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Puerto_Rico America/Port_of_Spain","TV|Pacific/Tarawa Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kyiv","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Puerto_Rico America/St_Vincent","VE|America/Caracas","VG|America/Puerto_Rico America/Tortola","VI|America/Puerto_Rico America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Tarawa Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}),e}),CroutonLocalization.prototype.getDayOfTheWeekWord=function(e){return this.words[this.language].days_of_the_week[e]},CroutonLocalization.prototype.getWord=function(e){const t=this.words[this.language][e.toLowerCase()];return void 0===t?e:t},CroutonLocalization.prototype.getVenueType=function(e){return this.words[this.language].venue_type_choices[e]},CroutonLocalization.prototype.getServiceBodyType=function(e){return this.words[this.language].service_body_types[e]},this.hbs_Crouton=this.hbs_Crouton||{},this.hbs_Crouton.templates=this.hbs_Crouton.templates||{},this.hbs_Crouton.templates.byday=Handlebars.template({1:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <tbody class="bmlt-data-rows h-'+e.escapeExpression(e.lambda(null!=t?r(t,"day"):t,t))+'">\n'+(null!=(a=r(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?r(t,"hide"):t,{name:"unless",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:5,column:3},end:{line:11,column:14}}}))?a:"")+"\n"+(null!=(a=e.invokePartial(r(i,"meetings"),null!=t?r(t,"meetings"):t,{name:"meetings",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:"")+" </tbody>\n"},2:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=(r(n,"greaterThan")||t&&r(t,"greaterThan")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(a=null!=t?r(t,"meetings"):t)?r(a,"length"):a,0,{name:"greaterThan",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:6,column:4},end:{line:10,column:20}}}))?a:""},3:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t\t<tr class="meeting-header">\n\t\t\t\t\t\t<td colspan="3" '+(null!=(a=(r(n,"getWord")||t&&r(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:8,column:22},end:{line:8,column:51}}}))?a:"")+">"+e.escapeExpression(e.lambda(null!=t?r(t,"day"):t,t))+"</td>\n\t\t\t\t\t</tr>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a;return"<div id=\"bmlt-table-div\">\n <table class='bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack'>\n"+(null!=(a=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:8},end:{line:15,column:17}}}))?a:"")+" </table>\n</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.byfield=Handlebars.template({1:function(e,t,n,i,o){var a,r,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t<tr class="meeting-header" '+(null!=(a=(c(n,"getWord")||t&&c(t,"getWord")||l).call(s,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:5,column:30},end:{line:5,column:59}}}))?a:"")+'>\n\t\t\t\t<td colspan="3">'+e.escapeExpression("function"==typeof(r=null!=(r=c(n,"key")||o&&c(o,"key"))?r:l)?r.call(s,{name:"key",hash:{},data:o,loc:{start:{line:6,column:20},end:{line:6,column:28}}}):r)+"</td>\n\t\t\t</tr>\n"+(null!=(a=e.invokePartial(c(i,"meetings"),t,{name:"meetings",data:o,indent:"\t\t\t",helpers:n,partials:i,decorators:e.decorators}))?a:"")},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a;return'<div id="bmlt-table-div">\n\t<table class=\'bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack\'>\n\t\t<tbody class="byfield.hbs">\n'+(null!=(a=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:4,column:2},end:{line:9,column:11}}}))?a:"")+"\t\t</tbody>\n\t</table>\n</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.formatPopup=Handlebars.template({1:function(e,t,n,i,o){var a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <tr>\n <td class='formats_key'>"+l("function"==typeof(a=null!=(a=c(n,"key")||(null!=t?c(t,"key"):t))?a:s)?a.call(r,{name:"key",hash:{},data:o,loc:{start:{line:4,column:36},end:{line:4,column:43}}}):a)+"</td>\n <td class='formats_name'>"+l("function"==typeof(a=null!=(a=c(n,"name")||(null!=t?c(t,"name"):t))?a:s)?a.call(r,{name:"name",hash:{},data:o,loc:{start:{line:5,column:37},end:{line:5,column:45}}}):a)+"</td>\n <td class='formats_description'>"+l("function"==typeof(a=null!=(a=c(n,"description")||(null!=t?c(t,"description"):t))?a:s)?a.call(r,{name:"description",hash:{},data:o,loc:{start:{line:6,column:44},end:{line:6,column:59}}}):a)+"</td>\n </tr>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<table class='bmlt_a_format table-bordered'>\n"+(null!=(a=r(n,"each").call(null!=t?t:e.nullContext||{},null!=t?r(t,"formats_expanded"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:4},end:{line:8,column:13}}}))?a:"")+"</table>"},useData:!0}),this.hbs_Crouton.templates.header=Handlebars.template({1:function(e,t,n,i,o,a,r){var s,l=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(s=c(n,"if").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"include_weekday_button"):s,{name:"if",hash:{},fn:e.program(2,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:3,column:4},end:{line:5,column:11}}}))?s:"")+(null!=(s=c(n,"each").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"button_filters"):s,{name:"each",hash:{},fn:e.program(4,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:6,column:4},end:{line:8,column:13}}}))?s:"")+(null!=(s=c(n,"each").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"button_format_filters"):s,{name:"each",hash:{},fn:e.program(6,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:9,column:4},end:{line:11,column:13}}}))?s:"")+(null!=(s=c(n,"if").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"map_page"):s,{name:"if",hash:{},fn:e.program(8,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:12,column:4},end:{line:15,column:11}}}))?s:"")+"\n"+(null!=(s=c(n,"each").call(l,null!=t?c(t,"dropdownData"):t,{name:"each",hash:{},fn:e.program(10,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:17,column:4},end:{line:26,column:13}}}))?s:"")+" </div>\n"},2:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-button-container"><a id="day" class="btn btn-primary btn-sm">'+e.escapeExpression((a(n,"getWord")||t&&a(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"weekday",{name:"getWord",hash:{},data:o,loc:{start:{line:4,column:86},end:{line:4,column:107}}}))+"</a></div>\n"},4:function(e,t,n,i,o){var a=e.lambda,r=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-button-container"><a id="filterButton_'+r(a(null!=t?s(t,"field"):t,t))+'" data-field="'+r(a(null!=t?s(t,"field"):t,t))+'" class="filterButton filterButtonLogic btn btn-primary btn-sm">'+r((s(n,"getWord")||t&&s(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?s(t,"title"):t,{name:"getWord",hash:{},data:o,loc:{start:{line:7,column:169},end:{line:7,column:191}}}))+"</a></div>\n"},6:function(e,t,n,i,o){var a=e.lambda,r=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-button-container"><a id="filterButton_'+r(a(null!=t?s(t,"field"):t,t))+'" data-field="'+r(a(null!=t?s(t,"field"):t,t))+'" class="filterButton filterButtonLogic btn btn-primary btn-sm">'+r(a(null!=t?s(t,"title"):t,t))+"</a></div>\n"},8:function(e,t,n,i,o){var a=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-button-container"><a id="filterButton_embeddedMapPage" data-field="embeddedMapPage" class="filterButton displayTypeLogic btn btn-primary btn-sm">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"map",{name:"getWord",hash:{},data:o,loc:{start:{line:13,column:170},end:{line:13,column:187}}}))+'</a></div>\n <div class="bmlt-button-container"><a id="displayTypeButton_tablePages" data-field="tablePages" class="filterButton displayTypeLogic btn btn-primary btn-sm hide">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"tabular",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:170},end:{line:14,column:191}}}))+"</a></div>\n"},10:function(e,t,n,i,o,a,r){var s,l,c=e.escapeExpression,u=null!=t?t:e.nullContext||{},h=e.hooks.helperMissing,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t<div class="bmlt-dropdown-container">\n\t\t<select class="crouton-select filter-dropdown" style="width:'+c(e.lambda(null!=(s=null!=r[1]?d(r[1],"config"):r[1])?d(s,"dropdown_width"):s,t))+';" data-placeholder="'+c("function"==typeof(l=null!=(l=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:19,column:116},end:{line:19,column:131}}}):l)+'" data-pointer="'+c("function"==typeof(l=null!=(l=d(n,"pointer")||(null!=t?d(t,"pointer"):t))?l:h)?l.call(u,{name:"pointer",hash:{},data:o,loc:{start:{line:19,column:147},end:{line:19,column:158}}}):l)+'" id='+c("function"==typeof(l=null!=(l=d(n,"elementId")||(null!=t?d(t,"elementId"):t))?l:h)?l.call(u,{name:"elementId",hash:{},data:o,loc:{start:{line:19,column:163},end:{line:19,column:176}}}):l)+'>\n\t\t <option value="a-">'+c((d(n,"getWord")||t&&d(t,"getWord")||h).call(u,"all",{name:"getWord",hash:{},data:o,loc:{start:{line:20,column:25},end:{line:20,column:42}}}))+" "+c("function"==typeof(l=null!=(l=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:20,column:43},end:{line:20,column:58}}}):l)+"</option>\n"+(null!=(s=d(n,"each").call(u,(d(n,"call")||t&&d(t,"call")||h).call(u,null!=t?d(t,"uniqueData"):t,null!=(s=null!=r[1]?d(r[1],"meetings"):r[1])?d(s,"meetingData"):s,{name:"call",hash:{},data:o,loc:{start:{line:21,column:14},end:{line:21,column:55}}}),{name:"each",hash:{},fn:e.program(11,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:21,column:6},end:{line:23,column:15}}}))?s:"")+"\t\t</select>\n\t</div>\n"},11:function(e,t,n,i,o,a,r){var s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t <option value="a-'+c((u(n,"call")||t&&u(t,"call")||l).call(s,null!=r[1]?u(r[1],"objectPointer"):r[1],t,{name:"call",hash:{},data:o,loc:{start:{line:22,column:24},end:{line:22,column:54}}}))+'">'+c((u(n,"call")||t&&u(t,"call")||l).call(s,null!=r[1]?u(r[1],"optionName"):r[1],t,{name:"call",hash:{},data:o,loc:{start:{line:22,column:56},end:{line:22,column:83}}}))+"</option>\n"},13:function(e,t,n,i,o){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=(s(n,"ifEquals")||t&&s(t,"ifEquals")||e.hooks.helperMissing).call(r,null!=(a=null!=t?s(t,"config"):t)?s(a,"view_by"):a,"weekdays",{name:"ifEquals",hash:{},fn:e.program(14,o,0),inverse:e.program(16,o,0),data:o,loc:{start:{line:31,column:4},end:{line:35,column:17}}}))?a:"")+' <ul class="nav nav-tabs">\n'+(null!=(a=s(n,"each").call(r,null!=(a=null!=t?s(t,"config"):t)?s(a,"day_sequence"):a,{name:"each",hash:{},fn:e.program(18,o,0),inverse:e.noop,data:o,loc:{start:{line:37,column:12},end:{line:39,column:21}}}))?a:"")+" </ul>\n </div>\n"},14:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-page show" id="nav-days" '+(null!=(a=(r(n,"getWord")||t&&r(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"css-floatDirection",{name:"getWord",hash:{},data:o,loc:{start:{line:32,column:50},end:{line:32,column:84}}}))?a:"")+">\n"},16:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="bmlt-page hide" id="nav-days" '+(null!=(a=(r(n,"getWord")||t&&r(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"css-floatDirection",{name:"getWord",hash:{},data:o,loc:{start:{line:34,column:50},end:{line:34,column:84}}}))?a:"")+">\n"},18:function(e,t,n,i,o){var a=e.escapeExpression,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <li><a href="#tab'+a(e.lambda(t,t))+'" data-toggle="tab">'+a((r(n,"getDayOfTheWeek")||t&&r(t,"getDayOfTheWeek")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"getDayOfTheWeek",hash:{},data:o,loc:{start:{line:38,column:61},end:{line:38,column:85}}}))+"</a></li>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,a,r){var s,l=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((c(n,"startup")||t&&c(t,"startup")||e.hooks.helperMissing).call(l,t,{name:"startup",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:16}}}))+"\n"+(null!=(s=c(n,"if").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"header"):s,{name:"if",hash:{},fn:e.program(1,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:2,column:0},end:{line:28,column:7}}}))?s:"")+"\n"+(null!=(s=c(n,"if").call(l,null!=(s=null!=t?c(t,"config"):t)?c(s,"has_tabs"):s,{name:"if",hash:{},fn:e.program(13,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:30,column:0},end:{line:42,column:7}}}))?s:"")},useData:!0,useDepths:!0}),this.hbs_Crouton.templates.main=Handlebars.template({1:function(e,t,n,i,o){var a,r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t<div id="byfield_'+e.escapeExpression("function"==typeof(r=null!=(r=s(n,"key")||o&&s(o,"key"))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"key",hash:{},data:o,loc:{start:{line:6,column:19},end:{line:6,column:29}}}):r)+'" class="bmlt-page hide" >\n'+(null!=(a=e.invokePartial(s(i,"byfields"),t,{name:"byfields",data:o,indent:"\t\t\t",helpers:n,partials:i,decorators:e.decorators}))?a:"")+"\t\t</div>\n"},3:function(e,t,n,i,o){var a,r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t<div id="byfield_'+e.escapeExpression("function"==typeof(r=null!=(r=s(n,"key")||o&&s(o,"key"))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"key",hash:{},data:o,loc:{start:{line:11,column:19},end:{line:11,column:29}}}):r)+'" class="bmlt-page hide">\n'+(null!=(a=e.invokePartial(s(i,"byfields"),t,{name:"byfields",data:o,indent:"\t\t\t",helpers:n,partials:i,decorators:e.decorators}))?a:"")+"\t\t</div>\n"},5:function(e,t,n,i,o){return' \t<div id="byfield_embeddedMapPage" class="bmlt-map bmlt-page hide">\n\t\t</div>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="bmlt-tabs-table">\n <div id="bmlt-header" class="bmlt-header hide" '+(null!=(a=(s(n,"getWord")||t&&s(t,"getWord")||e.hooks.helperMissing).call(r,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:51},end:{line:2,column:80}}}))?a:"")+">\n"+(null!=(a=e.invokePartial(s(i,"header"),t,{name:"header",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:"")+" </div>\n"+(null!=(a=s(n,"each").call(r,null!=(a=null!=t?s(t,"meetings"):t)?s(a,"buttonFilters"):a,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:5,column:1},end:{line:9,column:10}}}))?a:"")+(null!=(a=s(n,"each").call(r,null!=(a=null!=t?s(t,"meetings"):t)?s(a,"buttonFormatFilters"):a,{name:"each",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:10,column:4},end:{line:14,column:10}}}))?a:"")+(null!=(a=s(n,"if").call(r,null!=(a=null!=t?s(t,"config"):t)?s(a,"map_page"):a,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:15,column:4},end:{line:18,column:11}}}))?a:"")+' <div id="byday" class="bmlt-page hide">\n'+(null!=(a=e.invokePartial(s(i,"bydays"),null!=(a=null!=t?s(t,"meetings"):t)?s(a,"bydays"):a,{name:"bydays",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:"")+' </div>\n <div id="tabs-content" class="bmlt-page">\n'+(null!=(a=e.invokePartial(s(i,"weekdays"),null!=(a=null!=t?s(t,"meetings"):t)?s(a,"weekdays"):a,{name:"weekdays",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:"")+" </div>\n"+(null!=(a=e.invokePartial(s(i,"meetingCountTemplate"),t,{name:"meetingCountTemplate",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:"")+"</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.mapMenu=Handlebars.template({1:function(e,t,n,i,o,a,r){var s,l,c=e.escapeExpression,u=null!=t?t:e.nullContext||{},h=e.hooks.helperMissing,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t <div class="bmlt-dropdown-container">\n\t\t <select class="crouton-select filter-dropdown" style="width:'+c(e.lambda(null!=(s=null!=r[1]?d(r[1],"config"):r[1])?d(s,"dropdown_width"):s,t))+';" data-placeholder="'+c("function"==typeof(l=null!=(l=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:17,column:124},end:{line:17,column:139}}}):l)+'" data-pointer="'+c("function"==typeof(l=null!=(l=d(n,"pointer")||(null!=t?d(t,"pointer"):t))?l:h)?l.call(u,{name:"pointer",hash:{},data:o,loc:{start:{line:17,column:155},end:{line:17,column:166}}}):l)+'" id='+c("function"==typeof(l=null!=(l=d(n,"elementId")||(null!=t?d(t,"elementId"):t))?l:h)?l.call(u,{name:"elementId",hash:{},data:o,loc:{start:{line:17,column:171},end:{line:17,column:184}}}):l)+'>\n\t\t <option value="a-">'+c((d(n,"getWord")||t&&d(t,"getWord")||h).call(u,"all",{name:"getWord",hash:{},data:o,loc:{start:{line:18,column:33},end:{line:18,column:50}}}))+" "+c("function"==typeof(l=null!=(l=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:18,column:51},end:{line:18,column:66}}}):l)+"</option>\n"+(null!=(s=d(n,"each").call(u,(d(n,"call")||t&&d(t,"call")||h).call(u,null!=t?d(t,"uniqueData"):t,null!=(s=null!=r[1]?d(r[1],"meetings"):r[1])?d(s,"meetingData"):s,{name:"call",hash:{},data:o,loc:{start:{line:19,column:22},end:{line:19,column:63}}}),{name:"each",hash:{},fn:e.program(2,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:19,column:14},end:{line:21,column:23}}}))?s:"")+"\t\t </select>\n\t </div>\n"},2:function(e,t,n,i,o,a,r){var s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t <option value="a-'+c((u(n,"call")||t&&u(t,"call")||l).call(s,null!=r[1]?u(r[1],"objectPointer"):r[1],t,{name:"call",hash:{},data:o,loc:{start:{line:20,column:32},end:{line:20,column:62}}}))+'">'+c((u(n,"call")||t&&u(t,"call")||l).call(s,null!=r[1]?u(r[1],"optionName"):r[1],t,{name:"call",hash:{},data:o,loc:{start:{line:20,column:64},end:{line:20,column:91}}}))+"</option>\n"},4:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=e.invokePartial(r(i,"meetings"),null!=t?r(t,"meetings"):t,{name:"meetings",data:o,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?a:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,a,r){var s,l=e.escapeExpression,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<button id="map-menu-button" class="menu-button" title="Erweiterte Suche" style="width: 95px;">\n <span class="menu-button-childSmall" style="background-image: url(\''+l(e.lambda(null!=t?h(t,"imageDir"):t,t))+'/menu-32.png\');"></span>\n <span class="menu-button-label">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Menu",{name:"getWord",hash:{},data:o,loc:{start:{line:3,column:36},end:{line:3,column:54}}}))+'</span>\n</button>\n <div id="map-menu-dropdown" class="menu-dropdown">\n <button id="lookupLocation" style="display: block;">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Show meetings near...",{name:"getWord",hash:{},data:o,loc:{start:{line:6,column:60},end:{line:6,column:95}}}))+'</button>\n <button id="nearbyMeetings" style="display: block;">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"near_me",{name:"getWord",hash:{},data:o,loc:{start:{line:7,column:60},end:{line:7,column:81}}}))+'</button>\n <button id="filterMeetings" style="display: block;">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Filter meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:8,column:60},end:{line:8,column:89}}}))+'</button>\n <button id="showAsTable" style="display: block;">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"visible meeting list",{name:"getWord",hash:{},data:o,loc:{start:{line:9,column:57},end:{line:9,column:91}}}))+'</button>\n <button id="fullscreenMode" style="display: block;">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Toggle fullscreen mode",{name:"getWord",hash:{},data:o,loc:{start:{line:10,column:60},end:{line:10,column:96}}}))+'</button>\n </div>\n<div id="filter_modal" class="modal" style="display: none;">\n\t<div class="modal-content">\n <span class="modal-title">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Filter meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:34},end:{line:14,column:63}}}))+'</span><span id="close_filter" class="modal-close">×</span>\n'+(null!=(s=h(n,"each").call(c,null!=t?h(t,"dropdownData"):t,{name:"each",hash:{},fn:e.program(1,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:15,column:8},end:{line:24,column:17}}}))?s:"")+' </div>\n</div>\n<div id="table_page" class="bmlt-page hide" >\n <div id="bmlt-maptable-header"><span class="map-list-title">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Visible meeting list",{name:"getWord",hash:{},data:o,loc:{start:{line:28,column:64},end:{line:28,column:98}}}))+'</span><span id="close_table" class="table-close">X</span></div>\n <div id="bmlt-maptable-div" style="position:relative; overflow-y:scroll;">\n \n <table class=\'bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack\'>\n'+(null!=(s=h(n,"each").call(c,null!=(s=null!=t?h(t,"meetings"):t)?h(s,"bydays"):s,{name:"each",hash:{},fn:e.program(4,o,0,a,r),inverse:e.noop,data:o,loc:{start:{line:32,column:8},end:{line:34,column:17}}}))?s:"")+' </table>\n </div>\n</div>\n<div id="geocoding_modal" class="modal" style="display: none;">\n\t<div id="search_content" class="modal-content">\n\t\t<span class="modal-title">'+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Show meetings near...",{name:"getWord",hash:{},data:o,loc:{start:{line:40,column:28},end:{line:40,column:63}}}))+'</span><span id="close_search" class="modal-close">x</span>\n <p></p>\n <div class="modal-search">\n '+l((h(n,"getWord")||t&&h(t,"getWord")||u).call(c,"Enter a city or zip code",{name:"getWord",hash:{},data:o,loc:{start:{line:43,column:12},end:{line:43,column:50}}}))+'\n <input id="goto-text" type="text">\n <p>\n <button id="goto-button" class="filter-button">Los</button>\n </p>\n </div>\n \t</div>\t\n</div>\n\n'},usePartial:!0,useData:!0,useDepths:!0}),this.hbs_Crouton.templates.mapSearch=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<button id="map-search-button" class="menu-button" title="Erweiterte Suche">\n <span class="menu-button-label" style="position:initial;">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"Search for meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:62},end:{line:2,column:95}}}))+'</span>\n</button>\n<div id="bmltsearch_modal" class="modal" style="display: none;">\n\t<div id="bmltsearch_content" class="modal-content">\n\t\t<span class="modal-title">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"Search for meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:6,column:28},end:{line:6,column:61}}}))+'</span><span id="close_search" class="modal-close">x</span>\n <table>\n <tr><td><div class="modal-search">\n <input id="bmltsearch-goto-text" type="text" placeholder="'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"Enter a city or zip code",{name:"getWord",hash:{},data:o,loc:{start:{line:9,column:70},end:{line:9,column:108}}}))+'" style="margin-bottom:5px;">\n <button id="bmltsearch-text-button" class="filter-button">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"text_search",{name:"getWord",hash:{},data:o,loc:{start:{line:10,column:70},end:{line:10,column:95}}}))+'</button>\n </div></td></tr>\n <tr><td><div class="modal-search">\n <p>\n <button id="bmltsearch-nearbyMeetings" class="filter-button">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"near_me",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:77},end:{line:14,column:98}}}))+'</button>\n </p>\n </div></td></tr>\n <tr><td><div class="modal-search">\n <p>\n <button id="bmltsearch-clicksearch" class="filter-button">'+s((l(n,"getWord")||t&&l(t,"getWord")||r).call(a,"click_search",{name:"getWord",hash:{},data:o,loc:{start:{line:19,column:74},end:{line:19,column:100}}}))+"</button>\n </p>\n </div></td></tr></table>\n \t</div>\t\n</div>"},useData:!0}),this.hbs_Crouton.templates.meetings=Handlebars.template({1:function(e,t,n,i,o){var a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,c=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\t"+l((u(n,"enrich")||t&&u(t,"enrich")||s).call(r,t,{name:"enrich",hash:{},data:o,loc:{start:{line:2,column:1},end:{line:2,column:16}}}))+'\n\t<tr class="bmlt-data-row"\n\t\tid="meeting-data-row-'+l(c(null!=t?u(t,"id_bigint"):t,t))+'"\n\t\tdata-cities="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_municipality"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:5,column:15},end:{line:5,column:63}}}))+'"\n\t\tdata-groups="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"meeting_name"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:6,column:15},end:{line:6,column:54}}}))+'"\n\t\tdata-locations="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_text"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:7,column:18},end:{line:7,column:58}}}))+'"\n\t\tdata-zips="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_postal_code_1"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:8,column:13},end:{line:8,column:62}}}))+'"\n\t\tdata-formats="'+l((u(n,"formatDataPointerFormats")||t&&u(t,"formatDataPointerFormats")||s).call(r,null!=t?u(t,"formats_expanded"):t,{name:"formatDataPointerFormats",hash:{},data:o,loc:{start:{line:9,column:16},end:{line:9,column:66}}}))+'"\n\t\tdata-areas="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"service_body_bigint"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:10,column:14},end:{line:10,column:60}}}))+'"\n\t\tdata-regions="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"parentServiceBodyName"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:11,column:16},end:{line:11,column:64}}}))+'"\n\t\tdata-counties="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_sub_province"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:12,column:17},end:{line:12,column:65}}}))+'"\n\t\tdata-neighborhoods="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_neighborhood"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:13,column:22},end:{line:13,column:70}}}))+'"\n\t\tdata-states="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"location_province"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:14,column:15},end:{line:14,column:59}}}))+'"\n\t\tdata-venues="'+l((u(n,"formatDataFromArray")||t&&u(t,"formatDataFromArray")||s).call(r,null!=t?u(t,"venue_type_name"):t,{name:"formatDataFromArray",hash:{},data:o,loc:{start:{line:15,column:15},end:{line:15,column:59}}}))+'"\n\t\tdata-weekdays="'+l((u(n,"formatDataPointer")||t&&u(t,"formatDataPointer")||s).call(r,null!=t?u(t,"formatted_day"):t,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:16,column:17},end:{line:16,column:57}}}))+'">\n\t\t<td class="bmlt-column1" '+(null!=(a=(u(n,"getWord")||t&&u(t,"getWord")||s).call(r,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:17,column:27},end:{line:17,column:56}}}))?a:"")+'>\n\t\t\t<div class="bmlt-day">'+l(c(null!=t?u(t,"formatted_day"):t,t))+"</div>\n"+(null!=(a=(u(n,"ifEquals")||t&&u(t,"ifEquals")||s).call(r,null!=t?u(t,"duration_time"):t,"24:00:00",{name:"ifEquals",hash:{},fn:e.program(2,o,0),inverse:e.program(4,o,0),data:o,loc:{start:{line:19,column:3},end:{line:23,column:16}}}))?a:"")+(null!=(a=u(n,"if").call(r,null!=t?u(t,"formats"):t,{name:"if",hash:{},fn:e.program(6,o,0),inverse:e.noop,data:o,loc:{start:{line:24,column:3},end:{line:42,column:10}}}))?a:"")+'\t\t\t<div class="bmlt-comments">'+l((u(n,"formatLink")||t&&u(t,"formatLink")||s).call(r,null!=t?u(t,"formatted_comments"):t,{name:"formatLink",hash:{},data:o,loc:{start:{line:43,column:30},end:{line:43,column:68}}}))+'</div>\n\t\t\t<div class="bmlt-observer">'+(null!=(a=e.invokePartial((u(n,"selectObserver")||t&&u(t,"selectObserver")||s).call(r,{name:"selectObserver",hash:{},data:o,loc:{start:{line:44,column:34},end:{line:44,column:50}}}),t,{data:o,helpers:n,partials:i,decorators:e.decorators}))?a:"")+'</div>\n\t\t</td>\n\t\t<td class="bmlt-column2" '+(null!=(a=(u(n,"getWord")||t&&u(t,"getWord")||s).call(r,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:46,column:27},end:{line:46,column:56}}}))?a:"")+'>\n\t\t\t<div class="meeting-data-template">'+(null!=(a=e.invokePartial(u(i,"meetingDataTemplate"),t,{name:"meetingDataTemplate",data:o,helpers:n,partials:i,decorators:e.decorators}))?a:"")+'</div>\n\t\t</td>\n\t\t<td class="bmlt-column3">\n'+(null!=(a=e.invokePartial(u(i,"metaDataTemplate"),t,{name:"metaDataTemplate",data:o,indent:"\t\t\t",helpers:n,partials:i,decorators:e.decorators}))?a:"")+(null!=(a=(u(n,"canShare")||t&&u(t,"canShare")||s).call(r,t,{name:"canShare",hash:{},fn:e.program(8,o,0),inverse:e.noop,data:o,loc:{start:{line:51,column:3},end:{line:53,column:16}}}))?a:"")+"\t\t</td>\n\t</tr>\n"},2:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<div class="bmlt-time-2">'+e.escapeExpression(e.lambda(null!=t?a(t,"start_time_formatted"):t,t))+"</div>\n"},4:function(e,t,n,i,o){var a=e.lambda,r=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<div class="bmlt-time-2">'+r(a(null!=t?s(t,"start_time_formatted"):t,t))+" - "+r(a(null!=t?s(t,"end_time_formatted"):t,t))+"</div>\n"},6:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<a id="bmlt-formats"\n\t\t\t\t class="btn btn-primary btn-xs"\n\t\t\t\t title=""\n\t\t\t\t data-html="true"\n\t\t\t\t tabindex="0"\n\t\t\t\t data-trigger="focus"\n\t\t\t\t role="button"\n\t\t\t\t data-toggle="popover"\n\t\t\t\t data-original-title=""\n\t\t\t\t data-content="'+(null!=(a=e.invokePartial((r(n,"selectFormatPopup")||t&&r(t,"selectFormatPopup")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"selectFormatPopup",hash:{},data:o,loc:{start:{line:34,column:25},end:{line:34,column:44}}}),t,{data:o,helpers:n,partials:i,decorators:e.decorators}))?a:"")+'">\n <span class="glyphicon glyphicon-search"\n\t\t\t\t\t\t aria-hidden="true"\n\t\t\t\t\t\t data-toggle="popover"\n\t\t\t\t\t\t data-trigger="focus"\n\t\t\t\t\t\t data-html="true"\n\t\t\t\t\t\t role="button"></span>'+e.escapeExpression(e.lambda(null!=t?r(t,"formats"):t,t))+"\n\t\t\t\t</a>\n"},8:function(e,t,n,i,o){var a,r=e.lambda,s=e.escapeExpression,l=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<a href="javascript:void(0);" id="share-button" class="btn btn-primary btn-xs" onclick=\'navigator.share({ text: JSON.stringify("'+s(r(null!=t?u(t,"formatted_day"):t,t))+" "+s(r(null!=t?u(t,"start_time_formatted"):t,t))+" - "+s(r(null!=t?u(t,"end_time_formatted"):t,t))+" "+s(r(null!=t?u(t,"meeting_name"):t,t))+" "+s(r(null!=t?u(t,"location_text"):t,t))+" "+s(r(null!=t?u(t,"formatted_address"):t,t))+" "+s(r(null!=t?u(t,"formatted_location_info"):t,t))+(null!=(a=u(n,"if").call(l,null!=t?u(t,"virtual_meeting_additional_info"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:52,column:320},end:{line:52,column:412}}}))?a:"")+'"), url: "'+(null!=(a=(u(n,"isVirtualOrHybrid")||t&&u(t,"isVirtualOrHybrid")||c).call(l,t,{name:"isVirtualOrHybrid",hash:{},fn:e.program(11,o,0),inverse:e.noop,data:o,loc:{start:{line:52,column:422},end:{line:52,column:609}}}))?a:"")+(null!=(a=(u(n,"isInPersonOrHybrid")||t&&u(t,"isInPersonOrHybrid")||c).call(l,t,{name:"isInPersonOrHybrid",hash:{},fn:e.program(16,o,0),inverse:e.noop,data:o,loc:{start:{line:52,column:609},end:{line:52,column:792}}}))?a:"")+'"})\'><span class="glyphicon glyphicon-share"></span> '+s(r(null!=t?u(t,"share_word"):t,t))+"</a>\n"},9:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression(e.lambda(null!=t?a(t,"virtual_meeting_additional_info"):t,t))},11:function(e,t,n,i,o){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=s(n,"if").call(r,null!=t?s(t,"virtual_meeting_link"):t,{name:"if",hash:{},fn:e.program(12,o,0),inverse:e.noop,data:o,loc:{start:{line:52,column:449},end:{line:52,column:518}}}))?a:"")+(null!=(a=s(n,"if").call(r,null!=t?s(t,"phone_meeting_number"):t,{name:"if",hash:{},fn:e.program(14,o,0),inverse:e.noop,data:o,loc:{start:{line:52,column:518},end:{line:52,column:587}}}))?a:"")},12:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=t?a(t,"virtual_meeting_link"):t,t))},14:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=t?a(t,"phone_meeting_number"):t,t))},16:function(e,t,n,i,o){var a=e.lambda,r=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" https://www.google.com/maps/search/?api=1&amp;query="+r(a(null!=t?s(t,"latitude"):t,t))+","+r(a(null!=t?s(t,"longitude"):t,t))+"&amp;q="+r(a(null!=t?s(t,"latitude"):t,t))+","+r(a(null!=t?s(t,"longitude"):t,t))},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a;return null!=(a=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:56,column:9}}}))?a:""},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.weekdays=Handlebars.template({1:function(e,t,n,i,o){var a,r,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <div id='tab"+e.escapeExpression("function"==typeof(r=null!=(r=c(n,"day")||(null!=t?c(t,"day"):t))?r:l)?r.call(s,{name:"day",hash:{},data:o,loc:{start:{line:3,column:20},end:{line:3,column:29}}}):r)+"' class='tab-pane'>\n <div id=\"bmlt-table-div\">\n <table class='bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack'>\n <tbody class=\"weekdays.hbs\">\n"+(null!=(a=(c(n,"greaterThan")||t&&c(t,"greaterThan")||l).call(s,null!=(a=null!=t?c(t,"meetings"):t)?c(a,"length"):a,0,{name:"greaterThan",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:7,column:6},end:{line:9,column:22}}}))?a:"")+(null!=(a=(c(n,"lessThan")||t&&c(t,"lessThan")||l).call(s,null!=(a=null!=t?c(t,"meetings"):t)?c(a,"length"):a,1,{name:"lessThan",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:10,column:6},end:{line:16,column:19}}}))?a:"")+" </tbody>\n </table>\n </div>\n </div>\n"},2:function(e,t,n,i,o){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=e.invokePartial(r(i,"meetings"),null!=t?r(t,"meetings"):t,{name:"meetings",data:o,indent:"\t\t\t\t\t\t\t",helpers:n,partials:i,decorators:e.decorators}))?a:""},4:function(e,t,n,i,o){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t"+e.escapeExpression((a(n,"getWord")||t&&a(t,"getWord")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"no_meetings_for_this_day",{name:"getWord",hash:{},data:o,loc:{start:{line:13,column:9},end:{line:13,column:47}}}))+"\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var a;return'<div class="tab-content">\n'+(null!=(a=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:4},end:{line:21,column:13}}}))?a:"")+"</div>\n"},usePartial:!0,useData:!0});var croutonDefaultTemplates={meeting_data_template:["{{#isTemporarilyClosed this}}"," <div class='temporarilyClosed'><span class='glyphicon glyphicon-flag'></span> {{temporarilyClosed this}}</div>","{{/isTemporarilyClosed}}","<div class='meeting-name'>{{> meetingModal this}}</div>","<div class='location-text'>{{this.location_text}}</div>","<div class='meeting-address'>{{this.formatted_address}}</div>","<div class='location-information'>{{this.formatted_location_info}}</div>","{{#if this.virtual_meeting_additional_info}}"," <div class='meeting-additional-info'>{{this.virtual_meeting_additional_info}}</div>","{{/if}}"].join("\n"),metadata_template:["{{#isVirtualOrHybrid this}}"," {{#isHybrid this}}"," <div class='meetsVirtually'><span class='glyphicon glyphicon-cloud-upload'></span> {{meetsHybrid this}}</div>"," {{else}}"," <div class='meetsVirtually'><span class='glyphicon glyphicon-cloud'></span> {{meetsVirtually this}}</div>"," {{/isHybrid}}"," {{#if this.virtual_meeting_link}}"," <div><span class='glyphicon glyphicon-globe'></span> {{webLinkify this.virtual_meeting_link}}</div>"," {{#if this.show_qrcode}}"," <div class='qrcode'>{{qrCode this.virtual_meeting_link}}</div>"," {{/if}}"," {{/if}}"," {{#if this.phone_meeting_number}}"," <div><span class='glyphicon glyphicon-earphone'></span> {{phoneLinkify this.phone_meeting_number}}</div>"," {{#if this.show_qrcode}}"," <div class='qrcode'>{{qrCode this.phone_meeting_number}}</div>"," {{/if}}"," {{/if}}","{{/isVirtualOrHybrid}}","{{#isNotTemporarilyClosed this}}"," {{#unless (hasFormats 'VM' this)}}"," <div>"," <a onclick='crouton.meetingModal({{this.id_bigint}})' id='map-button' class='btn btn-primary btn-xs'>","\t\t\t\t<span class='glyphicon glyphicon-search' aria-hidden='true'></span>","\t\t\t\t{{getWord 'meeting details'}}","\t\t\t</a>"," </div>"," <div class='geo hide'>{{this.latitude}},{{this.longitude}}</div>"," {{/unless}}","{{/isNotTemporarilyClosed}}"].join("\n"),observer_template:["<div class='observerLine'>{{this.contact_name_1}} {{this.contact_phone_1}} {{this.contact_email_1}}</div>","<div class='observerLine'>{{this.contact_name_2}} {{this.contact_phone_2}} {{this.contact_email_2}}</div>"].join("\n"),meeting_count_template:["{{#if this.config.has_meeting_count}}","<span class='bmlt_tabs_meeting_count'>{{getWord 'meeting_count'}} <span id='bmlt_tabs_meeting_count-live'>{{this.meetings.meetingCount}}</span></span>","{{/if}}"].join("\n"),meeting_link_template:["{{#if this.meeting_details_url}}","<a href='{{{this.meeting_details_url}}}'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>","{{else}}","{{this.meeting_name}}","{{/if}}"].join("\n"),meeting_modal_template:["<a onclick='crouton.meetingModal({{this.id_bigint}})'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>"].join("\n"),meetingpage_frame_template:'\n\t<div id="meeting_modal" class="modal bootstrap-bmlt" style="display: none;">\n\t<div class="modal-content">\n <span class="modal-title">{{getWord "Meeting Details"}}</span><span id="close_meeting_details" class="modal-close">×</span>\n\t\t<table id="meeting-details-table" class="bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack meeting-details">\n\t\t\t<thead>\n \t\t<th id="meeting-details-title" colspan="2">\n\t\t \t\t{{> meetingpageTitleTemplate this}}\n\t \t\t</th>\n \t\t</thead>\n \t\t<tbody>\n \t\t<tr id="meeting-details-contents">\n \t\t\t{{> meetingpageContentsTemplate this}}\n \t\t</tr>\n \t\t</tbody>\n\t\t</table>\n\t\t<div>\n\t\t\t<a id="map-button" class="btn btn-primary btn-xs" href="{{{this.meeting_details_url}}}" target="_blank" rel="noopener noreferrer" style="float:left">\n\t\t\t\t{{getWord "Meeting Page"}}</a>\n\t\t\t<a id="map-button" class="btn btn-primary btn-xs modal-close" style="float:right">\n\t\t\t\t{{getWord "Close"}}</a>\n\t\t</div>\n\t</div></div>',meetingpage_title_template:["{{this.formatted_day}} {{this.start_time_formatted}} - {{this.end_time_formatted}}: {{this.meeting_name}}"].join("\n"),meetingpage_contents_template:'<td id="meetingpage_map_td">\n\t\t{{#isInPersonOrHybrid this}}\n {{{crouton_map}}}\n </td>\n <td style="vertical-align:top;">\n <h4>Location:</h4>\n {{#isTemporarilyClosed this}}\n <div class="temporarilyClosed">{{temporarilyClosed this}}</div>\n {{/isTemporarilyClosed}}\n <div class="location-text">{{{this.location_text}}}</div>\n <div class="meeting-address">{{this.formatted_address}}</div>\n <div class="location-information">{{{this.formatted_location_info}}}</div>\n <a href="https://www.google.com/maps/dir/?api=1&destination={{this.latitude}}%2C{{this.longitude}}" class="bootstrap-bmlt" ><div class="btn btn-primary bmlt-xs get-directions"><span class="glyphicon glyphicon-road"></span> {{getWord "google_directions"}}</div></a>\n <br/>\n {{/isInPersonOrHybrid}}\n {{#isVirtualOrHybrid this}}\n <h4>Join this meeting online:</h4>\n {{#if virtual_meeting_link}}\n <div>{{webLinkify this.virtual_meeting_link}}</div>\n {{#if show_qrcode}}\n <div class="qrcode">{{qrCode virtual_meeting_link}}</div>\n {{/if}}\n {{/if}}\n {{#if this.phone_meeting_number}}\n <div>{{phoneLinkify this.phone_meeting_number}}</div>\n {{#if this.show_qrcode}}\n <div class="qrcode">{{qrCode this.phone_meeting_number}}</div>\n {{/if}}\n {{/if}}\n {{#if this.virtual_meeting_additional_info}}\n {{this.virtual_meeting_additional_info}}\n {{/if}}\n <br/>\n {{/isVirtualOrHybrid}}\n <br/>\n {{#if formats_expanded}}\n <h4>Meeting Formats</h4>\n <ul>\n {{#each formats_expanded}}\n <li>{{description}}</li>\n {{/each}}\n </ul>\n <br/>\n {{/if}}\n <h4>Contact:</h4>\n This meeting is in <a href="{{serviceBodyUrl}}">{{serviceBodyName}}</a>\n </td>',marker_contents_template:'<h4>{{meeting_name}}</h4>\n\t<div class="active">\n\t\t<div class="marker_div_location_text">{{{this.location_text}}}</div>\n\t\t<div class="marker_div_location_address">{{this.formatted_address}}</div>\n\t\t<div class="marker_div_location_info">{{{this.formatted_location_info}}}</div>\n\t\t<div class="marker_div_location_maplink">\n\t\t{{#if this.meeting_details_url}}\n\t\t\t<a href="{{this.meeting_details_url}}" target="_blank">More info</a>\n\t\t{{/if}}\n\t\t</div>\n\t\t<div class="marker_div_formats">\n\t\t{{#each this.formats_expanded}}{{#if @index}}; {{/if}}{{this.name}}{{/each}}\n\t\t</div>\n\t</div>\n\t'};!function(e){var t="object"==typeof exports&&exports&&!exports.nodeType&&exports,n="object"==typeof module&&module&&!module.nodeType&&module,i="object"==typeof global&&global;i.global!==i&&i.window!==i&&i.self!==i||(e=i);var o,a,r=2147483647,s=36,l=1,c=26,u=38,h=700,d=72,p=128,f="-",m=/^xn--/,g=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=s-l,b=Math.floor,w=String.fromCharCode;function A(e){throw new RangeError(y[e])}function x(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function k(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+x((e=e.replace(_,".")).split("."),t).join(".")}function S(e){for(var t,n,i=[],o=0,a=e.length;o<a;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<a?56320==(64512&(n=e.charCodeAt(o++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),o--):i.push(t);return i}function C(e){return x(e,function(e){var t="";return e>65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function P(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function M(e,t,n){var i=0;for(e=n?b(e/h):e>>1,e+=b(e/t);e>v*c>>1;i+=s)e=b(e/v);return b(i+(v+1)*e/(e+u))}function T(e){var t,n,i,o,a,u,h,m,g,_,y,v=[],w=e.length,x=0,k=p,S=d;for((n=e.lastIndexOf(f))<0&&(n=0),i=0;i<n;++i)e.charCodeAt(i)>=128&&A("not-basic"),v.push(e.charCodeAt(i));for(o=n>0?n+1:0;o<w;){for(a=x,u=1,h=s;o>=w&&A("invalid-input"),((m=(y=e.charCodeAt(o++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:s)>=s||m>b((r-x)/u))&&A("overflow"),x+=m*u,!(m<(g=h<=S?l:h>=S+c?c:h-S));h+=s)u>b(r/(_=s-g))&&A("overflow"),u*=_;S=M(x-a,t=v.length+1,0==a),b(x/t)>r-k&&A("overflow"),k+=b(x/t),x%=t,v.splice(x++,0,k)}return C(v)}function L(e){var t,n,i,o,a,u,h,m,g,_,y,v,x,k,C,T=[];for(v=(e=S(e)).length,t=p,n=0,a=d,u=0;u<v;++u)(y=e[u])<128&&T.push(w(y));for(i=o=T.length,o&&T.push(f);i<v;){for(h=r,u=0;u<v;++u)(y=e[u])>=t&&y<h&&(h=y);for(h-t>b((r-n)/(x=i+1))&&A("overflow"),n+=(h-t)*x,t=h,u=0;u<v;++u)if((y=e[u])<t&&++n>r&&A("overflow"),y==t){for(m=n,g=s;!(m<(_=g<=a?l:g>=a+c?c:g-a));g+=s)C=m-_,k=s-_,T.push(w(P(_+C%k,0))),m=b(C/k);T.push(w(P(m,0))),a=M(n,x,i==o),n=0,++i}++n,++t}return T.join("")}if(o={version:"1.4.1",ucs2:{decode:S,encode:C},decode:T,encode:L,toASCII:function(e){return k(e,function(e){return g.test(e)?"xn--"+L(e):e})},toUnicode:function(e){return k(e,function(e){return m.test(e)?T(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return o});else if(t&&n)if(module.exports==t)n.exports=o;else for(a in o)o.hasOwnProperty(a)&&(t[a]=o[a]);else e.punycode=o}(this);var defaultOptions={timeout:3e5,jsonpCallback:"callback",jsonpCallbackFunction:null};function generateCallbackFunction(){return"jsonp_"+Date.now().toString()+"_"+Math.ceil(1e5*Math.random()).toString()}function clearFunction(e){try{delete window[e]}catch(t){window[e]=void 0}}function removeScript(e){var t=document.getElementById(e);t&&document.getElementsByTagName("head")[0].removeChild(t)}function fetchJsonp(e,t){t||(t={});var n,i=e,o=t.timeout||defaultOptions.timeout,a=t.jsonpCallback||defaultOptions.jsonpCallback;return new Promise(function(r,s){var l=t.jsonpCallbackFunction||generateCallbackFunction(),c=a+"_"+l;window[l]=function(e){r({ok:!0,json:function(){return Promise.resolve(e)}}),n&&clearTimeout(n),removeScript(c),clearFunction(l)},i+=-1===i.indexOf("?")?"?":"&";var u=document.createElement("script");u.setAttribute("src",i+a+"="+l),t.charset&&u.setAttribute("charset",t.charset),t.nonce&&u.setAttribute("nonce",t.nonce),t.referrerPolicy&&u.setAttribute("referrerPolicy",t.referrerPolicy),u.id=c,document.getElementsByTagName("head")[0].appendChild(u),n=setTimeout(function(){s(new Error("JSONP request to "+e+" timed out")),clearFunction(l),removeScript(c),window[l]=function(){clearFunction(l)}},o),u.onerror=function(){s(new Error("JSONP request to "+e+" failed")),clearFunction(l),removeScript(c),n&&clearTimeout(n)}})}!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";function e(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})}function t(e){return new this(function(t,n){if(!e||void 0===e.length)return n(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);var o=i.length;function a(e,n){if(n&&("object"==typeof n||"function"==typeof n)){var r=n.then;if("function"==typeof r)return void r.call(n,function(t){a(e,t)},function(n){i[e]={status:"rejected",reason:n},0==--o&&t(i)})}i[e]={status:"fulfilled",value:n},0==--o&&t(i)}for(var r=0;r<i.length;r++)a(r,i[r])})}var n=setTimeout,i="undefined"!=typeof setImmediate?setImmediate:null;function o(e){return Boolean(e&&void 0!==e.length)}function a(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void c(t.promise,e)}l(t.promise,i)}else(1===e._state?l:c)(t.promise,e._value)})):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof n)return void d((i=n,o=t,function(){i.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){c(e,t)}var i,o}function c(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function h(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function d(e,t){var n=!1;try{e(function(e){n||(n=!0,l(t,e))},function(e){n||(n=!0,c(t,e))})}catch(e){if(n)return;n=!0,c(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(a);return s(this,new h(e,t,n)),n},r.prototype.finally=e,r.all=function(e){return new r(function(t,n){if(!o(e))return n(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);var a=i.length;function r(e,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,function(t){r(e,t)},n)}i[e]=o,0==--a&&t(i)}catch(e){n(e)}}for(var s=0;s<i.length;s++)r(s,i[s])})},r.allSettled=t,r.resolve=function(e){return e&&"object"==typeof e&&e.constructor===r?e:new r(function(t){t(e)})},r.reject=function(e){return new r(function(t,n){n(e)})},r.race=function(e){return new r(function(t,n){if(!o(e))return n(new TypeError("Promise.race accepts an array"));for(var i=0,a=e.length;i<a;i++)r.resolve(e[i]).then(t,n)})},r._immediateFn="function"==typeof i&&function(e){i(e)}||function(e){n(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var p=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}();"function"!=typeof p.Promise?p.Promise=r:(p.Promise.prototype.finally||(p.Promise.prototype.finally=e),p.Promise.allSettled||(p.Promise.allSettled=t))});var crouton_Handlebars=Handlebars.noConflict();function Crouton(e){var t=this;t.mutex=!1,t.filtering=!1,t.masterFormatCodes=[],t.max_filters=10,t.config={on_complete:null,root_server:null,placeholder_id:"bmlt-tabs",map_max_zoom:15,time_format:"h:mm a",language:"en-US",has_tabs:!0,filter_tabs:!1,header:!0,include_weekday_button:!0,int_include_unpublished:0,button_filters:[{title:"City",field:"location_municipality"}],button_format_filters:[],default_filter_dropdown:"",show_map:"embed",map_search:null,has_days:!1,has_cities:!0,has_formats:!0,has_groups:!1,has_locations:!0,has_zip_codes:!1,has_areas:!1,has_regions:!1,has_states:!1,has_sub_province:!1,has_neighborhoods:!1,has_languages:!1,has_common_needs:!1,has_venues:!0,has_meeting_count:!1,show_distance:!1,distance_search:0,recurse_service_bodies:!1,service_body:[],formats:"",venue_types:"",strict_datafields:!0,meeting_details_href:"",virtual_meeting_details_href:"",exclude_zip_codes:[],extra_meetings:[],native_lang:"",auto_tz_adjust:!1,base_tz:null,custom_query:null,sort_keys:"start_time",int_start_day_id:1,view_by:"weekday",show_qrcode:!1,force_rootserver_in_querystring:!0,force_timeformat_in_querystring:!0,force_language_in_querystring:!0,theme:"jack",meeting_data_template:croutonDefaultTemplates.meeting_data_template,metadata_template:croutonDefaultTemplates.metadata_template,observer_template:croutonDefaultTemplates.observer_template,meeting_count_template:croutonDefaultTemplates.meeting_count_template,meeting_link_template:croutonDefaultTemplates.meeting_link_template,meeting_modal_template:croutonDefaultTemplates.meeting_modal_template,meetingpage_title_template:croutonDefaultTemplates.meetingpage_title_template,meetingpage_contents_template:croutonDefaultTemplates.meetingpage_contents_template,meetingpage_frame_template:croutonDefaultTemplates.meetingpage_frame_template,lat:0,lng:0,zoom:10,clustering:12,nominatimUrl:"https://nominatim.openstreetmap.org/",tileUrl:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",tileOptions:{attribution:'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>',maxZoom:18},minZoom:6,maxZoom:17},t.setConfig(e),Crouton.prototype.searchByCoordinates=function(e,n,i){t.config.custom_query=(null!==t.config.custom_query?t.config.custom_query:"")+"&lat_val="+e+"&long_val="+n+("km"===t.config.distance_units?"&geo_width_km=":"&geo_width=")+i,t.meetingSearch().then(function(){t.config.refresh_map=1,t.config.show_map=1,t.reset(),t.render()})},t.getMeetings=function(e){var n=[fetchJsonp(this.config.root_server+e).then(function(e){return e.json()})];if(t.config.extra_meetings.length>0){for(var i="",o=0;o<t.config.extra_meetings.length;o++)i+="&meeting_ids[]="+t.config.extra_meetings[o];const a=/&services\[\]=\d+/;e=e.replace(a,""),n.push(fetchJsonp(t.config.root_server+e+i).then(function(e){return e.json()}))}return Promise.all(n).then(function(n){var i,o=n[0],a=JSON.stringify(o.meetings);if(2===n.length&&(i=n[1]),"{}"===a||"[]"===a){var r=t.config.root_server+e;return console.log('Could not find any meetings for the criteria specified with the query <a href="'+r+'" target=_blank>'+r+"</a>"),jQuery("#"+t.config.placeholder_id).html("No meetings found."),void(t.mutex=!1)}o.meetings.exclude(t.config.exclude_zip_codes,"location_postal_code_1"),t.meetingData=o.meetings,t.formatsData=o.formats,i&&(t.meetingData=t.meetingData.concat(i.meetings)),t.mutex=!1})},t.addDatafieldsToQuery=function(){if(!t.config.strict_datafields)return t.all_data_keys=[],t.queryable_data_keys=[],"";var e=["location_postal_code_1","duration_time","start_time","time_zone","weekday_tinyint","service_body_bigint","longitude","latitude","location_province","location_municipality","location_street","location_info","location_text","location_neighborhood","formats","format_shared_id_list","comments","meeting_name","location_sub_province","worldid_mixed","root_server_uri","id_bigint","venue_type"],n=["serviceBodyName","serviceBodyUrl","serviceBodyPhone","serviceBodyDescription","serviceBodyType","parentServiceBodyName","parentServiceBodyUrl","parentServiceBodyPhone","parentServiceBodyDescription","parentServiceBodyType","map_word","share_word","show_qrcode","formatted_day","formatted_address","formats_expanded","formatted_location_info","end_time_formatted","start_time_formatted","formatted_comments","start_time_raw","venue_type_name","day_of_the_week"];return t.all_data_keys=e.clone(),t.queryable_data_keys=e.clone(),t.collectDataKeys=function(e){for(var i=/this\.([A-Za-z0-9_]*)}}/gi;arr=i.exec(e);)t.all_data_keys.push(arr[1]),inArray(arr[1],n)||t.queryable_data_keys.push(arr[1])},t.collectDataKeys(t.config.meeting_data_template),t.collectDataKeys(t.config.metadata_template),t.collectDataKeys(t.config.observer_template),"&data_field_key="+arrayUnique(t.queryable_data_keys).join(",")},t.mutex=!0,t.meetingSearch=function(){var e="/client_interface/jsonp/?switcher=GetSearchResults&get_used_formats&lang_enum="+t.config.short_language+t.addDatafieldsToQuery();if(t.config.formats&&(e+=t.config.formats.reduce(function(e,t){return e+"&formats[]="+t},"")),t.config.venue_types&&(e+=t.config.venue_types.reduce(function(e,t){return e+"&venue_types[]="+t},"")),1===t.config.int_include_unpublished?e+="&advanced_published=0":-1===t.config.int_include_unpublished&&(e+="&advanced_published=-1"),0===t.config.distance_search){if(null!=t.config.custom_query)return e+=t.config.custom_query+"&sort_keys="+t.config.sort_keys,t.getMeetings(e);if(t.config.service_body.length>0){for(var n=0;n<t.config.service_body.length;n++)e+="&services[]="+t.config.service_body[n];return t.config.recurse_service_bodies&&(e+="&recursive=1"),e+="&sort_keys="+t.config.sort_keys,t.getMeetings(e)}return new Promise(function(e,t){e()})}if(navigator.geolocation)return new Promise(function(e,t){navigator.geolocation.getCurrentPosition(e,t)}).then(function(n){return e+="&lat_val="+n.coords.latitude+"&long_val="+n.coords.longitude+"&sort_results_by_distance=1",e+=("km"===t.config.distance_units?"&geo_width_km=":"&geo_width=")+t.config.distance_search,t.getMeetings(e)})},t.lock=function(e){var t=this,n=setInterval(function(){t.mutex||(clearInterval(n),e())},100)},t.dayTab=function(e){t.hideAllPages(),jQuery('.nav-tabs a[href="#tab'+e+'"]').tab("show"),t.showPage("#"+e)},t.dayTabFromId=function(e){day_id=t.meetingData.find(t=>t.id_bigint==e).weekday_tinyint,t.dayTab(day_id)},t.showPage=function(e){jQuery(e).removeClass("hide").addClass("show")},t.showView=function(e){"byday"===e?t.byDayView():"day"===e||"weekday"===e?t.dayView():"city"===e?t.filteredView("location_municipality"):t.filteredView(e)},t.byDayView=function(){t.resetFilter(),t.lowlightButton(".filterButton"),t.highlightButton("#day"),jQuery(".bmlt-page").each(function(e){t.hidePage("#"+this.id),t.showPage("#byday"),t.showPage("#nav-days")})},t.dayView=function(){t.resetFilter(),t.lowlightButton(".filterButton"),t.highlightButton("#day"),jQuery(".bmlt-page").each(function(e){t.hidePage("#"+this.id),t.showPage("#days"),t.showPage("#nav-days"),t.showPage("#tabs-content")})},t.filteredView=function(e,n=!0){n&&t.resetFilter(),t.lowlightButton("#day"),t.lowlightButton(".filterButton"),t.highlightButton("#filterButton_"+e),jQuery(".bmlt-page").each(function(n){t.hidePage("#"+this.id),t.showPage("#byfield_"+e)})},t.lowlightButton=function(e){jQuery(e).removeClass("buttonHighlight").addClass("buttonLowlight")},t.highlightButton=function(e){jQuery(e).removeClass("buttonLowlight").addClass("buttonHighlight")},t.hidePage=function(e){jQuery(e).removeClass("show").addClass("hide")},t.hideAllPages=function(e){jQuery("#tab-pane").removeClass("show").addClass("hide")},t.filteredPage=function(){jQuery(".meeting-header").removeClass("hide"),jQuery(".bmlt-data-row").removeClass("hide");var e=!1;if(jQuery(".filter-dropdown").each(function(t,n){const i=n.value.replace("a-","");if(""===i)return;e=!0;const o=n.getAttribute("data-pointer").toLowerCase();"formats"!==o&&"languages"!==o&&"venues"!==o&&"common_needs"!==o?jQuery(".bmlt-data-row").not("[data-"+o+"='"+i+"']").addClass("hide"):jQuery(".bmlt-data-row").not("[data-"+o+"~='"+i+"']").addClass("hide")}),!e)return t.filtering=!1,void(croutonMap&&croutonMap.fillMap());var n=[];jQuery(".bmlt-data-row").not(".hide").each(function(e,t){jQuery(t).addClass(e%2?"oddRow":"evenRow");const i=t.id.split("-");n.push(i[i.length-1])}),n=[...new Set(n)],t.updateMeetingCount(n),t.updateFilters(),croutonMap&&croutonMap.fillMap(n),t.config.map_page&&(jQuery("#byfield_embeddedMapPage").hasClass("hide")||(jQuery("#displayTypeButton_tablePages").removeClass("hide"),jQuery("#filterButton_embeddedMapPage").addClass("hide"))),t.config.map_page&&!jQuery("#byfield_embeddedMapPage").hasClass("hide")||t.showFilteredMeetingsAsTable(),t.filtering=!0},t.showFilteredMeetingsAsTable=function(){t.config.filter_tabs?(t.showPage("#nav-days"),t.showPage("#tabs-content")):(t.lowlightButton(".filterButton"),t.lowlightButton("#day"),t.showPage("#byday"),jQuery(".bmlt-data-rows").each(function(e,t){jQuery(t).find(".bmlt-data-row.hide").length===jQuery(t).find(".bmlt-data-row").length&&jQuery(t).find(".meeting-header").addClass("hide")}))},t.resetFilter=function(){t.config.map_page?(t.filtering&&croutonMap.fillMap(),jQuery("#displayTypeButton_tablePages").addClass("hide"),jQuery("#filterButton_embeddedMapPage").removeClass("hide")):t.config.show_map&&croutonMap.fillMap(),t.filtering=!1,t.updateFilters(),t.updateMeetingCount(),jQuery(".filter-dropdown").val(null).trigger("change"),jQuery(".meeting-header").removeClass("hide"),jQuery(".bmlt-data-row").removeClass("hide"),jQuery(".evenRow").removeClass("evenRow"),jQuery(".oddRow").removeClass("oddRow")},t.updateFilters=function(){const e=function(e){return e.id.replace("meeting-data-row-","")};t.dropdownData.forEach(function(n,i){let o=[];jQuery(".filter-dropdown").each(function(t,i){if(i.id===n.elementId)return;const a=i.value.replace("a-","");if(""===a)return;filteringDropdown=!0;const r=i.getAttribute("data-pointer").toLowerCase();"formats"!==r&&"languages"!==r&&"venues"!==r&&"common_needs"!==r?jQuery(".bmlt-data-row").not("[data-"+r+"='"+a+"']").each((t,n)=>o.push(e(n))):jQuery(".bmlt-data-row").not("[data-"+r+"~='"+a+"']").each((t,n)=>o.push(e(n)))}),o=[...new Set(o)];let a=t.meetingData.filter(e=>!o.includes(e.id_bigint));n.optionsShowing=n.uniqueData(a).map(e=>n.optionName(e))})},t.renderStandaloneMap=function(e,n,i=null,o=!0){hbs_Crouton.localization=t.localization,t.config.hide_byday_headers=!0,crouton_Handlebars.registerPartial("meetings",hbs_Crouton.templates.meetings),crouton_Handlebars.registerPartial("bydays",hbs_Crouton.templates.byday),crouton_Handlebars.registerPartial("formatPopup",hbs_Crouton.templates.formatPopup),window.crouton=t,croutonMap.initialize(t.createBmltMapElement(),t.meetingData,n,null,o,i)},t.getCurrentLocation=function(e){navigator.geolocation?navigator.geolocation.getCurrentPosition(e,t.errorHandler):$(".geo").removeClass("hide").addClass("show").html("<p>Geolocation is not supported by your browser</p>")},t.renderView=function(e,n,i,o){hbs_Crouton.localization=t.localization,crouton_Handlebars.registerPartial("meetings",hbs_Crouton.templates.meetings),crouton_Handlebars.registerPartial("bydays",hbs_Crouton.templates.byday),crouton_Handlebars.registerPartial("weekdays",hbs_Crouton.templates.weekdays),crouton_Handlebars.registerPartial("header",hbs_Crouton.templates.header),crouton_Handlebars.registerPartial("byfields",hbs_Crouton.templates.byfield),crouton_Handlebars.registerPartial("formatPopup",hbs_Crouton.templates.formatPopup);var a=hbs_Crouton.templates.main;jQuery(e).html(a(n)),i()},t.updateMeetingCount=function(e=null){let n=(t=this).meetingData.length;addLive=function(e){return e+", "+e+"-live"},null!==e&&(n=e.length,addLive=function(e){return e+"-live"}),jQuery(addLive("#bmlt_tabs_meeting_count")).text(n),jQuery(addLive("#bmlt_tabs_group_count")).each(function(){var n=t.meetingData;null!==e&&(n=t.meetingData.filter(t=>e.includes(t.id_bigint)));var i=n.map(e=>""!==e.worldid_mixed?e.worldid_mixed:e.meeting_name);jQuery(this).text(arrayUnique(i).length)}),jQuery(addLive("#bmlt_tabs_service_body_names")).each(function(){var n=t.meetingData;null!==e&&(n=t.meetingData.filter(t=>e.includes(t.id_bigint)));var i=getUniqueValuesOfKey(n,"service_body_bigint"),o=this;t.getServiceBodies(i).then(function(e){var t=e.length,n=e.map(e=>e.name);n.sort();var i="";if(1===t)i=n[0];else{i=n[0];for(var a=1;a<t-1;a++)i+=", ",i+=n[a];i+=" and "+n[t-1]}jQuery(o).text(i)})})},t.getServiceBodies=function(e){var n=t.config.has_regions;return fetchJsonp(this.config.root_server+"/client_interface/jsonp/?switcher=GetServiceBodies"+(n?"&parents=1":"")+getServiceBodiesQueryString(e)).then(function(e){return e.json()})},t.getMasterFormats=function(){return fetchJsonp(this.config.root_server+"/client_interface/jsonp/?switcher=GetFormats&lang_enum=en&key_strings[]=TC&key_strings[]=VM&key_strings[]=HY").then(function(e){return e.json()})},t.showLocation=function(e){var n,i,o=e.coords.latitude,a=e.coords.longitude;"km"===t.config.distance_units?(n="km",i="K"):"nm"===t.config.distance_units?(n="nm",i="N"):(n="mi",i="M"),jQuery(".geo").each(function(){var e=jQuery(this).html().split(","),r=t.distance(o,a,e[0],e[1],i);jQuery(this).removeClass("hide").addClass("show").html(r.toFixed(1)+" "+n)})},t.errorHandler=function(e){jQuery(".geo").removeClass("hide").addClass("show").html("")},t.handlebars=function(e,n){var i=!1;handlebarMapOptions=[],crouton_Handlebars.registerHelper("crouton_map",function(n){return i=!0,t.handlebarMapOptions=n.hash,t.handlebarMapOptions.zoom||(t.handlebarMapOptions.zoom=14),t.handlebarMapOptions.lat=parseFloat(e.latitude),t.handlebarMapOptions.lng=parseFloat(e.longitude),"<div id='bmlt-handlebars-map' class='bmlt-map'></div>"});for(var o=new DOMParser;n.length>0;){var a=n.item(0);if(a.firstChild){var r,s="";if(1===a.firstChild.nodeType){if(!a.firstChild.firstChild||3!==a.firstChild.firstChild.nodeType){console.log("<bmlt-handlebar> tag: cannot find textnode"),a.remove();continue}s=a.firstChild.firstChild.textContent}else 3===a.firstChild.nodeType&&(s=a.firstChild.textContent);try{r=crouton_Handlebars.compile(s)(e)}catch(e){console.log(e),r=e.message}var l=o.parseFromString("<body>"+r+"</body>","text/html");if(l.body&&l.body.firstChild){for(var c=l.body.firstChild,u=[],h=c,d=null;d=h.nextSibling;)h=d,u.push(h);a.replaceWith(c),u&&c.after(...u)}else console.log("<bmlt-handlebar> tag: could not parse the Handlebars result"),a.replaceWith("<bmlt-handlebar> tag: could not parse the Handlebars result")}else console.log("<bmlt-handlebar> tag must have at least one child"),a.remove()}i&&croutonMap.loadPopupMap("bmlt-handlebars-map",e,t.handlebarMapOptions)},Crouton.prototype.filterNext24=function(e=!0){if(!e)return jQuery("#filter-dropdown-next24").val("a-"),void t.filteredPage();const n=new Date,i=n.getDay(),o=n.getHours(),a=n.getMinutes(),r=t.meetingData.filter(function(e){var t=e.weekday_tinyint-1;if(t==i){var n=e.start_time.toString().split(":"),r=parseInt(n[0]);if(r>o)return!0;if(r==o&&parseInt(n[1])>a)return!0}else if(t==(i+1)%7)return!0;return!1}).map(e=>e.id_bigint);jQuery(".bmlt-data-row").each(function(e,t){t.dataset.next24=r.includes(t.id.split("-").pop())?"1":"0"}),jQuery("#filter-dropdown-next24").val("a-1"),t.filteredPage()},t.distance=function(e,t,n,i,o){if(e===n&&t===i)return 0;var a=Math.PI*e/180,r=Math.PI*n/180,s=t-i,l=Math.PI*s/180,c=Math.sin(a)*Math.sin(r)+Math.cos(a)*Math.cos(r)*Math.cos(l);return c>1&&(c=1),c=60*(c=180*(c=Math.acos(c))/Math.PI)*1.1515,"K"===o?1.609344*c:"N"===o?.8684*c:c},t.toFarsinNumber=function(e){const t=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"];return e.replace(/\d/g,e=>t[e])},t.enrichMeetings=function(e){var n=[];crouton_Handlebars.registerPartial("meetingDataTemplate",t.config.meeting_data_template),crouton_Handlebars.registerPartial("metaDataTemplate",t.config.metadata_template),crouton_Handlebars.registerPartial("observerTemplate",t.config.observer_template),crouton_Handlebars.registerPartial("meetingpageTitleTemplate",t.config.meetingpage_title_template),crouton_Handlebars.registerPartial("meetingpageContentsTemplate",t.config.meetingpage_contents_template),crouton_Handlebars.registerPartial("meetingCountTemplate",t.config.meeting_count_template),crouton_Handlebars.registerPartial("meetingLink",t.config.meeting_link_template),crouton_Handlebars.registerPartial("meetingModal",t.config.meeting_modal_template);for(var i=0;i<e.length;i++){e[i].formatted_comments=e[i].comments;var o=e[i].duration_time.split(":");e[i].start_time_raw=this.getAdjustedDateTime(1===parseInt(e[i].weekday_tinyint)?7:parseInt(e[i].weekday_tinyint)-1,e[i].start_time,e[i].time_zone),e[i].start_time_formatted=e[i].start_time_raw.format(t.config.time_format),e[i].end_time_formatted=e[i].start_time_raw.clone().add(o[0],"hours").add(o[1],"minutes").format(t.config.time_format),"fa-IR"===t.config.language&&(e[i].start_time_formatted=t.toFarsinNumber(e[i].start_time_formatted),e[i].end_time_formatted=t.toFarsinNumber(e[i].end_time_formatted)),e[i].day_of_the_week=7===e[i].start_time_raw.isoWeekday()?1:e[i].start_time_raw.isoWeekday()+1,e[i].formatted_day=t.localization.getDayOfTheWeekWord(e[i].day_of_the_week);var a=e[i].formats.split(","),r=[];let f=t.formatsData.filter(t=>t.root_server_uri==e[i].root_server_uri);for(var s=0;s<a.length;s++)for(var l=0;l<f.length;l++)a[s]===f[l].key_string&&r.push({id:f[l].id,key:a[s],name:f[l].name_string,description:f[l].description_string,type:f[l].format_type_enum});e[i].venue_type=parseInt(e[i].venue_type),e[i].venue_type_name=getVenueTypeName(e[i]),e[i].formats_expanded=r;var c=[e[i].location_street,e[i].location_municipality.trim(),e[i].location_province.trim(),e[i].location_postal_code_1.trim()];for(var u in c.clean(),e[i].formatted_address=c.join(", "),e[i].formatted_location_info=null!=e[i].location_info?e[i].location_info.replace("/(http|https)://([A-Za-z0-9._-/?=&;%,]+)/i",'<a style="text-decoration: underline;" href="$1://$2" target="_blank">$1://$2</a>'):"",e[i].map_word=t.localization.getWord("map").toUpperCase(),e[i].share_word=t.localization.getWord("share").toUpperCase(),e[i].show_qrcode=t.config.show_qrcode,e[i])if(e[i].hasOwnProperty(u)&&"string"==typeof e[i][u]&&-1!==e[i][u].indexOf("#@-@#")){var h=e[i][u].split("#@-@#");e[i][u]=h[h.length-1]}var d=t.getServiceBodyDetails(e[i].service_body_bigint);e[i].serviceBodyUrl=d.url,e[i].serviceBodyPhone=d.helpline,e[i].serviceBodyName=d.name,e[i].serviceBodyDescription=d.description,e[i].serviceBodyContactEmail=d.contact_email,e[i].serviceBodyType=t.localization.getServiceBodyType(d.type);var p=t.getServiceBodyDetails(d.parent_id);void 0!==p&&(e[i].parentServiceBodyId=d.parent_id,e[i].parentServiceBodyUrl=p.url,e[i].parentServiceBodyPhone=p.helpline,e[i].parentServiceBodyName=p.name,e[i].parentServiceBodyDescription=p.description,e[i].parentServiceBodyType=t.localization.getServiceBodyType(p.type)),e[i].meeting_details_url="",t.config.meeting_details_href&&(e[i].meeting_details_url=t.config.meeting_details_href,2===e[i].venue_type&&t.config.virtual_meeting_details_href&&(e[i].meeting_details_url=t.config.virtual_meeting_details_href),e[i].meeting_details_url+="?meeting-id="+e[i].id_bigint+"&language="+t.config.language+"&time_format="+encodeURIComponent(t.config.time_format)+(t.config.force_rootserver_in_querystring?"&root_server="+encodeURIComponent(t.config.root_server):"")),n.push(e[i])}return n},t.showMessage=function(e){jQuery("#"+t.config.placeholder_id).html("crouton: "+e),jQuery("#"+t.config.placeholder_id).removeClass("hide")},t.getUsedVenueType=function(e){let n=getUniqueValuesOfKey(e,"venue_type");return n.includes(3)?Object.values(t.localization.getWord("venue_type_choices")):2===n.length?Object.values(t.localization.getWord("venue_type_choices")):1===n[0]?[t.localization.getWord("venue_type_choices").IN_PERSON]:[t.localization.getWord("venue_type_choices").VIRTUAL]},t.getUsedVisibility=function(e){return[{name:"Visible",value:1}]},t.getUsedNext24=function(e){return[{name:"Next24",value:1}]},t.isEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},t.createBmltMapElement=function(){return document.getElementById("bmlt-map")||jQuery("#bmlt-tabs").before("<div id='bmlt-map' class='bootstrap-bmlt bmlt-map bmlt_map_container_div'></div>"),"bmlt-map"},(t.config.show_map||t.config.map_search)&&void 0===window.croutonMap&&(window.croutonMap=new MeetingMap(t.config),t.config.map_search&&t.searchMap()),t.meetingSearch()}function getTrueResult(e,t){return void 0===e.fn||e.fn(t)}function getFalseResult(e,t){return void 0!==e.inverse&&e.inverse(t)}function getMasterFormatId(e,t){for(var n=0;n<crouton.masterFormatCodes.length;n++){var i=crouton.masterFormatCodes[n];if(i.key_string===e&&i.root_server_uri===t.root_server_uri)return i.id}}crouton_Handlebars.registerHelper("startup",()=>""),crouton_Handlebars.registerHelper("enrich",()=>""),crouton_Handlebars.registerHelper("selectFormatPopup",()=>"formatPopup"),crouton_Handlebars.registerHelper("selectObserver",()=>"observerTemplate"),Crouton.prototype.setConfig=function(e){for(var t in e)t.indexOf("_template")>0&&""===e[t].trim()||(-1===t.indexOf("int_")?"1"===e[t]||1===e[t]?this.config[t]=!0:"0"===e[t]||0===e[t]?this.config[t]=!1:this.config[t]=e[t]:this.config[t]=parseInt(e[t]||0));"embed"===this.config.show_map&&(this.config.show_map=!1,this.config.map_page=!0),this.config.distance_search=parseInt(this.config.distance_search||0),this.config.day_sequence=[],this.config.day_sequence.push(this.config.int_start_day_id);for(var n=1;n<7;n++){var i=this.config.day_sequence[n-1]+1;i>7?this.config.day_sequence.push(i-7):this.config.day_sequence.push(i)}"weekday"===this.config.view_by&&(this.config.include_weekday_button=!0),this.config.has_tabs||(this.config.view_by="byday"),null==this.config.template_path&&(this.config.template_path="templates"),null==this.config.BMLTPlugin_images&&(this.config.BMLTPlugin_images=this.config.template_path),null==this.config.BMLTPlugin_throbber_img_src&&(this.config.BMLTPlugin_throbber_img_src=this.config.template_path+"/Throbber.gif"),this.config.short_language="da-DK"===this.config.language?"dk":this.config.language.substring(0,2),this.localization=new CroutonLocalization(this.config.language)},Crouton.prototype.reset=function(){jQuery("#custom-css").remove(),jQuery("#"+this.config.placeholder_id).html("")},Crouton.prototype.doFilters=function(){return this.filteredPage()},Crouton.prototype.getServiceBodyDetails=function(e){for(var t=0;t<this.all_service_bodies.length;t++){var n=this.all_service_bodies[t];if(n.id===e)return n}},Crouton.prototype.doHandlebars=function(){var e=document.getElementsByTagName("bmlt-handlebar");if(0!==e.length){var t=this;t.lock(function(){if(t.isEmpty(t.meetingData))for(let t=0;t<e.length;t++){e.item(t).innerHTML="Meeting not found!"}else{var n=[t.getServiceBodies([t.meetingData[0].service_body_bigint])];Promise.all(n).then(function(n){hbs_Crouton.localization=t.localization,t.all_service_bodies=[];var i=n[0][0];t.all_service_bodies.push(i);var o=t.enrichMeetings(t.meetingData);crouton_Handlebars.compile("{{startup}}")(o),crouton_Handlebars.compile("{{enrich this}}")(o[0]),t.handlebars(o[0],e)})}})}else console.log("No <bmlt-handlebar> tags found")},Crouton.prototype.meetingModal=function(e){let t=document.createElement("bmlt-handlebar"),n=document.getElementById("bmlt-tabs");n.appendChild(t);let i=document.createElement("span"),o=this.meetingData.find(t=>t.id_bigint==e);t.appendChild(i),i.textContent=this.config.meetingpage_frame_template,this.handlebars(o,n.getElementsByTagName("bmlt-handlebar")),[...n.getElementsByClassName("modal-close")].forEach(e=>e.addEventListener("click",e=>{croutonMap.closeModalWindow(e.target),document.getElementById("meeting_modal").remove()})),document.body.appendChild(document.getElementById("meeting_modal")),croutonMap.openModalWindow(document.getElementById("meeting_modal")),croutonMap.showMap(!0)},Crouton.prototype.searchMap=function(){self=this,self.config.map_search&&"object"==typeof self.config.map_search?(self.config.map_search.width||(self.config.map_search.width=-50),self.config.map_search.location||self.config.map_search.coordinates_search||(self.config.map_search.auto=!0),self.config.map_search.zoom||(self.config.map_search.zoom=14)):self.config.map_search={width:-50,auto:!0,zoom:14},self.config.map_page=!1,self.config.show_map=!1;var e=jQuery("body");""!==self.config.theme&&e.append("<div id='custom-css'><link rel='stylesheet' type='text/css' href='"+self.config.template_path+"/themes/"+self.config.theme+".css'>"),e.append("<div id='custom-css'><style type='text/css'>"+self.config.custom_css+"</style></div>"),self.meetingData=null,self.renderStandaloneMap("#"+self.config.placeholder_id,{config:self.config,meetings:{weekdays:[],buttonFilters:[],buttonFormatFilters:[],bydays:[],meetingCount:0,meetingData:[]},dropdownData:[],location:{latitude:0,longitude:0,zoom:10}})},Crouton.prototype.render=function(e=!1){var t=this;t.lock(function(){var n=jQuery("body");if(""!==t.config.theme&&n.append("<div id='custom-css'><link rel='stylesheet' type='text/css' href='"+t.config.template_path+"/themes/"+t.config.theme+".css'>"),n.append("<div id='custom-css'><style type='text/css'>"+t.config.custom_css+"</style></div>"),t.isEmpty(t.meetingData))t.showMessage("No meetings found for parameters specified.");else{t.unique_service_bodies_ids=getUniqueValuesOfKey(t.meetingData,"service_body_bigint").sort();var i=[t.getMasterFormats(),t.getServiceBodies(t.unique_service_bodies_ids)];Promise.all(i).then(function(n){t.all_service_bodies=[],t.masterFormatCodes=n[0];for(var i=n[1],o=0;o<i.length;o++)t.all_service_bodies.push(i[o]);jQuery.isEmptyObject(t.formatsData)||(t.formatsData=t.formatsData.sortByKey("name_string"));var a=t.enrichMeetings(t.meetingData);a.sort(function(e,t){return e.start_time_raw<t.start_time_raw?-1:e.start_time_raw>t.start_time_raw?1:0});for(var r=0,s=[],l={},c={},u=[];r<7;){var h=t.config.day_sequence[r],d=a.filterByObjectKeyValue("day_of_the_week",h);u.push({day:h,meetings:d}),s.push({hide:t.config.hide_byday_headers,day:t.localization.getDayOfTheWeekWord(h),meetings:d});for(var p=0;p<t.config.button_filters.length;p++){var f=getUniqueValuesOfKey(d,v=t.config.button_filters[p].field).sort();for(o=0;o<f.length;o++){var m=d.filterByObjectKeyValue(v,f[o]);l.hasOwnProperty(v)&&l[v].hasOwnProperty(f[o])?l[v][f[o]]=l[v][f[o]].concat(m):l.hasOwnProperty(v)?l[v][f[o]]=m:(l[v]={},l[v][f[o]]=m)}}for(p=0;p<t.config.button_format_filters.length;p++){f=getUniqueFormatsOfType(d,v=t.config.button_format_filters[p].field);"LANG"==v&&t.config.native_lang&&t.config.native_lang.length>0&&(f=f.filter(e=>e.key!=t.config.native_lang));for(o=0;o<f.length;o++){m=d.filter(e=>e.formats_expanded.map(e=>e.key).indexOf(f[o].key)>=0);c.hasOwnProperty(v)&&c[v].hasOwnProperty(f[o].description)?c[v][f[o].description]=c[v][f[o].description].concat(m):c.hasOwnProperty(v)?c[v][f[o].description]=m:(c[v]={},c[v][f[o].description]=m)}}r++}for(var g={},_=0;_<t.config.button_filters.length;_++){var y=[],v=t.config.button_filters[_].field;for(var b in l[v])y.push(b);y.sort(),g[v]={};for(var w=0;w<y.length;w++)g[v][y[w]]=l[v][y[w]]}t.dayNamesSequenced=t.config.day_sequence.map(e=>t.localization.getDayOfTheWeekWord(e)),t.dropdownData=[],t.config.has_days&&t.dropdownData.push({placeholder:t.localization.getWord("weekday"),pointer:"weekdays",elementId:"filter-dropdown-weekdays",uniqueData:e=>sortListByList(getUniqueValuesOfKey(e,"formatted_day"),t.dayNamesSequenced),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_states&&t.dropdownData.push({placeholder:t.localization.getWord("states"),pointer:"States",elementId:"filter-dropdown-states",uniqueData:e=>getUniqueValuesOfKey(e,"location_province").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_sub_province&&t.dropdownData.push({placeholder:t.localization.getWord("counties"),pointer:"Counties",elementId:"filter-dropdown-sub_province",uniqueData:e=>getUniqueValuesOfKey(e,"location_sub_province").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_cities&&t.dropdownData.push({placeholder:t.localization.getWord("cities"),pointer:"Cities",elementId:"filter-dropdown-cities",uniqueData:e=>getUniqueValuesOfKey(e,"location_municipality").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_neighborhoods&&t.dropdownData.push({placeholder:t.localization.getWord("neighborhood"),pointer:"Neighborhoods",elementId:"filter-dropdown-neighborhoods",uniqueData:e=>getUniqueValuesOfKey(e,"location_neighborhood").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_zip_codes&&t.dropdownData.push({placeholder:t.localization.getWord("postal_codes"),pointer:"Zips",elementId:"filter-dropdown-zipcodes",uniqueData:e=>getUniqueValuesOfKey(e,"location_postal_code_1").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_locations&&t.dropdownData.push({placeholder:t.localization.getWord("locations"),pointer:"Locations",elementId:"filter-dropdown-locations",uniqueData:e=>getUniqueValuesOfKey(e,"location_text").map(e=>e.replace(/(<([^>]+)>)/gi,"")).sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_regions&&t.dropdownData.push({placeholder:t.localization.getWord("regions"),pointer:"Regions",elementId:"filter-dropdown-regions",uniqueData:e=>t.all_service_bodies.filter(t=>getUniqueValuesOfKey(e,"parentServiceBodyId").includes(t.id)).sortByKey("name"),objectPointer:e=>convertToPunyCode(e.name),optionName:e=>e.name}),t.config.has_areas&&t.dropdownData.push({placeholder:t.localization.getWord("areas"),pointer:"Areas",elementId:"filter-dropdown-areas",uniqueData:e=>t.all_service_bodies.filter(t=>getUniqueValuesOfKey(e,"service_body_bigint").includes(t.id)).sortByKey("name"),objectPointer:e=>e.id,optionName:e=>e.name}),t.config.has_groups&&t.dropdownData.push({placeholder:t.localization.getWord("groups"),pointer:"Groups",elementId:"filter-dropdown-groups",uniqueData:e=>getUniqueValuesOfKey(e,"meeting_name").sort(),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_venues&&t.dropdownData.push({placeholder:t.localization.getWord("venue_types"),pointer:"Venues",elementId:"filter-dropdown-venues",uniqueData:e=>t.getUsedVenueType(e),objectPointer:convertToPunyCode,optionName:e=>e}),t.config.has_formats&&t.dropdownData.push({placeholder:t.localization.getWord("formats"),pointer:"Formats",elementId:"filter-dropdown-formats",uniqueData:e=>getUniqueFormats(e),objectPointer:e=>convertToPunyCode(e.name),optionName:e=>e.name}),t.config.has_languages&&t.dropdownData.push({placeholder:t.localization.getWord("languages"),pointer:"Formats",elementId:"filter-dropdown-languages",uniqueData:e=>getUniqueFormatsOfType(e,"LANG").filter(e=>e.key!==t.config.native_lang),objectPointer:e=>convertToPunyCode(e.name),optionName:e=>e.name}),t.config.has_common_needs&&t.dropdownData.push({placeholder:t.localization.getWord("common_needs"),pointer:"Formats",elementId:"filter-dropdown-commonneeds",uniqueData:e=>getUniqueFormatsOfType(e,"FC3"),objectPointer:e=>convertToPunyCode(e.name),optionName:e=>e.name}),e&&t.dropdownData.push({placeholder:"",pointer:"visible",elementId:"filter-dropdown-visibile",uniqueData:e=>t.getUsedVisibility(e),objectPointer:e=>e.value,optionName:e=>e.name}),e&&t.dropdownData.push({placeholder:"",pointer:"next24",elementId:"filter-dropdown-next24",uniqueData:e=>t.getUsedNext24(e),objectPointer:e=>e.value,optionName:e=>e.name}),(e?t.renderStandaloneMap:t.renderView)("#"+t.config.placeholder_id,{config:t.config,meetings:{weekdays:u,buttonFilters:g,buttonFormatFilters:c,bydays:s,meetingCount:t.meetingData.length,meetingData:t.meetingData},dropdownData:t.dropdownData},function(){if((null!=t.config.map_search||t.config.show_map)&&(jQuery(".bmlt-data-row").css({cursor:"pointer"}),jQuery(".bmlt-data-row").click(function(e){"A"!==e.target.tagName&&croutonMap.rowClick(parseInt(this.id.replace("meeting-data-row-","")))})),jQuery("#"+t.config.placeholder_id).addClass("bootstrap-bmlt"),jQuery("#filter-dropdown-visibile").removeClass("crouton-select").addClass("hide"),jQuery("#filter-dropdown-next24").removeClass("crouton-select").addClass("hide"),jQuery(".crouton-select").select2({dropdownAutoWidth:!0,allowClear:!1,width:"resolve",minimumResultsForSearch:1,dropdownCssClass:"bmlt-drop",matcher:function(e,n){return"a-"===n.id?n:(elementId=n.element.parentElement.id,e.hasOwnProperty("term")&&n.text.toUpperCase().indexOf(e.term.toUpperCase())<0?null:(dropdown=t.dropdownData.find(e=>e.elementId===elementId),"undefined"==typeof dropdown?n:void 0===dropdown.optionsShowing?n:dropdown.optionsShowing.includes(n.text)?n:null))}}),jQuery('[data-toggle="popover"]').popover().click(function(e){e.preventDefault(),e.stopPropagation()}),jQuery("html").on("click",function(e){"popover"!==jQuery(e.target).data("toggle")&&jQuery('[data-toggle="popover"]').popover("hide")}),jQuery(".filter-dropdown").on("select2:select",function(e){jQuery(".bmlt-page:not(#byfield_embeddedMapPage)").each(function(){t.hidePage(this)}),t.filteredPage(),t.filtering||t.showView("byday"===t.config.view_by?"byday":"day")}),jQuery("#day").on("click",function(){t.showView("byday"===t.config.view_by?"byday":"day")}),jQuery(".filterButtonLogic").on("click",function(e){t.filteredView(e.target.attributes["data-field"].value)}),jQuery(".displayTypeLogic").on("click",function(e){jQuery(".displayTypeLogic").each(function(){e.target==this?jQuery(this).addClass("hide"):jQuery(this).removeClass("hide")})}),jQuery("#displayTypeButton_tablePages").on("click",function(e){t.hidePage("#byfield_embeddedMapPage"),t.showFilteredMeetingsAsTable()}),jQuery("#filterButton_embeddedMapPage").on("click",function(e){t.filteredView(e.target.attributes["data-field"].value,!1),croutonMap.showMap()}),jQuery(".custom-ul").on("click","a",function(e){jQuery(".bmlt-page").each(function(n){t.hidePage("#"+this.id),t.showPage("#"+e.target.id)})}),t.config.has_tabs){jQuery(".nav-tabs a").on("click",function(e){e.preventDefault(),jQuery(this).tab("show")});var n=(new Date).getDay();n++,jQuery('.nav-tabs a[href="#tab'+n+'"]').tab("show"),jQuery("#tab"+n).show()}if(t.showPage(".bmlt-header"),t.showPage(".bmlt-tabs"),t.showView(t.config.view_by),""!==t.config.default_filter_dropdown){var i=t.config.default_filter_dropdown.toLowerCase().split("=");jQuery("#filter-dropdown-"+i[0]).val("a-"+i[1]).trigger("change").trigger("select2:select")}t.config.show_distance&&t.getCurrentLocation(t.showLocation),!t.config.show_map||t.config.refresh_map||e||(croutonMap.initialize(t.createBmltMapElement(),t.meetingData),jQuery("#bmlt-map").removeClass("hide")),t.config.map_page&&!e&&croutonMap.initialize("byfield_embeddedMapPage",t.meetingData),t.config.refresh_map&&croutonMap.refreshMeetings(t.meetingData,!0,!0),null!=t.config.on_complete&&isFunction(t.config.on_complete)&&t.config.on_complete()},!e)})}})};var masterFormatVenueType={IN_PERSON:"IN_PERSON",VIRTUAL:"VIRTUAL"},venueType={IN_PERSON:1,VIRTUAL:2,HYBRID:3};function getVenueTypeName(e){return e.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",e),getFormats(e))?[crouton.localization.getVenueType(masterFormatVenueType.VIRTUAL),crouton.localization.getVenueType(masterFormatVenueType.IN_PERSON)]:e.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",e),getFormats(e))?[crouton.localization.getVenueType(masterFormatVenueType.VIRTUAL)]:[crouton.localization.getVenueType(masterFormatVenueType.IN_PERSON)]}function getFormats(e){return""!==e.formats?e.format_shared_id_list.split(","):[]}function convertToPunyCode(e){return void 0!==e?punycode.toASCII(e.toLowerCase()).replace(/\W|_/g,"-"):""}function arrayColumn(e,t){for(var n=[],i=0;i<e.length;i++)n.push(e[i][t]);return n}function getUniqueValuesOfKey(e,t){return e.reduce(function(e,n){return n[t]&&!~e.indexOf(n[t])&&e.push(n[t]),e},[])}function getValuesFromObject(e){var t=[];for(key in e)e.hasOwnProperty(key)&&t.push(e[key]);return t}function getUniqueFormats(e){return e.reduce(function(e,t){return t.formats_expanded?e.concat(t.formats_expanded.filter(t=>e.map(e=>e.key).indexOf(t.key)<0)):e},[])}function getUniqueFormatsOfType(e,t){return e.reduce(function(e,n){if(!n.formats_expanded)return e;var i=n.formats_expanded.filter(e=>e.type===t);return i&&(e=e.concat(i.filter(t=>e.map(e=>e.key).indexOf(t.key)<0))),e},[])}function arrayUnique(e,t,n){for(t=e.length;n=--t;)for(;n--;)e[t]!==e[n]||e.splice(n,1);return e}function sortListByList(e,t){for(var n=[],i=0;i<t.length;i++)for(var o=0;o<e.length;o++)t[i]===e[o]&&n.push(e[o]);return n}function inArray(e,t){return-1!==t.indexOf(e)}function isFunction(e){return e&&"[object Function]"==={}.toString.call(e)}function getServiceBodiesQueryString(e){for(var t="",n=0;n<e.length;n++)t+="&services[]="+e[n];return t}function MeetingMap(e){var t=new MapDelegate(e),n=null,i=null;const o=e;o.maxZoom||(o.maxZoom=17),o.minZoom||(o.minZoom=6),o.marker_contents_template||(o.marker_contents_template=croutonDefaultTemplates.marker_contents_template);var a,r=null,s=null,l=null,c=[];function u(e,t){l=e,c=t}function h(e,n,s=null,l=null){if(e){crouton_Handlebars.registerPartial("markerContentsTemplate",o.marker_contents_template),i=e,function(e){if(!e.myThrobber&&(e.myThrobber=document.createElement("div"),e.myThrobber)){e.myThrobber.id=e.id+"Throbber_div",e.myThrobber.className="bmlt_map_throbber_div",e.myThrobber.style.display="none",e.appendChild(e.myThrobber);var t=document.createElement("img");t?(t.src=o.BMLTPlugin_throbber_img_src,t.className="bmlt_mapThrobber_img",t.id=e.id+"Throbber_img",t.alt="AJAX Throbber",e.myThrobber.appendChild(t)):e.myThrobber=null}}(e),o.map_search?(o.map_search.width||(o.map_search.width=-50),o.map_search.location||o.map_search.coordinates_search||(o.map_search.auto=!0),(o.map_search.latitude||o.map_search.longitude)&&(o.lat=o.map_search.latitude,o.lng=o.map_search.longitude),o.map_search.zoom&&(o.zoom=o.map_search.zoom)):g();let h={latitude:o.lat,longitude:o.lng,zoom:o.zoom};s&&(h={latitude:s.lat,longitude:s.lng}),t.createMap(e,h)&&(t.addListener("zoomend",function(e){(function(){if(void 0===v)return!0;if(v!==E())return v=E(),!0;if(!1===E())return!0;return!1})()&&r&&T()},!1),o.map_search?t.addControl((c=hbs_Crouton.templates.mapSearch,(u=document.createElement("div")).innerHTML=c(),u.querySelector("#map-search-button").addEventListener("click",k),u.querySelector("#bmltsearch-nearbyMeetings").addEventListener("click",f),u.querySelector("#bmltsearch-text-button").addEventListener("click",function(){let e=document.getElementById("bmltsearch-goto-text").value.trim();""!==e&&(g(),t.callGeocoder(e,null,_),w(a))}),u.querySelector("#bmltsearch-clicksearch").addEventListener("click",m),[...u.getElementsByClassName("modal-close")].forEach(e=>e.addEventListener("click",e=>w(e.target))),(a=u.querySelector("#bmltsearch_modal")).parentElement.removeChild(a),u),"topleft",l):n&&(n.imageDir=o.BMLTPlugin_images,t.addControl(function(){rules=['.onoffswitch-inner:before {\n\t\tcontent: "__text__";\n\t\tpadding-left: 10px;\n\t\tbackground-color: #2d5c88; color: #FFFFFF;\n\t\t}','.onoffswitch-inner:after {\n\t\tcontent: "__text__";\n\t\tpadding-left: 30px;\n\t\tbackground-color: #EEEEEE; color: #2d5c88;\n\t\ttext-align: left;\n\t\t}'],rules[0]=rules[0].replace("__text__",crouton.localization.getWord("Upcoming Meetings")),rules[1]=rules[1].replace("__text__",crouton.localization.getWord("All Meetings"));var e=document.createElement("div");return e.innerHTML='\n\t<div id="next24_toggle" title="Next24_toggle" style="background: rgba(0, 0, 0, 0); cursor: pointer;">\n\t\t <div class="onoffswitch">\n\t\t\t <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="next24onoffswitch"/>\n\t\t\t <label class="onoffswitch-label" for="next24onoffswitch">\n\t\t\t\t <span class="onoffswitch-inner"></span>\n\t\t\t\t <span class="onoffswitch-switch"></span>\n\t\t\t </label>\n\t\t </div>\n\t</div>',e.querySelector(".onoffswitch").addEventListener("click",function(e){e.pointerId<0||(d=!d,p=!1,crouton.filterNext24(d),p=!0)}),document.styleSheets[0].insertRule(rules[0]),document.styleSheets[0].insertRule(rules[1]),e}(),"topleft"),t.addControl(function(e){var n=hbs_Crouton.templates.mapMenu,i=document.createElement("div");return i.innerHTML=n(e),i.querySelector("#nearbyMeetings").addEventListener("click",function(e){navigator.geolocation&&navigator.geolocation.getCurrentPosition(function(e){coords=e.coords,t.setViewToPosition(coords,B)}),dropdownContent=document.getElementById("map-menu-dropdown").style.display="none"}),i.querySelector("#lookupLocation").addEventListener("click",S),i.querySelector("#filterMeetings").addEventListener("click",x),i.querySelector("#showAsTable").addEventListener("click",C),i.querySelector("#fullscreenMode").addEventListener("click",F),i.querySelector("#map-menu-button").addEventListener("click",function(e){let t=document.getElementById("map-menu-dropdown");"inline-block"==t.style.display?t.style.display="none":t.style.display="inline-block"}),[...i.getElementsByClassName("modal-close")].forEach(e=>e.addEventListener("click",e=>w(e.target))),i.querySelector("#close_table").addEventListener("click",P),i.querySelector("#goto-text").addEventListener("keydown",function(e){e&&"Enter"==e.key&&(w(e.target),M(b))}),i.querySelector("#goto-button").addEventListener("click",function(e){w(e.target),M(b)}),i}(n),"topright",l)))}var c,u}var d=!1;var p=!0;function f(){navigator.geolocation&&navigator.geolocation.getCurrentPosition(function(e){g(),crouton.searchByCoordinates(e.coords.latitude,e.coords.longitude,o.map_search.width)},k),w(a)}function m(e){t.clickSearch(e,function(e,t){g(),crouton.searchByCoordinates(e,t,o.map_search.width)}),w(a)}function g(){i.myThrobber&&(i.myThrobber.style.display="block")}function _(e){let n=t.getGeocodeCenter(e);document.getElementById("bmltsearch-goto-text")&&(document.getElementById("bmltsearch-goto-text").value=""),g(),crouton.searchByCoordinates(n.lat,n.lng,o.map_search.width)}function y(e,n=!0,a=!1){if(null===e&&o.map_search)o.map_search.auto?f():o.map_search.coordinates_search?(g(),o.map_search.coordinates_search=!1,crouton.searchByCoordinates(o.map_search.latitude,o.map_search.longitude,o.map_search.width)):o.map_search.location?t.callGeocoder(o.map_search.location,null,_):k();else{if(r=e.filter(e=>2!=e.venue_type),n){const e=r.reduce(function(e,t){return e.push([t.latitude,t.longitude]),e},[]);t.fitBounds(e)}T(),i.myThrobber&&(i.myThrobber.style.display="none"),o.centerMe?navigator.geolocation?navigator.geolocation.getCurrentPosition(function(e){coords={latitude:e.coords.latitude,longitude:e.coords.longitude},t.setViewToPosition(coords,B)},S):a&&S():o.goto&&t.callGeocoder(goto,B)}}var v,b=!1;function w(e){if(t.modalOff(),!e.classList.contains("modal"))return w(e.parentNode);e.style.display="none",b&&(b=!1,H()||F())}function A(e){H()&&(b=!0,F()),e.style.display="block",dd=document.getElementById("map-menu-dropdown"),dd&&(dd.style.display="none"),t.modalOn()}function x(e){A(document.getElementById("filter_modal"))}function k(e){document.getElementById("bmltsearch_modal")||i.appendChild(a),A(a)}function S(e=null){A(document.getElementById("geocoding_modal"))}function C(e=null){N(),jQuery("#bmlt-tabs").append(jQuery("#table_page")),jQuery("#table_page").removeClass("hide"),jQuery("#bmlt-map").css("display","none"),jQuery("#table_page").css("max-height",jQuery("#bmlt-map").height()),jQuery("#bmlt-maptable-div").css("height",jQuery("#bmlt-map").height()-jQuery("#bmlt-maptable-header").height()),document.getElementById("map-menu-dropdown").style.display="none"}function P(e=null){N(!1),jQuery("#table_page").addClass("hide"),jQuery("#bmlt-map").css("display","block")}function M(e){return""!=document.getElementById("goto-text").value?e?t.addListener("idle",function(){t.callGeocoder(document.getElementById("goto-text").value,B)},!0):t.callGeocoder(document.getElementById("goto-text").value,B):alert(""),!0}function T(e=!1){if(r.length)try{O(e)}catch(n){console.log(n),t.addListener("projection_changed",function(t){O(e)},!0)}else alert(crouton.localization.getWord("no meetings found"))}function E(){return void 0===t.getZoom()||void 0!==o.clustering&&t.getZoom()<o.clustering}function O(e=!1){t.clearAllMarkers(),t.removeClusterLayer();const n=j(r);var i=E()||1==n.length?n.map(e=>[e]):function(e){var n=new Array;for(const[a,r]of Object.entries((o=e,o.reduce(function(e,t){return e.hasOwnProperty(t.location_municipality)?e[t.location_municipality].push(t):e[t.location_municipality]=[t],e},{})))){var i=r.map(e=>(item=new Object,item.matched=!1,item.meeting=e,item.coords=t.fromLatLngToPoint(e.latitude,e.longitude),item));i.reduce(function(e,t,n){if(t.matched)return e;matches=[t.meeting];var o=t.coords;for(c2=n+1;c2<r.length;c2++)if(!i[c2].matched){var a=i[c2].coords,s=o.x-8,l=o.x+8,c=o.y-8,u=o.y+8;a.x>=s&&a.x<=l&&a.y>=c&&a.y<=u&&(matches.push(i[c2].meeting),i[c2].matched=!0)}return matches.sort(D),e.push(matches),e},n)}var o;return n}(n);if(E()&&t.createClusterLayer(),i.forEach(function(e){var n,i,o;i=[(n=e)[0].latitude,n[0].longitude],o=crouton_Handlebars.compile(z)(n),t.createMarker(i,n.length>1,o,null,n.map(e=>parseInt(e.id_bigint)))}),t.addClusterLayer(),e){const e=n.reduce(function(e,t){return e.push([t.latitude,t.longitude]),e},[]);t.fitBounds(e)}}function D(e,t){var n=parseInt(e.weekday_tinyint,10),i=parseInt(t.weekday_tinyint,10);if(n<o.start_week&&(n+=7),i<o.start_week&&(i+=7),n<i)return-1;if(n>i)return 1;var a=e.start_time.toString().split(":"),r=t.start_time.toString().split(":");return parseInt(a[0])<parseInt(r[0])?-1:parseInt(a[0])>parseInt(r[0])?1:parseInt(a[1])<parseInt(r[1])?-1:parseInt(a[1])>parseInt(r[1])?1:0}const z='\n\t<div class="accordion">\n\t{{#each this}}<div>\n\t\t\t<input type="radio" name="panel" id="panel-{{this.id_bigint}}" {{#unless @index}}checked{{/unless}}/>\n\t\t\t<label for="panel-{{this.id_bigint}}">{{this.formatted_day}} {{this.start_time_formatted}}</label>\n\t\t\t<div class="marker_div_meeting" id="{{this.id_bigint}}">\n\t\t\t\t{{> markerContentsTemplate}}\n\t\t\t</div>\n\t</div>{{/each}}\n\t</div>\n\t';function I(e){return r.filter(n=>t.contains(e,n.latitude,n.longitude))}function N(e=!0){let n=(e?I(t.getBounds()):r).map(e=>e.id_bigint);jQuery(".bmlt-data-row").each(function(e,t){t.dataset.visible=n.includes(t.id.split("-").pop())?"1":"0"}),jQuery("#byday").removeClass("hide"),jQuery("#filter-dropdown-visibile").val("a-1"),p=!1,crouton.doFilters(),p=!0}function I(e){return r.filter(n=>t.contains(e,n.latitude,n.longitude))}function B(e){return j(I(e))}function j(e){var t=e.filter(e=>2!=e.venue_type);return null!=s?t.filter(e=>s.includes(e.id_bigint)):t}var R=!1;function H(){return(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement)===i||R}function F(e){var t=i;H()?e&&e.pseudoFullscreen?W(!1):document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():_disablePseudoFullscreen(t):e&&e.pseudoFullscreen?W(!0):t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):t.msRequestFullscreen?t.msRequestFullscreen():_enablePseudoFullscreen(t)}R=!1;function W(e){R=e;var n=i;e?L.DomUtil.addClass(n,"leaflet-pseudo-fullscreen"):L.DomUtil.removeClass(n,"leaflet-pseudo-fullscreen"),t.invalidateSize()}this.initialize=function e(n,i,o=null,a=null,r=!0,s){if(!t.isApiLoaded())return u(e,[n,i,o,a,r,s]),void t.loadApi();h(document.getElementById(n),o,a,s),y(i,r,!0)},this.showMap=function(e=!1){e&&n?n.invalidateSize():(t.invalidateSize(),t.fitBounds((s?r.filter(e=>s.includes(e.id_bigint)):r).reduce(function(e,t){return e.push([t.latitude,t.longitude]),e},[])))},this.fillMap=function(e){s=e,r&&T(p)},this.rowClick=function(e){let n=r.find(t=>t.id_bigint==e);n&&(t.getZoom()>=14&&t.contains(t.getBounds(),n.latitude,n.longitude)?t.openMarker(e):t.setViewToPosition({latitude:n.latitude,longitude:n.longitude},B,function(){t.openMarker(e)}))},this.apiLoadedCallback=function(){l(...c)},this.refreshMeetings=y,this.openModalWindow=A,this.closeModalWindow=w,this.loadPopupMap=function e(i,a,r=null){if(!t.isApiLoaded())return u(e,[i,a,r]),void t.loadApi();let s=document.getElementById(i),l=new MapDelegate(o);r&&(loc={latitude:r.lat,longitude:r.lng,zoom:r.zoom}),l.createMap(s,loc)&&(l.createMarker([a.latitude,a.longitude],!1,null,"",[parseInt(a.id_bigint)]),l.addClusterLayer(),n=l)}}function MapDelegate(e){var t,n,i=L.icon({iconUrl:e.BMLTPlugin_images+"/NAMarker.png",shadowUrl:e.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[0,-32]}),o=L.icon({iconUrl:e.BMLTPlugin_images+"/NAMarkerG.png",shadowUrl:e.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[0,-32]}),a=L.icon({iconUrl:e.BMLTPlugin_images+"/NAMarkerSel.png",shadowUrl:e.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[12,-32]}),r=[],s=null;function l(e,n){if(!t)return 12;for(var i=t.getZoom(),o=t.getCenter(),a=t.getBounds(),r=!1;0==n(a).length&&i>6;){r=!0,i-=1;var s=L.latLng(2*a.getNorthEast().lat-o.lat,2*a.getNorthEast().lng-o.lng),l=L.latLng(2*a.getSouthWest().lat-o.lat,2*a.getSouthWest().lng-o.lng);a=L.latLngBounds(l,s)}if(!e&&!r&&i<12){for(var c=n(a).length;i<12&&c>0;){i+=1;s=L.latLng(.5*(a.getNorthEast().lat+o.lat),.5*(a.getNorthEast().lng+o.lng)),l=L.latLng(.5*(a.getSouthWest().lat+o.lat),.5*(a.getSouthWest().lng+o.lng));c=n(a=L.latLngBounds(l,s)).length}0==c&&(i-=1)}return i}function c(e,t,n){var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===i.readyState){var e;if(200!==i.status&&304!==i.status)e="";else if("string"==typeof i.response)try{e=JSON.parse(i.response)}catch(t){e=i.response}else e=i.response;n(e)}},i.open("GET",e+function(e,t,n){var i=[];for(var o in e){var a=encodeURIComponent(n?o.toUpperCase():o),r=e[o];if(L.Util.isArray(r))for(var s=0;s<r.length;s++)i.push(a+"="+encodeURIComponent(r[s]));else i.push(a+"="+encodeURIComponent(r))}return(t&&-1!==t.indexOf("?")?"&":"?")+i.join("&")}(t),!0),i.responseType="json",i.setRequestHeader("Accept","application/json"),i.setRequestHeader("Accept","*/*"),i.send(null)}this.createMap=function(i,o){if(!o)return null;myOptions={minZoom:e.minZoom,maxZoom:e.maxZoom,doubleClickZoom:!1,scrollWheelZoom:!1},myOptions=Object.assign(myOptions,{center:new L.latLng(o.latitude,o.longitude),zoom:o.zoom});var a=i.offsetWidth;0==a&&(a=i.parentNode.offsetWidth);var r=i.offsetHeight;return 0==r&&(r=a),r>1.4*a&&(i.style.height=1.6*a+"px",i.parentNode.style.height=i.style.height),t=new L.Map(i,myOptions),n=L.tileLayer(e.tileUrl,e.tileOptions).addTo(t),t.zoomControl.setPosition("bottomright"),t.on("moveend",function(){n.redraw()}),t},this.addListener=function(e,n,i){"idle"==e&&(e="moveend"),i?t.once(e,n):t.on(e,n)},this.addControl=function(e,n,i){var o,a=L.Control.extend({onAdd:function(t){return e},onRemove:function(e){}});if(i){const t=new MutationObserver(function(n){n.forEach(n=>{n.addedNodes.forEach(n=>{n===e&&(t.disconnect(),i())})})});t.observe(document,{childList:!0,subtree:!0})}(o={position:n},new a(o)).addTo(t)},this.setViewToPosition=function(e,n,i=null){var o=L.latLng(e.latitude,e.longitude);t.flyTo(o),t.on("moveend",function(e){t.off("moveend"),newZoom=l(!1,n),t.getZoom()!=newZoom?(t.setZoom(newZoom),t.on("zoomend",function(){t.off("zoomend"),t.invalidateSize(),i&&t.on("load moveend",i)})):i&&i()})},this.clearAllMarkers=function(){r&&r.forEach(e=>{e.marker.closePopup(),t.removeLayer(e.marker)}),r=[]},this.fromLatLngToPoint=function(e,n){return t.latLngToLayerPoint(L.latLng(e,n))},this.callGeocoder=function(i,o,a=function(e,i){e&&e[0]&&e[0].bbox?(t.flyToBounds(e[0].bbox),t.on("moveend",function(e){t.off("moveend"),t.setZoom(l(!0,i)),t.on("moveend",function(){n.redraw()})})):alert(crouton.localization.getWord("address_lookup_fail"))}){geoCodeParams={},e.region&&""!==e.region.trim()&&(geoCodeParams.countrycodes=e.region),e.bounds&&e.bounds.north&&""!==e.bounds.north.trim()&&e.bounds.east&&""!==e.bounds.east.trim()&&e.bounds.south&&""!==e.bounds.south.trim()&&e.bounds.west&&""!==e.bounds.west.trim()&&(geoCodeParams.viewbox=e.bounds.south+","+e.bounds.west+","+e.bounds.north+","+e.bounds.east),function(t,n,i,o){var a=e.nominatimUrl;a||(a="https://nominatim.openstreetmap.org/"),c(a+"search",L.extend({q:t,limit:5,format:"json",addressdetails:1},n),L.bind(function(e){var t=[];if(e&&e.length){for(var n=e.length-1;n>=0;n--){for(var a=e[n].boundingbox,r=0;r<4;r++)a[r]=parseFloat(a[r]);t[n]={icon:e[n].icon,name:e[n].display_name,bbox:L.latLngBounds([a[0],a[2]],[a[1],a[3]]),center:L.latLng(e[n].lat,e[n].lon),properties:e[n]}}o?i(t,o):i(t)}else alert(crouton.localization.getWord("address_lookup_fail"))},this))}(i,geoCodeParams,a,o)},this.setZoom=function(e,n=0){n>0?t.setZoom(n):t.setZoom(l(!1,e))},this.getZoom=function(){return t.getZoom()},this.createMarker=function(e,n,l,c,u){var h=n?o:i;let d=function(e){let t=e.id.split("-")[1];jQuery(".bmlt-data-row > td").removeClass("rowHighlight"),jQuery("#meeting-data-row-"+t+" > td").addClass("rowHighlight"),"undefined"!=typeof crouton&&crouton.dayTabFromId(t)};var p=L.marker(e,{icon:h,title:c}).bindPopup(l);s?s.addLayer(p):p.addTo(t),p.on("popupopen",function(e){p.oldIcon=p.getIcon(),p.setIcon(a),t.on("zoomstart",function(){p.closePopup()}),jQuery("input[type=radio][name=panel]:checked").each(function(e,t){d(t)}),jQuery("input[type=radio][name=panel]").change(function(){d(this)})}),p.on("popupclose",function(e){p.setIcon(p.oldIcon),jQuery(".bmlt-data-row > td").removeClass("rowHighlight")}),r.push({ids:u,marker:p})},this.contains=function(e,t,n){return e.contains(L.latLng(t,n))},this.getBounds=function(){return t.getBounds()},this.invalidateSize=function(){t.invalidateSize()},this.zoomOut=function(e){t.setZoom(l(!0,e))},this.fitBounds=function(e){const n=e.reduce(function(e,t){return e.extend(t),e},L.latLngBounds());t.fitBounds(n)},this.openMarker=function(e){marker=r.find(t=>t.ids.includes(e)),marker&&(marker.marker.openPopup(),jQuery("#panel-"+e).prop("checked",!0),"undefined"!=typeof crouton&&crouton.dayTabFromId(e)),jQuery(".bmlt-data-row > td").removeClass("rowHighlight"),jQuery("#meeting-data-row-"+e+" > td").addClass("rowHighlight")},this.isApiLoaded=function(){return!0},this.createClusterLayer=function(){s=L.markerClusterGroup()},this.addClusterLayer=function(){s&&t.addLayer(s)},this.removeClusterLayer=function(){s&&t.removeLayer(s),s=null},this.clickSearch=function(e,n){L.DomUtil.addClass(t._container,"crosshair-cursor-enabled"),t.once("click",function(e){t.once("click",function(e){L.DomUtil.removeClass(t._container,"crosshair-cursor-enabled"),n(e.latlng.lat,e.latlng.lng)})})},this.getGeocodeCenter=function(e){if(e&&e[0])return{lat:e[0].center.lat,lng:e[0].center.lng};alert(crouton.localization.getWord("address_lookup_fail"))},this.modalOn=function(){t.dragging.disable()},this.modalOff=function(){t.dragging.enable()}}crouton_Handlebars.registerHelper("getDayOfTheWeek",function(e){return hbs_Crouton.localization.getDayOfTheWeekWord(e)}),crouton_Handlebars.registerHelper("getWord",function(e){var t=hbs_Crouton.localization.getWord(e);return void 0!==t?t:(console.log("no translation for '"+e+"'"),e)}),crouton_Handlebars.registerHelper("formatDataPointer",function(e){return convertToPunyCode(e)}),crouton_Handlebars.registerHelper("call",function(e,t){return e(t)}),crouton_Handlebars.registerHelper("canShare",function(e,t){return navigator.share?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isVirtual",function(e,t){return(e.venue_type===venueType.HYBRID||e.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("HY",e),getFormats(e))&&!inArray(getMasterFormatId("TC",e),getFormats(e))||inArray(getMasterFormatId("VM",e),getFormats(e)))&&(e.virtual_meeting_link||e.phone_meeting_number||e.virtual_meeting_additional_info)?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isVirtualOnly",function(e,t){return e.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isHybrid",function(e,t){return e.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isHybridOnly",function(e,t){return e.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isTemporarilyClosed",function(e,t){return inArray(getMasterFormatId("TC",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isNotTemporarilyClosed",function(e,t){return inArray(getMasterFormatId("TC",e),getFormats(e))?getFalseResult(t,this):getTrueResult(t,this)}),crouton_Handlebars.registerHelper("isInPersonOrHybrid",function(e,t){return e.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",e),getFormats(e))?getFalseResult(t,this):getTrueResult(t,this)}),crouton_Handlebars.registerHelper("isInPersonOnly",function(e,t){return e.venue_type===venueType.IN_PERSON||!inArray(getMasterFormatId("VM",e),getFormats(e))&&!inArray(getMasterFormatId("HY",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("isVirtualOrHybrid",function(e,t){return e.venue_type===venueType.VIRTUAL||e.venue_type===venueType.HYBRID||inArray(getMasterFormatId("VM",e),getFormats(e))||inArray(getMasterFormatId("HY",e),getFormats(e))?getTrueResult(t,this):getFalseResult(t,this)}),crouton_Handlebars.registerHelper("hasFormats",function(e,t,n){for(var i=!1,o=t.formats.split(","),a=e.split(","),r=0;r<a.length;r++)i=inArray(a[r],o);return i?getTrueResult(n,this):getFalseResult(n,this)}),crouton_Handlebars.registerHelper("temporarilyClosed",function(e,t){return void 0!==e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("TC",e))?e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("TC",e)).description:"FACILITY IS TEMPORARILY CLOSED"}),crouton_Handlebars.registerHelper("meetsVirtually",function(e,t){return void 0!==e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("VM",e))?e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("VM",e)).description:"MEETS VIRTUALLY"}),crouton_Handlebars.registerHelper("meetsHybrid",function(e,t){return void 0!==e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("HY",e))?e.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("HY",e)).description:"MEETS VIRTUALLY AND IN PERSON"}),crouton_Handlebars.registerHelper("qrCode",function(e,t){return new crouton_Handlebars.SafeString("<img alt='qrcode' src='https://chart.googleapis.com/chart?chs=100x100&cht=qr&chl="+e+"&choe=UTF-8&chld=L|0'>")}),crouton_Handlebars.registerHelper("formatDataFromArray",function(e){for(var t=[],n=0;n<e.length;n++)t.push(convertToPunyCode(e[n]));return t.join(" ")}),crouton_Handlebars.registerHelper("formatDataPointerFormats",function(e){for(var t=[],n=0;n<e.length;n++)t.push(convertToPunyCode(e[n].name));return t.join(" ")}),crouton_Handlebars.registerHelper("formatDataKeyFormats",function(e){for(var t=[],n=0;n<e.length;n++)t.push(convertToPunyCode(e[n].key));return t.join(" ")}),crouton_Handlebars.registerHelper("formatLink",function(e){return 0===e.indexOf("tel:")||0===e.indexOf("http")?new crouton_Handlebars.SafeString("<a href='"+e+"' target='_blank'>"+e+"</a>"):e}),crouton_Handlebars.registerHelper("webLinkify",function(e){return new crouton_Handlebars.SafeString("<a href='"+e+"' target='_blank'>"+e+"</a>")}),crouton_Handlebars.registerHelper("phoneLinkify",function(e){return new crouton_Handlebars.SafeString("<a href='tel:"+e+"' target='_blank'>"+e+"</a>")}),crouton_Handlebars.registerHelper("ifEquals",function(e,t,n){return e===t?n.fn(this):n.inverse(this)}),crouton_Handlebars.registerHelper("greaterThan",function(e,t,n){return e>t?n.fn(this):n.inverse(this)}),crouton_Handlebars.registerHelper("lessThan",function(e,t,n){return e<t?n.fn(this):n.inverse(this)}),crouton_Handlebars.registerHelper("times",function(e,t){for(var n="",i=1;i<=e;++i)n+=t.fn(i);return n}),Crouton.prototype.getAdjustedDateTime=function(e,t,n){var i,o=!0===this.config.auto_tz_adjust||"true"===this.config.auto_tz_adjust;o?(n||(n="UTC"),i=(i=moment.tz(n).set({hour:t.split(":")[0],minute:t.split(":")[1],second:0}).isoWeekday(e)).clone().tz(moment.tz.guess())):i=moment().set({hour:t.split(":")[0],minute:t.split(":")[1],second:0}).isoWeekday(e);var a=o?moment.tz(moment.tz.guess()):moment();return a>i?i.add(1,"weeks"):a.isoWeekday()==i.isoWeekday()&&0==i.diff(a,"days")&&i.add(1,"weeks"),i},Array.prototype.clone=function(){return this.slice()},Array.prototype.filterByObjectKeyValue=function(e,t){for(var n=[],i=0;i<this.length;i++)this[i][e]===t&&n.push(this[i]);return n},Array.prototype.getArrayItemByObjectKeyValue=function(e,t){for(var n=0;n<this.length;n++)if(this[n][e]===t)return this[n]},Array.prototype.clean=function(){for(var e=0;e<this.length;e++)""===this[e]&&(this.splice(e,1),e--);return this},Array.prototype.exclude=function(e,t){for(var n=this.length;n--;)for(var i=0;i<e.length;i++)e[i]===this[n][t]&&this.splice(n,1);return this},Array.prototype.sortByKey=function(e){return this.sort(function(t,n){return t[e]<n[e]?-1:t[e]>n[e]?1:0}),this},MeetingMap.prototype.initialize=null,MeetingMap.prototype.showMap=null,MeetingMap.prototype.fillMap=null,MeetingMap.prototype.rowClick=null,MeetingMap.prototype.apiLoadedCallback=null,MeetingMap.prototype.refreshMeetings=null,MeetingMap.prototype.openModalWindow=null,MeetingMap.prototype.closeModalWindow=null,MeetingMap.prototype.loadPopupMap=null,MapDelegate.prototype.createMap=null,MapDelegate.prototype.addListener=null,MapDelegate.prototype.addControl=null,MapDelegate.prototype.setViewToPosition=null,MapDelegate.prototype.clearAllMarkers=null,MapDelegate.prototype.fromLatLngToPoint=null,MapDelegate.prototype.callGeocoder=null,MapDelegate.prototype.setZoom=null,MapDelegate.prototype.getZoom=null,MapDelegate.prototype.createMarker=null,MapDelegate.prototype.contains=null,MapDelegate.prototype.getBounds=null,MapDelegate.prototype.invalidateSize=null,MapDelegate.prototype.zoomOut=null,MapDelegate.prototype.fitBounds=null,MapDelegate.prototype.openMarker=null,MapDelegate.prototype.isApiLoaded=null,MapDelegate.prototype.createClusterLayer=null,MapDelegate.prototype.addClusterLayer=null,MapDelegate.prototype.removeClusterLayer=null,MapDelegate.prototype.clickSearch=null,MapDelegate.prototype.getGeocodeCenter=null,MapDelegate.prototype.modalOn=null,MapDelegate.prototype.modalOff=null,function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.L={})}(this,function(e){"use strict";var t=Object.freeze;function n(e){var t,n,i,o;for(n=1,i=arguments.length;n<i;n++)for(t in o=arguments[n])e[t]=o[t];return e}Object.freeze=function(e){return e};var i=Object.create||function(e){return o.prototype=e,new o};function o(){}function a(e,t){var n=Array.prototype.slice;if(e.bind)return e.bind.apply(e,n.call(arguments,1));var i=n.call(arguments,2);return function(){return e.apply(t,i.length?i.concat(n.call(arguments)):arguments)}}var r=0;function s(e){return e._leaflet_id=e._leaflet_id||++r,e._leaflet_id}function l(e,t,n){var i,o,a,r;return r=function(){i=!1,o&&(a.apply(n,o),o=!1)},a=function(){i?o=arguments:(e.apply(n,arguments),setTimeout(r,t),i=!0)}}function c(e,t,n){var i=t[1],o=t[0],a=i-o;return e===i&&n?e:((e-o)%a+a)%a+o}function u(){return!1}function h(e,t){return t=void 0===t?6:t,+(Math.round(e+"e+"+t)+"e-"+t)}function d(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function p(e){return d(e).split(/\s+/)}function f(e,t){for(var n in e.hasOwnProperty("options")||(e.options=e.options?i(e.options):{}),t)e.options[n]=t[n];return e.options}function m(e,t,n){var i=[];for(var o in e)i.push(encodeURIComponent(n?o.toUpperCase():o)+"="+encodeURIComponent(e[o]));return(t&&-1!==t.indexOf("?")?"&":"?")+i.join("&")}var g=/\{ *([\w_-]+) *\}/g;function _(e,t){return e.replace(g,function(e,n){var i=t[n];if(void 0===i)throw new Error("No value provided for variable "+e);return"function"==typeof i&&(i=i(t)),i})}var y=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function v(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}var b="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function w(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var A=0;function x(e){var t=+new Date,n=Math.max(0,16-(t-A));return A=t+n,window.setTimeout(e,n)}var k=window.requestAnimationFrame||w("RequestAnimationFrame")||x,S=window.cancelAnimationFrame||w("CancelAnimationFrame")||w("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function C(e,t,n){if(!n||k!==x)return k.call(window,a(e,t));e.call(t)}function P(e){e&&S.call(window,e)}var M=(Object.freeze||Object)({freeze:t,extend:n,create:i,bind:a,lastId:r,stamp:s,throttle:l,wrapNum:c,falseFn:u,formatNum:h,trim:d,splitWords:p,setOptions:f,getParamString:m,template:_,isArray:y,indexOf:v,emptyImageUrl:b,requestFn:k,cancelFn:S,requestAnimFrame:C,cancelAnimFrame:P});function T(){}T.extend=function(e){function t(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var o=t.__super__=this.prototype,a=i(o);for(var r in(a.constructor=t).prototype=a,this)this.hasOwnProperty(r)&&"prototype"!==r&&"__super__"!==r&&(t[r]=this[r]);return e.statics&&(n(t,e.statics),delete e.statics),e.includes&&(function(e){if("undefined"!=typeof L&&L&&L.Mixin){e=y(e)?e:[e];for(var t=0;t<e.length;t++)e[t]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(e.includes),n.apply(null,[a].concat(e.includes)),delete e.includes),a.options&&(e.options=n(i(a.options),e.options)),n(a,e),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=a._initHooks.length;e<t;e++)a._initHooks[e].call(this)}},t},T.include=function(e){return n(this.prototype,e),this},T.mergeOptions=function(e){return n(this.prototype.options,e),this},T.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),n="function"==typeof e?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var E={on:function(e,t,n){if("object"==typeof e)for(var i in e)this._on(i,e[i],t);else for(var o=0,a=(e=p(e)).length;o<a;o++)this._on(e[o],t,n);return this},off:function(e,t,n){if(e)if("object"==typeof e)for(var i in e)this._off(i,e[i],t);else for(var o=0,a=(e=p(e)).length;o<a;o++)this._off(e[o],t,n);else delete this._events;return this},_on:function(e,t,n){this._events=this._events||{};var i=this._events[e];i||(i=[],this._events[e]=i),n===this&&(n=void 0);for(var o={fn:t,ctx:n},a=i,r=0,s=a.length;r<s;r++)if(a[r].fn===t&&a[r].ctx===n)return;a.push(o)},_off:function(e,t,n){var i,o,a;if(this._events&&(i=this._events[e]))if(t){if(n===this&&(n=void 0),i)for(o=0,a=i.length;o<a;o++){var r=i[o];if(r.ctx===n&&r.fn===t)return r.fn=u,this._firingCount&&(this._events[e]=i=i.slice()),void i.splice(o,1)}}else{for(o=0,a=i.length;o<a;o++)i[o].fn=u;delete this._events[e]}},fire:function(e,t,i){if(!this.listens(e,i))return this;var o=n({},t,{type:e,target:this,sourceTarget:t&&t.sourceTarget||this});if(this._events){var a=this._events[e];if(a){this._firingCount=this._firingCount+1||1;for(var r=0,s=a.length;r<s;r++){var l=a[r];l.fn.call(l.ctx||this,o)}this._firingCount--}}return i&&this._propagateEvent(o),this},listens:function(e,t){var n=this._events&&this._events[e];if(n&&n.length)return!0;if(t)for(var i in this._eventParents)if(this._eventParents[i].listens(e,t))return!0;return!1},once:function(e,t,n){if("object"==typeof e){for(var i in e)this.once(i,e[i],t);return this}var o=a(function(){this.off(e,t,n).off(e,o,n)},this);return this.on(e,t,n).on(e,o,n)},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[s(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[s(e)],this},_propagateEvent:function(e){for(var t in this._eventParents)this._eventParents[t].fire(e.type,n({layer:e.target,propagatedFrom:e.target},e),!0)}};E.addEventListener=E.on,E.removeEventListener=E.clearAllEventListeners=E.off,E.addOneTimeEventListener=E.once,E.fireEvent=E.fire,E.hasEventListeners=E.listens;var O=T.extend(E);function D(e,t,n){this.x=n?Math.round(e):e,this.y=n?Math.round(t):t}var z=Math.trunc||function(e){return 0<e?Math.floor(e):Math.ceil(e)};function I(e,t,n){return e instanceof D?e:y(e)?new D(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new D(e.x,e.y):new D(e,t,n)}function N(e,t){if(e)for(var n=t?[e,t]:e,i=0,o=n.length;i<o;i++)this.extend(n[i])}function B(e,t){return!e||e instanceof N?e:new N(e,t)}function j(e,t){if(e)for(var n=t?[e,t]:e,i=0,o=n.length;i<o;i++)this.extend(n[i])}function R(e,t){return e instanceof j?e:new j(e,t)}function H(e,t,n){if(isNaN(e)||isNaN(t))throw new Error("Invalid LatLng object: ("+e+", "+t+")");this.lat=+e,this.lng=+t,void 0!==n&&(this.alt=+n)}function F(e,t,n){return e instanceof H?e:y(e)&&"object"!=typeof e[0]?3===e.length?new H(e[0],e[1],e[2]):2===e.length?new H(e[0],e[1]):null:null==e?e:"object"==typeof e&&"lat"in e?new H(e.lat,"lng"in e?e.lng:e.lon,e.alt):void 0===t?null:new H(e,t,n)}D.prototype={clone:function(){return new D(this.x,this.y)},add:function(e){return this.clone()._add(I(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(I(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new D(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new D(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=z(this.x),this.y=z(this.y),this},distanceTo:function(e){var t=(e=I(e)).x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)},equals:function(e){return(e=I(e)).x===this.x&&e.y===this.y},contains:function(e){return e=I(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+h(this.x)+", "+h(this.y)+")"}},N.prototype={extend:function(e){return e=I(e),this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(e.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(e.y,this.max.y)):(this.min=e.clone(),this.max=e.clone()),this},getCenter:function(e){return new D((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return new D(this.min.x,this.max.y)},getTopRight:function(){return new D(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,n;return(e="number"==typeof e[0]||e instanceof D?I(e):B(e))instanceof N?(t=e.min,n=e.max):t=n=e,t.x>=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=B(e);var t=this.min,n=this.max,i=e.min,o=e.max,a=o.x>=t.x&&i.x<=n.x,r=o.y>=t.y&&i.y<=n.y;return a&&r},overlaps:function(e){e=B(e);var t=this.min,n=this.max,i=e.min,o=e.max,a=o.x>t.x&&i.x<n.x,r=o.y>t.y&&i.y<n.y;return a&&r},isValid:function(){return!(!this.min||!this.max)}},j.prototype={extend:function(e){var t,n,i=this._southWest,o=this._northEast;if(e instanceof H)n=t=e;else{if(!(e instanceof j))return e?this.extend(F(e)||R(e)):this;if(t=e._southWest,n=e._northEast,!t||!n)return this}return i||o?(i.lat=Math.min(t.lat,i.lat),i.lng=Math.min(t.lng,i.lng),o.lat=Math.max(n.lat,o.lat),o.lng=Math.max(n.lng,o.lng)):(this._southWest=new H(t.lat,t.lng),this._northEast=new H(n.lat,n.lng)),this},pad:function(e){var t=this._southWest,n=this._northEast,i=Math.abs(t.lat-n.lat)*e,o=Math.abs(t.lng-n.lng)*e;return new j(new H(t.lat-i,t.lng-o),new H(n.lat+i,n.lng+o))},getCenter:function(){return new H((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new H(this.getNorth(),this.getWest())},getSouthEast:function(){return new H(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(e){e="number"==typeof e[0]||e instanceof H||"lat"in e?F(e):R(e);var t,n,i=this._southWest,o=this._northEast;return e instanceof j?(t=e.getSouthWest(),n=e.getNorthEast()):t=n=e,t.lat>=i.lat&&n.lat<=o.lat&&t.lng>=i.lng&&n.lng<=o.lng},intersects:function(e){e=R(e);var t=this._southWest,n=this._northEast,i=e.getSouthWest(),o=e.getNorthEast(),a=o.lat>=t.lat&&i.lat<=n.lat,r=o.lng>=t.lng&&i.lng<=n.lng;return a&&r},overlaps:function(e){e=R(e);var t=this._southWest,n=this._northEast,i=e.getSouthWest(),o=e.getNorthEast(),a=o.lat>t.lat&&i.lat<n.lat,r=o.lng>t.lng&&i.lng<n.lng;return a&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,t){return!!e&&(e=R(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t))},isValid:function(){return!(!this._southWest||!this._northEast)}};var W,q={latLngToPoint:function(e,t){var n=this.projection.project(e),i=this.scale(t);return this.transformation._transform(n,i)},pointToLatLng:function(e,t){var n=this.scale(t),i=this.transformation.untransform(e,n);return this.projection.unproject(i)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,n=this.scale(e);return new N(this.transformation.transform(t.min,n),this.transformation.transform(t.max,n))},infinite:!(H.prototype={equals:function(e,t){return!!e&&(e=F(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(void 0===t?1e-9:t))},toString:function(e){return"LatLng("+h(this.lat,e)+", "+h(this.lng,e)+")"},distanceTo:function(e){return $.distance(this,F(e))},wrap:function(){return $.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,n=t/Math.cos(Math.PI/180*this.lat);return R([this.lat-t,this.lng-n],[this.lat+t,this.lng+n])},clone:function(){return new H(this.lat,this.lng,this.alt)}}),wrapLatLng:function(e){var t=this.wrapLng?c(e.lng,this.wrapLng,!0):e.lng;return new H(this.wrapLat?c(e.lat,this.wrapLat,!0):e.lat,t,e.alt)},wrapLatLngBounds:function(e){var t=e.getCenter(),n=this.wrapLatLng(t),i=t.lat-n.lat,o=t.lng-n.lng;if(0==i&&0==o)return e;var a=e.getSouthWest(),r=e.getNorthEast();return new j(new H(a.lat-i,a.lng-o),new H(r.lat-i,r.lng-o))}},$=n({},q,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var n=Math.PI/180,i=e.lat*n,o=t.lat*n,a=Math.sin((t.lat-e.lat)*n/2),r=Math.sin((t.lng-e.lng)*n/2),s=a*a+Math.cos(i)*Math.cos(o)*r*r,l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*l}}),Z=6378137,V={R:Z,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,n=this.MAX_LATITUDE,i=Math.max(Math.min(n,e.lat),-n),o=Math.sin(i*t);return new D(this.R*e.lng*t,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(e){var t=180/Math.PI;return new H((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:(W=Z*Math.PI,new N([-W,-W],[W,W]))};function U(e,t,n,i){if(y(e))return this._a=e[0],this._b=e[1],this._c=e[2],void(this._d=e[3]);this._a=e,this._b=t,this._c=n,this._d=i}function G(e,t,n,i){return new U(e,t,n,i)}U.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return t=t||1,e.x=t*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t=t||1,new D((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};var Y,K=n({},$,{code:"EPSG:3857",projection:V,transformation:(Y=.5/(Math.PI*V.R),G(Y,.5,-Y,.5))}),Q=n({},K,{code:"EPSG:900913"});function J(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function X(e,t){var n,i,o,a,r,s,l="";for(n=0,o=e.length;n<o;n++){for(i=0,a=(r=e[n]).length;i<a;i++)l+=(i?"L":"M")+(s=r[i]).x+" "+s.y;l+=t?Le?"z":"x":""}return l||"M0 0"}var ee=document.documentElement.style,te="ActiveXObject"in window,ne=te&&!document.addEventListener,ie="msLaunchUri"in navigator&&!("documentMode"in document),oe=Oe("webkit"),ae=Oe("android"),re=Oe("android 2")||Oe("android 3"),se=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),le=ae&&Oe("Google")&&se<537&&!("AudioNode"in window),ce=!!window.opera,ue=Oe("chrome"),he=Oe("gecko")&&!oe&&!ce&&!te,de=!ue&&Oe("safari"),pe=Oe("phantom"),fe="OTransition"in ee,me=0===navigator.platform.indexOf("Win"),ge=te&&"transition"in ee,_e="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!re,ye="MozPerspective"in ee,ve=!window.L_DISABLE_3D&&(ge||_e||ye)&&!fe&&!pe,be="undefined"!=typeof orientation||Oe("mobile"),we=be&&oe,Ae=be&&_e,xe=!window.PointerEvent&&window.MSPointerEvent,ke=!(!window.PointerEvent&&!xe),Se=!window.L_NO_TOUCH&&(ke||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),Ce=be&&ce,Pe=be&&he,Me=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Te=!!document.createElement("canvas").getContext,Le=!(!document.createElementNS||!J("svg").createSVGRect),Ee=!Le&&function(){try{var e=document.createElement("div");e.innerHTML='<v:shape adj="1"/>';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}();function Oe(e){return 0<=navigator.userAgent.toLowerCase().indexOf(e)}var De=(Object.freeze||Object)({ie:te,ielt9:ne,edge:ie,webkit:oe,android:ae,android23:re,androidStock:le,opera:ce,chrome:ue,gecko:he,safari:de,phantom:pe,opera12:fe,win:me,ie3d:ge,webkit3d:_e,gecko3d:ye,any3d:ve,mobile:be,mobileWebkit:we,mobileWebkit3d:Ae,msPointer:xe,pointer:ke,touch:Se,mobileOpera:Ce,mobileGecko:Pe,retina:Me,canvas:Te,svg:Le,vml:Ee}),ze=xe?"MSPointerDown":"pointerdown",Ie=xe?"MSPointerMove":"pointermove",Ne=xe?"MSPointerUp":"pointerup",Be=xe?"MSPointerCancel":"pointercancel",je=["INPUT","SELECT","OPTION"],Re={},He=!1,Fe=0;function We(e){Re[e.pointerId]=e,Fe++}function qe(e){Re[e.pointerId]&&(Re[e.pointerId]=e)}function $e(e){delete Re[e.pointerId],Fe--}function Ze(e,t){for(var n in e.touches=[],Re)e.touches.push(Re[n]);e.changedTouches=[e],t(e)}var Ve=xe?"MSPointerDown":ke?"pointerdown":"touchstart",Ue=xe?"MSPointerUp":ke?"pointerup":"touchend",Ge="_leaflet_";var Ye,Ke,Qe,Je,Xe,et=gt(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),tt=gt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),nt="webkitTransition"===tt||"OTransition"===tt?tt+"End":"transitionend";function it(e){return"string"==typeof e?document.getElementById(e):e}function ot(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(e,null);n=i?i[t]:null}return"auto"===n?null:n}function at(e,t,n){var i=document.createElement(e);return i.className=t||"",n&&n.appendChild(i),i}function rt(e){var t=e.parentNode;t&&t.removeChild(e)}function st(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function lt(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function ct(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function ut(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=ft(e);return 0<n.length&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(n)}function ht(e,t){if(void 0!==e.classList)for(var n=p(t),i=0,o=n.length;i<o;i++)e.classList.add(n[i]);else if(!ut(e,t)){var a=ft(e);pt(e,(a?a+" ":"")+t)}}function dt(e,t){void 0!==e.classList?e.classList.remove(t):pt(e,d((" "+ft(e)+" ").replace(" "+t+" "," ")))}function pt(e,t){void 0===e.className.baseVal?e.className=t:e.className.baseVal=t}function ft(e){return e.correspondingElement&&(e=e.correspondingElement),void 0===e.className.baseVal?e.className:e.className.baseVal}function mt(e,t){"opacity"in e.style?e.style.opacity=t:"filter"in e.style&&function(e,t){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=e.filters.item(i)}catch(e){if(1===t)return}t=Math.round(100*t),n?(n.Enabled=100!==t,n.Opacity=t):e.style.filter+=" progid:"+i+"(opacity="+t+")"}(e,t)}function gt(e){for(var t=document.documentElement.style,n=0;n<e.length;n++)if(e[n]in t)return e[n];return!1}function _t(e,t,n){var i=t||new D(0,0);e.style[et]=(ge?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(n?" scale("+n+")":"")}function yt(e,t){e._leaflet_pos=t,ve?_t(e,t):(e.style.left=t.x+"px",e.style.top=t.y+"px")}function vt(e){return e._leaflet_pos||new D(0,0)}if("onselectstart"in document)Ye=function(){Mt(window,"selectstart",Nt)},Ke=function(){Lt(window,"selectstart",Nt)};else{var bt=gt(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Ye=function(){if(bt){var e=document.documentElement.style;Qe=e[bt],e[bt]="none"}},Ke=function(){bt&&(document.documentElement.style[bt]=Qe,Qe=void 0)}}function wt(){Mt(window,"dragstart",Nt)}function At(){Lt(window,"dragstart",Nt)}function xt(e){for(;-1===e.tabIndex;)e=e.parentNode;e.style&&(kt(),Xe=(Je=e).style.outline,e.style.outline="none",Mt(window,"keydown",kt))}function kt(){Je&&(Je.style.outline=Xe,Xe=Je=void 0,Lt(window,"keydown",kt))}function St(e){for(;!((e=e.parentNode).offsetWidth&&e.offsetHeight||e===document.body););return e}function Ct(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}var Pt=(Object.freeze||Object)({TRANSFORM:et,TRANSITION:tt,TRANSITION_END:nt,get:it,getStyle:ot,create:at,remove:rt,empty:st,toFront:lt,toBack:ct,hasClass:ut,addClass:ht,removeClass:dt,setClass:pt,getClass:ft,setOpacity:mt,testProp:gt,setTransform:_t,setPosition:yt,getPosition:vt,disableTextSelection:Ye,enableTextSelection:Ke,disableImageDrag:wt,enableImageDrag:At,preventOutline:xt,restoreOutline:kt,getSizedParentNode:St,getScale:Ct});function Mt(e,t,n,i){if("object"==typeof t)for(var o in t)Et(e,o,t[o],n);else for(var a=0,r=(t=p(t)).length;a<r;a++)Et(e,t[a],n,i);return this}var Tt="_leaflet_events";function Lt(e,t,n,i){if("object"==typeof t)for(var o in t)Ot(e,o,t[o],n);else if(t)for(var a=0,r=(t=p(t)).length;a<r;a++)Ot(e,t[a],n,i);else{for(var s in e[Tt])Ot(e,s,e[Tt][s]);delete e[Tt]}return this}function Et(e,t,n,i){var o=t+s(n)+(i?"_"+s(i):"");if(e[Tt]&&e[Tt][o])return this;var r=function(t){return n.call(i||e,t||window.event)},l=r;ke&&0===t.indexOf("touch")?function(e,t,n,i){"touchstart"===t?function(e,t,n){var i=a(function(e){if("mouse"!==e.pointerType&&e.MSPOINTER_TYPE_MOUSE&&e.pointerType!==e.MSPOINTER_TYPE_MOUSE){if(!(je.indexOf(e.target.tagName)<0))return;Nt(e)}Ze(e,t)});e["_leaflet_touchstart"+n]=i,e.addEventListener(ze,i,!1),He||(document.documentElement.addEventListener(ze,We,!0),document.documentElement.addEventListener(Ie,qe,!0),document.documentElement.addEventListener(Ne,$e,!0),document.documentElement.addEventListener(Be,$e,!0),He=!0)}(e,n,i):"touchmove"===t?function(e,t,n){var i=function(e){(e.pointerType!==e.MSPOINTER_TYPE_MOUSE&&"mouse"!==e.pointerType||0!==e.buttons)&&Ze(e,t)};e["_leaflet_touchmove"+n]=i,e.addEventListener(Ie,i,!1)}(e,n,i):"touchend"===t&&function(e,t,n){var i=function(e){Ze(e,t)};e["_leaflet_touchend"+n]=i,e.addEventListener(Ne,i,!1),e.addEventListener(Be,i,!1)}(e,n,i)}(e,t,r,o):!Se||"dblclick"!==t||ke&&ue?"addEventListener"in e?"mousewheel"===t?e.addEventListener("onwheel"in e?"wheel":"mousewheel",r,!1):"mouseenter"===t||"mouseleave"===t?(r=function(t){t=t||window.event,Zt(e,t)&&l(t)},e.addEventListener("mouseenter"===t?"mouseover":"mouseout",r,!1)):("click"===t&&ae&&(r=function(e){!function(e,t){var n=e.timeStamp||e.originalEvent&&e.originalEvent.timeStamp,i=Ft&&n-Ft;if(i&&100<i&&i<500||e.target._simulatedClick&&!e._simulated)return Bt(e);Ft=n,t(e)}(e,l)}),e.addEventListener(t,r,!1)):"attachEvent"in e&&e.attachEvent("on"+t,r):function(e,t,n){var i,o,a=!1;function r(e){var t;if(ke){if(!ie||"mouse"===e.pointerType)return;t=Fe}else t=e.touches.length;if(!(1<t)){var n=Date.now(),r=n-(i||n);o=e.touches?e.touches[0]:e,a=0<r&&r<=250,i=n}}function s(e){if(a&&!o.cancelBubble){if(ke){if(!ie||"mouse"===e.pointerType)return;var n,r,s={};for(r in o)n=o[r],s[r]=n&&n.bind?n.bind(o):n;o=s}o.type="dblclick",o.button=0,t(o),i=null}}e[Ge+Ve+n]=r,e[Ge+Ue+n]=s,e[Ge+"dblclick"+n]=t,e.addEventListener(Ve,r,!1),e.addEventListener(Ue,s,!1),e.addEventListener("dblclick",t,!1)}(e,r,o),e[Tt]=e[Tt]||{},e[Tt][o]=r}function Ot(e,t,n,i){var o=t+s(n)+(i?"_"+s(i):""),a=e[Tt]&&e[Tt][o];if(!a)return this;ke&&0===t.indexOf("touch")?function(e,t,n){var i=e["_leaflet_"+t+o];"touchstart"===t?e.removeEventListener(ze,i,!1):"touchmove"===t?e.removeEventListener(Ie,i,!1):"touchend"===t&&(e.removeEventListener(Ne,i,!1),e.removeEventListener(Be,i,!1))}(e,t):!Se||"dblclick"!==t||ke&&ue?"removeEventListener"in e?"mousewheel"===t?e.removeEventListener("onwheel"in e?"wheel":"mousewheel",a,!1):e.removeEventListener("mouseenter"===t?"mouseover":"mouseleave"===t?"mouseout":t,a,!1):"detachEvent"in e&&e.detachEvent("on"+t,a):function(e,t){var n=e[Ge+Ve+t],i=e[Ge+Ue+t],o=e[Ge+"dblclick"+t];e.removeEventListener(Ve,n,!1),e.removeEventListener(Ue,i,!1),ie||e.removeEventListener("dblclick",o,!1)}(e,o),e[Tt][o]=null}function Dt(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,$t(e),this}function zt(e){return Et(e,"mousewheel",Dt),this}function It(e){return Mt(e,"mousedown touchstart dblclick",Dt),Et(e,"click",qt),this}function Nt(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function Bt(e){return Nt(e),Dt(e),this}function jt(e,t){if(!t)return new D(e.clientX,e.clientY);var n=Ct(t),i=n.boundingClientRect;return new D((e.clientX-i.left)/n.x-t.clientLeft,(e.clientY-i.top)/n.y-t.clientTop)}var Rt=me&&ue?2*window.devicePixelRatio:he?window.devicePixelRatio:1;function Ht(e){return ie?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/Rt:e.deltaY&&1===e.deltaMode?20*-e.deltaY:e.deltaY&&2===e.deltaMode?60*-e.deltaY:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?20*-e.detail:e.detail?e.detail/-32765*60:0}var Ft,Wt={};function qt(e){Wt[e.type]=!0}function $t(e){var t=Wt[e.type];return Wt[e.type]=!1,t}function Zt(e,t){var n=t.relatedTarget;if(!n)return!0;try{for(;n&&n!==e;)n=n.parentNode}catch(e){return!1}return n!==e}var Vt=(Object.freeze||Object)({on:Mt,off:Lt,stopPropagation:Dt,disableScrollPropagation:zt,disableClickPropagation:It,preventDefault:Nt,stop:Bt,getMousePosition:jt,getWheelDelta:Ht,fakeStop:qt,skipped:$t,isExternalTarget:Zt,addListener:Mt,removeListener:Lt}),Ut=O.extend({run:function(e,t,n,i){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=vt(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=1e3*this._duration;t<n?this._runFrame(this._easeOut(t/n),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var n=this._startPos.add(this._offset.multiplyBy(e));t&&n._round(),yt(this._el,n),this.fire("step")},_complete:function(){P(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),Gt=O.extend({options:{crs:K,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=f(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),void 0!==t.zoom&&(this._zoom=this._limitZoom(t.zoom)),t.center&&void 0!==t.zoom&&this.setView(F(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=tt&&ve&&!Ce&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Mt(this._proxy,nt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(e,t,i){return t=void 0===t?this._zoom:this._limitZoom(t),e=this._limitCenter(F(e),t,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=n({animate:i.animate},i.zoom),i.pan=n({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==t?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,t,i.zoom):this._tryAnimatedPan(e,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(e,t),this)},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e=e||(ve?this.options.zoomDelta:1),this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e=e||(ve?this.options.zoomDelta:1),this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,n){var i=this.getZoomScale(t),o=this.getSize().divideBy(2),a=(e instanceof D?e:this.latLngToContainerPoint(e)).subtract(o).multiplyBy(1-1/i),r=this.containerPointToLatLng(o.add(a));return this.setView(r,t,{zoom:n})},_getBoundsCenterZoom:function(e,t){t=t||{},e=e.getBounds?e.getBounds():R(e);var n=I(t.paddingTopLeft||t.padding||[0,0]),i=I(t.paddingBottomRight||t.padding||[0,0]),o=this.getBoundsZoom(e,!1,n.add(i));if((o="number"==typeof t.maxZoom?Math.min(t.maxZoom,o):o)===1/0)return{center:e.getCenter(),zoom:o};var a=i.subtract(n).divideBy(2),r=this.project(e.getSouthWest(),o),s=this.project(e.getNorthEast(),o);return{center:this.unproject(r.add(s).divideBy(2).add(a),o),zoom:o}},fitBounds:function(e,t){if(!(e=R(e)).isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(e,t);return this.setView(n.center,n.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(t=t||{},!(e=I(e).round()).x&&!e.y)return this.fire("moveend");if(!0!==t.animate&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Ut,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire("movestart"),!1!==t.animate){ht(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,n,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire("move").fire("moveend");return this},flyTo:function(e,t,n){if(!1===(n=n||{}).animate||!ve)return this.setView(e,t,n);this._stop();var i=this.project(this.getCenter()),o=this.project(e),a=this.getSize(),r=this._zoom;e=F(e),t=void 0===t?r:t;var s=Math.max(a.x,a.y),l=s*this.getZoomScale(r,t),c=o.distanceTo(i)||1,u=1.42,h=u*u;function d(e){var t=(l*l-s*s+(e?-1:1)*h*h*c*c)/(2*(e?l:s)*h*c),n=Math.sqrt(t*t+1)-t;return n<1e-9?-18:Math.log(n)}function p(e){return(Math.exp(e)-Math.exp(-e))/2}function f(e){return(Math.exp(e)+Math.exp(-e))/2}var m=d(0);var g=Date.now(),_=(d(1)-m)/u,y=n.duration?1e3*n.duration:1e3*_*.8;return this._moveStart(!0,n.noMoveStart),function n(){var a=(Date.now()-g)/y,l=function(e){return 1-Math.pow(1-e,1.5)}(a)*_;a<=1?(this._flyToFrame=C(n,this),this._move(this.unproject(i.add(o.subtract(i).multiplyBy(function(e){return s*(f(m)*function(e){return p(e)/f(e)}(m+u*e)-p(m))/h}(l)/c)),r),this.getScaleZoom(s/function(e){return s*(f(m)/f(m+u*e))}(l),r),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}.call(this),this},flyToBounds:function(e,t){var n=this._getBoundsCenterZoom(e,t);return this.flyTo(n.center,n.zoom,t)},setMaxBounds:function(e){return(e=R(e)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,R(e));return n.equals(i)||this.panTo(i,t),this._enforcingBounds=!1,this},panInside:function(e,t){var n=I((t=t||{}).paddingTopLeft||t.padding||[0,0]),i=I(t.paddingBottomRight||t.padding||[0,0]),o=this.getCenter(),a=this.project(o),r=this.project(e),s=this.getPixelBounds(),l=s.getSize().divideBy(2),c=B([s.min.add(n),s.max.subtract(i)]);if(!c.contains(r)){this._enforcingBounds=!0;var u=a.subtract(r),h=I(r.x+u.x,r.y+u.y);(r.x<c.min.x||r.x>c.max.x)&&(h.x=a.x-u.x,0<u.x?h.x+=l.x-n.x:h.x-=l.x-i.x),(r.y<c.min.y||r.y>c.max.y)&&(h.y=a.y-u.y,0<u.y?h.y+=l.y-n.y:h.y-=l.y-i.y),this.panTo(this.unproject(h),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=n({animate:!1,pan:!0},!0===e?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),o=t.divideBy(2).round(),r=i.divideBy(2).round(),s=o.subtract(r);return s.x||s.y?(e.animate&&e.pan?this.panBy(s):(e.pan&&this._rawPanBy(s),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=n({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var t=a(this._handleGeolocationResponse,this),i=a(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,i,e):navigator.geolocation.getCurrentPosition(t,i,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){var t=e.code,n=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(e){var t=new H(e.coords.latitude,e.coords.longitude),n=t.toBounds(2*e.coords.accuracy),i=this._locateOptions;if(i.setView){var o=this.getBoundsZoom(n);this.setView(t,i.maxZoom?Math.min(o,i.maxZoom):o)}var a={latlng:t,bounds:n,timestamp:e.timestamp};for(var r in e.coords)"number"==typeof e.coords[r]&&(a[r]=e.coords[r]);this.fire("locationfound",a)},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var e;for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),rt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(P(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)rt(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=at("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new j(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=R(e),n=I(n||[0,0]);var i=this.getZoom()||0,o=this.getMinZoom(),a=this.getMaxZoom(),r=e.getNorthWest(),s=e.getSouthEast(),l=this.getSize().subtract(n),c=B(this.project(s,i),this.project(r,i)).getSize(),u=ve?this.options.zoomSnap:1,h=l.x/c.x,d=l.y/c.y,p=t?Math.max(h,d):Math.min(h,d);return i=this.getScaleZoom(p,i),u&&(i=Math.round(i/(u/100))*(u/100),i=t?Math.ceil(i/u)*u:Math.floor(i/u)*u),Math.max(o,Math.min(a,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new N(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=void 0===t?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=void 0===t?this._zoom:t;var i=n.zoom(e*n.scale(t));return isNaN(i)?1/0:i},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(F(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(I(e),t)},layerPointToLatLng:function(e){var t=I(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(F(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(F(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(R(e))},distance:function(e,t){return this.options.crs.distance(F(e),F(t))},containerPointToLayerPoint:function(e){return I(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return I(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(I(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(e)))},mouseEventToContainerPoint:function(e){return jt(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=it(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");Mt(t,"scroll",this._onScroll,this),this._containerId=s(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&ve,ht(e,"leaflet-container"+(Se?" leaflet-touch":"")+(Me?" leaflet-retina":"")+(ne?" leaflet-oldie":"")+(de?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=ot(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),yt(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ht(e.markerPane,"leaflet-zoom-hide"),ht(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t){yt(this._mapPane,new D(0,0));var n=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var i=this._zoom!==t;this._moveStart(i,!1)._move(e,t)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,n){void 0===t&&(t=this._zoom);var i=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return P(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){yt(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={};var t=e?Lt:Mt;t((this._targets[s(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),ve&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){P(this._resizeRequest),this._resizeRequest=C(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n,i=[],o="mouseout"===t||"mouseover"===t,a=e.target||e.srcElement,r=!1;a;){if((n=this._targets[s(a)])&&("click"===t||"preclick"===t)&&!e._simulated&&this._draggableMoved(n)){r=!0;break}if(n&&n.listens(t,!0)){if(o&&!Zt(a,e))break;if(i.push(n),o)break}if(a===this._container)break;a=a.parentNode}return i.length||r||o||!Zt(a,e)||(i=[this]),i},_handleDOMEvent:function(e){if(this._loaded&&!$t(e)){var t=e.type;"mousedown"!==t&&"keypress"!==t&&"keyup"!==t&&"keydown"!==t||xt(e.target||e.srcElement),this._fireDOMEvent(e,t)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,t,i){if("click"===e.type){var o=n({},e);o.type="preclick",this._fireDOMEvent(o,o.type,i)}if(!e._stopped&&(i=(i||[]).concat(this._findEventTargets(e,t))).length){var a=i[0];"contextmenu"===t&&a.listens(t,!0)&&Nt(e);var r={originalEvent:e};if("keypress"!==e.type&&"keydown"!==e.type&&"keyup"!==e.type){var s=a.getLatLng&&(!a._radius||a._radius<=10);r.containerPoint=s?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(e),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=s?a.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var l=0;l<i.length;l++)if(i[l].fire(t,r,!0),r.originalEvent._stopped||!1===i[l].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,t))return}},_draggableMoved:function(e){return(e=e.dragging&&e.dragging.enabled()?e:this).dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on("load",e,t),this},_getMapPanePos:function(){return vt(this._mapPane)||new D(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&void 0!==t?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var n=this.getSize()._divideBy(2);return this.project(e,t)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,n){var i=this._getNewPixelOrigin(n,t);return this.project(e,t)._subtract(i)},_latLngBoundsToNewLayerBounds:function(e,t,n){var i=this._getNewPixelOrigin(n,t);return B([this.project(e.getSouthWest(),t)._subtract(i),this.project(e.getNorthWest(),t)._subtract(i),this.project(e.getSouthEast(),t)._subtract(i),this.project(e.getNorthEast(),t)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,n){if(!n)return e;var i=this.project(e,t),o=this.getSize().divideBy(2),a=new N(i.subtract(o),i.add(o)),r=this._getBoundsOffset(a,n,t);return r.round().equals([0,0])?e:this.unproject(i.add(r),t)},_limitOffset:function(e,t){if(!t)return e;var n=this.getPixelBounds(),i=new N(n.min.add(e),n.max.add(e));return e.add(this._getBoundsOffset(i,t))},_getBoundsOffset:function(e,t,n){var i=B(this.project(t.getNorthEast(),n),this.project(t.getSouthWest(),n)),o=i.min.subtract(e.min),a=i.max.subtract(e.max);return new D(this._rebound(o.x,-a.x),this._rebound(o.y,-a.y))},_rebound:function(e,t){return 0<e+t?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),i=ve?this.options.zoomSnap:1;return i&&(e=Math.round(e/i)*i),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){dt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return!(!0!==(t&&t.animate)&&!this.getSize().contains(n)||(this.panBy(n,t),0))},_createAnimProxy:function(){var e=this._proxy=at("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(e){var t=et,n=this._proxy.style[t];_t(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var e=this.getCenter(),t=this.getZoom();_t(this._proxy,this.project(e,t),this.getZoomScale(t,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){rt(this._proxy),delete this._proxy},_catchTransitionEnd:function(e){this._animatingZoom&&0<=e.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(t),o=this._getCenterOffset(e)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(o)||(C(function(){this._moveStart(!0,!1)._animateZoom(e,t,!0)},this),0))},_animateZoom:function(e,t,n,i){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,ht(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:i}),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&dt(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),C(function(){this._moveEnd(!0)},this))}});function Yt(e){return new Kt(e)}var Kt=T.extend({options:{position:"topright"},initialize:function(e){f(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),i=e._controlCorners[n];return ht(t,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(t,i.firstChild):i.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(rt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(e){this._map&&e&&0<e.screenX&&0<e.screenY&&this._map.getContainer().focus()}});Gt.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",n=this._controlContainer=at("div",t+"control-container",this._container);function i(i,o){var a=t+i+" "+t+o;e[i+o]=at("div",a,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)rt(this._controlCorners[e]);rt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Qt=Kt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,i){return n<i?-1:i<n?1:0}},initialize:function(e,t,n){for(var i in f(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,e)this._addLayer(e[i],i);for(i in t)this._addLayer(t[i],i,!0)},onAdd:function(e){this._initLayout(),this._update(),(this._map=e).on("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return Kt.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off("add remove",this._onLayerChange,this);var t=this._getLayer(s(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){ht(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(ht(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):dt(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return dt(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",t=this._container=at("div",e),n=this.options.collapsed;t.setAttribute("aria-haspopup",!0),It(t),zt(t);var i=this._section=at("section",e+"-list");n&&(this._map.on("click",this.collapse,this),ae||Mt(t,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=at("a",e+"-toggle",t);o.href="#",o.title="Layers",Se?(Mt(o,"click",Bt),Mt(o,"click",this.expand,this)):Mt(o,"focus",this.expand,this),n||this.expand(),this._baseLayersList=at("div",e+"-base",i),this._separator=at("div",e+"-separator",i),this._overlaysList=at("div",e+"-overlays",i),t.appendChild(i)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&s(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,n){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:n}),this.options.sortLayers&&this._layers.sort(a(function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;st(this._baseLayersList),st(this._overlaysList),this._layerControlInputs=[];var e,t,n,i,o=0;for(n=0;n<this._layers.length;n++)i=this._layers[n],this._addItem(i),t=t||i.overlay,e=e||!i.overlay,o+=i.overlay?0:1;return this.options.hideSingleBase&&(e=e&&1<o,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(s(e.target)),n=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(t?' checked="checked"':"")+"/>",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(e){var t,n=document.createElement("label"),i=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=i):t=this._createRadioElement("leaflet-base-layers_"+s(this),i),this._layerControlInputs.push(t),t.layerId=s(e.layer),Mt(t,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+e.name;var a=document.createElement("div");return n.appendChild(a),a.appendChild(t),a.appendChild(o),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var e,t,n=this._layerControlInputs,i=[],o=[];this._handlingClick=!0;for(var a=n.length-1;0<=a;a--)e=n[a],t=this._getLayer(e.layerId).layer,e.checked?i.push(t):e.checked||o.push(t);for(a=0;a<o.length;a++)this._map.hasLayer(o[a])&&this._map.removeLayer(o[a]);for(a=0;a<i.length;a++)this._map.hasLayer(i[a])||this._map.addLayer(i[a]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var e,t,n=this._layerControlInputs,i=this._map.getZoom(),o=n.length-1;0<=o;o--)e=n[o],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&i<t.options.minZoom||void 0!==t.options.maxZoom&&i>t.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Jt=Kt.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",n=at("div",t+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,t+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,t+"-out",n,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,i,o){var a=at("a",n,i);return a.innerHTML=e,a.href="#",a.title=t,a.setAttribute("role","button"),a.setAttribute("aria-label",t),It(a),Mt(a,"click",Bt),Mt(a,"click",o,this),Mt(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";dt(this._zoomInButton,t),dt(this._zoomOutButton,t),!this._disabled&&e._zoom!==e.getMinZoom()||ht(this._zoomOutButton,t),!this._disabled&&e._zoom!==e.getMaxZoom()||ht(this._zoomInButton,t)}});Gt.mergeOptions({zoomControl:!0}),Gt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Jt,this.addControl(this.zoomControl))});var Xt=Kt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",n=at("div",t),i=this.options;return this._addScales(i,t+"-line",n),e.on(i.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=at("div",t,n)),e.imperial&&(this._iScale=at("div",t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t,n,i,o=3.2808399*e;5280<o?(t=o/5280,n=this._getRoundNum(t),this._updateScale(this._iScale,n+" mi",n/t)):(i=this._getRoundNum(o),this._updateScale(this._iScale,i+" ft",i/o))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),n=e/t;return t*(10<=n?10:5<=n?5:3<=n?3:2<=n?2:1)}}),en=Kt.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(e){f(this,e),this._attributions={}},onAdd:function(e){for(var t in(e.attributionControl=this)._container=at("div","leaflet-control-attribution"),It(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),this._container},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e&&(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update()),this},removeAttribution:function(e){return e&&this._attributions[e]&&(this._attributions[e]--,this._update()),this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(" | ")}}});Gt.mergeOptions({attributionControl:!0}),Gt.addInitHook(function(){this.options.attributionControl&&(new en).addTo(this)}),Kt.Layers=Qt,Kt.Zoom=Jt,Kt.Scale=Xt,Kt.Attribution=en,Yt.layers=function(e,t,n){return new Qt(e,t,n)},Yt.zoom=function(e){return new Jt(e)},Yt.scale=function(e){return new Xt(e)},Yt.attribution=function(e){return new en(e)};var tn=T.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});tn.addTo=function(e,t){return e.addHandler(t,this),this};var nn,on={Events:E},an=Se?"touchstart mousedown":"mousedown",rn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},sn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},ln=O.extend({options:{clickTolerance:3},initialize:function(e,t,n,i){f(this,i),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n},enable:function(){this._enabled||(Mt(this._dragStartTarget,an,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ln._dragging===this&&this.finishDrag(),Lt(this._dragStartTarget,an,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(!e._simulated&&this._enabled&&(this._moved=!1,!ut(this._element,"leaflet-zoom-anim")&&!(ln._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||((ln._dragging=this)._preventOutline&&xt(this._element),wt(),Ye(),this._moving)))){this.fire("down");var t=e.touches?e.touches[0]:e,n=St(this._element);this._startPoint=new D(t.clientX,t.clientY),this._parentScale=Ct(n),Mt(document,sn[e.type],this._onMove,this),Mt(document,rn[e.type],this._onUp,this)}},_onMove:function(e){if(!e._simulated&&this._enabled)if(e.touches&&1<e.touches.length)this._moved=!0;else{var t=e.touches&&1===e.touches.length?e.touches[0]:e,n=new D(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Nt(e),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=vt(this._element).subtract(n),ht(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),ht(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,P(this._animRequest),this._lastEvent=e,this._animRequest=C(this._updatePosition,this,!0)))}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),yt(this._element,this._newPos),this.fire("drag",e)},_onUp:function(e){!e._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var e in dt(document.body,"leaflet-dragging"),this._lastTarget&&(dt(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),sn)Lt(document,sn[e],this._onMove,this),Lt(document,rn[e],this._onUp,this);At(),Ke(),this._moved&&this._moving&&(P(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,ln._dragging=!1}});function cn(e,t){if(!t||!e.length)return e.slice();var n=t*t;return function(e,t){var n=e.length,i=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);i[0]=i[n-1]=1,function e(t,n,i,o,a){var r,s,l,c=0;for(s=o+1;s<=a-1;s++)c<(l=fn(t[s],t[o],t[a],!0))&&(r=s,c=l);i<c&&(n[r]=1,e(t,n,i,o,r),e(t,n,i,r,a))}(e,i,t,0,n-1);var o,a=[];for(o=0;o<n;o++)i[o]&&a.push(e[o]);return a}(e=function(e,t){for(var n=[e[0]],i=1,o=0,a=e.length;i<a;i++)r=e[i],t<(l=(s=e[o]).x-r.x)*l+(c=s.y-r.y)*c&&(n.push(e[i]),o=i);var r,s,l,c;return o<a-1&&n.push(e[a-1]),n}(e,n),n)}function un(e,t,n){return Math.sqrt(fn(e,t,n,!0))}function hn(e,t,n,i,o){var a,r,s,l=i?nn:pn(e,n),c=pn(t,n);for(nn=c;;){if(!(l|c))return[e,t];if(l&c)return!1;s=pn(r=dn(e,t,a=l||c,n,o),n),a===l?(e=r,l=s):(t=r,c=s)}}function dn(e,t,n,i,o){var a,r,s=t.x-e.x,l=t.y-e.y,c=i.min,u=i.max;return 8&n?(a=e.x+s*(u.y-e.y)/l,r=u.y):4&n?(a=e.x+s*(c.y-e.y)/l,r=c.y):2&n?(a=u.x,r=e.y+l*(u.x-e.x)/s):1&n&&(a=c.x,r=e.y+l*(c.x-e.x)/s),new D(a,r,o)}function pn(e,t){var n=0;return e.x<t.min.x?n|=1:e.x>t.max.x&&(n|=2),e.y<t.min.y?n|=4:e.y>t.max.y&&(n|=8),n}function fn(e,t,n,i){var o,a=t.x,r=t.y,s=n.x-a,l=n.y-r,c=s*s+l*l;return 0<c&&(1<(o=((e.x-a)*s+(e.y-r)*l)/c)?(a=n.x,r=n.y):0<o&&(a+=s*o,r+=l*o)),s=e.x-a,l=e.y-r,i?s*s+l*l:new D(a,r)}function mn(e){return!y(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function gn(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),mn(e)}var _n=(Object.freeze||Object)({simplify:cn,pointToSegmentDistance:un,closestPointOnSegment:function(e,t,n){return fn(e,t,n)},clipSegment:hn,_getEdgeIntersection:dn,_getBitCode:pn,_sqClosestPointOnSegment:fn,isFlat:mn,_flat:gn});function yn(e,t,n){var i,o,a,r,s,l,c,u,h,d=[1,4,2,8];for(o=0,c=e.length;o<c;o++)e[o]._code=pn(e[o],t);for(r=0;r<4;r++){for(u=d[r],i=[],o=0,a=(c=e.length)-1;o<c;a=o++)s=e[o],l=e[a],s._code&u?l._code&u||((h=dn(l,s,u,t,n))._code=pn(h,t),i.push(h)):(l._code&u&&((h=dn(l,s,u,t,n))._code=pn(h,t),i.push(h)),i.push(s));e=i}return e}var vn,bn=(Object.freeze||Object)({clipPolygon:yn}),wn={project:function(e){return new D(e.lng,e.lat)},unproject:function(e){return new H(e.y,e.x)},bounds:new N([-180,-90],[180,90])},An={R:6378137,R_MINOR:6356752.314245179,bounds:new N([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,n=this.R,i=e.lat*t,o=this.R_MINOR/n,a=Math.sqrt(1-o*o),r=a*Math.sin(i),s=Math.tan(Math.PI/4-i/2)/Math.pow((1-r)/(1+r),a/2);return i=-n*Math.log(Math.max(s,1e-10)),new D(e.lng*t*n,i)},unproject:function(e){for(var t,n=180/Math.PI,i=this.R,o=this.R_MINOR/i,a=Math.sqrt(1-o*o),r=Math.exp(-e.y/i),s=Math.PI/2-2*Math.atan(r),l=0,c=.1;l<15&&1e-7<Math.abs(c);l++)t=a*Math.sin(s),t=Math.pow((1-t)/(1+t),a/2),s+=c=Math.PI/2-2*Math.atan(r*t)-s;return new H(s*n,e.x*n/i)}},xn=(Object.freeze||Object)({LonLat:wn,Mercator:An,SphericalMercator:V}),kn=n({},$,{code:"EPSG:3395",projection:An,transformation:(vn=.5/(Math.PI*An.R),G(vn,.5,-vn,.5))}),Sn=n({},$,{code:"EPSG:4326",projection:wn,transformation:G(1/180,1,-1/180,.5)}),Cn=n({},q,{projection:wn,transformation:G(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,i=t.lat-e.lat;return Math.sqrt(n*n+i*i)},infinite:!0});q.Earth=$,q.EPSG3395=kn,q.EPSG3857=K,q.EPSG900913=Q,q.EPSG4326=Sn,q.Simple=Cn;var Pn=O.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[s(e)]=this},removeInteractiveTarget:function(e){return delete this._map._targets[s(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once("remove",function(){t.off(n,this)},this)}this.onAdd(t),this.getAttribution&&t.attributionControl&&t.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),t.fire("layeradd",{layer:this})}}});Gt.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=s(e);return this._layers[t]||((this._layers[t]=e)._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=s(e);return this._layers[t]&&(this._loaded&&e.onRemove(this),e.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(e.getAttribution()),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null),this},hasLayer:function(e){return!!e&&s(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){for(var t=0,n=(e=e?y(e)?e:[e]:[]).length;t<n;t++)this.addLayer(e[t])},_addZoomLimit:function(e){!isNaN(e.options.maxZoom)&&isNaN(e.options.minZoom)||(this._zoomBoundLayers[s(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=s(e);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,n=this._getZoomSpan();for(var i in this._zoomBoundLayers){var o=this._zoomBoundLayers[i].options;e=void 0===o.minZoom?e:Math.min(e,o.minZoom),t=void 0===o.maxZoom?t:Math.max(t,o.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Mn=Pn.extend({initialize:function(e,t){var n,i;if(f(this,t),this._layers={},e)for(n=0,i=e.length;n<i;n++)this.addLayer(e[n])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){return!!e&&(e in this._layers||this.getLayerId(e)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t,n,i=Array.prototype.slice.call(arguments,1);for(t in this._layers)(n=this._layers[t])[e]&&n[e].apply(n,i);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:function(e){return s(e)}}),Tn=Mn.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),Mn.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),Mn.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e=new j;for(var t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),Ln=T.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(e){f(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var n=this._getIconUrl(e);if(!n){if("icon"===e)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i=this._createImg(n,t&&"IMG"===t.tagName?t:null);return this._setIconStyles(i,e),i},_setIconStyles:function(e,t){var n=this.options,i=n[t+"Size"];"number"==typeof i&&(i=[i,i]);var o=I(i),a=I("shadow"===t&&n.shadowAnchor||n.iconAnchor||o&&o.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(n.className||""),a&&(e.style.marginLeft=-a.x+"px",e.style.marginTop=-a.y+"px"),o&&(e.style.width=o.x+"px",e.style.height=o.y+"px")},_createImg:function(e,t){return(t=t||document.createElement("img")).src=e,t},_getIconUrl:function(e){return Me&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}}),En=Ln.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return En.imagePath||(En.imagePath=this._detectIconPath()),(this.options.imagePath||En.imagePath)+Ln.prototype._getIconUrl.call(this,e)},_detectIconPath:function(){var e=at("div","leaflet-default-icon-path",document.body),t=ot(e,"background-image")||ot(e,"backgroundImage");return document.body.removeChild(e),null===t||0!==t.indexOf("url")?"":t.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),On=tn.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new ln(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),ht(e,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&dt(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,n=t._map,i=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,a=vt(t._icon),r=n.getPixelBounds(),s=n.getPixelOrigin(),l=B(r.min._subtract(s).add(o),r.max._subtract(s).subtract(o));if(!l.contains(a)){var c=I((Math.max(l.max.x,a.x)-l.max.x)/(r.max.x-l.max.x)-(Math.min(l.min.x,a.x)-l.min.x)/(r.min.x-l.min.x),(Math.max(l.max.y,a.y)-l.max.y)/(r.max.y-l.max.y)-(Math.min(l.min.y,a.y)-l.min.y)/(r.min.y-l.min.y)).multiplyBy(i);n.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),yt(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=C(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(e){this._marker.options.autoPan&&(P(this._panRequest),this._panRequest=C(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,n=t._shadow,i=vt(t._icon),o=t._map.layerPointToLatLng(i);n&&yt(n,i),t._latlng=o,e.latlng=o,e.oldLatLng=this._oldLatLng,t.fire("move",e).fire("drag",e)},_onDragEnd:function(e){P(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),Dn=Pn.extend({options:{icon:new En,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){f(this,t),this._latlng=F(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=F(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=e.icon.createIcon(this._icon),i=!1;n!==this._icon&&(this._icon&&this._removeIcon(),i=!0,e.title&&(n.title=e.title),"IMG"===n.tagName&&(n.alt=e.alt||"")),ht(n,t),e.keyboard&&(n.tabIndex="0"),this._icon=n,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=e.icon.createShadow(this._shadow),a=!1;o!==this._shadow&&(this._removeShadow(),a=!0),o&&(ht(o,t),o.alt=""),this._shadow=o,e.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&a&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),rt(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&rt(this._shadow),this._shadow=null},_setPos:function(e){yt(this._icon,e),this._shadow&&yt(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon.style.zIndex=this._zIndex+e},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(ht(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),On)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new On(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&mt(this._icon,e),this._shadow&&mt(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),zn=Pn.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(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return f(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e.hasOwnProperty("weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),In=zn.extend({options:{fill:!0,radius:10},initialize:function(e,t){f(this,t),this._latlng=F(e),this._radius=this.options.radius},setLatLng:function(e){return this._latlng=F(e),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return zn.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,n=this._clickTolerance(),i=[e+n,t+n];this._pxBounds=new N(this._point.subtract(i),this._point.add(i))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Nn=In.extend({initialize:function(e,t,i){if("number"==typeof t&&(t=n({},i,{radius:t})),f(this,t),this._latlng=F(e),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new j(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:zn.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,n=this._map,i=n.options.crs;if(i.distance===$.distance){var o=Math.PI/180,a=this._mRadius/$.R/o,r=n.project([t+a,e]),s=n.project([t-a,e]),l=r.add(s).divideBy(2),c=n.unproject(l).lat,u=Math.acos((Math.cos(a*o)-Math.sin(t*o)*Math.sin(c*o))/(Math.cos(t*o)*Math.cos(c*o)))/o;!isNaN(u)&&0!==u||(u=a/Math.cos(Math.PI/180*t)),this._point=l.subtract(n.getPixelOrigin()),this._radius=isNaN(u)?0:l.x-n.project([c,e-u]).x,this._radiusY=l.y-r.y}else{var h=i.unproject(i.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(h).x}this._updateBounds()}}),Bn=zn.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){f(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t,n,i=1/0,o=null,a=fn,r=0,s=this._parts.length;r<s;r++)for(var l=this._parts[r],c=1,u=l.length;c<u;c++){var h=a(e,t=l[c-1],n=l[c],!0);h<i&&(i=h,o=a(e,t,n))}return o&&(o.distance=Math.sqrt(i)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var e,t,n,i,o,a,r,s=this._rings[0],l=s.length;if(!l)return null;for(t=e=0;e<l-1;e++)t+=s[e].distanceTo(s[e+1])/2;if(0===t)return this._map.layerPointToLatLng(s[0]);for(i=e=0;e<l-1;e++)if(o=s[e],a=s[e+1],t<(i+=n=o.distanceTo(a)))return r=(i-t)/n,this._map.layerPointToLatLng([a.x-r*(a.x-o.x),a.y-r*(a.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=F(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new j,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return mn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=mn(e),i=0,o=e.length;i<o;i++)n?(t[i]=F(e[i]),this._bounds.extend(t[i])):t[i]=this._convertLatLngs(e[i]);return t},_project:function(){var e=new N;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new D(e,e);this._pxBounds=new N([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)])},_projectLatlngs:function(e,t,n){var i,o,a=e[0]instanceof H,r=e.length;if(a){for(o=[],i=0;i<r;i++)o[i]=this._map.latLngToLayerPoint(e[i]),n.extend(o[i]);t.push(o)}else for(i=0;i<r;i++)this._projectLatlngs(e[i],t,n)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else{var t,n,i,o,a,r,s,l=this._parts;for(i=t=0,o=this._rings.length;t<o;t++)for(n=0,a=(s=this._rings[t]).length;n<a-1;n++)(r=hn(s[n],s[n+1],e,n,!0))&&(l[i]=l[i]||[],l[i].push(r[0]),r[1]===s[n+1]&&n!==a-2||(l[i].push(r[1]),i++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,n=0,i=e.length;n<i;n++)e[n]=cn(e[n],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var n,i,o,a,r,s,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(n=0,a=this._parts.length;n<a;n++)for(i=0,o=(r=(s=this._parts[n]).length)-1;i<r;o=i++)if((t||0!==i)&&un(e,s[o],s[i])<=l)return!0;return!1}});Bn._flat=gn;var jn=Bn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var e,t,n,i,o,a,r,s,l,c=this._rings[0],u=c.length;if(!u)return null;for(a=r=s=0,e=0,t=u-1;e<u;t=e++)n=c[e],i=c[t],o=n.y*i.x-i.y*n.x,r+=(n.x+i.x)*o,s+=(n.y+i.y)*o,a+=3*o;return l=0===a?c[0]:[r/a,s/a],this._map.layerPointToLatLng(l)},_convertLatLngs:function(e){var t=Bn.prototype._convertLatLngs.call(this,e),n=t.length;return 2<=n&&t[0]instanceof H&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){Bn.prototype._setLatLngs.call(this,e),mn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return mn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new D(t,t);if(e=new N(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var i,o=0,a=this._rings.length;o<a;o++)(i=yn(this._rings[o],e,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t,n,i,o,a,r,s,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(o=0,s=this._parts.length;o<s;o++)for(a=0,r=(l=(t=this._parts[o]).length)-1;a<l;r=a++)n=t[a],i=t[r],n.y>e.y!=i.y>e.y&&e.x<(i.x-n.x)*(e.y-n.y)/(i.y-n.y)+n.x&&(c=!c);return c||Bn.prototype._containsPoint.call(this,e,!0)}}),Rn=Tn.extend({initialize:function(e,t){f(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,n,i,o=y(e)?e:e.features;if(o){for(t=0,n=o.length;t<n;t++)((i=o[t]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var a=this.options;if(a.filter&&!a.filter(e))return this;var r=Hn(e,a);return r?(r.feature=Vn(e),r.defaultOptions=r.options,this.resetStyle(r),a.onEachFeature&&a.onEachFeature(e,r),this.addLayer(r)):this},resetStyle:function(e){return e.options=n({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(e,t){e.setStyle&&("function"==typeof t&&(t=t(e.feature)),e.setStyle(t))}});function Hn(e,t){var n,i,o,a,r="Feature"===e.type?e.geometry:e,s=r?r.coordinates:null,l=[],c=t&&t.pointToLayer,u=t&&t.coordsToLatLng||Fn;if(!s&&!r)return null;switch(r.type){case"Point":return n=u(s),c?c(e,n):new Dn(n);case"MultiPoint":for(o=0,a=s.length;o<a;o++)n=u(s[o]),l.push(c?c(e,n):new Dn(n));return new Tn(l);case"LineString":case"MultiLineString":return i=Wn(s,"LineString"===r.type?0:1,u),new Bn(i,t);case"Polygon":case"MultiPolygon":return i=Wn(s,"Polygon"===r.type?1:2,u),new jn(i,t);case"GeometryCollection":for(o=0,a=r.geometries.length;o<a;o++){var h=Hn({geometry:r.geometries[o],type:"Feature",properties:e.properties},t);h&&l.push(h)}return new Tn(l);default:throw new Error("Invalid GeoJSON object.")}}function Fn(e){return new H(e[1],e[0],e[2])}function Wn(e,t,n){for(var i,o=[],a=0,r=e.length;a<r;a++)i=t?Wn(e[a],t-1,n):(n||Fn)(e[a]),o.push(i);return o}function qn(e,t){return t="number"==typeof t?t:6,void 0!==e.alt?[h(e.lng,t),h(e.lat,t),h(e.alt,t)]:[h(e.lng,t),h(e.lat,t)]}function $n(e,t,n,i){for(var o=[],a=0,r=e.length;a<r;a++)o.push(t?$n(e[a],t-1,n,i):qn(e[a],i));return!t&&n&&o.push(o[0]),o}function Zn(e,t){return e.feature?n({},e.feature,{geometry:t}):Vn(t)}function Vn(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}var Un={toGeoJSON:function(e){return Zn(this,{type:"Point",coordinates:qn(this.getLatLng(),e)})}};function Gn(e,t){return new Rn(e,t)}Dn.include(Un),Nn.include(Un),In.include(Un),Bn.include({toGeoJSON:function(e){var t=!mn(this._latlngs);return Zn(this,{type:(t?"Multi":"")+"LineString",coordinates:$n(this._latlngs,t?1:0,!1,e)})}}),jn.include({toGeoJSON:function(e){var t=!mn(this._latlngs),n=t&&!mn(this._latlngs[0]),i=$n(this._latlngs,n?2:t?1:0,!0,e);return t||(i=[i]),Zn(this,{type:(n?"Multi":"")+"Polygon",coordinates:i})}}),Mn.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(n){t.push(n.toGeoJSON(e).geometry.coordinates)}),Zn(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var n="GeometryCollection"===t,i=[];return this.eachLayer(function(t){if(t.toGeoJSON){var o=t.toGeoJSON(e);if(n)i.push(o.geometry);else{var a=Vn(o);"FeatureCollection"===a.type?i.push.apply(i,a.features):i.push(a)}}}),n?Zn(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}});var Yn=Gn,Kn=Pn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,n){this._url=e,this._bounds=R(t),f(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ht(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){rt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&lt(this._image),this},bringToBack:function(){return this._map&&ct(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=R(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:at("img");ht(t,"leaflet-image-layer"),this._zoomAnimated&&ht(t,"leaflet-zoom-animated"),this.options.className&&ht(t,this.options.className),t.onselectstart=u,t.onmousemove=u,t.onload=a(this.fire,this,"load"),t.onerror=a(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;_t(this._image,n,t)},_reset:function(){var e=this._image,t=new N(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();yt(e,t.min),e.style.width=n.x+"px",e.style.height=n.y+"px"},_updateOpacity:function(){mt(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)}}),Qn=Kn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:at("video");if(ht(t,"leaflet-image-layer"),this._zoomAnimated&&ht(t,"leaflet-zoom-animated"),t.onselectstart=u,t.onmousemove=u,t.onloadeddata=a(this.fire,this,"load"),e){for(var n=t.getElementsByTagName("source"),i=[],o=0;o<n.length;o++)i.push(n[o].src);this._url=0<n.length?i:[t.src]}else{y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&t.style.hasOwnProperty("objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop;for(var r=0;r<this._url.length;r++){var s=at("source");s.src=this._url[r],t.appendChild(s)}}}}),Jn=Kn.extend({_initImage:function(){var e=this._image=this._url;ht(e,"leaflet-image-layer"),this._zoomAnimated&&ht(e,"leaflet-zoom-animated"),e.onselectstart=u,e.onmousemove=u}}),Xn=Pn.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(e,t){f(this,e),this._source=t},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&mt(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&mt(this._container,1),this.bringToFront()},onRemove:function(e){e._fadeAnimated?(mt(this._container,0),this._removeTimeout=setTimeout(a(rt,void 0,this._container),200)):rt(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=F(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&lt(this._container),this},bringToBack:function(){return this._map&&ct(this._container),this},_prepareOpen:function(e,t,n){if(t instanceof Pn||(n=t,t=e),t instanceof Tn)for(var i in e._layers){t=e._layers[i];break}if(!n)if(t.getCenter)n=t.getCenter();else{if(!t.getLatLng)throw new Error("Unable to get source layer LatLng.");n=t.getLatLng()}return this._source=t,this.update(),n},_updateContent:function(){if(this._content){var e=this._contentNode,t="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof t)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=I(this.options.offset),n=this._getAnchor();this._zoomAnimated?yt(this._container,e.add(n)):t=t.add(e).add(n);var i=this._containerBottom=-t.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=i+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),ei=Xn.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return e.openPopup(this),this},onAdd:function(e){Xn.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof zn||this._source.on("preclick",Dt))},onRemove:function(e){Xn.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof zn||this._source.off("preclick",Dt))},getEvents:function(){var e=Xn.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this._close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var e="leaflet-popup",t=this._container=at("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=at("div",e+"-content-wrapper",t);if(this._contentNode=at("div",e+"-content",n),It(n),zt(this._contentNode),Mt(n,"contextmenu",Dt),this._tipContainer=at("div",e+"-tip-container",t),this._tip=at("div",e+"-tip",this._tipContainer),this.options.closeButton){var i=this._closeButton=at("a",e+"-close-button",t);i.href="#close",i.innerHTML="&#215;",Mt(i,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+"px",t.whiteSpace="",t.height="";var i=e.offsetHeight,o=this.options.maxHeight,a="leaflet-popup-scrolled";o&&o<i?(t.height=o+"px",ht(e,a)):dt(e,a),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();yt(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var e=this._map,t=parseInt(ot(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+t,i=this._containerWidth,o=new D(this._containerLeft,-n-this._containerBottom);o._add(vt(this._container));var a=e.layerPointToContainerPoint(o),r=I(this.options.autoPanPadding),s=I(this.options.autoPanPaddingTopLeft||r),l=I(this.options.autoPanPaddingBottomRight||r),c=e.getSize(),u=0,h=0;a.x+i+l.x>c.x&&(u=a.x+i-c.x+l.x),a.x-u-s.x<0&&(u=a.x-s.x),a.y+n+l.y>c.y&&(h=a.y+n-c.y+l.y),a.y-h-s.y<0&&(h=a.y-s.y),(u||h)&&e.fire("autopanstart").panBy([u,h])}},_onCloseButtonClick:function(e){this._close(),Bt(e)},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Gt.mergeOptions({closePopupOnClick:!0}),Gt.include({openPopup:function(e,t,n){return e instanceof ei||(e=new ei(n).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=e,this.addLayer(e))},closePopup:function(e){return e&&e!==this._popup||(e=this._popup,this._popup=null),e&&this.removeLayer(e),this}}),Pn.include({bindPopup:function(e,t){return e instanceof ei?(f(e,t),(this._popup=e)._source=this):(this._popup&&!t||(this._popup=new ei(t,this)),this._popup.setContent(e)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e,t){return this._popup&&this._map&&(t=this._popup._prepareOpen(this,e,t),this._map.openPopup(this._popup,t)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(e){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(e)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){var t=e.layer||e.target;this._popup&&this._map&&(Bt(e),t instanceof zn?this.openPopup(e.layer||e.target,e.latlng):this._map.hasLayer(this._popup)&&this._popup._source===t?this.closePopup():this.openPopup(t,e.latlng))},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var ti=Xn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(e){Xn.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(e){Xn.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var e=Xn.prototype.getEvents.call(this);return Se&&!this.options.permanent&&(e.preclick=this._close),e},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=at("div",e)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t=this._map,n=this._container,i=t.latLngToContainerPoint(t.getCenter()),o=t.layerPointToContainerPoint(e),a=this.options.direction,r=n.offsetWidth,s=n.offsetHeight,l=I(this.options.offset),c=this._getAnchor();e="top"===a?e.add(I(-r/2+l.x,-s+l.y+c.y,!0)):"bottom"===a?e.subtract(I(r/2-l.x,-l.y,!0)):"center"===a?e.subtract(I(r/2+l.x,s/2-c.y+l.y,!0)):"right"===a||"auto"===a&&o.x<i.x?(a="right",e.add(I(l.x+c.x,c.y-s/2+l.y,!0))):(a="left",e.subtract(I(r+c.x-l.x,s/2-c.y-l.y,!0))),dt(n,"leaflet-tooltip-right"),dt(n,"leaflet-tooltip-left"),dt(n,"leaflet-tooltip-top"),dt(n,"leaflet-tooltip-bottom"),ht(n,"leaflet-tooltip-"+a),yt(n,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&mt(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return I(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Gt.include({openTooltip:function(e,t,n){return e instanceof ti||(e=new ti(n).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:this.addLayer(e)},closeTooltip:function(e){return e&&this.removeLayer(e),this}}),Pn.include({bindTooltip:function(e,t){return e instanceof ti?(f(e,t),(this._tooltip=e)._source=this):(this._tooltip&&!t||(this._tooltip=new ti(t,this)),this._tooltip.setContent(e)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){if(e||!this._tooltipHandlersAdded){var t=e?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),Se&&(n.click=this._openTooltip)),this[t](n),this._tooltipHandlersAdded=!e}},openTooltip:function(e,t){return this._tooltip&&this._map&&(t=this._tooltip._prepareOpen(this,e,t),this._map.openTooltip(this._tooltip,t),this._tooltip.options.interactive&&this._tooltip._container&&(ht(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(dt(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(e){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(e)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_openTooltip:function(e){var t=e.layer||e.target;this._tooltip&&this._map&&this.openTooltip(t,this._tooltip.options.sticky?e.latlng:void 0)},_moveTooltip:function(e){var t,n,i=e.latlng;this._tooltip.options.sticky&&e.originalEvent&&(t=this._map.mouseEventToContainerPoint(e.originalEvent),n=this._map.containerPointToLayerPoint(t),i=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(i)}});var ni=Ln.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&"DIV"===e.tagName?e:document.createElement("div"),n=this.options;if(n.html instanceof Element?(st(t),t.appendChild(n.html)):t.innerHTML=!1!==n.html?n.html:"",n.bgPos){var i=I(n.bgPos);t.style.backgroundPosition=-i.x+"px "+-i.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}});Ln.Default=En;var ii=Pn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:be,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){f(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),rt(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(lt(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ct(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=l(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof D?e:new D(e,e)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t,n=this.getPane().children,i=-e(-1/0,1/0),o=0,a=n.length;o<a;o++)t=n[o].style.zIndex,n[o]!==this._container&&t&&(i=e(i,+t));isFinite(i)&&(this.options.zIndex=i+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!ne){mt(this._container,this.options.opacity);var e=+new Date,t=!1,n=!1;for(var i in this._tiles){var o=this._tiles[i];if(o.current&&o.loaded){var a=Math.min(1,(e-o.loaded)/200);mt(o.el,a),a<1?t=!0:(o.active?n=!0:this._onOpaqueTile(o),o.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),t&&(P(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this))}},_onOpaqueTile:u,_initContainer:function(){this._container||(this._container=at("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(void 0!==e){for(var n in this._levels)this._levels[n].el.children.length||n===e?(this._levels[n].el.style.zIndex=t-Math.abs(e-n),this._onUpdateLevel(n)):(rt(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var i=this._levels[e],o=this._map;return i||((i=this._levels[e]={}).el=at("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=t,i.origin=o.project(o.unproject(o.getPixelOrigin()),e).round(),i.zoom=e,this._setZoomTransform(i,o.getCenter(),o.getZoom()),i.el.offsetWidth,this._onCreateLevel(i)),this._level=i}},_onUpdateLevel:u,_onRemoveLevel:u,_onCreateLevel:u,_pruneTiles:function(){if(this._map){var e,t,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(e in this._tiles)(t=this._tiles[e]).retain=t.current;for(e in this._tiles)if((t=this._tiles[e]).current&&!t.active){var i=t.coords;this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)rt(this._levels[e].el),this._onRemoveLevel(e),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,n,i){var o=Math.floor(e/2),a=Math.floor(t/2),r=n-1,s=new D(+o,+a);s.z=+r;var l=this._tileCoordsToKey(s),c=this._tiles[l];return c&&c.active?c.retain=!0:(c&&c.loaded&&(c.retain=!0),i<r&&this._retainParent(o,a,r,i))},_retainChildren:function(e,t,n,i){for(var o=2*e;o<2*e+2;o++)for(var a=2*t;a<2*t+2;a++){var r=new D(o,a);r.z=n+1;var s=this._tileCoordsToKey(r),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1<i&&this._retainChildren(o,a,n+1,i))}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return void 0!==t.minNativeZoom&&e<t.minNativeZoom?t.minNativeZoom:void 0!==t.maxNativeZoom&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,n,i){var o=this._clampZoom(Math.round(t));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0);var a=this.options.updateWhenZooming&&o!==this._tileZoom;i&&!a||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(e),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var n in this._levels)this._setZoomTransform(this._levels[n],e,t)},_setZoomTransform:function(e,t,n){var i=this._map.getZoomScale(n,e.zoom),o=e.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(t,n)).round();ve?_t(e.el,o,i):yt(e.el,o)},_resetGrid:function(){var e=this._map,t=e.options.crs,n=this._tileSize=this.getTileSize(),i=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],i).x/n.x),Math.ceil(e.project([0,t.wrapLng[1]],i).x/n.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],i).y/n.x),Math.ceil(e.project([t.wrapLat[1],0],i).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=this._map,n=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),i=t.getZoomScale(n,this._tileZoom),o=t.project(e,this._tileZoom).floor(),a=t.getSize().divideBy(2*i);return new N(o.subtract(a),o.add(a))},_update:function(e){var t=this._map;if(t){var n=this._clampZoom(t.getZoom());if(void 0===e&&(e=t.getCenter()),void 0!==this._tileZoom){var i=this._getTiledPixelBounds(e),o=this._pxBoundsToTileRange(i),a=o.getCenter(),r=[],s=this.options.keepBuffer,l=new N(o.getBottomLeft().subtract([s,-s]),o.getTopRight().add([s,-s]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var u=this._tiles[c].coords;u.z===this._tileZoom&&l.contains(new D(u.x,u.y))||(this._tiles[c].current=!1)}if(1<Math.abs(n-this._tileZoom))this._setView(e,n);else{for(var h=o.min.y;h<=o.max.y;h++)for(var d=o.min.x;d<=o.max.x;d++){var p=new D(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:r.push(p)}}if(r.sort(function(e,t){return e.distanceTo(a)-t.distanceTo(a)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;d<r.length;d++)this._addTile(r[d],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var n=this._globalTileRange;if(!t.wrapLng&&(e.x<n.min.x||e.x>n.max.x)||!t.wrapLat&&(e.y<n.min.y||e.y>n.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(e);return R(this.options.bounds).overlaps(i)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),i=e.scaleBy(n),o=i.add(n);return[t.unproject(i,e.z),t.unproject(o,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new j(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),n=new D(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(rt(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){ht(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=u,e.onmousemove=u,ne&&this.options.opacity<1&&mt(e,this.options.opacity),ae&&!re&&(e.style.WebkitBackfaceVisibility="hidden")},_addTile:function(e,t){var n=this._getTilePos(e),i=this._tileCoordsToKey(e),o=this.createTile(this._wrapCoords(e),a(this._tileReady,this,e));this._initTile(o),this.createTile.length<2&&C(a(this._tileReady,this,e,null,o)),yt(o,n),this._tiles[i]={el:o,coords:e,current:!0},t.appendChild(o),this.fire("tileloadstart",{tile:o,coords:e})},_tileReady:function(e,t,n){t&&this.fire("tileerror",{error:t,tile:n,coords:e});var i=this._tileCoordsToKey(e);(n=this._tiles[i])&&(n.loaded=+new Date,this._map._fadeAnimated?(mt(n.el,0),P(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(ht(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),ne||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new D(this._wrapX?c(e.x,this._wrapX):e.x,this._wrapY?c(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new N(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}}),oi=ii.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(e,t){this._url=e,(t=f(this,t)).detectRetina&&Me&&0<t.maxZoom&&(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom++):(t.zoomOffset++,t.maxZoom--),t.minZoom=Math.max(0,t.minZoom)),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),ae||this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=document.createElement("img");return Mt(n,"load",a(this._tileOnLoad,this,t,n)),Mt(n,"error",a(this._tileOnError,this,t,n)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(e),n},getTileUrl:function(e){var t={r:Me?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=i),t["-y"]=i}return _(this._url,n(t,this.options))},_tileOnLoad:function(e,t){ne?setTimeout(a(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var i=this.options.errorTileUrl;i&&t.getAttribute("src")!==i&&(t.src=i),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return this.options.zoomReverse&&(e=t-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=u,t.onerror=u,t.complete||(t.src=b,rt(t),delete this._tiles[e]))},_removeTile:function(e){var t=this._tiles[e];if(t)return le||t.el.setAttribute("src",b),ii.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(this._map&&(!n||n.getAttribute("src")!==b))return ii.prototype._tileReady.call(this,e,t,n)}});function ai(e,t){return new oi(e,t)}var ri=oi.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var i=n({},this.defaultWmsParams);for(var o in t)o in this.options||(i[o]=t[o]);var a=(t=f(this,t)).detectRetina&&Me?2:1,r=this.getTileSize();i.width=r.x*a,i.height=r.y*a,this.wmsParams=i},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[t]=this._crs.code,oi.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,i=B(n.project(t[0]),n.project(t[1])),o=i.min,a=i.max,r=(1.3<=this._wmsVersion&&this._crs===Sn?[o.y,o.x,a.y,a.x]:[o.x,o.y,a.x,a.y]).join(","),s=oi.prototype.getTileUrl.call(this,e);return s+m(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(e,t){return n(this.wmsParams,e),t||this.redraw(),this}});oi.WMS=ri,ai.wms=function(e,t){return new ri(e,t)};var si=Pn.extend({options:{padding:.1,tolerance:0},initialize:function(e){f(this,e),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&ht(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),i=vt(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,t),r=this._map.project(e,t).subtract(a),s=o.multiplyBy(-n).add(i).add(o).subtract(r);ve?_t(this._container,s,n):yt(this._container,s)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new N(n,n.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),li=si.extend({getEvents:function(){var e=si.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){si.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");Mt(e,"mousemove",l(this._onMouseMove,32,this),this),Mt(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Mt(e,"mouseout",this._handleMouseOut,this),this._ctx=e.getContext("2d")},_destroyContainer:function(){P(this._redrawRequest),delete this._ctx,rt(this._container),Lt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){si.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),i=Me?2:1;yt(t,e.min),t.width=i*n.x,t.height=i*n.y,t.style.width=n.x+"px",t.style.height=n.y+"px",Me&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){si.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e);var t=(this._layers[s(e)]=e)._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,i=t.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete e._order,delete this._layers[s(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,n,i=e.options.dashArray.split(/[, ]+/),o=[];for(n=0;n<i.length;n++){if(t=Number(i[n]),isNaN(t))return;o.push(t)}e.options._dashArray=o}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||C(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new N,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var n=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)e=i.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var n,i,o,a,r=e._parts,s=r.length,l=this._ctx;if(s){for(l.beginPath(),n=0;n<s;n++){for(i=0,o=r[n].length;i<o;i++)a=r[n][i],l[i?"lineTo":"moveTo"](a.x,a.y);t&&l.closePath()}this._fillStroke(l,e)}}},_updateCircle:function(e){if(this._drawing&&!e._empty()){var t=e._point,n=this._ctx,i=Math.max(Math.round(e._radius),1),o=(Math.max(Math.round(e._radiusY),1)||i)/i;1!=o&&(n.save(),n.scale(1,o)),n.beginPath(),n.arc(t.x,t.y/o,i,0,2*Math.PI,!1),1!=o&&n.restore(),this._fillStroke(n,e)}},_fillStroke:function(e,t){var n=t.options;n.fill&&(e.globalAlpha=n.fillOpacity,e.fillStyle=n.fillColor||n.color,e.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=n.opacity,e.lineWidth=n.weight,e.strokeStyle=n.color,e.lineCap=n.lineCap,e.lineJoin=n.lineJoin,e.stroke())},_onClick:function(e){for(var t,n,i=this._map.mouseEventToLayerPoint(e),o=this._drawFirst;o;o=o.next)(t=o.layer).options.interactive&&t._containsPoint(i)&&!this._map._draggableMoved(t)&&(n=t);n&&(qt(e),this._fireEvent([n],e))},_onMouseMove:function(e){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(dt(this._container,"leaflet-interactive"),this._fireEvent([t],e,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(e,t){for(var n,i,o=this._drawFirst;o;o=o.next)(n=o.layer).options.interactive&&n._containsPoint(t)&&(i=n);i!==this._hoveredLayer&&(this._handleMouseOut(e),i&&(ht(this._container,"leaflet-interactive"),this._fireEvent([i],e,"mouseover"),this._hoveredLayer=i)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],e)},_fireEvent:function(e,t,n){this._map._fireDOMEvent(t,n||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var n=t.next,i=t.prev;n&&((n.prev=i)?i.next=n:n&&(this._drawFirst=n),t.prev=this._drawLast,(this._drawLast.next=t).next=null,this._drawLast=t,this._requestRedraw(e))}},_bringToBack:function(e){var t=e._order;if(t){var n=t.next,i=t.prev;i&&((i.next=n)?n.prev=i:i&&(this._drawLast=i),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e))}}});function ci(e){return Te?new li(e):null}var ui=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch(e){return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),hi={_initContainer:function(){this._container=at("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(si.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=ui("shape");ht(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=ui("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[s(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;rt(t),e.removeInteractiveTarget(t),delete this._layers[s(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,i=e.options,o=e._container;o.stroked=!!i.stroke,o.filled=!!i.fill,i.stroke?(t||(t=e._stroke=ui("stroke")),o.appendChild(t),t.weight=i.weight+"px",t.color=i.color,t.opacity=i.opacity,i.dashArray?t.dashStyle=y(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=i.lineCap.replace("butt","flat"),t.joinstyle=i.lineJoin):t&&(o.removeChild(t),e._stroke=null),i.fill?(n||(n=e._fill=ui("fill")),o.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(o.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),i=Math.round(e._radiusY||n);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+n+","+i+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){lt(e._container)},_bringToBack:function(e){ct(e._container)}},di=Ee?ui:J,pi=si.extend({getEvents:function(){var e=si.prototype.getEvents.call(this);return e.zoomstart=this._onZoomStart,e},_initContainer:function(){this._container=di("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=di("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){rt(this._container),Lt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){si.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,n.setAttribute("width",t.x),n.setAttribute("height",t.y)),yt(n,e.min),n.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=di("path");e.options.className&&ht(t,e.options.className),e.options.interactive&&ht(t,"leaflet-interactive"),this._updateStyle(e),this._layers[s(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){rt(e._path),e.removeInteractiveTarget(e._path),delete this._layers[s(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute("stroke",n.color),t.setAttribute("stroke-opacity",n.opacity),t.setAttribute("stroke-width",n.weight),t.setAttribute("stroke-linecap",n.lineCap),t.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?t.setAttribute("stroke-dasharray",n.dashArray):t.removeAttribute("stroke-dasharray"),n.dashOffset?t.setAttribute("stroke-dashoffset",n.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),n.fill?(t.setAttribute("fill",n.fillColor||n.color),t.setAttribute("fill-opacity",n.fillOpacity),t.setAttribute("fill-rule",n.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,X(e._parts,t))},_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),i="a"+n+","+(Math.max(Math.round(e._radiusY),1)||n)+" 0 1,0 ",o=e._empty()?"M0 0":"M"+(t.x-n)+","+t.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(e,o)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){lt(e._path)},_bringToBack:function(e){ct(e._path)}});function fi(e){return Le||Ee?new pi(e):null}Ee&&pi.include(hi),Gt.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&ci(e)||fi(e)}});var mi=jn.extend({initialize:function(e,t){jn.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=R(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});pi.create=di,pi.pointsToPath=X,Rn.geometryToLayer=Hn,Rn.coordsToLatLng=Fn,Rn.coordsToLatLngs=Wn,Rn.latLngToCoords=qn,Rn.latLngsToCoords=$n,Rn.getFeature=Zn,Rn.asFeature=Vn,Gt.mergeOptions({boxZoom:!0});var gi=tn.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){Mt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Lt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){rt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),Ye(),wt(),this._startPoint=this._map.mouseEventToContainerPoint(e),Mt(document,{contextmenu:Bt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=at("div","leaflet-zoom-box",this._container),ht(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new N(this._point,this._startPoint),n=t.getSize();yt(this._box,t.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(rt(this._box),dt(this._container,"leaflet-crosshair")),Ke(),At(),Lt(document,{contextmenu:Bt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var t=new j(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&this._finish()}});Gt.addInitHook("addHandler","boxZoom",gi),Gt.mergeOptions({doubleClickZoom:!0});var _i=tn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),i=t.options.zoomDelta,o=e.originalEvent.shiftKey?n-i:n+i;"center"===t.options.doubleClickZoom?t.setZoom(o):t.setZoomAround(e.containerPoint,o)}});Gt.addInitHook("addHandler","doubleClickZoom",_i),Gt.mergeOptions({dragging:!0,inertia:!re,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var yi=tn.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new ln(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}ht(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){dt(this._map._container,"leaflet-grab"),dt(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=R(this._map.options.maxBounds);this._offsetLimit=B(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;1<this._positions.length&&50<e-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,o=(i-t+n)%e+t-n,a=(i+t+n)%e-t-n,r=Math.abs(o+n)<Math.abs(a+n)?o:a;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(e){var t=this._map,n=t.options,i=!n.inertia||this._times.length<2;if(t.fire("dragend",e),i)t.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,r=n.easeLinearity,s=o.multiplyBy(r/a),l=s.distanceTo([0,0]),c=Math.min(n.inertiaMaxSpeed,l),u=s.multiplyBy(c/l),h=c/(n.inertiaDeceleration*r),d=u.multiplyBy(-h/2).round();d.x||d.y?(d=t._limitOffset(d,t.options.maxBounds),C(function(){t.panBy(d,{duration:h,easeLinearity:r,noMoveStart:!0,animate:!0})})):t.fire("moveend")}}});Gt.addInitHook("addHandler","dragging",yi),Gt.mergeOptions({keyboard:!0,keyboardPanDelta:80});var vi=tn.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),Mt(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Lt(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,n=e.scrollTop||t.scrollTop,i=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(i,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t,n,i=this._panKeys={},o=this.keyCodes;for(t=0,n=o.left.length;t<n;t++)i[o.left[t]]=[-1*e,0];for(t=0,n=o.right.length;t<n;t++)i[o.right[t]]=[e,0];for(t=0,n=o.down.length;t<n;t++)i[o.down[t]]=[0,e];for(t=0,n=o.up.length;t<n;t++)i[o.up[t]]=[0,-1*e]},_setZoomDelta:function(e){var t,n,i=this._zoomKeys={},o=this.keyCodes;for(t=0,n=o.zoomIn.length;t<n;t++)i[o.zoomIn[t]]=e;for(t=0,n=o.zoomOut.length;t<n;t++)i[o.zoomOut[t]]=-e},_addHooks:function(){Mt(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Lt(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t,n=e.keyCode,i=this._map;if(n in this._panKeys)i._panAnim&&i._panAnim._inProgress||(t=this._panKeys[n],e.shiftKey&&(t=I(t).multiplyBy(3)),i.panBy(t),i.options.maxBounds&&i.panInsideBounds(i.options.maxBounds));else if(n in this._zoomKeys)i.setZoom(i.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!i._popup||!i._popup.options.closeOnEscapeKey)return;i.closePopup()}Bt(e)}}});Gt.addInitHook("addHandler","keyboard",vi),Gt.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var bi=tn.extend({addHooks:function(){Mt(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Lt(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var t=Ht(e),n=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date);var i=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),i),Bt(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),n=this._map.options.zoomSnap||0;e._stop();var i=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(i))))/Math.LN2,a=n?Math.ceil(o/n)*n:o,r=e._limitZoom(t+(0<this._delta?a:-a))-t;this._delta=0,this._startTime=null,r&&("center"===e.options.scrollWheelZoom?e.setZoom(t+r):e.setZoomAround(this._lastMousePos,t+r))}});Gt.addInitHook("addHandler","scrollWheelZoom",bi),Gt.mergeOptions({tap:!0,tapTolerance:15});var wi=tn.extend({addHooks:function(){Mt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Lt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(e.touches){if(Nt(e),this._fireClick=!0,1<e.touches.length)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var t=e.touches[0],n=t.target;this._startPos=this._newPos=new D(t.clientX,t.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&ht(n,"leaflet-active"),this._holdTimeout=setTimeout(a(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",t))},this),1e3),this._simulateEvent("mousedown",t),Mt(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(e){if(clearTimeout(this._holdTimeout),Lt(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&e&&e.changedTouches){var t=e.changedTouches[0],n=t.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&dt(n,"leaflet-active"),this._simulateEvent("mouseup",t),this._isTapValid()&&this._simulateEvent("click",t)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(e){var t=e.touches[0];this._newPos=new D(t.clientX,t.clientY),this._simulateEvent("mousemove",t)},_simulateEvent:function(e,t){var n=document.createEvent("MouseEvents");n._simulated=!0,t.target._simulatedClick=!0,n.initMouseEvent(e,!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n)}});Se&&!ke&&Gt.addInitHook("addHandler","tap",wi),Gt.mergeOptions({touchZoom:Se&&!re,bounceAtZoomLimits:!0});var Ai=tn.extend({addHooks:function(){ht(this._map._container,"leaflet-touch-zoom"),Mt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){dt(this._map._container,"leaflet-touch-zoom"),Lt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var n=t.mouseEventToContainerPoint(e.touches[0]),i=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),Mt(document,"touchmove",this._onTouchMove,this),Mt(document,"touchend",this._onTouchEnd,this),Nt(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),i=t.mouseEventToContainerPoint(e.touches[1]),o=n.distanceTo(i)/this._startDist;if(this._zoom=t.getScaleZoom(o,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&o<1||this._zoom>t.getMaxZoom()&&1<o)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1==o)return}else{var r=n._add(i)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===r.x&&0===r.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),P(this._animRequest);var s=a(t._move,t,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=C(s,this,!0),Nt(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,P(this._animRequest),Lt(document,"touchmove",this._onTouchMove),Lt(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Gt.addInitHook("addHandler","touchZoom",Ai),Gt.BoxZoom=gi,Gt.DoubleClickZoom=_i,Gt.Drag=yi,Gt.Keyboard=vi,Gt.ScrollWheelZoom=bi,Gt.Tap=wi,Gt.TouchZoom=Ai,Object.freeze=t,e.version="1.5.1+HEAD.2e3e0ff",e.Control=Kt,e.control=Yt,e.Browser=De,e.Evented=O,e.Mixin=on,e.Util=M,e.Class=T,e.Handler=tn,e.extend=n,e.bind=a,e.stamp=s,e.setOptions=f,e.DomEvent=Vt,e.DomUtil=Pt,e.PosAnimation=Ut,e.Draggable=ln,e.LineUtil=_n,e.PolyUtil=bn,e.Point=D,e.point=I,e.Bounds=N,e.bounds=B,e.Transformation=U,e.transformation=G,e.Projection=xn,e.LatLng=H,e.latLng=F,e.LatLngBounds=j,e.latLngBounds=R,e.CRS=q,e.GeoJSON=Rn,e.geoJSON=Gn,e.geoJson=Yn,e.Layer=Pn,e.LayerGroup=Mn,e.layerGroup=function(e,t){return new Mn(e,t)},e.FeatureGroup=Tn,e.featureGroup=function(e){return new Tn(e)},e.ImageOverlay=Kn,e.imageOverlay=function(e,t,n){return new Kn(e,t,n)},e.VideoOverlay=Qn,e.videoOverlay=function(e,t,n){return new Qn(e,t,n)},e.SVGOverlay=Jn,e.svgOverlay=function(e,t,n){return new Jn(e,t,n)},e.DivOverlay=Xn,e.Popup=ei,e.popup=function(e,t){return new ei(e,t)},e.Tooltip=ti,e.tooltip=function(e,t){return new ti(e,t)},e.Icon=Ln,e.icon=function(e){return new Ln(e)},e.DivIcon=ni,e.divIcon=function(e){return new ni(e)},e.Marker=Dn,e.marker=function(e,t){return new Dn(e,t)},e.TileLayer=oi,e.tileLayer=ai,e.GridLayer=ii,e.gridLayer=function(e){return new ii(e)},e.SVG=pi,e.svg=fi,e.Renderer=si,e.Canvas=li,e.canvas=ci,e.Path=zn,e.CircleMarker=In,e.circleMarker=function(e,t){return new In(e,t)},e.Circle=Nn,e.circle=function(e,t,n){return new Nn(e,t,n)},e.Polyline=Bn,e.polyline=function(e,t){return new Bn(e,t)},e.Polygon=jn,e.polygon=function(e,t){return new jn(e,t)},e.Rectangle=mi,e.rectangle=function(e,t){return new mi(e,t)},e.Map=Gt,e.map=function(e,t){return new Gt(e,t)};var xi=window.L;e.noConflict=function(){return window.L=xi,this},window.L=e}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e.Leaflet=e.Leaflet||{},e.Leaflet.markercluster=e.Leaflet.markercluster||{}))}(this,function(e){"use strict";var t=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(e){L.Util.setOptions(this,e),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var t=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,t?this._withAnimation:this._noAnimation),this._markerCluster=t?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(e){if(e instanceof L.LayerGroup)return this.addLayers([e]);if(!e.getLatLng)return this._nonPointGroup.addLayer(e),this.fire("layeradd",{layer:e}),this;if(!this._map)return this._needsClustering.push(e),this.fire("layeradd",{layer:e}),this;if(this.hasLayer(e))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(e,this._maxZoom),this.fire("layeradd",{layer:e}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var t=e,n=this._zoom;if(e.__parent)for(;t.__parent._zoom>=n;)t=t.__parent;return this._currentShownBounds.contains(t.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(e,t):this._animationAddLayerNonAnimated(e,t)),this},removeLayer:function(e){return e instanceof L.LayerGroup?this.removeLayers([e]):e.getLatLng?this._map?e.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(e)),this._removeLayer(e,!0),this.fire("layerremove",{layer:e}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),e.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(e)&&(this._featureGroup.removeLayer(e),e.clusterShow&&e.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,e)&&this.hasLayer(e)&&this._needsRemoving.push({layer:e,latlng:e._latlng}),this.fire("layerremove",{layer:e}),this):(this._nonPointGroup.removeLayer(e),this.fire("layerremove",{layer:e}),this)},addLayers:function(e,t){if(!L.Util.isArray(e))return this.addLayer(e);var n,i=this._featureGroup,o=this._nonPointGroup,a=this.options.chunkedLoading,r=this.options.chunkInterval,s=this.options.chunkProgress,l=e.length,c=0,u=!0;if(this._map){var h=(new Date).getTime(),d=L.bind(function(){for(var p=(new Date).getTime();l>c;c++){if(a&&0==c%200)if((new Date).getTime()-p>r)break;if((n=e[c])instanceof L.LayerGroup)u&&(e=e.slice(),u=!1),this._extractNonGroupLayers(n,e),l=e.length;else if(n.getLatLng){if(!this.hasLayer(n)&&(this._addLayer(n,this._maxZoom),t||this.fire("layeradd",{layer:n}),n.__parent&&2===n.__parent.getChildCount())){var f=n.__parent.getAllChildMarkers(),m=f[0]===n?f[1]:f[0];i.removeLayer(m)}}else o.addLayer(n),t||this.fire("layeradd",{layer:n})}s&&s(c,l,(new Date).getTime()-h),c===l?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(d,this.options.chunkDelay)},this);d()}else for(var p=this._needsClustering;l>c;c++)(n=e[c])instanceof L.LayerGroup?(u&&(e=e.slice(),u=!1),this._extractNonGroupLayers(n,e),l=e.length):n.getLatLng?this.hasLayer(n)||p.push(n):o.addLayer(n);return this},removeLayers:function(e){var t,n,i=e.length,o=this._featureGroup,a=this._nonPointGroup,r=!0;if(!this._map){for(t=0;i>t;t++)(n=e[t])instanceof L.LayerGroup?(r&&(e=e.slice(),r=!1),this._extractNonGroupLayers(n,e),i=e.length):(this._arraySplice(this._needsClustering,n),a.removeLayer(n),this.hasLayer(n)&&this._needsRemoving.push({layer:n,latlng:n._latlng}),this.fire("layerremove",{layer:n}));return this}if(this._unspiderfy){this._unspiderfy();var s=e.slice(),l=i;for(t=0;l>t;t++)(n=s[t])instanceof L.LayerGroup?(this._extractNonGroupLayers(n,s),l=s.length):this._unspiderfyLayer(n)}for(t=0;i>t;t++)(n=e[t])instanceof L.LayerGroup?(r&&(e=e.slice(),r=!1),this._extractNonGroupLayers(n,e),i=e.length):n.__parent?(this._removeLayer(n,!0,!0),this.fire("layerremove",{layer:n}),o.hasLayer(n)&&(o.removeLayer(n),n.clusterShow&&n.clusterShow())):(a.removeLayer(n),this.fire("layerremove",{layer:n}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(e){e.off(this._childMarkerEventHandlers,this),delete e.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var e=new L.LatLngBounds;this._topClusterLevel&&e.extend(this._topClusterLevel._bounds);for(var t=this._needsClustering.length-1;t>=0;t--)e.extend(this._needsClustering[t].getLatLng());return e.extend(this._nonPointGroup.getBounds()),e},eachLayer:function(e,t){var n,i,o,a=this._needsClustering.slice(),r=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(a),i=a.length-1;i>=0;i--){for(n=!0,o=r.length-1;o>=0;o--)if(r[o].layer===a[i]){n=!1;break}n&&e.call(t,a[i])}this._nonPointGroup.eachLayer(e,t)},getLayers:function(){var e=[];return this.eachLayer(function(t){e.push(t)}),e},getLayer:function(e){var t=null;return e=parseInt(e,10),this.eachLayer(function(n){L.stamp(n)===e&&(t=n)}),t},hasLayer:function(e){if(!e)return!1;var t,n=this._needsClustering;for(t=n.length-1;t>=0;t--)if(n[t]===e)return!0;for(t=(n=this._needsRemoving).length-1;t>=0;t--)if(n[t].layer===e)return!1;return!(!e.__parent||e.__parent._group!==this)||this._nonPointGroup.hasLayer(e)},zoomToShowLayer:function(e,t){"function"!=typeof t&&(t=function(){});var n=function(){!e._icon&&!e.__parent._icon||this._inZoomAnimation||(this._map.off("moveend",n,this),this.off("animationend",n,this),e._icon?t():e.__parent._icon&&(this.once("spiderfied",t,this),e.__parent.spiderfy()))};e._icon&&this._map.getBounds().contains(e.getLatLng())?t():e.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",n,this),this._map.panTo(e.getLatLng())):(this._map.on("moveend",n,this),this.on("animationend",n,this),e.__parent.zoomToBounds())},onAdd:function(e){var t,n,i;if(this._map=e,!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(e),this._nonPointGroup.addTo(e),this._gridClusters||this._generateInitialClusters(),this._maxLat=e.options.crs.projection.MAX_LATITUDE,t=0,n=this._needsRemoving.length;n>t;t++)(i=this._needsRemoving[t]).newlatlng=i.layer._latlng,i.layer._latlng=i.latlng;for(t=0,n=this._needsRemoving.length;n>t;t++)i=this._needsRemoving[t],this._removeLayer(i.layer,!0),i.layer._latlng=i.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),n=this._needsClustering,this._needsClustering=[],this.addLayers(n,!0)},onRemove:function(e){e.off("zoomend",this._zoomEnd,this),e.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(e){for(var t=e;t&&!t._icon;)t=t.__parent;return t||null},_arraySplice:function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return e.splice(n,1),!0},_removeFromGridUnclustered:function(e,t){for(var n=this._map,i=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());t>=o&&i[t].removeObject(e,n.project(e.getLatLng(),t));t--);},_childMarkerDragStart:function(e){e.target.__dragStart=e.target._latlng},_childMarkerMoved:function(e){if(!this._ignoreMove&&!e.target.__dragStart){var t=e.target._popup&&e.target._popup.isOpen();this._moveChild(e.target,e.oldLatLng,e.latlng),t&&e.target.openPopup()}},_moveChild:function(e,t,n){e._latlng=t,this.removeLayer(e),e._latlng=n,this.addLayer(e)},_childMarkerDragEnd:function(e){var t=e.target.__dragStart;delete e.target.__dragStart,t&&this._moveChild(e.target,t,e.target._latlng)},_removeLayer:function(e,t,n){var i=this._gridClusters,o=this._gridUnclustered,a=this._featureGroup,r=this._map,s=Math.floor(this._map.getMinZoom());t&&this._removeFromGridUnclustered(e,this._maxZoom);var l,c=e.__parent,u=c._markers;for(this._arraySplice(u,e);c&&(c._childCount--,c._boundsNeedUpdate=!0,!(c._zoom<s));)t&&c._childCount<=1?(l=c._markers[0]===e?c._markers[1]:c._markers[0],i[c._zoom].removeObject(c,r.project(c._cLatLng,c._zoom)),o[c._zoom].addObject(l,r.project(l.getLatLng(),c._zoom)),this._arraySplice(c.__parent._childClusters,c),c.__parent._markers.push(l),l.__parent=c.__parent,c._icon&&(a.removeLayer(c),n||a.addLayer(l))):c._iconNeedsUpdate=!0,c=c.__parent;delete e.__parent},_isOrIsParent:function(e,t){for(;t;){if(e===t)return!0;t=t.parentNode}return!1},fire:function(e,t,n){if(t&&t.layer instanceof L.MarkerCluster){if(t.originalEvent&&this._isOrIsParent(t.layer._icon,t.originalEvent.relatedTarget))return;e="cluster"+e}L.FeatureGroup.prototype.fire.call(this,e,t,n)},listens:function(e,t){return L.FeatureGroup.prototype.listens.call(this,e,t)||L.FeatureGroup.prototype.listens.call(this,"cluster"+e,t)},_defaultIconCreateFunction:function(e){var t=e.getChildCount(),n=" marker-cluster-";return n+=10>t?"small":100>t?"medium":"large",new L.DivIcon({html:"<div><span>"+t+"</span></div>",className:"marker-cluster"+n,iconSize:new L.Point(40,40)})},_bindEvents:function(){var e=this._map,t=this.options.spiderfyOnMaxZoom,n=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick;(t||i)&&this.on("clusterclick",this._zoomOrSpiderfy,this),n&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),e.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(e){for(var t=e.layer,n=t;1===n._childClusters.length;)n=n._childClusters[0];n._zoom===this._maxZoom&&n._childCount===t._childCount&&this.options.spiderfyOnMaxZoom?t.spiderfy():this.options.zoomToBoundsOnClick&&t.zoomToBounds(),e.originalEvent&&13===e.originalEvent.keyCode&&this._map._container.focus()},_showCoverage:function(e){var t=this._map;this._inZoomAnimation||(this._shownPolygon&&t.removeLayer(this._shownPolygon),e.layer.getChildCount()>2&&e.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(e.layer.getConvexHull(),this.options.polygonOptions),t.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var e=this.options.spiderfyOnMaxZoom,t=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick,i=this._map;(e||n)&&this.off("clusterclick",this._zoomOrSpiderfy,this),t&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),i.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var e=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),e),this._currentShownBounds=e}},_generateInitialClusters:function(){var e=Math.ceil(this._map.getMaxZoom()),t=Math.floor(this._map.getMinZoom()),n=this.options.maxClusterRadius,i=n;"function"!=typeof n&&(i=function(){return n}),null!==this.options.disableClusteringAtZoom&&(e=this.options.disableClusteringAtZoom-1),this._maxZoom=e,this._gridClusters={},this._gridUnclustered={};for(var o=e;o>=t;o--)this._gridClusters[o]=new L.DistanceGrid(i(o)),this._gridUnclustered[o]=new L.DistanceGrid(i(o));this._topClusterLevel=new this._markerCluster(this,t-1)},_addLayer:function(e,t){var n,i,o=this._gridClusters,a=this._gridUnclustered,r=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(e),e.on(this._childMarkerEventHandlers,this);t>=r;t--){n=this._map.project(e.getLatLng(),t);var s=o[t].getNearObject(n);if(s)return s._addChild(e),void(e.__parent=s);if(s=a[t].getNearObject(n)){var l=s.__parent;l&&this._removeLayer(s,!1);var c=new this._markerCluster(this,t,s,e);o[t].addObject(c,this._map.project(c._cLatLng,t)),s.__parent=c,e.__parent=c;var u=c;for(i=t-1;i>l._zoom;i--)u=new this._markerCluster(this,i,u),o[i].addObject(u,this._map.project(s.getLatLng(),i));return l._addChild(u),void this._removeFromGridUnclustered(s,t)}a[t].addObject(e,n)}this._topClusterLevel._addChild(e),e.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(e){e instanceof L.MarkerCluster&&e._iconNeedsUpdate&&e._updateIcon()})},_enqueue:function(e){this._queue.push(e),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var e=0;e<this._queue.length;e++)this._queue[e].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var e=Math.round(this._map._zoom);this._processQueue(),this._zoom<e&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,e)):this._zoom>e?(this._animationStart(),this._animationZoomOut(this._zoom,e)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(e){var t=this._maxLat;return void 0!==t&&(e.getNorth()>=t&&(e._northEast.lat=1/0),e.getSouth()<=-t&&(e._southWest.lat=-1/0)),e},_animationAddLayerNonAnimated:function(e,t){if(t===e)this._featureGroup.addLayer(e);else if(2===t._childCount){t._addToMap();var n=t.getAllChildMarkers();this._featureGroup.removeLayer(n[0]),this._featureGroup.removeLayer(n[1])}else t._updateIcon()},_extractNonGroupLayers:function(e,t){var n,i=e.getLayers(),o=0;for(t=t||[];o<i.length;o++)(n=i[o])instanceof L.LayerGroup?this._extractNonGroupLayers(n,t):t.push(n);return t},_overrideMarkerIcon:function(e){return e.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[e]}})}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(e,t){this._animationAddLayerNonAnimated(e,t)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(e,t){var n,i=this._getExpandedVisibleBounds(),o=this._featureGroup,a=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(i,e,a,function(a){var r,s=a._latlng,l=a._markers;for(i.contains(s)||(s=null),a._isSingleParent()&&e+1===t?(o.removeLayer(a),a._recursivelyAddChildrenToMap(null,t,i)):(a.clusterHide(),a._recursivelyAddChildrenToMap(s,t,i)),n=l.length-1;n>=0;n--)r=l[n],i.contains(r._latlng)||o.removeLayer(r)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(i,t),o.eachLayer(function(e){e instanceof L.MarkerCluster||!e._icon||e.clusterShow()}),this._topClusterLevel._recursively(i,e,t,function(e){e._recursivelyRestoreChildPositions(t)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(i,e,a,function(e){o.removeLayer(e),e.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(e,t){this._animationZoomOutSingle(this._topClusterLevel,e-1,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e,this._getExpandedVisibleBounds())},_animationAddLayer:function(e,t){var n=this,i=this._featureGroup;i.addLayer(e),t!==e&&(t._childCount>2?(t._updateIcon(),this._forceLayout(),this._animationStart(),e._setPos(this._map.latLngToLayerPoint(t.getLatLng())),e.clusterHide(),this._enqueue(function(){i.removeLayer(e),e.clusterShow(),n._animationEnd()})):(this._forceLayout(),n._animationStart(),n._animationZoomOutSingle(t,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(e,t,n){var i=this._getExpandedVisibleBounds(),o=Math.floor(this._map.getMinZoom());e._recursivelyAnimateChildrenInAndAddSelfToMap(i,o,t+1,n);var a=this;this._forceLayout(),e._recursivelyBecomeVisible(i,n),this._enqueue(function(){if(1===e._childCount){var r=e._markers[0];this._ignoreMove=!0,r.setLatLng(r.getLatLng()),this._ignoreMove=!1,r.clusterShow&&r.clusterShow()}else e._recursively(i,n,o,function(e){e._recursivelyRemoveChildrenFromMap(i,o,t+1)});a._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(e){return new L.MarkerClusterGroup(e)};var n=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(e,t,n,i){L.Marker.prototype.initialize.call(this,n?n._cLatLng||n.getLatLng():new L.LatLng(0,0),{icon:this,pane:e.options.clusterPane}),this._group=e,this._zoom=t,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,n&&this._addChild(n),i&&this._addChild(i)},getAllChildMarkers:function(e,t){e=e||[];for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n].getAllChildMarkers(e);for(var i=this._markers.length-1;i>=0;i--)t&&this._markers[i].__dragStart||e.push(this._markers[i]);return e},getChildCount:function(){return this._childCount},zoomToBounds:function(e){for(var t,n=this._childClusters.slice(),i=this._group._map,o=i.getBoundsZoom(this._bounds),a=this._zoom+1,r=i.getZoom();n.length>0&&o>a;){a++;var s=[];for(t=0;t<n.length;t++)s=s.concat(n[t]._childClusters);n=s}o>a?this._group._map.setView(this._latlng,a):r>=o?this._group._map.setView(this._latlng,r+1):this._group._map.fitBounds(this._bounds,e)},getBounds:function(){var e=new L.LatLngBounds;return e.extend(this._bounds),e},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(e,t){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(e),e instanceof L.MarkerCluster?(t||(this._childClusters.push(e),e.__parent=this),this._childCount+=e._childCount):(t||this._markers.push(e),this._childCount++),this.__parent&&this.__parent._addChild(e,!0)},_setClusterCenter:function(e){this._cLatLng||(this._cLatLng=e._cLatLng||e._latlng)},_resetBounds:function(){var e=this._bounds;e._southWest&&(e._southWest.lat=1/0,e._southWest.lng=1/0),e._northEast&&(e._northEast.lat=-1/0,e._northEast.lng=-1/0)},_recalculateBounds:function(){var e,t,n,i,o=this._markers,a=this._childClusters,r=0,s=0,l=this._childCount;if(0!==l){for(this._resetBounds(),e=0;e<o.length;e++)n=o[e]._latlng,this._bounds.extend(n),r+=n.lat,s+=n.lng;for(e=0;e<a.length;e++)(t=a[e])._boundsNeedUpdate&&t._recalculateBounds(),this._bounds.extend(t._bounds),n=t._wLatLng,i=t._childCount,r+=n.lat*i,s+=n.lng*i;this._latlng=this._wLatLng=new L.LatLng(r/l,s/l),this._boundsNeedUpdate=!1}},_addToMap:function(e){e&&(this._backupLatlng=this._latlng,this.setLatLng(e)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(e,t,n){this._recursively(e,this._group._map.getMinZoom(),n-1,function(e){var n,i,o=e._markers;for(n=o.length-1;n>=0;n--)(i=o[n])._icon&&(i._setPos(t),i.clusterHide())},function(e){var n,i,o=e._childClusters;for(n=o.length-1;n>=0;n--)(i=o[n])._icon&&(i._setPos(t),i.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(e,t,n,i){this._recursively(e,i,t,function(o){o._recursivelyAnimateChildrenIn(e,o._group._map.latLngToLayerPoint(o.getLatLng()).round(),n),o._isSingleParent()&&n-1===i?(o.clusterShow(),o._recursivelyRemoveChildrenFromMap(e,t,n)):o.clusterHide(),o._addToMap()})},_recursivelyBecomeVisible:function(e,t){this._recursively(e,this._group._map.getMinZoom(),t,null,function(e){e.clusterShow()})},_recursivelyAddChildrenToMap:function(e,t,n){this._recursively(n,this._group._map.getMinZoom()-1,t,function(i){if(t!==i._zoom)for(var o=i._markers.length-1;o>=0;o--){var a=i._markers[o];n.contains(a._latlng)&&(e&&(a._backupLatlng=a.getLatLng(),a.setLatLng(e),a.clusterHide&&a.clusterHide()),i._group._featureGroup.addLayer(a))}},function(t){t._addToMap(e)})},_recursivelyRestoreChildPositions:function(e){for(var t=this._markers.length-1;t>=0;t--){var n=this._markers[t];n._backupLatlng&&(n.setLatLng(n._backupLatlng),delete n._backupLatlng)}if(e-1===this._zoom)for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i]._restorePosition();else for(var o=this._childClusters.length-1;o>=0;o--)this._childClusters[o]._recursivelyRestoreChildPositions(e)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(e,t,n,i){var o,a;this._recursively(e,t-1,n-1,function(e){for(a=e._markers.length-1;a>=0;a--)o=e._markers[a],i&&i.contains(o._latlng)||(e._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())},function(e){for(a=e._childClusters.length-1;a>=0;a--)o=e._childClusters[a],i&&i.contains(o._latlng)||(e._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())})},_recursively:function(e,t,n,i,o){var a,r,s=this._childClusters,l=this._zoom;if(l>=t&&(i&&i(this),o&&l===n&&o(this)),t>l||n>l)for(a=s.length-1;a>=0;a--)(r=s[a])._boundsNeedUpdate&&r._recalculateBounds(),e.intersects(r._bounds)&&r._recursively(e,t,n,i,o)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var e=this.options.opacity;return this.setOpacity(0),this.options.opacity=e,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(e){this._cellSize=e,this._sqCellSize=e*e,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(e,t){var n=this._getCoord(t.x),i=this._getCoord(t.y),o=this._grid,a=o[i]=o[i]||{},r=a[n]=a[n]||[],s=L.Util.stamp(e);this._objectPoint[s]=t,r.push(e)},updateObject:function(e,t){this.removeObject(e),this.addObject(e,t)},removeObject:function(e,t){var n,i,o=this._getCoord(t.x),a=this._getCoord(t.y),r=this._grid,s=r[a]=r[a]||{},l=s[o]=s[o]||[];for(delete this._objectPoint[L.Util.stamp(e)],n=0,i=l.length;i>n;n++)if(l[n]===e)return l.splice(n,1),1===i&&delete s[o],!0},eachObject:function(e,t){var n,i,o,a,r,s,l=this._grid;for(n in l)for(i in r=l[n])for(o=0,a=(s=r[i]).length;a>o;o++)e.call(t,s[o])&&(o--,a--)},getNearObject:function(e){var t,n,i,o,a,r,s,l,c=this._getCoord(e.x),u=this._getCoord(e.y),h=this._objectPoint,d=this._sqCellSize,p=null;for(t=u-1;u+1>=t;t++)if(o=this._grid[t])for(n=c-1;c+1>=n;n++)if(a=o[n])for(i=0,r=a.length;r>i;i++)s=a[i],(d>(l=this._sqDist(h[L.Util.stamp(s)],e))||d>=l&&null===p)&&(d=l,p=s);return p},_getCoord:function(e){var t=Math.floor(e/this._cellSize);return isFinite(t)?t:e},_sqDist:function(e,t){var n=t.x-e.x,i=t.y-e.y;return n*n+i*i}},L.QuickHull={getDistant:function(e,t){var n=t[1].lat-t[0].lat;return(t[0].lng-t[1].lng)*(e.lat-t[0].lat)+n*(e.lng-t[0].lng)},findMostDistantPointFromBaseLine:function(e,t){var n,i,o,a=0,r=null,s=[];for(n=t.length-1;n>=0;n--)i=t[n],(o=this.getDistant(i,e))>0&&(s.push(i),o>a&&(a=o,r=i));return{maxPoint:r,newPoints:s}},buildConvexHull:function(e,t){var n=[],i=this.findMostDistantPointFromBaseLine(e,t);return i.maxPoint?n=(n=n.concat(this.buildConvexHull([e[0],i.maxPoint],i.newPoints))).concat(this.buildConvexHull([i.maxPoint,e[1]],i.newPoints)):[e[0]]},getConvexHull:function(e){var t,n=!1,i=!1,o=!1,a=!1,r=null,s=null,l=null,c=null,u=null,h=null;for(t=e.length-1;t>=0;t--){var d=e[t];(!1===n||d.lat>n)&&(r=d,n=d.lat),(!1===i||d.lat<i)&&(s=d,i=d.lat),(!1===o||d.lng>o)&&(l=d,o=d.lng),(!1===a||d.lng<a)&&(c=d,a=d.lng)}return i!==n?(h=s,u=r):(h=c,u=l),[].concat(this.buildConvexHull([h,u],e),this.buildConvexHull([u,h],e))}},L.MarkerCluster.include({getConvexHull:function(){var e,t,n=this.getAllChildMarkers(),i=[];for(t=n.length-1;t>=0;t--)e=n[t].getLatLng(),i.push(e);return L.QuickHull.getConvexHull(i)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var e,t=this.getAllChildMarkers(null,!0),n=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,t.length>=this._circleSpiralSwitchover?e=this._generatePointsSpiral(t.length,n):(n.y+=10,e=this._generatePointsCircle(t.length,n)),this._animationSpiderfy(t,e)}},unspiderfy:function(e){this._group._inZoomAnimation||(this._animationUnspiderfy(e),this._group._spiderfied=null)},_generatePointsCircle:function(e,t){var n,i,o=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+e)/this._2PI,a=this._2PI/e,r=[];for(o=Math.max(o,35),r.length=e,n=0;e>n;n++)i=this._circleStartAngle+n*a,r[n]=new L.Point(t.x+o*Math.cos(i),t.y+o*Math.sin(i))._round();return r},_generatePointsSpiral:function(e,t){var n,i=this._group.options.spiderfyDistanceMultiplier,o=i*this._spiralLengthStart,a=i*this._spiralFootSeparation,r=i*this._spiralLengthFactor*this._2PI,s=0,l=[];for(l.length=e,n=e;n>=0;n--)e>n&&(l[n]=new L.Point(t.x+o*Math.cos(s),t.y+o*Math.sin(s))._round()),o+=r/(s+=a/o+5e-4*n);return l},_noanimationUnspiderfy:function(){var e,t,n=this._group,i=n._map,o=n._featureGroup,a=this.getAllChildMarkers(null,!0);for(n._ignoreMove=!0,this.setOpacity(1),t=a.length-1;t>=0;t--)e=a[t],o.removeLayer(e),e._preSpiderfyLatlng&&(e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng),e.setZIndexOffset&&e.setZIndexOffset(0),e._spiderLeg&&(i.removeLayer(e._spiderLeg),delete e._spiderLeg);n.fire("unspiderfied",{cluster:this,markers:a}),n._ignoreMove=!1,n._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(e,t){var n,i,o,a,r=this._group,s=r._map,l=r._featureGroup,c=this._group.options.spiderLegPolylineOptions;for(r._ignoreMove=!0,n=0;n<e.length;n++)a=s.layerPointToLatLng(t[n]),i=e[n],o=new L.Polyline([this._latlng,a],c),s.addLayer(o),i._spiderLeg=o,i._preSpiderfyLatlng=i._latlng,i.setLatLng(a),i.setZIndexOffset&&i.setZIndexOffset(1e6),l.addLayer(i);this.setOpacity(.3),r._ignoreMove=!1,r.fire("spiderfied",{cluster:this,markers:e})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(e,t){var n,i,o,a,r,s,l=this,c=this._group,u=c._map,h=c._featureGroup,d=this._latlng,p=u.latLngToLayerPoint(d),f=L.Path.SVG,m=L.extend({},this._group.options.spiderLegPolylineOptions),g=m.opacity;for(void 0===g&&(g=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),f?(m.opacity=0,m.className=(m.className||"")+" leaflet-cluster-spider-leg"):m.opacity=g,c._ignoreMove=!0,n=0;n<e.length;n++)i=e[n],s=u.layerPointToLatLng(t[n]),o=new L.Polyline([d,s],m),u.addLayer(o),i._spiderLeg=o,f&&(r=(a=o._path).getTotalLength()+.1,a.style.strokeDasharray=r,a.style.strokeDashoffset=r),i.setZIndexOffset&&i.setZIndexOffset(1e6),i.clusterHide&&i.clusterHide(),h.addLayer(i),i._setPos&&i._setPos(p);for(c._forceLayout(),c._animationStart(),n=e.length-1;n>=0;n--)s=u.layerPointToLatLng(t[n]),(i=e[n])._preSpiderfyLatlng=i._latlng,i.setLatLng(s),i.clusterShow&&i.clusterShow(),f&&((a=(o=i._spiderLeg)._path).style.strokeDashoffset=0,o.setStyle({opacity:g}));this.setOpacity(.3),c._ignoreMove=!1,setTimeout(function(){c._animationEnd(),c.fire("spiderfied",{cluster:l,markers:e})},200)},_animationUnspiderfy:function(e){var t,n,i,o,a,r,s=this,l=this._group,c=l._map,u=l._featureGroup,h=e?c._latLngToNewLayerPoint(this._latlng,e.zoom,e.center):c.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(null,!0),p=L.Path.SVG;for(l._ignoreMove=!0,l._animationStart(),this.setOpacity(1),n=d.length-1;n>=0;n--)(t=d[n])._preSpiderfyLatlng&&(t.closePopup(),t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng,r=!0,t._setPos&&(t._setPos(h),r=!1),t.clusterHide&&(t.clusterHide(),r=!1),r&&u.removeLayer(t),p&&(a=(o=(i=t._spiderLeg)._path).getTotalLength()+.1,o.style.strokeDashoffset=a,i.setStyle({opacity:0})));l._ignoreMove=!1,setTimeout(function(){var e=0;for(n=d.length-1;n>=0;n--)(t=d[n])._spiderLeg&&e++;for(n=d.length-1;n>=0;n--)(t=d[n])._spiderLeg&&(t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),e>1&&u.removeLayer(t),c.removeLayer(t._spiderLeg),delete t._spiderLeg);l._animationEnd(),l.fire("unspiderfied",{cluster:s,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(e){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(e))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(e){this._spiderfied&&this._spiderfied.unspiderfy(e)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(e){e._spiderLeg&&(this._featureGroup.removeLayer(e),e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),this._map.removeLayer(e._spiderLeg),delete e._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(e){return e?e instanceof L.MarkerClusterGroup?e=e._topClusterLevel.getAllChildMarkers():e instanceof L.LayerGroup?e=e._layers:e instanceof L.MarkerCluster?e=e.getAllChildMarkers():e instanceof L.Marker&&(e=[e]):e=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(e),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(e),this},_flagParentsIconsNeedUpdate:function(e){var t,n;for(t in e)for(n=e[t].__parent;n;)n._iconNeedsUpdate=!0,n=n.__parent},_refreshSingleMarkerModeMarkers:function(e){var t,n;for(t in e)n=e[t],this.hasLayer(n)&&n.setIcon(this._overrideMarkerIcon(n))}}),L.Marker.include({refreshIconOptions:function(e,t){var n=this.options.icon;return L.setOptions(n,e),this.setIcon(n),t&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),e.MarkerClusterGroup=t,e.MarkerCluster=n});