1jQuery(document).ready(function(){Cookies.set('attivaLetturaVocale','true',{expires:7});jQuery("#play").click(function(){if(!responsiveVoice.isPlaying()){responsiveVoice.speak(jQuery("#testoDaLeggere").text(),"Italian Female");}});jQuery("#pause").click(function(){if(responsiveVoice.isPlaying()){responsiveVoice.pause();}});});function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _createClass2(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _createForOfIteratorHelperLoose(e,t){var n,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return(i=i.call(e)).next.bind(i);if(Array.isArray(e)||(i=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),n=0,function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){var n;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(x,P){"use strict";function b(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item}function m(e){return null!=e&&e===e.window}var t=[],F=Object.getPrototypeOf,a=t.slice,j=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},H=t.push,R=t.indexOf,q={},B=q.toString,W=q.hasOwnProperty,z=W.toString,U=z.call(Object),g={},C=x.document,Y={type:!0,src:!0,nonce:!0,noModule:!0};function V(e,t,n){var i,r,o=(n=n||C).createElement("script");if(o.text=e,t)for(i in Y)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?q[B.call(e)]||"object":typeof e}var e="3.6.0",k=function e(t,n){return new e.fn.init(t,n)};function G(e){var t=!!e&&"length"in e&&e.length,n=p(e);return!b(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function i(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&k(e).is(n))break;i.push(e)}return i}function K(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}k.fn=k.prototype={jquery:e,constructor:k,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){return(e=k.merge(this.constructor(),e)).prevObject=this,e},each:function(e){return k.each(this,e)},map:function(n){return this.pushStack(k.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(k.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:H,sort:t.sort,splice:t.splice},k.extend=k.fn.extend=function(){var e,t,n,i,r,o=arguments[0]||{},s=1,a=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[s]||{},s++),"object"==typeof o||b(o)||(o={}),s===a&&(o=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&&o!==n&&(l&&n&&(k.isPlainObject(n)||(i=Array.isArray(n)))?(r=o[t],r=i&&!Array.isArray(r)?[]:i||k.isPlainObject(r)?r:{},i=!1,o[t]=k.extend(l,r,n)):void 0!==n&&(o[t]=n));return o},k.extend({expando:"jQuery"+(e+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==B.call(e)||(e=F(e))&&("function"!=typeof(e=W.call(e,"constructor")&&e.constructor)||z.call(e)!==U))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,n){V(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(G(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},makeArray:function(e,t){return t=t||[],null!=e&&(G(Object(e))?k.merge(t,"string"==typeof e?[e]:e):H.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:R.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!=s&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,s=[];if(G(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return j(s)},guid:1,support:g}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=t[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){q["[object "+t+"]"]=t.toLowerCase()});var e=function(P){function d(e,t){return e="0x"+e.slice(1)-65536,t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))}function F(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function j(){k()}function w(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}var e,h,x,o,H,f,R,q,C,l,c,k,_,n,E,p,i,r,m,T="sizzle"+ +new Date,u=P.document,S=0,B=0,W=A(),z=A(),U=A(),g=A(),Y=function(e,t){return e===t&&(c=!0),0},V={}.hasOwnProperty,t=[],G=t.pop,K=t.push,D=t.push,Q=t.slice,X="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",s="[\\x20\\t\\r\\n\\f]",a="(?:\\\\[\\da-fA-F]{1,6}"+s+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",J="\\["+s+"*("+a+")(?:"+s+"*([*^$|!~]?=)"+s+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+a+"))|)"+s+"*\\]",Z=":("+a+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+J+")*)|.*)\\)|)",ee=new RegExp(s+"+","g"),$=new RegExp("^"+s+"+|((?:^|[^\\\\])(?:\\\\.)*)"+s+"+$","g"),te=new RegExp("^"+s+"*,"+s+"*"),ne=new RegExp("^"+s+"*([>+~]|"+s+")"+s+"*"),ie=new RegExp(s+"|>"),re=new RegExp(Z),oe=new RegExp("^"+a+"$"),v={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a+"|[*])"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+X+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},se=/HTML$/i,ae=/^(?:input|select|textarea|button)$/i,le=/^h\d$/i,b=/^[^{]+\{\s*\[native \w/,ce=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ue=/[+~]/,y=new RegExp("\\\\[\\da-fA-F]{1,6}"+s+"?|\\\\([^\\r\\n\\f])","g"),de=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,he=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{D.apply(t=Q.call(u.childNodes),u.childNodes),t[u.childNodes.length].nodeType}catch(e){D={apply:t.length?function(e,t){K.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function I(e,t,n,i){var r,o,s,a,l,c,u=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;
vendor: 5,973 bytes, line 1
1if(!i&&(k(t),t=t||_,E)){if(11!==d&&(a=ce.exec(e)))if(r=a[1]){if(9===d){if(!(c=t.getElementById(r)))return n;if(c.id===r)return n.push(c),n}else if(u&&(c=u.getElementById(r))&&m(t,c)&&c.id===r)return n.push(c),n}else{if(a[2])return D.apply(n,t.getElementsByTagName(e)),n;if((r=a[3])&&h.getElementsByClassName&&t.getElementsByClassName)return D.apply(n,t.getElementsByClassName(r)),n}if(h.qsa&&!g[e+" "]&&(!p||!p.test(e))&&(1!==d||"object"!==t.nodeName.toLowerCase())){if(c=e,u=t,1===d&&(ie.test(e)||ne.test(e))){for((u=ue.test(e)&&ge(t.parentNode)||t)===t&&h.scope||((s=t.getAttribute("id"))?s=s.replace(de,F):t.setAttribute("id",s=T)),o=(l=f(e)).length;o--;)l[o]=(s?"#"+s:":scope")+" "+M(l[o]);c=l.join(",")}try{return D.apply(n,u.querySelectorAll(c)),n}catch(t){g(e,!0)}finally{s===T&&t.removeAttribute("id")}}}return q(e.replace($,"$1"),t,n,i)}function A(){var n=[];function i(e,t){return n.push(e+" ")>x.cacheLength&&delete i[n.shift()],i[e+" "]=t}return i}function L(e){return e[T]=!0,e}function O(e){var t=_.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function fe(e,t){for(var n=e.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=t}function pe(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 me(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&he(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function N(s){return L(function(o){return o=+o,L(function(e,t){for(var n,i=s([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=I.support={},H=I.isXML=function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!se.test(t||e&&e.nodeName||"HTML")},k=I.setDocument=function(e){return(e=e?e.ownerDocument||e:u)!=_&&9===e.nodeType&&e.documentElement&&(n=(_=e).documentElement,E=!H(_),u!=_&&(e=_.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",j,!1):e.attachEvent&&e.attachEvent("onunload",j)),h.scope=O(function(e){return n.appendChild(e).appendChild(_.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),h.attributes=O(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=O(function(e){return e.appendChild(_.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=b.test(_.getElementsByClassName),h.getById=O(function(e){return n.appendChild(e).id=T,!_.getElementsByName||!_.getElementsByName(T).length}),h.getById?(x.filter.ID=function(e){var t=e.replace(y,d);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&E)return(t=t.getElementById(e))?[t]:[]}):(x.filter.ID=function(e){var t=e.replace(y,d);return function(e){return(e=void 0!==e.getAttributeNode&&e.getAttributeNode("id"))&&e.value===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),x.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},x.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},i=[],p=[],(h.qsa=b.test(_.querySelectorAll))&&(O(function(e){var t;n.appendChild(e).innerHTML="<a id='"+T+"'></a><select id='"+T+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&p.push("[*^$]="+s+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||p.push("\\["+s+"*(?:value|"+X+")"),e.querySelectorAll("[id~="+T+"-]").length||p.push("~="),(t=_.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+s+"*name"+s+"*="+s+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||p.push(":checked"),e.querySelectorAll("a#"+T+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll("\\\f"),p.push("[\\r\\n\\f]")}),O(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=_.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&p.push("name"+s+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&p.push(":enabled",":disabled"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),p.push(",.*:")})),(h.matchesSelector=b.test(r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&O(function(e){h.disconnectedMatch=r.call(e,"*"),r.call(e,"[s!='']:x"),i.push("!=",Z)}),p=p.length&&new RegExp(p.join("|")),i=i.length&&new RegExp(i.join("|")),e=b.test(n.compareDocumentPosition),m=e||b.test(n.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e;return e===(t=t&&t.parentNode)||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Y=e?function(e,t){var n;return e===t?(c=!0,0):!e.compareDocumentPosition-!t.compareDocumentPosition||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e==_||e.ownerDocument==u&&m(u,e)?-1:t==_||t.ownerDocument==u&&m(u,t)?1:l?w(l,e)-w(l,t):0:4&n?-1:1)}
vendor: 11,473 bytes, line 1
1:function(e,t){if(e===t)return c=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e==_?-1:t==_?1:r?-1:o?1:l?w(l,e)-w(l,t):0;if(r===o)return pe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?pe(s[i],a[i]):s[i]==u?-1:a[i]==u?1:0}),_},I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(k(e),h.matchesSelector&&E&&!g[t+" "]&&(!i||!i.test(t))&&(!p||!p.test(t)))try{var n=r.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){g(t,!0)}return 0<I(t,_,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=_&&k(e),m(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=_&&k(e);var n=x.attrHandle[t.toLowerCase()];return void 0!==(n=n&&V.call(x.attrHandle,t.toLowerCase())?n(e,t,!E):void 0)?n:h.attributes||!E?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},I.escape=function(e){return(e+"").replace(de,F)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},I.uniqueSort=function(e){var t,n=[],i=0,r=0;if(c=!h.detectDuplicates,l=!h.sortStable&&e.slice(0),e.sort(Y),c){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return l=null,e},o=I.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(x=I.selectors={cacheLength:50,createPseudo:L,match:v,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(y,d),e[3]=(e[3]||e[4]||e[5]||"").replace(y,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return v.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&re.test(n)&&(t=(t=f(n,!0))&&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(y,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+s+")"+e+"("+s+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){return null==(e=I.attr(e,t))?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1<e.indexOf(i):"$="===n?i&&e.slice(-i.length)===i:"~="===n?-1<(" "+e.replace(ee," ")+" ").indexOf(i):"|="===n&&(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,m,g){var v="nth"!==p.slice(0,3),b="last"!==p.slice(-4),y="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,s,a,l,c=v!=b?"nextSibling":"previousSibling",u=e.parentNode,d=y&&e.nodeName.toLowerCase(),h=!n&&!y,f=!1;if(u){if(v){for(;c;){for(s=e;s=s[c];)if(y?s.nodeName.toLowerCase()===d:1===s.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[b?u.firstChild:u.lastChild],b&&h){for(f=(a=(i=(r=(o=(s=u)[T]||(s[T]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===S&&i[1])&&i[2],s=a&&u.childNodes[a];s=++a&&s&&s[c]||(f=a=0,l.pop());)if(1===s.nodeType&&++f&&s===e){r[p]=[S,a,f];break}}else if(!1===(f=h?a=(i=(r=(o=(s=e)[T]||(s[T]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===S&&i[1]:f))for(;(s=++a&&s&&s[c]||(f=a=0,l.pop()))&&((y?s.nodeName.toLowerCase()!==d:1!==s.nodeType)||!++f||(h&&((r=(o=s[T]||(s[T]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]=[S,f]),s!==e)););return(f-=g)===m||f%m==0&&0<=f/m}}},PSEUDO:function(e,o){var t,s=x.pseudos[e]||x.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return s[T]?s(o):1<s.length?(t=[e,e,"",o],x.setFilters.hasOwnProperty(e.toLowerCase())?L(function(e,t){for(var n,i=s(e,o),r=i.length;r--;)e[n=w(e,i[r])]=!(t[n]=i[r])}):function(e){return s(e,0,t)}):s}},pseudos:{not:L(function(e){var i=[],r=[],a=R(e.replace($,"$1"));return a[T]?L(function(e,t,n,i){for(var r,o=a(e,null,i,[]),s=e.length;s--;)(r=o[s])&&(e[s]=!(t[s]=r))}):function(e,t,n){return i[0]=e,a(i,null,n,r),i[0]=null,!r.pop()}}),has:L(function(t){return function(e){return 0<I(t,e).length}}),contains:L(function(t){return t=t.replace(y,d),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:L(function(n){return oe.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(y,d).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=P.location&&P.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===n},focus:function(e){return e===_.activeElement&&(!_.hasFocus||_.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!x.pseudos.empty(e)},header:function(e){return le.test(e.nodeName)},input:function(e){return ae.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:N(function(){return[0]}),last:N(function(e,t){return[t-1]}),eq:N(function(e,t,n){return[n<0?n+t:n]}),even:N(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:N(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:N(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:N(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function ve(){}function M(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function be(s,e,t){var a=e.dir,l=e.next,c=l||a,u=t&&"parentNode"===c,d=B++;return e.first?function(e,t,n){for(;e=e[a];)if(1===e.nodeType||u)return s(e,t,n);return!1}:function(e,t,n){var i,r,o=[S,d];if(n){for(;e=e[a];)if((1===e.nodeType||u)&&s(e,t,n))return!0}else for(;e=e[a];)if(1===e.nodeType||u)if(r=(r=e[T]||(e[T]={}))[e.uniqueID]||(r[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[a]||e;else{if((i=r[c])&&i[0]===S&&i[1]===d)return o[2]=i[2];if((r[c]=o)[2]=s(e,t,n))return!0}return!1}}function ye(r){return 1<r.length?function(e,t,n){for(var i=r.length;i--;)if(!r[i](e,t,n))return!1;return!0}:r[0]}function we(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)!(o=e[a])||n&&!n(o,i,r)||(s.push(o),c&&t.push(a));return s}return ve.prototype=x.filters=x.pseudos,x.setFilters=new ve,f=I.tokenize=function(e,t){var n,i,r,o,s,a,l,c=z[e+" "];if(c)return t?0:c.slice(0);for(s=e,a=[],l=x.preFilter;s;){for(o in n&&!(i=te.exec(s))||(i&&(s=s.slice(i[0].length)||s),a.push(r=[])),n=!1,(i=ne.exec(s))&&(n=i.shift(),r.push({value:n,type:i[0].replace($," ")}),s=s.slice(n.length)),x.filter)!(i=v[o].exec(s))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?I.error(e):z(e,a).slice(0)},R=I.compile=function(e,t){var n,g,v,b,y,i=[],r=[],o=U[e+" "];if(!o){for(n=(t=t||f(e)).length;n--;)((o=function e(t){for(var i,n,r,o=t.length,s=x.relative[t[0].type],a=s||x.relative[" "],l=s?1:0,c=be(function(e){return e===i},a,!0),u=be(function(e){return-1<w(i,e)},a,!0),d=[function(e,t,n){return e=!s&&(n||t!==C)||((i=t).nodeType?c:u)(e,t,n),i=null,e}];l<o;l++)if(n=x.relative[t[l].type])d=[be(ye(d),n)];else{if((n=x.filter[t[l].type].apply(null,t[l].matches))[T]){for(r=++l;r<o&&!x.relative[t[r].type];r++);return function e(f,p,m,g,v,t){return g&&!g[T]&&(g=e(g)),v&&!v[T]&&(v=e(v,t)),L(function(e,t,n,i){var r,o,s,a=[],l=[],c=t.length,u=e||function(e,t,n){for(var i=0,r=t.length;i<r;i++)I(e,t[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),d=!f||!e&&p?u:we(u,a,f,n,i),h=m?v||(e?f:c||g)?[]:t:d;if(m&&m(d,h,n,i),g)for(r=we(h,l),g(r,[],n,i),o=r.length;o--;)(s=r[o])&&(h[l[o]]=!(d[l[o]]=s));if(e){if(v||f){if(v){for(r=[],o=h.length;o--;)(s=h[o])&&r.push(d[o]=s);v(null,h=[],r,i)}for(o=h.length;o--;)(s=h[o])&&-1<(r=v?w(e,s):a[o])&&(e[r]=!(t[r]=s))}}else h=we(h===t?h.splice(c,h.length):h),v?v(null,t,h,i):D.apply(t,h)})}(1<l&&ye(d),1<l&&M(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace($,"$1"),n,l<r&&e(t.slice(l,r)),r<o&&e(t=t.slice(r)),r<o&&M(t))}d.push(n)}return ye(d)}(t[n]))[T]?i:r).push(o);(o=U(e,(g=r,b=0<(v=i).length,y=0<g.length,b?L(s):s))).selector=e}function s(e,t,n,i,r){var o,s,a,l=0,c="0",u=e&&[],d=[],h=C,f=e||y&&x.find.TAG("*",r),p=S+=null==h?1:Math.random()||.1,m=f.length;for(r&&(C=t==_||t||r);c!==m&&null!=(o=f[c]);c++){if(y&&o){for(s=0,t||o.ownerDocument==_||(k(o),n=!E);a=g[s++];)if(a(o,t||_,n)){i.push(o);break}r&&(S=p)}b&&((o=!a&&o)&&l--,e)&&u.push(o)}if(l+=c,b&&c!==l){for(s=0;a=v[s++];)a(u,d,t,n);if(e){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=G.call(i));d=we(d)}D.apply(i,d),r&&!e&&0<d.length&&1<l+v.length&&I.uniqueSort(i)}return r&&(S=p,C=h),u}return o},q=I.select=function(e,t,n,i){var r,o,s,a,l,c="function"==typeof e&&e,u=!i&&f(e=c.selector||e);if(n=n||[],1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(s=o[0]).type&&9===t.nodeType&&E&&x.relative[o[1].type]){if(!(t=(x.find.ID(s.matches[0].replace(y,d),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=v.needsContext.test(e)?0:o.length;r--&&(s=o[r],!x.relative[a=s.type]);)if((l=x.find[a])&&(i=l(s.matches[0].replace(y,d),ue.test(o[0].type)&&ge(t.parentNode)||t))){if(o.splice(r,1),e=i.length&&M(o))break;return D.apply(n,i),n}}return(c||R(e,u))(i,t,!E,n,!t||ue.test(e)&&ge(t.parentNode)||t),n},h.sortStable=T.split("").sort(Y).join("")===T,h.detectDuplicates=!!c,k(),h.sortDetached=O(function(e){return 1&e.compareDocumentPosition(_.createElement("fieldset"))}),O(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&O(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),O(function(e){return null==e.getAttribute("disabled")})||fe(X,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),I}(x),Q=(k.find=e,k.expr=e.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=e.uniqueSort,k.text=e.getText,k.isXMLDoc=e.isXML,k.contains=e.contains,k.escapeSelector=e.escape,k.expr.match.needsContext);
vendor: 5,766 bytes, line 1
1function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var X=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function J(e,n,i){return b(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?k.grep(e,function(e){return e===n!==i}):"string"!=typeof n?k.grep(e,function(e){return-1<R.call(n,e)!==i}):k.filter(n,e,i)}k.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?k.find.matchesSelector(i,e)?[i]:[]:k.find.matches(e,k.grep(t,function(e){return 1===e.nodeType}))},k.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(k(e).filter(function(){for(t=0;t<i;t++)if(k.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)k.find(e,r[t],n);return 1<i?k.uniqueSort(n):n},filter:function(e){return this.pushStack(J(this,e||[],!1))},not:function(e){return this.pushStack(J(this,e||[],!0))},is:function(e){return!!J(this,"string"==typeof e&&Q.test(e)?k(e):e||[],!1).length}});var Z,ee=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,te=((k.fn.init=function(e,t,n){if(e){if(n=n||Z,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:ee.exec(e))||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),X.test(i[1])&&k.isPlainObject(t))for(var i in t)b(this[i])?this[i](t[i]):this.attr(i,t[i])}else(n=C.getElementById(i[2]))&&(this[0]=n,this.length=1)}return this}).prototype=k.fn,Z=k(C),/^(?:parents|prev(?:Until|All))/),ne={children:!0,contents:!0,next:!0,prev:!0};function ie(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&k(e);if(!Q.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&k.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?k.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?R.call(k(e),this[0]):R.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){return(e=e.parentNode)&&11!==e.nodeType?e:null},parents:function(e){return i(e,"parentNode")},parentsUntil:function(e,t,n){return i(e,"parentNode",n)},next:function(e){return ie(e,"nextSibling")},prev:function(e){return ie(e,"previousSibling")},nextAll:function(e){return i(e,"nextSibling")},prevAll:function(e){return i(e,"previousSibling")},nextUntil:function(e,t,n){return i(e,"nextSibling",n)},prevUntil:function(e,t,n){return i(e,"previousSibling",n)},siblings:function(e){return K((e.parentNode||{}).firstChild,e)},children:function(e){return K(e.firstChild)},contents:function(e){return null!=e.contentDocument&&F(e.contentDocument)?e.contentDocument:(l(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},function(i,r){k.fn[i]=function(e,t){var n=k.map(this,r,e);return(t="Until"!==i.slice(-5)?e:t)&&"string"==typeof t&&(n=k.filter(t,n)),1<this.length&&(ne[i]||k.uniqueSort(n),te.test(i))&&n.reverse(),this.pushStack(n)}});var _=/[^\x20\t\r\n\f]+/g;function u(e){return e}function re(e){throw e}function oe(e,t,n,i){var r;try{e&&b(r=e.promise)?r.call(e).done(t).fail(n):e&&b(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(i){var e,n;function r(){for(a=a||i.once,s=o=!0;c.length;u=-1)for(t=c.shift();++u<l.length;)!1===l[u].apply(t[0],t[1])&&i.stopOnFalse&&(u=l.length,t=!1);i.memory||(t=!1),o=!1,a&&(l=t?[]:"")}i="string"==typeof i?(e=i,n={},k.each(e.match(_)||[],function(e,t){n[t]=!0}),n):k.extend({},i);var o,t,s,a,l=[],c=[],u=-1,d={add:function(){return l&&(t&&!o&&(u=l.length-1,c.push(t)),function n(e){k.each(e,function(e,t){b(t)?i.unique&&d.has(t)||l.push(t):t&&t.length&&"string"!==p(t)&&n(t)})}(arguments),t)&&!o&&r(),this},remove:function(){return k.each(arguments,function(e,t){for(var n;-1<(n=k.inArray(t,l,n));)l.splice(n,1),n<=u&&u--}),this},has:function(e){return e?-1<k.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=c=[],l=t="",this},disabled:function(){return!l},lock:function(){return a=c=[],t||o||(l=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),o)||r(),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!s}};return d},k.extend({Deferred:function(e){var o=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],r="pending",s={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var r=arguments;return k.Deferred(function(i){k.each(o,function(e,t){var n=b(r[t[4]])&&r[t[4]];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&b(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,n?[e]:arguments)})}),r=null}).promise()},then:function(t,n,i){var l=0;function c(r,o,s,a){return function(){function e(){var e,t;if(!(r<l)){if((e=s.apply(n,i))===o.promise())throw new TypeError("Thenable self
1-resolution");b(t=e&&("object"==typeof e||"function"==typeof e)&&e.then)?a?t.call(e,c(l,o,u,a),c(l,o,re,a)):(l++,t.call(e,c(l,o,u,a),c(l,o,re,a),c(l,o,u,o.notifyWith))):(s!==u&&(n=void 0,i=[e]),(a||o.resolveWith)(n,i))}}var n=this,i=arguments,t=a?e:function(){try{e()}catch(e){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(e,t.stackTrace),l<=r+1&&(s!==re&&(n=void 0,i=[e]),o.rejectWith(n,i))}};r?t():(k.Deferred.getStackHook&&(t.stackTrace=k.Deferred.getStackHook()),x.setTimeout(t))}}return k.Deferred(function(e){o[0][3].add(c(0,e,b(i)?i:u,e.notifyWith)),o[1][3].add(c(0,e,b(t)?t:u)),o[2][3].add(c(0,e,b(n)?n:re))}).promise()},promise:function(e){return null!=e?k.extend(e,s):s}},a={};return k.each(o,function(e,t){var n=t[2],i=t[5];s[t[1]]=n.add,i&&n.add(function(){r=i},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){function t(t){return function(e){r[t]=this,o[t]=1<arguments.length?a.call(arguments):e,--n||s.resolveWith(r,o)}}var n=arguments.length,i=n,r=Array(i),o=a.call(arguments),s=k.Deferred();if(n<=1&&(oe(e,s.done(t(i)).resolve,s.reject,!n),"pending"===s.state()||b(o[i]&&o[i].then)))return s.then();for(;i--;)oe(o[i],t(i),s.reject);return s.promise()}});var se=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,ae=(k.Deferred.exceptionHook=function(e,t){x.console&&x.console.warn&&e&&se.test(e.name)&&x.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){x.setTimeout(function(){throw e})},k.Deferred());function le(){C.removeEventListener("DOMContentLoaded",le),x.removeEventListener("load",le),k.ready()}function d(e,t,n,i,r,o,s){var a=0,l=e.length,c=null==n;if("object"===p(n))for(a in r=!0,n)d(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,b(i)||(s=!0),t=c?s?(t.call(e,i),null):(c=t,function(e,t,n){return c.call(k(e),n)}):t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:c?t.call(e):l?t(e[0],n):o}k.fn.ready=function(e){return ae.then(e).catch(function(e){k.readyException(e)}),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0)!==e&&0<--k.readyWait||ae.resolveWith(C,[k])}}),k.ready.then=ae.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?x.setTimeout(k.ready):(C.addEventListener("DOMContentLoaded",le),x.addEventListener("load",le));var ce=/^-ms-/,ue=/-([a-z])/g;function de(e,t){return t.toUpperCase()}function y(e){return e.replace(ce,"ms-").replace(ue,de)}function v(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function he(){this.expando=k.expando+he.uid++}he.uid=1,he.prototype={cache:function(e){var t=e[this.expando];return t||(t={},v(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[y(t)]=n;else for(i in t)r[y(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][y(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(y):(t=y(t))in i?[t]:t.match(_)||[]).length;for(;n--;)delete i[t[n]]}void 0!==t&&!k.isEmptyObject(i)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){return void 0!==(e=e[this.expando])&&!k.isEmptyObject(e)}};var w=new he,c=new he,fe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,pe=/[A-Z]/g;function me(e,t,n){var i,r;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(pe,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&&("null"===r?null:r===+r+""?+r:fe.test(r)?JSON.parse(r):r)}catch(e){}c.set(e,t,n)}else n=void 0;return n}function ge(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&T(e)&&"none"===k.css(e,"display")}k.extend({hasData:function(e){return c.hasData(e)||w.hasData(e)},data:function(e,t,n){return c.access(e,t,n)},removeData:function(e,t){c.remove(e,t)},_data:function(e,t,n){return w.access(e,t,n)},_removeData:function(e,t){w.remove(e,t)}}),k.fn.extend({data:function(n,e){var t,i,r,o=this[0],s=o&&o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){c.set(this,n)}):d(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=c.get(o,n))||void 0!==(t=me(o,n))?t:void 0;this.each(function(){c.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(r=c.get(o),1===o.nodeType)&&!w.get(o,"hasDataAttrs")){for(t=s.length;t--;)s[t]&&0===(i=s[t].name).indexOf("data-")&&(i=y(i.slice(5)),me(o,i,r[i]));w.set(o,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){c.remove(this,e)})}}),k.extend({queue:function(e,t,n){var i;if(e)return i=w.get(e,t=(t||"fx")+"queue"),n&&(!i||Array.isArray(n)?i=w.access(e,t,k.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),i=n.length,r=n.shift(),o=k._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){k.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return w.get(e,n)||w.access(e,n,{empty:k.Callbacks("once memory").add(function(){w.remove(e,[t+"queue",n])})})}}),k.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?k.queue(this[0],t):void 0===n?this:this.each(function(){var e=k.queue(this,t,n);k._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&k.dequeue(this,t)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--r||o.resolveWith(s,[s])}var i,r=1,o=k.Deferred(),s=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=w.get(s[a],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),o.promise(t)}});var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ve=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),h=["Top","Right","Bottom","Left"],E=C.documentElement,T=function(e){return k.contains(e.ownerDocument,e)},be={composed:!0};function ye(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return k.css(e,t,"")},l=a(),c=n&&n[3]||(k.cssNumber[t]?"":"px"),u=e.nodeType&&(k.cssNumber[t]||"px"!==c&&+l)&&ve.exec(k.css(e,t));if(u&&u[3]!==c){for(c=c||u[3],u=(l/=2)||1;s--;)k.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;k.style(e,t,(u*=2)+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i)&&(i.unit=c,i.start=u,i.end=r),r}E.getRootNode&&(T=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(be)===e.ownerDocument});var we={};function S(e,t){for(var n,i,r,o,s,a=[],l=0,c=e.length;l<c;l++)(i=e[l]).style&&(n=i.style.display,t?("none"===n&&(a[l]=w.get(i,"display")||null,a[l]||(i.style.display="")),""===i.style.display&&ge(i)&&(a[l]=(o=void 0,o=i.ownerDocument,r=i.nodeName,we[r]||(o=o.body.appendChild(o.createElement(r)),s=k.css(o,"display"),o.parentNode.removeChild(o),we[r]="none"===s?"block":s)))):"none"!==n&&(a[l]="none",w.set(i,"display",n)));for(l=0;l<c;l++)null!=a[l]&&(e[l].style.display=a[l]);return e}k.fn.extend({show:function(){return S(this,!0)},hide:function(){return S(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ge(this)?k(this).show():k(this).hide()})}});var xe=/^(?:checkbox|radio)$/i,Ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ke=/^$|^module$|\/(?:java|ecma)script/i,D=(L=C.createDocumentFragment().appendChild(C.createElement("div")),(s=C.createElement("input")).setAttribute("type","radio"),s.setAttribute("checked","checked"),s.setAttribute("name","t"),L.appendChild(s),g.checkClone
vendor: 4,811 bytes, line 1
1=L.cloneNode(!0).cloneNode(!0).lastChild.checked,L.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!L.cloneNode(!0).lastChild.defaultValue,L.innerHTML="<option></option>",g.option=!!L.lastChild,{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 $(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&l(e,t)?k.merge([e],n):n}function _e(e,t){for(var n=0,i=e.length;n<i;n++)w.set(e[n],"globalEval",!t||w.get(t[n],"globalEval"))}D.tbody=D.tfoot=D.colgroup=D.caption=D.thead,D.th=D.td,g.option||(D.optgroup=D.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function Te(e,t,n,i,r){for(var o,s,a,l,c,u=t.createDocumentFragment(),d=[],h=0,f=e.length;h<f;h++)if((o=e[h])||0===o)if("object"===p(o))k.merge(d,o.nodeType?[o]:o);else if(Ee.test(o)){for(s=s||u.appendChild(t.createElement("div")),a=(Ce.exec(o)||["",""])[1].toLowerCase(),a=D[a]||D._default,s.innerHTML=a[1]+k.htmlPrefilter(o)+a[2],c=a[0];c--;)s=s.lastChild;k.merge(d,s.childNodes),(s=u.firstChild).textContent=""}else d.push(t.createTextNode(o));for(u.textContent="",h=0;o=d[h++];)if(i&&-1<k.inArray(o,i))r&&r.push(o);else if(l=T(o),s=$(u.appendChild(o),"script"),l&&_e(s),n)for(c=0;o=s[c++];)ke.test(o.type||"")&&n.push(o);return u}var Se=/^([^.]*)(?:\.(.+)|)/;function n(){return!0}function f(){return!1}function De(e,t){return e===function(){try{return C.activeElement}catch(e){}}()==("focus"===t)}function $e(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)$e(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=f;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return k().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=k.guid++)),e.each(function(){k.event.add(this,t,r,i,n)})}function Ie(e,r,o){o?(w.set(e,r,!1),k.event.add(e,r,{namespace:!1,handler:function(e){var t,n,i=w.get(this,r);if(1&e.isTrigger&&this[r]){if(i.length)(k.event.special[r]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),w.set(this,r,i),t=o(this,r),this[r](),i!==(n=w.get(this,r))||t?w.set(this,r,!1):n={},i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else i.length&&(w.set(this,r,{value:k.event.trigger(k.extend(i[0],k.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===w.get(e,r)&&k.event.add(e,r,n)}k.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,c,u,d,h,f,p=w.get(t);if(v(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&k.find.matchesSelector(E,r),n.guid||(n.guid=k.guid++),a=(a=p.events)||(p.events=Object.create(null)),s=(s=p.handle)||(p.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(_)||[""]).length;l--;)d=f=(h=Se.exec(e[l])||[])[1],h=(h[2]||"").split(".").sort(),d&&(c=k.event.special[d]||{},d=(r?c.delegateType:c.bindType)||d,c=k.event.special[d]||{},f=k.extend({type:d,origType:f,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&k.expr.match.needsContext.test(r),namespace:h.join(".")},o),(u=a[d])||((u=a[d]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,i,h,s))||t.addEventListener&&t.addEventListener(d,s),c.add&&(c.add.call(t,f),f.handler.guid||(f.handler.guid=n.guid)),r?u.splice(u.delegateCount++,0,f):u.push(f),k.event.global[d]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,c,u,d,h,f,p,m,g=w.hasData(e)&&w.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(_)||[""]).length;c--;)if(f=m=(a=Se.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(d=k.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!r&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));s&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||k.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)k.event.remove(e,f+t[c],n,i,!0);k.isEmptyObject(l)&&w.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s=new Array(arguments.length),a=k.event.fix(e),e=(w.get(this,"events")||Object.create(null))[a.type]||[],l=k.event.special[a.type]||{};for(s[0]=a,t=1;t<arguments.length;t++)s[t]=arguments[t];if(a.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,a)){for(o=k.event.handlers.call(this,a,e),t=0;(i=o[t++])&&!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(r=i.handlers[n++])&&!a.isImmediatePropagationStopped();
vendor: 3,274 bytes, line 1
1)a.rnamespace&&!1!==r.namespace&&!a.rnamespace.test(r.namespace)||(a.handleObj=r,a.data=r.data,void 0!==(r=((k.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s))&&!1===(a.result=r)&&(a.preventDefault(),a.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,r,o,s,a=[],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(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?-1<k(r,this).index(c):k.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:b(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){return xe.test((e=this||e).type)&&e.click&&l(e,"input")&&Ie(e,"click",n),!1},trigger:function(e){return xe.test((e=this||e).type)&&e.click&&l(e,"input")&&Ie(e,"click"),!0},_default:function(e){return e=e.target,xe.test(e.type)&&e.click&&l(e,"input")&&w.get(e,"click")||l(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?n:f,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&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=n,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=n,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=n,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(e,t){k.event.special[e]={setup:function(){return Ie(this,e,De),!1},trigger:function(){return Ie(this,e),!0},_default:function(){return!0},delegateType:t}}
vendor: 4,916 bytes, line 1
1),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){k.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||k.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=r),t}}}),k.fn.extend({on:function(e,t,n,i){return $e(this,e,t,n,i)},one:function(e,t,n,i){return $e(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)i=e.handleObj,k(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=f),this.each(function(){k.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r])}return this}});var Ae=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,Oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ne(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,i,r,o;if(1===t.nodeType){if(w.hasData(e)&&(o=w.get(e).events))for(r in w.remove(t,"handle events"),o)for(n=0,i=o[r].length;n<i;n++)k.event.add(t,r,o[r][n]);c.hasData(e)&&(e=c.access(e),e=k.extend({},e),c.set(t,e))}}function I(n,i,r,o){i=j(i);var e,t,s,a,l,c,u=0,d=n.length,h=d-1,f=i[0],p=b(f);if(p||1<d&&"string"==typeof f&&!g.checkClone&&Le.test(f))return n.each(function(e){var t=n.eq(e);p&&(i[0]=f.call(this,e,t.html())),I(t,i,r,o)});if(d&&(t=(e=Te(i,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(s=k.map($(e,"script"),Me)).length;u<d;u++)l=e,u!==h&&(l=k.clone(l,!0,!0),a)&&k.merge(s,$(l,"script")),r.call(n[u],l,u);if(a)for(c=s[s.length-1].ownerDocument,k.map(s,Pe),u=0;u<a;u++)l=s[u],ke.test(l.type||"")&&!w.access(l,"globalEval")&&k.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?k._evalUrl&&!l.noModule&&k._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):V(l.textContent.replace(Oe,""),l,c))}return n}function je(e,t,n){for(var i,r=t?k.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||k.cleanData($(i)),i.parentNode&&(n&&T(i)&&_e($(i,"script")),i.parentNode.removeChild(i));return e}function He(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:x).getComputedStyle(e)}function Re(e,t,n){var i,r={};for(i in t)r[i]=e.style[i],e.style[i]=t[i];for(i in n=n.call(e),t)e.style[i]=r[i];return n}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,s,a,l,c,u=e.cloneNode(!0),d=T(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(s=$(u),i=0,r=(o=$(e)).length;i<r;i++)a=o[i],"input"===(c=(l=s[i]).nodeName.toLowerCase())&&xe.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(n)for(o=o||$(e),s=s||$(u),i=0,r=o.length;i<r;i++)Fe(o[i],s[i]);else Fe(e,u);return 0<(s=$(u,"script")).length&&_e(s,!d&&$(e,"script")),u},cleanData:function(e){for(var t,n,i,r=k.event.special,o=0;void 0!==(n=e[o]);o++)if(v(n)){if(t=n[w.expando]){if(t.events)for(i in t.events)r[i]?k.event.remove(n,i):k.removeEvent(n,i,t.handle);n[w.expando]=void 0}n[c.expando]&&(n[c.expando]=void 0)}}}),k.fn.extend({detach:function(e){return je(this,e,!0)},remove:function(e){return je(this,e)},text:function(e){return d(this,function(e){return void 0===e?k.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 I(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)})},prepend:function(){return I(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Ne(this,e)).insertBefore(e,t.firstChild)})},before:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return I(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&&(k.cleanData($(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return k.clone(this,e,t)})},html:function(e){return d(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&&!Ae.test(e)&&!D[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData($(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return I(this,arguments,function(e){var t=this.parentNode;
vendor: 4,718 bytes, line 1
1k.inArray(this,n)<0&&(k.cleanData($(this)),t)&&t.replaceChild(e,this)},n)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){k.fn[e]=function(e){for(var t,n=[],i=k(e),r=i.length-1,o=0;o<=r;o++)t=o===r?this:this.clone(!0),k(i[o])[s](t),H.apply(n,t.get());return this.pushStack(n)}});var qe,Be,We,ze,Ue,Ye,Ve,r,Ge=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Ke=new RegExp(h.join("|"),"i");function Qe(){var e;r&&(Ve.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",r.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",E.appendChild(Ve).appendChild(r),e=x.getComputedStyle(r),qe="1%"!==e.top,Ye=12===Xe(e.marginLeft),r.style.right="60%",ze=36===Xe(e.right),Be=36===Xe(e.width),r.style.position="absolute",We=12===Xe(r.offsetWidth/3),E.removeChild(Ve),r=null)}function Xe(e){return Math.round(parseFloat(e))}function Je(e,t,n){var i,r,o=e.style;return(n=n||He(e))&&(""!==(r=n.getPropertyValue(t)||n[t])||T(e)||(r=k.style(e,t)),!g.pixelBoxStyles())&&Ge.test(r)&&Ke.test(t)&&(e=o.width,t=o.minWidth,i=o.maxWidth,o.minWidth=o.maxWidth=o.width=r,r=n.width,o.width=e,o.minWidth=t,o.maxWidth=i),void 0!==r?r+"":r}function Ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}Ve=C.createElement("div"),(r=C.createElement("div")).style&&(r.style.backgroundClip="content-box",r.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===r.style.backgroundClip,k.extend(g,{boxSizingReliable:function(){return Qe(),Be},pixelBoxStyles:function(){return Qe(),ze},pixelPosition:function(){return Qe(),qe},reliableMarginLeft:function(){return Qe(),Ye},scrollboxSize:function(){return Qe(),We},reliableTrDimensions:function(){var e,t,n;return null==Ue&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",E.appendChild(e).appendChild(t).appendChild(n),n=x.getComputedStyle(t),Ue=parseInt(n.height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===t.offsetHeight,E.removeChild(e)),Ue}}));var et=["Webkit","Moz","ms"],tt=C.createElement("div").style,nt={};function it(e){return k.cssProps[e]||nt[e]||(e in tt?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=et.length;n--;)if((e=et[n]+t)in tt)return e}(e)||e)}var rt=/^(none|table(?!-c[ea]).+)/,ot=/^--/,st={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var i=ve.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ct(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=k.css(e,n+h[s],!0,r)),i?("content"===n&&(l-=k.css(e,"padding"+h[s],!0,r)),"margin"!==n&&(l-=k.css(e,"border"+h[s]+"Width",!0,r))):(l+=k.css(e,"padding"+h[s],!0,r),"padding"!==n?l+=k.css(e,"border"+h[s]+"Width",!0,r):a+=k.css(e,"border"+h[s]+"Width",!0,r));return!i&&0<=o&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function ut(e,t,n){var i=He(e),r=(!g.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,i),o=r,s=Je(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ge.test(s)){if(!n)return s;s="auto"}return(!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&l(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===k.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===k.css(e,"boxSizing",!1,i),o=a in e)&&(s=e[a]),(s=parseFloat(s)||0)+ct(e,t,n||(r?"border":"content"),o,i,s)+"px"}function o(e,t,n,i,r){return new o.prototype.init(e,t,n,i,r)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=Je(e,"opacity"))?"1":t}}},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 r,o,s,a=y(t),l=ot.test(t),c=e.style;if(l||(t=it(a)),s=k.cssHooks[t]||k.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:c[t];"string"==(o=typeof n)&&(r=ve.exec(n))&&r[1]&&(n=ye(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(k.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i)
vendor: 7,695 bytes, line 1
1)||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,o=y(t);return ot.test(t)||(t=it(o)),"normal"===(r=void 0===(r=(o=k.cssHooks[t]||k.cssHooks[o])&&"get"in o?o.get(e,!0,n):r)?Je(e,t,i):r)&&t in at&&(r=at[t]),(""===n||n)&&(o=parseFloat(r),!0===n||isFinite(o))?o||0:r}}),k.each(["height","width"],function(e,s){k.cssHooks[s]={get:function(e,t,n){if(t)return!rt.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,s,n):Re(e,st,function(){return ut(e,s,n)})},set:function(e,t,n){var i=He(e),r=!g.scrollboxSize()&&"absolute"===i.position,o=(r||n)&&"border-box"===k.css(e,"boxSizing",!1,i),n=n?ct(e,s,n,o,i):0;return o&&r&&(n-=Math.ceil(e["offset"+s[0].toUpperCase()+s.slice(1)]-parseFloat(i[s])-ct(e,s,"border",!1,i)-.5)),n&&(o=ve.exec(t))&&"px"!==(o[3]||"px")&&(e.style[s]=t,t=k.css(e,s)),lt(0,t,n)}}}),k.cssHooks.marginLeft=Ze(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Je(e,"marginLeft"))||e.getBoundingClientRect().left-Re(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(r,o){k.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+h[t]+o]=i[t]||i[t-2]||i[0];return n}},"margin"!==r&&(k.cssHooks[r+o].set=lt)}),k.fn.extend({css:function(e,t){return d(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=He(e),r=t.length;s<r;s++)o[t[s]]=k.css(e,t[s],!1,i);return o}return void 0!==n?k.style(e,t,n):k.css(e,t)},e,t,1<arguments.length)}}),((k.Tween=o).prototype={constructor:o,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(k.cssNumber[n]?"":"px")},cur:function(){var e=o.propHooks[this.prop];return(e&&e.get?e:o.propHooks._default).get(this)},run:function(e){var t,n=o.propHooks[this.prop];return this.options.duration?this.pos=t=k.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:o.propHooks._default).set(this),this}}).init.prototype=o.prototype,(o.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=k.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=o.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=o.prototype.init,k.fx.step={};var A,dt,s,L,ht=/^(?:toggle|show|hide)$/,ft=/queueHooks$/;function pt(){dt&&(!1===C.hidden&&x.requestAnimationFrame?x.requestAnimationFrame(pt):x.setTimeout(pt,k.fx.interval),k.fx.tick())}function mt(){return x.setTimeout(function(){A=void 0}),A=Date.now()}function gt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=h[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function vt(e,t,n){for(var i,r=(O.tweeners[t]||[]).concat(O.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function O(r,e,t){var n,o,i,s,a,l,c,u=0,d=O.prefilters.length,h=k.Deferred().always(function(){delete f.elem}),f=function(){if(o)return!1;for(var e=A||mt(),t=1-((e=Math.max(0,p.startTime+p.duration-e))/p.duration||0),n=0,i=p.tweens.length;n<i;n++)p.tweens[n].run(t);return h.notifyWith(r,[p,t,e]),t<1&&i?e:(i||h.notifyWith(r,[p,1,0]),h.resolveWith(r,[p]),!1)},p=h.promise({elem:r,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},t),originalProperties:e,originalOptions:t,startTime:A||mt(),duration:t.duration,tweens:[],createTween:function(e,t){return t=k.Tween(r,p.opts,e,t,p.opts.specialEasing[e]||p.opts.easing),p.tweens.push(t),t},stop:function(e){var t=0,n=e?p.tweens.length:0;if(!o){for(o=!0;t<n;t++)p.tweens[t].run(1);e?(h.notifyWith(r,[p,1,0]),h.resolveWith(r,[p,e])):h.rejectWith(r,[p,e])}return this}}),m=p.props,g=m,v=p.opts.specialEasing;for(i in g)if(a=v[s=y(i)],l=g[i],Array.isArray(l)&&(a=l[1],l=g[i]=l[0]),i!==s&&(g[s]=l,delete g[i]),(c=k.cssHooks[s])&&"expand"in c)for(i in l=c.expand(l),delete g[s],l)i in g||(g[i]=l[i],v[i]=a);else v[s]=a;for(;u<d;u++)if(n=O.prefilters[u].call(p,r,m,p.opts))return b(n.stop)&&(k._queueHooks(p.elem,p.opts.queue).stop=n.stop.bind(n)),n;return k.map(m,vt,p),b(p.opts.start)&&p.opts.start.call(r,p),p.progress(p.opts.progress).done(p.opts.done,p.opts.complete).fail(p.opts.fail).always(p.opts.always),k.fx.timer(k.extend(f,{elem:r,anim:p,queue:p.opts.queue})),p}k.Animation=k.extend(O,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ye(n.elem,e,ve.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,r=(e=b(e)?(t=e,["*"]):e.match(_)).length;i<r;i++)n=e[i],O.tweeners[n]=O.tweeners[n]||[],O.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,o,s,a,l,c,u="width"in t||"height"in t,d=this,h={},f=e.style,p=e.nodeType&&ge(e),m=w.get(e,"fxshow");for(i in n.queue||(null==(s=k._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,k.queue(e,"fx").length||s.empty.fire()})})),t)if(r=t[i],ht.test(r)){if(delete t[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;p=!0}h[i]=m&&m[i]||k.style(e,i)}if((l=!k.isEmptyObject(t))||!k.isEmptyObject(h))for(i in u&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=m&&m.display)&&(c=w.get(e,"display")),"none"===(u=k.css(e,"display"))&&(c?u=c:(S([e],!0),c=e.style.display||c,u=k.css(e,"display"),S([e]))),"inline"===u||"inline-block"===u&&null!=c)&&"none"===k.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,h)l||(m?"hidden"in m&&(p=m.hidden):m=w.access(e,"fxshow",{display:c}),o&&(m.hidden=!p),p&&S([e],!0),d.done(function(){for(i in p||S([e]),w.remove(e,"fxshow"),h)k.style(e,i,h[i])})),l=vt(p?m[i]:0,i,d),i in m||(m[i]=l.start,p&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?O.prefilters.unshift(e):O.prefilters.push(e)}}),k.speed=function(e,t,n){var i=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||b(e)&&e,duration:e,easing:n&&t||t&&!b(t)&&t};return k.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in k.fx.speeds?i.duration=k.fx.speeds[i.duration]:i.duration=k.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){b(i.old)&&i.old.call(this),i.queue&&k.dequeue(this,i.queue)},i},k.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ge).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){function r(){var e=O(this,k.extend({},t),s);(o||w.get(this,"finish"))&&e.stop(!0)}var o=k.isEmptyObject(t),s=k.speed(e,n,i);return r.finish=r,o||!1===s.queue?this.each(r):this.queue(s.queue,r)},stop:function(r,e,o){function s(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof r&&(o=e,e=r,r=void 0),e&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",n=k.timers,i=w.get(this);if(t)i[t]&&i[t].stop&&s(i[t]);else for(t in i)i[t]&&i[t].stop&&ft.test(t)&&s(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=r&&n[t].queue!==r||(n[t].anim.stop(o),e=!1,n.splice(t,1)
vendor: 4,452 bytes, line 1
1);!e&&o||k.dequeue(this,r)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=w.get(this),n=t[s+"queue"],i=t[s+"queueHooks"],r=k.timers,o=n?n.length:0;for(t.finish=!0,k.queue(this,s,[]),i&&i.stop&&i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===s&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),k.each(["toggle","show","hide"],function(e,i){var r=k.fn[i];k.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(gt(i,!0),e,t,n)}}),k.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){k.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(A=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),A=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){dt||(dt=!0,pt())},k.fx.stop=function(){dt=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(i,e){return i=k.fx&&k.fx.speeds[i]||i,this.queue(e=e||"fx",function(e,t){var n=x.setTimeout(e,i);t.stop=function(){x.clearTimeout(n)}})},s=C.createElement("input"),L=C.createElement("select").appendChild(C.createElement("option")),s.type="checkbox",g.checkOn=""!==s.value,g.optSelected=L.selected,(s=C.createElement("input")).value="t",s.type="radio",g.radioValue="t"===s.value;var bt,yt=k.expr.attrHandle,wt=(k.fn.extend({attr:function(e,t){return d(this,k.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})}}),k.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?k.prop(e,t,n):(1===o&&k.isXMLDoc(e)||(r=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?bt:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))||null!=(i=k.find.attr(e,t))?i:void 0)},attrHooks:{type:{set:function(e,t){var n;if(!g.radioValue&&"radio"===t&&l(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(_);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),bt={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(e,t){var s=yt[t]||k.find.attr;yt[t]=function(e,t,n){var i,r,o=t.toLowerCase();return n||(r=yt[o],yt[o]=i,i=null!=s(e,t,n)?o:null,yt[o]=r),i}}),/^(?:input|select|textarea|button)$/i),xt=/^(?:a|area)$/i;function N(e){return(e.match(_)||[]).join(" ")}function M(e){return e.getAttribute&&e.getAttribute("class")||""}function Ct(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(_)||[]}function kt(e){e.stopPropagation()}k.fn.extend({prop:function(e,t){return d(this,k.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[k.propFix[e]||e]})}}),k.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(e)||(t=k.propFix[t]||t,r=k.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(k.propHooks.selected={get:function(e){return(e=e.parentNode)&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){(e=e.parentNode)&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(t){var e,n,i,r,o,s,a=0;if(b(t))return this.each(function(e){k(this).addClass(t.call(this,e,M(this)))});if((e=Ct(t)).length)for(;n=this[a++];)if(s=M(n),i=1===n.nodeType&&" "+N(s)+" "){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s!==(s=N(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,s,a=0;if(b(t))return this.each(function(e){k(this).removeClass(t.call(this,e,M(this)))});if(!arguments.length)return this.attr("class","");
vendor: 9,693 bytes, line 1
1if((e=Ct(t)).length)for(;n=this[a++];)if(s=M(n),i=1===n.nodeType&&" "+N(s)+" "){for(o=0;r=e[o++];)for(;-1<i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");s!==(s=N(i))&&n.setAttribute("class",s)}return this},toggleClass:function(r,t){var o=typeof r,s="string"==o||Array.isArray(r);return"boolean"==typeof t&&s?t?this.addClass(r):this.removeClass(r):b(r)?this.each(function(e){k(this).toggleClass(r.call(this,e,M(this),t),t)}):this.each(function(){var e,t,n,i;if(s)for(t=0,n=k(this),i=Ct(r);e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==r&&"boolean"!=o||((e=M(this))&&w.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==r&&w.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,i=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+N(M(t))+" ").indexOf(i))return!0;return!1}});var _t=/\r/g,Et=(k.fn.extend({val:function(t){var n,e,i,r=this[0];return arguments.length?(i=b(t),this.each(function(e){1===this.nodeType&&(null==(e=i?t.call(this,e,k(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=k.map(e,function(e){return null==e?"":e+""})),(n=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):r?(n=k.valHooks[r.type]||k.valHooks[r.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(r,"value"))?e:"string"==typeof(e=r.value)?e.replace(_t,""):null==e?"":e:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:N(k.text(e))}},select:{get:function(e){for(var t,n=e.options,i=e.selectedIndex,r="select-one"===e.type,o=r?null:[],s=r?i+1:n.length,a=i<0?s:r?i:0;a<s;a++)if(((t=n[a]).selected||a===i)&&!t.disabled&&(!t.parentNode.disabled||!l(t.parentNode,"optgroup"))){if(t=k(t).val(),r)return t;o.push(t)}return o},set:function(e,t){for(var n,i,r=e.options,o=k.makeArray(t),s=r.length;s--;)((i=r[s]).selected=-1<k.inArray(k.valHooks.option.get(i),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<k.inArray(k(e).val(),t)}},g.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),g.focusin="onfocusin"in x,/^(?:focusinfocus|focusoutblur)$/),Tt=(k.extend(k.event,{trigger:function(e,t,n,i){var r,o,s,a,l,c,u,d=[n||C],h=W.call(e,"type")?e.type:e,f=W.call(e,"namespace")?e.namespace.split("."):[],p=u=o=n=n||C;if(3!==n.nodeType&&8!==n.nodeType&&!Et.test(h+k.event.triggered)&&(-1<h.indexOf(".")&&(h=(f=h.split(".")).shift(),f.sort()),a=h.indexOf(":")<0&&"on"+h,(e=e[k.expando]?e:new k.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),c=k.event.special[h]||{},i||!c.trigger||!1!==c.trigger.apply(n,t))){if(!i&&!c.noBubble&&!m(n)){for(s=c.delegateType||h,Et.test(s+h)||(p=p.parentNode);p;p=p.parentNode)d.push(p),o=p;o===(n.ownerDocument||C)&&d.push(o.defaultView||o.parentWindow||x)}for(r=0;(p=d[r++])&&!e.isPropagationStopped();)u=p,e.type=1<r?s:c.bindType||h,(l=(w.get(p,"events")||Object.create(null))[e.type]&&w.get(p,"handle"))&&l.apply(p,t),(l=a&&p[a])&&l.apply&&v(p)&&(e.result=l.apply(p,t),!1===e.result)&&e.preventDefault();return e.type=h,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!v(n)||a&&b(n[h])&&!m(n)&&((o=n[a])&&(n[a]=null),k.event.triggered=h,e.isPropagationStopped()&&u.addEventListener(h,kt),n[h](),e.isPropagationStopped()&&u.removeEventListener(h,kt),k.event.triggered=void 0,o)&&(n[a]=o),e.result}},simulate:function(e,t,n){n=k.extend(new k.Event,n,{type:e,isSimulated:!0}),k.event.trigger(n,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),g.focusin||k.each({focus:"focusin",blur:"focusout"},function(n,i){function r(e){k.event.simulate(i,e.target,k.event.fix(e))}k.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=w.access(e,i);t||e.addEventListener(n,r,!0),w.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=w.access(e,i)-1;t?w.access(e,i,t):(e.removeEventListener(n,r,!0),w.remove(e,i))}}}),x.location),St={guid:Date.now()},Dt=/\?/,$t=(k.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new x.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t},/\[\]$/),It=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i,Ot=(k.param=function(e,t){function n(e,t){t=b(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var i,r=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,function(){n(this.name,this.value)});else for(i in e)!function n(i,e,r,o){if(Array.isArray(e))k.each(e,function(e,t){r||$t.test(i)?o(i,t):n(i+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,o)});else if(r||"object"!==p(e))o(i,e);else for(var t in e)n(i+"["+t+"]",e[t],r,o)}(i,e[i],t,n);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Lt.test(this.nodeName)&&!At.test(e)&&(this.checked||!xe.test(e))}).map(function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,function(e){return{name:t.name,value:e.replace(It,"\r\n")}}):{name:t.name,value:n.replace(It,"\r\n")}}).get()}}),/%20/g),Nt=/#.*$/,Mt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,jt=/^\/\//,Ht={},Rt={},qt="*/".concat("*"),Bt=C.createElement("a");function Wt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,r=e.toLowerCase().match(_)||[];if(b(t))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function zt(t,i,r,o){var s={},a=t===Rt;function l(e){var n;return s[e]=!0,k.each(t[e]||[],function(e,t){return"string"!=typeof(t=t(i,r,o))||a||s[t]?a?!(n=t):void 0:(i.dataTypes.unshift(t),l(t),!1)}),n}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Ut(e,t){var n,i,r=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i=i||{})[n]=t[n]);return i&&k.extend(!0,e,i),e}Bt.href=Tt.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,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":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,k.ajaxSettings),t):Ut(k.ajaxSettings,e)},ajaxPrefilter:Wt(Ht),ajaxTransport:Wt(Rt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,u,n,d,h,f,i,p=k.ajaxSetup({},t=t||{}),m=p.context||p,g=p.context&&(m.nodeType||m.jquery)?k(m):k.event,v=k.Deferred(),b=k.Callbacks("once memory"),y=p.statusCode||{},r={},o={},s="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n)for(n={};t=Pt.exec(u);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?u:null},setRequestHeader:function(e,t){return null==h&&(e=o[e.toLowerCase()]=o[e.toLowerCase()]||e,r[e]=t),this},overrideMimeType:function(e){return null==h&&(p.mimeType=e),this},statusCode:function(e){if(e)if(h)w.always(e[w.status]);else for(var t in e)y[t]=[y[t],e[t]];return this},abort:function(e){return e=e||s,l&&l.abort(e),a(0,e),this}};if(v.promise(w),p.url=((e||p.url||Tt.href)+"").replace(jt,Tt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(_)||[""],null==p.crossDomain){e=C.createElement("a");try{e.href=p.url,e.href=e.href,p.crossDomain=Bt.protocol+"//"+Bt.host!=e.protocol+"//"+e.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=k.param(p.data,p.traditional)),zt(Ht,p,t,w),!h){for(i in(f=k.event&&p.global)&&0==k.active++&&k.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ft.test(p.type),c=p.url.replace(Nt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ot,"+")):(e=p.url.slice(c.length),p.data&&(p.processData||"string"==typeof p.data)&&(c+=(Dt.test(c)?"&":"?")+p.data,delete p.data),!1===p.cache&&(c=c.replace(Mt,"$1"),e=(Dt.test(c)?"&":"?")+"_="+St.guid+++e),p.url=c+e),p.ifModified&&(k.lastModified[c]&&w.setRequestHeader("If-Modified-Since",k.lastModified[c]),k.etag[c])&&w.setRequestHeader("If-None-Match",k.etag[c]),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+qt+"; q=0.01":""):p.accepts["*"]),p.headers)w.setRequestHeader(i,p.headers[i]);
vendor: 10,940 bytes, line 1
1if(p.beforeSend&&(!1===p.beforeSend.call(m,w,p)||h))return w.abort();if(s="abort",b.add(p.complete),w.done(p.success),w.fail(p.error),l=zt(Rt,p,t,w)){if(w.readyState=1,f&&g.trigger("ajaxSend",[w,p]),h)return w;p.async&&0<p.timeout&&(d=x.setTimeout(function(){w.abort("timeout")},p.timeout));try{h=!1,l.send(r,a)}catch(e){if(h)throw e;a(-1,e)}}else a(-1,"No Transport")}return w;function a(e,t,n,i){var r,o,s,a=t;h||(h=!0,d&&x.clearTimeout(d),l=void 0,u=i||"",w.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s=s||r}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,w,n)),!i&&-1<k.inArray("script",p.dataTypes)&&k.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),s=function(e,t,n,i){var r,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(r in c)if((a=r.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,s,w,i),i?(p.ifModified&&((n=w.getResponseHeader("Last-Modified"))&&(k.lastModified[c]=n),n=w.getResponseHeader("etag"))&&(k.etag[c]=n),204===e||"HEAD"===p.type?a="nocontent":304===e?a="notmodified":(a=s.state,r=s.data,i=!(o=s.error))):(o=a,!e&&a||(a="error",e<0&&(e=0))),w.status=e,w.statusText=(t||a)+"",i?v.resolveWith(m,[r,a,w]):v.rejectWith(m,[w,a,o]),w.statusCode(y),y=void 0,f&&g.trigger(i?"ajaxSuccess":"ajaxError",[w,p,i?r:o]),b.fireWith(m,[w,a]),f&&(g.trigger("ajaxComplete",[w,p]),--k.active||k.event.trigger("ajaxStop")))}},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],function(e,r){k[r]=function(e,t,n,i){return b(t)&&(i=i||n,n=t,t=void 0),k.ajax(k.extend({url:e,type:r,dataType:i,data:t,success:n},k.isPlainObject(e)&&e))}}),k.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){return this[0]&&(b(e)&&(e=e.call(this[0])),e=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return b(n)?this.each(function(e){k(this).wrapInner(n.call(this,e))}):this.each(function(){var e=k(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=b(t);return this.each(function(e){k(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new x.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Vt=k.ajaxSettings.xhr(),Gt=(g.cors=!!Vt&&"withCredentials"in Vt,g.ajax=Vt=!!Vt,k.ajaxTransport(function(r){var o,s;if(g.cors||Vt&&!r.crossDomain)return{send:function(e,t){var n,i=r.xhr();if(i.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(n in r.xhrFields)i[n]=r.xhrFields[n];for(n in r.mimeType&&i.overrideMimeType&&i.overrideMimeType(r.mimeType),r.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=s=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(Yt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=o(),s=i.onerror=i.ontimeout=o("error"),void 0!==i.onabort?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&x.setTimeout(function(){o&&s()})},o=o("abort");try{i.send(r.hasContent&&r.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),k.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),k.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 k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),k.ajaxTransport("script",function(n){var i,r;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=k("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(e){i.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(i[0])},abort:function(){r&&r()}}}),[]),Kt=/(=)\?(?=&|$)|\?\?/,Qt=(k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+St.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,s=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Kt,"$1"+i):!1!==e.jsonp&&(e.url+=(Dt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||k.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=x[i],x[i]=function(){o=arguments},n.always(function(){void 0===r?k(x).removeProp(i):x[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(i)),o&&b(r)&&r(o[0]),o=r=void 0}),"script"}),g.createHTMLDocument=((e=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===e.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((i=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(i)):t=C),i=!n&&[],(n=X.exec(e))?[t.createElement(n[1])]:(n=Te([e],t,i),i&&i.length&&k(i).remove(),k.merge([],n.childNodes)));var i},k.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return-1<a&&(i=N(e.slice(a)),e=e.slice(0,a)),b(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),0<s.length&&k.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?k("<div>").append(k.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var i,r,o,s,a=k.css(e,"position"),l=k(e),c={};"static"===a&&(e.style.position="relative"),o=l.offset(),i=k.css(e,"top"),s=k.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(i+s).indexOf("auto")?(r=(a=l.position()).top,a.left):(r=parseFloat(i)||0,parseFloat(s)||0),null!=(t=b(t)?t.call(e,n,k.extend({},o)):t).top&&(c.top=t.top-o.top+r),null!=t.left&&(c.left=t.left-o.left+a),"using"in t?t.using.call(e,c):l.css(c)}},k.fn.extend({offset:function(t){var e,n;return arguments.length?void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)}):(n=this[0])?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===k.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"===k.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),r.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-k.css(i,"marginTop",!0),left:t.left-r.left-k.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||E})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o="pageYOffset"===r;k.fn[t]=function(e){return d(this,function(e,t,n){var i;if(m(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===n)return i?i[r]:e[t];i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=Ze(g.pixelPosition,function(e,t){if(t)return t=Je(e,n),Ge.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(s,a){k.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,o){k.fn[o]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return d(this,function(e,t,n){var i;return m(e)?0===o.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+s],i["scroll"+s],e.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?k.css(e,t,r):k.style(e,t,n,r)},a,n?e:void 0,n)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.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)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g),Xt=(k.proxy=function(e,t){var n,i;if("string"==typeof t&&(i=e[t],t=e,e=i),b(e))return n=a.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(a.call(arguments)))}).guid=e.guid=e.guid||k.guid++,i},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=l,k.isFunction=b,k.isWindow=m,k.camel
1Case=y,k.type=p,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(Qt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return k}),x.jQuery),Jt=x.$;return k.noConflict=function(e){return x.$===k&&(x.$=Jt),e&&x.jQuery===k&&(x.jQuery=Xt),k},void 0===P&&(x.jQuery=x.$=k),k}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,P=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0}(),F=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},P))}};function r(e){return e&&"[object Function]"==={}.toString.call(e)}function d(e,t){return 1!==e.nodeType?[]:(e=e.ownerDocument.defaultView.getComputedStyle(e,null),t?e[t]:e)}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=(i=d(e)).overflow,n=i.overflowX,i=i.overflowY;return/(auto|scroll|overlay)/.test(t+i+n)?e:u(l(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var t=n&&!(!window.MSInputMethodContext||!document.documentMode),j=n&&/MSIE 10/.test(navigator.userAgent);function h(e){return 11===e?t:10!==e&&t||j}function g(e){if(!e)return document.documentElement;for(var t=h(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===d(n,"position")?g(n):n:(e?e.ownerDocument:document).documentElement}function o(e){return null!==e.parentNode?o(e.parentNode):e}function f(e,t){var n,i,r;return e&&e.nodeType&&t&&t.nodeType?(n=(i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING)?e:t,i=i?t:e,(r=document.createRange()).setStart(n,0),r.setEnd(i,0),e!==(r=r.commonAncestorContainer)&&t!==r||n.contains(i)?"BODY"===(i=(n=r).nodeName)||"HTML"!==i&&g(n.firstElementChild)!==n?g(r):r:(i=o(e)).host?f(i.host,t):f(e,o(t).host)):document.documentElement}function p(e,t){var t="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",n=e.nodeName;return("BODY"===n||"HTML"===n?(n=e.ownerDocument.documentElement,e.ownerDocument.scrollingElement||n):e)[t]}function s(e,t){var n="Left"==(t="x"===t?"Left":"Top")?"Right":"Bottom";return parseFloat(e["border"+t+"Width"])+parseFloat(e["border"+n+"Width"])}function i(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],h(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function m(e){var t=e.body,e=e.documentElement,n=h(10)&&getComputedStyle(e);return{height:i("Height",t,e,n),width:i("Width",t,e,n)}}var e=function(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e};function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};function y(e){return b({},e,{right:e.left+e.width,bottom:e.top+e.height})}function w(e){var t={};try{h(10)?(t=e.getBoundingClientRect(),n=p(e,"top"),i=p(e,"left"),t.top+=n,t.left+=i,t.bottom+=n,t.right+=i):t=e.getBoundingClientRect()}catch(e){}var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top}
1,t=(i="HTML"===e.nodeName?m(e.ownerDocument):{}).width||e.clientWidth||n.width,i=i.height||e.clientHeight||n.height,t=e.offsetWidth-t,i=e.offsetHeight-i;return(t||i)&&(t-=s(e=d(e),"x"),i-=s(e,"y"),n.width-=t,n.height-=i),y(n)}function x(e,t,n){var n=2<arguments.length&&void 0!==n&&n,i=h(10),r="HTML"===t.nodeName,o=w(e),s=w(t),e=u(e),a=d(t),l=parseFloat(a.borderTopWidth),c=parseFloat(a.borderLeftWidth);return n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0)),(s=y({top:o.top-s.top-l,left:o.left-s.left-c,width:o.width,height:o.height})).marginTop=0,s.marginLeft=0,!i&&r&&(o=parseFloat(a.marginTop),r=parseFloat(a.marginLeft),s.top-=l-o,s.bottom-=l-o,s.left-=c-r,s.right-=c-r,s.marginTop=o,s.marginLeft=r),(i&&!n?t.contains(e):t===e&&"BODY"!==e.nodeName)?function(e,t,n){var n=2<arguments.length&&!1,i=p(t,"top"),t=p(t,"left"),n=n?-1:1;return e.top+=i*n,e.bottom+=i*n,e.left+=t*n,e.right+=t*n,e}(s,t):s}function C(e){if(!e||!e.parentElement||h())return document.documentElement;for(var t=e.parentElement;t&&"none"===d(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(e,t,n,i,r){var o,r=4<arguments.length&&void 0!==r&&r,s={top:0,left:0},a=r?C(e):f(e,c(t)),a=("viewport"===i?s=function(e,t){var t=1<arguments.length&&void 0!==t&&t,n=e.ownerDocument.documentElement,e=x(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:p(n),t=t?0:p(n,"left");return y({top:o-e.top+e.marginTop,left:t-e.left+e.marginLeft,width:i,height:r})}(a,r):(o=void 0,"scrollParent"===i?"BODY"===(o=u(l(t))).nodeName&&(o=e.ownerDocument.documentElement):o="window"===i?e.ownerDocument.documentElement:i,t=x(o,a,r),"HTML"!==o.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===d(t,"position")||!!(n=l(t))&&e(n))}(a)?s=t:(r=(i=m(e.ownerDocument)).height,o=i.width,s.top+=t.top-t.marginTop,s.bottom=r+t.top,s.left+=t.left-t.marginLeft,s.right=o+t.left)),"number"==typeof(n=n||0));return s.left+=a?n:n.left||0,s.top+=a?n:n.top||0,s.right-=a?n:n.right||0,s.bottom-=a?n:n.bottom||0,s}function _(e,t,n,i,r,o){var s;return o=5<arguments.length&&void 0!==o?o:0,-1===e.indexOf("auto")?e:(i=k(n,i,o,r),s={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},(t=(0<(r=(o=Object.keys(s).map(function(e){return b({key:e},s[e],{area:(e=s[e]).width*e.height})}).sort(function(e,t){return t.area-e.area})).filter(function(e){var t=e.width,e=e.height;return t>=n.clientWidth&&e>=n.clientHeight})).length?r:o)[0].key)+((i=e.split("-")[1])?"-"+i:""))}function E(e,t,n,i){return x(n,(i=3<arguments.length&&void 0!==i?i:null)?C(t):f(t,c(n)),i)}function T(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),t=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+t,height:e.offsetHeight+n}}function S(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function D(e,t,n){n=n.split("-")[0];var i={width:(e=T(e)).width,height:e.height},r=(a=-1!==["right","left"].indexOf(n))?"top":"left",o=a?"left":"top",s=a?"height":"width",a=a?"width":"height";return i[r]=t[r]+t[s]/2-e[s]/2,i[o]=n===o?t[o]-e[a]:t[S(o)],i}function $(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function I(e,n,t){return(void 0===t?e:e.slice(0,(e=e,i=t,Array.prototype.findIndex?e.findIndex(function(e){return e.name===i}):(t=$(e,function(e){return e.name===i}),e.indexOf(t))))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&r(t)&&(n.offsets.popper=y(n.offsets.popper),n.offsets.reference=y(n.offsets.reference),n=t(n,e))}),n;var i}function H(e,n){return e.some(function(e){var t=e.name;return e.enabled&&t===n})}function A(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=(r=t[i])?""+r+n:e;if(void 0!==document.body.style[r])return r}return null}function R(e){return(e=e.ownerDocument)?e.defaultView:window}function L(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}
1function O(n,i){Object.keys(i).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&L(i[e])&&(t="px"),n.style[e]=i[e]+t})}var q=n&&/Firefox/i.test(navigator.userAgent);function B(e,t,n){var i,r=$(e,function(e){return e.name===t});return(e=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order}))||(i="`"+t+"`",console.warn("`"+n+"` modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")),e}var W=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],N=W.slice(3);function z(e,t){return t=1<arguments.length&&void 0!==t&&t,e=N.indexOf(e),e=N.slice(e+1).concat(N.slice(0,e)),t?e.reverse():e}var U={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,n,i,r=e.placement,o=r.split("-")[0];return(r=r.split("-")[1])&&(t=(n=e.offsets).reference,n=n.popper,i=(o=-1!==["bottom","top"].indexOf(o))?"width":"height",o={start:v({},o=o?"left":"top",t[o]),end:v({},o,t[o]+t[i]-n[i])},e.offsets.popper=b({},n,o[r])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var a,l,r,i,t=t.offset,n=e.placement,o=(s=e.offsets).popper,s=s.reference,n=n.split("-")[0],c=L(+t)?[+t,0]:(t=t,a=o,l=s,r=[0,0],i=-1!==["right","left"].indexOf(s=n),t=(s=t.split(/(\+|\-)/).map(function(e){return e.trim()})).indexOf($(s,function(e){return-1!==e.search(/,|\s/)})),s[t]&&-1===s[t].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),c=/\s*,\s*|\s+/,(-1!==t?[s.slice(0,t).concat([s[t].split(c)[0]]),[s[t].split(c)[1]].concat(s.slice(t+1))]:[s]).map(function(e,t){var s=(1===t?!i:i)?"height":"width",n=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,n=!0,e):n?(e[e.length-1]+=t,n=!1,e):e.concat(t)},[]).map(function(e){return t=s,n=a,i=l,r=+(o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],o=o[2],r?0===o.indexOf("%")?y("%p"===o?n:i)[t]/100*r:"vh"===o||"vw"===o?("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r:r:e;var t,n,i,r,o})}).forEach(function(n,i){n.forEach(function(e,t){L(e)&&(r[i]+=e*("-"===n[t-1]?-1:1))})}),r);return"left"===n?(o.top+=c[0],o.left-=c[1]):"right"===n?(o.top+=c[0],o.left+=c[1]):"top"===n?(o.left+=c[0],o.top-=c[1]):"bottom"===n&&(o.left+=c[0],o.top+=c[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,i){var t=i.boundariesElement||g(e.instance.popper),n=(e.instance.reference===t&&(t=g(t)),A("transform")),r=e.instance.popper.style,o=r.top,s=r.left,a=r[n],l=(r.top="",r.left="",r[n]="",k(e.instance.popper,e.instance.reference,i.padding,t,e.positionFixed)),t=(r.top=o,r.left=s,r[n]=a,i.boundaries=l,i.priority),c=e.offsets.popper,u={primary:function(e){var t=c[e];return v({},e,t=c[e]<l[e]&&!i.escapeWithReference?Math.max(c[e],l[e]):t)},secondary:function(e){var t="right"===e?"left":"top",n=c[t];return v({},t,n=c[e]>l[e]&&!i.escapeWithReference?Math.min(c[t],l[e]-("right"===e?c.width:c.height)):n)}};return t.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=b({},c,u[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=(n=e.offsets).popper,n=n.reference,i=e.placement.split("-")[0],r=Math.floor,o=(i=-1!==["top","bottom"].indexOf(i))?"right":"bottom",s=i?"left":"top",i=i?"width":"height";return t[o]<r(n[s])&&(e.offsets.popper[s]=r(n[s])-t[i]),t[s]>r(n[o])&&(e.offsets.popper[s]=r(n[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"arrow","keepTogether")){if("string"==typeof(t=t.element)){if(!(t=e.instance.popper.querySelector(t)))return e}else if(!e.instance.popper.contains(t))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var n=e.placement.split("-")[0],i=(r=e.offsets).popper,r=r.reference,o=(n=-1!==["left","right"].indexOf(n))?"height":"width",s=(u=n?"Top":"Left").toLowerCase(),a=n?"left":"top",n=n?"bottom":"right",l=T(t)[o],n=(r[n]-l<i[s]&&(e.offsets.popper[s]-=i[s]-(r[n]-l)),r[s]+l>i[n]&&(e.offsets.popper[s]+=r[s]+l-i[n]),e.offsets.popper=y(e.offsets.popper),r[s]+r[o]/2-l/2),r=d(e.instance.popper),c=parseFloat(r["margin"+u]),r=parseFloat(r["border"+u+"Width"]),u=n-e.offsets.popper[s]-c-r,u=Math.max(Math.min(i[o]-l,u),0);e.arrowElement=t,e.offsets.arrow=(v(n={},s,Math.round(u)),v(n,a,""),n)}return e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(c,u){if(!(H(c.instance.modifiers,"inner")||c.flipped&&c.placement===c.originalPlacement)){var d=k(c.instance.popper,c.instance.reference,u.padding,u.boun
1dariesElement,c.positionFixed),h=c.placement.split("-")[0],f=S(h),p=c.placement.split("-")[1]||"",m=[];switch(u.behavior){case"flip":m=[h,f];break;case"clockwise":m=z(h);break;case"counterclockwise":m=z(h,!0);break;default:m=u.behavior}m.forEach(function(e,t){if(h!==e||m.length===t+1)return c;h=c.placement.split("-")[0],f=S(h);var e=c.offsets.popper,n=c.offsets.reference,i=Math.floor,n="left"===h&&i(e.right)>i(n.left)||"right"===h&&i(e.left)<i(n.right)||"top"===h&&i(e.bottom)>i(n.top)||"bottom"===h&&i(e.top)<i(n.bottom),r=i(e.left)<i(d.left),o=i(e.right)>i(d.right),s=i(e.top)<i(d.top),e=i(e.bottom)>i(d.bottom),i="left"===h&&r||"right"===h&&o||"top"===h&&s||"bottom"===h&&e,a=-1!==["top","bottom"].indexOf(h),l=!!u.flipVariations&&(a&&"start"===p&&r||a&&"end"===p&&o||!a&&"start"===p&&s||!a&&"end"===p&&e),o=!!u.flipVariationsByContent&&(a&&"start"===p&&o||a&&"end"===p&&r||!a&&"start"===p&&e||!a&&"end"===p&&s),r=l||o;(n||i||r)&&(c.flipped=!0,(n||i)&&(h=m[t+1]),r&&(p="end"===(e=p)?"start":"start"===e?"end":e),c.placement=h+(p?"-"+p:""),c.offsets.popper=b({},c.offsets.popper,D(c.instance.popper,c.offsets.reference,c.placement)),c=I(c.instance.modifiers,c,"flip"))})}return c},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=(r=e.offsets).popper,r=r.reference,o=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[o?"left":"top"]=r[n]-(s?i[o?"width":"height"]:0),e.placement=S(t),e.offsets.popper=y(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(B(e.instance.modifiers,"hide","preventOverflow")){var t=e.offsets.reference,n=$(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n,i,r,o,s=t.x,a=t.y,l=e.offsets.popper,c=(void 0!==(c=$(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration)&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),void 0!==c?c:t.gpuAcceleration),u=w(t=g(e.instance.popper)),l={position:l.position},d=(p=e,n=window.devicePixelRatio<2||!q,i=(h=p.offsets).popper,h=h.reference,d=Math.round,r=Math.floor,h=d(h.width),f=d(i.width),o=-1!==["left","right"].indexOf(p.placement),p=-1!==p.placement.indexOf("-"),o=n?o||p||h%2==f%2?d:r:m,r=n?d:m,{left:o(h%2==1&&f%2==1&&!p&&n?i.left-1:i.left),top:r(i.top),bottom:r(i.bottom),right:o(i.right)}),s="bottom"===s?"top":"bottom",a="right"===a?"left":"right",h=A("transform"),f="bottom"==s?"HTML"===t.nodeName?-t.clientHeight+d.bottom:-u.height+d.bottom:d.top,p="right"==a?"HTML"===t.nodeName?-t.clientWidth+d.right:-u.width+d.right:d.left,u=(c&&h?(l[h]="translate3d("+p+"px, "+f+"px, 0)",l[s]=0,l[a]=0,l.willChange="transform"):(t="right"==a?-1:1,l[s]=f*("bottom"==s?-1:1),l[a]=p*t,l.willChange=s+", "+a),{"x-placement":e.placement});function m(e){return e}return e.attributes=b({},u,e.attributes),e.styles=b({},l,e.styles),e.arrowStyles=b({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return O(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&O(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,r){return r=E(r,t,e,n.positionFixed),r=_(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding),t.setAttribute("x-placement",r),O(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}};function M(e,t){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(!(this instanceof M))throw new TypeError("Cannot call a class as a function");this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=F(this.update.bind(this)),this.options=b({},M.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(b({}
1,M.Defaults.modifiers,i.modifiers)).forEach(function(e){n.options.modifiers[e]=b({},M.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return b({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&r(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update(),(e=this.options.eventsEnabled)&&this.enableEventListeners(),this.state.eventsEnabled=e}return e(M,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=E(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=_(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=D(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=I(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[A("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){var e,t,n;this.state.eventsEnabled||(this.state=(e=this.reference,this.options,t=this.state,n=this.scheduleUpdate,t.updateBound=n,R(e).addEventListener("resize",t.updateBound,{passive:!0}),function e(t,n,i,r){var o="BODY"===t.nodeName;(t=o?t.ownerDocument.defaultView:t).addEventListener(n,i,{passive:!0}),o||e(u(t.parentNode),n,i,r),r.push(t)}(n=u(e),"scroll",t.updateBound,t.scrollParents),t.scrollElement=n,t.eventsEnabled=!0,t))}.call(this)}},{key:"disableEventListeners",value:function(){return function(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,R(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}.call(this)}}]),(e=M).Utils=("undefined"!=typeof window?window:global).PopperUtils,e.placements=W,e.Defaults=U,e});var _=Object.defineProperty,S=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,L=function(e,t,n){return t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},k=function(e,t){for(var n in t=t||{})X.call(t,n)&&L(e,n,t[n]);if(S)for(var i,r=_createForOfIteratorHelperLoose(S(t));!(i=r()).done;)n=i.value,Z.call(t,n)&&L(e,n,t[n]);return e},u=function(e,t,n){return L(e,"symbol"!=typeof t?t+"":t,n),n};function showCapsLockMsg(e){$(".password-caps").remove(),e.parents(".form-group").append('<small class="password-caps form-text text-warning position-absolute bg-white w-100">CAPS LOCK inserito</small>')}function isIe(){return 0<window.navigator.userAgent.indexOf("MSIE ")||!!navigator.userAgent.match(/Trident.*rv:11\./)}!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).JustValidate=t()}(this,function(){"use strict";function w(e){return e&&"function"==typeof e.then}var x,c,r,e,C=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,_=/^[0-9]+$/,E=/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/,T=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/,s=((e=x={}).Required="required",e.Email="email",e.MinLength="minLength",e.MaxLength="maxLength",e.Password="password",e.Number="number",e.MaxNumber="maxNumber",e.MinNumber="minNumber",e.StrongPassword="strongPassword",e.CustomRegexp="customRegexp",e.MinFilesCount="minFilesCount",e.MaxFilesCount="maxFilesCount",e.Files="files",(c={}).Required="required",(e=r={}).Label="label",{errorFieldStyle:{color:"#b81111",border:"1px solid #B81111"},errorFieldCssClass:"just-validate-error-field",successFieldCssClass:"just-validate-success-field",errorLabelStyle:{color:"#b81111"},errorLabelCssClass:"just-validate-error-label",successLabelCssClass:"just-validate-success-label",focusInvalidField:!0,lockForm:!0,testingMode:!(e.LabelArrow="labelArrow")});return(e=t.prototype).initialize=function(e,t,n){if(this.form=null,this.errors={},this.isValid=!1,this.isSubmitted=!1,this.globalConfig=s,this.errorLabels={},this.successLabels={},this.eventListeners=[],this.customStyleTags={},this.tooltips=[],"string"==typeof e){var i=document.querySelector(e);
1if(!i)throw Error("Form with "+e+" selector not found! Please check the form selector");this.setForm(i)}else{if(!(e instanceof HTMLFormElement))throw Error("Form selector is not valid. Please specify a string selector or a DOM element.");this.setForm(e)}this.globalConfig=k(k({},s),t),n&&(this.dictLocale=n),this.isTooltip()&&((i=document.createElement("style")).textContent=".just-validate-error-label[data-tooltip=true]{position:fixed;padding:4px 8px;background:#423f3f;color:#fff;white-space:nowrap;z-index:10;border-radius:4px;transform:translateY(-5px)}.just-validate-error-label[data-tooltip=true]:before{content:'';width:0;height:0;border-left:solid 5px transparent;border-right:solid 5px transparent;border-bottom:solid 5px #423f3f;position:absolute;z-index:3;display:block;bottom:-5px;transform:rotate(180deg);left:calc(50% - 5px)}.just-validate-error-label[data-tooltip=true][data-direction=left]{transform:translateX(-5px)}.just-validate-error-label[data-tooltip=true][data-direction=left]:before{right:-7px;bottom:auto;left:auto;top:calc(50% - 2px);transform:rotate(90deg)}.just-validate-error-label[data-tooltip=true][data-direction=right]{transform:translateX(5px)}.just-validate-error-label[data-tooltip=true][data-direction=right]:before{right:auto;bottom:auto;left:-7px;top:calc(50% - 2px);transform:rotate(-90deg)}.just-validate-error-label[data-tooltip=true][data-direction=bottom]{transform:translateY(5px)}.just-validate-error-label[data-tooltip=true][data-direction=bottom]:before{right:auto;bottom:auto;left:calc(50% - 5px);top:-5px;transform:rotate(0)}",this.customStyleTags[r.Label]=document.head.appendChild(i),this.addListener("scroll",document,this.handleDocumentScroll))},e.getLocalisedString=function(t){var e;return this.currentLocale&&this.dictLocale.length&&(null==(e=this.dictLocale.find(function(e){return e.key===t}))?void 0:e.dict[this.currentLocale])||t},e.getFieldErrorMessage=function(e,t){return t="function"==typeof e.errorMessage?e.errorMessage(this.getElemValue(t),this.fields):e.errorMessage,this.getLocalisedString(t)||function(e,t){switch(e){case x.Required:return"The field is required";case x.Email:return"Email has invalid format";case x.MaxLength:return"The field must contain a maximum of :value characters".replace(":value",String(t));case x.MinLength:return"The field must contain a minimum of :value characters".replace(":value",String(t));case x.Password:return"Password must contain minimum eight characters, at least one letter and one number";case x.Number:return"Value should be a number";case x.StrongPassword:return"Password should contain minimum eight characters, at least one uppercase letter, one lowercase letter, one number and one special character";case x.MaxNumber:return"Number should be less or equal than :value".replace(":value",String(t));case x.MinNumber:return"Number should be more or equal than :value".replace(":value",String(t));case x.MinFilesCount:return"Files count should be more or equal than :value".replace(":value",String(t));case x.MaxFilesCount:return"Files count should be less or equal than :value".replace(":value",String(t));case x.Files:return"Uploaded files have one or several invalid properties (extension/size/type etc)";default:return"Value is incorrect"}}(e.rule,e.value)},e.getFieldSuccessMessage=function(e,t){return t="function"==typeof e?e(this.getElemValue(t),this.fields):e,this.getLocalisedString(t)},e.getGroupErrorMessage=function(e){return this.getLocalisedString(e.errorMessage)||(e.rule!==c.Required?"Group is incorrect":"The field is required")},e.getGroupSuccessMessage=function(e){return this.getLocalisedString(e.successMessage)},e.setFieldInvalid=function(e,t){this.fields[e].isValid=!1,this.fields[e].errorMessage=this.getFieldErrorMessage(t,this.fields[e].elem)},e.setFieldValid=function(e,t){this.fields[e].isValid=!0,void 0!==t&&(this.fields[e].successMessage=this.getFieldSuccessMessage(t,this.fields[e].elem))},e.setGroupInvalid=function(e,t){this.groupFields[e].isValid=!1,this.groupFields[e].errorMessage=this.getGroupErrorMessage(t)},e.setGroupValid=function(e,t){this.groupFields[e].isValid=!0,this.groupFields[e].successMessage=this.getGroupSuccessMessage(t)},e.getElemValue=function(e){switch(e.type){case"checkbox":return e.checked;case"file":return e.files;default:return e.value}},e.validateGroupRule=function(e,t,n,i){i.rule!==c.Required||"radio"!==t&&"checkbox"!==t||(n.every(function(e){return!e.checked})?this.setGroupInvalid(e,i):this.setGroupValid(e,i))},e.validateFieldRule=function(t,e,n,i){var r,o,s,a,l,c,u,d=this,h=(void 0===i&&(i=!1),n.value),f=this.getElemValue(e);if(n.plugin)n.plugin(f,this.fields)||this.setFieldInvalid(t,n);else switch(n.rule){case x.Required:(u="string"==typeof(u=c=f)?c.trim():u)||this.setFieldInvalid(t,n);break;case x.Email:"string"!=typeof f?this.setFieldInvalid(t,n):C.test(f)||this.setFieldInvalid(t,n);break;case x.MaxLength:void 0===h?(console.error("Value for "+n.rule+" rule for ["+t+"] field is not defined. The field will be always invali
1d."),this.setFieldInvalid(t,n)):"number"!=typeof h?(console.error("Value for "+n.rule+" rule for ["+t+"] should be a number. The field will be always invalid."),this.setFieldInvalid(t,n)):("string"!=typeof f||""!==f&&f.length>h)&&this.setFieldInvalid(t,n);break;case x.MinLength:void 0===h?(console.error("Value for "+n.rule+" rule for ["+t+"] field is not defined. The field will be always invalid."),this.setFieldInvalid(t,n)):"number"!=typeof h?(console.error("Value for "+n.rule+" rule for ["+t+"] should be a number. The field will be always invalid."),this.setFieldInvalid(t,n)):("string"!=typeof f||""!==f&&f.length<h)&&this.setFieldInvalid(t,n);break;case x.Password:"string"!=typeof f?this.setFieldInvalid(t,n):""===f||E.test(f)||this.setFieldInvalid(t,n);break;case x.StrongPassword:"string"!=typeof f?this.setFieldInvalid(t,n):""===f||T.test(f)||this.setFieldInvalid(t,n);break;case x.Number:"string"!=typeof f?this.setFieldInvalid(t,n):""===f||_.test(f)||this.setFieldInvalid(t,n);break;case x.MaxNumber:void 0===h?(console.error("Value for "+n.rule+" rule for ["+t+"] field is not defined. The field will be always invalid."),this.setFieldInvalid(t,n)):"number"!=typeof h?(console.error("Value for "+n.rule+" rule for ["+t+"] field should be a number. The field will be always invalid."),this.setFieldInvalid(t,n)):("string"!=typeof f||""!==f&&(c=+f,Number.isNaN(c)||h<c))&&this.setFieldInvalid(t,n);break;case x.MinNumber:void 0===h?(console.error("Value for "+n.rule+" rule for ["+t+"] field is not defined. The field will be always invalid."),this.setFieldInvalid(t,n)):"number"!=typeof h?(console.error("Value for "+n.rule+" rule for ["+t+"] field should be a number. The field will be always invalid."),this.setFieldInvalid(t,n)):("string"!=typeof f||""!==f&&(u=+f,Number.isNaN(u)||u<h))&&this.setFieldInvalid(t,n);break;case x.CustomRegexp:if(void 0===h)console.error("Value for "+n.rule+" rule for ["+t+"] field is not defined. This field will be always invalid."),this.setFieldInvalid(t,n);else{try{y=new RegExp(h)}catch(e){console.error("Value for "+n.rule+" rule for ["+t+"] should be a valid regexp. This field will be always invalid."),this.setFieldInvalid(t,n);break}var p=String(f);""===p||y.test(p)||this.setFieldInvalid(t,n)}break;case x.MinFilesCount:void 0===h?(console.error("Value for "+n.rule+" rule for ["+t+"] field is not defined. This field will be always invalid."),this.setFieldInvalid(t,n)):"number"!=typeof h?(console.error("Value for "+n.rule+" rule for ["+t+"] field should be a number. The field will be always invalid."),this.setFieldInvalid(t,n)):Number.isFinite(null==f?void 0:f.length)&&f.length<h&&this.setFieldInvalid(t,n);break;case x.MaxFilesCount:void 0===h?(console.error("Value for "+n.rule+" rule for ["+t+"] field is not defined. This field will be always invalid."),this.setFieldInvalid(t,n)):"number"!=typeof h?(console.error("Value for "+n.rule+" rule for ["+t+"] field should be a number. The field will be always invalid."),this.setFieldInvalid(t,n)):Number.isFinite(null==f?void 0:f.length)&&f.length>h&&this.setFieldInvalid(t,n);break;case x.Files:if(void 0===h)console.error("Value for "+n.rule+" rule for ["+t+"] field is not defined. This field will be always invalid."),this.setFieldInvalid(t,n);else if("object"!=typeof h)console.error("Value for "+n.rule+" rule for ["+t+"] field should be an object. This field will be always invalid."),this.setFieldInvalid(t,n);else{var m=h.files;if("object"!=typeof m)console.error("Value for "+n.rule+" rule for ["+t+"] field should be an object with files array. This field will be always invalid."),this.setFieldInvalid(t,n);else if("object"==typeof f&&null!==f)for(var g=0,v=f.length;g<v;++g){var b=f.item(g);if(!b){this.setFieldInvalid(t,n);break}if(r=m,0,o=Number.isFinite(r.minSize)&&b.size<r.minSize,s=Number.isFinite(r.maxSize)&&b.size>r.maxSize,a=Array.isArray(r.names)&&!r.names.includes(b.name),l=Array.isArray(r.extensions)&&!r.extensions.includes(b.name.split(".")[b.name.split(".").length-1]),r=Array.isArray(r.types)&&!r.types.includes(b.type),o||s||a||l||r){this.setFieldInvalid(t,n);break}}}break;default:if("function"!=typeof n.validator)return console.error("Validator for custom rule for ["+t+"] field should be a function. This field will be always invali
1d."),void this.setFieldInvalid(t,n);var y=n.validator(f,this.fields);if("boolean"!=typeof y&&"function"!=typeof y&&console.error("Validator return value for ["+t+"] field should be boolean or function. It will be cast to boolean."),"function"==typeof y){if(!i)return this.fields[t].asyncCheckPending=!1,w(p=y())?p.then(function(e){e||d.setFieldInvalid(t,n)}).catch(function(){d.setFieldInvalid(t,n)}):(console.error("Validator function for custom rule for ["+t+"] field should return a Promise. This field will be always invalid."),void this.setFieldInvalid(t,n));this.fields[t].asyncCheckPending=!0}y||this.setFieldInvalid(t,n)}},e.validateField=function(t,n){var e,i=this,r=(void 0===n&&(n=!1),this.fields[t]),o=(r.isValid=!0,[]);return[].concat(r.rules).reverse().forEach(function(e){w(e=i.validateFieldRule(t,r.elem,e,n))&&o.push(e)}),r.isValid&&this.setFieldValid(t,null==(e=r.config)?void 0:e.successMessage),Promise.allSettled(o)},e.revalidateField=function(t){var n=this;if("string"!=typeof t)throw Error("Field selector is not valid. Please specify a string selector.");return this.fields[t]?new Promise(function(e){n.validateField(t,!0).finally(function(){n.clearFieldError(t),n.clearFieldLabel(t),n.renderFieldError(t),e(!!n.fields[t].isValid)})}):(console.error("Field not found. Check the field selector."),Promise.reject())},e.validateGroup=function(t,n){var i=this,r=[];return[].concat(n.rules).reverse().forEach(function(e){w(e=i.validateGroupRule(t,n.type,n.elems,e))&&r.push(e)}),Promise.allSettled(r)},e.focusInvalidField=function(){var e,n=this;for(e in this.fields)if("break"===function(e){var t=n.fields[e];if(!t.isValid)return setTimeout(function(){return t.elem.focus()},0),"break"}(e))break},e.afterSubmitValidation=function(e){this.renderErrors(e=void 0!==e&&e),this.globalConfig.focusInvalidField&&this.focusInvalidField()},e.validate=function(t){var i=this;return void 0===t&&(t=!1),new Promise(function(e){var n=[];Object.keys(i.fields).forEach(function(e){w(e=i.validateField(e))&&n.push(e)}),Object.keys(i.groupFields).forEach(function(e){var t=i.groupFields[e];w(e=i.validateGroup(e,t))&&n.push(e)}),n.length?Promise.allSettled(n).then(function(){i.afterSubmitValidation(t),e(!0)}):(i.afterSubmitValidation(t),e(!1))})},e.revalidate=function(){var t=this;return new Promise(function(e){t.validateHandler(void 0,!0).finally(function(){t.globalConfig.focusInvalidField&&t.focusInvalidField(),e(t.isValid)})})},e.validateHandler=function(t,e){var n=this;return void 0===e&&(e=!1),this.globalConfig.lockForm&&this.lockForm(),this.validate(e).finally(function(){var e;n.globalConfig.lockForm&&n.unlockForm(),n.isValid?null!=(e=n.onSuccessCallback)&&e.call(n,t):null!=(e=n.onFailCallback)&&e.call(n,n.fields,n.groupFields)})},e.setForm=function(e){this.form=e,this.form.setAttribute("novalidate","novalidate"),this.removeListener("submit",this.form,this.formSubmitHandler),this.addListener("submit",this.form,this.formSubmitHandler)},e.addListener=function(e,t,n){t.addEventListener(e,n),this.eventListeners.push({type:e,elem:t,func:n})},e.removeListener=function(t,n,e){n.removeEventListener(t,e),this.eventListeners=this.eventListeners.filter(function(e){return e.type!==t||e.elem!==n})},e.addField=function(t,e,n){if("string"!=typeof t)throw Error("Field selector is not valid. Please specify a string selector.");var i=this.form.querySelector(t);if(!i)throw Error("Field with "+t+" selector not found! Please check the field selector.");if(Array.isArray(e)&&e.length)return e.forEach(function(e){if(!("rule"in e||"validator"in e||"plugin"in e))throw Error("Rules argument for the field ["+t+"] must contain at least one rule or validator property.");if(!(e.validator||e.plugin||e.rule&&Object.values(x).includes(e.rule)))throw Error("Rule should be one of these types: "+Object.values(x).join(", ")+". Provided value: "+e.rule)}),this.fields[t]={elem:i,rules:e,isValid:void 0,config:n},this.setListeners(i),this.isSubmitted&&this.validate(),this;throw Error("Rules argument for the field ["+t+"] should be an array and should contain at least 1 element.")},e.removeField=function(e){if("string"!=typeof e)throw Error("Field selector is not val
1id. Please specify a string selector.");var t;return this.fields[e]?(t=this.getListenerType(this.fields[e].elem.type),this.removeListener(t,this.fields[e].elem,this.handlerChange),this.clearErrors(),delete this.fields[e]):console.error("Field not found. Check the field selector."),this},e.removeGroup=function(e){var n=this;if("string"!=typeof e)throw Error("Group selector is not valid. Please specify a string selector.");return this.groupFields[e]?(this.groupFields[e].elems.forEach(function(e){var t=n.getListenerType(e.type);n.removeListener(t,e,n.handlerChange)}),this.clearErrors(),delete this.groupFields[e]):console.error("Group not found. Check the group selector."),this},e.addRequiredGroup=function(e,t,n,i){var r=this;if("string"!=typeof e)throw Error("Group selector is not valid. Please specify a string selector.");var o=this.form.querySelector(e);if(!o)throw Error("Group with "+e+" selector not found! Please check the group selector.");var s=o.querySelectorAll("input"),a=Array.from(s).every(function(e){return"radio"===e.type}),l=Array.from(s).every(function(e){return"checkbox"===e.type});if(a||l)return this.groupFields[e]={rules:[{rule:c.Required,errorMessage:t,successMessage:i}],groupElem:o,elems:Array.from(s),type:a?"radio":"checkbox",isDirty:!1,isValid:void 0,config:n},s.forEach(function(e){r.setListeners(e)}),this;throw Error("Group should contain either or checkboxes or radio buttons")},e.getListenerType=function(e){switch(e){case"checkbox":case"select-one":case"file":case"radio":return"change";default:return"input"}},e.setListeners=function(e){var t=this.getListenerType(e.type);this.removeListener(t,e,this.handlerChange),this.addListener(t,e,this.handlerChange)},e.clearFieldLabel=function(e){var t;null!=(t=this.errorLabels[e])&&t.remove(),null!=(t=this.successLabels[e])&&t.remove()},e.clearFieldError=function(e){var t=this.fields[e],e=(null==(e=t.config)?void 0:e.errorFieldStyle)||this.globalConfig.errorFieldStyle,e=(Object.keys(e).forEach(function(e){t.elem.style[e]=""}),(null==(e=t.config)?void 0:e.successFieldStyle)||this.globalConfig.successFieldStyle||{});Object.keys(e).forEach(function(e){t.elem.style[e]=""}),t.elem.classList.remove((null==(e=t.config)?void 0:e.errorFieldCssClass)||this.globalConfig.errorFieldCssClass,(null==(e=t.config)?void 0:e.successFieldCssClass)||this.globalConfig.successFieldCssClass)},e.clearErrors=function(){var t,e,n,i=this;for(e in Object.keys(this.errorLabels).forEach(function(e){return i.errorLabels[e].remove()}),Object.keys(this.successLabels).forEach(function(e){return i.successLabels[e].remove()}),this.fields)this.clearFieldError(e);for(n in this.groupFields)!function(e){var n=i.groupFields[e],e=(null==(t=n.config)?void 0:t.errorFieldStyle)||i.globalConfig.errorFieldStyle,e=(Object.keys(e).forEach(function(t){n.elems.forEach(function(e){e.style[t]="",e.classList.remove((null==(e=n.config)?void 0:e.errorFieldCssClass)||i.globalConfig.errorFieldCssClass)})}),(null==(t=n.config)?void 0:t.successFieldStyle)||i.globalConfig.successFieldStyle||{});Object.keys(e).forEach(function(t){n.elems.forEach(function(e){e.style[t]="",e.classList.remove((null==(e=n.config)?void 0:e.successFieldCssClass)||i.globalConfig.successFieldCssClass)})})}(n);this.tooltips=[]},e.isTooltip=function(){return!!this.globalConfig.tooltip},e.lockForm=function(){for(var e=this.form.querySelectorAll("input, textarea, button, select"),t=0,n=e.length;t<n;++t)e[t].setAttribute("disabled","disabled"),e[t].style.pointerEvents="none",e[t].style.webkitFilter="grayscale(100%)",e[t].style.filter="grayscale(100%)"},e.unlockForm=function(){for(var e=this.form.querySelectorAll("input, textarea, button, select"),t=0,n=e.length;t<n;++t)e[t].removeAttribute("disabled"),e[t].style.pointerEvents="",e[t].style.webkitFilter="",e[t].style.filter=""},e.renderTooltip=function(e,t,n){var i=this,r=e.getBoundingClientRect(),o=r.top,s=r.left,a=r.width,l=r.height,c=t.getBoundingClientRect();switch(r=n||(null==(r=this.globalConfig.tooltip)?void 0:r.position)){case"left":t.style.top=o+l/2-c.height/2+"px",t.style.left=s-c.width-5+"px";break;case"top":t.style.top=o-c.height-5+"px",t.style.left=s+a/2-c.width/2+"px";break;case"right":t.style.top=o+l/2-c.height/2+"px",t.style.left=s+a+5+"px";break;case"bottom":t.style.top=o+l+5+"px",t.style.left=s+a/2-c.width/2+"px"}return t.dataset.direction=r,{refresh:function(){i.renderTooltip(e,t,n
1)}}},e.createErrorLabelElem=function(e,t,n){var i=document.createElement("div"),t=(i.innerHTML=t,this.isTooltip()?null==n?void 0:n.errorLabelStyle:(null==n?void 0:n.errorLabelStyle)||this.globalConfig.errorLabelStyle);return Object.assign(i.style,t),i.classList.add((null==n?void 0:n.errorLabelCssClass)||this.globalConfig.errorLabelCssClass,"just-validate-error-label"),this.isTooltip()&&(i.dataset.tooltip="true"),this.globalConfig.testingMode&&(i.dataset.testId="error-label-"+e),this.errorLabels[e]=i},e.createSuccessLabelElem=function(e,t,n){var i;return void 0===t?null:((i=document.createElement("div")).innerHTML=t,t=(null==n?void 0:n.successLabelStyle)||this.globalConfig.successLabelStyle,Object.assign(i.style,t),i.classList.add((null==n?void 0:n.successLabelCssClass)||this.globalConfig.successLabelCssClass,"just-validate-success-label"),this.globalConfig.testingMode&&(i.dataset.testId="success-label-"+e),this.successLabels[e]=i)},e.renderErrorsContainer=function(e,t){if("string"==typeof(t=t||this.globalConfig.errorsContainer)){var n=this.form.querySelector(t);if(n)return n.appendChild(e),!0;console.error("Error container with "+t+" selector not found. Errors will be rendered as usual")}return t instanceof Element?(t.appendChild(e),!0):(void 0!==t&&console.error("Error container not found. It should be a string or existing Element. Errors will be rendered as usual"),!1)},e.renderGroupLabel=function(e,t,n,i){!i&&this.renderErrorsContainer(t,n)||e.appendChild(t)},e.renderFieldLabel=function(e,t,n,i){!i&&this.renderErrorsContainer(t,n)||("checkbox"===e.type||"radio"===e.type?(i=document.querySelector('label[for="'+e.getAttribute("id")+'"]'),"label"===(null==(n=null==(n=e.parentElement)?void 0:n.tagName)?void 0:n.toLowerCase())?null!=(n=null==(n=e.parentElement)?void 0:n.parentElement)&&n.appendChild(t):i?null!=(n=i.parentElement)&&n.appendChild(t):null!=(i=e.parentElement)&&i.appendChild(t)):null!=(n=e.parentElement)&&n.appendChild(t))},e.renderFieldError=function(e){var t,n=this.fields[e];n.isValid?n.asyncCheckPending||((t=this.createSuccessLabelElem(e,n.successMessage,n.config))&&this.renderFieldLabel(n.elem,t,null==(t=n.config)?void 0:t.errorsContainer,!0),n.elem.classList.add((null==(t=n.config)?void 0:t.successFieldCssClass)||this.globalConfig.successFieldCssClass)):(this.isValid=!1,n.elem.classList.add((null==(t=n.config)?void 0:t.errorFieldCssClass)||this.globalConfig.errorFieldCssClass),t=this.createErrorLabelElem(e,n.errorMessage,n.config),this.renderFieldLabel(n.elem,t,null==(e=n.config)?void 0:e.errorsContainer),this.isTooltip()&&this.tooltips.push(this.renderTooltip(n.elem,t,null==(t=null==(e=n.config)?void 0:e.tooltip)?void 0:t.position)))},e.renderErrors=function(e){var i,r,t,n,o=this;if(void 0===e&&(e=!1),this.isSubmitted||e){for(t in this.clearErrors(),this.isValid=!0,this.groupFields)!function(e){var n=o.groupFields[e];if(n.isValid)return n.elems.forEach(function(e){var t;Object.assign(e.style,(null==(t=n.config)?void 0:t.successFieldStyle)||o.globalConfig.successFieldStyle),e.classList.add((null==(t=n.config)?void 0:t.successFieldCssClass)||o.globalConfig.successFieldCssClass)}),(t=o.createSuccessLabelElem(e,n.successMessage,n.config))&&o.renderGroupLabel(n.groupElem,t,null==(i=n.config)?void 0:i.errorsContainer,!0);o.isValid=!1,n.elems.forEach(function(e){var t;Object.assign(e.style,(null==(t=n.config)?void 0:t.errorFieldStyle)||o.globalConfig.errorFieldStyle),e.classList.add((null==(t=n.config)?void 0:t.errorFieldCssClass)||o.globalConfig.errorFieldCssClass)});var t=o.createErrorLabelElem(e,n.errorMessage,n.config);o.renderGroupLabel(n.groupElem,t,null==(i=n.config)?void 0:i.errorsContainer),o.isTooltip()&&o.tooltips.push(o.renderTooltip(n.groupElem,t,null==(r=null==(r=n.config)?void 0:r.tooltip)?void 0:r.position))}(t);for(n in this.fields)this.renderFieldError(n)}},e.destroy=function(){var t=this;this.eventListeners.forEach(function(e){t.removeListener(e.type,e.elem,e.func)}),Object.keys(this.customStyleTags).forEach(function(e){t.customStyleTags[e].remove()}),this.clearErrors(),this.globalConfig.lockForm&&this.unlockForm()},e.refresh=function(){var t=this;this.destroy(),this.form?(this.initialize(this.form,this.globalConfig),Object.keys(this.fields).forEac
1h(function(e){t.addField(e,[].concat(t.fields[e].rules),t.fields[e].config)})):console.error("Cannot initialize the library! Form is not defined")},e.setCurrentLocale=function(e){"string"!=typeof e&&void 0!==e?console.error("Current locale should be a string"):(this.currentLocale=e,this.isSubmitted&&this.validate())},e.onSuccess=function(e){return this.onSuccessCallback=e,this},e.onFail=function(e){return this.onFailCallback=e,this},t;function t(e,t,n){var o=this;u(this,"form",null),u(this,"fields",{}),u(this,"groupFields",{}),u(this,"errors",{}),u(this,"isValid",!1),u(this,"isSubmitted",!1),u(this,"globalConfig",s),u(this,"errorLabels",{}),u(this,"successLabels",{}),u(this,"eventListeners",[]),u(this,"dictLocale",[]),u(this,"currentLocale"),u(this,"customStyleTags",{}),u(this,"onSuccessCallback"),u(this,"onFailCallback"),u(this,"tooltips",[]),u(this,"lastScrollPosition"),u(this,"isScrollTick"),u(this,"refreshAllTooltips",function(){o.tooltips.forEach(function(e){e.refresh()})}),u(this,"handleDocumentScroll",function(){o.lastScrollPosition=window.scrollY,o.isScrollTick||(window.requestAnimationFrame(function(){o.refreshAllTooltips(),o.isScrollTick=!1}),o.isScrollTick=!0)}),u(this,"formSubmitHandler",function(e){e.preventDefault(),o.isSubmitted=!0,o.validateHandler(e)}),u(this,"handleFieldChange",function(e){var t,n;for(n in o.fields)if(o.fields[n].elem===e){t=n;break}t&&o.validateField(t,!0)}),u(this,"handleGroupChange",function(t){var e,n,i;for(i in o.groupFields){var r=o.groupFields[i];if(r.elems.find(function(e){return e===t})){e=r,n=i;break}}e&&n&&o.validateGroup(n,e)}),u(this,"handlerChange",function(e){e.target&&(o.handleFieldChange(e.target),o.handleGroupChange(e.target),o.renderErrors())}),this.initialize(e,t,n)}}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).JustValidatePluginDate=t()}(this,function(){"use strict";var i={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function e(t){return function(){var e=(e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).width?String(e.width):t.defaultWidth;return t.formats[e]||t.formats[t.defaultWidth]}}var P={date:e({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:e({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:e({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},F={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function t(r){return function(e,t){t="formatting"===((t=t||{}).context?String(t.context):"standalone")&&r.formattingValues?(i=r.defaultFormattingWidth||r.defaultWidth,n=t.width?String(t.width):i,r.formattingValues[n]||r.formattingValues[i]):(n=r.defaultWidth,i=t.width?String(t.width):r.defaultWidth,r.values[i]||r.values[n]);var n,i=r.argumentCallback?r.argumentCallback(e):e;return t[i]}}function n(o){return function(e){var i,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.width,r=n&&o.matchPatterns[n]||o.matchPatterns[o.defaultMatchWidth];return(r=e.match(r))?(i=r[0],r=n&&o.parsePatterns[n]||o.parsePatterns[o.defaultParseWidth],n=(Array.isArray(r)?function(e){for(var t=0;t<e.length;t++)if(e[t].test(i))return t}:function(e){for(var t in e)if(e.hasOwnProperty(t)&&(n=e[t],n.test(i)))return t;var n})(r),r=o.valueCallback?o.valueCallback(n):n,{value:r=t.valueCallback?t.valueCallback(r):r,rest:e.slice(i.length)}):null}}var r,j={code:"en-US",formatDistance:function(e,t,n){return e="string"==typeof(e=i[e])?e:1===t?e.one:e.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&0<n.comparison?"in "+e:e+" ago":e},formatLong:P,formatRelative:function(e,t,n,i){return F[e]},localize:{ordinalNumber:function(e,t){var n=Number(e);
1if(20<(e=n%100)||e<10)switch(e%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:t({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:t({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:t({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:t({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:t({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t,n,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return(t=e.match(r.matchPattern))&&(t=t[0],n=e.match(r.parsePattern))?(n=r.valueCallback?r.valueCallback(n[0]):n[0],{value:n=i.valueCallback?i.valueCallback(n):n,rest:e.slice(t.length)}):null}),era:n({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:n({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:n({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:n({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function $(e){return null===e||!0===e||!1===e?NaN:(e=Number(e),isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e))}function I(e,t){if(t.length<e)throw new TypeError(e+" argument"+(1<e?"s":"")+" required, but only "+t.length+" present")}function A(e){I(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.
11 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function o(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function s(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var H={p:s,P:function(e,t){var n,i=e.match(/(P+)(p+)?/)||[],r=i[1];if(!(i=i[2]))return o(e,t);switch(r){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",o(r,t)).replace("{{time}}",s(i,t))}},R=["D","DD"],q=["YY","YYYY"];function L(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").
1concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}function a(e,t){I(1,arguments);var t=t||{},n=null==(n=(n=t.locale)&&n.options&&n.options.weekStartsOn)?0:$(n);if(0<=(n=null==t.weekStartsOn?n:$(t.weekStartsOn))&&n<=6)return e=((e=(t=A(e)).getUTCDay())<n?7:0)+e-n,t.setUTCDate(t.getUTCDate()-e),t.setUTCHours(0,0,0,0),t;throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}function l(e,t){I(1,arguments);var n,e=A(e),i=e.getUTCFullYear(),r=t||{},o=null==(o=(o=r.locale)&&o.options&&o.options.firstWeekContainsDate)?1:$(o);if(1<=(o=null==r.firstWeekContainsDate?o:$(r.firstWeekContainsDate))&&o<=7)return(r=new Date(0)).setUTCFullYear(i+1,0,o),r.setUTCHours(0,0,0,0),r=a(r,t),(n=new Date(0)).setUTCFullYear(i,0,o),n.setUTCHours(0,0,0,0),o=a(n,t),e.getTime()>=r.getTime()?i+1:e.getTime()>=o.getTime()?i:i-1;throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")}function c(e,t,n){I(2,arguments);var n=n||{},i=null==(i=(i=n.locale)&&i.options&&i.options.weekStartsOn)?0:$(i);if(0<=(i=null==n.weekStartsOn?i:$(n.weekStartsOn))&&i<=6)return n=A(e),t=((7+(e=$(t))%7)%7<i?7:0)+e-n.getUTCDay(),n.setUTCDate(n.getUTCDate()+t),n;throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}function u(e){I(1,arguments);var e=A(e),t=((t=e.getUTCDay())<1?7:0)+t-1;return e.setUTCDate(e.getUTCDate()-t),e.setUTCHours(0,0,0,0),e}function B(e,t){return I(2,arguments),e=A(e),t=$(t),t=function(e){return I(1,arguments),e=u(e=A(e)).getTime()-function(e){I(1,arguments);var e=function(e){I(1,arguments);var e=A(e),t=e.getUTCFullYear(),n=((n=new Date(0)).setUTCFullYear(t+1,0,4),n.setUTCHours(0,0,0,0),u(n)),i=((i=new Date(0)).setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0),u(i));return e.getTime()>=n.getTime()?t+1:e.getTime()>=i.getTime()?t:t-1}(e),t=new Date(0);return t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0),u(t)}(e).getTime(),Math.round(e/6048e5)+1}(e)-t,e.setUTCDate(e.getUTCDate()-7*t),e}var d=/^(1[0-2]|0?\d)/,W=/^(3[0-1]|[0-2]?\d)/,z=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,h=/^(5[0-3]|[0-4]?\d)/,U=/^(2[0-3]|[0-1]?\d)/,Y=/^(2[0-4]|[0-1]?\d)/,V=/^(1[0-1]|0?\d)/,G=/^(1[0-2]|0?\d)/,K=/^[0-5]?\d/,Q=/^[0-5]?\d/,X=/^\d/,J=/^\d{1,2}/,Z=/^\d{1,3}/,ee=/^\d{1,4}/,te=/^-?\d+/,ne=/^-?\d/,ie=/^-?\d{1,2}/,re=/^-?\d{1,3}/,oe=/^-?\d{1,4}/,f=/^([+-])(\d{2})(\d{2})?|Z/,p=/^([+-])(\d{2})(\d{2})|Z/,m=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,g=/^([+-])(\d{2}):(\d{2})|Z/,v=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function b(e,t,n){var i;return(e=t.match(e))?(i=parseInt(e[0],10),{value:n?n(i):i,rest:t.slice(e[0].length)}):null}function y(e,t){return(e=t.match(e))?"Z"===e[0]?{value:0,rest:t.slice(1)}:{value:("+"===e[1]?1:-1)*(36e5*(e[2]?parseInt(e[2],10):0)+6e4*(e[3]?parseInt(e[3],10):0)+1e3*(e[5]?parseInt(e[5],10):0)),rest:t.slice(e[0].length)}:null}function w(e,t){return b(te,e,t)}function x(e,t,n){switch(e){case 1:return b(X,t,n);case 2:return b(J,t,n);case 3:return b(Z,t,n);case 4:return b(ee,t,n);default:return b(new RegExp("^\\d{1,"+e+"}"),t,n)}}function C(e,t,n){switch(e){case 1:return b(ne,t,n);case 2:return b(ie,t,n);case 3:return b(re,t,n);case 4:return b(oe,t,n);default:return b(new RegExp("^-?\\d{1,"+e+"}"),t,n)}}function k(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function _(e,t){var n=0<t;return t=(t=n?t:1-t)<=50?e||100:(t+=50,e+100*Math.floor(t/100)-(t%100<=e?100:0)),n?t:1-t}var se=[31,28,31,30,31,30,31,31,30,31,30,31],ae=[31,29,31,30,31,30,31,31,30,31,30,31];function E(e){return e%400==0||e%4==0&&e%100!=0}var le={G:{priority:140,parse:function(e,t,n,i){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,i){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,i){function r(e){return{year:e,isTwoDigitYear:"yy"===t}}switch(t){case"y":return x(4,e,r);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return x(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||0<t.year},set:function(e,t,n,i){var r=e.getUTCFullYear();return n.isTwoDigitYear?(r=_(n.year,r),e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0)):(r="era"in t&&1!==t.era?1-n.year:n.year,e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0)),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,i){function r(e){return{year:e,isTwoDigitYear:"YY"===t}}switch(t){case"Y":return x(4,e,r);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return x(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||0<t.year},set:function(e,t,n,i){var r=l(e,i);return n.isTwoDigitYear?(r=_(n.year,r),e.setUTCFullYear(r,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0)):(r="era"in t&&1!==t.era?1-n.year:n.year,e.setUTCFullYear(r,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0)),a(e,i)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,i){return C("R"===t?4:t.length,e)},set:function(e,t,n,i){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),u(r)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,i){return C("u"===t?4:t.length,e)},set:function(e,t,n,i){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,i){switch(t){case"Q":case"QQ":return x(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return 1<=t&&t<=4},set:function(e,t,n,i){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,i){switch(t){case"q":case"qq":return x(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return 1<=t&&t<=4},set:function(e,t,n,i){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,i){function r(e){return e-1}switch(t){case"M":return b(d,e,r);case"MM":return x(2,e,r);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return 0<=t&&t<=11},set:function(e,t,n,i){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,i){function r(e){return e-1}switch(t){case"L":return b(d,e,r);case"LL":return x(2,e,r);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return 0<=t&&t<=11},set:function(e,t,n,i){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,i){switch(t){case"w":return b(h,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return x(t.length,e)}},validate:function(e,t,n){return 1<=t&&t<=53},set:function(e,t,n,i){return a(function(e,t,n){return I(2,arguments),e=A(e),t=$(t),n=function(e,t){return I(1,arguments),e=a(e=A(e),t).getTime()-function(e,t){I(1,arguments);var n=null==(n=(n=(i=t||{}).locale)&&n.options&&n.options.firstWeekContainsDate)?1:$(n),n=null==i.firstWeekContainsDate?n:$(i.firstWeekContainsDate),i=l(e,t),e=new Date(0);return e.setUTCFullYear(i,0,n),e.setUTCHours(0,0,0,0),a(e,t)}(e,t).getTime(),Math.round(e/6048e5)+1}(e,n)-t,e.setUTCDate(e.getUTCDate()-7*n),e}(e,n,i),i)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,i){switch(t){case"I":return b(h,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return x(t.length,e)}},validate:function(e,t,n){return 1<=t&&t<=53},set:function(e,t,n,i){return u(B(e,n,i),i)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,i){switch(t){case"d":return b(W,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return x(t.length,e)}},validate:function(e,t,n){var i=E(e.getUTCFullYear()),e=e.getUTCMonth();return i?1<=t&&t<=ae[e]:1<=t&&t<=se[e]}
1,set:function(e,t,n,i){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,i){switch(t){case"D":case"DD":return b(z,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return x(t.length,e)}},validate:function(e,t,n){return E(e.getUTCFullYear())?1<=t&&t<=366:1<=t&&t<=365},set:function(e,t,n,i){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,i){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return 0<=t&&t<=6},set:function(e,t,n,i){return(e=c(e,n,i)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,i){function r(e){var t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t}switch(t){case"e":case"ee":return x(t.length,e,r);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return 0<=t&&t<=6},set:function(e,t,n,i){return(e=c(e,n,i)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,i){function r(e){var t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t}switch(t){case"c":case"cc":return x(t.length,e,r);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return 0<=t&&t<=6},set:function(e,t,n,i){return(e=c(e,n,i)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,i){function r(e){return 0===e?7:e}switch(t){case"i":case"ii":return x(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});default:return n.day(e,{width:"wide",context:"formatting",valueCallback:r})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(e,t,n){return 1<=t&&t<=7},set:function(e,t,n,i){return(e=function(e,t){return I(2,arguments),(t=$(t))%7==0&&(t-=7),t=((7+t%7)%7<1?7:0)+t-(e=A(e)).getUTCDay(),e.setUTCDate(e.getUTCDate()+t),e}(e,n,i)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,n,i){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,i){return e.setUTCHours(k(n),0,0,0),e},incompatibleTokens:["b","B","H","k","t","T"]},b:{priority:80,parse:function(e,t,n,i){switch(t){case"b":case"bb"
1:case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,i){return e.setUTCHours(k(n),0,0,0),e},incompatibleTokens:["a","B","H","k","t","T"]},B:{priority:80,parse:function(e,t,n,i){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,i){return e.setUTCHours(k(n),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,n,i){switch(t){case"h":return b(G,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return x(t.length,e)}},validate:function(e,t,n){return 1<=t&&t<=12},set:function(e,t,n,i){var r=12<=e.getUTCHours();return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,i){switch(t){case"H":return b(U,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return x(t.length,e)}},validate:function(e,t,n){return 0<=t&&t<=23},set:function(e,t,n,i){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,i){switch(t){case"K":return b(V,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return x(t.length,e)}},validate:function(e,t,n){return 0<=t&&t<=11},set:function(e,t,n,i){return 12<=e.getUTCHours()&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,i){switch(t){case"k":return b(Y,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return x(t.length,e)}},validate:function(e,t,n){return 1<=t&&t<=24},set:function(e,t,n,i){return e.setUTCHours(n<=24?n%24:n,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,i){switch(t){case"m":return b(K,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return x(t.length,e)}},validate:function(e,t,n){return 0<=t&&t<=59},set:function(e,t,n,i){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,i){switch(t){case"s":return b(Q,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return x(t.length,e)}},validate:function(e,t,n){return 0<=t&&t<=59},set:function(e,t,n,i){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,i){return x(t.length,e,function(e){return Math.floor(e*Math.pow(10,3-t.length))})},set:function(e,t,n,i){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,i){switch(t){case"X":return y(f,e);case"XX":return y(p,e);case"XXXX":return y(m,e);case"XXXXX":return y(v,e);default:return y(g,e)}},set:function(e,t,n,i){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,i){switch(t){case"x":return y(f,e);case"xx":return y(p,e);case"xxxx":return y(m,e);case"xxxxx":return y(v,e);default:return y(g,e)}},set:function(e,t,n,i){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,i){return w(e)},set:function(e,t,n,i){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,i){return w(e)},set:function(e,t,n,i){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},ce=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ue=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,de=/^'([^]*?)'?$/,he=/''/g,fe=/\S/,pe=/[a-zA-Z]/;function T(e,t,n,i){I(3,arguments);var r=String(e),o=String(t),s=i||{},a=s.locale||j;if(!a.match)throw new RangeError("locale must contain match property");if(i=null==(t=a.options&&a.options.firstWeekContainsDate)?1:$(t),!(1<=(t=null==s.firstWeekContainsDate?i:$(s.firstWeekContainsDate))&&t<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");if(i=null==(i=a.options&&a.options.weekStartsOn)?0:$(i),!(0<=(i=null==s.weekStartsOn?i:$(s.weekStartsOn))&&i<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===o)return""===r?A(n):new Date(NaN);for(var l,c={firstWeekContainsDate:t,weekStartsOn:i,locale:a},u=[{priority:10,subPriority:-1,set:me,index:0}],d=o.match(ue).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,H[t])(e,a.formatLong,c):e}).join("").match(ce),h=[],f=0;f<d.length;f++){var p=d[f],m=(s.useAdditionalWeekYearTokens||(l=p,-1===q.indexOf(l))||L(p,o,e),s.useAdditionalDayOfYearTokens||(l=p,-1===R.indexOf(l))||L(p,o,e),p[0]),g=le[m];
1if(g){var v=g.incompatibleTokens;if(Array.isArray(v)){for(var b=void 0,y=0;y<h.length;y++){var w=h[y].token;if(-1!==v.indexOf(w)||w===m){b=h[y];break}}if(b)throw new RangeError("The format string mustn't contain `".concat(b.fullToken,"` and `").concat(p,"` at the same time"))}else if("*"===g.incompatibleTokens&&h.length)throw new RangeError("The format string mustn't contain `".concat(p,"` and any other token at the same time"));h.push({token:m,fullToken:p});var x=g.parse(r,p,a.match,c);if(!x)return new Date(NaN);u.push({priority:g.priority,subPriority:g.subPriority||0,set:g.set,validate:g.validate,value:x.value,index:u.length}),r=x.rest}else{if(m.match(pe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");if("''"===p?p="'":"'"===m&&(p=p.match(de)[1].replace(he,"'")),0!==r.indexOf(p))return new Date(NaN);r=r.slice(p.length)}}if(0<r.length&&fe.test(r))return new Date(NaN);var C=u.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(t){return u.filter(function(e){return e.priority===t}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),t=A(n);if(isNaN(t))return new Date(NaN);for(var k=function(e,t){return I(2,arguments),function(e,t){return I(2,arguments),e=A(e).getTime(),t=$(t),new Date(e+t)}(e,-$(t))}(t,(i=t,(n=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()))).setUTCFullYear(i.getFullYear()),i.getTime()-n.getTime())),_={},f=0;f<C.length;f++){var E=C[f];if(E.validate&&!E.validate(k,E.value,c))return new Date(NaN);if((E=E.set(k,_,E.value,c))[0]){var T,k=E[0],S=void 0,T=void 0,S=_,D=E[1];if(null==S)throw new TypeError("assign requires that input parameter not be null or undefined");for(T in D=D||{})Object.prototype.hasOwnProperty.call(D,T)&&(S[T]=D[T])}else k=E}return k}function me(e,t){return t.timestampIsSet?e:((t=new Date(0)).setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t)}function S(e){return I(1,arguments),e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function D(e){return I(1,arguments),!(!S(e)&&"number"!=typeof e||(e=A(e),isNaN(Number(e))))}function O(e,t){return I(2,arguments),e=A(e),t=A(t),e.getTime()>t.getTime()}function N(e,t,n){var i;return S(t)?i=t:"string"==typeof t&&(i=M(t,n)),D(i)&&D(e)?i:null}function M(e,t){return t?T(e,t,new Date):new Date(e)}return function(o){return function(e,t){var n,i,t=o(t),r={format:!0,isAfter:!0,isBefore:!0,required:!0};return"string"!=typeof e?(console.error("Value should be a string! The result will be always invalid"),!1):!t.required&&""===e||(void 0!==t.format&&("string"!=typeof t.format?(console.error("Format field should be a string! The result will be always invalid"),r.format=!1):r.format=function(e,t){return I(2,arguments),D(T(e,t,new Date,void 0))}(e,t.format)),e=M(e,t.format),void 0!==t.isBefore&&(r.isBefore=(n=t.isBefore,null!==(n=N(i=e,n,t.format))&&O(n,i))),void 0!==t.isAfter&&(r.isAfter=(n=t.isAfter,null!==(n=N(i=e,n,t.format))&&O(i,n))),Object.values(r).every(function(e){return e}))}}}),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.accessibleAutocomplete=t():e.accessibleAutocomplete=t()}(window,function(){return n=[function(e,t,n){function f(e,t,n){var i,r,o,s=e&f.F,a=e&f.G,l=e&f.P,c=e&f.B,u=a?p:e&f.S?p[t]||(p[t]={}):(p[t]||{})[y],d=a?m:m[t]||(m[t]={}),h=d[y]||(d[y]={});for(i in n=a?t:n)r=((o=!s&&u&&void 0!==u[i])?u:n)[i],o=c&&o?b(r,p):l&&"function"==typeof r?b(Function.call,r):r,u&&v(u,i,r,e&f.U),d[i]!=r&&g(d,i,o),l&&h[i]!=r&&(h[i]=r)}var p=n(1),m=n(6),g=n(7),v=n(16),b=n(18),y="prototype";p.core=m,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,e.exports=f},function(e,t){e=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),"number"==typeof __g&&(__g=e)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(b,e,t){"use strict";t.r(e),t.d(e,"h",function(){return n}),t.d(e,"createElement",function(){return n}),t.d(e,"cloneElement",function(){return r}),t.d(e,"Component",function(){return g}),t.d(e,"render",function(){return v}),t.d(e,"rerender",function(){return d}),t.d(e,"options",function(){return x});var l=function(){},x={},c=[],u=[];function n(e,t){for(var n,i,r,o=u,s=arguments.length;2<s--;)c.push(arguments[s]);for(t&&null!=t.children&&(c.length||c.push(t.children),delete t.children);c.length;)if((i=c.pop())&&void 0!==i.pop)for(s=i.length;s--;)c.push(i[s]);else"boolean"==typeof i&&(i=null),(r="function"!=typeof e)&&(null==i?i="":"number"==typeof i?i=String(i):"string"!=typeof i&&(r=!1)),r&&n?o[o.length-1]+=i:o===u?o=[i]:o.push(i),n=r;var a=new l;return a.nodeName=e,a.children=o,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==x.vnode&&x.vnode(a),a}function C(e,t){for(var n in t)e[n]=t[n];return e}var i="function"==typeof Promise?Promise.resolve().then.bind(Prom
1ise.resolve()):setTimeout;function r(e,t){return n(e.nodeName,C(C({},e.attributes),t),2<arguments.length?[].slice.call(arguments,2):e.children)}var a=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,o=[];function s(e){e._dirty||(e._dirty=!0,1!=o.push(e))||(x.debounceRendering||i)(d)}function d(){var e,t=o;for(o=[];e=t.pop();)e._dirty&&T(e)}function K(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function Q(e){var t=C({},e.attributes),n=(t.children=e.children,e.nodeName.defaultProps);if(void 0!==n)for(var i in n)void 0===t[i]&&(t[i]=n[i]);return t}function X(e){var t=e.parentNode;t&&t.removeChild(e)}function J(e,t,n,i,r){if("key"!==(t="className"===t?"class":t))if("ref"===t)n&&n(null),i&&i(e);else if("class"!==t||r)if("style"===t){if(i&&"string"!=typeof i&&"string"!=typeof n||(e.style.cssText=i||""),i&&"object"==typeof i){if("string"!=typeof n)for(var o in n)o in i||(e.style[o]="");for(var o in i)e.style[o]="number"==typeof i[o]&&!1===a.test(o)?i[o]+"px":i[o]}}else if("dangerouslySetInnerHTML"===t)i&&(e.innerHTML=i.__html||"");else if("o"==t[0]&&"n"==t[1]){var s=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),i?n||e.addEventListener(t,h,s):e.removeEventListener(t,h,s),(e._listeners||(e._listeners={}))[t]=i}else if("list"!==t&&"type"!==t&&!r&&t in e){try{e[t]=null==i?"":i}catch(e){}null!=i&&!1!==i||"spellcheck"==t||e.removeAttribute(t)}else n=r&&t!==(t=t.replace(/^xlink:?/,"")),null==i||!1===i?n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof i&&(n?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),i):e.setAttribute(t,i));else e.className=i||""}function h(e){return this._listeners[e.type](x.event&&x.event(e)||e)}var k=[],_=0,Z=!1,ee=!1;function E(){for(var e;e=k.pop();)x.afterMount&&x.afterMount(e),e.componentDidMount&&e.componentDidMount()}function te(e,t,P,F,n){var i=e,j=Z;if("string"==typeof(t=null!=t&&"boolean"!=typeof t?t:"")||"number"==typeof t)e&&void 0!==e.splitText&&e.parentNode&&(!e._component||n)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),ne(e,!0))),i.__preactattr_=!0;else{if("function"==typeof(n=t.nodeName)){for(var r=e,o=t,s=P,a=F,l=r&&r._component,c=l,u=r,d=f=l&&r._componentConstructor===o.nodeName,h=Q(o);l&&!d&&(l=l._parentComponent);)d=l.constructor===o.nodeName;return l&&d&&(!a||l._component)?(re(l,h,3,s,a),r=l.base):(c&&!f&&(oe(c),r=u=null),l=ie(o.nodeName,h,s),r&&!l.nextBase&&(l.nextBase=r,u=null),re(l,h,1,s,a),r=l.base,u&&r!==u&&(u._component=null,ne(u,!1))),r}if(Z="svg"===n||"foreignObject"!==n&&Z,n=String(n),(!e||!K(e,n))&&(h=n,(s=(s=Z)?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h)).normalizedNodeName=h,i=s,e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),ne(e,!0)}var f=i.firstChild,p=i.__preactattr_,c=t.children;if(null==p)for(var p=i.__preactattr_={},m=i.attributes,g=m.length;g--;)p[m[g].name]=m[g].value;if(!ee&&c&&1===c.length&&"string"==typeof c[0]&&null!=f&&void 0!==f.splitText&&null==f.nextSibling)f.nodeValue!=c[0]&&(f.nodeValue=c[0]);else if(c&&c.length||null!=f){var v,H,b,y,w,R,x=i,C=c,q=P,B=F,k=ee||null!=p.dangerouslySetInnerHTML,W=x.childNodes,_=[],E={},T=0,S=0,z=W.length,D=0,U=C?C.length:0;if(0!==z)for(var $=0;$<z;$++){var I=W[$],Y=I.__preactattr_;null!=(A=U&&Y?I._component?I._component.__key:Y.key:null)?(T++,E[A]=I):(Y||(void 0!==I.splitText?!k||I.nodeValue.trim():k))&&(_[D++]=I)}if(0!==U)for($=0;$<U;$++){var V,A,L=null;if(null!=(A=(V=C[$]).key))T&&void 0!==E[A]&&(L=E[A],E[A]=void 0,T--);else if(S<D)for(v=S;v<D;v++)if(void 0!==_[v]&&(y=H=_[v],R=k,"string"==typeof(w=V)||"number"==typeof w?void 0!==y.splitText:"string"==typeof w.nodeName?!y._componentConstructor&&K(y,w.nodeName):R||y._componentConstructor===w.nodeName)){L=H,_[v]=void 0,v===D-1&&D--,v===S&&S++;break}L=te(L,V,q,B),b=W[$],L&&L!==x&&L!==b&&(null==b?x.appendChild(L):L===b.nextSibling?X(b):x.insertBefore(L,b))}if(T)for(var $ in E)void 0!==E[$]&&ne(E[$],!1);for(;S<=D;)void 0!==(L=_[D--])&&ne(L,!1)}var O,G=i,N=t.attributes,M=p;for(O in M)N&&null!=N[O]||null==M[O]||J(G,O,M[O],M[O]=void 0,Z);for(O in N)"children"===O||"innerHTML"===O||O in M&&N[O]===("value"===O||"checked"===O?G:M)[O]||J(G,O,M[O],M[O]=N[O],Z);Z=j}return i}function ne(e,t){var n=e._component;n?oe(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||X(e),f(e))}function f(e){for(e=e.lastChild;e;){var t=e.previousSibling;ne(e,!0),e=t}}var p=[];function ie(e,t,n){var i,r=p.length;for(e.prototype&&e.prototype.render?(i=new e(t,n),g.call(i,t,n)):((i=new g(t,n)).constructor=e,i.render=m);
1r--;)if(p[r].constructor===e)return i.nextBase=p[r].nextBase,p.splice(r,1),i;return i}function m(e,t,n){return this.constructor(e,n)}function re(e,t,n,i,r){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||r?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,i)),i&&i!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=i),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===x.syncComponentUpdates&&e.base?s(e):T(e,1,r)),e.__ref&&e.__ref(e))}function T(e,t,n,i){if(!e._disable){var r,o=e.props,s=e.state,a=e.context,l=e.prevProps||o,c=e.prevState||s,u=e.prevContext||a,d=e.base,h=e.nextBase,f=d||h,p=e._component,m=!1,g=u;if(e.constructor.getDerivedStateFromProps&&(s=C(C({},s),e.constructor.getDerivedStateFromProps(o,s)),e.state=s),d&&(e.props=l,e.state=c,e.context=u,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(o,s,a)?m=!0:e.componentWillUpdate&&e.componentWillUpdate(o,s,a),e.props=o,e.state=s,e.context=a),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!m){var v,b,u=e.render(o,s,a);if(e.getChildContext&&(a=C(C({},a),e.getChildContext())),d&&e.getSnapshotBeforeUpdate&&(g=e.getSnapshotBeforeUpdate(l,c)),"function"==typeof(o=u&&u.nodeName)?(s=Q(u),(r=p)&&r.constructor===o&&s.key==r.__key?re(r,s,1,a,!1):(v=r,e._component=r=ie(o,s,a),r.nextBase=r.nextBase||h,r._parentComponent=e,re(r,s,0,a,!1),T(r,1,n,!0)),b=r.base):(o=f,(v=p)&&(o=e._component=null),!f&&1!==t||(o&&(o._component=null),s=o,t=u,o=a,u=n||!d,a=f&&f.parentNode,_++||(Z=null!=a&&void 0!==a.ownerSVGElement,ee=null!=s&&!("__preactattr_"in s)),s=te(s,t,o,u,!0),a&&s.parentNode!==a&&a.appendChild(s),--_||(ee=!1),b=s)),f&&b!==f&&r!==p&&(h=f.parentNode)&&b!==h&&(h.replaceChild(b,f),v||(f._component=null,ne(f,!1))),v&&oe(v),(e.base=b)&&!i){for(var y=e,w=e;w=w._parentComponent;)(y=w).base=b;b._component=y,b._componentConstructor=y.constructor}}for(!d||n?k.unshift(e):m||(e.componentDidUpdate&&e.componentDidUpdate(l,c,g),x.afterUpdate&&x.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);_||i||E()}}function oe(e){x.beforeUnmount&&x.beforeUnmount(e);var t=e.base,n=(e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null,e._component);n?oe(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),X(e.nextBase=t),p.push(e),f(t)),e.__ref&&e.__ref(null)}function g(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function v(e,t,n){return i={},_++||(Z=null!=t&&void 0!==t.ownerSVGElement,ee=null!=n&&!("__preactattr_"in n)),n=te(n,e,i,!1,!1),t&&n.parentNode!==t&&t.appendChild(n),--_||(ee=!1,E()),n;var i}C(g.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=C(C({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),s(this)}
1,forceUpdate:function(e){e&&this._renderCallbacks.push(e),T(this,2)},render:function(){}}),e.default={h:n,createElement:n,cloneElement:r,Component:g,render:v,rerender:d,options:x}},function(e,t){e=e.exports={version:"2.5.7"},"number"==typeof __e&&(__e=e)},function(e,t,n){var i=n(8),r=n(40);e.exports=n(3)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(9),r=n(38),o=n(39),s=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(2);e.exports=function(e){if(i(e))return e;throw TypeError(e+" is not an object!")}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(22);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(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){"use strict";var i=n(4);e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var i=n(0);i(i.S+i.F,"Object",{assign:n(41)})},function(e,t,n){var i=n(2),r=n(1).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var o=n(1),s=n(7),a=n(17),l=n(10)("src"),i="toString",r=Function[i],c=(""+r).split(i);n(6).inspectSource=function(e){return r.call(e)},(e.exports=function(e,t,n,i){var r="function"==typeof n;r&&!a(n,"name")&&s(n,"name",t),e[t]!==n&&(r&&!a(n,l)&&s(n,l,e[t]?""+e[t]:c.join(String(t))),e===o?e[t]=n:i?e[t]?e[t]=n:s(e,t,n):(delete e[t],s(e,t,n)))})(Function.prototype,i,function(){return"function"==typeof this&&this[l]||r.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var o=n(19);e.exports=function(i,r,e){if(o(i),void 0===r)return i;switch(e){case 1:return function(e){return i.call(r,e)};case 2:return function(e,t){return i.call(r,e,t)};case 3:return function(e,t,n){return i.call(r,e,t,n)}}return function(){return i.apply(r,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(42),r=n(28);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(11),r=n(12);e.exports=function(e){return i(r(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var l=n(21),c=n(24),u=n(43);e.exports=function(a){return function(e,t,n){var i,r=l(e),o=c(r.length),s=u(n,o);if(a&&t!=t){for(;s<o;)if((i=r[s++])!=i)return!0}else for(;s<o;s++)if((a||s in r)&&r[s]===t)return a||s||0;return!a&&-1}}},function(e,t,n){var i=n(25),r=Math.min;e.exports=function(e){return 0<e?r(i(e),9007199254740991):0}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?i:n)(e)}},function(e,t,n){var i=n(27)("keys"),r=n(10);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var i=n(6),r=n(1),o="__core-js_shared__",s=r[o]||(r[o]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(44)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(12);e.exports=function(e){return Object(i(e))}},function(e,t,n){var i=n(8).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(3)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var i=n(0),r=n(32)(1);i(i.P+i.F*!n(13)([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var y=n(18),w=n(11),x=n(29),C=n(24),i=n(47);e.exports=function(d,e){var h=1==d,f=2==d,p=3==d,m=4==d,g=6==d,v=5==d||g,b=e||i;return function(e,t,n){for(var i,r,o=x(e),s=w(o),a=y(t,n,3),l=C(s.length),c=0,u=h?b(e,l):f?b(e,0):void 0;c<l;c++)if((v||c in s)&&(r=a(i=s[c],c,o),d))if(h)u[c]=r;else if(r)switch(d){case 3:return!0;case 5:return i;case 6:return c;case 2:u.push(i)}else if(m)return!1;return g?-1:p||m?m:u}}},function(e,t,n){var i=n(22);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(27)("wks"),r=n(10),o=n(1).Symbol,s="function"==typeof o;
1(e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))}).store=i},function(e,t,n){"use strict";var i=n(0),r=n(23)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(s||!n(13)(o)),"Array",{indexOf:function(e){return s?o.apply(this,arguments)||0:r(this,e,arguments[1])}})},function(e,t,n){var i=n(0);i(i.S,"Object",{create:n(52)})},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0,n(14),n(30),n(31),n(35),n(49),n(50);var i=n(5),r=(n=n(51))&&n.__esModule?n:{default:n};function o(e){if(!e.element)throw new Error("element is not defined");if(!e.id)throw new Error("id is not defined");if(!e.source)throw new Error("source is not defined");var n;Array.isArray(e.source)&&(e.source=(n=e.source,function(t,e){e(n.filter(function(e){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}))})),(0,i.render)((0,i.createElement)(r.default,e),e.element)}o.enhanceSelectElement=function(n){if(!n.selectElement)throw new Error("selectElement is not defined");n.source||(e=[].filter.call(n.selectElement.options,function(e){return e.value||n.preserveNullOptions}),n.source=e.map(function(e){return e.textContent||e.innerText})),n.onConfirm=n.onConfirm||function(t){var e=[].filter.call(n.selectElement.options,function(e){return(e.textContent||e.innerText)===t})[0];e&&(e.selected=!0)},!n.selectElement.value&&void 0!==n.defaultValue||(e=n.selectElement.options[n.selectElement.options.selectedIndex],n.defaultValue=e.textContent||e.innerText),void 0===n.name&&(n.name=""),void 0===n.id&&(void 0===n.selectElement.id?n.id="":n.id=n.selectElement.id),void 0===n.autoselect&&(n.autoselect=!0);var e=document.createElement("div");n.selectElement.parentNode.insertBefore(e,n.selectElement),o(Object.assign({},n,{element:e})),n.selectElement.style.display="none",n.selectElement.id=n.selectElement.id+"-select"},t.default=o},function(e,t,n){e.exports=!n(3)&&!n(4)(function(){return 7!=Object.defineProperty(n(15)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(2);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e))||"function"==typeof(n=e.valueOf)&&!r(i=n.call(e))||!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var h=n(20),f=n(45),p=n(46),m=n(29),g=n(11),r=Object.assign;e.exports=!r||n(4)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=r({},e)[n]||Object.keys(r({},t)).join("")!=i})?function(e,t){for(var n=m(e),i=arguments.length,r=1,o=f.f,s=p.f;r<i;)for(var a,l=g(arguments[r++]),c=o?h(l).concat(o(l)):h(l),u=c.length,d=0;d<u;)s.call(l,a=c[d++])&&(n[a]=l[a]);return n}:r},function(e,t,n){var s=n(17),a=n(21),l=n(23)(!1),c=n(26)("IE_PROTO");e.exports=function(e,t){var n,i=a(e),r=0,o=[];for(n in i)n!=c&&s(i,n)&&o.push(n);for(;t.length>r;)s(i,n=t[r++])&&!~l(o,n)&&o.push(n);return o}},function(e,t,n){var i=n(25),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t){e.exports=!1},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(48);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(2),r=n(33),o=n(34)("species");e.exports=function(e){var t;return void 0===(t=r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t))&&null===(t=t[o])?void 0:t)?Array:t}},function(e,t,n){"use strict";var i=n(0),r=n(32)(2);i(i.P+i.F*!n(13)([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(0);i(i.S,"Array",{isArray:n(33)})},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0,n(14),n(36),n(30),n(31),n(35),n(55),n(58);var j=n(5),H=i(n(60)),n=i(n(61));function i(e){return e&&e.__esModule?e:{default:e}}function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var o={13:"enter",27:"escape",32:"space",38:"up",40:"down"};function q(){return"undefined"!=typeof navigator&&!(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||!navigator.userAgent.match(/AppleWeb
1Kit/g))}l=s=j.Component,(a=c).prototype=Object.create(l.prototype),(a.prototype.constructor=a).__proto__=l,(a=c.prototype).isQueryAnOption=function(e,t){var n=this;return-1!==t.map(function(e){return n.templateInputValue(e).toLowerCase()}).indexOf(e.toLowerCase())},a.componentDidMount=function(){this.pollInputElement()},a.componentWillUnmount=function(){clearTimeout(this.$pollInput)},a.pollInputElement=function(){var e=this;this.getDirectInputChanges(),this.$pollInput=setTimeout(function(){e.pollInputElement()},100)},a.getDirectInputChanges=function(){var e=this.elementReferences[-1];e&&e.value!==this.state.query&&this.handleInputChange({target:{value:e.value}})},a.componentDidUpdate=function(e,t){var n=this.state.focused,i=t.focused!==n;i&&null!==n&&this.elementReferences[n].focus(),i=i&&null===t.focused,-1===n&&i&&(t=this.elementReferences[n]).setSelectionRange(0,t.value.length)},a.hasAutoselect=function(){return!q()&&this.props.autoselect},a.templateInputValue=function(e){var t=this.props.templates&&this.props.templates.inputValue;return t?t(e):e},a.templateSuggestion=function(e){var t=this.props.templates&&this.props.templates.suggestion;return t?t(e):e},a.handleComponentBlur=function(e){var t,n=(r=this.state).options,i=r.query,r=r.selected;this.props.confirmOnBlur?(t=e.query||i,this.props.onConfirm(n[r])):t=i,this.setState({focused:null,menuOpen:e.menuOpen||!1,query:t,selected:null,validChoiceMade:this.isQueryAnOption(t,n)})},a.handleListMouseLeave=function(e){this.setState({hovered:null})},a.handleOptionBlur=function(e,t){var n=(o=this.state).focused,i=o.menuOpen,r=o.options,o=o.selected,s=null===e.relatedTarget,e=e.relatedTarget===this.elementReferences[-1];(!(t=n!==t&&-1!==n)&&s||!t&&!e)&&(n=i&&q(),this.handleComponentBlur({menuOpen:n,query:this.templateInputValue(r[o])}))},a.handleInputBlur=function(e){var t=(o=this.state).focused,n=o.menuOpen,i=o.options,r=o.query,o=o.selected;-1===t&&(t=n&&q(),n=q()?r:this.templateInputValue(i[o]),this.handleComponentBlur({menuOpen:t,query:n}))},a.handleInputChange=function(e){var n=this,t=(r=this.props).minLength,i=r.source,r=r.showAllValues,o=this.hasAutoselect(),s=0===(e=e.target.value).length,a=this.state.query.length!==e.length,t=e.length>=t;this.setState({query:e,ariaHint:s}),r||!s&&a&&t?i(e,function(e){var t=0<e.length;n.setState({menuOpen:t,options:e,selected:o&&t?0:-1,validChoiceMade:!1})}):!s&&t||this.setState({menuOpen:!1,options:[]})},a.handleInputClick=function(e){this.handleInputChange(e)},a.handleInputFocus=function(e){var t=(i=this.state).query,n=i.validChoiceMade,i=i.options,r=this.props.minLength,o=!n&&t.length>=r&&0<i.length;o?this.setState(function(e){return e=e.menuOpen,{focused:-1,menuOpen:o||e,selected:-1}}):this.setState({focused:-1})},a.handleOptionFocus=function(e){this.setState({focused:e,hovered:null,selected:e})},a.handleOptionMouseEnter=function(e,t){q()||this.setState({hovered:t})},a.handleOptionClick=function(e,t){var t=this.state.options[t],n=this.templateInputValue(t);this.props.onConfirm(t),this.setState({focused:-1,hovered:null,menuOpen:!1,query:n,selected:-1,validChoiceMade:!0}),this.forceUpdate()},a.handleOptionMouseDown=function(e){e.preventDefault()},a.handleUpArrow=function(e){e.preventDefault();var t=(e=this.state).menuOpen;-1!==(e=e.selected)&&t&&this.handleOptionFocus(e-1)},a.handleDownArrow=function(e){var t,n,i=this;e.preventDefault(),this.props.showAllValues&&!1===this.state.menuOpen?(e.preventDefault(),this.props.source("",function(e){i.setState({menuOpen:!0,options:e,selected:0,focused:0,hovered:null})})):!0===this.state.menuOpen&&(t=(e=this.state).menuOpen,n=e.options,(e=e.selected)!==n.length-1)&&t&&this.handleOptionFocus(e+1)},a.handleSpace=function(e){var t=this;this.props.showAllValues&&!1===this.state.menuOpen&&""===this.state.query&&(e.preventDefault(),this.props.source("",function(e){t.setState({menuOpen:!0,options:e})})),-1!==this.state.focused&&(e.preventDefault(),this.handleOptionClick(e,this.state.focused))},a.handleEnter=function(e){this.state.menuOpen&&(e.preventDefault(),0<=this.state.selected)&&this.handleOptionClick(e,this.state.selected)},a.handlePrintableKey=function(e){var t=this.elementReferences[-1];e.target!==t&&t.focus()},a.handleKeyDown=function(e){switch(o[e.keyCode]){case"up":this.handleUpArrow(e);break;case"down":this.handleDownArrow(e);break;case"space":this.handleSpace(e);break;case"enter":this.handleEnter(e);break;case"escape":this.handleComponentBlur({query:this.state.query});break;default:(47<(t=e.keyCode)&&t<58||32===t||8===t||64<t&&t<91||95<t&&t<112||185<t&&t<193||218<t&&t<223)&&this.handlePrintableKey(e)}var t},a.render=function(){var e,o=this,t=(g=this.props).cssNamespace,n=g.displayMenu,s=g.id,i=g.minLength,r=g.name,a=g.placeholder,l=g.required,
1c=g.showAllValues,u=g.tNoResults,d=g.tStatusQueryTooShort,h=g.tStatusNoResults,f=g.tStatusSelectedOption,p=g.tStatusResults,m=g.tAssistiveHint,g=g.dropdownArrow,v=(_=this.state).focused,b=_.hovered,y=_.menuOpen,w=_.options,x=_.query,C=_.selected,k=_.ariaHint,_=_.validChoiceMade,E=this.hasAutoselect(),T=0===w.length,S=0!==x.length,D=x.length>=i,T=this.props.showNoOptionsFound&&-1===v&&T&&S&&D,S=t+"__wrapper",D=t+"__input",$=null!==v?" "+D+"--focused":"",I=this.props.showAllValues?" "+D+"--show-all-values":" "+D+"--default",A=t+"__dropdown-arrow-down",L=-1!==v&&null!==v,O=t+"__menu",n=O+"--"+n,P=O+"--"+(y||T?"visible":"hidden"),N=t+"__option",F=t+"__hint",E=(M=this.templateInputValue(w[C]))&&0===M.toLowerCase().indexOf(x.toLowerCase())&&E?x+M.substr(x.length):"",M=s+"__assistiveHint",k=k?{"aria-describedby":M}:null;return c&&"string"==typeof(e=g({className:A}))&&(e=(0,j.createElement)("div",{className:t+"__dropdown-arrow-down-wrapper",dangerouslySetInnerHTML:{__html:e}})),(0,j.createElement)("div",{className:S,onKeyDown:this.handleKeyDown},(0,j.createElement)(H.default,{id:s,length:w.length,queryLength:x.length,minQueryLength:i,selectedOption:this.templateInputValue(w[C]),selectedOptionIndex:C,validChoiceMade:_,isInFocus:null!==this.state.focused,tQueryTooShort:d,tNoResults:h,tSelectedOption:f,tResults:p}),E&&(0,j.createElement)("span",null,(0,j.createElement)("input",{className:F,readonly:!0,tabIndex:"-1",value:E})),(0,j.createElement)("input",R({"aria-expanded":y?"true":"false","aria-activedescendant":!!L&&s+"__option--"+v,"aria-owns":s+"__listbox","aria-autocomplete":this.hasAutoselect()?"both":"list"},k,{autoComplete:"off",className:D+$+I,id:s,onClick:function(e){return o.handleInputClick(e)},onBlur:this.handleInputBlur},{onInput:this.handleInputChange},{onFocus:this.handleInputFocus,name:r,placeholder:a,ref:function(e){o.elementReferences[-1]=e},type:"text",role:"combobox",required:l,value:x})),e,(0,j.createElement)("ul",{className:O+" "+n+" "+P,onMouseLeave:function(e){return o.handleListMouseLeave(e)},id:s+"__listbox",role:"listbox"},w.map(function(e,t){var n=(-1===v?C===t:v===t)&&null===b?" "+N+"--focused":"",i=t%2?" "+N+"--odd":"",r=q()?"<span id="+s+"__option-suffix--"+t+' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> '+(t+1)+" of "+w.length+"</span>":"";return(0,j.createElement)("li",{"aria-selected":v===t?"true":"false",className:N+n+i,dangerouslySetInnerHTML:{__html:o.templateSuggestion(e)+r},id:s+"__option--"+t,key:t,onBlur:function(e){return o.handleOptionBlur(e,t)},onClick:function(e){return o.handleOptionClick(e,t)},onMouseDown:o.handleOptionMouseDown,onMouseEnter:function(e){return o.handleOptionMouseEnter(e,t)},ref:function(e){o.elementReferences[t]=e},role:"option",tabIndex:"-1","aria-posinset":t+1,"aria-setsize":w.length})}),T&&(0,j.createElement)("li",{className:N+" "+N+"--no-results"},u())),(0,j.createElement)("span",{id:M,style:{display:"none"}},m()))};var s,a,l=c;function c(e){var t;return(t=s.call(this,e)||this).elementReferences={},t.state={focused:null,hovered:null,menuOpen:!1,options:e.defaultValue?[e.defaultValue]:[],query:e.defaultValue,validChoiceMade:!1,selected:null,ariaHint:!0},t.handleComponentBlur=t.handleComponentBlur.bind(r(r(t))),t.handleKeyDown=t.handleKeyDown.bind(r(r(t))),t.handleUpArrow=t.handleUpArrow.bind(r(r(t))),t.handleDownArrow=t.handleDownArrow.bind(r(r(t))),t.handleEnter=t.handleEnter.bind(r(r(t))),t.handlePrintableKey=t.handlePrintableKey.bind(r(r(t))),t.handleListMouseLeave=t.handleListMouseLeave.bind(r(r(t))),t.handleOptionBlur=t.handleOptionBlur.bind(r(r(t))),t.handleOptionClick=t.handleOptionClick.bind(r(r(t))),t.handleOptionFocus=t.handleOptionFocus.bind(r(r(t))),t.handleOptionMouseDown=t.handleOptionMouseDown.bind(r(r(t))),t.handleOptionMouseEnter=t.handleOptionMouseEnter.bind(r(r(t))),t.handleInputBlur=t.handleInputBlur.bind(r(r(t))),t.handleInputChange=t.handleInputChange.bind(r(r(t))),t.handleInputFocus=t.handleInputFocus.bind(r(r(t))),t.pollInputElement=t.pollInputElement.bind(r(r(t))),t.getDirectInputChanges=t.getDirectInputChanges.bind(r(r(t))),t}(t.default=l).defaultProps={autoselect:!1,cssNamespace:"autocomplete",defaultValue:"",displayMenu:"inline",minLength:0,name:"input-autocomplete",placeholder:"",onConfirm:function(){},confirmOnBlur:!0,showNoOptionsFound:!0,showAllValues:!1,required:!1,tNoResults:function(){return"No results found"},tAssistiveHint:function(){return"When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures."},dropdownArrow:n.default}},function(e,t,n){function i(){}var r=n(9),o=n(53),s=n(28),a=n(26)("IE_PROTO"),l="prototype",c=function(){var e=n(15)("iframe"),t=s.length;for(e.style.display="none",n(54).appendChild(e),e.src="javascript:",(e=e.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;t--;)delete c[l][s[t]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(i[l]=r(e),n=new i,i[l]=null,n[a]=e):n=c(),void 0===t?n:o(n,t)}},function(e,t,n){var s=n(8),a=n(9),l=n(20);e.exports=n(3)?Object.defineProperties:function(e,t){a(e);for(var n,i=l(t),r=i.length,o=0;o<r;)s.f(e,n=i[o++],t[n]);return e}},function(e,t,n){n=n(1).document,e.exports=n&&n.documentElement},function(e,t,n){var i=n(0);i(i.P,"Function",{bind:n(56)})},function(e,t,n){"use strict";var i=n(19),r=n(2),u=n(57),d=[].slice,h={};e.exports=Function.bind||function(s){function a(){var e=c.concat(d.call(arguments));if(this instanceof a){var t=l,n=e.length,i=e;if(!(n in h)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";h[n]=Function("F,a","return new F("+r.join(",")+")")}return h[n](t,i)}return u(l,e,s)}
1var l=i(this),c=d.call(arguments,1);return r(l.prototype)&&(a.prototype=l.prototype),a}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){n(59)("match",1,function(i,r,e){return[function(e){"use strict";var t=i(this),n=null==e?void 0:e[r];return void 0!==n?n.call(e,t):new RegExp(e)[r](String(t))},e]})},function(e,t,n){"use strict";var s=n(7),a=n(16),l=n(4),c=n(12),u=n(34);e.exports=function(t,e,n){var i=u(t),r=(n=n(c,i,""[t]))[0],o=n[1];l(function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})&&(a(String.prototype,t,r),s(RegExp.prototype,i,2==e?function(e,t){return o.call(e,this,t)}:function(e){return o.call(e,this)}))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0,n(36);var r,i,p=n(5),n=(n=r=p.Component,(i=o).prototype=Object.create(n.prototype),(i.prototype.constructor=i).__proto__=n,(i=o.prototype).componentWillMount=function(){var n,i,e=this;this.debounceStatusUpdate=(n=function(){var t;e.state.debounced||(t=!e.props.isInFocus||e.props.validChoiceMade,e.setState(function(e){return{bump:!e.bump,debounced:!0,silenced:t}}))},function(){var e=this,t=arguments;clearTimeout(i),i=setTimeout(function(){i=null,n.apply(e,t)},1400)})},i.componentWillReceiveProps=function(e){e.queryLength,this.setState({debounced:!1})},i.render=function(){var e=(c=this.props).id,t=c.length,n=c.queryLength,i=c.minQueryLength,r=c.selectedOption,o=c.selectedOptionIndex,s=c.tQueryTooShort,a=c.tNoResults,l=c.tSelectedOption,c=c.tResults,u=(h=this.state).bump,d=h.debounced,h=h.silenced,n=n<i,f=0===t,l=r?l(r,t,o):"",r=n?s(i):f?a():c(t,l);return this.debounceStatusUpdate(),(0,p.createElement)("div",{style:{border:"0",clip:"rect(0 0 0 0)",height:"1px",marginBottom:"-1px",marginRight:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}},(0,p.createElement)("div",{id:e+"__status--A",role:"status","aria-atomic":"true","aria-live":"polite"},!h&&d&&u?r:""),(0,p.createElement)("div",{id:e+"__status--B",role:"status","aria-atomic":"true","aria-live":"polite"},h||!d||u?"":r))},o);function o(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r.call.apply(r,[this].concat(n))||this).state={bump:!1,debounced:!1},e}(t.default=n).defaultProps={tQueryTooShort:function(e){return"Type in "+e+" or more characters for results"},tNoResults:function(){return"No search results"},tSelectedOption:function(e,t,n){return e+" "+(n+1)+" of "+t+" is highlighted"},tResults:function(e,t){return e+" "+(1===e?"result":"results")+" "+(1===e?"is":"are")+" available. "+t}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i=n(5);t.default=function(e){return e=e.className,(0,i.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:e,focusable:"false"},(0,i.createElement)("g",{stroke:"none",fill:"none","fill-rule":"evenodd"},(0,i.createElement)("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})))}}],i={},r.m=n,r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=37).default;function r(e){var t;return(i[e]||(t=i[e]={i:e,l:!1,exports:{}},n[e].call(t.exports,t,t.exports,r),t.l=!0,t)).exports}var n,i}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap={},e.jQuery,e.Popper)}(this,function(e,t,n){"use strict";function P(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=P(t),F=P(n);function j(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,n){t&&j(e.prototype,t),n&&j(e,n)}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}
1function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var R="transitionend";var d={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=(e=e.getAttribute("href"))&&"#"!==e?e.trim():"");try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){var t,n,i;return e&&(t=u.default(e).css("transition-duration"),e=u.default(e).css("transition-delay"),n=parseFloat(t),i=parseFloat(e),n||i)?(t=t.split(",")[0],e=e.split(",")[0],1e3*(parseFloat(t)+parseFloat(e))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){u.default(e).trigger(R)},supportsTransitionEnd:function(){return Boolean(R)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=(o=t[i])&&d.isElement(o)?"element":null==o?""+o:{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(o))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+o+'" but expected type "'+r+'".')}},findShadowRoot:function(e){return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?d.findShadowRoot(e.parentNode):null:null;var t},jQueryDetection:function(){if(void 0===u.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=u.default.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}},r=(d.jQueryDetection(),u.default.fn.emulateTransitionEnd=function(e){var t=this,n=!1;return u.default(this).one(d.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||d.triggerTransitionEnd(t)},e),this},u.default.event.special[d.TRANSITION_END]={bindType:R,delegateType:R,handle:function(e){if(u.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},"alert"),q="bs.alert",B=u.default.fn[r],s=((T=E.prototype).close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},T.dispose=function(){u.default.removeData(this._element,q),this._element=null},T._getRootElement=function(e){var t=d.getSelectorFromElement(e);return!!t&&document.querySelector(t)||u.default(e).closest(".alert")[0]},T._triggerCloseEvent=function(e){var t=u.default.Event("close.bs.alert");return u.default(e).trigger(t),t},T._removeElement=function(t){var e,n=this;u.default(t).removeClass("show"),u.default(t).hasClass("fade")?(e=d.getTransitionDurationFromElement(t),u.default(t).one(d.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)):this._destroyElement(t)},T._destroyElement=function(e){u.default(e).detach().trigger("closed.bs.alert").remove()},E._jQueryInterface=function(n){return this.each(function(){var e=u.default(this),t=e.data(q);t||(t=new E(this),e.data(q,t)),"close"===n&&t[n](this)})},E._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},i(E,null,[{key:"VERSION",get:function(){return"4.6.1"}}]),E),W=(u.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',s._handleDismiss(new s)),u.default.fn[r]=s._jQueryInterface,u.default.fn[r].Constructor=s,u.default.fn[r].noConflict=function(){return u.default.fn[r]=B,s._jQueryInterface},"button"),z="bs.button",U=u.default.fn[W],l="active",t='[data-toggle^="button"]',Y='input:not([type="hidden"])',V=((T=Ue.prototype).toggle=function(){var e,t=!0,n=!0,i=u.default(this._element).closest('[data-toggle="buttons"]')[0];i&&(e=this._element.querySelector(Y))&&("radio"===e.type&&(e.checked&&this._element.classList.contains(l)?t=!1:(i=i.querySelector(".active"))&&u.default(i).removeClass(l)),t&&("checkbox"!==e.type&&"radio"!==e.type||(e.checked=!this._element.classList.contains(l)),this.shouldAvoidTriggerChange||u.default(e).trigger("change")),e.focus(),n=!1),this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(l)),t&&u.default(this._element).toggleClass(l))},T.dispose=function(){u.default.removeData(this._element,z),this._element=null},Ue._jQueryInterface=function(n,i){return this.each(function(){var e=u.default(this),t=e.data(z);t||(t=new Ue(this),e.data(z,t)),t.shouldAvoidTriggerChange=i,"toggle"===n&&t[n]()})},i(Ue,null,[{key:"VERSION",get:function(){return"4.6.1"}}]),Ue),a=(u.default(document).on("click.bs.button.data-api",t,function(e){var t,n=e.target,i=n;!(n=u.default(n).hasClass("btn")?n:u.default(n).closest(".btn")[0])||n.hasAttribute("disabled")||n.classList.contains("disabled")||(t=n.querySelector(Y))&&(t.hasAttribute("disabled")||t.classList.contains("disabled"))?e.preventDefault():"INPUT"!==i.tagName&&"LABEL"===n.tagName||V._jQueryInterface.call(u.default(n),"toggle","INPUT"===i.tagName)}).on("focus.bs.button.data-api blur.bs.button.data-api",t,function(e){var t=u.default(e.target).closest(".btn")[0];u.default(t).toggleClass("focus",/^focus(in)?$/.test(e.type))}),u.default(window).on("load.bs.button.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),t=0,n=e.length;t<n;t++){var i=e[t],r=i.querySelector(Y);r.checked||r.hasAttribute("checked")?i.classList.add(l):i.classList.remove(l)}for(var o=0,s=(e=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;o<s;o++){var a=e[o];"true"===a.getAttribute("aria-pressed")?a.classList.add(l):a.classList.remove(l)}}),u.default.fn[W]=V._jQueryInterface,u.default.fn[W].Constructor=V,u.default.fn[W].noConflict=function(){return u.default.fn[W]=U,V._jQueryInterface},"carousel"),G="bs.carousel",K="."+G,Q=u.default.fn[a],h="active",X="next",J="prev",Z="slid"+K,ee=".active.carousel-item",te={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},ne={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},ie={TOUCH:"touch",PEN:"pen"},c=((T=_.prototype).next=function(){this._isSliding||this._slide(X)},T.nextWhenVisible=function(){var e=u.default(this._element);
1!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},T.prev=function(){this._isSliding||this._slide(J)},T.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(d.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},T.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},T.to=function(e){var t=this,n=(this._activeElement=this._element.querySelector(ee),this._getItemIndex(this._activeElement));e>this._items.length-1||e<0||(this._isSliding?u.default(this._element).one(Z,function(){return t.to(e)}):n===e?(this.pause(),this.cycle()):this._slide(n<e?X:J,this._items[e]))},T.dispose=function(){u.default(this._element).off(K),u.default.removeData(this._element,G),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},T._getConfig=function(e){return e=o({},te,e),d.typeCheckConfig(a,e,ne),e},T._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);e<=40||(e/=this.touchDeltaX,(this.touchDeltaX=0)<e&&this.prev(),e<0&&this.next())},T._addEventListeners=function(){var t=this;this._config.keyboard&&u.default(this._element).on("keydown.bs.carousel",function(e){return t._keydown(e)}),"hover"===this._config.pause&&u.default(this._element).on("mouseenter.bs.carousel",function(e){return t.pause(e)}).on("mouseleave.bs.carousel",function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},T._addTouchEventListeners=function(){var e,t,n=this;this._touchSupported&&(e=function(e){n._pointerEvent&&ie[e.originalEvent.pointerType.toUpperCase()]?n.touchStartX=e.originalEvent.clientX:n._pointerEvent||(n.touchStartX=e.originalEvent.touches[0].clientX)},t=function(e){n._pointerEvent&&ie[e.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=e.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(e){return n.cycle(e)},500+n._config.interval))},u.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(e){return e.preventDefault()}),this._pointerEvent?(u.default(this._element).on("pointerdown.bs.carousel",e),u.default(this._element).on("pointerup.bs.carousel",t),this._element.classList.add("pointer-event")):(u.default(this._element).on("touchstart.bs.carousel",e),u.default(this._element).on("touchmove.bs.carousel",function(e){n.touchDeltaX=e.originalEvent.touches&&1<e.originalEvent.touches.length?0:e.originalEvent.touches[0].clientX-n.touchStartX}),u.default(this._element).on("touchend.bs.carousel",t)))},T._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},T._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(e)},T._getItemByDirection=function(e,t){var n=e===X,i=e===J,r=this._getItemIndex(t),o=this._items.length-1;return(i&&0===r||n&&r===o)&&!this._config.wrap?t:-1==(i=(r+(e===J?-1:1))%this._items.length)?this._items[this._items.length-1]:this._items[i]},T._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(ee)),e=u.default.Event("slide.bs.carousel",{relatedTarget:e,direction:t,from:i,to:n});return u.default(this._element).trigger(e),e},T._setActiveIndicatorElement=function(e){var t;this._indicatorsElement&&(t=[].slice.call(this._indicatorsElement.querySelectorAll(".active")),u.default(t).removeClass(h),t=this._indicatorsElement.children[this._getItemIndex(e)])&&u.default(t).addClass(h)},T._updateInterval=function(){var e=this._activeElement||this._element.querySelector(ee);e&&((e=parseInt(e.getAttribute("data-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval)},T._slide=function(e,t){var n,i,r,o=this,s=this._element.querySelector(ee),a=this._getItemIndex(s),l=t||s&&this._getItemByDirection(e,s),t=this._getItemIndex(l),c=Boolean(this._interval),e=e===X?(n="carousel-item-left",i="carousel-item-next","left"):(n="carousel-item-right",i="carousel-item-prev","right");l&&u.default(l).hasClass(h)?this._isSliding=!1:this._triggerSlideEvent(l,e).isDefaultPrevented()||s&&l&&(this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(l),this._activeElement=l,r=u.default.Event(Z,{relatedTarget:l,direction:e,from:a,to:t}),u.default(this._element).hasClass("slide")?(u.default(l).addClass(i),d.reflow(l),u.default(s).addClass(n),u.default(l).addClass(n),e=d.getTransitionDurationFromElement(s),u.default(s).one(d.TRANSITION_END,function(){u.default(l).removeClass(n+" "+i).addClass(h),u.default(s).removeClass(h+" "+i+" "+n),o._isSliding=!1,setTimeout(function(){return u.default(o._element).trigger(r)},0)}).emulateTransitionEnd(e)):(u.default(s).removeClass(h),u.default(l).addClass(h),this._isSliding=!1,u.default(this._element).trigger(r)),c)&&this.cycle()},_._jQueryInterface=function(i){return this.each(function(){var e=u.default(this).data(G),t=o({},te,u.default(this).data()),n=("object"==typeof i&&(t=o({},t,i)),"string"==typeof i?i:t.slide);
1if(e||(e=new _(this,t),u.default(this).data(G,e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&&t.ride&&(e.pause(),e.cycle())})},_._dataApiClickHandler=function(e){var t,n,i=d.getSelectorFromElement(this);(i=i&&u.default(i)[0])&&u.default(i).hasClass("carousel")&&(t=o({},u.default(i).data(),u.default(this).data()),(n=this.getAttribute("data-slide-to"))&&(t.interval=!1),_._jQueryInterface.call(u.default(i),t),n&&u.default(i).data(G).to(n),e.preventDefault())},i(_,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return te}}]),_),f=(u.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",c._dataApiClickHandler),u.default(window).on("load.bs.carousel.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),t=0,n=e.length;t<n;t++){var i=u.default(e[t]);c._jQueryInterface.call(i,i.data())}}),u.default.fn[a]=c._jQueryInterface,u.default.fn[a].Constructor=c,u.default.fn[a].noConflict=function(){return u.default.fn[a]=Q,c._jQueryInterface},"collapse"),p="bs.collapse",re=u.default.fn[f],m="show",oe="collapse",se="collapsing",ae="collapsed",le='[data-toggle="collapse"]',ce={toggle:!0,parent:""},ue={toggle:"boolean",parent:"(string|element)"},de=((T=k.prototype).toggle=function(){u.default(this._element).hasClass(m)?this.hide():this.show()},T.show=function(){var e,t,n,i,r=this;this._isTransitioning||u.default(this._element).hasClass(m)||(e=this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(oe)})).length?null:e)&&(i=u.default(e).not(this._selector).data(p))&&i._isTransitioning||(n=u.default.Event("show.bs.collapse"),u.default(this._element).trigger(n),n.isDefaultPrevented())||(e&&(k._jQueryInterface.call(u.default(e).not(this._selector),"hide"),i||u.default(e).data(p,null)),t=this._getDimension(),u.default(this._element).removeClass(oe).addClass(se),this._element.style[t]=0,this._triggerArray.length&&u.default(this._triggerArray).removeClass(ae).attr("aria-expanded",!0),this.setTransitioning(!0),n="scroll"+(t[0].toUpperCase()+t.slice(1)),i=d.getTransitionDurationFromElement(this._element),u.default(this._element).one(d.TRANSITION_END,function(){u.default(r._element).removeClass(se).addClass(oe+" "+m),r._element.style[t]="",r.setTransitioning(!1),u.default(r._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(i),this._element.style[t]=this._element[n]+"px")},T.hide=function(){var e=this;if(!this._isTransitioning&&u.default(this._element).hasClass(m)){var t=u.default.Event("hide.bs.collapse");if(u.default(this._element).trigger(t),!t.isDefaultPrevented()){var t=this._getDimension(),n=(this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",d.reflow(this._element),u.default(this._element).addClass(se).removeClass(oe+" "+m),this._triggerArray.length);if(0<n)for(var i=0;i<n;i++){var r=this._triggerArray[i],o=d.getSelectorFromElement(r);null===o||u.default([].slice.call(document.querySelectorAll(o))).hasClass(m)||u.default(r).addClass(ae).attr("aria-expanded",!1)}this.setTransitioning(!0),this._element.style[t]="",t=d.getTransitionDurationFromElement(this._element),u.default(this._element).one(d.TRANSITION_END,function(){e.setTransitioning(!1),u.default(e._element).removeClass(se).addClass(oe).trigger("hidden.bs.collapse")}).emulateTransitionEnd(t)}}},T.setTransitioning=function(e){this._isTransitioning=e},T.dispose=function(){u.default.removeData(this._element,p),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},T._getConfig=function(e){return(e=o({},ce,e)).toggle=Boolean(e.toggle),d.typeCheckConfig(f,e,ue),e},T._getDimension=function(){return u.default(this._element).hasClass("width")?"width":"height"},T._getParent=function(){var e,n=this,t=(d.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent),'[data-toggle="collapse"][data-parent="'+this._config.parent+'"]'),t=[].slice.call(e.querySelectorAll(t));return u.default(t).each(function(e,t){n._addAriaAndCollapsedClass(k._getTargetFromElement(t),[t])}),e},T._addAriaAndCollapsedClass=function(e,t){e=u.default(e).hasClass(m),t.length&&u.default(t).toggleClass(ae,!e).attr("aria-expanded",e)},k._getTargetFromElement=function(e){return(e=d.getSelectorFromElement(e))?document.querySelector(e):null},k._jQueryInterface=function(i){return this.each(function(){var e=u.default(this),t=e.data(p),n=o({},ce,e.data(),"object"==typeof i&&i?i:{});if(!t&&n.toggle&&"string"==typeof i&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new k(this,n),e.data(p,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i]()}})},i(k,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return ce}}]),k),g=(u.default(document).on("click.bs.collapse.data-api",le,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=u.default(this),e=d.getSelectorFromElement(this),e=[].slice.call(document.querySelectorAll(e));u.default(e).each(function(){var e=u.default(this),t=e.data(p)?"toggle":n.data();de._jQueryInterface.call(e,t)})}),u.default.fn[f]=de._jQueryInterface,u.default.fn[f].Constructor=de,u.default.fn[f].noConflict=function(){return u.default.fn[f]=re,de._jQueryInterface},"dropdown"),he="bs.dropdown",fe="."+he,n=".data-api",pe=u.default.fn[g],me=new RegExp("38|40|27"),ge="disabled",v="show",ve="dropdown-menu-right",be="hide"+fe,ye="hidden"+fe,t="click"+fe+n,n="keydown"+fe+n,we='[data-toggle="dropdown"]',xe=".dropdown-menu",Ce={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},ke={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},b=((T=C.prototype).toggle=function(){var e;this._element.disabled||u.default(this._element).hasClass(ge)||(e=u.default(this._menu).hasClass(v),C._clearMenus(),e)||this.show(!0)},T.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||u.default(this._element).hasClass(ge)||u.default(this._menu).hasClass(v))){var t={relatedTarget:this._element},n=u.default.Event("show.bs.dropdown",t),i=C._getParentFromElement(this._element);if(u.default(i).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===F.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");n=this._element,"parent"===this._config.reference?n=i:d.isElement(this._config.reference)&&(n=this._config.reference,void 0!==this._config.reference.jquery)&&(n=this._config.reference[0]),"scrollParent"!==this._config.boundary&&u.default(i).addClass("position-static"),this._popper=new F.default(n,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===u.default(i).closest(".navbar-nav").length&&u.default(document.body).children().on("mouseover",null,u.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),u.default(this._menu).toggleClass(v),u.default(i).toggleClass(v).trigger(u.default.Event("shown.bs.dropdown",t))}}},T.hide=function(){var e,t,n;this._element.disabled||u.default(this._element).hasClass(ge)||!u.default(this._menu).hasClass(v)||(e={relatedTarget:this._element},t=u.default.Event(be,e),n=C._getParentFromElement(this._element),u.default(n).trigger(t),t.isDefaultPrevented())||(this._popper&&this._popper.destroy(),u.default(this._menu).toggleClass(v),u.default(n).toggleClass(v).trigger(u.default.Event(ye,e)))},T.dispose=function(){u.default.removeData(this._element,he),u.default(this._element).off(fe),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},T.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},T._addEventListeners=function(){var t=this;u.default(this._element).on("click.bs.dropdown",function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},T._getConfig=function(e){return e=o({},this.constructor.Default,u.default(this._element).data(),e),d.typeCheckConfig(g,e,this.constructor.DefaultType),e},T._getMenuElement=function(){var e;return this._menu||(e=C._getParentFromElement(this._element))&&(this._menu=e.querySelector(xe)),this._menu},T._getPlacement=function(){var e=u.default(this._element.parentNode),t="bottom-start";return e.hasClass("dropup")?t=u.default(this._menu).hasClass(ve)?"top-end":"top-start":e.hasClass("dropright")?t="right-start":e.hasClass("dropleft")?t="left-start":u.default(this._menu).hasClass(ve)&&(t="bottom-end"),t},T._detectNavbar=function(){return 0<u.default(this._element).closest(".navbar").length},T._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t._config.offset(e.offsets,t._element)),e}:e.offset=this._config.offset,e},T._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip}
1,preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),o({},e,this._config.popperConfig)},C._jQueryInterface=function(t){return this.each(function(){var e=u.default(this).data(he);if(e||(e=new C(this,"object"==typeof t?t:null),u.default(this).data(he,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},C._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(we)),n=0,i=t.length;n<i;n++){var r,o,s=C._getParentFromElement(t[n]),a=u.default(t[n]).data(he),l={relatedTarget:t[n]};e&&"click"===e.type&&(l.clickEvent=e),a&&(r=a._menu,!u.default(s).hasClass(v)||e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&u.default.contains(s,e.target)||(o=u.default.Event(be,l),u.default(s).trigger(o),o.isDefaultPrevented())||("ontouchstart"in document.documentElement&&u.default(document.body).children().off("mouseover",null,u.default.noop),t[n].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),u.default(r).removeClass(v),u.default(s).removeClass(v).trigger(u.default.Event(ye,l))))}},C._getParentFromElement=function(e){var t,n=d.getSelectorFromElement(e);return(t=n?document.querySelector(n):t)||e.parentNode},C._dataApiKeydownHandler=function(e){var t,n;(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||u.default(e.target).closest(xe).length):!me.test(e.which))||this.disabled||u.default(this).hasClass(ge)||(t=C._getParentFromElement(this),!(n=u.default(t).hasClass(v))&&27===e.which)||(e.preventDefault(),e.stopPropagation(),n&&27!==e.which&&32!==e.which?0!==(n=[].slice.call(t.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(e){return u.default(e).is(":visible")})).length&&(t=n.indexOf(e.target),38===e.which&&0<t&&t--,40===e.which&&t<n.length-1&&t++,n[t=t<0?0:t].focus()):(27===e.which&&u.default(t.querySelector(we)).trigger("focus"),u.default(this).trigger("click")))},i(C,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return Ce}},{key:"DefaultType",get:function(){return ke}}]),C),y=(u.default(document).on(n,we,b._dataApiKeydownHandler).on(n,xe,b._dataApiKeydownHandler).on(t+" keyup.bs.dropdown.data-api",b._clearMenus).on(t,we,function(e){e.preventDefault(),e.stopPropagation(),b._jQueryInterface.call(u.default(this),"toggle")}).on(t,".dropdown form",function(e){e.stopPropagation()}),u.default.fn[g]=b._jQueryInterface,u.default.fn[g].Constructor=b,u.default.fn[g].noConflict=function(){return u.default.fn[g]=pe,b._jQueryInterface},"modal"),_e="bs.modal",w="."+_e,Ee=u.default.fn[y],Te="modal-open",x="fade",Se="show",De="modal-static",$e="hidden"+w,Ie="show"+w,Ae="focusin"+w,Le="resize"+w,Oe="click.dismiss"+w,Ne="keydown.dismiss"+w,Me="mousedown.dismiss"+w,Pe=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Fe=".sticky-top",je={backdrop:!0,keyboard:!0,focus:!0,show:!0},He={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Re=((T=ze.prototype).toggle=function(e){return this._isShown?this.hide():this.show(e)},T.show=function(e){var t,n=this;this._isShown||this._isTransitioning||(t=u.default.Event(Ie,{relatedTarget:e}),u.default(this._element).trigger(t),t.isDefaultPrevented())||(this._isShown=!0,u.default(this._element).hasClass(x)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),u.default(this._element).on(Oe,'[data-dismiss="modal"]',function(e){return n.hide(e)}),u.default(this._dialog).on(Me,function(){u.default(n._element).one("mouseup.dismiss.bs.modal",function(e){u.default(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)}))},T.hide=function(e){var t=this;e&&e.preventDefault(),this._isShown&&!this._isTransitioning&&(e=u.default.Event("hide.bs.modal"),u.default(this._element).trigger(e),this._isShown)&&!e.isDefaultPrevented()&&(this._isShown=!1,(e=u.default(this._element).hasClass(x))&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),u.default(document).off(Ae),u.default(this._element).removeClass(Se),u.default(this._element).off(Oe),u.default(this._dialog).off(Me),e?(e=d.getTransitionDurationFromElement(this._element),u.default(this._element).one(d.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(e)):this._hideModal())},T.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return u.default(e).off(w)}),u.default(document).off(Ae),u.default.removeData(this._element,_e),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},T.handleUpdate=function(){this._adjustDialog()},T._getConfig=function(e){return e=o({},je,e),d.typeCheckConfig(y,e,He),e},T._triggerBackdropTransition=function(){var e,t,n=this,i=u.default.Event("hidePrevented.bs.modal");u.default(this._element).trigger(i),i.isDefaultPrevented()||((e=this._element.scrollHeight>document.documentElement.clientHeight)||(this._element.style.overflowY="hidden"),this._element.classList.add(De),t=d.getTransitionDurationFromElement(this._dialog),u.default(this._element).off(d.TRANSITION_END),u.default(this._element).one(d.TRANSITION_END,function(){n._element.classList.remove(De),e||u.default(n._element).one(d.TRANSITION_END,function(){n._element.style.overflowY=""}).emulateTransitionEnd(n._element,t)}).emulateTransitionEnd(t),this._element.focus())},T._showElement=function(e){function t(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,u.default(n._element).trigger(o)}var n=this,i=u.default(this._element).hasClass(x),r=this._dialog?this._dialog.querySelector(".modal-body"):null,o=(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),u.default(this._dialog).hasClass("modal-dialog-scrollable")&&r?r.scrollTop=0:this._element.scrollTop=0,i&&d.reflow(this._element),u.default(this._element).addClass(Se),this._config.focus&&this._enforceFocus(),u.default.Event("shown.bs.modal",{relatedTarget:e}));i?(r=d.getTransitionDurationFromElement(this._dialog),u.default(this._dialog).one(d.TRANSITION_END,t).emulateTransitionEnd(r)):t()},T._enforceFocus=function(){var t=this;u.default(document).off(Ae).on(Ae,function(e){document!==e.target&&t._element!==e.target&&0===u.default(t._element).has(e.target).length&&t._element.focus()})},T._setEscapeEvent=function(){var t=this;this._isShown?u.default(this._element).on(Ne,function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()}):this._isShown||u.default(this._element).off(Ne)},T._setResizeEvent=function(){var t=this;this._isShown?u.default(window).on(Le,function(e){return t.handleUpdate(e)}):u.default(window).off(Le)},T._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){u.default(document.body).removeClass(Te),e._resetAdjustments(),e._resetScrollbar(),u.default(e._element).trigger($e)})},T._removeBackdrop=function(){this._backdrop&&(u.default(this._backdrop).remove(),this._backdrop=null)},T._showBackdrop=function(e){var t,n=this,i=u.default(this._element).hasClass(x)?x:"";this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),u.default(this._backdrop).appendTo(document.body),u.default(this._element).on(Oe,function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===n._config.backdrop?n._triggerBackdropTransition():n.hide())}),i&&d.reflow(this._backdrop),u.default(this._backdrop).addClass(Se),e&&(i?(i=d.getTransitionDurationFromElement(this._backdrop),u.default(this._backdrop).one(d.TRANSITION_END,e).emulateTransitionEnd(i)):e())):!this._isShown&&this._backdrop?(u.default(this._backdrop).removeClass(Se),i=function(){n._removeBackdrop(),e&&e()},u.default(this._element).hasClass(x)?(t=d.getTransitionDurationFromElement(this._backdrop),u.default(this._backdrop).one(d.TRANSITION_END,i).emulateTransitionEnd(t)):i()):e&&e()},T._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},T._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},T._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},T._setScrollbar=function(){var e,t,r=this;this._isBodyOverflowing&&(e=[].slice.call(document.querySelectorAll(Pe)),t=[].slice.call(document.querySelectorAll(Fe)),u.default(e).each(function(e,t){var n=t.style.paddingRight,i=u.default(t).css("padding-right");u.default(t).data("padding-right",n).css("padding-right",parseFloat(i)+r._scrollbarWidth+"px")}),u.default(t).each(function(e,t){var n=t.style.marginRight,i=u.default(t).css("margin-right");u.default(t).data("margin-right",n).css("margin-right",parseFloat(i)-r._scrollbarWidth+"px")}),e=document.body.style.paddingRight,t=u.default(document.body).css("padding-right"),u.default(document.body).data("padding-right",e).css("padding-right",parseFloat(t)+this._scrollbarWidth+"px")),u.default(document.body).addClass(Te)},T._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(Pe)),e=(u.default(e).each(function(e,t){var n=u.default(t).data("padding-right");u.default(t).removeData("padding-right"),t.style.paddingRight=n||""}),[].slice.call(document.querySelectorAll(Fe))),e=(u.default(e).each(function(e,t){var n=u.default(t).data("margin-right");void 0!==n&&u.default(t).css("margin-right",n).removeData("margin-right")}),u.default(document.body).data("padding-right"));u.default(document.body).removeData("padding-right"),document.body.style.paddingRight=e||""},T._getScrollbarWidth=function(){var e=document.createElement("div"),t=(e.className="modal-scrollbar-measure",document.body.appendChild(e),e.getBoundingClientRect().width-e.clientWidth);return document.body.removeChild(e),t},ze._jQueryInterface=function(n,i){return this.each(function(){var e=u.default(this).data(_e),t=o({},je,u.default(this).data(),"object"==typeof n&&n?n:{});if(e||(e=new ze(this,t),u.default(this).data(_e,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method n
1amed "'+n+'"');e[n](i)}else t.show&&e.show(i)})},i(ze,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return je}}]),ze),qe=(u.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t,n=this,i=((i=d.getSelectorFromElement(this))&&(t=document.querySelector(i)),u.default(t).data(_e)?"toggle":o({},u.default(t).data(),u.default(this).data())),r=("A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault(),u.default(t).one(Ie,function(e){e.isDefaultPrevented()||r.one($e,function(){u.default(n).is(":visible")&&n.focus()})}));Re._jQueryInterface.call(u.default(t),i,this)}),u.default.fn[y]=Re._jQueryInterface,u.default.fn[y].Constructor=Re,u.default.fn[y].noConflict=function(){return u.default.fn[y]=Ee,Re._jQueryInterface},["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),n={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Be=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,We=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function ze(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}function C(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}function k(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(le)),i=0,r=n.length;i<r;i++){var o=n[i],s=d.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter(function(e){return e===t});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}function _(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}function Ue(e){this._element=e,this.shouldAvoidTriggerChange=!1}function E(e){this._element=e}function Ye(e,r,t){if(0===e.length)return e;if(t&&"function"==typeof t)return t(e);for(var t=(new window.DOMParser).parseFromString(e,"text/html"),o=Object.keys(r),s=[].slice.call(t.body.querySelectorAll("*")),n=0,i=s.length;n<i;n++)!function(e){var t=s[e],e=t.nodeName.toLowerCase();if(-1===o.indexOf(t.nodeName.toLowerCase()))return t.parentNode.removeChild(t);var n=[].slice.call(t.attributes),i=[].concat(r["*"]||[],r[e]||[]);n.forEach(function(e){!function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===qe.indexOf(n)||Boolean(Be.test(e.nodeValue)||We.test(e.nodeValue));for(var i=t.filter(function(e){return e instanceof RegExp}),r=0,o=i.length;r<o;r++)if(i[r].test(n))return 1}(e,i)&&t.removeAttribute(e.nodeName)})}(n);return t.body.innerHTML}var Ve,T,S="tooltip",Ge="bs.tooltip",D="."+Ge,Ke=u.default.fn[S],Qe="bs-tooltip",Xe=new RegExp("(^|\\s)"+Qe+"\\S+","g"),Je=["sanitize","whiteList","sanitizeFn"],Ze="fade",et="show",tt="show",nt="hover",it={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},rt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:n,popperConfig:null},ot={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},st={HIDE:"hide"+D,HIDDEN:"hidden"+D,SHOW:"show"+D,SHOWN:"shown"+D,INSERTED:"inserted"+D,CLICK:"click"+D,FOCUSIN:"focusin"+D,FOCUSOUT:"focusout"+D,MOUSEENTER:"mouseenter"+D,MOUSELEAVE:"mouseleave"+D},$=((T=jt.prototype).enable=function(){this._isEnabled=!0},T.disable=function(){this._isEnabled=!1},T.toggleEnabled=function(){this._isEnabled=!this._isEnabled},T.toggle=function(e){var t,n;this._isEnabled&&(e?(t=this.constructor.DATA_KEY,(n=u.default(e.currentTarget).data(t))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),u.default(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):u.default(this.getTipElement()).hasClass(et)?this._leave(null,this):this._enter(null,this))},T.dispose=function(){clearTimeout(this._timeout),u.default.removeData(this.element,this.constructor.DATA_KEY),u.default(this.element).off(this.constructor.EVENT_KEY),u.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&u.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},T.show=function(){var t=this;if("none"===u.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e,n,i=u.default.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(u.default(this.element).trigger(i),n=d.findShadowRoot(this.element),n=u.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element),!i.isDefaultPrevented())&&n&&(i=this.getTipElement(),n=d.getUID(this.constructor.NAME),i.setAttribute("id",n),this.element.setAttribute("aria-describedby",n),this.setContent(),this.config.animation&&u.default(i).addClass(Ze),n="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,n=this._getAttachment(n),this.addAttachmentClass(n),e=this._getContainer(),u.default(i).data(this.constructor.DATA_KEY,this),u.default.contains(this.element.ownerDocument.documentElement,this.tip)||u.default(i).appendTo(e),u.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new F.default(this.element,i,this._getPopperConfig(n)),u.default(i).addClass(et),u.default(i).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&u.default(document.body).children().on("mouseover",null,u.default.noop),e=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,u.default(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)},u.default(this.tip).hasClass(Ze)?(n=d.getTransitionDurationFromElement(this.tip),u.default(this.tip).one(d.TRANSITION_END,e).emulateTransitionEnd(n)):e())},T.hide=function(e){function t(){n._hoverState!==tt&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),u.default(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var n=this,i=this.getTipElement(),r=u.default.Event(this.constructor.Event.HIDE);u.default(this.element).trigger(r),r.isDefaultPrevented()||(u.default(i).removeClass(et),"ontouchstart"in document.documentElement&&u.default(document.body).children().off("mouseover",null,u.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger[nt]=!1,u.default(this.tip).hasClass(Ze)?(r=d.getTransitionDurationFromElement(i),u.default(i).one(d.TRANSITION_END,t).emulateTransitionEnd(r)):t(),this._hoverState="")},T.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},T.isWithContent=function(){return Boolean(this.getTitle())},T.addAttachmentClass=function(e){u.default(this.getTipElement()).addClass(Qe+"-"+e)},T.getTipElement=function(){return this.tip=this.tip||u.default(this.config.template)[0],this.tip},T.setContent=function(){var e=this.getTipElement();this.setElementContent(u.default(e.querySelectorAll(".tooltip-inner")),this.getTitle()),u.default(e).removeClass("fade show")},T.setElementContent=function(e,t){"object"==typeof t&&(t.nodeType||t.jquery)?this.config.html?u.default(t).parent().is(e)||e.empty().append(t):e.text(u.default(t).text()):this.config.html?(this.config.sanitize&&(t=Ye(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t)},T.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},T._getPopperConfig=function(e){var t=this;return o({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"}
1,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},T._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t.config.offset(e.offsets,t.element)),e}:e.offset=this.config.offset,e},T._getContainer=function(){return!1===this.config.container?document.body:d.isElement(this.config.container)?u.default(this.config.container):u.default(document).find(this.config.container)},T._getAttachment=function(e){return it[e.toUpperCase()]},T._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(e){var t;"click"===e?u.default(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)}):"manual"!==e&&(t=e===nt?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,e=e===nt?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,u.default(n.element).on(t,n.config.selector,function(e){return n._enter(e)}).on(e,n.config.selector,function(e){return n._leave(e)}))}),this._hideModalHandler=function(){n.element&&n.hide()},u.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},T._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},T._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||u.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),u.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?"focus":nt]=!0),u.default(t.getTipElement()).hasClass(et)||t._hoverState===tt?t._hoverState=tt:(clearTimeout(t._timeout),t._hoverState=tt,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===tt&&t.show()},t.config.delay.show):t.show())},T._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||u.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),u.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?"focus":nt]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},T._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},T._getConfig=function(e){var t=u.default(this.element).data();return Object.keys(t).forEach(function(e){-1!==Je.indexOf(e)&&delete t[e]}),"number"==typeof(e=o({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),d.typeCheckConfig(S,e,this.constructor.DefaultType),e.sanitize&&(e.template=Ye(e.template,e.whiteList,e.sanitizeFn)),e},T._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},T._cleanTipClass=function(){var e=u.default(this.getTipElement()),t=e.attr("class").match(Xe);null!==t&&t.length&&e.removeClass(t.join(""))},T._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},T._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(u.default(e).removeClass(Ze),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},jt._jQueryInterface=function(i){return this.each(function(){var e=u.default(this),t=e.data(Ge),n="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new jt(this,n),e.data(Ge,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i]()}})},i(jt,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return rt}},{key:"NAME",get:function(){return S}},{key:"DATA_KEY",get:function(){return Ge}},{key:"Event",get:function(){return st}},{key:"EVENT_KEY",get:function(){return D}},{key:"DefaultType",get:function(){return ot}}]),jt),I=(u.default.fn[S]=$._jQueryInterface,u.default.fn[S].Constructor=$,u.default.fn[S].noConflict=function(){return u.default.fn[S]=Ke,$._jQueryInterface},"popover"),at="bs.popover",A="."+at,lt=u.default.fn[I],ct="bs-popover",ut=new RegExp("(^|\\s)"+ct+"\\S+","g"),dt=o({},$.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),ht=o({},$.DefaultType,{content:"(string|element|function)"}),ft={HIDE:"hide"+A,HIDDEN:"hidden"+A,SHOW:"show"+A,SHOWN:"shown"+A,INSERTED:"inserted"+A,CLICK:"click"+A,FOCUSIN:"focusin"+A,FOCUSOUT:"focusout"+A,MOUSEENTER:"mouseenter"+A,MOUSELEAVE:"mouseleave"+A},pt=(n=Ve=$,(T=M).prototype=Object.create(n.prototype),H(T.prototype.constructor=T,n),(T=M.prototype).isWithContent=function(){return this.getTitle()||this._getContent()},T.addAttachmentClass=function(e){u.default(this.getTipElement()).addClass(ct+"-"+e)},T.getTipElement=function(){return this.tip=this.tip||u.default(this.config.template)[0],this.tip},T.setContent=function(){var e=u.default(this.getTipElement()),t=(this.setElementContent(e.find(".popover-header"),this.getTitle()),this._getContent());"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},T._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},T._cleanTipClass=function(){var e=u.default(this.getTipElement()),t=e.attr("class").match(ut);null!==t&&0<t.length&&e.removeClass(t.join(""))},M._jQueryInterface=function(n){return this.each(function(){var e=u.default(this).data(at),t="object"==typeof n?n:null;if((e||!/dispose|hide/.test(n))&&(e||(e=new M(this,t),u.default(this).data(at,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},i(M,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return dt}},{key:"NAME",get:function(){return I}},{key:"DATA_KEY",get:function(){return at}},{key:"Event",get:function(){return ft}},{key:"EVENT_KEY",get:function(){return A}},{key:"DefaultType",get:function(){return ht}}]),M),L=(u.default.fn[I]=pt._jQueryInterface,u.default.fn[I].Constructor=pt,u.default.fn[I].noConflict=function(){return u.default.fn[I]=lt,pt._jQueryInterface},"scrollspy"),mt="bs.scrollspy",gt=u.default.fn[L],O="active",vt=".nav, .list-group",bt=".nav-link",yt=".list-group-item",wt={offset:10,method:"auto",target:""},xt={offset:"number",method:"string",target:"(string|element)"},Ct=((n=Ft.prototype).refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?e:this._config.method,r="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t;if(t=(e=d.getSelectorFromElement(e))?document.querySelector(e):t){var n=t.getBoundingClientRect();if(n.width||n.height)return[u.default(t)[i]().top+r,e]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},n.dispose=function(){u.default.removeData(this._element,mt),u.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(e){var t;return"string"!=typeof(e=o({},wt,"object"==typeof e&&e?e:{})).target&&d.isElement(e.target)&&((t=u.default(e.target).attr("id"))||(t=d.getUID(L),u.default(e.target).attr("id",t)),e.target="#"+t),d.typeCheckConfig(L,e,xt),e},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e)t=this._targets[this._targets.length-1],this._activeTarget!==t&&this._activate(t);else if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])this._activeTarget=null,this._clear();else for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&(void 0===this._offsets[i+1]||e<this._offsets[i+1])&&this._activate(this._targets[i])},n._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'});((e=u.default([].slice.call(document.querySelectorAll(e.join(","))))).hasClass("dropdown-item")?(e.closest(".dropdown").find(".dropdown-toggle").addClass(O),e):(e.addClass(O),e.parents(vt).prev(bt+", "+yt).addClass(O),e.parents(vt).prev(".nav-item").children(bt))).addClass(O),u.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(O)}
1).forEach(function(e){return e.classList.remove(O)})},Ft._jQueryInterface=function(t){return this.each(function(){var e=u.default(this).data(mt);if(e||(e=new Ft(this,"object"==typeof t&&t),u.default(this).data(mt,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},i(Ft,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return wt}}]),Ft),kt=(u.default(window).on("load.bs.scrollspy.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),t=e.length;t--;){var n=u.default(e[t]);Ct._jQueryInterface.call(n,n.data())}}),u.default.fn[L]=Ct._jQueryInterface,u.default.fn[L].Constructor=Ct,u.default.fn[L].noConflict=function(){return u.default.fn[L]=gt,Ct._jQueryInterface},"bs.tab"),_t=u.default.fn.tab,Et="active",Tt="> li > .active",St=((T=Pt.prototype).show=function(){var e,t,n,i,r,o,s=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&u.default(this._element).hasClass(Et)||u.default(this._element).hasClass("disabled")||(t=u.default(this._element).closest(".nav, .list-group")[0],n=d.getSelectorFromElement(this._element),t&&(r="UL"===t.nodeName||"OL"===t.nodeName?Tt:".active",i=(i=u.default.makeArray(u.default(t).find(r)))[i.length-1]),r=u.default.Event("hide.bs.tab",{relatedTarget:this._element}),o=u.default.Event("show.bs.tab",{relatedTarget:i}),i&&u.default(i).trigger(r),u.default(this._element).trigger(o),o.isDefaultPrevented())||r.isDefaultPrevented()||(n&&(e=document.querySelector(n)),this._activate(this._element,t),o=function(){var e=u.default.Event("hidden.bs.tab",{relatedTarget:s._element}),t=u.default.Event("shown.bs.tab",{relatedTarget:i});u.default(i).trigger(e),u.default(s._element).trigger(t)},e?this._activate(e,e.parentNode,o):o())},T.dispose=function(){u.default.removeData(this._element,kt),this._element=null},T._activate=function(e,t,n){function i(){return r._transitionComplete(e,o,n)}var r=this,o=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?u.default(t).children(".active"):u.default(t).find(Tt))[0],t=n&&o&&u.default(o).hasClass("fade");o&&t?(t=d.getTransitionDurationFromElement(o),u.default(o).removeClass("show").one(d.TRANSITION_END,i).emulateTransitionEnd(t)):i()},T._transitionComplete=function(e,t,n){t&&(u.default(t).removeClass(Et),(i=u.default(t.parentNode).find("> .dropdown-menu .active")[0])&&u.default(i).removeClass(Et),"tab"===t.getAttribute("role"))&&t.setAttribute("aria-selected",!1),u.default(e).addClass(Et),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),d.reflow(e),e.classList.contains("fade")&&e.classList.add("show");var i=e.parentNode;(i=i&&"LI"===i.nodeName?i.parentNode:i)&&u.default(i).hasClass("dropdown-menu")&&((t=u.default(e).closest(".dropdown")[0])&&(i=[].slice.call(t.querySelectorAll(".dropdown-toggle")),u.default(i).addClass(Et)),e.setAttribute("aria-expanded",!0)),n&&n()},Pt._jQueryInterface=function(n){return this.each(function(){var e=u.default(this),t=e.data(kt);if(t||(t=new Pt(this),e.data(kt,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},i(Pt,null,[{key:"VERSION",get:function(){return"4.6.1"}}]),Pt),N=(u.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),St._jQueryInterface.call(u.default(this),"show")}),u.default.fn.tab=St._jQueryInterface,u.default.fn.tab.Constructor=St,u.default.fn.tab.noConflict=function(){return u.default.fn.tab=_t,St._jQueryInterface},"toast"),Dt="bs.toast",t="."+Dt,$t=u.default.fn[N],It="show",At="click.dismiss"+t,Lt={animation:!0,autohide:!0,delay:500},Ot={animation:"boolean",autohide:"boolean",delay:"number"},Nt=((n=Mt.prototype).show=function(){var e,t=this,n=u.default.Event("show.bs.toast");u.default(this._element).trigger(n),n.isDefaultPrevented()||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),n=function(){t._element.classList.remove("showing"),t._element.classList.add(It),u.default(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout(function(){t.hide()},t._config.delay))},this._element.classList.remove("hide"),d.reflow(this._element),this._element.classList.add("showing"),this._config.animation?(e=d.getTransitionDurationFromElement(this._element),u.default(this._element).one(d.TRANSITION_END,n).emulateTransitionEnd(e)):n())},n.hide=function(){var e;this._element.classList.contains(It)&&(e=u.default.Event("hide.bs.toast"),u.default(this._element).trigger(e),e.isDefaultPrevented()||this._close())},n.dispose=function(){this._clearTimeout(),this._element.classList.contains(It)&&this._element.classList.remove(It),u.default(this._element).off(At),u.default.removeData(this._element,Dt),this._element=null,this._config=null},n._getConfig=function(e){return e=o({},Lt,u.default(this._element).data(),"object"==typeof e&&e?e:{}),d.typeCheckConfig(N,e,this.constructor.DefaultType),e}
1,n._setListeners=function(){var e=this;u.default(this._element).on(At,'[data-dismiss="toast"]',function(){return e.hide()})},n._close=function(){function e(){n._element.classList.add("hide"),u.default(n._element).trigger("hidden.bs.toast")}var t,n=this;this._element.classList.remove(It),this._config.animation?(t=d.getTransitionDurationFromElement(this._element),u.default(this._element).one(d.TRANSITION_END,e).emulateTransitionEnd(t)):e()},n._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},Mt._jQueryInterface=function(n){return this.each(function(){var e=u.default(this),t=e.data(Dt);if(t||(t=new Mt(this,"object"==typeof n&&n),e.data(Dt,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](this)}})},i(Mt,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"DefaultType",get:function(){return Ot}},{key:"Default",get:function(){return Lt}}]),Mt);function Mt(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}function Pt(e){this._element=e}function Ft(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+bt+","+this._config.target+" "+yt+","+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,u.default(this._scrollElement).on("scroll.bs.scrollspy",function(e){return n._process(e)}),this.refresh(),this._process()}function M(){return Ve.apply(this,arguments)||this}function jt(e,t){if(void 0===F.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}u.default.fn[N]=Nt._jQueryInterface,u.default.fn[N].Constructor=Nt,u.default.fn[N].noConflict=function(){return u.default.fn[N]=$t,Nt._jQueryInterface},e.Alert=s,e.Button=V,e.Carousel=c,e.Collapse=de,e.Dropdown=b,e.Modal=Re,e.Popover=pt,e.Scrollspy=Ct,e.Tab=St,e.Toast=Nt,e.Tooltip=$,e.Util=d,Object.defineProperty(e,"__esModule",{value:!0})}),function(w){"use strict";var e,t,n,a,u=["sanitize","whiteList","sanitizeFn"],g=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],v=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,b=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function S(e,t,n){if(n&&"function"==typeof n)return n(e);for(var i=Object.keys(t),r=0,o=e.length;r<o;r++)for(var s=e[r].querySelectorAll("*"),a=0,l=s.length;a<l;a++){var c=s[a],u=c.nodeName.toLowerCase();if(-1===i.indexOf(u))c.parentNode.removeChild(c);else for(var d=[].slice.call(c.attributes),h=[].concat(t["*"]||[],t[u]||[]),f=0,p=d.length;f<p;f++){var m=d[f];!function(e,t){var n=e.nodeName.toLowerCase();if(-1!==w.inArray(n,t))return-1===w.inArray(n,g)||Boolean(e.nodeValue.match(v)||e.nodeValue.match(b));for(var i=w(t).filter(function(e,t){return t instanceof RegExp}),r=0,o=i.length;r<o;r++)if(n.match(i[r]))return 1}(m,h)&&c.removeAttribute(m.nodeName)}}}if(!("classList"in document.createElement("_"))&&"Element"in(r=window)){var i="classList",r=r.Element.prototype,o=Object,s=function(){var n=w(this);return{add:function(e){return e=Array.prototype.slice.call(arguments).join(" "),n.addClass(e)},remove:function(e){return e=Array.prototype.slice.call(arguments).join(" "),n.removeClass(e)},toggle:function(e,t){return n.toggleClass(e,t)},contains:function(e){return n.hasClass(e)}}};if(o.defineProperty){var l={get:s,enumerable:!0,configurable:!0};try{o.defineProperty(r,i,l)}catch(s){void 0!==s.number&&-2146823252!==s.number||(l.enumerable=!1,o.defineProperty(r,i,l))}}else o.prototype.__defineGetter__&&r.__defineGetter__(i,s)}function c(e){if(null==this)throw new TypeError;var t=String(this);if(e&&"[object RegExp]"==a.call(e))throw new TypeError;var n=t.length,i=String(e),r=i.length,e=1<arguments.length?arguments[1]:void 0,e=e?Number(e):0,o=(e!=e&&(e=0),Math.min(Math.max(e,0),n));if(n<r+o)return!1;for(var s=-1;++s<r;)if(t.charCodeAt(o+s)!=i.charCodeAt(s))return!1;return!0}function x(e,t){var n,i=e.selectedOptions,r=[];if(t){for(var o=0,s=i.length;o<s;o++)(n=i[o]).disabled||"OPTGROUP"===n.parentNode.tagName&&n.parentNode.disabled||r.push(n);return r}return i}function C(e,t){for(var n,i=[],r=t||e.selectedOptions,o=0,s=r.length;o<s;o++)(n=r[o]).disabled||"OPTGROUP"===n.parentNode.tagName&&n.parentNode.disabled||i.push(n.value);return e.multiple?i:i.length?i[0]:null}(l=document.createElement("_")).classList.add("c1","c2"),l.classList.contains("c2")||(e=DOMTokenList.prototype.add,t=DOMTokenList.prototype.remove,DOMTokenList.prototype.add=function(){Array.prototype.forEach.call(arguments,e.bind(this))},DOMTokenList.prototype.remove=function(){Array.prototype.forEach.call(arguments,t.bind(this))}),l.classList.toggle("c3",!1),l.classList.contains("c3")&&(n=DOMTokenList.prototype.toggle,DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}),l=null,String.prototype.startsWith||(o=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}(),a={}.toString,o?o(String.prototype,"startsWith",{value:c,configurable:!0,writable:!0}):String.prototype.startsWith=c),Object.keys||(Object.keys=function(e,t,n){for(t in n=[],e)n.hasOwnProperty.call(e,t)&&n.push(t);return n}),HTMLSelectElement&&!HTMLSelectElement.prototype.hasOwnProperty("selectedOptions")&&Object.defineProperty(HTMLSelectElement.prototype,"selectedOptions",{get:function(){return this.querySelectorAll(":checked")}});var d={useDefault:!1,_set:w.valHooks.select.set},k=(w.valHooks.select.set=function(e,t){return t&&!d.useDefault&&w(e).data("selected",!0),d._set.apply(this,arguments)},null),h=function(){try{return new Event("change"),!0}catch(e){return!1}}();function y(e,t,n,i){for(var r=["display","subtext","tokens"],o=!1,s=0;s<r.length;s++){var a=r[s],l=e[a];if(l&&(l=l.toString(),"display"===a&&(l=l.replace(/<[^>]+>/g,"")),l=(l=i?f(l):l).toUpperCase(),o="contains"===n?0<=l.indexOf(t):l.startsWith(t)))break}return o}function _(e){return parseInt(e,10)||0}w.fn.triggerNative=function(e){var t,n=this[0];n.dispatchEvent?(h?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event")).initEvent(e,!0,!1),n.dispatchEvent(t)):n.fireEvent?((t=document.createEventObject()).eventType=e,n.fireEvent("on"+e,t)):this.trigger(e)};var P=
vendor: 1,721 bytes, line 1
1{"Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ã":"C","ç":"c","Ã":"D","ð":"d","Ã":"E","Ã":"E","Ã":"E","Ã":"E","è":"e","é":"e","ê":"e","ë":"e","Ã":"I","Ã":"I","Ã":"I","Ã":"I","ì":"i","Ã":"i","î":"i","ï":"i","Ã":"N","ñ":"n","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ã":"U","Ã":"U","Ã":"U","Ã":"U","ù":"u","ú":"u","û":"u","ü":"u","Ã":"Y","ý":"y","ÿ":"y","Ã":"Ae","æ":"ae","Ã":"Th","þ":"th","Ã":"ss","Ä":"A","Ä":"A","Ä":"A","Ä":"a","Ä":"a","Ä
":"a","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"D","Ä":"D","Ä":"d","Ä":"d","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"G","Ä":"G","Ä ":"G","Ä¢":"G","Ä":"g","Ä":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","İ":"I","Ä©":"i","Ä«":"i","Ä":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Å":"L","ĺ":"l","ļ":"l","ľ":"l","Å":"l","Å":"l","Å":"N","Å
":"N","Å":"N","Å":"N","Å":"n","Å":"n","Å":"n","Å":"n","Å":"O","Å":"O","Å":"O","Å":"o","Å":"o","Å":"o","Å":"R","Å":"R","Å":"R","Å":"r","Å":"r","Å":"r","Å":"S","Å":"S","Å":"S","Å ":"S","Å":"s","Å":"s","Å":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Ű":"U","Ų":"U","Å©":"u","Å«":"u","Å":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å":"Oe","Å":"oe","Å":"'n","Å¿":"s"}
1,F=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,j=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function H(e){return P[e]}function f(e){return(e=e.toString())&&e.replace(F,H).replace(j,"")}function E(e){return R.test(e=null==e?"":""+e)?e.replace(q,B):e}var p,R,q,p={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},r="(?:"+Object.keys(p).join("|")+")",R=RegExp(r),q=RegExp(r,"g");function B(e){return p[e]}var W={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},T={success:!1,major:"3"};try{T.full=(w.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),T.major=T.full[0],T.success=!0}catch(s){}var m=0,D=".bs.select",$={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},I={MENU:"."+$.MENU},A={div:document.createElement("div"),span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode("Â "),fragment:document.createDocumentFragment()},z=(A.noResults=A.li.cloneNode(!1),A.noResults.className="no-results",A.a.setAttribute("role","option"),A.a.className="dropdown-item",A.subtext.className="text-muted",A.text=A.span.cloneNode(!1),A.text.className="text",A.checkMark=A.span.cloneNode(!1),new RegExp("38|40")),U=new RegExp("^9$|27"),L={li:function(e,t,n){var i=A.li.cloneNode(!1);return e&&(1===e.nodeType||11===e.nodeType?i.appendChild(e):i.innerHTML=e),void 0!==t&&""!==t&&(i.className=t),null!=n&&i.classList.add("optgroup-"+n),i},a:function(e,t,n){var i=A.a.cloneNode(!0);return e&&(11===e.nodeType?i.appendChild(e):i.insertAdjacentHTML("beforeend",e)),void 0!==t&&""!==t&&i.classList.add.apply(i.classList,t.split(/\s+/)),n&&i.setAttribute("style",n),i},text:function(e,t){var n,i,r=A.text.cloneNode(!1);if(e.content?r.innerHTML=e.content:(r.textContent=e.text,e.icon&&(n=A.whitespace.cloneNode(!1),(i=(!0===t?A.i:A.span).cloneNode(!1)).className=this.options.iconBase+" "+e.icon,A.fragment.appendChild(i),A.fragment.appendChild(n)),e.subtext&&((i=A.subtext.cloneNode(!1)).textContent=e.subtext,r.appendChild(i))),!0===t)for(;0<r.childNodes.length;)A.fragment.appendChild(r.childNodes[0]);else A.fragment.appendChild(r);return A.fragment},label:function(e){var t,n,i=A.text.cloneNode(!1);return i.innerHTML=e.display,e.icon&&(t=A.whitespace.cloneNode(!1),(n=A.span.cloneNode(!1)).className=this.options.iconBase+" "+e.icon,A.fragment.appendChild(n),A.fragment.appendChild(t)),e.subtext&&((n=A.subtext.cloneNode(!1)).textContent=e.subtext,i.appendChild(n)),A.fragment.appendChild(i),A.fragment}};function O(e,t){var n=this;d.useDefault||(w.valHooks.select.set=d._set,d.useDefault=!0),this.$element=w(e),this.$newElement=null,this.$button=null,this.$menu=null,this.options=t,this.selectpicker={main:{},search:{},current:{},view:{},isSearching:!1,keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout(function(){n.selectpicker.keydown.keyHistory=""},800)}}}},this.sizeInfo={},null===this.options.title&&(this.options.title=this.$element.attr("title")),"number"==typeof(e=this.options.windowPadding)&&(this.options.windowPadding=[e,e,e,e]),this.val=O.prototype.val,this.render=O.prototype.render,this.refresh=O.prototype.refresh,this.setStyle=O.prototype.setStyle,this.selectAll=O.prototype.selectAll,this.deselectAll=O.prototype.deselectAll,this.destroy=O.prototype.destroy,this.remove=O.prototype.remove,this.show=O.prototype.show,this.hide=O.prototype.hide,this.init()}function N(e){var a,l=arguments,c=e;if([].shift.apply(l),!T.success){try{T.full=(w.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(e){O.BootstrapVersion?T.full=O.BootstrapVersion.split(" ")[0].split("."):(T.full=[T.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",e))}T.major=T.full[0],T.success=!0}if("4"===T.major){var t=[];O.DEFAULTS.style===$.BUTTONCLASS&&t.push({name:"style",className:"BUTTONCLASS"}
1),O.DEFAULTS.iconBase===$.ICONBASE&&t.push({name:"iconBase",className:"ICONBASE"}),O.DEFAULTS.tickIcon===$.TICKICON&&t.push({name:"tickIcon",className:"TICKICON"}),$.DIVIDER="dropdown-divider",$.SHOW="show",$.BUTTONCLASS="btn-light",$.POPOVERHEADER="popover-header",$.ICONBASE="",$.TICKICON="bs-ok-default";for(var n=0;n<t.length;n++)O.DEFAULTS[(e=t[n]).name]=$[e.className]}var i=this.each(function(){var e=w(this);if(e.is("select")){var t=e.data("selectpicker"),n="object"==typeof c&&c;if(t){if(n)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t.options[i]=n[i])}else{var r,o=e.data();for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&-1!==w.inArray(r,u)&&delete o[r];var s=w.extend({},O.DEFAULTS,w.fn.selectpicker.defaults||{},o,n);s.template=w.extend({},O.DEFAULTS.template,w.fn.selectpicker.defaults?w.fn.selectpicker.defaults.template:{},o.template,n.template),e.data("selectpicker",t=new O(this,s))}"string"==typeof c&&(a=t[c]instanceof Function?t[c].apply(t,l):t.options[c])}});return void 0!==a?a:i}O.VERSION="1.13.18",O.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(e,t){return 1==e?"{0} item selected":"{0} items selected"},maxOptionsText:function(e,t){return[1==e?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==t?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:$.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:$.ICONBASE,tickIcon:$.TICKICON,showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role","tabindex","style",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},O.prototype={constructor:O,init:function(){var n=this,e=this.$element.attr("id"),t=this.$element[0],i=t.form;m++,this.selectId="bs-select-"+m,t.classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),t.classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.buildData(),this.$element.after(this.$newElement).prependTo(this.$newElement),i&&null===t.form&&(i.id||(i.id="form-"+this.selectId),t.setAttribute("form",i.id)),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(I.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),t.classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add($.MENURIGHT),void 0!==e&&this.$button.attr("data-id",e),this.checkDisabled(),this.clickListener(),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide"+D,function(){var e,t;n.isVirtual()&&(t=(e=n.$menuInner[0]).firstChild.cloneNode(!1),e.replaceChild(t,e.firstChild),e.scrollTop=0)}),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(e){n.$element.trigger("hide"+D,e)},"hidden.bs.dropdown":function(e){n.$element.trigger("hidden"+D,e)},"show.bs.dropdown":function(e){n.$element.trigger("show"+D,e)},"shown.bs.dropdown":function(e){n.$element.trigger("shown"+D,e)}}),t.hasAttribute("required")&&this.$element.on("invalid"+D,function(){n.$button[0].classList.add("bs-invalid"),n.$element.on("shown"+D+".invali
1d",function(){n.$element.val(n.$element.val()).off("shown"+D+".invalid")}).on("rendered"+D,function(){this.validity.valid&&n.$button[0].classList.remove("bs-invalid"),n.$element.off("rendered"+D)}),n.$button.on("blur"+D,function(){n.$element.trigger("focus").trigger("blur"),n.$button.off("blur"+D)})}),setTimeout(function(){n.buildList(),n.$element.trigger("loaded"+D)})},createDropdown:function(){var e=this.multiple||this.options.showTick?" show-tick":"",t=this.multiple?' aria-multiselectable="true"':"",n="",i=this.autofocus?" autofocus":"",r=(T.major<4&&this.$element.parent().hasClass("input-group")&&(n=" input-group-btn"),""),o="",s="",a="";return this.options.header&&(r='<div class="'+$.POPOVERHEADER+'"><button type="button" class="close" aria-hidden="true">×</button>'+this.options.header+"</div>"),this.options.liveSearch&&(o='<div class="bs-searchbox"><input type="search" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+E(this.options.liveSearchPlaceholder)+'"')+' role="combobox" aria-label="Search" aria-controls="'+this.selectId+'" aria-autocomplete="list"></div>'),this.multiple&&this.options.actionsBox&&(s='<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn '+$.BUTTONCLASS+'">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn '+$.BUTTONCLASS+'">'+this.options.deselectAllText+"</button></div></div>"),this.multiple&&this.options.doneButton&&(a='<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm '+$.BUTTONCLASS+'">'+this.options.doneButtonText+"</button></div></div>"),e='<div class="dropdown bootstrap-select'+e+n+'"><button type="button" tabindex="-1" class="'+this.options.styleBase+' dropdown-toggle" '+("static"===this.options.display?'data-display="static"':"")+'data-toggle="dropdown"'+i+' role="combobox" aria-owns="'+this.selectId+'" aria-haspopup="listbox" aria-expanded="false"><div class="filter-option"><div class="filter-option-inner"><div class="filter-option-inner-inner"></div></div> </div>'+("4"===T.major?"":'<span class="bs-caret">'+this.options.template.caret+"</span>")+'</button><div class="'+$.MENU+" "+("4"===T.major?"":$.SHOW)+'">'+r+o+s+'<div class="inner '+$.SHOW+'" role="listbox" id="'+this.selectId+'" tabindex="-1" '+t+'><ul class="'+$.MENU+" inner "+("4"===T.major?$.SHOW:"")+'" role="presentation"></ul></div>'+a+"</div></div>",w(e)},setPositionData:function(){this.selectpicker.view.canHighlight=[],this.selectpicker.view.size=0,this.selectpicker.view.firstHighlightIndex=!1;for(var e=0;e<this.selectpicker.current.data.length;e++){var t=this.selectpicker.current.data[e],n=!0;"divider"===t.type?(n=!1,t.height=this.sizeInfo.dividerHeight):"optgroup-label"===t.type?(n=!1,t.height=this.sizeInfo.dropdownHeaderHeight):t.height=this.sizeInfo.liHeight,t.disabled&&(n=!1),this.selectpicker.view.canHighlight.push(n),n&&(this.selectpicker.view.size++,t.posinset=this.selectpicker.view.size,!1===this.selectpicker.view.firstHighlightIndex)&&(this.selectpicker.view.firstHighlightIndex=e),t.position=(0===e?0:this.selectpicker.current.data[e-1].position)+t.height}},isVirtual:function(){return!1!==this.options.virtualScroll&&this.selectpicker.main.elements.length>=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(C,e,t){var k,_,E=this,n=0,T=[];function i(e,t){var n,i=E.selectpicker.current.elements.length,r=[],o=!0,s=E.isVirtual();E.selectpicker.view.scrollTop=e;for(var a,l=Math.ceil(E.sizeInfo.menuInnerHeight/E.sizeInfo.liHeight*1.5),c=Math.round(i/l)||1,u=0;u<c;u++){var d=u===c-1?i:(u+1)*l;if(r[u]=[u*l+(u?1:0),d],!i)break;void 0===n&&e-1<=E.selectpicker.current.data[d-1].position-E.sizeInfo.menuInnerHeight&&(n=u)}if(void 0===n&&(n=0),v=[E.selectpicker.view.position0,E.selectpicker.view.position1],h=Math.max(0,n-1),p=Math.min(c-1,n+1),E.selectpicker.view.position0=!1!==s&&Math.max(0,r[h][0])||0,E.selectpicker.view.position1=!1===s?i:Math.min(i,r[p][1])||0,h=v[0]!==E.selectpicker.view.position0||v[1]!==E.selectpicker.view.position1,void 0!==E.activeIndex&&(_=E.selectpicker.main.elements[E.prevActiveIndex],T=E.selectpicker.main.elements[E.activeIndex],k=E.selectpicker.main.elements[E.selectedIndex],t&&(E.activeIndex!==E.selectedIndex&&E.defocusItem(T),E.activeIndex=void 0),E.activeIndex)&&E.activeIndex!==E.selectedIndex&&E.defocusItem(k),void 0!==E.prevActiveIndex&&E.prevActiveIndex!==E.activeIndex&&E.prevActiveIndex!==E.selectedIndex&&E.defocusItem(_),(t||h)&&(p=E.selectpicker.view.visibleElements?E.selectpicker.view.visibleElements.slice():[],E.selectpicker.view.visibleElements=!1===s?E.selectpicker.current.elements:E.selectpicker.current.elements.slice(E.selectpicker.view.position0,E.selectpicker.view.position1),E.setOptionStatus(),(C||!1===s&&t)&&(v=p,a=E.selectpicker.view.visibleElements,o=!(v.length===a.length&&v.every(function(e,t){return e===a[t]}))),t||!0===s)&&o){var h=E.$menuInner[0],f=document.createDocumentFragment(),p=h.firstChild.cloneNode(!1),m=E.selectpicker.view.visibleElements,g=[];h.replaceChild(p,h.firstChild);for(var v,u=0,b=m.length;u<b;u++){var y,w,x=m[u];E.options.sanitize&&(y=x.lastChild)&&(w=E.selectpicker.current.data[u+E.selectpicker.view.position0])&&w.c
1ontent&&!w.sanitized&&(g.push(y),w.sanitized=!0),f.appendChild(x)}E.options.sanitize&&g.length&&S(g,E.options.whiteList,E.options.sanitizeFn),!0===s?(v=0===E.selectpicker.view.position0?0:E.selectpicker.current.data[E.selectpicker.view.position0-1].position,o=E.selectpicker.view.position1>i-1?0:E.selectpicker.current.data[i-1].position-E.selectpicker.current.data[E.selectpicker.view.position1-1].position,h.firstChild.style.marginTop=v+"px",h.firstChild.style.marginBottom=o+"px"):(h.firstChild.style.marginTop=0,h.firstChild.style.marginBottom=0),h.firstChild.appendChild(f),!0===s&&E.sizeInfo.hasScrollBar&&(p=h.firstChild.offsetWidth,t&&p<E.sizeInfo.menuInnerInnerWidth&&E.sizeInfo.totalMenuWidth>E.sizeInfo.selectWidth?h.firstChild.style.minWidth=E.sizeInfo.menuInnerInnerWidth+"px":p>E.sizeInfo.menuInnerInnerWidth&&(E.$menu[0].style.minWidth=0,(v=h.firstChild.offsetWidth)>E.sizeInfo.menuInnerInnerWidth&&(E.sizeInfo.menuInnerInnerWidth=v,h.firstChild.style.minWidth=E.sizeInfo.menuInnerInnerWidth+"px"),E.$menu[0].style.minWidth=""))}E.prevActiveIndex=E.activeIndex,E.options.liveSearch?C&&t&&(E.selectpicker.view.canHighlight[o=0]||(o=1+E.selectpicker.view.canHighlight.slice(1).indexOf(!0)),s=E.selectpicker.view.visibleElements[o],E.defocusItem(E.selectpicker.view.currentActive),E.activeIndex=(E.selectpicker.current.data[o]||{}).index,E.focusItem(s)):E.$menuInner.trigger("focus")}this.selectpicker.isSearching=C,this.selectpicker.current=C?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),e&&(t?n=this.$menuInner[0].scrollTop:E.multiple||"number"==typeof(t=((e=E.$element[0]).options[e.selectedIndex]||{}).liIndex)&&!1!==E.options.size&&(t=(e=E.selectpicker.main.data[t])&&e.position)&&(n=t-(E.sizeInfo.menuInnerHeight+E.sizeInfo.liHeight)/2)),i(n,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",function(e,t){E.noScroll||i(this.scrollTop,t),E.noScroll=!1}),w(window).off("resize"+D+"."+this.selectId+".createView").on("resize"+D+"."+this.selectId+".createView",function(){E.$newElement.hasClass($.SHOW)&&i(E.$menuInner[0].scrollTop)})},focusItem:function(e,t,n){var i;e&&(t=t||this.selectpicker.main.data[this.activeIndex],i=e.firstChild)&&(i.setAttribute("aria-setsize",this.selectpicker.view.size),i.setAttribute("aria-posinset",t.posinset),!0!==n)&&(this.focusedParent.setAttribute("aria-activedescendant",i.id),e.classList.add("active"),i.classList.add("active"))},defocusItem:function(e){e&&(e.classList.remove("active"),e.firstChild)&&e.firstChild.classList.remove("active")},setPlaceholder:function(){var e,t,n,i,r,o,s=this,a=!1;return this.options.title&&!this.multiple&&(this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),e=this.$element[0],t=!(a=!0),n=!this.selectpicker.view.titleOption.parentNode,i=e.selectedIndex,r=e.options[i],o=(o=window.performance&&window.performance.getEntriesByType("navigation"))&&o.length?"back_forward"!==o[0].type:2!==window.performance.navigation.type,n&&(this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",t=!r||0===i&&!1===r.defaultSelected&&void 0===this.$element.data("selected")),!n&&0===this.selectpicker.view.titleOption.index||e.insertBefore(this.selectpicker.view.titleOption,e.firstChild),t&&o?e.selectedIndex=0:"complete"!==document.readyState&&window.addEventListener("pageshow",function(){s.selectpicker.view.displayedValue!==e.value&&s.render()})),a},buildData:function(){var e=':not([hidden]):not([data-hidden="true"])',o=[],t=0,n=this.setPlaceholder()?1:0,i=(this.options.hideDisabled&&(e+=":not(:disabled)"),this.$element[0].querySelectorAll("select > *"+e));function s(e){var t=o[o.length-1];t&&"divider"===t.type&&(t.optID||e.optID)||((e=e||{}).type="divider",o.push(e))}function r(e,t){var n,i,r;(t=t||{}).divider="true"===e.getAttribute("data-divider"),t.divider?s({optID:t.optID}):(n=o.length,i=(i=e.style.cssText)?E(i):"",r=(e.className||"")+(t.optgroupClass||""),t.optID&&(r="opt "+r),t.optionClass=r.trim(),t.inlineStyle=i,t.text=e.textContent,t.content=e.getAttribute("data-content"),t.tokens=e.getAttribute("data-tokens"),t.subtext=e.getAttribute("data-subtext"),t.icon=e.getAttribute("data-icon"),e.liIndex=n,t.display=t.content||t.text,t.type="option",t.index=n,t.option=e,t.selected=!!e.selected,t.disabled=t.disabled||!!e.disabled,o.push(t))}for(var a=i.length,l=n;l<a;l++)if("OPTGROUP"!==(c=i[l]).tagName)r(c,{});else{v=m=p=g=h=u=void 0;var c,u=(h=i)[c=l],d=!(c-1<n)&&h[c-1],h=h[c+1],f=u.querySelectorAll("option"+e);
1if(f.length){var p,m,g={display:E(u.label),subtext:u.getAttribute("data-subtext"),icon:u.getAttribute("data-icon"),type:"optgroup-label",optgroupClass:" "+(u.className||"")};t++,d&&s({optID:t}),g.optID=t,o.push(g);for(var v=0,b=f.length;v<b;v++){var y=f[v];0===v&&(m=(p=o.length-1)+b),r(y,{headerIndex:p,lastIndex:m,optID:g.optID,optgroupClass:g.optgroupClass,disabled:u.disabled})}h&&s({optID:t})}}this.selectpicker.main.data=this.selectpicker.current.data=o},buildList:function(){var e=this.selectpicker.main.data,t=[],n=0;!this.options.showTick&&!this.multiple||A.checkMark.parentNode||(A.checkMark.className=this.options.iconBase+" "+this.options.tickIcon+" check-mark",A.a.appendChild(A.checkMark));for(var i=e.length,r=0;r<i;r++){a=o=s=void 0;var o,s=e[r],a=0;switch(s.type){case"divider":o=L.li(!1,$.DIVIDER,s.optID?s.optID+"div":void 0);break;case"option":(o=L.li(L.a(L.text.call(this,s),s.optionClass,s.inlineStyle),"",s.optID)).firstChild&&(o.firstChild.id=this.selectId+"-"+s.index);break;case"optgroup-label":o=L.li(L.label.call(this,s),"dropdown-header"+s.optgroupClass,s.optID)}s.element=o,t.push(o),s.display&&(a+=s.display.length),s.subtext&&(a+=s.subtext.length),s.icon&&(a+=1),n<a&&(n=a,this.selectpicker.view.widestOption=t[t.length-1])}this.selectpicker.main.elements=this.selectpicker.current.elements=t},findLis:function(){return this.$menuInner.find(".inner > li")},render:function(){var e=this.$element[0],t=this.setPlaceholder()&&0===e.selectedIndex,n=x(e,this.options.hideDisabled),i=n.length,r=this.$button[0],o=r.querySelector(".filter-option-inner-inner"),s=document.createTextNode(this.options.multipleSeparator),a=A.fragment.cloneNode(!1),l=!1;if(r.classList.toggle("bs-placeholder",this.multiple?!i:!C(e,n)),this.multiple||1!==n.length||(this.selectpicker.view.displayedValue=C(e,n)),"static"===this.options.selectedTextFormat)a=L.text.call(this,{text:this.options.title},!0);else if(!1===(this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&1<i&&(1<(e=this.options.selectedTextFormat.split(">")).length&&i>e[1]||1===e.length&&2<=i))){if(!t){for(var c=0;c<i&&c<50;c++){var u=n[c],d=this.selectpicker.main.data[u.liIndex],h={};this.multiple&&0<c&&a.appendChild(s.cloneNode(!1)),u.title?h.text=u.title:d&&(d.content&&this.options.showContent?(h.content=d.content.toString(),l=!0):(this.options.showIcon&&(h.icon=d.icon),this.options.showSubtext&&!this.multiple&&d.subtext&&(h.subtext=" "+d.subtext),h.text=u.textContent.trim())),a.appendChild(L.text.call(this,h,!0))}49<i&&a.appendChild(document.createTextNode("..."))}}else e=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])',t=(this.options.hideDisabled&&(e+=":not(:disabled)"),this.$element[0].querySelectorAll("select > option"+e+", optgroup"+e+" option"+e).length),e="function"==typeof this.options.countSelectedText?this.options.countSelectedText(i,t):this.options.countSelectedText,a=L.text.call(this,{text:e.replace("{0}",i.toString()).replace("{1}",t.toString())},!0);null==this.options.title&&(this.options.title=this.$element.attr("title")),a.childNodes.length||(a=L.text.call(this,{text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),r.title=a.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&l&&S([a],this.options.whiteList,this.options.sanitizeFn),o.innerHTML="",o.appendChild(a),T.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")&&(e=r.querySelector(".filter-expand"),(t=o.cloneNode(!0)).className="filter-expand",e?r.replaceChild(t,e):r.appendChild(t)),this.$element.trigger("rendered"+D)},setStyle:function(e,t){var n=this.$button[0],i=this.$newElement[0],r=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),T.major<4&&(i.classList.add("bs3"),i.parentNode.classList)&&i.parentNode.classList.contains("input-group")&&(i.previousElementSibling||i.nextElementSibling)&&(i.previousElementSibling||i.nextElementSibling).classList.contains("input-group-addon")&&i.classList.add("bs3-has-addon"),i=e?e.trim():r,"add"==t?i&&n.classList.add.apply(n.classList,i.split(" ")):"remove"==t?i&&n.classList.remove.apply(n.classList,i.split(" ")):(r&&n.classList.remove.apply(n.classList,r.split(" ")),i&&n.classList.add.apply(n.classList,i.split(" ")))},liHeight:function(e){if(e||!1!==this.options.size&&!Object.keys(this.sizeInfo).length){var t,e=A.div.cloneNode(!1),n=A.div.cloneNode(!1),i=A.div.cloneNode(!1),r=document.createElement("ul"),o=A.li.cloneNode(!1),s=A.li.cloneNode(!1),a=A.a.cloneNode(!1),l=A.span.cloneNode(!1),c=this.options.header&&0<this.$menu.find("."+$.POPOVERHEADER).length?this.$menu.find("."+$.POPOVERHEADER)[0].cloneNode(!0):null,u=this.options.liveSearch?A.div.cloneNode(!1):null,d=this.options.actionsBox&&this.multiple&&0<this.$menu.find(".bs-actionsbox").length?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,h=this.options.doneButton&&this.multiple&&0<this.$menu.find(".bs-donebutton").length?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,f=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,l.className="text",a.className="dropdown-item "+(f?f.className:""),e.className=this.$menu[0].parentNode.className+" "+$.SHOW,e.style.width=0,"auto"===this.options.width&&(n.style.minWidth=0),n.className=$.MENU+" "+$.SHOW,i.className="inner "+$.SHOW,r.className=$.MENU+" inner "+("4"===T.major?$.SHOW:""),o.className=$.DIVIDER,s.className="dropdown-header",l.appendChild(document.createTextNode("â")),this.selectpicker.current.data.length)for(var p=0;p<this.selectpicker.current.data.length;p++){var m=this.selectpicker.current.data[p];if("option"===m.type){t=m.element;break}}else t=A.li.cloneNode(!1),a.appendChild(l),t.appendChild(a);s.appendChild(l.cloneNode(!0)),this.selectpicker.view.widestOption&&r.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),r.appendChild(t),r.appendChild(o),r.appendChild(s),c&&n.appendChild(c),u&&(f=document.createElement("input"),u.className="bs-searchbox",f.className="form-control",u.appendChild(f),n.appendChild(u)),d&&n.appendChild(d),i.appendChild(r),n.appendChild(i),h&&n.appendChild(h),e.appendChild(n),document.body.appendChild(e);var a=t.offsetHeight,l=s?s.offsetHeight:0,f=c?c.offsetHeight:0,r=u?u.offsetHeight:0,s=d?d.offsetHeight:0,c=h?h.offsetHeight:0,u=w(o).outerHeight(!0),d=!!window.getComputedStyle&&window.getComputedStyle(n),h=n.offsetWidth,o=d?null:w(n),g={vert:_(d?d.paddingTop:o.css("paddingTop"))+_(d?d.paddingBottom:o.css("paddingBottom"))+_(d?d.borderTopWidth:o.css("borderTopWidth"))+_(d?d.borderBottomWidth:o.css("borderBottomWidth")),horiz:_(d?d.paddingLeft:o.css("paddingLeft"))+_(d?d.paddingRight:o.css("paddingRight"))+_(d?d.borderLeftWidth:o.css("borderLeftWidth"))+_(d?d.borderRightWidth:o.css("borderRightWidth"))},d={vert:g.vert+_(d?d.marginTop:o.css("marginTop"))+_(d?d.marginBottom:o.css("marginBottom"))+2,horiz:g.horiz+_(d?d.marginLeft:o.css("marginLeft"))+_(d?d.marginRight:o.css("marginRight"))+2};i.style.overflowY="scroll",o=n.offsetWidth-h,document.body.removeChild(e),this.sizeInfo.liHeight=a,this.sizeInfo.dropdownHeaderHeight=l,this.sizeInfo.headerHeight=f,this.sizeInfo.searchHeight=r,this.sizeInfo.actionsHeight=s,this.sizeInfo.doneButtonHeight=c,this.sizeInfo.dividerHeight=u,this.sizeInfo.menuPadding=g,this.sizeInfo.menuExtras=d,this.sizeInfo.menuWidth=h,this.sizeInfo.menuInnerInnerWidth=h-g.horiz,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth,this.sizeInfo.scrollBarWidth=o,this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight,this.setPositionData()}},getSelectPosition:function(){var e,t=w(window),n=this.$newElement.offset(),i=w(this.options.container),i=(this.options.container&&i.length&&!i.is("body")?((e=i.offset()).top+=parseInt(i.css("borderTopWidth")),e.left+=parseInt(i.css("borderLeftWidth"))):e={top:0,left:0},this.options.windowPadding);this.sizeInfo.selectOffsetTop=n.top-e.top-t.scrollTop(),this.sizeInfo.selectOffsetBot=t.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-e.top-i[2],this.sizeInfo.selectOffsetLeft=n.left-e.left-t.scrollLeft(),this.sizeInfo.selectOffsetRight=t.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-e.left-i[1],this.sizeInfo.selectOffsetTop-=i[0],this.sizeInfo.selectOffsetLeft-=i[3]}
vendor: 9,831 bytes, line 1
1,setMenuSize:function(e){this.getSelectPosition();var t,n,i,r,o,s,a=this.sizeInfo.selectWidth,l=this.sizeInfo.liHeight,c=this.sizeInfo.headerHeight,u=this.sizeInfo.searchHeight,d=this.sizeInfo.actionsHeight,h=this.sizeInfo.doneButtonHeight,f=this.sizeInfo.dividerHeight,p=this.sizeInfo.menuPadding,m=0;if(this.options.dropupAuto&&(s=l*this.selectpicker.current.elements.length+p.vert,s=this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&s+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot,!0===this.selectpicker.isSearching&&(s=this.selectpicker.dropup),this.$newElement.toggleClass($.DROPUP,s),this.selectpicker.dropup=s),"auto"===this.options.size)s=3<this.selectpicker.current.elements.length?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,n=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,i=s+c+u+d+h,o=Math.max(s-p.vert,0),t=(r=n=this.$newElement.hasClass($.DROPUP)?this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert:n)-c-u-d-h-p.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var g=0;g<this.options.size;g++)"divider"===this.selectpicker.current.data[g].type&&m++;t=(n=l*this.options.size+m*f+p.vert)-p.vert,r=n+c+u+d+h,i=o=""}this.$menu.css({"max-height":r+"px",overflow:"hidden","min-height":i+"px"}),this.$menuInner.css({"max-height":t+"px","overflow-y":"auto","min-height":o+"px"}),this.sizeInfo.menuInnerHeight=Math.max(t,1),this.selectpicker.current.data.length&&this.selectpicker.current.data[this.selectpicker.current.data.length-1].position>this.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth),"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass($.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRight<this.sizeInfo.totalMenuWidth-a),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(e){var t,n;this.liHeight(e),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size&&(t=this,n=w(window),this.setMenuSize(),this.options.liveSearch&&this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",function(){return t.setMenuSize()}),"auto"===this.options.size?n.off("resize"+D+"."+this.selectId+".setMenuSize scroll"+D+"."+this.selectId+".setMenuSize").on("resize"+D+"."+this.selectId+".setMenuSize scroll"+D+"."+this.selectId+".setMenuSize",function(){return t.setMenuSize()}):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&n.off("resize"+D+"."+this.selectId+".setMenuSize scroll"+D+"."+this.selectId+".setMenuSize")),this.createView(!1,!0,e)},setWidth:function(){var n=this;"auto"===this.options.width?requestAnimationFrame(function(){n.$menu.css("min-width","0"),n.$element.on("loaded"+D,function(){n.liHeight(),n.setMenuSize();var e=n.$newElement.clone().appendTo("body"),t=e.css("width","auto").children("button").outerWidth();e.remove(),n.sizeInfo.selectWidth=Math.max(n.sizeInfo.totalMenuWidth,t),n.$newElement.css("width",n.sizeInfo.selectWidth+"px")})}):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){function e(e){var t={},n=s.options.display||!!w.fn.dropdown.Constructor.Default&&w.fn.dropdown.Constructor.Default.display;s.$bsContainer.addClass(e.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass($.DROPUP,e.hasClass($.DROPUP)),i=e.offset(),a.is("body")?r={top:0,left:0}:((r=a.offset()).top+=parseInt(a.css("borderTopWidth"))-a.scrollTop(),r.left+=parseInt(a.css("borderLeftWidth"))-a.scrollLeft()),o=e.hasClass($.DROPUP)?0:e[0].offsetHeight,(T.major<4||"static"===n)&&(t.top=i.top-r.top+o,t.left=i.left-r.left),t.width=e[0].offsetWidth,s.$bsContainer.css(t)}this.$bsContainer=w('<div class="bs-container" />');var i,r,o,s=this,a=w(this.options.container);this.$button.on("click.bs.dropdown.data-api",function(){s.isDisabled()||(e(s.$newElement),s.$bsContainer.appendTo(s.options.container).toggleClass($.SHOW,!s.$button.hasClass($.SHOW)).append(s.$menu))}),w(window).off("resize"+D+"."+this.selectId+" scroll"+D+"."+this.selectId).on("resize"+D+"."+this.selectId+" scroll"+D+"."+this.selectId,function(){s.$newElement.hasClass($.SHOW)&&e(s.$newElement)}),this.$element.on("hide"+D,function(){s.$menu.data("height",s.$menu.height()),s.$bsContainer.detach()})},setOptionStatus:function(e){if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var t=0;t<this.selectpicker.view.visibleElements.length;t++){var n=this.selectpicker.current.data[t+this.selectpicker.view.position0],i=n.option;i&&(!0!==e&&this.setDisabled(n.index,n.disabled),this.setSelected(n.index,i.selected))}},setSelected:function(e,t){var n,i=this.selectpicker.main.elements[e],r=this.selectpicker.main.data[e],o=void 0!==this.activeIndex,s=this.activeIndex===e||t&&!this.multiple&&!o;r.selected=t,n=i.firstChild,t&&(this.selectedIndex=e),i.classList.toggle("selected",t),s?(this.focusItem(i,r),this.selectpicker.view.currentActive=i,this.activeIndex=e):this.defocusItem(i),n&&(n.classList.toggle("selected",t),t?n.setAttribute("aria-selected",!0):this.multiple?n.setAttribute("aria-selected",!1):n.removeAttribute("aria-selected")),s||o||!t||void 0===this.prevActiveIndex||(r=this.selectpicker.main.elements[this.prevActiveIndex],this.defocusItem(r))},setDisabled:function(e,t){var n=this.selectpicker.main.elements[e];this.selectpicker.main.data[e].disabled=t,e=n.firstChild,n.classList.toggle($.DISABLED,t),e&&("4"===T.major&&e.classList.toggle($.DISABLED,t),t?(e.setAttribute("aria-disabled",t),e.setAttribute("tabindex",-1)):(e.removeAttribute("aria-disabled"),e.setAttribute("tabindex",0)))},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){this.isDisabled()?(this.$newElement[0].classList.add($.DISABLED),this.$button.addClass($.DISABLED).attr("aria-disabled",!0)):this.$button[0].classList.contains($.DISABLED)&&(this.$newElement[0].classList.remove($.DISABLED),this.$button.removeClass($.DISABLED).attr("aria-disabled",!1))},clickListener:function(){var y=this,t=w(document);function e(){(y.options.liveSearch?y.$searchbox:y.$menuInner).trigger("focus")}function n(){y.dropdown&&y.dropdown._popper&&y.dropdown._popper.state.isCreated?e():requestAnimationFrame(n)}t.data("spaceSelect",!1),this.$button.on("keyup",function(e){/(32)/.test(e.keyCode.toString(10))&&t.data("spaceSelect")&&(e.preventDefault(),t.data("spaceSelect",!1))}),this.$newElement.on("show.bs.dropdown",function(){3<T.major&&!y.dropdown&&(y.dropdown=y.$button.data("bs.dropdown"),y.dropdown._menu=y.$menu[0])}),this.$button.on("click.bs.dropdown.data-api",function(){y.$newElement.hasClass($.SHOW)||y.setSize()}),this.$element.on("shown"+D,function(){y.$menuInner[0].scrollTop!==y.selectpicker.view.scrollTop&&(y.$menuInner[0].scrollTop=y.selectpicker.view.scrollTop),3<T.major?requestAnimationFrame(n):e()}),this.$menuInner.on("mouseenter","li a",function(e){var t=this.parentElement,n=y.isVirtual()?y.selectpicker.view.position0:0,i=Array.prototype.indexOf.call(t.parentElement.children,t),i=y.selectpicker.current.data[i+n];y.focusItem(t,i,!0)}),this.$menuInner.on("click","li a",function(e,t){var n=w(this),i=y.$element[0],r=y.isVirtual()?y.selectpicker.view.position0:0,o=(r=y.selectpicker.current.data[n.parent().index()+r]).index,s=C(i),a=i.selectedIndex,l=i.options[a],c=!0;if(y.multiple&&1!==y.options.maxOptions&&e.stopPropagation(),e.preventDefault(),!y.isDisabled()&&!n.parent().hasClass($.DISABLED)){var e=r.option,n=w(e),r=e.selected,u=(m=n.parent("optgroup")).find("option"),d=y.options.maxOptions,h=m.data("maxOptions")||!1;if((t=o===y.activeIndex||t)||(y.prevActiveIndex=y.activeIndex,y.activeIndex=void 0),y.multiple){if(e.selected=!r,y.setSelected(o,!r),y.focusedParent.focus(),(!1!==d||!1!==h)&&(t=d<x(i).length,r=h<m.find("option:selected").length,d&&t||h&&r))if(d&&1==d)i.selectedIndex=-1,e.selected=!0,y.setOptionStatus(!0);else if(h&&1==h){for(var f=0;f<u.length;f++){var p=u[f];p.selected=!1,y.setSelected(p.liIndex,!1)}e.selected=!0,y.setSelected(o,!0)}else{var m,g=(m="function"==typeof(m="string"==typeof y.options.maxOptionsText?[y.options.maxOptionsText,y.options.maxOptionsText]:y.options.maxOptionsText)?m(d,h):m)[0].replace("{n}",d),v=m[1].replace("{n}",h),b=w('<div class="notify"></div>');m[2]&&(g=g.replace("{var}",m[2][1<d?0:1]),v=v.replace("{var}",m[2][1<h?0:1])),e.selected=!1,y.$menu.append(b),d&&t&&(b.append(w("<div>"+g+"</div>")),c=!1,y.$element.trigger("maxReached"+D)),h&&r&&(b.append(w("<div>"+v+"</div>")),c=!1,y.$element.trigger("maxReachedGrp"+D)),setTimeout(function(){y.setSelected(o,!1)},10),b[0].classList.add("fadeOut"),setTimeout(function(){b.remove()},1050)}}else l&&(l.selected=!1),e.selected=!0,y.setSelected(o,!0);!y.multiple||y.multiple&&1===y.options.maxOptions?y.$button.trigger("focus"):y.options.liveSearch&&y.$searchbox.trigger("focus"),c&&(y.multiple||a!==i.selectedIndex)&&(k=[e.index,n.prop("selected"),s],y.$element.triggerNative("change"))}}),this.$menu.on("click","li."+$.DISABLED+" a, ."+$.POPOVERHEADER+", ."+$.POPOVERHEADER+" :not(.close)",function(e){e.currentTarget==this&&(e.preventDefault(),e.stopPropagation(),(y.options.liveSearch&&!w(e.target).hasClass("close")?y.$searchbox:y.$button).trigger("focus"))}
1),this.$menuInner.on("click",".divider, .dropdown-header",function(e){e.preventDefault(),e.stopPropagation(),(y.options.liveSearch?y.$searchbox:y.$button).trigger("focus")}),this.$menu.on("click","."+$.POPOVERHEADER+" .close",function(){y.$button.trigger("click")}),this.$searchbox.on("click",function(e){e.stopPropagation()}),this.$menu.on("click",".actions-btn",function(e){(y.options.liveSearch?y.$searchbox:y.$button).trigger("focus"),e.preventDefault(),e.stopPropagation(),w(this).hasClass("bs-select-all")?y.selectAll():y.deselectAll()}),this.$button.on("focus"+D,function(e){var t=y.$element[0].getAttribute("tabindex");void 0!==t&&e.originalEvent&&e.originalEvent.isTrusted&&(this.setAttribute("tabindex",t),y.$element[0].setAttribute("tabindex",-1),y.selectpicker.view.tabindex=t)}).on("blur"+D,function(e){void 0!==y.selectpicker.view.tabindex&&e.originalEvent&&e.originalEvent.isTrusted&&(y.$element[0].setAttribute("tabindex",y.selectpicker.view.tabindex),this.setAttribute("tabindex",-1),y.selectpicker.view.tabindex=void 0)}),this.$element.on("change"+D,function(){y.render(),y.$element.trigger("changed"+D,k),k=null}).on("focus"+D,function(){y.options.mobile||y.$button[0].focus()})},liveSearchListener:function(){var h=this;this.$button.on("click.bs.dropdown.data-api",function(){h.$searchbox.val()&&(h.$searchbox.val(""),h.selectpicker.search.previousValue=void 0)}),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(e){e.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var e=h.$searchbox[0].value;if(h.selectpicker.search.elements=[],h.selectpicker.search.data=[],e){var t=[],n=e.toUpperCase(),i={},r=[],o=h._searchStyle(),s=h.options.liveSearchNormalize;s&&(n=f(n));for(var a=0;a<h.selectpicker.main.data.length;a++){var l=h.selectpicker.main.data[a];i[a]||(i[a]=y(l,n,o,s)),i[a]&&void 0!==l.headerIndex&&-1===r.indexOf(l.headerIndex)&&(0<l.headerIndex&&(i[l.headerIndex-1]=!0,r.push(l.headerIndex-1)),i[l.headerIndex]=!0,r.push(l.headerIndex),i[l.lastIndex+1]=!0),i[a]&&"optgroup-label"!==l.type&&r.push(a)}for(var a=0,c=r.length;a<c;a++){var u=r[a],l=h.selectpicker.main.data[u],d=h.selectpicker.main.data[r[a-1]];("divider"!==l.type||"divider"===l.type&&d&&"divider"!==d.type&&c-1!==a)&&(h.selectpicker.search.data.push(l),t.push(h.selectpicker.main.elements[u]))}h.activeIndex=void 0,h.noScroll=!0,h.$menuInner.scrollTop(0),h.selectpicker.search.elements=t,h.createView(!0),function(e,t){e.length||(A.noResults.innerHTML=this.options.noneResultsText.replace("{0}",'"'+E(t)+'"'),this.$menuInner[0].firstChild.appendChild(A.noResults))}.call(h,t,e)}else h.selectpicker.search.previousValue&&(h.$menuInner.scrollTop(0),h.createView(!1));h.selectpicker.search.previousValue=e})},_searchStyle:function(){return this.options.liveSearchStyle||"contains"},val:function(e){var t,n=this.$element[0];return void 0!==e?(t=C(n),k=[null,null,t],this.$element.val(e).trigger("changed"+D,k),this.$newElement.hasClass($.SHOW)&&(this.multiple?this.setOptionStatus(!0):"number"==typeof(t=(n.options[n.selectedIndex]||{}).liIndex)&&(this.setSelected(this.selectedIndex,!1),this.setSelected(t,!0))),this.render(),k=null,this.$element):this.$element.val()},changeAll:function(e){if(this.multiple){void 0===e&&(e=!0);var t=this.$element[0],n=0,i=0,r=C(t);t.classList.add("bs-select-hidden");for(var o=0,s=this.selectpicker.current.data,a=s.length;o<a;o++){var l=s[o],c=l.option;c&&!l.disabled&&"divider"!==l.type&&(l.selected&&n++,!0===(c.selected=e))&&i++}t.classList.remove("bs-select-hidden"),n!==i&&(this.setOptionStatus(),k=[null,null,r],this.$element.triggerNative("change"))}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(e){(e=e||window.event)&&e.stopPropagation(),this.$button.trigger("click.bs.dropdown.data-api")},keydown:function(e){var t,n,i,r,o=w(this),s=((c=o.hasClass("dropdown-toggle"))?o.closest(".dropdown"):o.closest(I.MENU)).data("this"),a=s.findLis(),l=!1,c=9===e.which&&!c&&!s.options.selectOnTab,u=z.test(e.which)||c,d=s.$menuInner[0].scrollTop,h=!0===s.isVirtual()?s.selectpicker.view.position0:0;if(!(112<=e.which&&e.which<=123))if(!(t=s.$newElement.hasClass($.SHOW))&&(u||48<=e.which&&e.which<=57||96<=e.which&&e.which<=105||65<=e.which&&e.which<=90)&&(s.$button.trigger("click.bs.dropdown.data-api"),s.options.liveSearch))s.$searchbox.trigger("focus");else{if(27===e.which&&t&&(e.preventDefault(),s.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),u){if(!a.length)return;-1!==(u=(n=s.selectpicker.main.elements[s.activeIndex])?Array.prototype.indexOf.call(n.parentElement.children,n):-1)&&s.defocusItem(n),38===e.which?(-1!==u&&u--,u+h<0&&(u+=a.length),s.selectpicker.view.canHighlight[u+h]||-1==(u=s.selectpicker.view.canHighlight.slice(0,u+h).lastIndexOf(!0)-h)&&(u=a.length-1)):40!==e.which&&!c||(++u+h>=s.selectpicker.view.canHighlight.length&&(u=s.selectpicker.view.firstHighlightIndex),s.selectpicker.view.canHighlight[u+h])||(u=u+1+s.selectpicker.view.canHighlight.slice(u+h+1).indexOf(!0)),e.preventDefault();var f=h+u;38===e.which?0===h&&u===a.length-1?(s.$menuInner[0].scrollTop=s.$menuInner[0].scrollHeight,f=s.selectpicker.current.elements.length-1):l=(r=(i=s.selectpicker.current.data[f]).position-i.height)<d:40!==e.which&&!c||(u===s.selectpicker.view.firstHighlightIndex?(s.$menuInner[0].scrollTop=0,f=s.selectpicker.view.firstHighlightIndex):l=d<(r=(i=s.selectpicker.current.data[f]).position-s.sizeInfo.menuInnerHeight)),n=s.selectpicker.current.elements[f],s.activeIndex=s.selectpicker.current.data[f].index,s.focusItem(n),s.selectpicker.view.currentActive=n,l&&(s.$menuInner[0].scrollTop=r),(s.options.liveSearch?s.$searchbox:o).trigger("focus")}else if(!o.is("input")&&!U.test(e.which)||32===e.which&&s.selectpicker.keydown.keyHistory){var p,m=[];e.preventDefault(),s.selectpicker.keydown.keyHistory+=W[e.which],s.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(s.selectpicker.keydown.resetKeyHistory.cancel),s.selectpicker.keydown.resetKeyHistory.cancel=s.selectpicker.keydown.resetKeyHistory.start(),p=s.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(p)&&(p=p.charAt(0));for(var g=0;g<s.selectpicker.current.data.length;g++){var v=s.selectpicker.current.data[g];y(v,p,"startsWith",!0)&&s.selectpicker.view.canHighlight[g]&&m.push(v.index)}m.length&&(h=0,a.removeClass("active").find("a").removeClass("active"),1===p.length&&(-1===(h=m.indexOf(s.activeIndex))||h===m.length-1?h=0:h++),l=0<d-(i=s.selectpicker.main.data[c=m[h]]).position?(r=i.position-i.height,!0):(r=i.position-s.sizeInfo.menuInnerHeight,i.position>d+s.sizeInfo.menuInnerHeight),n=s.selectpicker.main.elements[c],s.activeIndex=m[h],s.focusItem(n),n&&n.firstChild.focus(),l&&(s.$menuInner[0].scrollTop=r),o.trigger("focus"))}t&&(32===e.which&&!s.selectpicker.keydown.keyHistory||13===e.which||9===e.which&&s.options.selectOnTab)&&(32!==e.which&&e.preventDefault(),s.options.liveSearch&&32===e.which||(s.$menuInner.find(".active a").trigger("click",!0),o.trigger("focus"),s.options.liveSearch)||(e.preventDefault(),w(document).data("spaceSelect",!0)))}},mobile:function(){this.options.mobile=!0,this.$element[0].classList.add("mobile-device")},refresh:function(){var e=w.extend({},this.options,this.$element.data());this.options=e,this.checkDisabled(),this.buildData(),this.setStyle(),this.render(),this.buildList(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed"+D)},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),(this.$bsContainer||this.$menu).remove(),this.selectpicker.view.titleOption&&this.selectpicker.view.titleOption.parentNode&&this.selectpicker.view.titleOption.parentNode.removeChild(this.selectpicker.view.titleOption),this.$element.off(D).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),w(window).off(D+"."+this.selectId)}};var Y=w.fn.selectpicker;function M(){if(w.fn.dropdown)return(w.fn.dropdown.Constructor._dataApiKeydownHandler||w.fn.dropdown.Constructor.prototype.keydown).apply(this,arguments)}w.fn.selectpicker=N,w.fn.selectpicker.Constructor=O,w.fn.selectpicker.noConflict=function(){return w.fn.selectpicker=Y,this},w(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.dropdown.data-api",':not(.bootstrap-select) > [data-toggle="dropdown"]',M).on("keydown.bs.dropdown.data-api",":not(.bootstrap-select) > .dropdown-menu",M).on("keydown"+D,'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',O.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(e){e.stopPropagation()}),w(window).on("load"+D+".data-api",function(){w(".selectpicker").each(function(){var e=w(this);N.call(e,e.data())})})}(jQuery),jQuery.fn.selectpicker.defaults={noneSelectedText:"Nessuna selezione",noneResultsText:"Nessun risultato per {0}",countSelectedText:function(e,t){return 1==e?"Selezionato {0} di {1}":"Selezionati {0} di {1}"},maxOptionsText:["Limite raggiunto ({n} {var} max)","Limite del gruppo raggiunto ({n} {var} max)",["elementi","elemento"]],multipleSeparator:", ",selectAllText:"Seleziona Tutto",deselectAllText:"Deseleziona Tutto"},function(){"use strict";var m,e,g,v,b,t,n;"undefined"!=typeof window&&window.addEventListener&&(m=Object.create(null),g=function(){clearTimeout(e),e=setTimeout(t,100)},v=function(){},b="http://www.w3.org/1999/xlink",t=function(){var e,t,n,i,r,o,s,a,l,c,u,d=0;function h(){var e;0==--d&&(v(),window.addEventListener("resize",g,!1),window.addEventListener("orientationchange",g,!1),v=window.MutationObserver?((e
1=new MutationObserver(g)).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),function(){try{e.disconnect(),window.removeEventListener("resize",g,!1),window.removeEventListener("orientationchange",g,!1)}catch(e){}}):(document.documentElement.addEventListener("DOMSubtreeModified",g,!1),function(){document.documentElement.removeEventListener("DOMSubtreeModified",g,!1),window.removeEventListener("resize",g,!1),window.removeEventListener("orientationchange",g,!1)}))}function f(e){return function(){!0!==m[e.base]&&(e.useEl.setAttributeNS(b,"xlink:href","#"+e.hash),e.useEl.hasAttribute("href"))&&e.useEl.setAttribute("href","#"+e.hash)}}function p(e){return function(){e.onerror=null,e.ontimeout=null,h()}}for(v(),o=document.getElementsByTagName("use"),n=0;n<o.length;n+=1){try{t=o[n].getBoundingClientRect()}catch(e){t=!1}e=(r=(s=o[n].getAttribute("href")||o[n].getAttributeNS(b,"href")||o[n].getAttribute("xlink:href"))&&s.split?s.split("#"):["",""])[0],r=r[1],i=t&&0===t.left&&0===t.right&&0===t.top&&0===t.bottom,t&&0===t.width&&0===t.height&&!i?(o[n].hasAttribute("href")&&o[n].setAttributeNS(b,"xlink:href",s),e.length&&(!0!==(s=m[e])&&setTimeout(f({useEl:o[n],base:e,hash:r}),0),void 0===s)&&(a=e,c=void 0,l=function(e){var t;return void 0!==e.protocol?t=e:(t=document.createElement("a")).href=e,t.protocol.replace(/:/g,"")+t.host},window.XMLHttpRequest&&(c=new XMLHttpRequest,u=l(location),a=l(a),c=void 0===c.withCredentials&&""!==a&&a!==u?XDomainRequest||void 0:XMLHttpRequest),void 0!==c)&&(s=new c,(m[e]=s).onload=function(n){return function(){var e=document.body,t=document.createElement("x");n.onload=null,t.innerHTML=n.responseText,(t=t.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",e.insertBefore(t,e.firstChild)),h()}}(s),s.onerror=p(s),s.ontimeout=p(s),s.open("GET",e),s.send(),d+=1)):i?e.length&&m[e]&&setTimeout(f({useEl:o[n],base:e,hash:r}),0):void 0===m[e]?m[e]=!0:m[e].onload&&(m[e].abort(),delete m[e].onload,m[e]=!0)}o="",d+=1,h()},n=function(){window.removeEventListener("load",n,!1),e=setTimeout(t,0)},"complete"!==document.readyState?window.addEventListener("load",n,!1):n())}(),Array.from||(Array.from=function(){function u(e){return"function"==typeof e||"[object Function]"===t.call(e)}var t=Object.prototype.toString,d=Math.pow(2,53)-1;return function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n,i=1<arguments.length?arguments[1]:void 0;if(void 0!==i){if(!u(i))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(n=arguments[2])}o=t.length,s=Number(o),o=isNaN(s)?0:0!==s&&isFinite(s)?(0<s?1:-1)*Math.floor(Math.abs(s)):s;for(var r,o,s,a=Math.min(Math.max(o,0),d),l=u(this)?Object(new this(a)):new Array(a),c=0;c<a;)r=t[c],l[c]=i?void 0===n?i(r,c):i.call(n,r,c):r,c+=1;return l.length=a,l}}()),function(u){function a(e){return e*Math.PI/180}function d(e,t,n){var i=u("#"+n+"canvas")[0],r=u("#"+n+"canvas"),o=i.getContext("2d"),s=i.width/2,i=i.height/2;o.beginPath(),o.arc(s,i,u(r).attr("data-radius"),0,2*Math.PI,!1),o.fillStyle="transparent",o.fill(),o.lineWidth=u(r).attr("data-width"),o.strokeStyle=u(r).attr("data-progressBarBackgroun
1d"),o.stroke(),o.closePath(),o.beginPath(),o.arc(s,i,u(r).attr("data-radius"),-a(90),-a(90)+a(e/100*360),!1),o.fillStyle="transparent",o.fill(),o.lineWidth=u(r).attr("data-width"),o.strokeStyle=u(r).attr("data-stroke"),o.stroke(),o.closePath(),"true"==u(r).attr("data-text").toLocaleLowerCase()&&u("#"+n+" .clProg").val(t+("true"==u(r).attr("data-percent").toLocaleLowerCase()?"%":""))}u.fn.circularloader=function(e){var t,n,i,r,o,s,a,l=this[0],c=l.id;return 0==u("#"+c+"canvas").length?(t=u.extend({backgroundColor:"#ffffff",fontColor:"#000000",fontSize:"40px",radius:70,progressBarBackground:"#cdcdcd",progressBarColor:"#aaaaaa",progressBarWidth:25,progressPercent:0,progressValue:0,showText:!0,title:""},e),n=parseInt(t.radius),i=parseInt(t.progressBarWidth),r=parseInt(0<parseInt(t.progressValue)?t.progressValue:t.progressPercent),o=parseInt(t.progressPercent),a="color:"+t.fontColor+";font-size:"+parseInt(t.fontSize)+"px;width:"+2*(n+i)+"px;vertical-align:middle;position:relative;background-color:transparent;border:0 none;transform:translateY(-48%);-webkit-transform: translateY(-48%);-ms-transform: translateY(-48%);height:"+2*(n+i)+"px;margin-left:-"+2*(n+i)+"px;text-align:center;padding:0;"+(t.showText?"":"display:none;"),u('<canvas data-width="'+i+'" data-radius="'+n+'" data-stroke="'+t.progressBarColor+'" data-progressBarBackgroun
1d="'+t.progressBarBackground+'" data-backgroundColor="'+t.backgroundColor+'" data-text='+t.showText+" data-percent="+(null==e.progressValue)+' id="'+c+'canvas" width='+2*(n+i)+" height="+2*(n+i)+"></canvas>").appendTo(l),u('<input class="clProg" style="'+a+'" value="'+r+(null==e.progressValue?"%":"")+'" aria-hidden="true"></input>').appendTo(l),""==t.title?u("#"+c).css("height",2*(n+i)):(u("#"+c).css("height",2*(n+i)+20),u("#"+c+"canvas").before("<div class='titleCircularLoader' style='height:19px;text-align:center;'>"+t.title+"</div>"),u(".titleCircularLoader").css("width",2*(n+i))),l=(a=u("#"+c+"canvas")[0]).getContext("2d"),s=a.width/2,a=a.height/2,u("#"+c+"canvas").offset().left,u("#"+c+"canvas").offset().top,l.beginPath(),l.arc(s,a,n,0,2*Math.PI,!1),l.fillStyle=t.backgroundColor,l.fill(),l.lineWidth=i,l.strokeStyle=t.progressBarBackground,l.stroke(),l.closePath(),0<o&&d(o,r,c)):null==e.progressPercent&&null==e.progressValue||(r=o=0,d(o=null==e.progressPercent?100<parseInt(e.progressValue)?100:parseInt(e.progressValue):100<parseInt(e.progressPercent)?100:parseInt(e.progressPercent),r=null==e.progressValue?100<parseInt(e.progressPercent)?100:parseInt(e.progressPercent):parseInt(e.progressValue),c)),this}}(jQuery),function(l){"use strict";function e(r,o){function s(e){return-1===e?"danger":-2===e?"muted":(e=e<0?0:e)<26?"danger":e<51?"warning":"success"}function a(e,t){for(var n="",i=!1,r=0;r<t.length;r++){for(var i=!0,o=0;o<e&&o+r+e<t.length;o++)i=i&&t.charAt(o+r)===t.charAt(o+r+e);(i=!(o<e)&&i)?(r+=e-1,i=!1):n+=t.charAt(r)}return n}return o=l.extend({},{shortPass:"Password molto debole",badPass:"Password debole",goodPass:"Password sicura",strongPass:"Password molto sicura",enterPass:"Inserisci almeno 8 caratteri e una lettera maiuscola",showText:!0,minimumLength:4},o),function(){var n=o.showText,i=((e=l("<div>").addClass("password-meter progress rounded-0 position-absolute")).append('<div class="row position-absolute w-100 m-0">\n <div class="col-3 border-left border-right border-white"></div>\n <div class="col-3 border-left border-right border-white"></div>\n <div class="col-3 border-left border-right border-white"></div>\n <div class="col-3 border-left border-right border-white"></div>\n </div>'),l("<div>").attr({class:"progress-bar",role:"progressbar","aria-valuenow":"0","aria-valuemin":"0","aria-valuemax":"100"})),e=l("<div>").attr({class:"password-strength-meter"}).append(e.append(i));return o.showText&&(n=l("<small>").addClass("form-text text-muted").html(o.enterPass),e.prepend(n)),r.after(e),r.keyup(function(){var e=function(e){var t=0;if(0===e.trim().length)return-2;if(e.length<o.minimumLength)return-1;t=(t=(t=(t=(t+=4*e.length)+(a(1,e).length-e.length))+(a(2,e).length-e.length))+(a(3,e).length-e.length))+(a(4,e).length-e.length),e.match(/(.*[0-9].*[0-9].*[0-9])/)&&(t+=5);var n=".*[!,@,#,$,%,^,&,*,?,_,~]",n=new RegExp("("+n+n+")");return e.match(n)&&(t+=5),e.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)&&(t+=10),e.match(/([a-zA-Z])/)&&e.match(/([0-9])/)&&(t+=15),e.match(/([!,@,#,$,%,^,&,*,?,_,~])/)&&e.match(/([0-9])/)&&(t+=15),e.match(/([!,@,#,$,%,^,&,*,?,_,~])/)&&e.match(/([a-zA-Z])/)&&(t+=15),(e.match(/^\w+$/)||e.match(/^\d+$/))&&(t-=10),(t=100<t?100:t)<0?0:t}(r.val()),t=(r.trigger("password.score",[e]),e<0?0:e);i.removeClass(function(e,t){return(t.match(/(^|\s)bg-\S+/g)||[]).join(" ")}),i.addClass("bg-"+s(e)),i.css({width:t+"%"}),i.attr("aria-valuenow",t),o.showText&&(t=-1===(t=e)||(t=t<0?0:t)<26?o.shortPass:t<51?o.badPass:t<76?o.goodPass:o.strongPass,!r.val().length&&e<=0&&(t=o.enterPass),n.html()!==l("<div>").html(t).html())&&(n.html(t),n.removeClass(function(e,t){return(t.match(/(^|\s)text-\S+/g)||[]).join(" ")}),n.addClass("text-"+s(e)),r.trigger("password.text",[t,e]))}),this}.call(this)}l.fn.password=function(){return this.each(function(){new e(l(this),l(this).data())})}}(jQuery),$(function(){var t=!1,n=null;$(".input-password").on("keydown",function(e){16==(e.keyCode||e.which)&&(t=!0)}).on("keyup",function(e){16==(e=e.keyCode||e.which)&&(t=!1),20==e&&(n?(n=!1,$(".password-caps").remove()):(n=!0,$("input:focus").each(function(){showCapsLockMsg($(this))})))}).on("keypress",function(e){65<=(e=e.keyCode||e.which)&&e<=90&&!t&&(n=!0,showCapsLockMsg($(this)))}),$(".input-password-strength-meter").password(),$(".password-icon").on("click",function(){$(this).find('[class^="password-icon"]').toggleClass("d-none");
1var e=$(this).siblings(".input-password"),t="password"===e.attr("type")?"text":"password";e.attr("type",t)})}),function(){"use strict";void 0===Date.dp_locales&&(Date.dp_locales={texts:{buttonTitle:"Scegli la data ...",buttonLabel:"Fare clic o premere il tasto Invio o la barra spaziatrice per aprire il calendario",prevButtonLabel:"Vai al mese precedente",nextButtonLabel:"Vai al mese successivo",closeButtonTitle:"Chiudere",closeButtonLabel:"Chiudere il calendario",prevMonthButtonLabel:"Vai all'anno precedente",prevYearButtonLabel:"Vai a vent'anni precedenti",nextMonthButtonLabel:"Vai al prossimo anno",nextYearButtonLabel:"Vai ai prossimi 20 anni",changeMonthButtonLabel:"Fare clic o premere il tasto Invio o la barra spaziatrice per cambiare il mese",changeYearButtonLabel:"Fare clic o premere il tasto Invio o la barra spaziatrice per cambiare l'anno",changeRangeButtonLabel:"Fare clic o premere il tasto Invio o la barra spaziatrice per andare ai prossimi 20 anni",calendarHelp:"- Freccia e Freccia giù - va allo stesso giorno della settimana in settimana precedente o successiva, rispettivamente. Se viene raggiunta la fine del mese, continua nel mese precedente o successivo a seconda dei casi.\r\n- Freccia Sinistra e Freccia destra - avanza un giorno all'altro, anche in un continuum. Visivamente fuoco viene spostato da un giorno all'altro e avvolge da riga a riga nella griglia di giorni.\r\n- Control + Pagina Su - Passa alla stessa data dell'anno precedente.\r\n- Control + Pagina giù - Passa alla stessa data nel prossimo anno.\r\n- Home - Passa al primo giorno del mese in corso.\r\n- End - Passa l'ultimo giorno del mese corrente.\r\n- Pagina Su - Passa alla stessa data del mese precedente.\r\n- Pagina giù - Passa alla stessa data del mese successivo.\r\n- Invio o Espace - chiude il calendario e la data selezionata viene visualizzata nella casella di testo associato.\r\n- Escape - chiude il calendario senza alcuna azione."},directionality:"LTR",month_names:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],month_names_abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],month_names_narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],day_names:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],day_names_abbreviated:["dom","lun","mar","mer","gio","ven","sab"],day_names_short:["dom","lun","mar","mer","gio","ven","sab"],day_names_narrow:["D","L","M","M","G","V","S"],day_periods:{am:"AM",noon:"mezzogiorno",pm:"PM"},day_periods_abbreviated:{am:"AM",noon:"mezzogiorno",pm:"PM"},day_periods_narrow:{am:"m.",noon:"n",pm:"p."},quarter_names:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"],quarter_names_abbreviated:["T1","T2","T3","T4"],quarter_names_narrow:["1","2","3","4"],era_names:["a.C.","d.C."],era_names_abbreviated:["aC","dC"],era_names_narrow:["aC","dC"],full_format:"EEEE d MMMM y",long_format:"d MMMM y",medium_format:"dd MMM y",short_format:"dd/MM/yy",firstday_of_week:1})}(),function(){"use strict";void 0===Date.dp_locales&&(Date.dp_locales={texts:{buttonTitle:"Select date ...",buttonLabel:"Click or press the Enter key or the spacebar to open the calendar",prevButtonLabel:"Go to previous month",prevMonthButtonLabel:"Go to the previous year",prevYearButtonLabel:"Go to the previous twenty years",nextButtonLabel:"Go to next month",nextMonthButtonLabel:"Go to the next year",nextYearButtonLabel:"Go to the next twenty years",changeMonthButtonLabel:"Click or press the Enter key or the spacebar to change the month",changeYearButtonLabel:"Click or press the Enter key or the spacebar to change the year",changeRangeButtonLabel:"Click or press the Enter key or the spacebar to go to the next twenty years",closeButtonTitle:"Close",closeButtonLabel:"Close the calendar",calendarHelp:"- Up Arrow and Down Arrow - goes to the same day of the week in the previous or next week respectively. If the end of the month is reached, continues into the next or previous month as appropriate.\r\n- Left Arrow and Right Arrow - advances one day to the next, also in a continuum. Visually focus is moved from day to day and wraps from row to row in the grid of days.\r\n- Control+Page Up - Moves to the same date in the previous year.\r\n- Control+Page Down - Moves to the same date in the next year.\r\n- Home - Moves to the first day of the current month.\r\n- End - Moves to the last day of the current month.\r\n- Page Up - Moves to the same date in the previous month.\r\n- Page Down - Moves to the same date in the next month.\r\n- Enter or Espace - closes the calendar, and the selected date is shown in the associated text box.\r\n- Escape - closes the calendar without any action."},directionality:"LTR",month_names:["January","February","March","April","May","June","July","August","September","October","November","December"],month_names_abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],month_names_narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],day_names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],day_names_abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],day_names_short:["Su","Mo","Tu","We","Th","Fr","Sa"],day_names_narrow:["S","M","T","W","T","F","S"],day_periods:{am:"AM",noon:"noon",pm:"PM"},day_periods_abbreviated:{am:"AM",noon:"noon",pm:"PM"},day_periods_narrow:{am:"a",noon:"n",pm:"p"},quarter_names:["1st quarter","2nd quarter","3rd quarter","4th quarter"],quarter_names_abbreviated:["Q1","Q2","Q3","Q4"],quarter_names_narrow:["1","2","3","4"],era_names:["Before Christ","Anno Domini"],era_names_abbreviated:["BC","AD"],era_names_narrow:["B","A"],full_format:"EEEE, MMMM d, y",long_format:"MMMM d, y",medium_format:"MMM d, y",short_format:"M/d/yy",firstday_of_week:0})}(),function(e){if("function"==typeof define&&define.amd)define(["jquery"],e);else if("object"==typeof exports)e(require("jquery"));else{if("undefined"==typeof jQuery)throw new Error("Datepicker's JavaScript requires jQuery");e(jQuery)}}(function(b,u){"use strict";function o(e,t){var i=this;this.$target=b(e),this.options=b.extend({},o.DEFAULTS,t),this.locales=Date.dp_locales,this.startview(this.options.startView),"string"==typeof this.options.inputFormat&&(this.options.inputFormat=[this.options.inputFormat]),b.isArray(this.options.datesDisabled)||(this.options.datesDisabled=[this.options.datesDisabled]),b.each(this.options.datesDisabled,function(e,t){var n;"string"==typeof t?(n=i.parseDate(t),i.options.datesDisabled[e]=null===n?null:i.format(n)):t instanceof Date&&!isNaN(t.valueOf())?i.options.datesDisabled[e]=i.format(t):i.options.datesDisabled[e]=null}),null!=this.options.min?this.options.min=this.parseDate(this.options.min):this.$target.attr("min")&&(this.options.min=this.parseDate(this.$target.attr("min"))),null!=this.options.max?this.options.max=this.parseDate(this.options.max):this.$target.attr("max")&&(this.options.max=this.parseDate(this.$target.attr("max"))),"string"==typeof this.options.previous?this.options.previous=b(this.options.previous):this.options.previous instanceof jQuery||(this.options.previous=null),"string"==typeof this.options.next?this.options.next=b(this.options.next):this.options.next instanceof jQuery||(this.options.next=null),this.id=this.$target.attr("id")||"datepicker-"+Math.floor(1e5*Math.random()),e=(e=r.join("")).replace(/CALENDARID/g,this.id+""),0==this.$target.parent(".input-group").length&&this.$target.wrap('<div class="input-group"></div>'),this.$label=this.$target.parents().find("label[for="+this.id+"]"),this.$group=this.$target.parent(".input-group"),this.$target.attr("aria-autocomplete","none"),this.$target.css("min-width","7em"),this.$target.addClass("form-control"),this.$target.attr("placeholder")||this.$target.attr("placeholder",this.options.inputFormat[0]),t=(t=n.join("")).replace(/CALENDARID/g,this.id+""),this.$button=b(t),this.$button.addClass(this.options.theme),this.$calendar=b(e),this.$calendar.addClass(this.options.theme),this.$target.after(this.$button),"static"===this.$calendar.parent().css("position")&&this.$calendar.parent().css("position","relative"),this.$calendar.find(".datepicker-bn-open-label").html(this.options.buttonLabel),this.$target.attr("id")&&this.$calendar.attr("aria-controls",this.$target.attr("id")),this.$button.find("span").attr("title",this.options.buttonTitle),this.$calendar.css("left",this.$target.parent().position().left+"px"),this.$monthObj=this.$calendar.find(".datepicker-month"),this.$prev=this.$calendar.find(".datepicker-month-prev"),this.$next=this.$calendar.find(".datepicker-month-next"),this.$fastprev=this.$calendar.find(".datepicker-month-fast-prev"),this.$fastnext=this.$calendar.find(".datepicker-month-fast-next"),this.$grid=this.$calendar.find(".datepicker-grid"),"RTL"===this.locales.directionality&&this.$grid.addClass("rtl"),this.drawCalendarHeader(),0==this.options.inline&&1==this.options.modal?(this.$close=this.$calendar.find(".datepicker-close"),this.$close.html(this.options.closeButtonTitle).attr("title",this.options.closeButtonLabel),this.$calendar.find(".datepicker-bn-close-label").html(this.options.closeButtonLabel)):(this.hideObject(this.$calendar.find(".datepicker-close-wrap")),this.hideObject(this.$calendar.find(".datepicker-bn-close-label"))),0!=this.options.inline?(this.hideObject(this.$button),("string"==typeof this.options.inline?b("#"+this.options.inline):this.options.inline).append(this.$calendar),this.$calendar.css({position:"relative",left:"0px"}),this.initializeDate()):(this.$calendar.css({display:"none"}),this.$target.parent().after(this.$calendar),this.hide(!this.options.gainFocusOnConstruction)),this.keys={tab:9,enter:13,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40},this.bindHandlers(),this.$button.click(function(e){return b(this).hasClass("disabled")||("true"===i.$calendar.attr("aria-hidden")?(i.initializeDate(),i.show()):i.hide(),i.selectGridCell(i.$grid.attr("aria-activedescendant"))),e.stopPropagation(),!1}),this.$button.keydown(function(e){if((e=e||event).keyCode==i.keys.enter||e.keyCode==i.keys.space)return b(this).trigger("click"),!1}),this.$calendar.on("blur",function(){"false"===i.$calendar.attr("aria-hidden")&&i.hide()})}var n=['<a class="datepicker-button input-group-addon btn" role="button" aria-haspopup="true" tabindex="0" aria-labelledby="datepicker-bn-open-label-CALENDARID">','\t<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>it-calendar</title><g><path d="M21,9V8a3,3,0,0,0-3-3h-.55V4a1,1,0,0,0-2,0V5h-7V4a1,1,0,1,0-2,0V5H6A3,3,0,0,0,3,8V18a3,3,0,0,0,3,3H18a3,3,0,0,0,3-3V9ZM15.46,5h2V6a1,1,0,1,1-2,0Zm-9,0h2V6a1,1,0,1,1-2,0ZM20,18a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V10H20Z"/></g></svg>',"</a>"],r=['<div class="datepicker-calendar" id="datepicker-calendar-CALENDARID" aria-hidden="false">','\t<div class="datepicker-month-wrap">','\t\t<div class="datepicker-month-fast-next pull-right" role="button" aria-labelledby="datepicker-bn-fast-next-label-CALENDARID" tabindex="0"><span class="icon-right"></span><span class="icon-right"></span></div>','\t\t<div class="datepicker-month-next pull-right" role="button" aria-labelledby="datepicker-bn-next-label-CALENDARID" tabindex="0"><span class="icon-right"></span></div>','\t\t<div class="datepicker-month-fast-prev pull-left" role="button" aria-labelledby="datepicker-bn-fast-prev-label-CALENDARID" tabindex="0"><span class="icon-left"></span><span class="icon-left"></span></div>','\t\t<div class="datepicker-month-prev pull-left" role="button" aria-labelledby="datepicker-bn-prev-label-CALENDARID" tabindex="0"><span class="icon-left"></span></div>','\t\t<div id="datepicker-month-CALENDARID" class="datepicker-month" tabindex="0" role="heading" aria-live="assertive" aria-atomic="true" title="Click or press the Enter key or the spacebar to change the month">July 2015</div>',"\t</div>",'\t<table class="datepicker-grid" role="grid" aria-readonly="true" aria-activedescendant="datepicker-err-msg-CALENDARID" aria-labelledby="datepicker-month-CALENDARID" tabindex="0">',"\t\t<thead>",'\t\t\t<tr class="datepicker-weekdays" role="row">','\t\t\t\t<th scope="col" id="day0-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Sunday"><abbr title="Sunday">Su</abbr></th>','\t\t\t\t<th scope="col" id="day1-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Monday"><abbr title="Monday">Mo</abbr></th>','\t\t\t\t<th scope="col" id="day2-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Tuesday"><abbr title="Tuesday">Tu</abbr></th>','\t\t\t\t<th scope="col" id="day3-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Wednesday"><abbr title="Wednesday">We</abbr></th>','\t\t\t\t<th scope="col" id="day4-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Thursday"><abbr title="Thursday">Th</abbr></th>','\t\t\t\t<th scope="col" id="day5-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Friday"><abbr title="Friday">Fr</abbr></th>','\t\t\t\t<th scope="col" id="day6-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Saturday"><abbr title="Saturday">Sa</abbr></th>',"\t\t\t</tr>","\t\t</thead>","\t\t<tbody>","\t\t\t<tr>",'\t\t\t\t<td id="datepicker-err-msg-CALENDARID" colspan="7"><span>Javascript must be enabled</span></td>',"\t\t\t</tr>","\t\t</tbody>","\t</table>",'\t<div class="datepicker-close-wrap">','\t\t<button class="datepicker-close" id="datepicker-close-CALENDARID" aria-labelledby="datepicker-bn-close-label-CALENDARID">Close</button>',"\t</div>",'\t<div id="datepicker-bn-open-label-CALENDARID" class="datepicker-bn-open-label offscreen">Click or press the Enter key or the spacebar to open the calendar</div>','\t<div id="datepicker-bn-prev-label-CALENDARID" class="datepicker-bn-prev-label offscreen">Go to previous month</div>','\t<div id="datepicker-bn-next-label-CALENDARID" class="datepicker-bn-next-label offscreen">Go to next month</div>','\t<div id="datepicker-bn-fast-prev-label-CALENDARID" class="datepicker-bn-fast-prev-label offscreen">Go to previous year</div>','\t<div id="datepicker-bn-fast-next-label-CALENDARID" class="datepicker-bn-fast-next-label offscreen">Go to next year</div>','\t<div id="datepicker-bn-close-label-CALENDARID" class="datepicker-bn-close-label offscreen">Close the date picker</div>',"</div>"],e=(o.VERSION="2.1.10",o.DEFAULTS={firstDayOfWeek:Date.dp_locales.firstday_of_week,weekDayFormat:"short",startView:0,daysOfWeekDisabled:[],datesDisabled:[],isDateDisabled:null,isMonthDisabled:null,isYearDisabled:null,inputFormat:[Date.dp_locales.short_format],outputFormat:Date.dp_locales.short_format,titleFormat:Date.dp_locales.full_format,buttonTitle:Date.dp_locales.texts.buttonTitle,buttonLabel:Date.dp_locales.texts.buttonLabel,prevButtonLabel:Date.dp_locales.texts.prevButtonLabel,prevMonthButtonLabel:Date.dp_locales.texts.prevMonthButtonLabel,prevYearButtonLabel:Date.dp_locales.texts.prevYearButtonLabel,nextButtonLabel:Date.dp_locales.texts.nextButtonLabel,nextMonthButtonLabel:Date.dp_locales.texts.nextMonthButtonLabel,nextYearButtonLabel:Date.dp_locales.texts.nextYearButtonLabel,changeMonthButtonLabel:Date.dp_locales.texts.changeMonthButtonLabel,changeYearButtonLabel:Date.dp_locales.texts.changeYearButtonLabel,changeRangeButtonLabel:Date.dp_locales.texts.changeRangeButtonLabel,closeButtonTitle:Date.dp_locales.texts.closeButtonTitle,closeButtonLabel:Date.dp_locales.texts.closeButtonLabel,onUpdate:function(){},previous:null,next:null,theme:"default",modal:!1,inline:!1,gainFocusOnConstruction:!1,min:null,max:null},o.prototype.initializeDate=function(){var e=""===(e=this.$target.val())?new Date:this.parseDate(e);this.setDate(e,!0)},o.prototype.getDate=function(){var e=this.$target.val();return""===e?new Date:this.parseDate(e)},o.prototype.setDate=function(e,t){switch(this.dateObj=e,t=void 0!==t&&t,null==this.dateObj&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=new Date,this.dateObj.setHours(0,0,0,0)),null!=this.options.min&&this.dateObj<this.options.min?(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=this.options.min):null!=this.options.max&&this.dateObj>this.options.max&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=this.options.max),t&&""==this.$target.val()||this.$target.val(this.format(this.dateObj)),this.curYear=this.dateObj.getFullYear(),this.year=this.curYear,this.curMonth=this.dateObj.getMonth(),this.month=this.curMonth,this.date=this.dateObj.getDate(),this.options.startView){case 1:this.populateMonthsCalendar(
1),this.$grid.attr("aria-activedescendant",this.$grid.find(".curMonth").attr("id"));break;case 2:this.populateYearsCalendar(),this.$grid.attr("aria-activedescendant",this.$grid.find(".curYear").attr("id"));break;default:this.populateDaysCalendar(),this.$grid.attr("aria-activedescendant",this.$grid.find(".curDay").attr("id"))}},o.prototype.drawCalendarHeader=function(){for(var e=this.$grid.find("th.datepicker-day"),t=this.options.firstDayOfWeek,n=0;n<7;n++)e.eq(n).attr("aria-label",this.locales.day_names[t]),e.children("abbr").eq(n).attr("title",this.locales.day_names[t]).text(("short"===this.options.weekDayFormat?this.locales.day_names_short:this.locales.day_names_narrow)[t]),t=(t+1)%7},o.prototype.populateDaysCalendar=function(){this.$calendar.find(".datepicker-bn-prev-label").html(this.options.prevButtonLabel),this.$calendar.find(".datepicker-bn-next-label").html(this.options.nextButtonLabel),this.$calendar.find(".datepicker-bn-fast-prev-label").html(this.options.prevMonthButtonLabel),this.$calendar.find(".datepicker-bn-fast-next-label").html(this.options.nextMonthButtonLabel),null!=this.options.min&&(this.year-1<this.options.min.getFullYear()||this.year-1==this.options.min.getFullYear()&&this.month<this.options.min.getMonth())?(this.$fastprev.attr("title",""),this.$fastprev.addClass("disabled"),this.$fastprev.removeClass("enabled")):(this.$fastprev.attr("title",this.options.prevMonthButtonLabel),this.$fastprev.addClass("enabled"),this.$fastprev.removeClass("disabled"));for(var e=this.previousMonth(this.year,this.month),t=(null!=this.options.min&&(e.year<this.options.min.getFullYear()||e.year==this.options.min.getFullYear()&&e.month<this.options.min.getMonth())?(this.$prev.attr("title",""),this.$prev.addClass("disabled"),this.$prev.removeClass("enabled")):(this.$prev.attr("title",this.options.prevButtonLabel),this.$prev.addClass("enabled"),this.$prev.removeClass("disabled")),this.$monthObj.attr("title",this.options.changeMonthButtonLabel),this.nextMonth(this.year,this.month)),n=(null!=this.options.max&&(t.year>this.options.max.getFullYear()||t.year==this.options.max.getFullYear()&&t.month>this.options.max.getMonth())?(this.$next.attr("title",""),this.$next.addClass("disabled"),this.$next.removeClass("enabled")):(this.$next.attr("title",this.options.nextButtonLabel),this.$next.addClass("enabled"),this.$next.removeClass("disabled")),null!=this.options.max&&(this.year+1>this.options.max.getFullYear()||this.year+1==this.options.max.getFullYear()&&this.month>this.options.max.getMonth())?(this.$fastnext.attr("title",""),this.$fastnext.addClass("disabled"),this.$fastnext.removeClass("enabled")):(this.$fastnext.attr("title",this.options.nextMonthButtonLabel),this.$fastnext.addClass("enabled"),this.$fastnext.removeClass("disabled")),this.showObject(this.$fastprev),this.showObject(this.$fastnext),this.getDaysInMonth(this.year,this.month)),i=this.getDaysInMonth(e.year,e.month),r=new Date(this.year,this.month,1).getDay(),o=(this.options.firstDayOfWeek+6)%7,s=1,a=1,l=(this.$monthObj.html(this.locales.month_names[this.month]+" "+this.year),this.showObject(this.$grid.find("thead")),'\t<tr id="row0-'+this.id+'" role="row">\n'),c=0,u=this.options.firstDayOfWeek;u!=r;)c++,u=(u+1)%7;for(;0<c;c--)l+='\t\t<td class="empty">'+(i-c+1)+"</td>\n";for(var d=this.options.isYearDisabled&&this.options.isYearDisabled(this.year),h=this.options.isMonthDisabled&&this.options.isMonthDisabled(this.year,this.month+1),s=1;s<=n;s++){var f=new Date(this.year,this.month,s,0,0,0,0),p=this.formatDate(f,this.options.titleFormat),m=s==this.date&&this.month==this.curMonth&&this.year==this.curYear?" curDay":"";d||h||-1<b.inArray(u,this.options.daysOfWeekDisabled)||null!=this.options.min&&f<this.options.min||null!=this.options.max&&f>this.options.max||-1<b.inArray(this.format(f),this.options.datesDisabled)||this.options.isDateDisabled&&this.options.isDateDisabled(f)?l+='\t\t<td id="cell'+s+"-"+this.id+'" class="day unselectable'+m+'"':l+='\t\t<td id="cell'+s+"-"+this.id+'" class="day selectable'+m+'"',l=(l=(l+=' data-value="'+s+'"')+' title="'+p+'" aria-label="'+p+'"')+' headers="day'+u+"-header-"+this.id+'" role="gridcell" tabindex="-1" aria-selected="false"><span>'+s+"</span></td>",u==o&&s<n&&(l+='\t</tr>\n\t<tr id="row'+a+"-"+this.id+'" role="row">\n',a++),s<n&&(u=(u+1)%7)}for(;u!=o;)l+='\t\t<td class="empty">'+ ++c+"</td>\n",u=(u+1)%7;l+="\t</tr>",(t=this.$grid.find("tbody")).empty(),t.append(l),this.gridType=0},o.prototype.populateMonthsCalendar=function(){this.$calendar.find(".datepicker-bn-prev-label").html(this.options.prevMonthButtonLabel),this.$calendar.find(".datepicker-bn-next-label").html(this.options.nextMonthButtonLabel),this.hideObject(this.$fastprev),this.hideObject(this.$fastnext),null!=this.options.min&&this.year-1<this.options.min.getFullYear()?(this.$prev.attr("title",""),this.$prev.addClass("disabled"),this.$prev.removeClass("enabled")):(this.$prev.attr("title",this.options.prevMonthButtonLabel),this.$prev.addClass("enabled"),this.$prev.removeClass("disabled")),this.$monthObj.attr("title",this.options.changeYearButtonLabel),null!=this.options.max&&this.year+1>this.options.max.getFullYear()?(this.$next.attr("title",""),this.$next.addClass("disabled"),this.$next.removeClass("enabled")):(this.$next.attr("title",this.options.nextMonthButtonLabel),this.$next.addClass("enabled"),this.$next.removeClass("disabled"));for(var e=0,t=1,n=this.$grid.find("tbody"),i=(this.$monthObj.html(this.year),this.hideObject(this.$grid.find("thead")),n.empty(),b("#datepicker-err-msg-"+this.id
1).empty(),'\t<tr id="row0-'+this.id+'" role="row">\n'),r=this.options.isYearDisabled&&this.options.isYearDisabled(this.year),e=0;e<12;e++)r?i+='\t\t<td id="cell'+(e+1)+"-"+this.id+'" class="month unselectable"':e==this.month&&this.year==this.curYear?i+='\t\t<td id="cell'+(e+1)+"-"+this.id+'" class="month curMonth selectable"':null!=this.options.min&&(this.year<this.options.min.getFullYear()||this.year==this.options.min.getFullYear()&&e<this.options.min.getMonth())||null!=this.options.max&&(this.year>this.options.max.getFullYear()||this.year==this.options.max.getFullYear()&&e>this.options.max.getMonth())||this.options.isMonthDisabled&&this.options.isMonthDisabled(this.year,e+1)?i+='\t\t<td id="cell'+(e+1)+"-"+this.id+'" class="month unselectable"':i+='\t\t<td id="cell'+(e+1)+"-"+this.id+'" class="month selectable"',i=(i=(i=(i+=' data-value="'+e+'"')+' title="'+this.locales.month_names[e]+" "+this.year+'"')+' aria-label="'+this.locales.month_names[e]+" "+this.year+'"')+' role="gridcell" tabindex="-1" aria-selected="false">'+this.locales.month_names_abbreviated[e]+"</td>",3!=e&&7!=e||(i+='\t</tr>\n\t<tr id="row'+t+"-"+this.id+'" role="row">\n',t++);n.append(i+="\t</tr>"),this.gridType=1},o.prototype.populateYearsCalendar=function(){this.$calendar.find(".datepicker-bn-prev-label").html(this.options.prevYearButtonLabel),this.$calendar.find(".datepicker-bn-next-label").html(this.options.nextYearButtonLabel),this.hideObject(this.$fastprev),this.hideObject(this.$fastnext),null!=this.options.min&&this.year-20<this.options.min.getFullYear()?(this.$prev.attr("title",""),this.$prev.addClass("disabled"),this.$prev.removeClass("enabled")):(this.$prev.attr("title",this.options.prevYearButtonLabel),this.$prev.addClass("enabled"),this.$prev.removeClass("disabled")),this.$monthObj.attr("title",this.options.changeRangeButtonLabel),null!=this.options.max&&this.year+20>this.options.max.getFullYear()?(this.$next.attr("title",""),this.$next.addClass("disabled"),this.$next.removeClass("enabled")):(this.$next.attr("title",this.options.nextYearButtonLabel),this.$next.addClass("enabled"),this.$next.removeClass("disabled"));for(var e=10*Math.floor(this.year/10),t=19+e,n=1,i=this.$grid.find("tbody"),r=(this.$monthObj.html(e+"-"+t),this.hideObject(this.$grid.find("thead")),i.empty(),b("#datepicker-err-msg-"+this.id).empty(),'\t<tr id="row0-'+this.id+'" role="row">\n'),o=e;o<=t;o++){o==this.year?r+='\t\t<td id="cell'+(o-e+1)+"-"+this.id+'" class="year curYear selectable"':null!=this.options.min&&o<this.options.min.getFullYear()||null!=this.options.max&&o>this.options.max.getFullYear()||this.options.isYearDisabled&&this.options.isYearDisabled(o)?r+='\t\t<td id="cell'+(o-e+1)+"-"+this.id+'" class="year unselectable"':r+='\t\t<td id="cell'+(o-e+1)+"-"+this.id+'" class="year selectable"';var r=(r=r+' data-value="'+o+'" title="'+o+'"')+' role="gridcell" tabindex="-1" aria-selected="false">'+o+"</td>",s=o-e;4!=s&&9!=s&&14!=s||(r+='\t</tr>\n\t<tr id="row'+n+"-"+this.id+'" role="row">\n',n++)}i.append(r+="\t</tr>"),this.gridType=2},o.prototype.showDaysOfPrevMonth=function(e){var t=this.previousMonth(this.year,this.month);return!(null!=this.options.min&&(t.year<this.options.min.getFullYear()||t.year==this.options.min.getFullYear()&&t.month<this.options.min.getMonth())||(this.month=t.month,this.year=t.year,this.populateDaysCalendar(),null!=e&&(t="cell"+(this.getDaysInMonth(this.year,this.month)-e)+"-"+this.id,this.$grid.attr("aria-activedescendant",t),this.selectGridCell(t)),0))},o.prototype.showDaysOfMonth=function(e){return!(null!=this.options.min&&(this.year<this.options.min.getFullYear()||this.year==this.options.min.getFullYear()&&e<this.options.min.getMonth())||null!=this.options.max&&(this.year>this.options.max.getFullYear()||this.year==this.options.max.getFullYear()&&e>this.options.max.getMonth())||(this.month=e,this.date=Math.min(this.date,this.getDaysInMonth(this.year,this.month)),this.populateDaysCalendar(),e=this.$grid.find("tbody td[data-value='"+this.date+"']"),this.selectGridCell(e.attr("id")),0))},o.prototype.showMonthsOfPrevYear=function(e){return!(null!=this.options.min&&this.year-1<this.options.min.getFullYear()||(this.year--,this.populateMonthsCalendar(
1),null!=e&&(e="cell"+(12-e)+"-"+this.id,this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)),0))},o.prototype.showMonthsOfYear=function(e){return!(null!=this.options.min&&e<this.options.min.getFullYear()||null!=this.options.max&&e>this.options.max.getFullYear()||(this.year=e,this.populateMonthsCalendar(),e=this.$grid.find("tbody td[data-value='"+this.month+"']"),this.$grid.attr("aria-activedescendant",e.attr("id")),this.selectGridCell(e.attr("id")),0))},o.prototype.showYearsOfPrevRange=function(e){return!(null!=this.options.min&&this.year-20<this.options.min.getFullYear()||(this.year-=20,this.populateYearsCalendar(),null!=e&&(e="cell"+(20-e)+"-"+this.id,this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)),0))},o.prototype.showDaysOfNextMonth=function(e){var t=this.nextMonth(this.year,this.month);return!(null!=this.options.max&&(t.year>this.options.max.getFullYear()||t.year==this.options.max.getFullYear()&&t.month>this.options.max.getMonth())||(this.month=t.month,this.year=t.year,this.populateDaysCalendar(),null!=e&&(t="cell"+e+"-"+this.id,this.$grid.attr("aria-activedescendant",t),this.selectGridCell(t)),0))},o.prototype.showMonthsOfNextYear=function(e){return!(null!=this.options.max&&this.year+1>this.options.max.getFullYear()||(this.year++,this.populateMonthsCalendar(),null!=e&&(e="cell"+e+"-"+this.id,this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)),0))},o.prototype.showYearsOfNextRange=function(e){return!(null!=this.options.max&&this.year+20>this.options.max.getFullYear()||(this.year+=20,this.populateYearsCalendar(),null!=e&&(e="cell"+e+"-"+this.id,this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)),0))},o.prototype.showDaysOfPrevYear=function(){return!(null!=this.options.min&&(this.year-1<this.options.min.getFullYear()||this.year-1==this.options.min.getFullYear()&&this.month<this.options.min.getMonth())||(this.year--,this.populateDaysCalendar(),0))},o.prototype.showDaysOfNextYear=function(){return!(null!=this.options.max&&(this.year+1>this.options.max.getFullYear()||this.year+1==this.options.max.getFullYear()&&this.month>this.options.max.getMonth())||(this.year++,this.populateDaysCalendar(),0))},o.prototype.bindHandlers=function(){var t=this;this.$fastprev.click(function(e){return t.handleFastPrevClick(e)}),this.$prev.click(function(e){return t.handlePrevClick(e)}),this.$next.click(function(e){return t.handleNextClick(e)}),this.$fastnext.click(function(e){return t.handleFastNextClick(e)}),this.$monthObj.click(function(e){return t.handleMonthClick(e)}),this.$monthObj.keydown(function(e){return t.handleMonthKeyDown(e)}),this.$fastprev.keydown(function(e){return t.handleFastPrevKeyDown(e)}),this.$prev.keydown(function(e){return t.handlePrevKeyDown(e)}),this.$next.keydown(function(e){return t.handleNextKeyDown(e)}),this.$fastnext.keydown(function(e){return t.handleFastNextKeyDown(e)}),1==this.options.modal&&(this.$close.click(function(e){return t.handleCloseClick(e)}),this.$close.keydown(function(e){return t.handleCloseKeyDown(e)})),this.$grid.keydown(function(e){return t.handleGridKeyDown(e)}),this.$grid.keypress(function(e){return t.handleGridKeyPress(e)}),this.$grid.focus(function(e){return t.handleGridFocus(e)}),this.$grid.blur(function(e){return t.handleGridBlur(e)}),this.$grid.delegate("td","click",function(e){return t.handleGridClick(this,e)}),this.$target.change(function(){var e=t.parseDate(b(this).val());t.updateLinked(e)})},o.prototype.handleFastPrevClick=function(e){var t;return this.showDaysOfPrevYear()&&(t=this.$grid.attr("aria-activedescendant"),this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",t),this.selectGridCell(t))),e.stopPropagation(),!1},o.prototype.handlePrevClick=function(e){var t=this.$grid.attr("aria-activedescendant");switch(this.gridType){case 0:(e.ctrlKey?this.showDaysOfPrevYear():this.showDaysOfPrevMonth())&&(this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id
1),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",t),this.selectGridCell(t)));break;case 1:this.showMonthsOfPrevYear()&&(this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",t),this.selectGridCell(t)));break;case 2:this.showYearsOfPrevRange()&&(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id))}return e.stopPropagation(),!1},o.prototype.handleMonthClick=function(e){return this.changeGrid(e),e.stopPropagation(),!1},o.prototype.handleNextClick=function(e){var t=this.$grid.attr("aria-activedescendant");switch(this.gridType){case 0:(e.ctrlKey?this.showDaysOfNextYear():this.showDaysOfNextMonth())&&(this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",t),this.selectGridCell(t)));break;case 1:this.showMonthsOfNextYear()&&(this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",t),this.selectGridCell(t)));break;case 2:this.showYearsOfNextRange()&&(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id))}return e.stopPropagation(),!1},o.prototype.handleFastNextClick=function(e){var t;return this.showDaysOfNextYear()&&(t=this.$grid.attr("aria-activedescendant"),this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",t),this.selectGridCell(t))),e.stopPropagation(),!1},o.prototype.handleCloseClick=function(e){return this.hide(),e.stopPropagation(),!1},o.prototype.handleFastPrevKeyDown=function(e){if(!e.altKey)switch(e.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!e.ctrlKey&&((e.shiftKey?this.$close:this.$prev).focus(),e.stopPropagation(),1));case this.keys.enter:case this.keys.space:return!(!e.shiftKey&&!e.ctrlKey&&(this.showDaysOfPrevYear(),e.stopPropagation(),1));case this.keys.esc:return this.hide(),e.stopPropagation(),!1}return!0},o.prototype.handlePrevKeyDown=function(e){if(!e.altKey)switch(e.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!e.ctrlKey&&((e.shiftKey?0==this.gridType?this.$fastprev:this.$close:this.$monthObj).focus(),e.stopPropagation(),1));case this.keys.enter:case this.keys.space:if(e.shiftKey)return!0;switch(this.gridType){case 0:e.ctrlKey?this.showDaysOfPrevYear():this.showDaysOfPrevMonth();break;case 1:this.showMonthsOfPrevYear();break;case 2:this.showYearsOfPrevRange()}return e.stopPropagation(),!1;case this.keys.esc:return this.hide(),e.stopPropagation(),!1}return!0},o.prototype.handleMonthKeyDown=function(e){if(!e.altKey)switch(e.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!e.ctrlKey&&((e.shiftKey?this.$prev:this.$next).focus(),e.stopPropagation(),1));case this.keys.enter:case this.keys.space:return this.changeGrid(e),e.stopPropagation(),!1;case this.keys.esc:return this.hide(),e.stopPropagation(),!1}return!0},o.prototype.handleNextKeyDown=function(e){if(!e.altKey)switch(e.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!e.ctrlKey&&((e.shiftKey?this.$monthObj:0==this.gridType?this.$fastnext:this.$grid).focus(),e.stopPropagation(),1));case this.keys.enter:case this.keys.space:switch(this.gridType){case 0:e.ctrlKey?this.showDaysOfNextYear():this.showDaysOfNextMonth();break;case 1:this.showMonthsOfNextYear();break;case 2:this.showYearsOfNextRange()}return e.stopPropagation(),!1;case this.keys.esc:return this.hide(),e.stopPropagation(),!1}return!0},o.prototype.handleFastNextKeyDown=function(e){if(!e.altKey)switch(e.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!e.ctrlKey&&((e.shiftKey?this.$next:this.$grid).focus(),e.stopPropagation(),1));case this.keys.enter:case this.keys.space:return this.showDaysOfNextYear(),e.stopPropagation(),!1;case this.keys.esc:return this.hide(),e.stopPropagation(),!1}return!0},o.prototype.handleCloseKeyDown=function(e){if(!e.altKey)switch(e.keyCode){case this.keys.tab:return!!e.ctrlKey||((e.shiftKey?this.$grid:0==this.gridType?this.$fastprev:this.$prev).focus(),e.stopPropagation(),!1);case this.keys.enter:case this.keys.esc:case this.keys.space:return!(!e.shiftKey&&!e.ctrlKey&&(this.hide(),e.stopPropagation(),1))}return!0},o.prototype.handleGridKeyDown=function(e){var t=b("#"+this.$grid.attr("aria-activedescendant")),n=this.$grid.find("td.selectable"),i=this.$grid.find("tbody tr").eq(0).find("td").length;if(!e.altKey||e.keyCode==this.keys.pageup||e.keyCode==this.keys.pagedown)switch(e.keyCode){case this.keys.tab:return 1==this.options.modal?(e.shiftKey?0==this.gridType?this.$fastnext:this.$next:this.$close).focus():(this.hide(),this.handleTabOut(e)),e.stopPropagation(),!1;case this.keys.enter:case this.keys.space:if(e.ctrlKey)return!0;switch(this.gridType){case 0:this.update(),this.hide();break;case 1:this.showDaysOfMonth(parseInt(t.attr("data-value"),10));break;case 2:this.showMonthsOfYear(parseInt(t.attr("data-value"),10))}return e.stopPropagation(),!1;case this.keys.esc:return this.hide(),e.stopPropagation(),!1;case this.keys.left:case this.keys.right:if(e.keyCode==this.keys.left&&"LTR"===this.locales.directionality||e.keyCode==this.keys.right&&"RTL"===this.locales.directionality){if(e.ctrlKey||e.shiftKey)return!0;var r=n.index(t)-1,o=null;if(0<=r)o=n.eq(r),this.unSelectGridCell(t.attr("id")),this.$grid.attr("aria-activedescendant",o.attr("id")),this.selectGridCell(o.attr("id"));else switch(this.gridType){case 0:this.showDaysOfPrevMonth(0);break;case 1:this.showMonthsOfPrevYear(0);break;case 2:this.showYearsOfPrevRange(0)}}else{if(e.ctrlKey||e.shiftKey)return!0;var s=null;if((r=n.index(t)+1)<n.length)s=n.eq(r),this.unSelectGridCell(t.attr("id")),this.$grid.attr("aria-activedescendant",s.attr("id")),this.selectGridCell(s.attr("id"));else switch(this.gridType){case 0:this.showDaysOfNextMonth(1);break;case 1:this.showMonthsOfNextYear(1);break;case 2:this.showYearsOfNextRange(1)}}return e.stopPropagation(),!1;case this.keys.up:if(e.ctrlKey||e.shiftKey)return!0;
1if(o=null,0<=(r=n.index(t)-i))o=n.eq(r),this.unSelectGridCell(t.attr("id")),this.$grid.attr("aria-activedescendant",o.attr("id")),this.selectGridCell(o.attr("id"));else switch(r=i-1-n.index(t),this.gridType){case 0:this.showDaysOfPrevMonth(r);break;case 1:this.showMonthsOfPrevYear(r);break;case 2:this.showYearsOfPrevRange(r)}return e.stopPropagation(),!1;case this.keys.down:if(e.ctrlKey||e.shiftKey)return!0;if(s=null,(r=n.index(t)+i)<n.length)s=n.eq(r),this.unSelectGridCell(t.attr("id")),this.$grid.attr("aria-activedescendant",s.attr("id")),this.selectGridCell(s.attr("id"));else switch(r=i+1-(n.length-n.index(t)),this.gridType){case 0:this.showDaysOfNextMonth(r);break;case 1:this.showMonthsOfNextYear(r);break;case 2:this.showYearsOfNextRange(r)}return e.stopPropagation(),!1;case this.keys.pageup:var a=this.$grid.attr("aria-activedescendant");if(e.shiftKey||e.ctrlKey)return!0;e.preventDefault();var l,c=!1;switch(this.gridType){case 0:c=e.altKey?(e.stopImmediatePropagation(),this.showDaysOfPrevYear()):this.showDaysOfPrevMonth();break;case 1:c=this.showMonthsOfPrevYear();break;case 2:c=this.showYearsOfPrevRange()}return c&&(b("#"+a).attr("id")==u?(l=(n=this.$grid.find("td.selectable")).eq(n.length-1),this.$grid.attr("aria-activedescendant",l.attr("id")),this.selectGridCell(l.attr("id"))):this.selectGridCell(a)),e.stopPropagation(),!1;case this.keys.pagedown:if(a=this.$grid.attr("aria-activedescendant"),e.shiftKey||e.ctrlKey)return!0;switch(e.preventDefault(),c=!1,this.gridType){case 0:c=e.altKey?(e.stopImmediatePropagation(),this.showDaysOfNextYear()):this.showDaysOfNextMonth();break;case 1:c=this.showMonthsOfNextYear();break;case 2:c=this.showYearsOfNextRange()}return c&&(b("#"+a).attr("id")==u?(l=(n=this.$grid.find("td.selectable")).eq(n.length-1),this.$grid.attr("aria-activedescendant",l.attr("id")),this.selectGridCell(l.attr("id"))):this.selectGridCell(a)),e.stopPropagation(),!1;case this.keys.home:return e.ctrlKey||e.shiftKey?!0:(o=n.eq(0),this.unSelectGridCell(t.attr("id")),this.$grid.attr("aria-activedescendant",o.attr("id")),this.selectGridCell(o.attr("id")),e.stopPropagation(),!1);case this.keys.end:return!(!e.ctrlKey&&!e.shiftKey&&(l=n.eq(n.length-1),this.unSelectGridCell(t.attr("id")),this.$grid.attr("aria-activedescendant",l.attr("id")),this.selectGridCell(l.attr("id")),e.stopPropagation(),1))}return!0},o.prototype.handleGridKeyPress=function(e){if(!e.altKey)switch(e.keyCode){case this.keys.tab:case this.keys.enter:case this.keys.space:case this.keys.esc:case this.keys.left:case this.keys.right:case this.keys.up:case this.keys.down:case this.keys.pageup:case this.keys.pagedown:case this.keys.home:case this.keys.end:return e.stopPropagation(),!1}return!0},o.prototype.handleGridClick=function(e,t){var n=b(e);if(n.is(".empty")||n.is(".unselectable"))return!0;switch(this.$grid.find(".focus").removeClass("focus").attr("aria-selected","false").attr("tabindex",-1),this.gridType){case 0:this.$grid.attr("aria-activedescendant",n.attr("id")),this.selectGridCell(n.attr("id")),this.update(),this.hide();break;case 1:this.showDaysOfMonth(parseInt(n.attr("data-value"),10));break;case 2:this.showMonthsOfYear(parseInt(n.attr("data-value"),10))}return t.stopPropagation(),!1},o.prototype.handleGridFocus=function(){var e,t=this.$grid.attr("aria-activedescendant");return b("#"+t).attr("id")==u?(e=(e=this.$grid.find("td.selectable")).eq(e.length-1),this.$grid.attr("aria-activedescendant",e.attr("id")),this.selectGridCell(e.attr("id"))):this.selectGridCell(t),!0},o.prototype.handleGridBlur=function(){return this.unSelectGridCell(this.$grid.attr("aria-activedescendant")),!0},o.prototype.handleTabOut=function(e){var t=b("body").find("input:visible,textarea:visible,select:visible"),n=t.index(this.$target);return-1<n&&n<t.length&&(e.shiftKey?0<n&&n--:n+1<t.length&&n++,t.eq(n).focus()),!0},o.prototype.changeGrid=function(e){switch(this.gridType){case 0:var t;this.populateMonthsCalendar(),this.year!=this.curYear?(t=this.$grid.find("td.selectable"),this.$grid.attr("aria-activedescendant",t.eq(0).attr("id"))):this.$grid.attr("aria-activedescendant",this.$grid.find(".curMonth").attr("id")),this.selectGridCell(this.$grid.attr("aria-activedescendant"));break;case 2:e.shiftKey?this.year-=20:this.year+=20;break;
1case 1:this.populateYearsCalendar(),this.year!=this.curYear?(t=this.$grid.find("td.selectable"),this.$grid.attr("aria-activedescendant",t.eq(0).attr("id"))):this.$grid.attr("aria-activedescendant",this.$grid.find(".curYear").attr("id")),this.selectGridCell(this.$grid.attr("aria-activedescendant"))}return!0},o.prototype.selectGridCell=function(e){b("#"+e).addClass("focus").attr("aria-selected","true").attr("tabindex",0).focus()},o.prototype.unSelectGridCell=function(e){b("#"+e).removeClass("focus").attr("aria-selected","false").attr("tabindex",-1)},o.prototype.update=function(){var e=b("#"+this.$grid.attr("aria-activedescendant")),e=new Date(this.year,this.month,parseInt(e.attr("data-value"),10)),e=this.formatDate(e,this.options.outputFormat);this.$target.val(e),this.$target.removeAttr("aria-invalid"),this.$target.parents(".form-group").removeClass("has-error"),this.$target.trigger("change"),this.options.onUpdate&&this.options.onUpdate(e)},o.prototype.updateLinked=function(e){var t;null!==this.options.previous&&""!==this.options.previous.val()&&e<this.options.previous.datepicker("getDate")&&(t=this.formatDate(e,this.options.previous.datepicker("outputFormat")),this.options.previous.val(t)),null!==this.options.next&&""!==this.options.next.val()&&this.options.next.datepicker("getDate")<e&&(t=this.formatDate(e,this.options.next.datepicker("outputFormat")),this.options.next.val(t))},o.prototype.hideObject=function(e){e.attr("aria-hidden",!0),e.fadeOut(100)},o.prototype.showObject=function(e){e.attr("aria-hidden",!1),e.fadeIn(100)},o.prototype.show=function(){var n=this,e=(b(".datepicker-calendar").trigger("ab.datepicker.opening",[n.id]),1==this.options.modal?(this.modalEventHandler||(this.modalEventHandler=function(e){return n.$grid.focus(),e.stopPropagation,!1}),b(document).on("click mousedown mouseup",this.modalEventHandler),this.greyOut(!0),e=parseInt(b("#datepicker-overlay").css("z-index"),10)||40,this.$calendar.css("z-index",e+1)):(b(document).on("click",b.proxy(this.handleDocumentClick,this)),this.$calendar.on("ab.datepicker.opening",function(e,t){t!=n.id?n.hide():n.$grid.focus()})),this.$calendar.on("ab.datepicker.opened",function(e,t){t==n.id&&n.$grid.focus()}),Math.max(0,Math.floor(this.$group.offset().top-this.$label.offset().top))),t=Math.max(0,Math.floor(this.$group.offset().left-this.$label.offset().left)),i=parseInt(this.$calendar.parent().css("padding-left"),10),r=this.$calendar.outerHeight(),o=this.$group.offset().top,s=this.$group.outerHeight(!0),a=Math.floor(o-b(window).scrollTop());(o=Math.floor(b(window).height()-(o+s-b(window).scrollTop())))<r&&o<a?(this.$calendar.addClass("above"),this.$calendar.css({top:e-r+"px",left:t+i+"px"})):(this.$calendar.addClass("below"),this.$calendar.css({top:s+e+"px",left:t+i+"px"})),this.$calendar.attr("aria-hidden","false"),this.$calendar.fadeIn(100),b(".datepicker-calendar").trigger("ab.datepicker.opened",[n.id])},o.prototype.refresh=function(){switch(this.drawCalendarHeader(),this.gridType){case 0:this.populateDaysCalendar();break;case 1:this.populateMonthsCalendar();break;case 2:this.populateYearsCalendar()}},o.prototype.handleDocumentClick=function(e){return 0==b(e.target).parents("#datepicker-calendar-"+this.id
1).length?(this.hide(),!0):(this.$grid.focus(),e.stopPropagation,!1)},o.prototype.hide=function(e){0==this.options.inline&&(1==this.options.modal?(this.modalEventHandler&&b(document).off("click mousedown mouseup",this.modalEventHandler),this.greyOut(!1)):(b(document).off("click",this.handleDocumentClick),this.$calendar.off("ab.datepicker.opening")),this.$calendar.removeClass("above below"),this.$calendar.attr("aria-hidden","true"),this.$calendar.fadeOut(100),b(".datepicker-calendar").trigger("ab.datepicker.closed",[this.id]),e||this.$target.focus())},o.prototype.greyOut=function(e){var t=b("#datepicker-overlay");0==t.length&&e&&(b("body").append('<div id="datepicker-overlay" class="datepicker-overlay"></div>'),t=b("#datepicker-overlay")),e?t.fadeIn(100):t.fadeOut(100)},o.prototype.absolutePosition=function(e){var t=0,n=0;if(e.getBoundingClientRect)var i=e.getBoundingClientRect(),r=document.body,o=document.documentElement,s=window.pageYOffset||o.scrollTop||r.scrollTop,a=window.pageXOffset||o.scrollLeft||r.scrollLeft,l=o.clientTop||r.clientTop||0,o=o.clientLeft||r.clientLeft||0,t=Math.round(i.top+s-l),n=Math.round(i.left+a-o);else for(;e;)t+=parseInt(e.offsetTop,10),n+=parseInt(e.offsetLeft,10),e=e.offsetParent;return{top:t,left:n}},o.prototype.getDaysInMonth=function(e,t){return 32-new Date(e,t,32).getDate()},o.prototype.previousMonth=function(e,t){return 0==t?(t=11,e--):t--,{year:e,month:t}},o.prototype.nextMonth=function(e,t){return 11==t?(t=0,e++):t++,{year:e,month:t}},o.prototype.formatDate=function(e,t){function n(e){return(e<0||9<e?"":"0")+e}function i(e){var t=new Date(e.getTime());return t.setHours(0),e-t}var r=e.getFullYear()+"",o=e.getMonth()+1,s=e.getDate(),a=(a=e,l=new Date(a.getFullYear(),0,0),Math.floor((a-l)/864e5)),l=e.getDay(),c=e.getHours(),u=e.getMinutes(),d=e.getSeconds(),h=(h=e,f=new Date(h.getFullYear(),0,1),Math.ceil(((h-f)/864e5+f.getDay()+1)/7)),f=(f=e,Math.ceil((f.getDate()-1-f.getDay())/7)),p=Math.floor(e.getDate()/7)+1,m=Math.ceil((e.getMonth()+1)/3),g=e.getFullYear()<1?0:1,v={y:""+r,yyyy:r,yy:r.substring(2,4),L:o,LL:n(o),LLL:this.locales.month_names_abbreviated[o-1],LLLL:this.locales.month_names[o-1],LLLLL:this.locales.month_names_narrow[o-1],M:o,MM:n(o),MMM:this.locales.month_names_abbreviated[o-1],MMMM:this.locales.month_names[o-1],MMMMM:this.locales.month_names_narrow[o-1],d:s,dd:n(s),D:a,DD:a,DDD:a,A:Math.round(i(e)*Math.pow(10,-2)),AA:Math.round(i(e)*Math.pow(10,-1)),AAA:Math.round(i(e)*Math.pow(10,0)),AAAA:Math.round(i(e)*Math.pow(10,1)),AAAAA:Math.round(i(e)*Math.pow(10,2)),AAAAAA:Math.round(i(e)*Math.pow(10,3)),E:this.locales.day_names_abbreviated[l],EE:this.locales.day_names_abbreviated[l],EEE:this.locales.day_names_abbreviated[l],EEEE:this.locales.day_names[l],EEEEE:this.locales.day_names_narrow[l],EEEEEE:this.locales.day_names_short[l],e:l,ee:l,eee:this.locales.day_names_abbreviated[l],eeee:this.locales.day_names[l],eeeee:this.locales.day_names_narrow[l],eeeeee:this.locales.day_names_short[l],c:l,cc:l,ccc:this.locales.day_names_abbreviated[l],cccc:this.locales.day_names[l],ccccc:this.locales.day_names_narrow[l],cccccc:this.locales.day_names_short[l],F:p,G:this.locales.era_names_abbreviated[g],GG:this.locales.era_names_abbreviated[g],GGG:this.locales.era_names_abbreviated[g],GGGG:this.locales.era_names[g],GGGGG:this.locales.era_names_narrow[g],Q:m,QQ:n(m),QQQ:this.locales.quarter_names_abbreviated[m-1],QQQQ:this.locales.quarter_names[m-1],QQQQQ:this.locales.quarter_names_narrow[m-1],q:m,qq:n(m),qqq:this.locales.quarter_names_abbreviated[m-1],qqqq:this.locales.quarter_names[m-1],qqqqq:this.locales.quarter_names_narrow[m-1],H:c,HH:n(c),h:0==c?12:12<c?c-12:c,hh:n(0==c?12:12<c?c-12:c),K:11<c?c-12:c,k:c+1,KK:n(11<c?c-12:c),kk:n(c+1),a:11<c?this.locales.day_periods.pm:this.locales.day_periods.am,m:u,mm:n(u),s:d,ss:n(d),w:h,ww:n(h),W:f};return t.replace(/('[^']+'|y{1,4}|L{1,5}|M{1,5}|c{1,6}|d{1,2}|D{1,3}|E{1,6}|e{1,6}|F{1,1}|G{1,5}|Q{1,5}|q{1,5}|H{1,2}|h{1,2}|K{1,2}|k{1,2}|m{1,2}|s{1,2}|w{1,2}|W{1,1}|A{1,6})/g,function(e){return"'"===e.charAt(0)?e.substr(1,e.length-2):v[e]||e})},o.prototype.createDateFromFormat=function(e,s){function a(e,t,n,i){for(var r=i;n<=r;r--){var o=e.substring(t,t+r);if(o.length<n)return null;if(/^\d+$/.test(o))return o}return null}function l(e,t){for(var n=0;n<e.length;n++){var i=e[n];if(s.substring(t,t+i.length).toLowerCase()==i.toLowerCase())return i.length}return 0}var c=0,t=new Date,u=t.getYear(),d=t.getMonth()+1,h=1,f=0,p=0,m=0,g="",v=this;if(b.each(e.match(/(.).*?\1*/g),function(e,t){switch(t){case"yyyy":null!=(u=a(s,c,4,4))&&(c+=u.length);break;case"yy":null!=(u=a(s,c,2,2))&&(c+=u.length);break;case"y":null!=(u=a(s,c,2,4))&&(c+=u.length);break;case"MMM":case"LLL":for(var n=d=0;n<v.locales.month_names_abbreviated.length;n++){var i=v.locales.month_names_abbreviated[n];if(s.substring(c,c+i.length).toLowerCase()==i.toLowerCase()){d=n+1,c+=i.length;break}}break;case"MMMM":case"LLLL":for(n=d=0;n<v.locales.month_names.length;n++)if(i=v.locales.month_names[n],s.substring(c,c+i.length).toLowerCase()==i.toLowerCase()){d=n+1,c+=i.length;break}break;case"EEE":case"EE":case"E":case"eee":c+=l(v.locales.day_names_abbreviated,c);break;case"EEEE":case"eeee":case"cccc":c+=l(v.locales.day_names,c);break;case"EEEEEE":case"eeeeee":case"cccccc":c+=l(v.locales.day_names_short,c);break;case"MM":case"M":case"LL":case"L":if(null==(d=a(s,c,t.length,2))||d<1||12<d)return null;c+=d.length;break;case"dd":case"d":if(null==(h=a(s,c,t.length,2))||h<1||31<h)return null;c+=h.length;break;case"hh":case"h":if(null==(f=a(s,c,t.length,2))||f<1||12<f)return null;c+=f.length;break;case"HH":case"H":if(null==(f=a(s,c,t.length,2))||f<0||23<f)return null;c+=f.length;break;case"KK":case"K":if(null==(f=a(s,c,t.length,2))||f<0||11<f)return null;c+=f.length;break;case"kk":case"k":if(null==(f=a(s,c,t.length,2))||f<1||24<f)return null;c+=f.length,f--;break;case"mm":case"m":if(null==(p=a(s,c,t.length,2))||p<0||59<p)return null;c+=p.length;break;case"ss":case"s":if(null==(m=a(s,c,t.length,2))||m<0||59<m)return null;c+=m.length;break;case"a":var r=v.locales.day_periods.am.length,o=v.locales.day_periods.pm.length;if(s.substring(c,c+r)==v.locales.day_periods.am)g="AM",c+=r;else{if(s.substring(c,c+o)!=v.locales.day_periods.pm)return null;g="PM",c+=o}break;default:if(s.substring(c,c+t.length)!=t)return null;c+=t.length}}),c!=s.length)return null;if(null==u)return null;if(2==u.length&&(u=50<u?+u+1900:+u+2e3),d<1||12<d)return null;if(2==d)if(u%4==0&&u%100!=0||u%400==0){if(29<h)return null}else if(28<h)return null;return(4==d||6==d||9==d||11==d)&&30<h?null:(f<12&&"PM"==g?f=+f+12:11<f&&"AM"==g&&(f-=12),new Date(u,d-1,h,f,p,m))},o.prototype.parseDate=function(n){var i=null,r=this;return b.each(this.options.inputFormat,function(e,t){if(null!=(i=r.createDateFromFormat(t,n)))return!1}),i=null==i?r.createDateFromFormat(this.options.outputFormat,n):i},o.prototype.min=function(e){return null!=e&&(this.options.min=e instanceof Date?e:this.parseDate(e),null!=this.options.min&&this.dateObj<this.options.min&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=this.options.min),0!=this.options.inline)&&this.refresh(),this.options.min},o.prototype.max=function(e){return null!=e&&(this.options.max=e instanceof Date?e:this.parseDate(e),null!=this.options.max&&this.dateObj>this.options.max&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=this.options.max),0!=this.options.inline)&&this.refresh(),this.options.max},o.prototype.theme=function(e){return null!=e&&(this.$button.removeClass(this.options.theme),this.$calendar.removeClass(this.options.theme),this.options.theme=e,this.$button.addClass(this.options.theme),this.$calendar.addClass(this.options.theme)),this.options.theme},o.prototype.firstDayOfWeek=function(e){return null!=e&&(this.options.firstDayOfWeek=parseInt(e,10),0==this.options.inline?this.drawCalendarHeader():this.refresh()),this.options.firstDayOfWeek},o.prototype.daysOfWeekDisabled=function(e){var n;return null!=e&&(this.options.daysOfWeekDisabled=[],b.isArray(e)||(e=[e]),n=this,b.each(e,function(e,t){"number"==typeof t?n.options.daysOfWeekDisabled.push(t):"string"==typeof t&&n.options.daysOfWeekDisabled.push(parseInt(t,10))})),this.options.daysOfWeekDisabled},o.prototype.weekDayFormat=function(e){return null!=e&&(this.options.weekDayFormat=e,this.drawCalendarHeader()),this.options.weekDayFormat},o.prototype.inputFormat=function(e){return null!=e&&(b.isArray(e)||(e=[e]),this.$target.attr("placeholder")==this.options.inputFormat[0]&&this.$target.attr("placeholder",e[0]),this.options.inputFormat=e),this.options.inputFormat},o.prototype.outputFormat=function(e){return null!=e&&(this.options.outputFormat=e),this.options.outputFormat},o.prototype.modal=function(e){var t;return null!=e&&(this.options.modal=e,1==this.options.modal?(0==this.options.inline&&(this.showObject(this.$calendar.find(".datepicker-close-wrap")),this.showObject(this.$calendar.find(".datepicker-bn-close-label"))),this.$close=this.$calendar.find(".datepicker-close"),this.$close.html(this.options.closeButtonTitle).attr("title",this.options.closeButtonLabel),this.$calendar.find(".datepicker-bn-close-label").html(this.options.closeButtonLabel),(t=this).$close.click(function(e){return t.handleCloseClick(e)}),this.$close.keydown(function(e){return t.handleCloseKeyDown(e)})):(this.hideObject(this.$calendar.find(".datepicker-close-wrap")),this.hideObject(this.$calendar.find(".datepicker-bn-close-label")))),this.options.modal},o.prototype.inline=function(e){return null!=e&&(0!=e?(this.hideObject(this.$button),this.hideObject(this.$calendar.find(".datepicker-close-wrap")),this.hideObject(this.$calendar.find(".datepicker-bn-close-label")),("string"==typeof e?b("#"+e):e).append(this.$calendar),this.$calendar.css({position:"relative",left:"0px",top:"0px"}),this.options.inline=e,this.initializeDate(),this.showObject(this.$calendar)):(this.$target.parent().after(this.$calendar),this.showObject(this.$button),1==this.options.modal&&(this.showObject(this.$calendar.find(".datepicker-close-wrap")),this.showObject(this.$calendar.find(".datepicker-bn-close-label"))),"static"===this.$calendar.parent().css("position")&&this.$calendar.parent().css("position","relative"),this.$calendar.css({position:"absolute"}),this.options.inline=e,this.hide())),this.options.inline},o.prototype.format=function(e){return this.formatDate(e,this.options.outputFormat)},o.prototype.enable=function(){this.$button.removeClass("disabled"),this.$button.attr("aria-disabled",!1),this.$button.attr("tabindex",0)},o.prototype.disable=function(){this.hide(),this.$button.addClass("disabled"),this.$button.attr("aria-disabled",!0),this.$button.attr("tabindex",-1)},o.prototype.datesDisabled=function(e){this.options.datesDisabled=[],b.isArray(e)||(e=[e]);var i=this;b.each(e,function(e,t){var n;"string"==typeof t?null!==(n=i.parseDate(t))&&i.options.datesDisabled.push(i.format(n)):t instanceof Date&&!isNaN(t.valueOf())&&i.options.datesDisabled.push(i.format(t))})},o.prototype.startview=function(e){switch(e){case 1:case"months":this.options.startView=1;break;case 2:case"years":this.options.startView=2;break;default:this.options.startView=0}},o.prototype.setLocales=function(e){this.locales=e,this.options.inputFormat=[this.locales.short_format],this.options.outputFormat=this.locales.short_format,this.options.titleFormat=this.locales.full_format,this.options.firstDayOfWeek=this.locales.firstday_of_week,this.options.buttonTitle=this.locales.texts.buttonTitle,this.$button.find("span").attr("title",this.options.buttonTitle),this.options.buttonLabel=this.locales.texts.buttonLabel,this.options.prevButtonLabel=this.locales.texts.prevButtonLabel,this.options.prevMonthButtonLabel=this.locales.texts.prevMonthButtonLabel,this.options.prevYearButtonLabel=this.locales.texts.prevYearButtonLabel,this.options.nextButtonLabel=this.locales.texts.nextButtonLabel,this.options.nextMonthButtonLabel=this.locales.texts.nextMonthButtonLabel,this.options.nextYearButtonLabel=this.locales.texts.nextYearButtonLabel,this.options.changeMonthButtonLabel=this.locales.texts.changeMonthButtonLabel,this.options.changeYearButtonLabel=this.locales.texts.changeYearButtonLabel,this.options.changeRangeButtonLabel=this.locales.texts.changeRangeButtonLabel,this.options.closeButtonTitle=this.locales.texts.closeButtonTitle,this.options.closeButtonLabel=this.locales.texts.closeButtonLabel,this.options.calendarHelp=this.locales.texts.calendarHelp,this.drawCalendarHeader(),"RTL"===this.locales.directionality?this.$grid.addClass("rtl"):this.$grid.removeClass("rtl")},b.fn.datepicker);b.fn.datepicker=function(i,r){var e;return"string"!=typeof i||1!=b(this).length?this.each(function(){var e=b(this),t=e.data("ab.datepicker"),n=b.extend({},o.DEFAULTS,e.data(),"object"==typeof i&&i);t||e.data("ab.datepicker",t=new o(this,n)),"string"==typeof i&&t[i](r)}):(e=b(this).eq(0).data("ab.datepicker"))?e[i](r):void 0},b.fn.datepicker.Constructor=o,b.fn.datepicker.noConflict=function(){return b.fn.datepicker=e,this}}),function(s){var e,t=["","-webkit-","-ms-","-moz-","-o-"],n=document.createElement("div"),i=!1,r=!1,g=!1,v=0,o=["56"],a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,l=0,b=[],c={unstick:function(){for(var e,t,n=s(this).data("sticky-id"),i=b.length-1;0<=i;i--)if(b[i].id==n){e=i;break}return void 0!==(t=void 0!==e?b.splice(e,1):t)&&s(this).removeAttr("style").next("."+t[0].options.holderClass).remove(),this}};if(!function(){var e;if(window.chrome)return(e=/Chrom(e|ium)\/(\d+)/.exec(navigator.appVersion))&&~o.indexOf(e[2])}())for(var u=0,d=t.length;u<d;u++)if(n.setAttribute("style","position:"+t[u]+"sticky"),""!==n.style.position){i=!0;break}function y(e){var t,n,i,r={top:0,left:0},o=e&&e.ownerDocument;if(o)return(n=o.body)===e?{top:n.offsetTop,left:n.offsetLeft}:(o=o.documentElement,void 0!==e.getBoundingClientRect&&(r=e.getBoundingClientRect()),e=window,t=o.clientTop||n.clientTop||0,n=o.clientLeft||n.clientLeft||0,i=e.pageYOffset||o.scrollTop,e=e.pageXOffset||o.scrollLeft,{top:r.top+i-t,left:r.left+e-n});options.debug&&console.error("i-sticky: no element.ownerDocument defined")}function h(){var e=v,t=window.pageXOffset||document.documentElement.scrollLeft,n=e+(window.innerHeight||document.documentElement.clientHeight);g=!1;for(var i=0,r=b.length;i<r;i++){var o=b[i],s=o.el.offsetHeight,a=y(o.parent),l=o.style.isStuck?y(o.holder):y(o.el),c=o.style.top?o.style.top.px:0,u=o.style.bottom?o.style.bottom.px:0,d=o.style.home,h=!0,f=o.el.className.split(" "),p=0,m=(a.top,l.top-c),c=a.top+o.parent.offsetHeight-s-c,a=a.top+s+u,l=l.top+s+u;for(p in f)f[p]===o.options.stuckClass&&f.splice(p,1);o.el.className=f.join(" "),o.style.bottom&&n<=a?d=o.style.bottom.opposite:o.style.bottom&&a<n&&n<l?d=o.style.bottom.fixed:o.style.top&&m<e&&e<c?d=o.style.top.fixed:o.style.top&&c<=e?d=o.style.top.opposite:h=!1,o.style.isStuck!==h&&(o.holder.style.display=h?"block":"none"),h&&o.options.stuckClass&&(o.el.className+=" "+o.options.stuckClass),h&&(d+="margin-left:-"+(t-o.style.margin.left)+"px;"),o.options.fixWidth?d+="width:"+(h?o.holder.offsetWidth+"px;":"auto;"):d+="min-width:"+(h?o.holder.offsetWidth+"px;":"auto;"),d!==o.style.current&&(o.el.setAttribute("style",d),o.style.isStuck=h,o.style.current=d),o.options.holderAutoHeight&&h&&s!=o.style.height&&(o.holder.style.height=s+"px",o.style.height=s)}}function f(){b.length&&(v=document.documentElement.scrollTop||document.body.scrollTop,g||(g=!0,a?a(h):(e&&clearTimeout(e),e=setTimeout(h,15))))}function p(){r||(s(window).on("scroll",f).on("resize",f),f(),r=!0)}s.fn.iSticky=function(e){if(i){if("object"!=typeof e||!e.force)return this;p()}var r,o;return"string"==typeof e&&c[e]?c[e].apply(this,Array.prototype.slice.call(arguments,1
1)):(r=s.extend({holderClass:"i-sticky__holder",holderAutoHeight:!0,debug:!1,fixWidth:!0,stuckClass:""},e),o=this.selector,this.each(function(){var e,t,n=s(this),i="sticky-"+ ++l;n.hide(),e=n.css("top"),t=n.css("bottom"),n.show(),e||t?(n.data("sticky-id",i).after('<span class="'+r.holderClass+'" style="display:none;"></span>'),i={id:i,el:this,parent:this.parentElement,holder:this.nextSibling,style:{home:"position:static;",top:void 0,bottom:void 0,current:"",height:0,isStuck:!1,margin:{left:parseInt(n.css("margin-left"),10)}},options:{holderClass:r.holderClass,holderAutoHeight:r.holderAutoHeight,fixWidth:r.fixWidth,stuckClass:r.stuckClass||""}},"auto"!==e&&(i.style.top={fixed:"position:fixed;top:"+e+";bottom:auto;",opposite:"position:absolute;bottom:0;top:auto;",px:parseInt(e,10)}),"auto"!==t&&(i.style.bottom={fixed:"position:fixed;bottom:"+t+";top:auto;",opposite:"position:absolute;top:0;bottom:auto;",px:parseInt(t,10)}),b.push(i),f()):r.debug&&console.warn("i-sticky: element `top` or `bottom` properties must be set in pixels",o,this)}))},i||p()}(jQuery),function(){var t,a,e,n,i,l,c,r,o,s,u,d=document.querySelector(".it-header-sticky");function h(e,t,n){var i,r,o,s;void 0===t&&(t=!0),e&&(i=document.querySelector(".menu-wrapper"),t?(s=document.querySelector(".it-brand-wrapper"),r=document.querySelector(".it-search-wrapper"),o=document.querySelector(".it-user-wrapper"),s=s?s.cloneNode(!0):null,r=r?r.cloneNode(!0):null,o=o?o.cloneNode(!0):null,s&&i.insertBefore(s,i.childNodes[0]).classList.add("cloned-header"),r&&i.appendChild(r).classList.add("cloned-header"),o&&(i.appendChild(o).classList.add("cloned-header"),i.appendChild(o).classList.remove("show"))):((s=document.getElementsByClassName("cloned-header"))&&Array.from(s).forEach(function(e){e.parentElement.removeChild(e)}),"function"==typeof n&&n())),d.nextElementSibling.style.paddingTop=t?l+(e?c-a:l-a)+"px":"0px"}d&&(u=!!(s=document.querySelector(".custom-navbar-toggler"))&&("none"===(s=window.getComputedStyle(s)).display||"hidden"===s.visibility),t=!1,s=void(a=0),e=u,u=document.querySelector(".it-header-slim-wrapper"),n=document.querySelector(".it-header-center-wrapper"),i=document.querySelector(".it-header-navbar-wrapper"),l=i&&i.offsetHeight||0,i=u&&u.offsetHeight||0,c=i,e&&l&&(c=i+n?n.offsetHeight:0),r=function(){t=!0,d.classList.add("is-sticky"),h(e,!0)},o=function(){t=!1,d.classList.remove("is-sticky"),h(e,!1)},s=function(){var e=l;window.scrollY+a>=c&&!t?(r(),e!==l&&(a=l-e)):window.scrollY+a<c&&t&&o()},window.addEventListener("scroll",s),s())}(),function(){var h,t,n=document.getElementsByClassName("sticky-wrapper"),i=document.querySelector(".custom-navbar-toggler"),e=o(i),r=void 0;function o(e){return!!e&&("none"===(e=window.getComputedStyle(e)).display||"hidden"===e.visibility)}n&&n.length&&(h=!1,t=function(c){var u=function(e,t){return c?parseInt((window.getComputedStyle?getComputedStyle(e,null):e.currentStyle)[t]):0},d=function(e,t,n){return!c&&e&&"bottom"===n?"0px":!c&&e&&"top"===n?"auto":"bottom"===n?"":t+"px"},e=c?document.querySelector(".it-header-navbar-wrapper"):document.querySelector(".it-header-center-wrapper");r=function(){var l=e?e.offsetHeight:0;Array.from(n).forEach(function(e){var t,n,i,r,o,s,a=e.offsetHeight;(t=e.parentNode).style.position="relative",n=t.offsetWidth||0,i=t.offsetHeight,r=u(t,"paddingTop"),o=u(t,"paddingRight"),t=t.getBoundingClientRect().top||0,s=l+r,t<=l?(h=!0,e.classList.add("is-sticky"),e.style.top=d(!0,s,"top"),e.style.bottom=d(!0,s,"bottom"),e.style.width=c?n-o+"px":""):h&&l<t&&(h=!1,e.classList.remove("is-sticky"),e.style.top="",e.style.bottom="",e.style.width=""),h&&c&&(t<0&&Math.abs(t)+a+r+l>i?e.classList.add("at-bottom"):e.classList.remove("at-bottom"))})},window.addEventListener("scroll",r),r()},window.addEventListener("resize",function(){var e;r&&(window.removeEventListener("scroll",r),e=o(i),t(e))}),t(e))}(),window.isIe=isIe;var styleNode=document.createElement("style"),ComponenteBase=($(function(){$.fn.autocomplete=function(e){return e=$.extend({data:{}},e),this.each(function(){var o=$(this),s=null,a=o.data("autocomplete");
1a&&Object.keys(a).length&&((s=$('<ul class="autocomplete-list"></ul>')).insertAfter($(this).next()),o.on("keyup",function(){var e=o.val();if(s.empty(),e.length)for(var t in a){var n=new RegExp("("+e+")","gi"),n=a[t].text.replace(n,"<mark>$1</mark>"),i=a[t].label?"<em>"+a[t].label+"</em>":"",r=a[t].icon||"",t=a[t].link||"#";-1!==n.toLowerCase().indexOf(e.toLowerCase())&&($(this).closest(".form-group").find(".autocomplete-list").addClass("autocomplete-list-show"),t=$('<li>\n <a href="'+t+'">\n '+r+'\n <span class="autocomplete-list-text">\n <span>'+n+"</span>\n "+i+"\n </span>\n </a>\n </li>"),s.append(t))}else $(this).closest(".form-group").find(".autocomplete-list").removeClass("autocomplete-list-show")}))})},$(".autocomplete").autocomplete()}),$(function(){var e=$('a[data-attribute*="back-to-top"]');$(window).on("scroll",function(){e.toggleClass("back-to-top-show",e.length&&100<=$(this).scrollTop())}),e.on("click",function(){$("body,html").animate({scrollTop:0},800)})}),function(i){var e="componenteBase",r="bs.componente-base",t=i.fn[e],n=(o.prototype.publicFunction=function(e){console.log(i(e).data("value"),o.VERSION)},o._jQueryInterface=function(n){return this.each(function(){var e=i(this),t=e.data(r);if(t||(t=new o(this),e.data(r,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](this)}})},o._handleConsole=function(t){return function(e){e&&e.preventDefault(),t.publicFunction(this)}},_createClass2(o,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),o);function o(e){this._element=e}return i(document).on("click.bs.componente-base.data-api",".componente-base",n._handleConsole(new n)),i.fn[e]=n._jQueryInterface,i.fn[e].Constructor=n,i.fn[e].noConflict=function(){return i.fn[e]=t,n._jQueryInterface},n}($)),Cookiebar=function(i){var e="cookiebar",r="bs.cookiebar",t="."+r,n=i.fn[e],o="cookies_consent",s={CLOSE:"close"+t,CLOSED:"closed"+t,LOAD_DATA_API:"load"+t+".data-api",CLICK_DATA_API:"click"+t+".data-api"},a=((t=l.prototype).show=function(e){i(e).addClass("show").attr("aria-hidden","false").attr("aria-live","polite")},t.close=function(e){e=e||this._element,e=this._getRootElement(e),this._triggerCloseEvent(e).isDefaultPrevented()||(this._setCookieEU(),this._removeElement(e))},t.dispose=function(){i.removeData(this._element,r),this._element=null},t._setCookieEU=function(){(e=new Date).setDate(e.getDate()+30);var e=escape("true")+("; expires="+e.toUTCString());document.cookie=o+"="+e+"; path=/"},t._getSelectorFromElement=function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=(e=e.getAttribute("href"))&&"#"!==e?e.trim():"");try{return document.querySelector(t)?t:null}catch(e){return null}},t._getRootElement=function(e){var t=this._getSelectorFromElement(e);return!!t&&i(t)[0]||i(e).closest(".cookiebar")[0]},t._triggerCloseEvent=function(e){var t=i.Event(s.CLOSE);return i(e).trigger(t),t},t._removeElement=function(e){i(e).removeClass("show").attr("aria-hidden","true").attr("aria-live","off"),this._destroyElement(e)},t._destroyElement=function(e){i(e).detach().trigger(s.CLOSED).remove()},l._jQueryInterface=function(n){return this.each(function(){var e=i(this),t=e.data(r);if(t||(t=new l(this),e.data(r,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](this)}})},l._handleAccept=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},l._handleConsent=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},l._getCookieEU=function(){for(var e,t,n=document.cookie.split(";"),i=0;i<n.length;i++)if(e=n[i].substr(0,n[i].indexOf("=")),t=n[i].substr(n[i].indexOf("=")+1),(e=e.replace(/^\s+|\s+$/g,""))==o)return unescape(t)},_createClass2(l,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),l);function l(e){this._element=e}return i(document).on(s.CLICK_DATA_API,'[data-accept="cookiebar"]',a._handleAccept(new a)),i(window).on(s.LOAD_DATA_API,function(){var e=i.makeArray(i(".cookiebar"));if(!a._getCookieEU())for(var t=e.length;t--;){var n=i(e[t]);a._jQueryInterface.call(n,"show")}}),i.fn[e]=a._jQueryInterface,i.fn[e].Constructor=a,i.fn[e].noConflict=function(){return i.fn[e]=n,a._jQueryInterface},a}($);function notificationShow(e,t){$("#"+e).fadeIn(300),$("#"+e).hasClass("dismissable")||($("#"+e).fadeIn(300),t="number"==typeof t?t:7e3,setTimeout(function(){$("#"+e).fadeOut(100)},t))}$(function(){function n(e){return"dropdown"===e.getAttribute("data-toggle")}function i(e,t){var n=Array.prototype.slice.call(e.closest(r).querySelectorAll(
1o)),e=n.indexOf(e),i=null;if(t.isLimit&&t.isDirectionTop&&0<e)i=n[0];else if(t.isLimit&&e<n.length-1)i=n[n.length-1];else if(t.isDirectionTop){if(!t.loop&&0===e)return;i=n[0===e?n.length-1:e-1]}else{if(!t.loop&&e===n.length-1)return;i=n[e===n.length-1?0:e+1]}i&&i.focus()}function t(e){var t=e.key;"function"==typeof s[t]&&(e.preventDefault(),s[t](e.currentTarget))}$(".navbar .dropdown").on("show.bs.dropdown",function(){window.matchMedia("(max-width: 992px)").matches&&$(this).find(".dropdown-menu").first().stop(!0,!0).slideDown(180)}),$(".navbar .dropdown").on("hide.bs.dropdown",function(){window.matchMedia("(max-width: 992px)").matches&&$(this).find(".dropdown-menu").first().stop(!0,!0).slideUp(180)}),$(window).resize(function(){window.matchMedia("(min-width: 993px)").matches&&$(".navbar .dropdown-menu.show").removeAttr("style")});var r=".dropdown-menu",o="a.list-item",s={ArrowDown:function(e){var t;n(e)?(t=e.parentNode.querySelector(r))&&t.classList.contains("show")&&(t=t.querySelector(o))&&t.focus():i(e,{loop:!1})},ArrowUp:function(e){n(e)||i(e,{isDirectionTop:!0,loop:!1})}};$('[data-toggle="dropdown"]').on("keydown",function(e){t(e)}),$(r+" "+o).on("keydown",function(e){t(e)})}),$(function(){function e(){$("body").find(t).removeClass("valid invalid").each(function(e,t){var n=!!(t=$(t)).val(),i=!!t.attr("placeholder");(n||i)&&$("label[for='"+t.attr("id")+"']").css("transition","none").addClass("active"),n||i||$("label[for='"+t.attr("id")+"']").removeClass("active")})}var t='input[type="text"],input[type="password"],input[type="email"],input[type="email"],input[type="url"],input[type="tel"],input[type="number"],input[type="search"],textarea',n='input[type="file"]',i=($(document).on("focus",t,function(e){e="label[for='"+$(e.target).attr("id")+"']",$(e).addClass("active")}).on("blur",t,function(e){var t=!(e=$(e.target)).val(),n=!e.attr("placeholder");t&&n&&$("label[for='"+e.attr("id")+"']").removeClass("active")}).on("change",t,function(e){e=$(e.target),i(e),r(e)}).on("blur",n,function(e){e=$(e.target),$("label[for='"+e.attr("id")+"']").addClass("active")}).on("change",n,function(e){for(var t=$(e.target),n=e.currentTarget.files.length,i="",r="",o=0;o<n;o++)var s=parseInt(e.currentTarget.files[o].size,10)/1024,s=Math.round(s),i=i+e.currentTarget.files[o].name+" ("+s+"kb); ";1<n&&(r=n+" file da caricare: "),$("label[for='"+t.attr("id")+"']label[class='form-file-name']").text(r+i)}),function(e){var t=$("label[for='"+e.attr("id")+"']"),n=e.val().length,e=!!e.attr("placeholder");n||e?t.addClass("active"):t.removeClass("active")}),r=function(e){var t,n,i;
1e.hasClass("validate")&&(n=!(t=e.val()).length,i=!e[0].validity.badInput,n&&i?e.removeClass("valid").removeClass("invalid"):(n=e.is(":valid"),i=Number(e.attr("length"))||0,n&&(!i||i>t.length)?e.removeClass("invalid").addClass("valid"):e.removeClass("valid").addClass("invalid")))};e(),$(document).on("changed.bs.form-control",e)}),$(function(){var t;$(document).on("keydown mousedown",function(e){t="mousedown"===e.type}).on("focusin",function(e){t&&e.target&&($(e.target).addClass("focus--mouse"),$(e.target).attr("data-focus-mouse",!0))}).on("focusout",function(e){e.target&&($(e.target).removeClass("focus--mouse"),$(e.target).attr("data-focus-mouse",!1))})}),$(function(){$('a[data-attribute*="forward"]').on("click",function(e){var t=$(this.hash);t.length&&(e.preventDefault(),$("html, body").animate({scrollTop:t.offset().top},500))})}),$(function(){var e=$(".custom-navbar-toggler"),t=$(".close-div"),n=$(".overlay"),i=$(".it-back-button");$(e).on("click",function(){var e=$(this).attr("data-target"),t=$(e).find(".overlay");$(this).attr("aria-expanded","true"),$(i).fadeIn(),$(e).show(),$(t).fadeIn(),$(e).addClass("expanded")}
1),$(n).on("click",function(){var e=$(this).closest(".navbar-collapsable"),t=$(this).closest(".navbar").find(".custom-navbar-toggler"),n=$(e).find(".overlay");$(t).attr("aria-expanded","false"),$(e).removeClass("expanded"),$(n).fadeOut(),setTimeout(function(){$(e).hide()},300)}),$(t).on("click",function(){var e=$(this).closest(".navbar-collapsable"),t=$(this).closest(".navbar").find(".custom-navbar-toggler"),n=$(e).find(".overlay");$(t).attr("aria-expanded","false"),$(e).removeClass("expanded"),$(n).fadeOut(),setTimeout(function(){$(e).hide()},300)})}),$(function(){var n=$(".overlay"),e=$(".it-back-button");$('.it-bottom-navscroll ul li a[href^="#"]').on("click",function(e){e.preventDefault();var t=this.hash;$("html, body").animate({scrollTop:$(t).offset().top},600,function(){history.pushState?history.pushState(null,null,t):location.hash=t}),$(n).trigger("click")}),$(e).click(function(e){$(n).trigger("click"),$(this).fadeOut(),e.preventDefault()}),$(window).on("scroll",function(){var e=$(".it-page-sections-container").length?$(".it-page-sections-container").offset().top:0,i=$(window).scrollTop()-e;$(".it-page-section").each(function(e){var t,n;$(this).position().top<=10+i&&($(".it-navscroll-wrapper .menu-wrapper a.active").removeClass("active"),$(".it-navscroll-wrapper .menu-wrapper a").eq(e).addClass("active"),t=$(".it-navscroll-wrapper .menu-wrapper a").eq(e).closest("ul").prev("a"),n=$(t).closest("ul").prev("a"),$(t).addClass("active"),$(n).addClass("active"),t=$(".it-navscroll-wrapper .menu-wrapper a").eq(e).find("span").text(),e=(n=$(".it-navscroll-wrapper .custom-navbar-toggler")).find("span.it-list"),n.text(t),n.prepend(e))})}).scroll()}),$(function(){$(".go-back").on("click",function(){return window.history.back(),!1})}),$(document).on("click",".notification-close",function(){$(this).closest(".notification").fadeOut(100)}),$(function(){$(".upload-dragdrop:not(.success)").on("drag dragstart dragend dragover dragenter dragleave drop",function(e){e.preventDefault(),e.stopPropagation()}).on("dragover dragenter",function(){$(this).addClass("dragover")}).on("dragleave dragend drop",function(){$(this).removeClass("dragover")}).on("drop",function(){$(this).addClass("loading"),$(this).find(".upload-progress").circularloader({backgroundColor:"#ffffff",fontColor:"#000000",fontSize:"40px",radius:130,progressBarBackgroun
1d:"transparent",progressBarColor:"#0073e6",progressBarWidth:96,progressPercent:0})})});var progressDonut=function(n){return{generate:function(e,t){n(e).circularloader({backgroundColor:"#fff",fontColor:"#000",fontSize:40,radius:130,progressBarBackground:"transparent",progressBarColor:"#0073e6",progressBarWidth:96,progressPercent:t}),n(e).next().html("Progresso "+t+"%")},update:function(e,t){n(e).circularloader({progressPercent:t})}}}($),numbers=($(function(){$(".it-has-checkbox").on("click",function(e){var t=$(this).find("input");$(t).prop("checked")?($(t).prop("checked",!1),$(this).removeClass("active")):($(t).prop("checked",!0),$(this).addClass("active")),e.preventDefault()})}),$(function(){var e=window.navigator.userAgent;/msie|Trident.*rv[ :]*11\./gi.test(e)&&$(".img-wrapper").each(function(){var e=$(this),t=e.find("img").prop("src");t&&e.css("backgroundImage","url("+t+")").addClass("custom-object-fit")})}),[48,49,50,51,52,53,54,55,56,57]),timeRegEx=/^([01]?[0-9]|2[0-3]):[0-5][0-9]$/i;function hideInvisibleCards(e){$(e).find(".owl-item:not(.active)").attr("aria-hidden","true"),$(e).find(".owl-item:not(.active)").find("a","button").attr("tabindex",-1)}function showVisibleCards(e){$(e).find(".owl-item").removeAttr("aria-hidden"),$(e).find(".owl-item").find("a","button").removeAttr("tabindex")}$(document).ready(function(){function C(e){return[8,9,13].includes(e)}function k(e,t,n,i,r){e.hasClass("is-open")&&(e.fadeOut(100).toggleClass("is-open").attr("aria-hidden","true"),n&&i&&(e=n.attr("value")+":"+i.attr("value"),t.val(e)),E(t,r))}var _={};function E(e,t){var n=e.val();n&&(e=e.siblings("label"),""!=n&&n.match(timeRegEx)?e.removeClass("error-label").html(_[t]):e.addClass("error-label").html("Formato ora non valido (hh:mm)"))}$(".it-timepicker-wrapper").each(function(i){function t(e,t){var n=y(e.val());e.attr("aria-valuenow",n),x(null,t)}var n,r,o,s,a,l="00",c="00",e=$(this),u=e.find(".txtTime"),d=e.find(".btn-time"),h=e.find(".spinner-control"),f=e.find(".spinnerHour"),p=e.find(".spinnerMin"),m=e.find(".btnHourUp"),g=e.find(".btnHourDown"),v=e.find(".btnMinUp"),b=e.find(".btnMinDown"),y=function(e){return(e=e<0?0:e)<10?"0"+e:e},w=function(e){a=e.closest(".spinner").find("input"),n=parseInt(a.attr("aria-valuemin")),r=parseInt(a.attr("aria-valuemax")),o=parseInt(a.attr("aria-valuenow")),s=parseInt(a.attr("bb-skip"))},x=function(e,t){switch(w(t),e){case"up":(!r||o<r)&&o++;break;case"down":(!n||n<o)&&o--}if(e&&-1<s)switch(!0){case"up"===e&&s===o:o++;break;case"down"===e&&s===o:o--}switch(!0){case t.hasClass("btnHourUp")||t.hasClass("btnHourDown"):l=y(o);break;case t.hasClass("btnMinUp")||t.hasClass("btnMinDown"):c=y(o)}a.val(y(o)),a.attr("value",y(o)),a.attr("aria-valuenow",y(o)),u.val(l+":"+c).change()};_[i]=u.siblings("label").text(),e.find(".spinner-control button").attr("aria-hidden","true").attr("tabindex","-1"),d.on("click",function(e){e.stopPropagation(),e.preventDefault(),h.hasClass("is-open")?k(h,u,f,p,i):h.toggleClass("is-open").attr("aria-hidden","false").fadeIn(100)}),u.on("keyup",function(e){var t,e=e.which||e.keyCode,n=u.val();if(n.includes(":")?(t=n.split(":"),f.attr("aria-valuenow",t[0].substring(0,2)),f.attr("value",t[0].substring(0,2)),f.val(t[0].substring(0,2)),l=t[0].substring(0,2),p.attr("aria-valuenow",t[1].substring(0,2)),p.attr("value",t[1].substring(0,2)),p.val(t[1].substring(0,2)),c=t[1].substring(0,2)):(f.attr("aria-valuenow",n.substring(0,2)),f.attr("value",n.substring(0,2)),f.val(n.substring(0,2)),l=n.substring(0,2)),13===e)return E(u,i)}).on("focus",function(e){e.stopPropagation(),u.val()&&E(u,i)}).on("blur",function(){u.val()&&E(u,i)}),m.on("click",function(e){x("up",m,"click hour up"),e.preventDefault()}),g.on("click",function(e){x("down",g,"click hour down"),e.preventDefault()}),v.on("click",function(e){x("up",v,"click min up"),e.preventDefault()}),b.on("click",function(e){x("down",b,"click min down"),e.preventDefault()}),f.on("keydown",function(e){var e=e.which||e.keyCode,t=numbers.includes(e);switch(!0){case 38===e:m.trigger("click");break;case 40===e:g.trigger("click");break;case C(e)||t:return!0}return!1}).on("keyup",function(e){e=e.which||e.keyCode,numbers.includes(e)&&t(f,m)}),p.on("keydown",function(e){var e=e.which||e.keyCode,t=numbers.includes(e);switch(!0){case 38===e:v.trigger("click");break;case 40===e:b.trigger("click");break;case C(e)||t:return!0}return!1}).on("keyup",function(e){e=e.which||e.keyCode,numbers.includes(e)&&t(p,v)}),$(document).on("click",function(){k(h,u,f,p,i)}),h.on("click",function(e){e.stopPropagation()})})}),$(function(){function s(e){var t=e.closest(".input-number");t.hasClass("input-number-adaptive")&&(t.hasClass("input-number-percentage")||(e.css("width","calc(44px + "+e.val().length+"ch)"),isIe()&&e.css("width","calc(44px + (1.5 * "+e.val().length+"ch))")),t.hasClass("input-number-currency"))&&(e.css("width","calc(40px + 44px + "+e.val().length+"ch)"),isIe())&&e.css("width","calc(40px + 44px + (1.5 * "+e.val().length+"ch))")}$(".input-number input[type=number]").each(function(){s($(this))}),$(".input-number button").click(function(e){e.preventDefault();var t,n,i,r,e=$(this).closest(".input-number").find("input[type=number]"),o=parseFloat(e.val());isNaN(o)||(t=0,n=parseFloat(e.attr("max")),i=parseFloat(e.attr("min")),r=parseFloat(e.attr("step"))||1,$(this).hasClass("input-number-add")&&(t=!isNaN(n)&&n<=o+r?n:o+r),$(this).hasClass("input-number-sub")&&(t=!isNaN(i)&&o-r<=i?i:o-r),e.val(t).trigger("change")),s(e)}),$(".input-number input[type=number]").change(function(){var e,t,n=$(this),i=parseFloat(n.val()),r=parseInt(n.data("digits"));isNaN(i)||(e=parseFloat(n.attr("max")),(t=parseFloat(n.attr("min")))&&i<t&&(i=t),e&&e<i&&(i=e),r&&(i=i.toFixed(r)),n.val(i)),s(n)}),isIe()&&$("input[type=number]").on("keyup",function(e){e=e&&e.target.value,this.value=e.replace(/[^0-9,.]/g,"")})}),$(function(){var e,t,n,i,r,o,s,a,l,c,u,d,h,f,p,m,g,v,b,y,w,x,C,k,_,E,T,S,D,I,A,L,O,N,M=$(".owl-carousel.it-carou
1sel-all");$(M).each(function(){$(this).closest(".it-carousel-wrapper").hasClass("it-carousel-landscape-abstract-three-cols")&&(r=[],o=300,s=500,a=200,d=!(u=c=l=!(t=!(e=!0))),m=!(p=!(h="page")),g=1,w=!(y=!(b=n=24)),x=2,C=v=40,E=!(_=!(k=24)),A=!(I=!(T=i=3)),L=3,N=O=D=S=f=0,$(this).hasClass("it-card-bg")&&(C=v=40,O=S=12,N=D=k=b=24),$(this).hasClass("it-img-card")&&(C=v=40,O=S=0,N=D=k=b=24),$(this).hasClass("it-img-card"))&&$(this).hasClass("it-big-img")&&(t=!0,b=v=0,C=160,k=24,O=S=320,N=D=48,L=T=x=1),$(this).closest(".it-carousel-wrapper").hasClass("it-carousel-landscape-abstract-3")&&$(this).hasClass("it-img-card")&&$(this).hasClass("it-standard-image")&&(t=!0,v=40,g=1,x=2,S=68,O=C=48,N=D=k=b=24,L=T=3),$(this).closest(".it-carousel-wrapper").hasClass("it-calendar-wrapper")&&(t=!(e=!0),r=[],o=300,s=500,a=200,d=!(u=c=l=!(n=0)),m=!(p=!(h="page")),g=1,w=!(y=!(v=40)),x=2,E=!(_=!(C=40)),A=!(I=!(T=i=4)),L=4,N=O=D=S=k=b=f=0,$(this).hasClass("it-card-bg")&&(C=v=40,N=O=D=S=k=b=0),$(this).hasClass("it-img-card")&&(C=v=40,N=O=D=S=k=b=0),$(this).hasClass("it-img-card")&&$(this).hasClass("it-big-img")&&(t=!0,C=160,O=S=320,N=D=k=b=v=0,L=T=x=1),$(this).hasClass("it-img-card"))&&$(this).hasClass("it-standard-image")&&(t=!0,v=40,g=1,k=x=2,S=68,O=C=48,N=D=b=0,L=T=4),$(this).closest(".it-carousel-wrapper").hasClass("it-carousel-landscape-abstract")&&(r=[],o=300,s=500,a=200,d=!(u=c=l=!(t=!(e=!0))),m=!(p=!(h="page")),w=!(y=!(b=n=24)),E=!(_=!(k=C=24)),A=!(I=!(T=x=g=i=1)),L=1,N=O=D=S=v=f=0),$(this).owlCarousel&&$(this).owlCarousel({nav:e,loop:t,margin:n,items:i,navText:r,navSpeed:o,smartSpeed:s,dotsSpeed:a,navElement:"button",dotElement:"button",controlsAriaHidden:l,mouseDrag:c,touchDrag:u,dots:d,slideBy:h,stagePadding:f,responsive:{0:{nav:p,dots:m,items:g,stagePadding:v,margin:b},768:{nav:y,dots:w,stagePadding:C,items:x,margin:k},992:{nav:_,dots:E,items:T,stagePadding:S,margin:D},1200:{nav:I,dots:A,stagePadding:O,items:L,margin:N}},onInitialized:function(e){hideInvisibleCards(e.target);var t="Elemento {{i}} di {{n}}",n="Slide {{i}} di {{n}} del carousel",i=($(e.target).attr("data-slide-desc")&&(t=$(e.target).attr("data-slide-desc")),$(e.target).attr("data-dot-desc")&&(n=$(e.target).attr("data-dot-desc")),$(e.target).find(".owl-item")),r=($(i).each(function(e){e=(e=t.replace("{{i}}",e+1)).replace("{{n}}",i.length),$(this).attr("aria-label",e)}),$(e.target).find(".owl-dot"));$(r).each(function(e){e=(e=n.replace("{{i}}",e+1)).replace("{{n}}",r.length),$(this).attr("aria-label",e)})},onTranslate:function(e){showVisibleCards(e.target)},onTranslated:function(e){hideInvisibleCards(e.target)}})})}),document.addEventListener("DOMContentLoaded",function(){var e,t,n,i,r,o,s,a,l,c,u,d,h,f;void 0!==window.Splide&&(e=document.getElementsByClassName("splide"),Array.prototype.forEach.call(e,function(e){e.classList.contains("it-carousel-landscape-abstract-three-cols")?(f="slide",t=1,n=2,i=3,s=o=r=24,a={left:40,right:40},l={left:40,right:40},h=d=u=!(c={left:0,right:0}),e.classList.contains("it-big-img")?(f="loop",i=n=t=1,o=24,s=48,a={left:r=0,right:0},l={left:160,right:160},c={left:320,right:320}):e.classList.contains("it-standard-image")&&(f="loop",t=1,n=2,i=3,s=o=r=24,a={left:40,right:40},l={left:48,right:48},c={left:48,right:48})):e.classList.contains("it-carousel-landscape-abstract")&&(f="slide",i=n=t=1,a={left:0,right:0},l={left:s=o=r=24,right:24},h=d=u=!(c={left:0,right:0})),new Splide(e,{type:f,perPage:i,gap:s,padding:c,arrows:h,slideFocus:!0,i18n:{prev:"Slide precedente",next:"Slide successiva",first:"Vai alla prima slide",last:"Vai allâultima slide",slideX:"Vai alla slide %s",pageX:"Vai a pagina %s",play:"Attiva autoplay",pause:"Pausa autoplay"},breakpoints:{768:{perPage:t,gap:r,padding:a,arrows:u},992:{perPage:n,gap:o,padding:l,arrows:d}}}).mount()}))}
1),$(function(){var e=$(".transfer-header input"),t=$(".transfer-group input"),r=$(".it-transfer-block").find("a.transfer"),o=$(".it-transfer-block").find("a.backtransfer"),i=$(".it-transfer-block").find("a.reset"),a=$(".source .transfer-group .form-check"),l=$(".target .transfer-group .form-check"),c=a.length,u=l.length;function d(e){e.removeClass("active").attr("disabled","disabled").attr("aria-disabled","true")}function s(e){e.addClass("active").removeAttr("disabled").removeAttr("aria-disabled")}function h(e,t){var n=(o=e.find(".transfer-group input:checked")).closest(".form-check"),i=e.find(".transfer-header input"),r=e.find(".transfer-header span.num"),o=o.length,e=e.find(".transfer-group input").length,s=t.find(".transfer-group"),a=t.find(".transfer-group input").length+o,l=t.find(".transfer-header span.num"),t=t.find(".transfer-header input"),n=(n.each(function(){$(this).detach().appendTo(s).find("input").prop("checked",!1)}),e-o),e=a;r.text(n),l.text(e),0==n&&i.prop("disabled",!0),0<e&&t.prop("disabled",!1),i.removeClass("semi-checked").prop("checked",!1)}$(a).each(function(){}),$(l).each(function(){}
1),$(e).on("click",function(){var e=$(this).closest(".it-transfer-wrapper"),t=$(e).find(".transfer-group input"),n=$(e).find(".transfer-group input:checked"),i=$(e).find(".transfer-header input");r=e.closest(".it-transfer-block").find("a.transfer"),o=e.closest(".it-transfer-block").find("a.backtransfer"),0<n.length?($(t).prop("checked",!1),$(i).removeClass("semi-checked").prop("checked",!1),e.hasClass("source")?d(r):d(o)):($(t).prop("checked",!0),e.hasClass("source")?s(r):s(o))}),$(t).on("click",function(){var e=$(this).closest(".it-transfer-wrapper"),t=$(e).find(".transfer-group input"),n=$(e).find(".transfer-group input:checked"),i=$(e).find(".transfer-header input");r=e.closest(".it-transfer-block").find("a.transfer"),o=e.closest(".it-transfer-block").find("a.backtransfer"),0==n.length?(i.removeClass("semi-checked").prop("checked",!1),e.hasClass("source")?d(r):d(o)):(n.length==t.length?i.removeClass("semi-checked").prop("checked",!0):i.addClass("semi-checked").prop("checked",!1),e.hasClass("source")?s(r):s(o))}),$(r).on("click",function(e){var t=$(this).closest(".it-transfer-block").find(".source"),n=$(this).closest(".it-transfer-block").find(".target");s(i=$(this).closest(".it-transfer-block").find("a.reset")),d($(this)),h(t,n),e.preventDefault()}),$(o).on("click",function(e){var t=$(this).closest(".it-transfer-block").find(".source"),n=$(this).closest(".it-transfer-block").find(".target");s(i=$(this).closest(".it-transfer-block").find("a.reset")),d($(this)),h(n,t),e.preventDefault()}),$(i).on("click",function(e){var t,n,i,r=$(this).closest(".it-transfer-block"),o=r.find("a.transfer"),s=r.find("a.backtransfer");d(o),d(s),d($(this)),s=(o=r).find(".source .transfer-group"),r=o.find(".target .transfer-group"),t=o.find(".source .transfer-header span.num"),n=o.find(".target .transfer-header span.num"),i=o.find(".transfer-header input"),o=o.find(".transfer-group input"),$(s).find(".form-check").detach(),$(r).find(".form-check").detach(),$(s).append(a),$(r).append(l),$(t).text(c),$(n).text(u),$(i).prop("disabled",!1).removeClass("semi-checked"),$(i).prop("checked",!1),$(o).prop("checked",!1),e.preventDefault()})}),$(function(){function n(){$(".dropdown-menu li.selected").find('input[type="checkbox"]').prop("checked",!0),$(".dropdown-menu li:not(.selected)").find('input[type="checkbox"]').prop("checked",!1)}jQuery.fn.setOptionsToSelect=function(e){var t=$(this).find("select");return $(t).off("changed.bs.select").selectpicker("destroy").empty(),e.forEach(function(e){$(t).append($("<option>",{value:e.value,text:e.text}))}),$(t).selectpicker("refresh").on("changed.bs.select",n),this},$(".bootstrap-select-wrapper select").selectpicker().on("changed.bs.select",n);var e=$(".bootstrap-select-wrapper");e.find("select option.bs-title-option").text("Nessuna opzione"),e.find("select option[data-content]").text("Annulla"),e.find("button.dropdown-toggle").removeAttr("role"),e.find("div.filter-option").replaceWith(function(){return $("<span />").addClass("filter-option").append($(this).contents())}),e.find("div.filter-option-inner").replaceWith(function(){return $("<span />").addClass("filter-option-inner").append($(this).contents())}),e.find("div.filter-option-inner-inner").replaceWith(function(){return $("<span />").addClass("filter-option-inner-inner").append($(this).contents())}),e.find(".bs-searchbox input").attr("title","Cerca").attr("aria-expanded","false")}),$(function(){$(".rating.rating-label input[type=radio]").on("click",function(){var e=$
1(this).val(),t=1==e?"stella":"stelle";$(this).closest(".rating-label").find("legend span:not(.sr-only)").text(e+" "+t)})}),$(function(){$.fn.dimmerShow=function(){return this.each(function(){"flex"!=$(this).css("display")&&$(this).css("display","flex").hide().fadeIn(200)})},$.fn.dimmerHide=function(){return this.each(function(){$(this).fadeOut(200)})}}),$(document).ready(function(){var e=$(".it-datepicker-wrapper");0<e.length&&e.each(function(){var e=$(this).find(".input-group").find(".it-date-datepicker"),t=$(this).find(".invalid-feedback"),n=$(this).find(".valid-feedback");e.after(t),e.after(n)})});var BOOTSTRAP_ITALIA_VERSION="1.6.2",CONFIG_DEFAULT={errorFieldCssClass:"is-invalid",errorLabelCssClass:"just-validate-error-label"},JustValidateIt=function(){function e(e,t){return this.formSelector=e,this.target=document.querySelector(e),this.validate=new JustValidate(e,t),this.config=Object.assign({},CONFIG_DEFAULT,this.validate.globalConfig),this.formItems=[],this.init(),this.validate}var t=e.prototype;return t.init=function(){var n=this;this.target.querySelectorAll("input, select").forEach(function(e){var t=new ClassWatcher(e,n.config.errorFieldCssClass,function(){return n.onInputError(e)},function(){return n.onInputErrorRemove(e)},!0);e.id||e.setAttribute("id","justvalidate-input-"+Math.random()),n.formItems.push({item:e,watcher:t})}),this.target.querySelectorAll("fieldset").forEach(function(e){var t;0<e.querySelectorAll("input[type=radio],input[type=checkbox]").length&&(t=new ContentWatcher(e,"."+n.config.errorLabelCssClass,function(){return n.onFieldsetError(e)},function(){return n.onFieldsetErrorRemove(e)}),e.id||e.setAttribute("id","justvalidate-fieldset-"+Math.random()),n.formItems.push({item:e,watcher:t}))})},t.onInputError=function(n){var e=this.getErrorMessages(n),i=[];e.forEach(function(e,t){t=n.id+"-error-"+t,e.setAttribute("id",t),i.push(t)}),0<i.length&&(n.setAttribute("aria-describedby",i.join(" ")),n.setAttribute("aria-invalid","true"))},t.onInputErrorRemove=function(e){e.removeAttribute("aria-describedby"),e.setAttribute("aria-invalid","false")},t.onFieldsetError=function(n){var e=this.getErrorMessages(n),i=[],r=[];e.forEach(function(e,t){t=n.id+"-error-"+t,e.setAttribute("id",t),i.push(t),r.push(e.textContent)}),0<i.length&&(e=n.querySelector("legend"))&&(e.setAttribute("aria-describedby",i.join(" ")),e.setAttribute("aria-invalid","true"))},t.onFieldsetErrorRemove=function(e){(e=e.querySelector("legend"))&&(e.removeAttribute("aria-describedby"),e.setAttribute("aria-invalid","false"),e=e.querySelector("span.sr-only-justvalidateit"))&&e.remove()},t.getErrorMessages=function(e){for(var t=e,n=t.querySelectorAll("."+this.config.errorLabelCssClass);null!=t&&0===n.length;)n=(t=t.parentNode).querySelectorAll("."+this.config.errorLabelCssClass);return n},e}(),JustValidateItValidatorSelectAutocomplete=function(i,r){return void 0===r&&(r={}),function(t,e){var n=!1;if(e=e[i])return r.required||t?document.querySelector("#"+e.elem.id+"-select").querySelectorAll("option").forEach(function(e){e.text===t&&(n=!0)}):n=!0,n;throw new Error("JustValidateItValidatorSelectAutocomplete: "+i+" not found as form field")}},ContentWatcher=(window.JustValidateIt=JustValidateIt,window.JustValidateItValidatorSelectAutocomplete=JustValidateItValidatorSelectAutocomplete,function(){function e(e,t,n,i){this.targetNode=e,this.contentSelector=t,this.contentAddedCallback=n,this.contentRemovedCallback=i,this.observer=null,this.init()}var t=e.prototype;return t.init=function(){var t=this;this.observer=new MutationObserver(function(e){return t.mutationCallback(e)}),this.observe()},t.observe=function(){this.observer.observe(this.targetNode,{childList:!0})},t.disconnect=function(){this.observer.disconnect()},t.mutationCallback=function(e){for(var t=this,n=_createForOfIteratorHelperLoose(e);!(i=n()).done;){var i=i.value;"childList"===i.type&&(i.addedNodes.forEach(function(e){e.matches(t.contentSelector)&&t.contentAddedCallback()}),i.removedNodes.forEach(function(e){e.matches(t.contentSelector)&&t.contentRemovedCallback()}))}},e}()),ClassWatcher=function(){function e(e,t,n,i,r){this.targetNode=e,this.classToWatch=t,this.classAddedCallback=n,this.classRemovedCallback=i,this.observer=null,this.lastClassState=e.classList.contains(this.classToWatch),this.ignoreToggle=!!r,this.init()}var t=e.prototype;return t.init=function(){var t=this;this.observer=new MutationObserver(function(e){return t.mutationCallback(e)}),this.observe()},t.observe=function(){this.observer.observe(this.targetNode,{attributes:!0})},t.disconnect=function(){this.observer.disconnect()},t.mutationCallback=function(e){for(var t=_createForOfIteratorHelperLoose(e);!(n=t()).done;){var n=n.value;"attributes"===n.type&&"class"===n.attributeName&&(n=n.target.classList.contains(this.classToWatch),!this.ignoreToggle&&this.lastClassState===n||((this.lastClassState=n)?this.classAddedCallback():this.classRemovedCallback()))}},e}(),STYLE={opened:"expanded"},SELECTOR={sideMenu:".navbar-collapsable",navlink:".nav-link",megamenuNavLink:".nav-item .list-item",closeBtn:".close-menu",navbar:".navbar",homeBtn:".custom-navbar-toggler"},SideMenu=function(){function e(e){this.target=e,this.watcher,this.items=e.querySelectorAll([SELECTOR.navlink,SELECTOR.megamenuNavLink,SELECTOR.closeBtn].join(",")),this.currItemIdx=0,this.isKeyShift=!1}var t=e.prototype;return t.init=function(){var e=this;this.watcher=new ClassWatcher(this.target,STYLE.opened,function(){return e.isServiceEnabled()&&e.onOpen()},function(){return e.isServiceEnabled()&&e.onClose()}),this.bindEvents()},t.bindEvents=function(){var t=this;
1this.items.forEach(function(e){e.addEventListener("keydown",function(e){return t.isServiceEnabled()&&t.onItemKeyDown(e)}),e.addEventListener("keyup",function(e){return t.isServiceEnabled()&&t.onItemKeyUp(e)}),e.addEventListener("click",function(e){return t.isServiceEnabled()&&t.onItemClick(e)})})},t.isServiceEnabled=function(){return window.matchMedia("(max-width: 991px)").matches},t.onOpen=function(){var e=this.getNextVisibleItem(1);e.item&&(e.item.focus(),this.currItemIdx=e.index)},t.onClose=function(){var e=this.target.closest(SELECTOR.navbar).querySelector(SELECTOR.homeBtn);e&&e.focus()},t.onItemKeyUp=function(e){"Shift"===e.key&&(this.isKeyShift=!1)},t.onItemKeyDown=function(e){"Shift"===e.key&&(this.isKeyShift=!0),"Tab"===e.key&&(e.preventDefault(),this.focusNext())},t.onItemClick=function(e){this.currItemIdx=this.getItemIndex(e.currentTarget)},t.isHidden=function(e){return null===e.offsetParent},t.getItemIndex=function(n){var i=null;return this.items.forEach(function(e,t){e===n&&(i=t)}),i},t.getNextVisibleItem=function(e,t){for(var n=null,i=null,r=e,o=t?-1:1,s=!1;!(n||r==e&&s);)r==e&&(s=!0),this.isHidden(this.items[r])||(n=this.items[r],i=r),(r+=o)<0?r=this.items.length-1:r>=this.items.length&&(r=0);return{item:n,index:i}},t.focusNext=function(){var e=this.currItemIdx+(this.isKeyShift?-1:1);e<0?e=this.items.length-1:e>=this.items.length&&(e=0),(e=this.getNextVisibleItem(e,this.isKeyShift)).item&&(e.item.focus(),this.currItemIdx=e.index)},e}(),menus=document.querySelectorAll(SELECTOR.sideMenu),$=(menus.forEach(function(e){new SideMenu(e).init()}),$(function(){function t(e,t,n){var i=$(e).closest(r).find("> "+o),e=i.index($(e));(n=n&&t&&0<e?i[0]:n&&e<i.length-1?i[i.length-1]:t?i[0===e?i.length-1:e-1]:i[e<i.length-1?e+1:0])&&$(n).trigger("focus")}var r=".collapse-div",o='.collapse-header [data-toggle="collapse"]',n={ArrowDown:function(e){t(e)},ArrowUp:function(e){t(e,!0)},Home:function(e){t(e,!0,!0)},End:function(e){t(e,!1,!0)}};$(o).on("keydown",function(e){var t=e.key;"function"==typeof n[t]&&(e.preventDefault(),n[t](e.currentTarget))})}),jQuery.noConflict()); 2;function At(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}var n=this,t=function(){"use strict";var m="splide",l="data-"+m,K=10;function P(n){n.length=0}function R(n){return!o(n)&&"object"==typeof n}function i(n){return Array.isArray(n)}function z(n){return"string"==typeof n}function Q(n){return void 0===n}function o(n){return null===n}function V(n){return n instanceof HTMLElement}function y(n){return i(n)?n:[n]}function b(n,t){y(n).forEach(t)}function Z(n,t){return-1<n.indexOf(t)}function w(n,t){return n.push.apply(n,y(t)),n}var r=Array.prototype;function a(n,t,e){return r.slice.call(n,t,e)}function _(t,n,e){t&&b(n,function(n){n&&t.classList[e?"add":"remove"](n)})}function k(n,t){_(n,z(t)?t.split(" "):t,!0)}function $(n,t){b(t,n.appendChild.bind(n))}function nn(n,e){b(n,function(n){var t=e.parentNode;t&&t.insertBefore(n,e)})}function tn(n,t){return V(n)&&(n.msMatchesSelector||n.matches).call(n,t)}function en(n,t){return n?a(n.children).filter(function(n){return tn(n,t)}):[]}function A(n,t){return t?en(n,t)[0]:n.firstElementChild}function s(n,t,e){if(n)for(var i=Object.keys(n),i=e?i.reverse():i,o=0;o<i.length;o++){var r=i[o];if("__proto__"!==r&&!1===t(n[r],r))break}}function on(i){return a(arguments,1).forEach(function(e){s(e,function(n,t){i[t]=e[t]})}),i}function f(e,n){return s(n,function(n,t){i(n)?e[t]=n.slice():R(n)?e[t]=f(R(e[t])?e[t]:{},n):e[t]=n}),e}function L(t,n){t&&b(n,function(n){t.removeAttribute(n)})}function C(e,n,t){R(n)?s(n,function(n,t){C(e,t,n)}):o(t)?L(e,n):e.setAttribute(n,String(t))}function D(n,t,e){return n=document.createElement(n),t&&(z(t)?k:C)(n,t),e&&$(e,n),n}function M(n,t,e){if(Q(e))return getComputedStyle(n)[t];o(e)||(n=n.style)[t]!==(e=""+e)&&(n[t]=e)}function rn(n,t){M(n,"display",t)}function I(n,t){return n.getAttribute(t)}function un(n,t){return n&&n.classList.contains(t)}function N(n){return n.getBoundingClientRect()}function O(n){b(n,function(n){n&&n.parentNode&&n.parentNode.removeChild(n)})}function sn(n){return A((new DOMParser).parseFromString(n,"text/html").body)}function F(n,t){n.preventDefault(),t&&(n.stopPropagation(),n.stopImmediatePropagation())}function x(n,t){return n&&n.querySelector(t)}function cn(n,t){return a(n.querySelectorAll(t))}function an(n,t){_(n,t,!1)}function E(n){return z(n)?n:n?n+"px":""}function fn(n,t){if(void 0===t&&(t=""),!n)throw new Error("["+m+"] "+t)}function v(n){setTimeout(n)}function ln(){}function h(n){requestAnimationFrame(n)}var dn=Math.min,hn=Math.max,pn=Math.floor,gn=Math.ceil,j=Math.abs;function vn(n,t,e,i){var o=dn(t,e),e=hn(t,e);return i?o<n&&n<e:o<=n&&n<=e}function mn(n,t,e){var i=dn(t,e),e=hn(t,e);return dn(hn(i,n),e)}function yn(n){return(0<n)-(n<0)}function bn(t,n){return b(n,function(n){t=t.replace("%s",""+n)}),t}function wn(n){return n<10?"0"+n:""+n}var xn={};var W="mounted",T="move",En="moved",Sn="shifted",Pn="click",kn="active",_n="inactive",An="visible",Ln="hidden",Cn="slide:keydown",B="refresh",X="updated",S="resize",zn="resized",Dn="repositioned",Mn="scrolled",c="destroy",In="navigation:mounted",Nn="lazyload:loaded";function H(n){var i=n.event,o={},r=[];function t(n,t,i){u(n,t,function(t,e){r=r.filter(function(n){return!!(n[0]!==t||n[1]!==e||i&&n[2]!==i)||(t.removeEventListener(e,n[2],n[3]),!1)})})}function u(n,t,e){b(n,function(n){n&&t.split(" ").forEach(e.bind(null,n))})}function e(){r=r.filter(function(n){return t(n[0],n[1])}),i.offBy(o)}return i.on(c,e,o),{on:function(n,t,e){i.on(n,t,o,e)},off:function(n){i.off(n,o)}
2,emit:i.emit,bind:function(n,t,e,i){u(n,t,function(n,t){r.push([n,t,e,i]),n.addEventListener(t,e,i)})},unbind:t,destroy:e}}function On(t,e,i,o){var r,n,u=Date.now,s=0,c=!0,a=0;function f(){if(!c){var n=u()-r;if(t<=n?(s=1,r=u()):s=n/t,i&&i(s),1===s&&(e(),o)&&++a>=o)return l();h(f)}}function l(){c=!0}function d(){cancelAnimationFrame(n),c=!(n=s=0)}return{start:function(n){n||d(),r=u()-(n?s*t:0),c=!1,h(f)},rewind:function(){r=u(),s=0,i&&i(s)},pause:l,cancel:d,set:function(n){t=n},isPaused:function(){return c}}}function Tn(e,i){var o;return function(){var n=arguments,t=this;o||(o=On(i||0,function(){e.apply(t,n),o=null},null,1)).start()}}var u={marginRight:["marginBottom","marginLeft"],autoWidth:["autoHeight"],fixedWidth:["fixedHeight"],paddingLeft:["paddingTop","paddingRight"],paddingRight:["paddingBottom","paddingLeft"],width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:["ArrowUp","ArrowRight"],ArrowRight:["ArrowDown","ArrowLeft"]},Rn=m,Fn=m+"__slider",jn=m+"__track",Wn=m+"__list",Bn=m+"__slide",Xn=Bn+"--clone",Hn=Bn+"__container",Gn=m+"__arrows",n=m+"__arrow",Yn=n+"--prev",qn=n+"--next",t=m+"__pagination",Un=m+"__progress",Jn=Un+"__bar",Kn=m+"__autoplay",Qn=m+"__play",Vn=m+"__pause",G="is-active",Zn="is-prev",$n="is-next",nt="is-visible",tt="is-loading",et=[G,nt,Zn,$n,tt],it="role",Y="aria-controls",ot="aria-current",q="aria-label",rt="aria-hidden",ut="tabindex",d="aria-orientation",st=[it,Y,ot,q,rt,d,ut,"disabled"],ct="slide",U="loop",at="fade";function ft(u,s,e,c){var a,n=H(u),t=n.on,f=n.emit,i=n.bind,o=n.destroy,l=u.Components,r=u.root,d=u.options,h=d.isNavigation,p=d.updateOnMove,g=l.Direction.resolve,v=I(c,"style"),m=-1<e,y=A(c,"."+Hn),b=d.focusableNodes&&cn(c,d.focusableNodes);function w(){var n=bn(d.i18n.slideX,(m?e:s)+1),t=u.splides.map(function(n){return n.splide.root.id}).join(" ");C(c,q,n),C(c,Y,t),C(c,it,"menuitem"),S(P())}function x(){a||E()}function E(){var n,t,e,i,o,r;a||(n=u.index,S(P()),o=u.is(at)?P():(e=N(l.Elements.track),i=N(c),o=g("left"),r=g("right"),pn(e[o])<=gn(i[o])&&pn(i[r])<=gn(e[r])),t=!o&&(!P()||m),C(c,rt,t||null),C(c,ut,!t&&d.slideFocus?0:null),b&&b.forEach(function(n){C(n,ut,t?-1:null)}),o!==un(c,nt)&&(_(c,nt,o),f(o?An:Ln,k)),_(c,Zn,s===n-1),_(c,$n,s===n+1))}function S(n){n!==un(c,G)&&(_(c,G,n),h&&C(c,ot,n||null),f(n?kn:_n,k))}function P(){var n=u.index;return n===s||d.cloneStatus&&n===e}var k={index:s,slideIndex:e,slide:c,container:y,isClone:m,mount:function(){m||(c.id=r.id+"-slide"+wn(s+1)),i(c,"click keydown",function(n){f("click"===n.type?Pn:Cn,k,n)}),t([B,Dn,Sn,En,Mn],E),t(In,w),p&&t(T,x)},destroy:function(){a=!0,o(),an(c,et),L(c,st),C(c,"style",v)},update:E,style:function(n,t,e){M(e&&y||c,n,t)},isWithin:function(n,t){return n=j(n-s),(n=m||!d.rewind&&!u.is(U)?n:dn(n,u.length-n))<=t}};return k}var e,lt=l+"-interval",J={passive:!1,capture:!0},dt="touchmove mousemove",ht="touchend touchcancel mouseup",pt=["Left","Right","Up","Down"],gt="keydown",vt=l+"-lazy",mt=vt+"-srcset",yt="["+vt+"], ["+mt+"]",p=[" ","Enter","Spacebar"],g=Object.freeze({__proto__:null,Options:function(t,n,i){var o,r,e,u=Tn(c);function s(n){n&&removeEventListener("resize",u)}function c(){n=function(n){return n[1].matches};var n=a(r).filter(n)[0]||[];n[0]!==e&&(n=e=n[0],(n=i.breakpoints[n]||o).destroy?(t.options=o,t.destroy("completely"===n.destroy)):(t.state.is(5)&&(s(!0),t.mount()),t.options=n))}return{setup:function(){try{f(i,JSON.parse(I(t.root,l)))}catch(n){fn(!1,n.message)}o=f({},i);var e,n=i.breakpoints;n&&(e="min"===i.mediaQuery,r=Object.keys(n).sort(function(n,t){return e?+t-+n:+n-+t}).map(function(n){return[n,matchMedia("("+(e?"min":"max")+"-width:"+n+"px)")]}),c())},mount:function(){r&&addEventListener("resize",u)},destroy:s}},Direction:function(n,t,i){return{resolve:function(n,t){var e=i.direction;return u[n]["rtl"!==e||t?"ttb"===e?0:-1:1]||n},orient:function(n){return n*("rtl"===i.direction?1:-1)}}},Elements:function(n,t,e){var i,o,r,u,s=H(n).on,c=n.root,a={},f=[];function l(){var n,t;o=A(c,"."+Fn),r=x(c,"."+jn),u=A(r,"."+Wn),fn(r&&u,"A track/list element is missing."),w(f,en(u,"."+Bn+":not(."+Xn+")")),n=g("."+Kn),t=g("."+Gn),on(a,{root:c,slider:o,track:r,list:u,slides:f,arrows:t,autoplay:n,prev:x(t,"."+Yn),next:x(t,"."+qn),bar:x(g("."+Un),"."+Jn),play:x(n,"."+Qn),pause:x(n,"."+Vn)}
2),t=c.id||""+m+wn(xn[m]=(xn[m]||0)+1),c.id=t,r.id=r.id||t+"-track",u.id=u.id||t+"-list",k(c,i=v())}function d(){[c,r,u].forEach(function(n){L(n,"style")}),P(f),an(c,i)}function h(){d(),l()}function p(){an(c,i),k(c,i=v())}function g(n){return A(c,n)||A(o,n)}function v(){return[Rn+"--"+e.type,Rn+"--"+e.direction,e.drag&&Rn+"--draggable",e.isNavigation&&Rn+"--nav",G]}return on(a,{setup:l,mount:function(){s(B,h,K-2),s(X,p)},destroy:d})},Slides:function(i,o,r){var n=H(i),t=n.on,u=n.emit,s=n.bind,c=(n=o.Elements).slides,a=n.list,f=[];function e(){c.forEach(function(n,t){h(n,t,-1)})}function l(){g(function(n){n.destroy()}),P(f)}function d(){l(),e()}function h(n,t,e){(n=ft(i,t,e,n)).mount(),f.push(n)}function p(n){return n?v(function(n){return!n.isClone}):f}function g(n,t){p(t).forEach(n)}function v(t){return f.filter("function"==typeof t?t:function(n){return z(t)?tn(n.slide,t):Z(y(t),n.index)})}return{mount:function(){e(),t(B,d),t([W,B],function(){f.sort(function(n,t){return n.index-t.index})})},destroy:l,update:function(){g(function(n){n.update()})},register:h,get:p,getIn:function(n){var t=o.Controller,e=t.toIndex(n),i=t.hasFocus()?1:r.perPage;return v(function(n){return vn(n.index,e,e+i-1)})},getAt:function(n){return v(n)[0]},add:function(n,o){b(n,function(n){var t,e,i;V(n=z(n)?sn(n):n)&&((t=c[o])?nn(n,t):$(a,n),k(n,r.classes.slide),e=u.bind(null,S),n=cn(n,"img"),(i=n.length)?n.forEach(function(n){s(n,"load error",function(){--i||e()})}):e())}),u(B)},remove:function(n){O(v(n).map(function(n){return n.slide})),u(B)},forEach:g,filter:v,style:function(t,e,i){g(function(n){n.style(t,e,i)})},getLength:function(n){return(n?c:f).length},isEnough:function(){return f.length>r.perPage}}},Layout:function(n,t,e){var i,o,r=H(n),u=r.on,s=r.bind,c=r.emit,a=t.Slides,f=t.Direction.resolve,l=(t=t.Elements).root,d=t.track,h=t.list,p=a.getAt;
2function g(){o=null,i="ttb"===e.direction,M(l,"maxWidth",E(e.width)),M(d,f("paddingLeft"),m(!1)),M(d,f("paddingRight"),m(!0)),v()}function v(){var n,t=N(l);o&&o.width===t.width&&o.height===t.height||(M(d,"height",(n="",i&&(fn(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")"),n)),a.style(f("marginRight"),E(e.gap)),a.style("width",(e.autoWidth?"":E(e.fixedWidth)||(i?"":b()))||null),a.style("height",E(e.fixedHeight)||(i?e.autoHeight?"":b():y())||null,!0),o=t,c(zn))}function m(n){var t=e.padding,n=f(n?"right":"left");return t&&E(t[n]||(R(t)?0:t))||"0px"}function y(){return E(e.height||N(h).width*e.heightRatio)}function b(){var n=E(e.gap);return"calc((100%"+(n&&" + "+n)+")/"+(e.perPage||1)+(n&&" - "+n)+")"}function w(n,t){var e=p(n);return e?(n=N(e.slide)[f("right")],e=N(h)[f("left")],j(n-e)+(t?0:x())):0}function x(){var n=p(0);return n&&parseFloat(M(n.slide,f("marginRight")))||0}return{mount:function(){g(),s(window,"resize load",Tn(c.bind(this,S))),u([X,B],g),u(S,v)},listSize:function(){return N(h)[f("width")]},slideSize:function(n,t){return(n=p(n||0))?N(n.slide)[f("width")]+(t?0:x()):0},sliderSize:function(){return w(n.length-1,!0)-w(-1,!0)},totalSize:w,getPadding:function(n){return parseFloat(M(d,f("padding"+(n?"Right":"Left"))))||0}}},Clones:function(c,n,a){var t,e=H(c),i=e.on,o=e.emit,f=n.Elements,l=n.Slides,r=n.Direction.resolve,d=[];function u(){if(t=g()){var r=t,u=l.get().slice(),s=u.length;if(s){for(;u.length<r;)w(u,u);w(u.slice(-r),u.slice(0,r)).forEach(function(n,t){var e,i=t<r,o=(e=n.slide,o=t,k(e=e.cloneNode(!0),a.classes.clone),e.id=c.root.id+"-clone"+wn(o+1),e);i?nn(o,u[0].slide):$(f.list,o),w(d,o),l.register(o,t-r+(i?0:s),n.index)})}o(S)}}function s(){O(d),P(d)}function h(){s(),u()}function p(){t<g()&&o(B)}function g(){var n,t,e=a.clones;return c.is(U)?e||(n=f.list,z(t=a[r("fixedWidth")])&&(t=N(n=D("div",{style:"width: "+t+"; position: absolute;"},n)).width,O(n)),e=(t&&gn(N(f.track)[r("width")]/t)||a[r("autoWidth")]&&c.length||a.perPage)*(a.drag?(a.flickMaxPages||1)+1:2)):e=0,e}return{mount:function(){u(),i(B,h),i([X,S],p)},destroy:s}},Move:function(u,s,c){var a,n=H(u),t=n.on,f=n.emit,i=(n=s.Layout).slideSize,e=n.getPadding,o=n.totalSize,r=n.listSize,l=n.sliderSize,d=(n=s.Direction).resolve,h=n.orient,p=(n=s.Elements).list,g=n.track;function v(){S()||(s.Scroll.cancel(),m(u.index),f(Dn))}function m(n){y(w(n,!0))}function y(n,t){var e,i,o;u.is(at)||(t=t?n:(e=n,e=u.is(U)&&(o=h(e-x()),i=P(!1,e)&&o<0,o=P(!0,e)&&0<o,i||o)?b(e,o):e),p.style.transform="translate"+d("X")+"("+t+"px)",n!==t&&f(Sn))}function b(n,t){var e=n-E(t),i=l();return n-h(i*(gn(j(e)/i)||1))*(t?1:-1)}function w(n,t){var e=h(o(n-1)-(e=n,"center"===(n=c.focus)?(r()-i(e,!0))/2:+n*i(e)||0));return t?(n=e,n=c.trimSpace&&u.is(ct)?mn(n,0,h(l()-r())):n):e}function x(){var n=d("left");return N(p)[n]-N(g)[n]+h(e(!1))}function E(n){return w(n?s.Controller.getEnd():0,!!c.trimSpace)}function S(){return u.state.is(4)&&c.waitForTransition}function P(n,t){t=Q(t)?x():t;var e=!0!==n&&h(t)<h(E(!1)),t=!1!==n&&h(t)>h(E(!0));return e||t}return{mount:function(){a=s.Transition,t([W,zn,X,B],v)},destroy:function(){L(p,"style")},move:function(n,t,e,i){var o,r;S()||(o=u.state.set,r=x(),n!==t&&(a.cancel(),y(b(r,t<n),!0)),o(4),f(T,t,e,n),a.start(t,function(){o(3),f(En,t,e,n),"move"===c.trimSpace&&n!==e&&r===x()?s.Controller.go(e<n?">":"<",!1,i):i&&i()}))},jump:m,translate:y,shift:b,cancel:function(){y(x()),a.cancel()},toIndex:function(n){for(var t=s.Slides.get(),e=0,i=1/0,o=0;o<t.length;o++){var r=t[o].index,u=j(w(r,!0)-n);if(!(u<=i))break;i=u,e=r}return e},toPosition:w,getPosition:x,getLimit:E,isBusy:S,exceededLimit:P}},Controller:function(n,u,s){var o,r,c,t=H(n).on,a=u.Move,f=a.getPosition,l=a.getLimit,e=u.Slides,d=e.isEnough,i=e.getLength,h=n.is(U),p=n.is(ct),g=s.start||0,v=g;function m(){o=i(!0),r=s.perMove,c=s.perPage,g=mn(g,0,o-1)}function y(n,t,e,i,o){var r=t?n:A(n);u.Scroll.scroll(t||e?a.toPosition(r,!0):n,i,function(){L(a.toIndex(a.getPosition())),o&&o()})}function b(n){return x(!1,n)}function w(n){return x(!0,n)}function x(n,t){var e,i,o=r||(C()?1:c),o=E(g+o*(n?-1:1),g);return-1!==o||!p||(e=f(),i=l(!n),j(e-i)<1)?t?o:P(o):n?0:S()}function E(n,t,e){var i;return d()?(i=S(),n<0||i<n?n=vn(0,n,t,!0)||vn(i,t,n,!0)?k(_(n)):h?r||C()?n:n<0?-(o%c||c):o:s.rewind?n<0?i:0:-1:e||n===t||(n=r?n:k(_(t)+(n<t?-1:1)))):n=-1,n}function S(){var n=o-c;return(C()||h&&r)&&(n=o-1),hn(n,0)}function P(n){return h?d()?n%o+(n<0?o:0):-1:n}function k(n){return mn(C()?n:c*n,0,S())}function _(n){return C()||(n=vn(n,o-c,o-1)?o-1:n,n=pn(n/c)),n}function A(n){return n=a.toIndex(n),p?mn(n,0,S()):n}function L(n){n!==g&&(v=g,g=n)}function C(){return!Q(s.focus)||s.isNavigation}return{mount:function(){m(),t([X,B],m,K-1)},go:function(n,t,e){r=g,z(i=n)?(o=(u=i.match(/([+\-<>])(\d+)?/)||[])[1],u=u[2],"+"===o||"-"===o?r=E(g+ +(""+o+(+u||1)),g,!0):">"===o?r=u?k(+u):b(!0):"<"===o&&(r=w(!0))):r=h?i:mn(i,0,S());var i,o,r,u=r;s.useScroll?y(u,!0,!0,s.speed,e):-1<(n=P(u))&&!a.isBusy()&&(t||n!==g)&&(L(n),a.move(u,n,v,e))},scroll:y,getNext:b,getPrev:w,getAdjacent:x,getEnd:S,setIndex:L,getIndex:function(n){return n?v:g},toIndex:k,toPage:_,toDest:A,hasFocus:C}},Arrows:function(o,n,e){var i,t=H(o),r=t.on,u=t.bind,s=t.emit,c=e.classes,a=e.i18n,f=n.Elements,l=n.Controller,d=f.arrows,h=f.prev,p=f.next,g={};function v(){var n,t;!e.arrows||h&&p||(d=D("div",c.arrows),h=m(!0),p=m(!1),i=!0,$(d,[h,p]),nn(d,A("slider"===e.arrows&&f.slider||o.root))),h&&p&&(g.prev?rn(d,!1===e.arrows?"none":""):(n=f.track.id,C(h,Y,n),C(p,Y,n),g.prev=h,g.next=p,t=l.go,r([W,En,X,B,Mn],y),u(p,"click",function(){t(">",!0)}),u(h,"click",function(){t("<",!0)}),s("arrows:mounted",h,p)))}function m(n){return sn('<button class="'+c.arrow+" "+(n?c.prev:c.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40"><path d="'+(e.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function y(){var n=o.index,t=l.getPrev(),e=l.getNext(),i=-1<t&&n<t?a.last:a.prev,n=-1<e&&e<n?a.first:a.next;h.disabled=t<0,p.disabled=e<0,C(h,q,i),C(p,q,n),s("arrows:updated",h,p,t,e)}return{arrows:g,mount:function(){v(),r(X,v)},destroy:function(){i?O(d):(L(h,st),L(p,st))}}}
2,Autoplay:function(t,e,i){var o,r,u,n=H(t),s=n.on,c=n.bind,a=n.emit,f=On(i.interval,t.go.bind(t,">"),function(n){var t=d.bar;t&&M(t,"width",100*n+"%"),a("autoplay:playing",n)}),l=f.isPaused,d=e.Elements;function h(n){var t=n?"pause":"play",e=d[t];e&&(C(e,Y,d.track.id),C(e,q,i.i18n[t]),c(e,"click",n?g:p))}function p(){l()&&e.Slides.isEnough()&&(f.start(!i.resetProgress),r=o=u=!1,a("autoplay:play"))}function g(n){void 0===n&&(n=!0),l()||(f.pause(),a("autoplay:pause")),u=n}function v(){u||(o||r?g(!1):p())}function m(){var n=e.Slides.getAt(t.index);f.set(n&&+I(n.slide,lt)||i.interval)}return{mount:function(){var n,t=i.autoplay;t&&(h(!0),h(!1),n=d.root,i.pauseOnHover&&c(n,"mouseenter mouseleave",function(n){o="mouseenter"===n.type,v()}),i.pauseOnFocus&&c(n,"focusin focusout",function(n){r="focusin"===n.type,v()}),s([T,"scroll",B],f.rewind),s(T,m),"pause"!==t)&&p()},destroy:f.cancel,play:p,pause:g,isPaused:l}},Cover:function(n,t,e){var i=H(n).on;function o(e){t.Slides.forEach(function(n){var t=A(n.container||n.slide,"img");t&&t.src&&r(e,t,n)})}function r(n,t,e){e.style("background",n?'center/cover no-repeat url("'+t.src+'")':"",!0),rn(t,n?"none":"")}return{mount:function(){e.cover&&(i(Nn,function(n,t){r(!0,n,t)}),i([W,X,B],o.bind(null,!0)))},destroy:function(){o(!1)}}},Scroll:function(c,n,a){var f,l,t=H(c),e=t.on,d=t.emit,h=n.Move,p=h.getPosition,g=h.getLimit,v=h.exceededLimit;function m(){var n=p(),t=h.toIndex(n);vn(t,0,c.length-1)||h.translate(h.shift(n,0<t),!0),l&&l(),d(Mn)}function y(){f&&f.cancel()}function i(){f&&!f.isPaused()&&(y(),m())}return{mount:function(){e(T,y),e([X,B],i)},destroy:y,scroll:function i(o,n,t,r){var e,u=p(),s=1;n=n||(e=j(o-u),hn(e/1.5,800)),l=t,y(),f=On(n,m,function(n){var t=p(),e=(u+(o-u)*(e=n,(n=a.easingFunc)?n(e):1-Math.pow(1-e,4))-p())*s;h.translate(t+e),c.is(ct)&&!r&&v()&&(s*=.6,j(e)<10)&&(e=v(!1),i(g(!e),600,null,!0))},1),d("scroll"),f.start()},cancel:i}},Drag:function(o,r,u){var s,c,a,f,l,d,h,i,p,n=H(o),t=n.on,g=n.emit,v=n.bind,m=n.unbind,y=r.Move,b=r.Scroll,w=r.Controller,x=r.Elements.track,e=(n=r.Direction).resolve,E=n.orient,S=y.getPosition,P=y.exceededLimit,k=!1;function _(){var n=u.drag;O(!n),l="free"===n}function A(n){var t,e;i||(e=u.noDrag,t=N(n),e=!e||!tn(n.target,e),h=!1,!e)||!t&&n.button||(y.isBusy()?F(n,!0):(p=t?x:window,f=a=null,v(p,dt,L,J),v(p,ht,C,J),y.cancel(),b.cancel(),z(n)))}function L(n){var t,e,i;f||g("drag"),(f=n).cancelable&&(t=M(n)-M(c),d?(y.translate(s+t/(k&&o.is(ct)?5:1)),e=200<I(n)-I(c),i=k!==(k=P()),(e||i)&&z(n),g("dragging"),h=!0,F(n)):(i=R(i=u.dragMinThreshold)?i:{mouse:0,touch:+i||10},d=j(t)>(N(n)?i.touch:i.mouse),D()&&F(n)))}function C(n){m(p,dt,L),m(p,ht,C);var t,e,i=o.index;f?((d||n.cancelable&&D())&&(e=t=function(n){if(o.is(U)||!k){var t=c===f&&a||c,e=M(f)-M(t),t=I(n)-I(t),n=I(n)-I(f)<200;if(t&&n)return e/t}return 0}(n),e=S()+yn(e)*dn(j(e)*(u.flickPower||600),l?1/0:r.Layout.listSize()*(u.flickMaxPages||1)),l?w.scroll(e):o.is(at)?w.go(i+E(yn(t))):w.go(w.toDest(e),!0),F(n)),g("dragged")):l||S()===y.toPosition(i)||w.go(i,!0),d=!1}function z(n){a=c,c=n,s=S()}function T(n){!i&&h&&F(n,!0)}function D(){var n=j(M(f)-M(c));return j(M(f,!0)-M(c,!0))<n}function M(n,t){return(N(n)?n.touches[0]:n)["page"+e(t?"Y":"X")]}function I(n){return n.timeStamp}function N(n){return"undefined"!=typeof TouchEvent&&n instanceof TouchEvent}function O(n){i=n}return{mount:function(){v(x,dt,ln,J),v(x,ht,ln,J),v(x,"touchstart mousedown",A,J),v(x,"click",T,{capture:!0}),v(x,"dragstart",F),t([W,X],_)},disable:O,isDragging:function(){return d}}},Keyboard:function(t,n,e){var i,o,r=H(t),u=r.on,s=r.bind,c=r.unbind,a=t.root,f=n.Direction.resolve;function l(){var n=e.keyboard;n&&("focused"===n?C(i=a,ut,0):i=window,s(i,gt,g))}function d(){c(i,gt),V(i)&&L(i,ut)}function h(){var n=o;o=!0,v(function(){o=n})}function p(){d(),l()}function g(n){o||(n=n.key,(n=Z(pt,n)?"Arrow"+n:n)===f("ArrowLeft")?t.go("<"):n===f("ArrowRight")&&t.go(">"))}return{mount:function(){l(),u(X,p),u(T,h)},destroy:d,disable:function(n){o=n}}},LazyLoad:function(e,n,u){var t=H(e),i=t.on,o=t.off,r=t.bind,s=t.emit,c="sequential"===u.lazyLoad,a=[],f=0;function l(){h(),d()}
2function d(){n.Slides.forEach(function(r){cn(r.slide,yt).forEach(function(n){var t,e,i=I(n,vt),o=I(n,mt);i===n.src&&o===n.srcset||(t=u.classes.spinner,C(e=A(e=n.parentElement,"."+t)||D("span",t,e),it,"presentation"),a.push({o:n,e:r,src:i,srcset:o,c:e}),n.src)||rn(n,"none")})}),c&&v()}function h(){f=0,a=[]}function p(){(a=a.filter(function(n){var t=u.perPage*((u.preloadPages||1)+1)-1;return!n.e.isWithin(e.index,t)||g(n)})).length||o(En)}function g(i){var t=i.o;k(i.e.slide,tt),r(t,"load error",function(n){var t,e;t=i,n="error"===n.type,an((e=t.e).slide,tt),n||(O(t.c),rn(t.o,""),s(Nn,t.o,e),s(S)),c&&v()}),["srcset","src"].forEach(function(n){i[n]&&(C(t,n,i[n]),L(t,"src"===n?vt:mt))})}function v(){f<a.length&&g(a[f++])}return{mount:function(){u.lazyLoad&&(d(),i(B,l),c||i([W,B,En,Mn],p))},destroy:h}},Pagination:function(l,n,d){var h,t=H(l),e=t.on,p=t.emit,g=t.bind,i=t.unbind,v=n.Slides,m=n.Elements,o=n.Controller,y=o.hasFocus,r=o.getIndex,b=[];function u(){if(w(),d.pagination&&v.isEnough()){var n=l.length,t=d.classes,e=d.i18n,i=d.perPage,o="slider"===d.pagination&&m.slider||m.root,r=y()?n:gn(n/i);h=D("ul",t.pagination,o);for(var u=0;u<r;u++){var s=D("li",null,h),c=D("button",{class:t.page,type:"button"},s),a=v.getIn(u).map(function(n){return n.slide.id}),f=!y()&&1<i?e.pageX:e.slideX;g(c,"click",x.bind(null,u)),C(c,Y,a.join(" ")),C(c,q,bn(f,u+1)),b.push({li:s,button:c,page:u})}p("pagination:mounted",{list:h,items:b},E(l.index)),S()}}function w(){h&&(O(h),b.forEach(function(n){i(n.button,"click")}),P(b),h=null)}function x(t){o.go(">"+t,!0,function(){var n=v.getAt(o.toIndex(t));!n||(n=n.slide).setActive&&n.setActive()||n.focus({preventScroll:!0})})}function E(n){return b[o.toPage(n)]}function S(){var n=E(r(!0)),t=E(r());n&&(an(n.button,G),L(n.button,ot)),t&&(k(t.button,G),C(t.button,ot,!0)),p("pagination:updated",{list:h,items:b},n,t)}return{items:b,mount:function(){u(),e([X,B],u),e([T,Mn],S)},destroy:w,getAt:E,update:S}},Sync:function(o,n,e){var i=n.Elements.list,r=[];function t(){var n,t;o.splides.forEach(function(n){var e;n.isParent||(e=n.splide,[o,e].forEach(function(n){var t=H(n),i=n===o?e:o;t.on(T,function(n,t,e){i.go(i.is(U)?e:n)}),r.push(t)}))}),e.isNavigation&&((t=(n=H(o)).on)(Pn,c),t(Cn,a),t([W,X],s),C(i,it,"menu"),r.push(n),n.emit(In,o.splides))}function u(){L(i,st),r.forEach(function(n){n.destroy()}),P(r)}function s(){C(i,d,"ttb"!==e.direction?"horizontal":null)}function c(n){o.go(n.index)}function a(n,t){Z(p,t.key)&&(c(n),F(t))}return{mount:t,destroy:u,remount:function(){u(),t()}}},Wheel:function(e,i,o){var n=H(e).bind;function t(n){var t;n.cancelable&&(t=n.deltaY)&&(e.go((t=t<0)?"<":">"),o.releaseWheel&&!e.state.is(4)&&-1===i.Controller.getAdjacent(t)||F(n))}return{mount:function(){o.wheel&&n(i.Elements.track,"wheel",t,J)}}}}),bt={type:"slide",speed:400,waitForTransition:!0,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,keyboard:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",slideFocus:!0,trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",classes:{slide:Bn,clone:Xn,arrows:Gn,arrow:n,prev:Yn,next:qn,pagination:t,page:t+"__page",spinner:m+"__spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay"}};function wt(n,i,t){var e=H(n).on;return{mount:function(){e([W,B],function(){v(function(){i.Slides.style("transition","opacity "+t.speed+"ms "+t.easing)})})},start:function(n,t){var e=i.Elements.track;M(e,"height",E(N(e).height)),v(function(){t(),M(e,"height","")})},cancel:ln}}function xt(r,n,u){var s,t=H(r).bind,c=n.Move,a=n.Controller,e=n.Elements.list;function i(){f("")}function f(n){M(e,"transition",n)}return{mount:function(){t(e,"transitionend",function(n){n.target===e&&s&&(i(),s())})},start:function(n,t){var e=c.toPosition(n,!0),i=c.getPosition(),o=function(n){var t=u.rewindSpeed;if(r.is(ct)&&t){var e=a.getIndex(!0),i=a.getEnd();if(0===e&&i<=n||i<=e&&0===n)return t}return u.speed}(n);1<=j(e-i)&&1<=o?(f("transform "+o+"ms "+u.easing),c.translate(e,!0),s=t):(c.jump(n),t())},cancel:i}}function Et(n,t){var e,r;function i(n,i){u(n,function(n,t){var e=r[n];r[n]=e&&e.filter(function(n){return n.n?n.n!==i:i||n.t!==t})})}function u(n,t){y(n).join(" ").split(" ").forEach(function(n){n=n.split("."),t(n[0],n[1])})}this.event=(r={},{on:function(n,e,i,o){void 0===o&&(o=K),u(n,function(n,t){r[n]=r[n]||[],w(r[n],{i:n,r:e,t:t,u:o,n:i}).sort(function(n,t){return n.u-t.u})})},off:i,offBy:function(e){s(r,function(n,t){i(t,e)})},emit:function(n){var t=arguments;
2(r[n]||[]).forEach(function(n){n.r.apply(n,a(t,1))})},destroy:function(){r={}}}),this.Components={},this.state=(e=1,{set:function(n){e=n},is:function(n){return Z(y(n),e)}}),this.splides=[],this.f={},this.a={},fn(n=z(n)?x(document,n):n,n+" is invalid."),this.root=n,f(bt,Et.defaults),f(f(this.f,bt),t||{})}return(n=Et.prototype).mount=function(n,t){var e=this,i=this.state,o=this.Components;return fn(i.is([1,5]),"Already mounted!"),i.set(1),this.s=o,this.l=t||this.l||(this.is(at)?wt:xt),this.a=n||this.a,s(on({},g,this.a,{Transition:this.l}),function(n,t){n=n(e,o,e.f),(o[t]=n).setup&&n.setup()}),s(o,function(n){n.mount&&n.mount()}),this.emit(W),k(this.root,"is-initialized"),i.set(3),this.emit("ready"),this},n.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this.s.Sync.remount(),n.Components.Sync.remount()),this},n.go=function(n){return this.s.Controller.go(n),this},n.on=function(n,t){return this.event.on(n,t,null,20),this},n.off=function(n){return this.event.off(n),this},n.emit=function(n){var t;return(t=this.event).emit.apply(t,[n].concat(a(arguments,1))),this},n.add=function(n,t){return this.s.Slides.add(n,t),this},n.remove=function(n){return this.s.Slides.remove(n),this},n.is=function(n){return this.f.type===n},n.refresh=function(){return this.emit(B),this},n.destroy=function(t){void 0===t&&(t=!0);var n=this.event,e=this.state;return e.is(1)?n.on("ready",this.destroy.bind(this,t),this):(s(this.s,function(n){n.destroy&&n.destroy(t)},!0),n.emit(c),n.destroy(),t&&P(this.splides),e.set(5)),this},At((e=Et).prototype,n=[{key:"options",get:function(){return this.f},set:function(n){var t=this.f;f(t,n),this.state.is(1)||this.emit(X,t)}},{key:"length",get:function(){return this.s.Slides.getLength(!0)}},{key:"index",get:function(){return this.s.Controller.getIndex()}}]),Object.defineProperty(e,"prototype",{writable:!1}),(t=Et).defaults={},t.STATES={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,DESTROYED:5},t};"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).Splide=t(); 3;jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,t,e,u,a){return jQuery.easing[jQuery.easing.def](n,t,e,u,a)},easeInQuad:function(n,t,e,u,a){return u*(t/=a)*t+e},easeOutQuad:function(n,t,e,u,a){return-u*(t/=a)*(t-2)+e},easeInOutQuad:function(n,t,e,u,a){return(t/=a/2)<1?u/2*t*t+e:-u/2*(--t*(t-2)-1)+e},easeInCubic:function(n,t,e,u,a){return u*(t/=a)*t*t+e},easeOutCubic:function(n,t,e,u,a){return u*((t=t/a-1)*t*t+1)+e},easeInOutCubic:function(n,t,e,u,a){return(t/=a/2)<1?u/2*t*t*t+e:u/2*((t-=2)*t*t+2)+e},easeInQuart:function(n,t,e,u,a){return u*(t/=a)*t*t*t+e},easeOutQuart:function(n,t,e,u,a){return-u*((t=t/a-1)*t*t*t-1)+e},easeInOutQuart:function(n,t,e,u,a){return(t/=a/2)<1?u/2*t*t*t*t+e:-u/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(n,t,e,u,a){return u*(t/=a)*t*t*t*t+e},easeOutQuint:function(n,t,e,u,a){return u*((t=t/a-1)*t*t*t*t+1)+e},easeInOutQuint:function(n,t,e,u,a){return(t/=a/2)<1?u/2*t*t*t*t*t+e:u/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(n,t,e,u,a){return-u*Math.cos(t/a*(Math.PI/2))+u+e},easeOutSine:function(n,t,e,u,a){return u*Math.sin(t/a*(Math.PI/2))+e},easeInOutSine:function(n,t,e,u,a){return-u/2*(Math.cos(Math.PI*t/a)-1)+e},easeInExpo:function(n,t,e,u,a){return 0==t?e:u*Math.pow(2,10*(t/a-1))+e},easeOutExpo:function(n,t,e,u,a){return t==a?e+u:u*(1-Math.pow(2,-10*t/a))+e},easeInOutExpo:function(n,t,e,u,a){return 0==t?e:t==a?e+u:(t/=a/2)<1?u/2*Math.pow(2,10*(t-1))+e:u/2*(2-Math.pow(2,-10*--t))+e},easeInCirc:function(n,t,e,u,a){return-u*(Math.sqrt(1-(t/=a)*t)-1)+e},easeOutCirc:function(n,t,e,u,a){return u*Math.sqrt(1-(t=t/a-1)*t)+e},easeInOutCirc:function(n,t,e,u,a){return(t/=a/2)<1?-u/2*(Math.sqrt(1-t*t)-1)+e:u/2*(Math.sqrt(1-(t-=2)*t)+1)+e},easeInElastic:function(n,t,e,u,a){var r=1.70158,i=0,s=u;return 0==t?e:1==(t/=a)?e+u:(i=i||.3*a,r=s<Math.abs(u)?(s=u,i/4):i/(2*Math.PI)*Math.asin(u/s),-(s*Math.pow(2,10*--t)*Math.sin((t*a-r)*(2*Math.PI)/i))+e)},easeOutElastic:function(n,t,e,u,a){var r=1.70158,i=0,s=u;return 0==t?e:1==(t/=a)?e+u:(i=i||.3*a,r=s<Math.abs(u)?(s=u,i/4):i/(2*Math.PI)*Math.asin(u/s),s*Math.pow(2,-10*t)*Math.sin((t*a-r)*(2*Math.PI)/i)+u+e)},easeInOutElastic:function(n,t,e,u,a){var r=1.70158,i=0,s=u;return 0==t?e:2==(t/=a/2)?e+u:(i=i||a*(.3*1.5),r=s<Math.abs(u)?(s=u,i/4):i/(2*Math.PI)*Math.asin(u/s),t<1?s*Math.pow(2,10*--t)*Math.sin((t*a-r)*(2*Math.PI)/i)*-.5+e:s*Math.pow(2,-10*--t)*Math.sin((t*a-r)*(2*Math.PI)/i)*.5+u+e)},easeInBack:function(n,t,e,u,a,r){return u*(t/=a)*t*(((r=null==r?1.70158:r)+1)*t-r)+e},easeOutBack:function(n,t,e,u,a,r){return u*((t=t/a-1)*t*(((r=null==r?1.70158:r)+1)*t+r)+1)+e},easeInOutBack:function(n,t,e,u,a,r){return null==r&&(r=1.70158),(t/=a/2)<1?u/2*(t*t*((1+(r*=1.525))*t-r))+e:u/2*((t-=2)*t*((1+(r*=1.525))*t+r)+2)+e},easeInBounce:function(n,t,e,u,a){return u-jQuery.easing.easeOutBounce(n,a-t,0,u,a)+e},easeOutBounce:function(n,t,e,u,a){return(t/=a)<1/2.75?u*(7.5625*t*t)+e:t<2/2.75?u*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?u*(7.5625*(t-=2.25/2.75)*t+.9375)+e:u*(7.5625*(t-=2.625/2.75)*t+.984375)+e},easeInOutBounce:function(n,t,e,u,a){return t<a/2?.5*jQuery.easing.easeInBounce(n,2*t,0,u,a)+e:.5*jQuery.easing.easeOutBounce(n,2*t-a,0,u,a)+.5*u+e}});;!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(s){"use strict";var w=s.scrollTo=function(e,t,o){return s(window).scrollTo(e,t,o)};function v(e){return!e.nodeName||-1!==s.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])}function t(e){return s.isFunction(e)||s.isPlainObject(e)?e:{top:e,left:e}}return w.defaults={axis:"xy",duration:0,limit:!0},s.fn.scrollTo=function(e,o,h){"object"==typeof o&&(h=o,o=0),"function"==typeof h&&(h={onAfter:h}),"max"===e&&(e=9e9),h=s.extend({},w.defaults,h),o=o||h.duration;
3var x=h.queue&&1<h.axis.length;return x&&(o/=2),h.offset=t(h.offset),h.over=t(h.over),this.each(function(){if(null!==e){var a,u=v(this),f=u?this.contentWindow||window:this,c=s(f),l=e,d={};switch(typeof l){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(l)){l=t(l);break}l=u?s(l):s(l,f);case"object":if(0===l.length)return;(l.is||l.style)&&(a=(l=s(l)).offset())}var m=s.isFunction(h.offset)&&h.offset(f,l)||h.offset;s.each(h.axis.split(""),function(e,t){var o="x"===t?"Left":"Top",n=o.toLowerCase(),r="scroll"+o,i=c[r](),s=w.max(f,t);a?(d[r]=a[n]+(u?0:i-c.offset()[n]),h.margin&&(d[r]-=parseInt(l.css("margin"+o),10)||0,d[r]-=parseInt(l.css("border"+o+"Width"),10)||0),d[r]+=m[n]||0,h.over[n]&&(d[r]+=l["x"===t?"width":"height"]()*h.over[n])):(o=l[n],d[r]=o.slice&&"%"===o.slice(-1)?parseFloat(o)/100*s:o),h.limit&&/^\d+$/.test(d[r])&&(d[r]=d[r]<=0?0:Math.min(d[r],s)),!e&&1<h.axis.length&&(i===d[r]?d={}:x&&(p(h.onAfterFirst),d={}))}),p(h.onAfter)}function p(e){var t=s.extend({},h,{queue:!0,duration:o,complete:e&&function(){e.call(f,l,h)}});c.animate(d,t)}})},w.max=function(e,t){var o,n,r,t="x"===t?"Width":"Height",i="scroll"+t;return v(e)?(o="client"+t,n=(r=e.ownerDocument||e.document).documentElement,r=r.body,Math.max(n[i],r[i])-Math.min(n[o],r[o])):e[i]-s(e)[t.toLowerCase()]()},s.Tween.propHooks.scrollLeft=s.Tween.propHooks.scrollTop={get:function(e){return s(e.elem)[e.prop]()},set:function(e){var t=this.get(e);if(e.options.interrupt&&e._last&&e._last!==t)return s(e.elem).stop();var o=Math.round(e.now);t!==o&&(s(e.elem)[e.prop](o),e._last=this.get(e))}},w});;!function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],n):n(jQuery)}(function(s){"use strict";s.fn.responsiveDom=function(n){var e=s.extend({appendTo:"body",mediaQuery:"(min-width: 0)",callback:null},n),t=this,i=null,o=!1,n=function(){if(!o&&matchMedia(e.mediaQuery).matches)c(),o=!0;else{if(!o||matchMedia(e.mediaQuery).matches)return;a(),o=!1}"function"==typeof e.callback&&e.callback(o)},c=function(){document.contains&&!document.contains(t[0])||(i=s('<span class="js-responsive-dom-placeholder"/>'),t.after(i),s(e.appendTo).eq(0).append(t))},a=function(){null===i||document.contains&&!document.contains(i[0])||(i.after(t),i.remove(),i=null)},u=function(n,e){var t;return function(){clearTimeout(t),t=setTimeout(function(){n()},e)}};return n(),s(window).on("resize.responsiveDom",u(n,100)),this}});;!function(e){e.fn.jPushMenu=function(s){var o=e.extend({},e.fn.jPushMenu.defaultOptions,s);e("body").addClass(o.pushBodyClass),e(this).addClass("jPushMenuBtn"),e(this).click(function(s){s.stopPropagation();var s="",t="";e(this).is("."+o.showLeftClass)?(s=".cbp-spmenu-left",t="toright"):e(this).is("."+o.showRightClass)?(s=".cbp-spmenu-right",t="toleft"):e(this).is("."+o.showSearchClass)?(s=".cbp-spmenu-search",t="search"):e(this).is("."+o.showTopClass)?s=".cbp-spmenu-top":e(this).is("."+o.showBottomClass)&&(s=".cbp-spmenu-bottom"),""!=s&&(e(this).toggleClass(o.activeClass),e(s).toggleClass(o.menuOpenClass),e(this).is("."+o.pushBodyClass)&&""!=t&&e("body").toggleClass(o.pushBodyClass+"-"+t),e(".jPushMenuBtn").not(e(this)).toggleClass("disabled"))});var t=function(s){e(".jPushMenuBtn,body,.cbp-spmenu").removeClass("disabled "+s.activeClass+" "+s.menuOpenClass+" "+s.pushBodyClass+"-toleft "+s.pushBodyClass+"-toright"+s.pushBodyClass+"-search")};o.closeOnClickOutside&&(e(document).on("click",function(){t(o)}),e(".cbp-spmenu").on("click",function(s){s.stopPropagation()})),o.closeOnClickLink&&e(".cbp-spmenu a").on("click",function(){e(this).hasClass("preventclick")||t(o)})},e.fn.jPushMenu.defaultOptions={pushBodyClass:"push-body",showLeftClass:"menu-left",showRightClass:"menu-right",showSearchClass:"menu-search",showTopClass:"menu-top",showBottomClass:"menu-bottom",activeClass:"menu-active",menuOpenClass:"menu-open",closeOnClickOutside:!0,closeOnClickLink:!0}}(jQuery);;!function r(o,i,l){function s(n,t){if(!i[n]){if(!o[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(a)return a(n,!0);t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}
3e=i[n]={exports:{}};o[n][0].call(e.exports,function(t){var e=o[n][1][t];return s(e||t)},e,e.exports,r,o,i,l)}return i[n].exports}for(var a="function"==typeof require&&require,t=0;t<l.length;t++)s(l[t]);return s}({1:[function(t,e,n){"use strict";var r=t("../main"),o=t("../plugin/instances");function i(t){t.fn.perfectScrollbar=function(e){return this.each(function(){var t;"object"==typeof e||void 0===e?(t=e,o.get(this)||r.initialize(this,t)):"update"===(t=e)?r.update(this):"destroy"===t&&r.destroy(this)})}}"function"==typeof define&&define.amd?define(["jquery"],i):void 0!==(t=window.jQuery||window.$)&&i(t),e.exports=i},{"../main":7,"../plugin/instances":18}],2:[function(t,e,n){"use strict";n.add=function(t,e){var n;t.classList?t.classList.add(e):(e=e,(n=(t=t).className.split(" ")).indexOf(e)<0&&n.push(e),t.className=n.join(" "))},n.remove=function(t,e){var n;t.classList?t.classList.remove(e):(e=e,n=(t=t).className.split(" "),0<=(e=n.indexOf(e))&&n.splice(e,1),t.className=n.join(" "))},n.list=function(t){return t.classList?Array.prototype.slice.apply(t.classList):t.className.split(" ")}},{}],3:[function(t,e,n){"use strict";var r={};r.e=function(t,e){t=document.createElement(t);return t.className=e,t},r.appendTo=function(t,e){return e.appendChild(t),t},r.css=function(t,e,n){if("object"!=typeof e)return void 0===n?(i=e,window.getComputedStyle(t)[i]):(i=t,o=e,"number"==typeof(n=n)&&(n=n.toString()+"px"),i.style[o]=n,i);var r,o,i,l=t,s=e;for(r in s){var a=s[r];"number"==typeof a&&(a=a.toString()+"px"),l.style[r]=a}return l},r.matches=function(t,e){return void 0!==t.matches?t.matches(e):void 0!==t.matchesSelector?t.matchesSelector(e):void 0!==t.webkitMatchesSelector?t.webkitMatchesSelector(e):void 0!==t.mozMatchesSelector?t.mozMatchesSelector(e):void 0!==t.msMatchesSelector?t.msMatchesSelector(e):void 0},r.remove=function(t){void 0!==t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)},r.queryChildren=function(t,e){return Array.prototype.filter.call(t.childNodes,function(t){return r.matches(t,e)})},e.exports=r},{}],4:[function(t,e,n){"use strict";function r(t){this.element=t,this.events={}}function o(){this.eventElements=[]}r.prototype.bind=function(t,e){void 0===this.events[t]&&(this.events[t]=[]),this.events[t].push(e),this.element.addEventListener(t,e,!1)},r.prototype.unbind=function(e,n){var r=void 0!==n;this.events[e]=this.events[e].filter(function(t){return r&&t!==n||(this.element.removeEventListener(e,t,!1),!1)},this)},r.prototype.unbindAll=function(){for(var t in this.events)this.unbind(t)};o.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return void 0===t&&(t=new r(e),this.eventElements.push(t)),t},o.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},o.prototype.unbind=function(t,e,n){this.eventElement(t).unbind(e,n)},o.prototype.unbindAll=function(){for(var t=0;t<this.eventElements.length;t++)this.eventElements[t].unbindAll()},o.prototype.once=function(t,e,n){var r=this.eventElement(t),o=function(t){r.unbind(e,o),n(t)};r.bind(e,o)},e.exports=o},{}],5:[function(t,e,n){"use strict";function r(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}e.exports=function(){return r()+r()+"-"+r()+"-"+r()+"-"+r()+"-"+r()+r()+r()}},{}],6:[function(t,e,n){"use strict";var o=t("./class"),r=t("./dom"),i=n.toInt=function(t){return parseInt(t,10)||0},l=n.clone=function(t){if(null===t)return null;if(t.constructor===Array)return t.map(l);if("object"!=typeof t)return t;var e,n={};for(e in t)n[e]=l(t[e]);return n};n.extend=function(t,e){var n,r=l(t);for(n in e)r[n]=l(e[n]);return r},n.isEditable=function(t){return r.matches(t,"input,[contenteditable]")||r.matches(t,"select,[contenteditable]")||r.matches(t,"textarea,[contenteditable]")||r.matches(t,"button,[contenteditable]")},n.removePsClasses=function(t){for(var e=o.list(t),n=0;n<e.length;n++){var r=e[n];0===r.indexOf("ps-")&&o.remove(t,r)}},n.outerWidth=function(t){return i(r.css(t,"width"))+i(r.css(t,"paddingLeft"))+i(r.css(t,"paddingRight"))+i(r.css(t,"borderLeftWidth"))+i(r.css(t,"borderRightWidth"))},n.startScrolling=function(t,e){o.add(t,"ps-in-scrolling"),void 0!==e?o.add(t,"ps-"+e):(o.add(t,"ps-x"),o.add(t,"ps-y"))},n.stopScrolling=function(t,e){o.remove(t,"ps-in-scrolling"),void 0!==e?o.remove(t,"ps-"+e):(o.remove(t,"ps-x"),o.remove(t,"ps-y"))},n.env={isWebKit:"WebkitAppearance"in document.documentElement.style,supportsTouch:"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,supportsIePointer:null!==window.navigator.msMaxTouchPoints}},{"./class":2,"./dom":3}],7:[function(t,e,n){"use strict";var r=t("./plugin/destroy"),o=t("./plugin/initialize"),t=t("./plugin/update");e.exports={initialize:o,update:t,destroy:r}},{"./plugin/destroy":9,"./plugin/initialize":17,"./plugin/update":2
31}],8:[function(t,e,n){"use strict";e.exports={handlers:["click-rail","drag-scrollbar","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollXMarginOffset:0,scrollYMarginOffset:0,stopPropagationOnClick:!0,suppressScrollX:!1,suppressScrollY:!1,swipePropagation:!0,useBothWheelAxes:!1,wheelPropagation:!1,wheelSpeed:1,theme:"default"}},{}],9:[function(t,e,n){"use strict";var r=t("../lib/helper"),o=t("../lib/dom"),i=t("./instances");e.exports=function(t){var e=i.get(t);e&&(e.event.unbindAll(),o.remove(e.scrollbarX),o.remove(e.scrollbarY),o.remove(e.scrollbarXRail),o.remove(e.scrollbarYRail),r.removePsClasses(t),i.remove(t))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18}],10:[function(t,e,n){"use strict";var i=t("../../lib/helper"),r=t("../instances"),l=t("../update-geometry"),s=t("../update-scroll");function o(n,r){function o(t){return t.getBoundingClientRect()}function t(t){t.stopPropagation()}r.settings.stopPropagationOnClick&&r.event.bind(r.scrollbarY,"click",t),r.event.bind(r.scrollbarYRail,"click",function(t){var e=i.toInt(r.scrollbarYHeight/2),e=r.railYRatio*(t.pageY-window.pageYOffset-o(r.scrollbarYRail).top-e)/(r.railYRatio*(r.railYHeight-r.scrollbarYHeight));e<0?e=0:1<e&&(e=1),s(n,"top",(r.contentHeight-r.containerHeight)*e),l(n),t.stopPropagation()}),r.settings.stopPropagationOnClick&&r.event.bind(r.scrollbarX,"click",t),r.event.bind(r.scrollbarXRail,"click",function(t){var e=i.toInt(r.scrollbarXWidth/2),e=r.railXRatio*(t.pageX-window.pageXOffset-o(r.scrollbarXRail).left-e)/(r.railXRatio*(r.railXWidth-r.scrollbarXWidth));e<0?e=0:1<e&&(e=1),s(n,"left",(r.contentWidth-r.containerWidth)*e-r.negativeScrollAdjustment),l(n),t.stopPropagation()})}e.exports=function(t){o(t,r.get(t))}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],11:[function(t,e,n){"use strict";var s=t("../../lib/helper"),a=t("../../lib/dom"),r=t("../instances"),c=t("../update-geometry"),u=t("../update-scroll");function o(r,o){var i,l=null;function e(t){var e,n;e=t.pageX-i,e=l+e*o.railXRatio,n=Math.max(0,o.scrollbarXRail.getBoundingClientRect().left)+o.railXRatio*(o.railXWidth-o.scrollbarXWidth),o.scrollbarXLeft=e<0?0:n<e?n:e,n=s.toInt(o.scrollbarXLeft*(o.contentWidth-o.containerWidth)/(o.containerWidth-o.railXRatio*o.scrollbarXWidth))-o.negativeScrollAdjustment,u(r,"left",n),c(r),t.stopPropagation(),t.preventDefault()}function n(){s.stopScrolling(r,"x"),o.event.unbind(o.ownerDocument,"mousemove",e)}o.event.bind(o.scrollbarX,"mousedown",function(t){i=t.pageX,l=s.toInt(a.css(o.scrollbarX,"left"))*o.railXRatio,s.startScrolling(r,"x"),o.event.bind(o.ownerDocument,"mousemove",e),o.event.once(o.ownerDocument,"mouseup",n),t.stopPropagation(),t.preventDefault()})}function i(r,o){var i,l=null;function e(t){var e,n;e=t.pageY-i,e=l+e*o.railYRatio,n=Math.max(0,o.scrollbarYRail.getBoundingClientRect().top)+o.railYRatio*(o.railYHeight-o.scrollbarYHeight),o.scrollbarYTop=e<0?0:n<e?n:e,n=s.toInt(o.scrollbarYTop*(o.contentHeight-o.containerHeight)/(o.containerHeight-o.railYRatio*o.scrollbarYHeight)),u(r,"top",n),c(r),t.stopPropagation(),t.preventDefault()}function n(){s.stopScrolling(r,"y"),o.event.unbind(o.ownerDocument,"mousemove",e)}o.event.bind(o.scrollbarY,"mousedown",function(t){i=t.pageY,l=s.toInt(a.css(o.scrollbarY,"top"))*o.railYRatio,s.startScrolling(r,"y"),o.event.bind(o.ownerDocument,"mousemove",e),o.event.once(o.ownerDocument,"mouseup",n),t.stopPropagation(),t.preventDefault()})}e.exports=function(t){var e=r.get(t);o(t,e),i(t,e)}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],12:[function(t,e,n){"use strict";var a=t("../../lib/helper"),c=t("../../lib/dom"),r=t("../instances"),u=t("../update-geometry"),d=t("../update-scroll");function o(i,l){var s=!1;l.event.bind(i,"mouseenter",function(){s=!0}),l.event.bind(i,"mouseleave",function(){s=!1});l.event.bind(l.ownerDocument,"keydown",function(t){if(!t.isDefaultPrevented||!t.isDefaultPrevented()){var e=c.matches(l.scrollbarX,":focus")||c.matches(l.scrollbarY,":focus");if(s||e){var n=document.activeElement||l.ownerDocument.activeElement;
3if(n){if("IFRAME"===n.tagName)n=n.contentDocument.activeElement;else for(;n.shadowRoot;)n=n.shadowRoot.activeElement;if(a.isEditable(n))return}var r=0,o=0;switch(t.which){case 37:r=-30;break;case 38:o=30;break;case 39:r=30;break;case 40:o=-30;break;case 33:o=90;break;case 32:o=t.shiftKey?90:-90;break;case 34:o=-90;break;case 35:o=t.ctrlKey?-l.contentHeight:-l.containerHeight;break;case 36:o=t.ctrlKey?i.scrollTop:l.containerHeight;break;default:return}d(i,"top",i.scrollTop-o),d(i,"left",i.scrollLeft+r),u(i),function(t,e){var n=i.scrollTop;if(0===t){if(!l.scrollbarYActive)return!1;if(0===n&&0<e||n>=l.contentHeight-l.containerHeight&&e<0)return!l.settings.wheelPropagation}if(n=i.scrollLeft,0===e){if(!l.scrollbarXActive)return!1;if(0===n&&t<0||n>=l.contentWidth-l.containerWidth&&0<t)return!l.settings.wheelPropagation}return!0}(r,o)&&t.preventDefault()}}})}e.exports=function(t){o(t,r.get(t))}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],13:[function(t,e,n){"use strict";var r=t("../instances"),s=t("../update-geometry"),a=t("../update-scroll");function o(o,i){var l=!1;function t(t){n=(e=t).deltaX,r=-1*e.deltaY,void 0!==n&&void 0!==r||(n=-1*e.wheelDeltaX/6,r=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(n*=10,r*=10),n!=n&&r!=r&&(n=0,r=e.wheelDelta);var e=[n,r],n=e[0],r=e[1];!function(t,e){var n=o.querySelector("textarea:hover, .ps-child:hover");if(n){if("TEXTAREA"!==n.tagName&&!window.getComputedStyle(n).overflow.match(/(scroll|auto)/))return;var r=n.scrollHeight-n.clientHeight;if(0<r&&!(0===n.scrollTop&&0<e||n.scrollTop===r&&e<0))return 1;r=n.scrollLeft-n.clientWidth;if(0<r&&!(0===n.scrollLeft&&t<0||n.scrollLeft===r&&0<t))return 1}}(n,r)&&(l=!1,i.settings.useBothWheelAxes?i.scrollbarYActive&&!i.scrollbarXActive?(a(o,"top",r?o.scrollTop-r*i.settings.wheelSpeed:o.scrollTop+n*i.settings.wheelSpeed),l=!0):i.scrollbarXActive&&!i.scrollbarYActive&&(a(o,"left",n?o.scrollLeft+n*i.settings.wheelSpeed:o.scrollLeft-r*i.settings.wheelSpeed),l=!0):(a(o,"top",o.scrollTop-r*i.settings.wheelSpeed),a(o,"left",o.scrollLeft+n*i.settings.wheelSpeed)),s(o),l=l||function(t,e){var n=o.scrollTop;if(0===t){if(!i.scrollbarYActive)return!1;if(0===n&&0<e||n>=i.contentHeight-i.containerHeight&&e<0)return!i.settings.wheelPropagation}if(n=o.scrollLeft,0===e){if(!i.scrollbarXActive)return!1;if(0===n&&t<0||n>=i.contentWidth-i.containerWidth&&0<t)return!i.settings.wheelPropagation}return!0}(n,r))&&(t.stopPropagation(),t.preventDefault())}void 0!==window.onwheel?i.event.bind(o,"wheel",t):void 0!==window.onmousewheel&&i.event.bind(o,"mousewheel",t)}e.exports=function(t){o(t,r.get(t))}},{"../instances":18,"../update-geometry":19,"../update-scroll":20}],14:[function(t,e,n){"use strict";var r=t("../instances"),o=t("../update-geometry");e.exports=function(t){var e,n=r.get(t);e=t,n.event.bind(e,"scroll",function(){o(e)})}},{"../instances":18,"../update-geometry":19}],15:[function(t,e,n){"use strict";var d=t("../../lib/helper"),p=t("../instances"),h=t("../update-geometry"),f=t("../update-scroll");function r(l,t){var s=null,a={top:0,left:0};function c(){s&&(clearInterval(s),s=null),d.stopScrolling(l)}var u=!1;t.event.bind(t.ownerDocument,"selectionchange",function(){var t;l.contains(0===(t=window.getSelection?window.getSelection():document.getSelection?document.getSelection():"").toString().length?null:t.getRangeAt(0).commonAncestorContainer)?u=!0:(u=!1,c())}),t.event.bind(window,"mouseup",function(){u&&(u=!1,c())}),t.event.bind(window,"mousemove",function(t){var e,n,r,o,i;u&&(e=t.pageX,t=t.pageY,n=l.offsetLeft,r=l.offsetLeft+l.offsetWidth,o=l.offsetTop,i=l.offsetTop+l.offsetHeight,e<n+3?(a.left=-5,d.startScrolling(l,"x")):r-3<e?(a.left=5,d.startScrolling(l,"x")):a.left=0,t<o+3?(a.top=o+3-t<5?-5:-20,d.startScrolling(l,"y")):i-3<t?(a.top=t-i+3<5?5:20,d.startScrolling(l,"y")):a.top=0,0===a.top&&0===a.left?c():s=s||setInterval(function(){p.get(l)?(f(l,"top",l.scrollTop+a.top),f(l,"left",l.scrollLeft+a.left),h(l)):clearInterval(s)},50))})}e.exports=function(t){r(t,p.get(t))}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],16:[function(t,e,n){"use strict";var r=t("../../lib/helper"),m=t("../instances"),Y=t("../update-geometry"),w=t("../update-scroll");function o(l,s,t,e){function i(t,e){w(l,"top",l.scrollTop-e),w(l,"left",l.scrollLeft-t),Y(l)}var a={},c=0,u={},n=null,d=!1,p=!1;function r(){d=!0}function o(){d=!1}function h(t){return t.targetTouches?t.targetTouches[0]:t}function f(t){return t.targetTouches&&1===t.targetTouches.length||!(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE)}function b(t){var e;f(t)&&(p=!0,e=h(t),a.pageX=e.pageX,a.pageY=e.pageY,c=(new Date).getTime(),null!==n&&clearInterval(n),t.stopPropagation())}function v(t){var e,n,r,o;!p&&s.settings.swipePropagation&&b(t),!d&&p&&f(t)&&(i(e=(r={pageX:(r=h(t)).pageX,pageY:r.pageY}).pageX-a.pageX,n=r.pageY-a.pageY),a=r,0<(o=(r=(new Date).getTime())-c)&&(u.x=e/o,u.y=n/o,c=r),function(t,e){var n=l.scrollTop,r
3=l.scrollLeft,o=Math.abs(t),i=Math.abs(e);if(o<i){if(e<0&&n===s.contentHeight-s.containerHeight||0<e&&0===n)return!s.settings.swipePropagation}else if(i<o&&(t<0&&r===s.contentWidth-s.containerWidth||0<t&&0===r))return!s.settings.swipePropagation;return 1}(e,n))&&(t.stopPropagation(),t.preventDefault())}function g(){!d&&p&&(p=!1,clearInterval(n),n=setInterval(function(){!m.get(l)||Math.abs(u.x)<.01&&Math.abs(u.y)<.01?clearInterval(n):(i(30*u.x,30*u.y),u.x*=.8,u.y*=.8)},10))}t&&(s.event.bind(window,"touchstart",r),s.event.bind(window,"touchend",o),s.event.bind(l,"touchstart",b),s.event.bind(l,"touchmove",v),s.event.bind(l,"touchend",g)),e&&(window.PointerEvent?(s.event.bind(window,"pointerdown",r),s.event.bind(window,"pointerup",o),s.event.bind(l,"pointerdown",b),s.event.bind(l,"pointermove",v),s.event.bind(l,"pointerup",g)):window.MSPointerEvent&&(s.event.bind(window,"MSPointerDown",r),s.event.bind(window,"MSPointerUp",o),s.event.bind(l,"MSPointerDown",b),s.event.bind(l,"MSPointerMove",v),s.event.bind(l,"MSPointerUp",g)))}e.exports=function(t){(r.env.supportsTouch||r.env.supportsIePointer)&&o(t,m.get(t),r.env.supportsTouch,r.env.supportsIePointer)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],17:[function(t,e,n){"use strict";var r=t("../lib/helper"),o=t("../lib/class"),i=t("./instances"),l=t("./update-geometry"),s={"click-rail":t("./handler/click-rail"),"drag-scrollbar":t("./handler/drag-scrollbar"),keyboard:t("./handler/keyboard"),wheel:t("./handler/mouse-wheel"),touch:t("./handler/touch"),selection:t("./handler/selection")},a=t("./handler/native-scroll");e.exports=function(e,t){t="object"==typeof t?t:{},o.add(e,"ps-container");var n=i.add(e);n.settings=r.extend(n.settings,t),o.add(e,"ps-theme-"+n.settings.theme),n.settings.handlers.forEach(function(t){s[t](e)}),a(e),l(e)}},{"../lib/class":2,"../lib/helper":6,"./handler/click-rail":10,"./handler/drag-scrollbar":11,"./handler/keyboard":12,"./handler/mouse-wheel":13,"./handler/native-scroll":14,"./handler/selection":15,"./handler/touch":16,"./instances":18,"./update-geometry":19}],18:[function(t,e,n){"use strict";var l=t("../lib/helper"),s=t("../lib/class"),a=t("./default-setting"),c=t("../lib/dom"),u=t("../lib/event-manager"),r=t("../lib/guid"),o={};function i(t){var e,n,r=this;function o(){s.add(t,"ps-focus")}function i(){s.remove(t,"ps-focus")}r.settings=l.clone(a),r.containerWidth=null,r.containerHeight=null,r.contentWidth=null,r.contentHeight=null,r.isRtl="rtl"===c.css(t,"direction"),r.isNegativeScroll=(n=t.scrollLeft,t.scrollLeft=-1,e=t.scrollLeft<0,t.scrollLeft=n,e),r.negativeScrollAdjustment=r.isNegativeScroll?t.scrollWidth-t.clientWidth:0,r.event=new u,r.ownerDocument=t.ownerDocument||document,r.scrollbarXRail=c.appendTo(c.e("div","ps-scrollbar-x-rail"),t),r.scrollbarX=c.appendTo(c.e("div","ps-scrollbar-x"),r.scrollbarXRail),r.scrollbarX.setAttribute("tabindex",0),r.event.bind(r.scrollbarX,"focus",o),r.event.bind(r.scrollbarX,"blur",i),r.scrollbarXActive=null,r.scrollbarXWidth=null,r.scrollbarXLeft=null,r.scrollbarXBottom=l.toInt(c.css(r.scrollbarXRail,"bottom")),r.isScrollbarXUsingBottom=r.scrollbarXBottom==r.scrollbarXBottom,r.scrollbarXTop=r.isScrollbarXUsingBottom?null:l.toInt(c.css(r.scrollbarXRail,"top")),r.railBorderXWidth=l.toInt(c.css(r.scrollbarXRail,"borderLeftWidth"))+l.toInt(c.css(r.scrollbarXRail,"borderRightWidth")),c.css(r.scrollbarXRail,"display","block"),r.railXMarginWidth=l.toInt(c.css(r.scrollbarXRail,"marginLeft"))+l.toInt(c.css(r.scrollbarXRail,"marginRight")),c.css(r.scrollbarXRail,"display",""),r.railXWidth=null,r.railXRatio=null,r.scrollbarYRail=c.appendTo(c.e("div","ps-scrollbar-y-rail"),t),r.scrollbarY=c.appendTo(c.e("div","ps-scrollbar-y"),r.scrollbarYRail),r.scrollbarY.setAttribute("tabindex",0),r.event.bind(r.scrollbarY,"focus",o),r.event.bind(r.scrollbarY,"blur",i),r.scrollbarYActive=null,r.scrollbarYHeight=null,r.scrollbarYTop=null,r.scrollbarYRight=l.toInt(c.css(r.scrollbarYRail,"right")),r.isScrollbarYUsingRight=r.scrollbarYRight==r.scrollbarYRight,r.scrollbarYLeft=r.isScrollbarYUsingRight?null:l.toInt(c.css(r.scrollbarYRail,"left")),r.scrollbarYOuterWidth=r.isRtl?l.outerWidth(r.scrollbarY):null,r.railBorderYWidth=l.toInt(c.css(r.scrollbarYRail,"borderTopWidth"))+l.toInt(c.css(r.scrollbarYRail,"borderBottomWidth")),c.css(r.scrollbarYRail,"display","block"),r.railYMarginHeight=l.toInt(c.css(r.scrollbarYRail,"marginTop"))+l.toInt(c.css(r.scrollbarYRail,"marginBottom")),c.css(r.scrollbarYRail,"display",""),r.railYHeight=null,r.railYRatio=null}function d(t){return t.getAttribute("data-ps-id")}n.add=function(t){var e=r();return t.setAttribute("data-ps-id",e),o[e]=new i(t),o[e]},n.remove=function(t){delete o[d(t)],t.removeAttribute("data-ps-id")},n.get=function(t){return o[d(t)]}}
3,{"../lib/class":2,"../lib/dom":3,"../lib/event-manager":4,"../lib/guid":5,"../lib/helper":6,"./default-setting":8}],19:[function(t,e,n){"use strict";var i=t("../lib/helper"),l=t("../lib/class"),s=t("../lib/dom"),a=t("./instances"),c=t("./update-scroll");function u(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),e=t.settings.maxScrollbarLength?Math.min(e,t.settings.maxScrollbarLength):e}e.exports=function(t){var e,n,r,o=a.get(t);o.containerWidth=t.clientWidth,o.containerHeight=t.clientHeight,o.contentWidth=t.scrollWidth,o.contentHeight=t.scrollHeight,t.contains(o.scrollbarXRail)||(0<(e=s.queryChildren(t,".ps-scrollbar-x-rail")).length&&e.forEach(function(t){s.remove(t)}),s.appendTo(o.scrollbarXRail,t)),t.contains(o.scrollbarYRail)||(0<(e=s.queryChildren(t,".ps-scrollbar-y-rail")).length&&e.forEach(function(t){s.remove(t)}),s.appendTo(o.scrollbarYRail,t)),!o.settings.suppressScrollX&&o.containerWidth+o.settings.scrollXMarginOffset<o.contentWidth?(o.scrollbarXActive=!0,o.railXWidth=o.containerWidth-o.railXMarginWidth,o.railXRatio=o.containerWidth/o.railXWidth,o.scrollbarXWidth=u(o,i.toInt(o.railXWidth*o.containerWidth/o.contentWidth)),o.scrollbarXLeft=i.toInt((o.negativeScrollAdjustment+t.scrollLeft)*(o.railXWidth-o.scrollbarXWidth)/(o.contentWidth-o.containerWidth))):o.scrollbarXActive=!1,!o.settings.suppressScrollY&&o.containerHeight+o.settings.scrollYMarginOffset<o.contentHeight?(o.scrollbarYActive=!0,o.railYHeight=o.containerHeight-o.railYMarginHeight,o.railYRatio=o.containerHeight/o.railYHeight,o.scrollbarYHeight=u(o,i.toInt(o.railYHeight*o.containerHeight/o.contentHeight)),o.scrollbarYTop=i.toInt(t.scrollTop*(o.railYHeight-o.scrollbarYHeight)/(o.contentHeight-o.containerHeight))):o.scrollbarYActive=!1,o.scrollbarXLeft>=o.railXWidth-o.scrollbarXWidth&&(o.scrollbarXLeft=o.railXWidth-o.scrollbarXWidth),o.scrollbarYTop>=o.railYHeight-o.scrollbarYHeight&&(o.scrollbarYTop=o.railYHeight-o.scrollbarYHeight),e=t,r={width:(n=o).railXWidth},n.isRtl?r.left=n.negativeScrollAdjustment+e.scrollLeft+n.containerWidth-n.contentWidth:r.left=e.scrollLeft,n.isScrollbarXUsingBottom?r.bottom=n.scrollbarXBottom-e.scrollTop:r.top=n.scrollbarXTop+e.scrollTop,s.css(n.scrollbarXRail,r),r={top:e.scrollTop,height:n.railYHeight},n.isScrollbarYUsingRight?n.isRtl?r.right=n.contentWidth-(n.negativeScrollAdjustment+e.scrollLeft)-n.scrollbarYRight-n.scrollbarYOuterWidth:r.right=n.scrollbarYRight-e.scrollLeft:n.isRtl?r.left=n.negativeScrollAdjustment+e.scrollLeft+2*n.containerWidth-n.contentWidth-n.scrollbarYLeft-n.scrollbarYOuterWidth:r.left=n.scrollbarYLeft+e.scrollLeft,s.css(n.scrollbarYRail,r),s.css(n.scrollbarX,{left:n.scrollbarXLeft,width:n.scrollbarXWidth-n.railBorderXWidth}),s.css(n.scrollbarY,{top:n.scrollbarYTop,height:n.scrollbarYHeight-n.railBorderYWidth}),o.scrollbarXActive?l.add(t,"ps-active-x"):(l.remove(t,"ps-active-x"),o.scrollbarXWidth=0,o.scrollbarXLeft=0,c(t,"left",0)),o.scrollbarYActive?l.add(t,"ps-active-y"):(l.remove(t,"ps-active-y"),o.scrollbarYHeight=0,o.scrollbarYTop=0,c(t,"top",0))}},{"../lib/class":2,"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-scroll":20}],20:[function(t,e,n){"use strict";var o,i,l=t("./instances"),s=document.createEvent("Event"),a=document.createEvent("Event"),c=document.createEvent("Event"),u=document.createEvent("Event"),d=document.createEvent("Event"),p=document.createEvent("Event"),h=document.createEvent("Event"),f=document.createEvent("Event"),b=document.createEvent("Event"),v=document.createEvent("Event");s.initEvent("ps-scroll-up",!0,!0),a.initEvent("ps-scroll-down",!0,!0),c.initEvent("ps-scroll-left",!0,!0),u.initEvent("ps-scroll-right",!0,!0),d.initEvent("ps-scroll-y",!0,!0),p.initEvent("ps-scroll-x",!0,!0),h.initEvent("ps-x-reach-start",!0,!0),f.initEvent("ps-x-reach-end",!0,!0),b.initEvent("ps-y-reach-start",!0,!0),v.initEvent("ps-y-reach-end",!0,!0),e.exports=function(t,e,n){if(void 0===t)throw"You must provide an element to the update-scroll function";if(void 0===e)throw"You must provide an axis to the update-scroll function";if(void 0===n)throw"You must provide a value to the update-scroll function";"top"===e&&n<=0&&(t.scrollTop=n=0,t.dispatchEvent(b)),"left"===e&&n<=0&&(t.scrollLeft=n=0,t.dispatchEvent(h));var r=l.get(t);"top"===e&&n>=r.contentHeight-r.containerHeight&&((n=r.contentHeight-r.containerHeight)-t.scrollTop<=1?n=t.scrollTop:t.scrollTop=n,t.dispatchEvent(v)),"left"===e&&n>=r.contentWidth-r.containerWidth&&((n=r.contentWidth-r.containerWidth)-t.scrollLeft<=1?n=t.scrollLeft:t.scrollLeft=n,t.dispatchEvent(f)),o=o||t.scrollTop,i=i||t.scrollLeft,"to
3p"===e&&n<o&&t.dispatchEvent(s),"top"===e&&o<n&&t.dispatchEvent(a),"left"===e&&n<i&&t.dispatchEvent(c),"left"===e&&i<n&&t.dispatchEvent(u),"top"===e&&(t.scrollTop=o=n,t.dispatchEvent(d)),"left"===e&&(t.scrollLeft=i=n,t.dispatchEvent(p))}},{"./instances":18}],21:[function(t,e,n){"use strict";var r=t("../lib/helper"),o=t("../lib/dom"),i=t("./instances"),l=t("./update-geometry"),s=t("./update-scroll");e.exports=function(t){var e=i.get(t);e&&(e.negativeScrollAdjustment=e.isNegativeScroll?t.scrollWidth-t.clientWidth:0,o.css(e.scrollbarXRail,"display","block"),o.css(e.scrollbarYRail,"display","block"),e.railXMarginWidth=r.toInt(o.css(e.scrollbarXRail,"marginLeft"))+r.toInt(o.css(e.scrollbarXRail,"marginRight")),e.railYMarginHeight=r.toInt(o.css(e.scrollbarYRail,"marginTop"))+r.toInt(o.css(e.scrollbarYRail,"marginBottom")),o.css(e.scrollbarXRail,"display","none"),o.css(e.scrollbarYRail,"display","none"),l(t),s(t,"top",t.scrollTop),s(t,"left",t.scrollLeft),o.css(e.scrollbarXRail,"display",""),o.css(e.scrollbarYRail,"display",""))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-geometry":19,"./update-scroll":20}]},{},[1]);;function accordion(){$(".accordion-header").toggleClass("accordion-inactive"),$(".accordion-content").toggleClass("accordion-closed"),$(".accordion-header").click(function(){$(this).is(".accordion-inactive")&&$(".accordion-active").toggleClass("accordion-active accordion-inactive").next().slideToggle().toggleClass("accordion-open"),$(this).toggleClass("accordion-active accordion-inactive"),$(this).next().slideToggle().toggleClass("accordion-open")})};!function(r,o,i){var a={active:null,event:"click",disabled:[],collapsible:"accordion",startCollapsed:!1,rotate:!1,setHash:!1,animation:"default",animationQueue:!1,duration:500,fluidHeight:!0,scrollToAccordion:!1,scrollToAccordionOnLoad:!0,scrollToAccordionOffset:0,accordionTabElement:"<div></div>",navigationContainer:"",click:function(){},activate:function(){},deactivate:function(){},load:function(){},activateState:function(){},classes:{stateDefault:"r-tabs-state-default",stateActive:"r-tabs-state-active",stateDisabled:"r-tabs-state-disabled",stateExcluded:"r-tabs-state-excluded",container:"r-tabs",ul:"r-tabs-nav",tab:"r-tabs-tab",anchor:"r-tabs-anchor",panel:"r-tabs-panel",accordionTitle:"r-tabs-accordion-title"}};function e(t,s){this.element=t,this.$element=r(t),this.tabs=[],this.state="",this.rotateInterval=0,this.$queue=r({}),this.options=r.extend({},a,s),this.init()}e.prototype.init=function(){var e=this;this.tabs=this._loadElements(),this._loadClasses(),this._loadEvents(),r(o).on("resize",function(t){e._setState(t),!0!==e.options.fluidHeight&&e._equaliseHeights()}),r(o).on("hashchange",function(t){var s=e._getTabRefBySelector(o.location.hash),a=e._getTab(s);0<=s&&!a._ignoreHashChange&&!a.disabled&&e._openTab(t,e._getTab(s),!0)}),!1!==this.options.rotate&&this.startRotation(),!0!==this.options.fluidHeight&&e._equaliseHeights(),this.$element.bind("tabs-click",function(t,s){e.options.click.call(this,t,s)}),this.$element.bind("tabs-activate",function(t,s){e.options.activate.call(this,t,s)}),this.$element.bind("tabs-deactivate",function(t,s){e.options.deactivate.call(this,t,s)}),this.$element.bind("tabs-activate-state",function(t,s){e.options.activateState.call(this,t,s)}),this.$element.bind("tabs-load",function(t){var s;e._setState(t),!0===e.options.startCollapsed||"accordion"===e.options.startCollapsed&&"accordion"===e.state||(s=e._getStartTab(),e._openTab(t,s),e.options.load.call(this,t,s))}),this.$element.trigger("tabs-load")},e.prototype._loadElements=function(){var i=this,t=(""===i.options.navigationContainer?this.$element:this.$element.find(i.options.navigationContainer)).children("ul:first"),n=[],l=0;return this.$element.addClass(i.options.classes.container),t.addClass(i.options.classes.ul),r("li",t).each(function(){var t,s,a,e,o=r(this);o.hasClass(i.options.classes.stateExcluded)||(t=(e=r("a",o)).attr("href"),s=r(t),a=r(i.options.accordionTabElement).insertBefore(s),e=r("<a></a>").attr("href",t).html(e.html()).appendTo(a),o={_ignoreHashChange:!1,id:l,disabled:-1!==r.inArray(l,i.options.disabled),tab:r(this),anchor:r("a",o),panel:s,selector:t,accordionTab:a,accordionAnchor:e,active:!1},l++,n.push(o))}),n},e.prototype._loadClasses=function(){for(var t=0;t<this.tabs.length;t++)this.tabs[t].tab.addClass(this.options.classes.stateDefault).addClass(this.options.classes.tab),this.tabs[t].anch
3or.addClass(this.options.classes.anchor),this.tabs[t].panel.addClass(this.options.classes.stateDefault).addClass(this.options.classes.panel),this.tabs[t].accordionTab.addClass(this.options.classes.accordionTitle),this.tabs[t].accordionAnchor.addClass(this.options.classes.anchor),this.tabs[t].disabled&&(this.tabs[t].tab.removeClass(this.options.classes.stateDefault).addClass(this.options.classes.stateDisabled),this.tabs[t].accordionTab.removeClass(this.options.classes.stateDefault).addClass(this.options.classes.stateDisabled))},e.prototype._loadEvents=function(){function t(t){var s=e._getCurrentTab(),a=t.data.tab;t.preventDefault(),a.tab.trigger("tabs-click",a),a.disabled||(e.options.setHash&&(history.pushState?(o.location.origin||(o.location.origin=o.location.protocol+"//"+o.location.hostname+(o.location.port?":"+o.location.port:"")),history.pushState(null,null,o.location.origin+o.location.pathname+o.location.search+a.selector)):o.location.hash=a.selector),t.data.tab._ignoreHashChange=!0,s===a&&!e._isCollapisble())||(e._closeTab(t,s),s===a&&e._isCollapisble())||e._openTab(t,a,!1,!0)}for(var e=this,s=0;s<this.tabs.length;s++)this.tabs[s].anchor.on(e.options.event,{tab:e.tabs[s]},t),this.tabs[s].accordionAnchor.on(e.options.event,{tab:e.tabs[s]},t)},e.prototype._getStartTab=function(){var t=this._getTabRefBySelector(o.location.hash),t=0<=t&&!this._getTab(t).disabled?this._getTab(t):0<this.options.active&&!this._getTab(this.options.active).disabled?this._getTab(this.options.active):this._getTab(0);return t},e.prototype._setState=function(t){var s=r("ul:first",this.$element),a=this.state,e="string"==typeof this.options.startCollapsed;s.is(":visible")?this.state="tabs":this.state="accordion",this.state!==a&&(this.$element.trigger("tabs-activate-state",{oldState:a,newState:this.state}),a)&&e&&this.options.startCollapsed!==this.state&&this._getCurrentTab()===i&&(s=this._getStartTab(t),this._openTab(t,s))},e.prototype._openTab=function(s,a,t,e){var o,i=this;t&&this._closeTab(s,this._getCurrentTab()),e&&0<this.rotateInterval&&this.stopRotation(),a.active=!0,a.tab.removeClass(i.options.classes.stateDefault).addClass(i.options.classes.stateActive),a.accordionTab.removeClass(i.options.classes.stateDefault).addClass(i.options.classes.stateActive),i._doTransition(a.panel,i.options.animation,"open",function(){var t="tabs-load"!==s.type||i.options.scrollToAccordionOnLoad;a.panel.removeClass(i.options.classes.stateDefault).addClass(i.options.classes.stateActive),"accordion"!==i.getState()||!i.options.scrollToAccordion||i._isInView(a.accordionTab)&&"default"===i.options.animation||!t||(o=a.accordionTab.offset().top-i.options.scrollToAccordionOffset,"default"!==i.options.animation&&0<i.options.duration?r("html, body").animate({scrollTop:o},i.options.duration):r("html, body").scrollTop(o))}),this.$element.trigger("tabs-activate",a)},e.prototype._closeTab=function(t,s){var a=this,e="string"==typeof a.options.animationQueue;s!==i&&(e=e&&a.getState()===a.options.animationQueue||!e&&a.options.animationQueue,s.active=!1,s.tab.removeClass(a.options.classes.stateActive).addClass(a.options.classes.stateDefault),a._doTransition(s.panel,a.options.animation,"close",function(){s.accordionTab.removeClass(a.options.classes.stateActive).addClass(a.options.classes.stateDefault),s.panel.removeClass(a.options.classes.stateActive).addClass(a.options.classes.stateDefault)},!e),this.$element.trigger("tabs-deactivate",s))},e.prototype._doTransition=function(s,a,e,o,t){var i,n=this;switch(a){case"slide":i="open"===e?"slideDown":"slideUp";break;case"fade":i="open"===e?"fadeIn":"fadeOut";break;default:i="open"===e?"show":"hide",n.options.duration=0}this.$queue.queue("responsive-tabs",function(t){s[i]({duration:n.options.duration,complete:function(){o.call(s,a,e),t()}})}),"open"!==e&&!t||this.$queue.dequeue("responsive-tabs")},e.prototype._isCollapisble=function(){return"boolean"==typeof this.options.collapsible&&this.options.collapsible||"string"==typeof this.options.collapsible&&this.options.collapsible===this.getState()},e.prototype._getTab=function(t){return this.tabs[t]},e.prototype._getTabRefBySelector=function(t){for(var s=0;s<this.tabs.length;s++)if(this.tabs[s].selector===t)return s;return-1},e.prototype._getCurrentTab=function(){return this._getTab(this._getCurrentTabRef())},e.prototype._getNextTabRef=function(t){t=t||this._getCurrentTabRef(),t=t===this.tabs.length-1?0:t+1;return this._getTab(t).disabled?this._getNextTabRef(t):t},e.prototype._getPreviousTabRef=function(){return 0===this._getCurrentTabRef()?this.tabs.length-1:this._getCurrentTabRef()-1},e.prototype._getCurrentTabRef=function(){for(var t=0;t<this.tabs.length;t++)if(this.tabs[t].active)return t;return-1},e.prototype._equaliseHeights=function(){var s=0;r.each(r.map(this.tabs,function(t){return s=Math.max(s,t.panel.css("minHeight","").height()),t.panel}),function(){this.css("minHeight",s)})},e.prototype._isInView=function(t){var s=r(o).scrollTop(),a=s+r(o).height(),e=t.offset().top;return e+t.height()<=a&&s<=e},e.prototype.activate=function(t,s){var a=jQuery.Event("tabs-activate"),t=this._getTab(t);t.disabled||this._openTab(a,t,!0,s||!0)},e.prototype.deactivate=function(t){var s=jQuery.Event("tabs-dectivate"),t=this._getTab(t);t.disabled||this._closeTab(s,t)},e.prototype.enable=function(t){t=this._getTab(t);t&&(t.disabled=!1,t.tab.addClass(this.options.classes.stateDefault).removeClass(this.options.classes.stateDisabled),t.accordionTab.addClass(this.options.classes.stateDefault).removeClass(this.options.classes.stateDisabled))},e.prototype.disable=function(t){t=this._getTab(t);t&&(t.disabled=!0,t.tab.removeClass(this.options.classes.stateDefault).addClass(this.options.classes.stateDisabled),t.accordionTab.removeClass(this.options.classes.stateDefault).addClass(this.options.classes.stateDisabled))},e.prototype.getState=function(){return this.state},e.prototype.startRotation=function(t){var s=this;if(!(this.tabs.length>this.options.disabled.length))throw new Error("Rotation is not possible if all tabs are disabled");this.rotateInterval=setInterval(function(){var t=jQuery.Event("rotate");s._openTab(t,s._getTab(s._getNextTabRef()),!0)},t||(r.isNumeric(s.options.rotate)?s.options.rotate:4e3))},e.prototype.stopRotation=function(){o.clearInterval(this.rotateInterval),this.rotateInterval=0},e.prototype.option=function(t,s){return s&&(this.options[t]=s),this.options[t]},r.fn.responsiveTabs=function(t){var s,a=arguments;return t===i||"object"==typeof t?this.each(function(){r.data(this,"responsivetabs")||r.data(this,"responsivetabs",new e(this,t))}):"string"==typeof t&&"_"!==t[0]&&"init"!==t?(s=r.data(this[0],"responsivetabs"),"destroy"===t&&r.data(this,"responsivetabs",null),s instanceof e&&"function"==typeof s[t]?s[t].apply(s,Array.prototype.slice.call(a,1)):this):void 0}}(jQuery,window);;!function(o){"use strict";o.fn.fitVids=function(t){var e,i,d={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(e=document.head||document.getElementsByTagName("head")[0],(i=document.createElement("div")).innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',e.appendChild(i.childNodes[1])),t&&o.extend(d,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','
3iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"],r=(d.customSelector&&t.push(d.customSelector),".fitvidsignore"),t=(d.ignore&&(r=r+", "+d.ignore),o(this).find(t.join(",")));(t=(t=t.not("object object")).not(r)).each(function(){var t,e,i=o(this);0<i.parents(r).length||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length||(i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16)),t=("object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height())/(isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10)),i.attr("name")||(e="fitvid"+o.fn.fitVids._count,i.attr("name",e),o.fn.fitVids._count++),i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*t+"%"),i.removeAttr("height").removeAttr("width"))})})},o.fn.fitVids._count=0}(window.jQuery||window.Zepto);;!function(){var M=window.jQuery,S=M(window);M.fn.stick_in_parent=function(t){var _,i,o,e,s,x,P=(t=null==t?{}:t).sticky_class,V=t.inner_scrolling,F=t.recalc_every,C=t.parent,z=t.offset_top,I=t.spacer,A=t.bottoming;for(null==z&&(z=0),null==C&&(C=void 0),null==V&&(V=!0),null==P&&(P="is_stuck"),_=M(document),null==A&&(A=!0),x=function(t){var i,o;return window.getComputedStyle?(t[0],i=window.getComputedStyle(t[0]),o=parseFloat(i.getPropertyValue("width"))+parseFloat(i.getPropertyValue("margin-left"))+parseFloat(i.getPropertyValue("margin-right")),"border-box"!==i.getPropertyValue("box-sizing")&&(o+=parseFloat(i.getPropertyValue("border-left-width"))+parseFloat(i.getPropertyValue("border-right-width"))+parseFloat(i.getPropertyValue("padding-left"))+parseFloat(i.getPropertyValue("padding-right"))),o):t.outerWidth(!0)},o=function(r,n,l,a,c,p,d,u){var f,t,g,h,k,y,m,v,i,b,w,e;if(!r.data("sticky_kit")){if(r.data("sticky_kit",!0),k=_.height(),m=r.parent(),!(m=null!=C?m.closest(C):m).length)throw"failed to find stick parent";if(f=g=!1,(w=null!=I?I&&r.closest(I):M("<div />"))&&w.css("position",r.css("position")),(v=function(){var t,i,o;if(!u)return k=_.height(),t=parseInt(m.css("border-top-width"),10),i=parseInt(m.css("padding-top"),10),n=parseInt(m.css("padding-bottom"),10),l=m.offset().top+t+i,a=m.height(),g&&(f=g=!1,null==I&&(r.insertAfter(w),w.detach()),r.css({position:"",top:"",width:"",bottom:""}).removeClass(P),o=!0),c=r.offset().top-(parseInt(r.css("margin-top"),10)||0)-z,p=r.outerHeight(!0),d=r.css("float"),w&&w.css({width:x(r),height:p,display:r.css("display"),"vertical-align":r.css("vertical-align"),float:d}),o?e():void 0})(),p!==a)return h=void 0,y=z,b=F,e=function(){var t,i,o,e,s;if(!u)return o=!1,null!=b&&--b<=0&&(b=F,v(),o=!0),o||_.height()===k||(v(),o=!0),o=S.scrollTop(),null!=h&&(i=o-h),h=o,g?(A&&(e=a+l<o+p+y,f)&&!e&&(f=!1,r.css({position:"fixed",bottom:"",top:y}).trigger("sticky_kit:unbottom")),o<c&&(g=!1,y=z,null==I&&("left"!==d&&"right"!==d||r.insertAfter(w),w.detach()),r.css(t={position:"",width:"",top:""}).removeClass(P).trigger("sticky_kit:unstick")),V&&(s=S.height())<p+z&&(f||(y-=i,y=Math.max(s-p,y),y=Math.min(z,y),g&&r.css({top:y+"px"})))):c<o&&(g=!0,(t={position:"fixed",top:y}).width="border-box"===r.css("box-sizing")?r.outerWidth()+"px":r.width()+"px",r.css(t).addClass(P),null==I&&(r.after(w),"left"!==d&&"right"!==d||w.append(r)),r.trigger("sticky_kit:stick")),g&&A&&(null==e&&(e=a+l<o+p+y),!f)&&e?(f=!0,"static"===m.css("position")&&m.css({position:"relative"}),r.css({position:"absolute",bottom:n,top:"auto"}).trigger("sticky_kit:bottom")):void 0},i=function(){return v(),e()},t=function(){if(u=!0,S.off("touchmove",e),S.off("scroll",e),S.off("resize",i),M(document.body).off("sticky_kit:recalc",i),r.off("sticky_kit:detach",t),r.removeData("sticky_kit"),r.css({position:"",bottom:"",top:"",width:""}),m.position("position",""),g)return null==I&&("left"!==d&&"right"!==d||r.insertAfter(w),w.remove()),r.removeClass(P)},S.on("touchmove",e),S.on("scroll",e),S.on("resize",i),M(document.body).on("sticky_kit:recalc",i),r.on("sticky_kit:detach",t),setTimeout(e,0)}},e=0,s=this.length;e<s;e++)i=this[e],o(M(i));return this}}.call(this);;!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(r){function s(t){return parseFloat(t)||0}function l(t){var t=r(t),n=null,a=[];return t.each(function(){var t=r(this),e=t.offset().top-s(t.css("margin-top")),o=0<a.length?a[a.length-1]:null;null!==o&&Math.floor(Math.abs(n-e))<=1?a[a.length-1]=o.add(t):a.push(t),n=e}),a}function c(t){var e={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?r.extend(e,t):("boolean"==typeof t?e.byRow=t:"remove"===t&&(e.remove=!0),e)}function n(t){h._beforeUpdate&&h._beforeUpdate(t,h._groups),r.each(h._groups,function(){h._apply(this.elements,this.options)}),h._afterUpdate&&h._afterUpdate(t,h._groups)}var a=-1,i=-1,h=r.fn.matchHeight=function(t){var o,t=c(t);return t.remove?((o=this).css(t.property,""),r.each(h._groups,function(t,e){e.elements=e.elements.not(o)}
3)):this.length<=1&&!t.target||(h._groups.push({elements:this,options:t}),h._apply(this,t)),this},t=(h.version="0.7.2",h._groups=[],h._throttle=80,h._maintainScroll=!1,h._beforeUpdate=null,h._afterUpdate=null,h._rows=l,h._parse=s,h._parseOptions=c,h._apply=function(t,e){var a=c(e),e=r(t),t=[e],o=r(window).scrollTop(),n=r("html").outerHeight(!0),i=e.parents().filter(":hidden");return i.each(function(){var t=r(this);t.data("style-cache",t.attr("style"))}),i.css("display","block"),a.byRow&&!a.target&&(e.each(function(){var t=r(this),e=t.css("display");"inline-block"!==e&&"flex"!==e&&"inline-flex"!==e&&(e="block"),t.data("style-cache",t.attr("style")),t.css({display:e,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),t=l(e),e.each(function(){var t=r(this);t.attr("style",t.data("style-cache")||"")})),r.each(t,function(t,e){var e=r(e),n=0;if(a.target)n=a.target.outerHeight(!1);else{if(a.byRow&&e.length<=1)return void e.css(a.property,"");e.each(function(){var t=r(this),e=t.attr("style"),o=t.css("display"),o={display:o="inline-block"!==o&&"flex"!==o&&"inline-flex"!==o?"block":o};o[a.property]="",t.css(o),t.outerHeight(!1)>n&&(n=t.outerHeight(!1)),e?t.attr("style",e):t.css("display","")})}e.each(function(){var t=r(this),e=0;a.target&&t.is(a.target)||("border-box"!==t.css("box-sizing")&&(e=(e+=s(t.css("border-top-width"))+s(t.css("border-bottom-width")))+(s(t.css("padding-top"))+s(t.css("padding-bottom")))),t.css(a.property,n-e+"px"))})}),i.each(function(){var t=r(this);t.attr("style",t.data("style-cache")||null)}),h._maintainScroll&&r(window).scrollTop(o/n*r("html").outerHeight(!0)),this},h._applyDataApi=function(){var o={};r("[data-match-height], [data-mh]").each(function(){var t=r(this),e=t.attr("data-mh")||t.attr("data-match-height");e in o?o[e]=o[e].add(t):o[e]=t}),r.each(o,function(){this.matchHeight(!0)})},h._update=function(t,e){if(e&&"resize"===e.type){var o=r(window).width();if(o===a)return;a=o}t?-1===i&&(i=setTimeout(function(){n(e),i=-1},h._throttle)):n(e)},r(h._applyDataApi),r.fn.on?"on":"bind");r(window)[t]("load",function(t){h._update(!1,t)}),r(window)[t]("resize orientationchange",function(t){h._update(!0,t)})});;!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.L={})}(this,function(t){"use strict";var R=Object.freeze;function h(t){for(var e,i,n=1,o=arguments.length;n<o;n++)for(e in i=arguments[n])t[e]=i[e];return t}Object.freeze=function(t){return t};var N=Object.create||function(t){return D.prototype=t,new D};function D(){}function _(t,e){var i,n=Array.prototype.slice;return t.bind?t.bind.apply(t,n.call(arguments,1)):(i=n.call(arguments,2),function(){return t.apply(e,i.length?i.concat(n.call(arguments)):arguments)})}var j=0;function p(t){return t._leaflet_id=t._leaflet_id||++j,t._leaflet_id}function W(t,e,i){var n,o,s,a=function(){n=!1,o&&(s.apply(i,o),o=!1)};return s=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(a,e),n=!0)}}function H(t,e,i){var n=e[1],e=e[0],o=n-e;return t===n&&i?t:((t-e)%o+o)%o+e}function r(){return!1}function i(t,e){return e=void 0===e?6:e,+(Math.round(t+"e+"+e)+"e-"+e)}function F(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function U(t){return F(t).split(/\s+/)}function s(t,e){for(var i in t.hasOwnProperty("options")||(t.options=t.options?N(t.options):{}),e)t.options[i]=e[i];return t.options}function V(t,e,i){var n,o=[];for(n in t)o.push(encodeURIComponent(i?n.toUpperCase():n)+"="+encodeURIComponent(t[n]));return(e&&-1!==e.indexOf("?")?"&":"?")+o.join("&")}var q=/\{ *([\w_-]+) *\}/g;function G(t,i){return t.replace(q,function(t,e){e=i[e];if(void 0===e)throw new Error("No value provided for variable "+t);return e="function"==typeof e?e(i):e})}var u=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function K(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var Y="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function X(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var J=0;function $(t){var e=+new Date,i=Math.max(0,16-(e-J));return J=e+i,window.setTimeout(t,i)}var Q=window.requestAnimationFrame||X("RequestAnimationFrame")||$,tt=window.cancelAnimationFrame||X("CancelAnimationFrame")||X("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function y(t,e,i){if(!i||Q!==$)return Q.call(window,_(t,e));t.call(e)}function a(t){t&&tt.call(window,t)}var et=(Object.freeze||Object)({freeze:R,extend:h,create:N,bind:_,lastId:j,stamp:p,throttle:W,wrapNum:H,falseFn:r,formatNum:i,trim:F,splitWords:U,setOptions:s,getParamString:V,template:G,isArray:u,indexOf:K,emptyImageUrl:Y,requestFn:Q,cancelFn:tt,requestAnimFrame:y,cancelAnimFrame:a});function it(){}it.extend=function(t){function e(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var i,n=e.__super__=this.prototype,o=N(n);for(i in(o.constructor=e).prototype=o,this)this.hasOwnProperty(i)&&"prototype"!==i&&"__super__"!==i&&(e[i]=this[i]);if(t.statics&&(h(e,t.statics),delete t.statics),t.includes){var s=t.includes;if("undefined"!=typeof L&&L&&L.Mixin){s=u(s)?s:[s];for(var a=0;a<s.length;
vendor: 7,469 bytes, line 3
3a++)s[a]===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)}h.apply(null,[o].concat(t.includes)),delete t.includes}return o.options&&(t.options=h(N(o.options),t.options)),h(o,t),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=o._initHooks.length;t<e;t++)o._initHooks[t].call(this)}},e},it.include=function(t){return h(this.prototype,t),this},it.mergeOptions=function(t){return h(this.prototype.options,t),this},it.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var e={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else for(var o=0,s=(t=U(t)).length;o<s;o++)this._on(t[o],e,i);return this},off:function(t,e,i){if(t)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else for(var o=0,s=(t=U(t)).length;o<s;o++)this._off(t[o],e,i);else delete this._events;return this},_on:function(t,e,i){this._events=this._events||{};var n=this._events[t];n||(this._events[t]=n=[]);for(var t={fn:e,ctx:i=i===this?void 0:i},o=n,s=0,a=o.length;s<a;s++)if(o[s].fn===e&&o[s].ctx===i)return;o.push(t)},_off:function(t,e,i){var n,o,s;if(this._events&&(n=this._events[t]))if(e){if(i===this&&(i=void 0),n)for(o=0,s=n.length;o<s;o++){var a=n[o];if(a.ctx===i&&a.fn===e)return a.fn=r,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,s=n.length;o<s;o++)n[o].fn=r;delete this._events[t]}},fire:function(t,e,i){if(this.listens(t,i)){var n=h({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var o=this._events[t];if(o){this._firingCount=this._firingCount+1||1;for(var s=0,a=o.length;s<a;s++){var r=o[s];r.fn.call(r.ctx||this,n)}this._firingCount--}}i&&this._propagateEvent(n)}return this},listens:function(t,e){var i=this._events&&this._events[t];if(i&&i.length)return!0;if(e)for(var n in this._eventParents)if(this._eventParents[n].listens(t,e))return!0;return!1},once:function(t,e,i){if("object"==typeof t){for(var n in t)this.once(n,t[n],e);return this}var o=_(function(){this.off(t,e,i).off(t,o,i)},this);return this.on(t,e,i).on(t,o,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[p(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[p(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,h({layer:t.target,propagatedFrom:t.target},t),!0)}},nt=(e.addEventListener=e.on,e.removeEventListener=e.clearAllEventListeners=e.off,e.addOneTimeEventListener=e.once,e.fireEvent=e.fire,e.hasEventListeners=e.listens,it.extend(e));function m(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var ot=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};function l(t,e,i){return t instanceof m?t:u(t)?new m(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new m(t.x,t.y):new m(t,e,i)}function f(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function c(t,e){return!t||t instanceof f?t:new f(t,e)}function d(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function g(t,e){return t instanceof d?t:new d(t,e)}function v(t,e,i){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function x(t,e,i){return t instanceof v?t:u(t)&&"object"!=typeof t[0]?3===t.length?new v(t[0],t[1],t[2]):2===t.length?new v(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new v(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new v(t,e,i)}m.prototype={clone:function(){return new m(this.x,this.y)},add:function(t){return this.clone()._add(l(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(l(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new m(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new m(this.x/t.x,this.y/t.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=ot(this.x),this.y=ot(this.y),this},distanceTo:function(t){var e=(t=l(t)).x-this.x,t=t.y-this.y;return Math.sqrt(e*e+t*t)},equals:function(t){return(t=l(t)).x===this.x&&t.y===this.y},contains:function(t){return t=l(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+i(this.x)+", "+i(this.y)+")"}},f.prototype={extend:function(t){return t=l(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new m((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new m(this.min.x,this.max.y)},getTopRight:function(){return new m(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(t){var e,i;return(t=("number"==typeof t[0]||t instanceof m?l:c)(t))instanceof f?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=c(t);var e=this.min,i=this.max,n=t.min,t=t.max,o=t.x>=e.x&&n.x<=i.x,t=t.y>=e.y&&n.y<=i.y;return o&&t},overlaps:function(t){t=c(t);var e=this.min,i=this.max,n=t.min,t=t.max,o=t.x>e.x&&n.x<i.x,t=t.y>e.y&&n.y<i.y;return o&&t},isValid:function(){return!(!this.min||!this.max)}},d.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof v)i=e=t;else{if(!(t instanceof d))return t?this.extend(x(t)||g(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||o?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new v(e.lat,e.lng),this._northEast=new v(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,t=Math.abs(e.lng-i.lng)*t;return new d(new v(e.lat-n,e.lng-t),new v(i.lat+n,i.lng+t))},getCenter:function(){return new v((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 v(this.getNorth(),this.getWest())},getSouthEast:function(){return new v(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
vendor: 2,396 bytes, line 3
3,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=("number"==typeof t[0]||t instanceof v||"lat"in t?x:g)(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof d?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=g(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),t=t.getNorthEast(),o=t.lat>=e.lat&&n.lat<=i.lat,t=t.lng>=e.lng&&n.lng<=i.lng;return o&&t},overlaps:function(t){t=g(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),t=t.getNorthEast(),o=t.lat>e.lat&&n.lat<i.lat,t=t.lng>e.lng&&n.lng<i.lng;return o&&t},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=g(t),this._southWest.equals(t.getSouthWest(),e))&&this._northEast.equals(t.getNorthEast(),e)},isValid:function(){return!(!this._southWest||!this._northEast)}};var st={latLngToPoint:function(t,e){t=this.projection.project(t),e=this.scale(e);return this.transformation._transform(t,e)},pointToLatLng:function(t,e){e=this.scale(e),t=this.transformation.untransform(t,e);return this.projection.unproject(t)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){var e;return this.infinite?null:(e=this.projection.bounds,t=this.scale(t),new f(this.transformation.transform(e.min,t),this.transformation.transform(e.max,t)))},infinite:!(v.prototype={equals:function(t,e){return!!t&&(t=x(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+i(this.lat,t)+", "+i(this.lng,t)+")"},distanceTo:function(t){return at.distance(this,x(t))},wrap:function(){return at.wrapLatLng(this)},toBounds:function(t){var t=180*t/40075017,e=t/Math.cos(Math.PI/180*this.lat);return g([this.lat-t,this.lng-e],[this.lat+t,this.lng+e])},clone:function(){return new v(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var e=this.wrapLng?H(t.lng,this.wrapLng,!0):t.lng;return new v(this.wrapLat?H(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,e=e.lng-i.lng;
3return 0==n&&0==e?t:(i=t.getSouthWest(),t=t.getNorthEast(),new d(new v(i.lat-n,i.lng-e),new v(t.lat-n,t.lng-e)))}},at=h({},st,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,s=Math.sin((e.lat-t.lat)*i/2),e=Math.sin((e.lng-t.lng)*i/2),t=s*s+Math.cos(n)*Math.cos(o)*e*e,i=2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t));return this.R*i}}),rt=6378137,rt={R:rt,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,i=Math.max(Math.min(i,t.lat),-i),i=Math.sin(i*e);return new m(this.R*t.lng*e,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(t){var e=180/Math.PI;return new v((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:new f([-(rt=rt*Math.PI),-rt],[rt,rt])};function ht(t,e,i,n){u(t)?(this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3]):(this._a=t,this._b=e,this._c=i,this._d=n)}function ut(t,e,i,n){return new ht(t,e,i,n)}ht.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return t.x=(e=e||1)*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return new m((t.x/(e=e||1)-this._b)/this._a,(t.y/e-this._d)/this._c)}};var lt=h({},at,{code:"EPSG:3857",projection:rt,transformation:ut(lt=.5/(Math.PI*rt.R),.5,-lt,.5)}),ct=h({},lt,{code:"EPSG:900913"});function _t(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function dt(t,e){for(var i,n,o,s,a="",r=0,h=t.length;r<h;r++){for(i=0,n=(o=t[r]).length;i<n;i++)a+=(i?"L":"M")+(s=o[i]).x+" "+s.y;a+=e?Nt?"z":"x":""}return a||"M0 0"}var pt=document.documentElement.style,mt="ActiveXObject"in window,ft=mt&&!document.addEventListener,gt="msLaunchUri"in navigator&&!("documentMode"in document),vt=jt("webkit"),yt=jt("android"),xt=jt("android 2")||jt("android 3"),wt=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Pt=yt&&jt("Google")&&wt<537&&!("AudioNode"in window),wt=!!window.opera,Lt=jt("chrome"),bt=jt("gecko")&&!vt&&!wt&&!mt,Tt=!Lt&&jt("safari"),n=jt("phantom"),zt="OTransition"in pt,Mt=0===navigator.platform.indexOf("Win"),Ct=mt&&"transition"in pt,St="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!xt,pt="MozPerspective"in pt,w=!window.L_DISABLE_3D&&(Ct||St||pt)&&!zt&&!n,Zt="undefined"!=typeof orientation||jt("mobile"),Et=Zt&&vt,kt=Zt&&St,o=!window.PointerEvent&&window.MSPointerEvent,P=!(!window.PointerEvent&&!o),Bt=!window.L_NO_TOUCH&&(P||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),At=Zt&&wt,It=Zt&&bt,Ot=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Rt=!!document.createElement("canvas").getContext,Nt=!(!document.createElementNS||!_t("svg").createSVGRect),Dt=!Nt&&function(){try{var t=document.createElement("div"),e=(t.innerHTML='<v:shape adj="1"/>',t.firstChild);return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function jt(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}var mt=(Object.freeze||Object)({ie:mt,ielt9:ft,edge:gt,webkit:vt,android:yt,android23:xt,androidStock:Pt,opera:wt,chrome:Lt,gecko:bt,safari:Tt,phantom:n,opera12:zt,win:Mt,ie3d:Ct,webkit3d:St,gecko3d:pt,any3d:w,mobile:Zt,mobileWebkit:Et,mobileWebkit3d:kt,msPointer:o,pointer:P,touch:Bt,mobileOpera:At,mobileGecko:It,retina:Ot,canvas:Rt,svg:Nt,vml:Dt}),Wt=o?"MSPointerDown":"pointerdown",Ht=o?"MSPointerMove":"pointermove",Ft=o?"MSPointerUp":"pointerup",Ut=o?"MSPointerCancel":"pointercancel",Vt=["INPUT","SELECT","OPTION"],qt={},Gt=!1,Kt=0;function Yt(t,e,i,n){function o(t){Qt(t,s)}var s,a,r,h,u,l;function c(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&Qt(t,a)}"touchstart"===e?(r=t,h=i,u=n,l=_(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(Vt.indexOf(t.target.tagName)<0))return;B(t)}Qt(t,h)}),r["_leaflet_touchstart"+u]=l,r.addEventListener(Wt,l,!1),Gt||(document.documentElement.addEventListener(Wt,Xt,!0),document.documentElement.addEventListener(Ht,Jt,!0),document.documentElement.addEventListener(Ft,$t,!0),document.documentElement.addEventListener(Ut,$t,!0),Gt=!0)):"touchmove"===e?(a=i,(u=t)["_leaflet_touchmove"+n]=c,u.addEventListener(Ht,c,!1)):"touchend"===e&&(s=i,(r=t)["_leaflet_touchend"+n]=o,r.addEventListener(Ft,o,!1),r.addEventListener(Ut,o,!1))}function Xt(t){qt[t.pointerId]=t,Kt++}function Jt(t){qt[t.pointerId]&&(qt[t.pointerId]=t)}function $t(t){delete qt[t.pointerId],Kt--}function Qt(t,e){for(var i in t.touches=[],qt)t.touches.push(qt[i]);t.changedTouches=[t],e(t)}var te=o?"MSPointerDown":P?"pointerdown":"touchstart",ee=o?"MSPointerUp":P?"pointerup":"touchend",ie="_leaflet_";var ne,oe,se,ae,re,he,ue=xe(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),le=
3xe(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ce="webkitTransition"===le||"OTransition"===le?le+"End":"transitionend";function _e(t){return"string"==typeof t?document.getElementById(t):t}function de(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];return"auto"===(i=i&&"auto"!==i||!document.defaultView?i:(t=document.defaultView.getComputedStyle(t,null))?t[e]:null)?null:i}function b(t,e,i){t=document.createElement(t);return t.className=e||"",i&&i.appendChild(t),t}function T(t){var e=t.parentNode;e&&e.removeChild(t)}function pe(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function me(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function fe(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ge(t,e){return void 0!==t.classList?t.classList.contains(e):0<(t=ye(t)).length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t)}function z(t,e){var i;if(void 0!==t.classList)for(var n=U(e),o=0,s=n.length;o<s;o++)t.classList.add(n[o]);else ge(t,e)||ve(t,((i=ye(t))?i+" ":"")+e)}function M(t,e){void 0!==t.classList?t.classList.remove(e):ve(t,F((" "+ye(t)+" ").replace(" "+e+" "," ")))}function ve(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function ye(t){return void 0===(t=t.correspondingElement?t.correspondingElement:t).className.baseVal?t.className:t.className.baseVal}function C(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var i=t,t=e,e=!1,n="DXImageTransform.Microsoft.Alpha";try{e=i.filters.item(n)}catch(i){if(1===t)return}t=Math.round(100*t),e?(e.Enabled=100!==t,e.Opacity=t):i.style.filter+=" progid:"+n+"(opacity="+t+")"}}function xe(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function we(t,e,i){e=e||new m(0,0);t.style[ue]=(Ct?"translate("+e.x+"px,"+e.y+"px)":"translate3d("+e.x+"px,"+e.y+"px,0)")+(i?" scale("+i+")":"")}function S(t,e){t._leaflet_pos=e,w?we(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function Pe(t){return t._leaflet_pos||new m(0,0)}function Le(){Z(window,"dragstart",B)}function be(){k(window,"dragstart",B)}function Te(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(ze(),se=(oe=t).style.outline,t.style.outline="none",Z(window,"keydown",ze))}function ze(){oe&&(oe.style.outline=se,se=oe=void 0,k(window,"keydown",ze))}function Me(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function Ce(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}he="onselectstart"in document?(re=function(){Z(window,"selectstart",B)},function(){k(window,"selectstart",B)}):(ae=xe(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),re=function(){var t;ae&&(t=document.documentElement.style,ne=t[ae],t[ae]="none")},function(){ae&&(document.documentElement.style[ae]=ne,ne=void 0)});vt=(Object.freeze||Object)({TRANSFORM:ue,TRANSITION:le,TRANSITION_END:ce,get:_e,getStyle:de,create:b,remove:T,empty:pe,toFront:me,toBack:fe,hasClass:ge,addClass:z,removeClass:M,setClass:ve,getClass:ye,setOpacity:C,testProp:xe,setTransform:we,setPosition:S,getPosition:Pe,disableTextSelection:re,enableTextSelection:he,disableImageDrag:Le,enableImageDrag:be,preventOutline:Te,restoreOutline:ze,getSizedParentNode:Me,getScale:Ce});function Z(t,e,i,n){if("object"==typeof e)for(var o in e)Se(t,o,e[o],i);else for(var s=0,a=(e=U(e)).length;s<a;s++)Se(t,e[s],i,n);return this}var E="_leaflet_events";function k(t,e,i,n){if("object"==typeof e)for(var o in e)Ze(t,o,e[o],i);else if(e)for(var s=0,a=(e=U(e)).length;s<a;s++)Ze(t,e[s],i,n);else{for(var r in t[E])Ze(t,r,t[E][r]);delete t[E]}return this}function Se(e,t,i,n){var o,s,a,r,h,u,l,c=t+p(i)+(n?"_"+p(n):"");function _(t){var e,i;if(P){if(!gt||"mouse"===t.pointerType)return;e=Kt}else e=t.touches.length;1<e||(i=(e=Date.now())-(h||e),u=t.touches?t.touches[0]:t,l=0<i&&i<=250,h=e)}function d(t){if(l&&!u.cancelBubble){if(P){if(!gt||"mouse"===t.pointerType)return;var e,i,n={};for(i in u)e=u[i],n[i]=e&&e.bind?e.bind(u):e;u=n}u.type="dblclick",u.button=0,a(u),h=null}}e[E]&&e[E][c]||(s=o=function(t){return i.call(n||e,t||window.event)},P&&0===t.indexOf("touch")?Yt(e,t,o,c):!Bt||"dblclick"!==t||P&&Lt?"addEventListener"in e?"mousewheel"===t?e.addEventListener("onw
3heel"in e?"wheel":"mousewheel",o,!1):"mouseenter"===t||"mouseleave"===t?e.addEventListener("mouseenter"===t?"mouseover":"mouseout",o=function(t){t=t||window.event,He(e,t)&&s(t)},!1):e.addEventListener(t,o="click"===t&&yt?function(t){var e,i,n;e=s,i=(t=t).timeStamp||t.originalEvent&&t.originalEvent.timeStamp,((n=Ne&&i-Ne)&&100<n&&n<500||t.target._simulatedClick&&!t._simulated?Ae:(Ne=i,e))(t)}:o,!1):"attachEvent"in e&&e.attachEvent("on"+t,o):(a=o,l=!1,(t=e)[ie+te+(r=c)]=_,t[ie+ee+r]=d,t[ie+"dblclick"+r]=a,t.addEventListener(te,_,!1),t.addEventListener(ee,d,!1),t.addEventListener("dblclick",a,!1)),e[E]=e[E]||{},e[E][c]=o)}function Ze(t,e,i,n){var o,s,a,i=e+p(i)+(n?"_"+p(n):""),n=t[E]&&t[E][i];n&&(P&&0===e.indexOf("touch")?(a=(o=t)["_leaflet_"+(s=e)+i],"touchstart"===s?o.removeEventListener(Wt,a,!1):"touchmove"===s?o.removeEventListener(Ht,a,!1):"touchend"===s&&(o.removeEventListener(Ft,a,!1),o.removeEventListener(Ut,a,!1))):!Bt||"dblclick"!==e||P&&Lt?"removeEventListener"in t?"mousewheel"===e?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",n,!1):t.removeEventListener("mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,n,!1):"detachEvent"in t&&t.detachEvent("on"+e,n):(a=(s=t)[ie+te+(o=i)],e=s[ie+ee+i],o=s[ie+"dblclick"+i],s.removeEventListener(te,a,!1),s.removeEventListener(ee,e,!1),gt||s.removeEventListener("dblclick",o,!1)),t[E][i]=null)}function Ee(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,We(t),this}function ke(t){return Se(t,"mousewheel",Ee),this}function Be(t){return Z(t,"mousedown touchstart dblclick",Ee),Se(t,"click",je),this}function B(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ae(t){return B(t),Ee(t),this}function Ie(t,e){var i,n;return e?(n=(i=Ce(e)).boundingClientRect,new m((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)):new m(t.clientX,t.clientY)}var Oe=Mt&&Lt?2*window.devicePixelRatio:bt?window.devicePixelRatio:1;function Re(t){return gt?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Oe:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var Ne,De={};function je(t){De[t.type]=!0}function We(t){var e=De[t.type];return De[t.type]=!1,e}function He(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var wt=(Object.freeze||Object)({on:Z,off:k,stopPropagation:Ee,disableScrollPropagation:ke,disableClickPropagation:Be,preventDefault:B,stop:Ae,getMousePosition:Ie,getWheelDelta:Re,fakeStop:je,skipped:We,isExternalTarget:He,addListener:Z,removeListener:k}),Fe=nt.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Pe(t),this._offset=e.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=y(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){t=this._startPos.add(this._offset.multiplyBy(t));e&&t._round(),S(this._el,t),this.fire("step")},_complete:function(){a(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),A=nt.extend({options:{crs:lt,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(t,e){e=s(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=_(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(x(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=le&&w&&!At&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Z(this._proxy,ce,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 1,284 bytes, line 3
3,setView:function(t,e,i){return(e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(x(t),e,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=h({animate:i.animate},i.zoom),i.pan=h({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,i.zoom):this._tryAnimatedPan(t,i.pan)))?clearTimeout(this._sizeTimer):this._resetView(t,e),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(w?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(w?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),t=(t instanceof m?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),n=this.containerPointToLatLng(o.add(t));return this.setView(n,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():g(t);var i=l(e.paddingTopLeft||e.padding||[0,0]),n=l(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));return(o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0?{center:t.getCenter(),zoom:o}
3:(e=n.subtract(i).divideBy(2),n=this.project(t.getSouthWest(),o),i=this.project(t.getNorthEast(),o),{center:this.unproject(n.add(i).divideBy(2).add(e),o),zoom:o})},fitBounds:function(t,e){if((t=g(t)).isValid())return t=this._getBoundsCenterZoom(t,e),this.setView(t.center,t.zoom,e);throw new Error("Bounds are not valid.")},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){var i;return e=e||{},(t=l(t).round()).x||t.y?(!0===e.animate||this.getSize().contains(t)?(this._panAnim||(this._panAnim=new Fe,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate?(z(this._mapPane,"leaflet-pan-anim"),i=this._getMapPanePos().subtract(t).round(),this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)):(this._rawPanBy(t),this.fire("move").fire("moveend"))):this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this):this.fire("moveend")},flyTo:function(n,o,t){if(!1===(t=t||{}).animate||!w)return this.setView(n,o,t);this._stop();var s=this.project(this.getCenter()),a=this.project(n),e=this.getSize(),r=this._zoom,h=(n=x(n),o=void 0===o?r:o,Math.max(e.x,e.y)),i=h*this.getZoomScale(r,o),u=a.distanceTo(s)||1,l=1.42,c=l*l;function _(t){t=(i*i-h*h+(t?-1:1)*c*c*u*u)/(2*(t?i:h)*c*u),t=Math.sqrt(t*t+1)-t;return t<1e-9?-18:Math.log(t)}function d(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}var m=_(0);var f=Date.now(),g=(_(1)-m)/l,v=t.duration?1e3*t.duration:1e3*g*.8;return this._moveStart(!0,t.noMoveStart),function t(){var e=(Date.now()-f)/v,i=(1-Math.pow(1-e,1.5))*g;e<=1?(this._flyToFrame=y(t,this),this._move(this.unproject(s.add(a.subtract(s).multiplyBy((e=i,h*(p(m)*(d(e=m+l*e)/p(e))-d(m))/c/u))),r),this.getScaleZoom(h/(e=i,h*(p(m)/p(m+l*e))),r),{flyTo:!0})):this._move(n,o)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){t=this._getBoundsCenterZoom(t,e);return this.flyTo(t.center,t.zoom,e)},setMaxBounds:function(t){return(t=g(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),t=this._limitCenter(i,this._zoom,g(t));return i.equals(t)||this.panTo(t,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i,n,o=l((e=e||{}).paddingTopLeft||e.padding||[0,0]),s=l(e.paddingBottomRight||e.padding||[0,0]),a=this.getCenter(),a=this.project(a),t=this.project(t),r=this.getPixelBounds(),h=r.getSize().divideBy(2),r=c([r.min.add(o),r.max.subtract(s)]);return r.contains(t)||(this._enforcingBounds=!0,i=a.subtract(t),n=l(t.x+i.x,t.y+i.y),(t.x<r.min.x||t.x>r.max.x)&&(n.x=a.x-i.x,0<i.x?n.x+=h.x-o.x:n.x-=h.x-s.x),(t.y<r.min.y||t.y>r.max.y)&&(n.y=a.y-i.y,0<i.y?n.y+=h.y-o.y:n.y-=h.y-s.y),this.panTo(this.unproject(n),e),this._enforcingBounds=!1),this},invalidateSize:function(t){if(!this._loaded)return this;t=h({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize(),i=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),n=e.divideBy(2).round(),o=i.divideBy(2).round(),n=n.subtract(o);return n.x||n.y?(t.animate&&t.pan?this.panBy(n):(t.pan&&this._rawPanBy(n),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(_(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){var e,i;return(t=this._locateOptions=h({timeout:1e4,watch:!1},t),"geolocation"in navigator)?(e=_(this._handleGeolocationResponse,this),i=_(this._handleGeolocationError,this),t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,t=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+t+"."})},_handleGeolocationResponse:function(t){var e,i,n=new v(t.coords.latitude,t.coords.longitude),o=n.toBounds(2*t.coords.accuracy),s=this._locateOptions,a=(s.setView&&(e=this.getBoundsZoom(o),this.setView(n,s.maxZoom?Math.min(e,s.maxZoom):e)),{latlng:n,bounds:o,timestamp:t.timestamp});for(i in t.coords)"number"==typeof t.coords[i]&&(a[i]=t.coords[i]);this.fire("locationfound",a)},addHandler:function(t,e){return e&&(e=this[t]=new e(this),this._handlers.push(e),this.options[t])&&e.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(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(var t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),T(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(a(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)T(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){e=b("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new d(this.unproject(t.getBottomLeft()),this.unproject(t.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._layersMaxZo
3om?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=g(t),i=l(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),a=t.getNorthWest(),t=t.getSouthEast(),i=this.getSize().subtract(i),t=c(this.project(t,n),this.project(a,n)).getSize(),a=w?this.options.zoomSnap:1,r=i.x/t.x,i=i.y/t.y,t=e?Math.max(r,i):Math.min(r,i),n=this.getScaleZoom(t,n);return a&&(n=Math.round(n/(a/100))*(a/100),n=e?Math.ceil(n/a)*a:Math.floor(n/a)*a),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new m(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){t=this._getTopLeftPoint(t,e);return new f(t,t.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs,t=(e=void 0===e?this._zoom:e,i.zoom(t*i.scale(e)));return isNaN(t)?1/0:t},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(x(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(l(t),e)},layerPointToLatLng:function(t){t=l(t).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(t){return this.project(x(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(x(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(g(t))},distance:function(t,e){return this.options.crs.distance(x(t),x(e))},containerPointToLayerPoint:function(t){return l(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return l(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){t=this.containerPointToLayerPoint(l(t));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(x(t)))},mouseEventToContainerPoint:function(t){return Ie(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){t=this._container=_e(t);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");Z(t,"scroll",this._onScroll,this),this._containerId=p(t)},_initLayout:function(){var t=this._container,e=(this._fadeAnimated=this.options.fadeAnimation&&w,z(t,"leaflet-container"+(Bt?" leaflet-touch":"")+(Ot?" leaflet-retina":"")+(ft?" leaflet-oldie":"")+(Tt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),de(t,"position"));"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),S(this._mapPane,new m(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(z(t.markerPane,"leaflet-zoom-hide"),z(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){S(this._mapPane,new m(0,0));var i=!this._loaded,n=(this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset"),this._zoom!==e);this._moveStart(n,!1)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i){void 0===e&&(e=this._zoom);var n=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return a(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){S(this._mapPane,this._getMapPanePos().subtract(t))},_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(t){this._targets={};var e=t?k:Z;e((this._targets[p(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),w&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){a(this._resizeRequest),this._resizeRequest=y(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,s=t.target||t.srcElement,a=!1;s;){if((i=this._targets[p(s)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(e,!0)){if(o&&!He(s,t))break;if(n.push(i),o)break}if(s===this._container)break;s=s.parentNode}return n=n.length||a||o||!He(s,t)?n:[this]},_handleDOMEvent:function(t){var e;this._loaded&&!We(t)&&("mousedown"!==(e=t.type)&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||Te(t.target||t.srcElement),this._fireDOMEvent(t,e))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,
3i){if("click"===t.type&&((o=h({},t)).type="preclick",this._fireDOMEvent(o,o.type,i)),!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,e))).length){var n,o=i[0],s=("contextmenu"===e&&o.listens(e,!0)&&B(t),{originalEvent:t});"keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type&&(n=o.getLatLng&&(!o._radius||o._radius<=10),s.containerPoint=n?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(t),s.layerPoint=this.containerPointToLayerPoint(s.containerPoint),s.latlng=n?o.getLatLng():this.layerPointToLatLng(s.layerPoint));for(var a=0;a<i.length;a++)if(i[a].fire(e,s,!0),s.originalEvent._stopped||!1===i[a].options.bubblingMouseEvents&&-1!==K(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return Pe(this._mapPane)||new m(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){i=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(i)},_latLngBoundsToNewLayerBounds:function(t,e,i){i=this._getNewPixelOrigin(i,e);
3return c([this.project(t.getSouthWest(),e)._subtract(i),this.project(t.getNorthWest(),e)._subtract(i),this.project(t.getSouthEast(),e)._subtract(i),this.project(t.getNorthEast(),e)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){var n,o;return!i||(n=this.project(t,e),o=this.getSize().divideBy(2),o=new f(n.subtract(o),n.add(o)),(o=this._getBoundsOffset(o,i,e)).round().equals([0,0]))?t:this.unproject(n.add(o),e)},_limitOffset:function(t,e){var i;return e?(i=new f((i=this.getPixelBounds()).min.add(t),i.max.add(t)),t.add(this._getBoundsOffset(i,e))):t},_getBoundsOffset:function(t,e,i){e=c(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),i=e.min.subtract(t.min),e=e.max.subtract(t.max);return new m(this._rebound(i.x,-e.x),this._rebound(i.y,-e.y))},_rebound:function(t,e){return 0<t+e?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=w?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){M(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){t=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(t)||(this.panBy(t,e),0))},_createAnimProxy:function(){var t=this._proxy=b("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=ue,i=this._proxy.style[e];we(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var t=this.getCenter(),e=this.getZoom();we(this._proxy,this.project(t,e),this.getZoomScale(e,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){T(this._proxy),delete this._proxy},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){var n;return!(!this._animatingZoom&&(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold||(n=this.getZoomScale(e),n=this._getCenterOffset(t)._divideBy(1-1/n),!0!==i.animate&&!this.getSize().contains(n))||(y(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),0)))},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,z(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),setTimeout(_(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&M(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),y(function(){this._moveEnd(!0)},this))}});function Ue(t){return new I(t)}var I=it.extend({options:{position:"topright"},initialize:function(t){s(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),t=t._controlCorners[i];return z(e,"leaflet-control"),-1!==i.indexOf("bottom")?t.insertBefore(e,t.firstChild):t.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(T(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}}),Ve=(A.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this}
vendor: 6,521 bytes, line 3
3,_initControlPos:function(){var i=this._controlCorners={},n="leaflet-",o=this._controlContainer=b("div",n+"control-container",this._container);function t(t,e){i[t+e]=b("div",n+t+" "+n+e,o)}t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)T(this._controlCorners[t]);T(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}),I.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}},initialize:function(t,e,i){for(var n in s(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return I.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);t=this._getLayer(p(t));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){z(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(z(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):M(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return M(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=b("div",t),i=this.options.collapsed,n=(e.setAttribute("aria-haspopup",!0),Be(e),ke(e),this._section=b("section",t+"-list")),o=(i&&(this._map.on("click",this.collapse,this),yt||Z(e,{mouseenter:this.expand,mouseleave:this.collapse},this)),this._layersLink=b("a",t+"-toggle",e));o.href="#",o.title="Layers",Bt?(Z(o,"click",Ae),Z(o,"click",this.expand,this)):Z(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=b("div",t+"-base",n),this._separator=b("div",t+"-separator",n),this._overlaysList=b("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&p(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(_(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(this._container){pe(this._baseLayersList),pe(this._overlaysList),this._layerControlInputs=[];for(var t,e,i,n=0,o=0;o<this._layers.length;o++)i=this._layers[o],this._addItem(i),e=e||i.overlay,t=t||!i.overlay,n+=i.overlay?0:1;this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&1<n)?"":"none"),this._separator.style.display=e&&t?"":"none"}return this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(p(t.target)),t=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;t&&this._map.fire(t,e)},_createRadioElement:function(t,e){t='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",e=document.createElement("div");return e.innerHTML=t,e.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer),n=(t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+p(this),n),this._layerControlInputs.push(e),e.layerId=p(t.layer),Z(e,"click",this._onInputClick,this),document.createElement("span")),o=(n.innerHTML=" "+t.name,document.createElement("div"));return i.appendChild(o),o.appendChild(e),o.appendChild(n),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=i.length-1;0<=s;s--)t=i[s],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;0<=o;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&n<e.options.minZoom||void 0!==e.options.maxZoom&&n>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}})),qe=I.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=b("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.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(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))}
3,_createButton:function(t,e,i,n,o){i=b("a",i,n);return i.innerHTML=t,i.href="#",i.title=e,i.setAttribute("role","button"),i.setAttribute("aria-label",e),Be(i),Z(i,"click",Ae),Z(i,"click",o,this),Z(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";M(this._zoomInButton,e),M(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMinZoom()||z(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMaxZoom()||z(this._zoomInButton,e)}}),Ge=(A.mergeOptions({zoomControl:!0}),A.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new qe,this.addControl(this.zoomControl))}),I.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=b("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=b("div",e,i)),t.imperial&&(this._iScale=b("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,t=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(t)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,i,t=3.2808399*t;5280<t?(i=this._getRoundNum(e=t/5280),this._updateScale(this._iScale,i+" mi",i/e)):(i=this._getRoundNum(t),this._updateScale(this._iScale,i+" ft",i/t))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),t=t/e;return e*(10<=t?10:5<=t?5:3<=t?3:2<=t?2:1)}})),Ke=I.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){s(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=b("div","leaflet-control-attribution"),Be(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t,e=[];for(t in this._attributions)this._attributions[t]&&e.push(t);var i=[];this.options.prefix&&i.push(this.options.prefix),e.length&&i.push(e.join(", ")),this._container.innerHTML=i.join(" | ")}}}),n=(A.mergeOptions({attributionControl:!0}),A.addInitHook(function(){this.options.attributionControl&&(new Ke).addTo(this)}),I.Layers=Ve,I.Zoom=qe,I.Scale=Ge,I.Attribution=Ke,Ue.layers=function(t,e,i){return new Ve(t,e,i)},Ue.zoom=function(t){return new qe(t)},Ue.scale=function(t){return new Ge(t)},Ue.attribution=function(t){return new Ke(t)},it.extend({initialize:function(t){this._map=t},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}}));n.addTo=function(t,e){return t.addHandler(e,this),this};var Ye,zt={Events:e},Xe=Bt?"touchstart mousedown":"mousedown",Je={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},$e={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},Qe=nt.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){s(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(Z(this._dragStartTarget,Xe,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Qe._dragging===this&&this.finishDrag(),k(this._dragStartTarget,Xe,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){var e,i;t._simulated||!this._enabled||(this._moved=!1,ge(this._element,"leaflet-zoom-anim"))||(Qe._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((Qe._dragging=this)._preventOutline&&Te(this._element),Le(),re(),this._moving))||(this.fire("down"),e=t.touches?t.touches[0]:t,i=Me(this._element),this._startPoint=new m(e.clientX,e.clientY),this._parentScale=Ce(i),Z(document,$e[t.type],this._onMove,this),Z(document,Je[t.type],this._onUp,this))},_onMove:function(t){var e;!t._simulated&&this._enabled&&(t.touches&&1<t.touches.length?this._moved=!0:!(e=new m((e=t.touches&&1===t.touches.length?t.touches[0]:t).clientX,e.clientY)._subtract(this._startPoint)).x&&!e.y||Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||(e.x/=this._parentScale.x,e.y/=this._parentScale.y,B(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=Pe(this._element).subtract(e),z(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),z(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,a(this._animRequest),this._lastEvent=t,this._animRequest=y(this._updatePosition,this,!0)))},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),S(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in M(document.body,"leaflet-dragging"),this._lastTarget&&(M(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),$e)k(document,$e[t],this._onMove,this),k(document,Je[t],this._onUp,this);be(),he(),this._moved&&this._moving&&(a(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,Qe._dragging=!1}});function ti(t,e){if(e&&t.length){var e=e*e,i=t=function(t,e){for(var i,n,o,s=[t[0]],a=1,r=0,h=t.length;a<h;a++)i=t[a],e<(o=(n=t[r]).x-i.x)*o+(o=n.y-i.y)*o&&(s.push(t[a]),r=a);return r<h-1&&s.push(t[h-1]),s}(t,e),n=i.length,o=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);o[0]=o[n-1]=1,function t(e,i,n,o,s){for(var a,r,h=0,u=o+1;u<=s-1;u++)h<(r=si(e[u],e[o],e[s],!0))&&(a=u,h=r);n<h&&(i[a]=1,t(e,i,n,o,a),t(e,i,n,a,s))}(i,o,e,0,n-1);for(var s=[],a=0;a<n;a++)o[a]&&s.push(i[a]);return s}return t.slice()}function ei(t,e,i){return Math.sqrt(si(t,e,i,!0))}
vendor: 14,141 bytes, line 3
3function ii(t,e,i,n,o){var s,a,r,h=n?Ye:oi(t,i),u=oi(e,i);for(Ye=u;;){if(!(h|u))return[t,e];if(h&u)return!1;r=oi(a=ni(t,e,s=h||u,i,o),i),s===h?(t=a,h=r):(e=a,u=r)}}function ni(t,e,i,n,o){var s,a,r=e.x-t.x,e=e.y-t.y,h=n.min,n=n.max;return 8&i?(s=t.x+r*(n.y-t.y)/e,a=n.y):4&i?(s=t.x+r*(h.y-t.y)/e,a=h.y):2&i?(s=n.x,a=t.y+e*(n.x-t.x)/r):1&i&&(s=h.x,a=t.y+e*(h.x-t.x)/r),new m(s,a,o)}function oi(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i}function si(t,e,i,n){var o=e.x,e=e.y,s=i.x-o,a=i.y-e,r=s*s+a*a;return 0<r&&(1<(r=((t.x-o)*s+(t.y-e)*a)/r)?(o=i.x,e=i.y):0<r&&(o+=s*r,e+=a*r)),s=t.x-o,a=t.y-e,n?s*s+a*a:new m(o,e)}function ai(t){return!u(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function ri(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),ai(t)}St=(Object.freeze||Object)({simplify:ti,pointToSegmentDistance:ei,closestPointOnSegment:function(t,e,i){return si(t,e,i)},clipSegment:ii,_getEdgeIntersection:ni,_getBitCode:oi,_sqClosestPointOnSegment:si,isFlat:ai,_flat:ri});function hi(t,e,i){for(var n,o,s,a,r,h,u,l=[1,4,2,8],c=0,_=t.length;c<_;c++)t[c]._code=oi(t[c],e);for(s=0;s<4;s++){for(h=l[s],n=[],c=0,o=(_=t.length)-1;c<_;o=c++)a=t[c],r=t[o],a._code&h?r._code&h||((u=ni(r,a,h,e,i))._code=oi(u,e),n.push(u)):(r._code&h&&((u=ni(r,a,h,e,i))._code=oi(u,e),n.push(u)),n.push(a));t=n}return t}var pt=(Object.freeze||Object)({clipPolygon:hi}),Et={project:function(t){return new m(t.lng,t.lat)},unproject:function(t){return new v(t.y,t.x)},bounds:new f([-180,-90],[180,90])},kt={R:6378137,R_MINOR:6356752.314245179,bounds:new f([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,o=Math.sqrt(1-o*o),s=o*Math.sin(n),s=Math.tan(Math.PI/4-n/2)/Math.pow((1-s)/(1+s),o/2),n=-i*Math.log(Math.max(s,1e-10));return new m(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),a=Math.exp(-t.y/n),r=Math.PI/2-2*Math.atan(a),h=0,u=.1;h<15&&1e-7<Math.abs(u);h++)e=s*Math.sin(r),e=Math.pow((1-e)/(1+e),s/2),r+=u=Math.PI/2-2*Math.atan(a*e)-r;return new v(r*i,t.x*i/n)}},It=(Object.freeze||Object)({LonLat:Et,Mercator:kt,SphericalMercator:rt}),Mt=h({},at,{code:"EPSG:3395",projection:kt,transformation:ut(o=.5/(Math.PI*kt.R),.5,-o,.5)}),ui=h({},at,{code:"EPSG:4326",projection:Et,transformation:ut(1/180,1,-1/180,.5)}),bt=h({},st,{projection:Et,transformation:ut(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,e=e.lat-t.lat;return Math.sqrt(i*i+e*e)},infinite:!0}),O=(st.Earth=at,st.EPSG3395=Mt,st.EPSG3857=lt,st.EPSG900913=ct,st.EPSG4326=ui,st.Simple=bt,nt.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[p(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[p(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e,i=t.target;i.hasLayer(this)&&(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents&&(e=this.getEvents(),i.on(e,this),this.once("remove",function(){i.off(e,this)},this)),this.onAdd(i),this.getAttribution&&i.attributionControl&&i.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),i.fire("layeradd",{layer:this}))}})),li=(A.include({addLayer:function(t){var e;if(t._layerAdd)return e=p(t),this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this;throw new Error("The provided object is not a Layer.")},removeLayer:function(t){var e=p(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return!!t&&p(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?u(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[p(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){t=p(t);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var t,e=1/0,i=-1/0,n=this._getZoomSpan();for(t in this._zoomBoundLayers)var o=this._zoomBoundLayers[t].options,e=void 0===o.minZoom?e:Math.min(e,o.minZoom),i=void 0===o.maxZoom?i:Math.max(i,o.maxZoom);this._layersMaxZoom=i===-1/0?void 0:i,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)}}),O.extend({initialize:function(t,e){var i,n;if(s(this,e),this._layers={},t)for(i=0,n=t.length;i<n;i++)this.addLayer(t[i])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){t=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)(i=this._layers[e])[t]&&i[t].apply(i,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:p})),ci=li.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),li.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?((t=t in this._layers?this._layers[t]:t).removeEventParent(this),li.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t,e=new d;for(t in this._layers){var i=this._layers[t];e.extend(i.getBounds?i.getBounds():i.getLatLng())}return e}}),_i=it.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){s(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(i)return i=this._createImg(i,e&&"IMG"===e.tagName?e:null),this._setIconStyles(i,t),i;if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"],n=l(n="number"==typeof n?[n,n]:n),o=l("shadow"===e&&i.shadowAnchor||i.iconAnchor||n&&n.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),o&&(t.style.marginLeft=-o.x+"px",t.style.marginTop=-o.y+"px"),n&&(t.style.width=n.x+"px",t.style.height=n.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return Ot&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),di=_i.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(t){return di.imagePath||(di.imagePath=this._detectIconPath()),(this.options.imagePath||di.imagePath)+_i.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=b("div","leaflet-default-icon-path",document.body),e=de(t,"background-image")||de(t,"backgroundImage");return document.body.removeChild(t),null===e||0!==e.indexOf("url")?"":e.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),pi=n.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Qe(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),z(t,"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&&M(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=Pe(e._icon),a=i.getPixelBounds(),r=i.getPixelOrigin(),r=c(a.min._subtract(r).add(o),a.max._subtract(r).subtract(o));r.contains(s)||(o=l((Math.max(r.max.x,s.x)-r.max.x)/(a.max.x-r.max.x)-(Math.min(r.min.x,s.x)-r.min.x)/(a.min.x-r.min.x),(Math.max(r.max.y,s.y)-r.max.y)/(a.max.y-r.max.y)-(Math.min(r.min.y,s.y)-r.min.y)/(a.min.y-r.min.y)).multiplyBy(n),i.panBy(o,{animate:!1}),this._draggable._newPos._add(o),this._draggable._startPos._add(o),S(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=y(this._adjustPan.bind(this,t)))},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(a(this._panRequest),this._panRequest=y(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=Pe(e._icon),o=e._map.layerPointToLatLng(n);i&&S(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){a(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),mi=O.extend({options:{icon:new di,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(t,e){s(this,e),this._latlng=x(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.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(t){var e=this._latlng;return this._latlng=x(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){var t;return this._icon&&this._map&&(t=this._map.latLngToLayerPoint(this._latlng).round(),this._setPos(t)),this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1,i=(i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName)&&(i.alt=t.alt||""),z(i,e),t.keyboard&&(i.tabIndex="0"),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),t.icon.createShadow(this._shadow)),o=!1;i!==this._shadow&&(this._removeShadow(),o=!0),i&&(z(i,e),i.alt=""),this._shadow=i,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&o&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),T(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&T(this._shadow),this._shadow=null},_setPos:function(t){S(this._icon,t),this._shadow&&S(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(t)},_initInteraction:function(){var t;this.options.interactive&&(z(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),pi)&&(t=this.options.draggable,this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new pi(this),t&&this.dragging.enable())},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&C(this._icon,t),this._shadow&&C(this._shadow,t)},_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}}),fi=O.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,f
3illRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.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(t){return s(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke)&&t.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}}),gi=fi.extend({options:{fill:!0,radius:10},initialize:function(t,e){s(this,e),this._latlng=x(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=x(t),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius}
vendor: 2,414 bytes, line 3
3,setStyle:function(t){var e=t&&t.radius||this._radius;return fi.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),t=[t+i,e+i];this._pxBounds=new f(this._point.subtract(t),this._point.add(t))},_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(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),vi=gi.extend({initialize:function(t,e,i){if(s(this,e="number"==typeof e?h({},i,{radius:e}):e),this._latlng=x(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new d(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:fi.prototype.setStyle,_project:function(){var t,e,i,n,o,s=this._latlng.lng,a=this._latlng.lat,r=this._map,h=r.options.crs;h.distance===at.distance?(n=Math.PI/180,o=this._mRadius/at.R/n,t=r.project([a+o,s]),e=r.project([a-o,s]),e=t.add(e).divideBy(2),i=r.unproject(e).lat,n=Math.acos((Math.cos(o*n)-Math.sin(a*n)*Math.sin(i*n))/(Math.cos(a*n)*Math.cos(i*n)))/n,!isNaN(n)&&0!==n||(n=o/Math.cos(Math.PI/180*a)),this._point=e.subtract(r.getPixelOrigin()),this._radius=isNaN(n)?0:e.x-r.project([i,s-n]).x,this._radiusY=e.y-t.y):(o=h.unproject(h.project(this._latlng).subtract([this._mRadius,0])),this._point=r.latLngToLayerPoint(this._latlng),this._radius=this._point.x-r.latLngToLayerPoint(o).x),this._updateBounds()}}),yi=fi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){s(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,i,n=1/0,o=null,s=si,a=0,r=this._parts.length;a<r;a++)for(var h=this._parts[a],u=1,l=h.length;u<l;u++){var c=s(t,e=h[u-1],i=h[u],!0);c<n&&(n=c,o=s(t,e,i))}return o&&(o.distance=Math.sqrt(n)),o}
3,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,s,a=this._rings[0],r=a.length;if(!r)return null;for(e=t=0;t<r-1;t++)e+=a[t].distanceTo(a[t+1])/2;if(0===e)return this._map.layerPointToLatLng(a[0]);for(i=t=0;t<r-1;t++)if(n=a[t],o=a[t+1],e<(i+=s=n.distanceTo(o)))return this._map.layerPointToLatLng([o.x-(s=(i-e)/s)*(o.x-n.x),o.y-s*(o.y-n.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=x(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new d,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return ai(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=ai(t),n=0,o=t.length;n<o;n++)i?(e[n]=x(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new f;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),t=new m(t,t);this._pxBounds=new f([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)])},_projectLatlngs:function(t,e,i){var n,o,s=t[0]instanceof v,a=t.length;if(s){for(o=[],n=0;n<a;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<a;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var e,i,n,o,s,a=this._parts,r=e=0,h=this._rings.length;e<h;e++)for(i=0,n=(s=this._rings[e]).length;i<n-1;i++)(o=ii(s[i],s[i+1],t,i,!0))&&(a[r]=a[r]||[],a[r].push(o[0]),o[1]===s[i+1]&&i!==n-2||(a[r].push(o[1]),r++))},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=ti(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,s,a,r,h=this._clickTolerance();if(this._pxBounds&&this._pxBounds.contains(t))for(i=0,s=this._parts.length;i<s;i++)for(n=0,o=(a=(r=this._parts[i]).length)-1;n<a;o=n++)if((e||0!==n)&&ei(t,r[o],r[n])<=h)return!0;return!1}}),xi=(yi._flat=ri,yi.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
3,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,s,a,r,h,u=this._rings[0],l=u.length;if(!l)return null;for(t=s=a=r=0,e=l-1;t<l;e=t++)i=u[t],n=u[e],o=i.y*n.x-n.y*i.x,a+=(i.x+n.x)*o,r+=(i.y+n.y)*o,s+=3*o;return h=0===s?u[0]:[a/s,r/s],this._map.layerPointToLatLng(h)},_convertLatLngs:function(t){var t=yi.prototype._convertLatLngs.call(this,t),e=t.length;return 2<=e&&t[0]instanceof v&&t[0].equals(t[e-1])&&t.pop(),t},_setLatLngs:function(t){yi.prototype._setLatLngs.call(this,t),ai(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return(ai(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,e=new m(e,e),t=new f(t.min.subtract(e),t.max.add(e));if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,n=0,o=this._rings.length;n<o;n++)(i=hi(this._rings[n],t,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,s,a,r,h,u=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,r=this._parts.length;o<r;o++)for(s=0,a=(h=(e=this._parts[o]).length)-1;s<h;a=s++)i=e[s],n=e[a],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(u=!u);return u||yi.prototype._containsPoint.call(this,t,!0)}})),wi=ci.extend({initialize:function(t,e){s(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=u(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s,a=this.options;return(!a.filter||a.filter(t))&&(s=Pi(t,a))?(s.feature=Ci(t),s.defaultOptions=s.options,this.resetStyle(s),a.onEachFeature&&a.onEachFeature(t,s),this.addLayer(s)):this},resetStyle:function(t){return t.options=h({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function Pi(t,e){var i,n,o,s,a="Feature"===t.type?t.geometry:t,r=a?a.coordinates:null,h=[],u=e&&e.pointToLayer,l=e&&e.coordsToLatLng||Li;if(!r&&!a)return null;switch(a.type){case"Point":return i=l(r),u?u(t,i):new mi(i);case"MultiPoint":for(o=0,s=r.length;o<s;o++)i=l(r[o]),h.push(u?u(t,i):new mi(i));return new ci(h);case"LineString":case"MultiLineString":return n=bi(r,"LineString"===a.type?0:1,l),new yi(n,e);case"Polygon":case"MultiPolygon":return n=bi(r,"Polygon"===a.type?1:2,l),new xi(n,e);case"GeometryCollection":for(o=0,s=a.geometries.length;o<s;o++){var c=Pi({geometry:a.geometries[o],type:"Feature",properties:t.properties},e);c&&h.push(c)}return new ci(h);default:throw new Error("Invalid GeoJSON object.")}}function Li(t){return new v(t[1],t[0],t[2])}function bi(t,e,i){for(var n,o=[],s=0,a=t.length;s<a;s++)n=e?bi(t[s],e-1,i):(i||Li)(t[s]),o.push(n);return o}function Ti(t,e){return e="number"==typeof e?e:6,void 0!==t.alt?[i(t.lng,e),i(t.lat,e),i(t.alt,e)]:[i(t.lng,e),i(t.lat,e)]}function zi(t,e,i,n){for(var o=[],s=0,a=t.length;s<a;s++)o.push(e?zi(t[s],e-1,i,n):Ti(t[s],n));return!e&&i&&o.push(o[0]),o}function Mi(t,e){return t.feature?h({},t.feature,{geometry:e}):Ci(e)}function Ci(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}e={toGeoJSON:function(t){return Mi(this,{type:"Point",coordinates:Ti(this.getLatLng(),t)})}};function Si(t,e){return new wi(t,e)}mi.include(e),vi.include(e),gi.include(e),yi.include({toGeoJSON:function(t){var e=!ai(this._latlngs);return Mi(this,{type:(e?"Multi":"")+"LineString",coordinates:zi(this._latlngs,e?1:0,!1,t)})}}),xi.include({toGeoJSON:function(t){var e=!ai(this._latlngs),i=e&&!ai(this._latlngs[0]),t=zi(this._latlngs,i?2:e?1:0,!0,t);return Mi(this,{type:(i?"Multi":"")+"Polygon",coordinates:t=e?t:[t]})}}),li.include({toMultiPoint:function(e){var i=[];return this.eachLayer(function(t){i.push(t.toGeoJSON(e).geometry.coordinates)}),Mi(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(e){var i,n,t=this.feature&&this.feature.geometry&&this.feature.geometry.type;return"MultiPoint"===t?this.toMultiPoint(e):(i="GeometryCollection"===t,n=[],this.eachLayer(function(t){t.toGeoJSON&&(t=t.toGeoJSON(e),i?n.push(t.geometry):"FeatureCollection"===(t=Ci(t)).type?n.push.apply(n,t.features):n.push(t))}),i?Mi(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n})}});var rt=Si,Zi=O.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""}
vendor: 4,748 bytes, line 3
3,initialize:function(t,e,i){this._url=t,this._bounds=g(e),s(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(z(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){T(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&me(this._image),this},bringToBack:function(){return this._map&&fe(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=g(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:b("img");z(e,"leaflet-image-layer"),this._zoomAnimated&&z(e,"leaflet-zoom-animated"),this.options.className&&z(e,this.options.className),e.onselectstart=r,e.onmousemove=r,e.onload=_(this.fire,this,"load"),e.onerror=_(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),t=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;we(this._image,t,e)},_reset:function(){var t=this._image,e=new f(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();S(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){C(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 t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),Ei=Zi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:b("video");if(z(e,"leaflet-image-layer"),this._zoomAnimated&&z(e,"leaflet-zoom-animated"),e.onselectstart=r,e.onmousemove=r,e.onloadeddata=_(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o<i.length;o++)n.push(i[o].src);this._url=0<i.length?n:[e.src]}else{u(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&e.style.hasOwnProperty("objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop;for(var s=0;s<this._url.length;s++){var a=b("source");a.src=this._url[s],e.appendChild(a)}}}}),ki=Zi.extend({_initImage:function(){var t=this._image=this._url;z(t,"leaflet-image-layer"),this._zoomAnimated&&z(t,"leaflet-zoom-animated"),t.onselectstart=r,t.onmousemove=r}}),Bi=O.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){s(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&C(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&C(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(C(this._container,0),this._removeTimeout=setTimeout(_(T,void 0,this._container),200)):T(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=x(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,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 t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&me(this._container),this},bringToBack:function(){return this._map&&fe(this._container),this}
3,_prepareOpen:function(t,e,i){if(e instanceof O||(i=e,e=t),e instanceof ci)for(var n in t._layers){e=t._layers[n];break}if(!i)if(e.getCenter)i=e.getCenter();else{if(!e.getLatLng)throw new Error("Unable to get source layer LatLng.");i=e.getLatLng()}return this._source=e,this.update(),i},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){var t,e,i;this._map&&(e=this._map.latLngToLayerPoint(this._latlng),t=l(this.options.offset),i=this._getAnchor(),this._zoomAnimated?S(this._container,e.add(i)):t=t.add(e).add(i),e=this._containerBottom=-t.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+t.x,this._container.style.bottom=e+"px",this._container.style.left=i+"px")},_getAnchor:function(){return[0,0]}}),Ai=Bi.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(t){return t.openPopup(this),this},onAdd:function(t){Bi.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof fi||this._source.on("preclick",Ee))},onRemove:function(t){Bi.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof fi||this._source.off("preclick",Ee))},getEvents:function(){var t=Bi.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=b("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=b("div",t+"-content-wrapper",e);this._contentNode=b("div",t+"-content",i),Be(i),ke(this._contentNode),Z(i,"contextmenu",Ee),this._tipContainer=b("div",t+"-tip-container",e),this._tip=b("div",t+"-tip",this._tipContainer),this.options.closeButton&&((i=this._closeButton=b("a",t+"-close-button",e)).href="#close",i.innerHTML="×",Z(i,"click",this._onCloseButtonClick,this))},_updateLayout:function(){var t=this._contentNode,e=t.style,i=(e.width="",e.whiteSpace="nowrap",t.offsetWidth),i=Math.min(i,this.options.maxWidth),i=(i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="",t.offsetHeight),n=this.options.maxHeight,o="leaflet-popup-scrolled";(n&&n<i?(e.height=n+"px",z):M)(t,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();S(this._container,t.add(e))},_adjustPan:function(){var t,e,i,n,o,s,a,r;this.options.autoPan&&(this._map._panAnim&&this._map._panAnim.stop(),t=this._map,e=parseInt(de(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+e,r=this._containerWidth,(i=new m(this._containerLeft,-e-this._containerBottom))._add(Pe(this._container)),i=t.layerPointToContainerPoint(i),o=l(this.options.autoPanPadding),n=l(this.options.autoPanPaddingTopLeft||o),o=l(this.options.autoPanPaddingBottomRight||o),s=t.getSize(),a=0,i.x+r+o.x>s.x&&(a=i.x+r-s.x+o.x),i.x-a-n.x<(r=0)&&(a=i.x-n.x),i.y+e+o.y>s.y&&(r=i.y+e-s.y+o.y),i.y-r-n.y<0&&(r=i.y-n.y),a||r)&&t.fire("autopanstart").panBy([a,r])},_onCloseButtonClick:function(t){this._close(),Ae(t)},_getAnchor:function(){return l(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Ii=(A.mergeOptions({closePopupOnClick:!0}),A.include({openPopup:function(t,e,i){return t instanceof Ai||(t=new Ai(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),O.include({bindPopup:function(t,e){return t instanceof Ai?(s(t,e),(this._popup=t)._source=this):(this._popup&&!e||(this._popup=new Ai(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ae(t),e instanceof fi?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)}
3,_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}}),Bi.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Bi.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Bi.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Bi.prototype.getEvents.call(this);return Bt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=b("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e=this._map,i=this._container,n=e.latLngToContainerPoint(e.getCenter()),e=e.layerPointToContainerPoint(t),o=this.options.direction,s=i.offsetWidth,a=i.offsetHeight,r=l(this.options.offset),h=this._getAnchor();t="top"===o?t.add(l(-s/2+r.x,-a+r.y+h.y,!0)):"bottom"===o?t.subtract(l(s/2-r.x,-r.y,!0)):"center"===o?t.subtract(l(s/2+r.x,a/2-h.y+r.y,!0)):"right"===o||"auto"===o&&e.x<n.x?(o="right",t.add(l(r.x+h.x,h.y-a/2+r.y,!0))):(o="left",t.subtract(l(s+h.x-r.x,a/2-h.y-r.y,!0))),M(i,"leaflet-tooltip-right"),M(i,"leaflet-tooltip-left"),M(i,"leaflet-tooltip-top"),M(i,"leaflet-tooltip-bottom"),z(i,"leaflet-tooltip-"+o),S(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&C(this._container,t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(t)},_getAnchor:function(){return l(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}})),Oi=(A.include({openTooltip:function(t,e,i){return t instanceof Ii||(t=new Ii(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),O.include({bindTooltip:function(t,e){return t instanceof Ii?(s(t,e),(this._tooltip=t)._source=this):(this._tooltip&&!e||(this._tooltip=new Ii(e,this)),this._tooltip.setContent(t)),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(t){var e,i;!t&&this._tooltipHandlersAdded||(e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip},this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),Bt&&(i.click=this._openTooltip)),this[e](i),this._tooltipHandlersAdded=!t)},openTooltip:function(t,e){return this._tooltip&&this._map&&(e=this._tooltip._prepareOpen(this,t,e),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive)&&this._tooltip._container&&(z(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&&(M(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container)),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var e=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(e,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(t=this._map.mouseEventToContainerPoint(t.originalEvent),t=this._map.containerPointToLayerPoint(t),e=this._map.layerPointToLatLng(t)),this._tooltip.setLatLng(e)}}),_i.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var t=t&&"DIV"===t.tagName?t:document.createElement("div"),e=this.options;return e.html instanceof Element?(pe(t),t.appendChild(e.html)):t.innerHTML=!1!==e.html?e.html:"",e.bgPos&&(e=l(e.bgPos),t.style.backgroundPosition=-e.x+"px "+-e.y+"px"),this._setIconStyles(t,"icon"),t},createShadow:function(){return null}})),Ri=(_i.Default=di,O.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Zt,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(t){s(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),T(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(me(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(fe(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=W(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof m?t:new m(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,s=i.length;o<s;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!ft){C(this._container,this.options.opacity);var t,e=+new Date,i=!1,n=!1;for(t in this._tiles){var o,s=this._tiles[t];s.current&&s.loaded&&(o=Math.min(1,(e-s.loaded)/200),C(s.el,o),o<1?i=!0:(s.active?n=!0:this._onOpaqueTile(s),s.active=!0))}n&&!this._noPrune&&this._pruneTiles(),i&&(a(this._fadeFrame),this._fadeFrame=y(this._updateOpacity,this))}},_onOpaqueTile:r,_initContainer:function(){this._container||(this._container=b("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var i in this._levels)this._levels[i].el.children.length||i===t?(this._levels[i].el.style.zIndex=e-Math.abs(t-i),this._onUpdateLevel(i)):(T(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=b("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=e,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:r,_onRemoveLevel:r,_onCreateLevel:r,_pruneTiles:function(){if(this._map){var t,e,i,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)(e=this._tiles[t]).current&&!e.active&&(i=e.coords,this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2));for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)T(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0}
vendor: 4,950 bytes, line 3
3,_retainParent:function(t,e,i,n){var t=Math.floor(t/2),e=Math.floor(e/2),i=i-1,o=new m(+t,+e),o=(o.z=i,this._tileCoordsToKey(o)),o=this._tiles[o];return o&&o.active?o.retain=!0:(o&&o.loaded&&(o.retain=!0),n<i&&this._retainParent(t,e,i,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*e;s<2*e+2;s++){var a=new m(o,s),a=(a.z=i+1,this._tileCoordsToKey(a)),a=this._tiles[a];a&&a.active?a.retain=!0:(a&&a.loaded&&(a.retain=!0),i+1<n&&this._retainChildren(o,s,i+1,n))}},_resetView:function(t){t=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,i,n){var o=this._clampZoom(Math.round(e)),s=((void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0),this.options.updateWhenZooming&&o!==this._tileZoom);n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),e=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();w?we(t.el,e,n):S(t.el,e)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),i=e.getZoomScale(i,this._tileZoom),t=e.project(t,this._tileZoom).floor(),e=e.getSize().divideBy(2*i);return new f(t.subtract(e),t.add(e))},_update:function(t){var e=this._map;if(e){var i=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var n,e=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(e),s=o.getCenter(),a=[],e=this.options.keepBuffer,r=new f(o.getBottomLeft().subtract([e,-e]),o.getTopRight().add([e,-e]));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(n in this._tiles){var h=this._tiles[n].coords;h.z===this._tileZoom&&r.contains(new m(h.x,h.y))||(this._tiles[n].current=!1)}if(1<Math.abs(i-this._tileZoom))this._setView(t,i);else{for(var u=o.min.y;u<=o.max.y;u++)for(var l=o.min.x;l<=o.max.x;l++){var c,_=new m(l,u);_.z=this._tileZoom,this._isValidTile(_)&&((c=this._tiles[this._tileCoordsToKey(_)])?c.current=!0:a.push(_))}if(a.sort(function(t,e){return t.distanceTo(s)-e.distanceTo(s)}),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));for(var d=document.createDocumentFragment(),l=0;l<a.length;l++)this._addTile(a[l],d);this._level.el.appendChild(d)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}return!this.options.bounds||(e=this._tileCoordsToBounds(t),g(this.options.bounds).overlaps(e))},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),i=n.add(i);return[e.unproject(n,t.z),e.unproject(i,t.z)]},_tileCoordsToBounds:function(t){t=this._tileCoordsToNwSe(t),t=new d(t[0],t[1]);return t=this.options.noWrap?t:this._map.wrapLatLngBounds(t)},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var t=t.split(":"),e=new m(+t[0],+t[1]);return e.z=+t[2],e},_removeTile:function(t){var e=this._tiles[t];e&&(T(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){z(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=r,t.onmousemove=r,ft&&this.options.opacity<1&&C(t,this.options.opacity),yt&&!xt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),_(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&y(_(this._tileReady,this,t,null,o)),S(o,i),this._tiles[n]={el:o,c
3oords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(C(i.el,0),a(this._fadeFrame),this._fadeFrame=y(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(z(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad())&&(this._loading=!1,this.fire("load"),ft||!this._map._fadeAnimated?y(this._pruneTiles,this):setTimeout(_(this._pruneTiles,this),250))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new m(this._wrapX?H(t.x,this._wrapX):t.x,this._wrapY?H(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new f(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}})),Ni=Ri.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=s(this,e)).detectRetina&&Ot&&0<e.maxZoom&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),yt||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return Z(i,"load",_(this._tileOnLoad,this,e,i)),Z(i,"error",_(this._tileOnError,this,e,i)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i.alt="",i.setAttribute("role","presentation"),i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:Ot?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};return this._map&&!this._map.options.crs.infinite&&(t=this._globalTileRange.max.y-t.y,this.options.tms&&(e.y=t),e["-y"]=t),G(this._url,h(e,this.options))},_tileOnLoad:function(t,e){ft?setTimeout(_(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return(t=this.options.zoomReverse?e-t:t)+this.options.zoomOffset},_getSubdomain:function(t){t=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=r,e.onerror=r,e.complete||(e.src=Y,T(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return Pt||e.el.setAttribute("src",Y),Ri.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==Y))return Ri.prototype._tileReady.call(this,t,e,i)}});function Di(t,e){return new Ni(t,e)}var ji=Ni.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i,n=h({},this.defaultWmsParams);for(i in e)i in this.options||(n[i]=e[i]);var t=(e=s(this,e)).detectRetina&&Ot?2:1,o=this.getTileSize();n.width=o.x*t,n.height=o.y*t,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[e]=this._crs.code,Ni.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,i=c(i.project(e[0]),i.project(e[1])),e=i.min,i=i.max,e=(1.3<=this._wmsVersion&&this._crs===ui?[e.y,e.x,i.y,i.x]:[e.x,e.y,i.x,i.y]).join(","),i=Ni.prototype.getTileUrl.call(this,t);return i+V(this.wmsParams,i,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+e},setParams:function(t,e){return h(this.wmsParams,t),e||this.redraw(),this}}),Wi=(Ni.WMS=ji,Di.wms=function(t,e){return new ji(t,e)},O.extend({options:{padding:.1,tolerance:0},initialize:function(t){s(this,t),p(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&z(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 t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=Pe(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,e),t=this._map.project(t,e).subtract(s),e=o.multiplyBy(-i).add(n).add(o).subtract(t);w?we(this._container,e,i):S(this._container,e)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).roun
3d();this._bounds=new f(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}})),Hi=Wi.extend({getEvents:function(){var t=Wi.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Wi.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Z(t,"mousemove",W(this._onMouseMove,32,this),this),Z(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Z(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){a(this._redrawRequest),delete this._ctx,T(this._container),k(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){var t,e,i,n;this._map._animatingZoom&&this._bounds||(Wi.prototype._update.call(this),t=this._bounds,e=this._container,i=t.getSize(),n=Ot?2:1,S(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",Ot&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update"))},_reset:function(){Wi.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t);t=(this._layers[p(t)]=t)._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,e=e.prev;i?i.prev=e:this._drawLast=e,e?e.next=i:this._drawFirst=i,delete t._order,delete this._layers[p(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){for(var e,i=t.options.dashArray.split(/[, ]+/),n=[],o=0;o<i.length;o++){if(e=Number(i[o]),isNaN(e))return;n.push(e)}t.options._dashArray=n}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||y(this._redraw,this))},_extendRedrawBounds:function(t){var e;t._pxBounds&&(e=(t.options.weight||0)+1,this._redrawBounds=this._redrawBounds||new f,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e])))},_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 t,e=this._redrawBounds;e?(t=e.getSize(),this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)):this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,e,i=this._redrawBounds;this._ctx.save(),i&&(e=i.getSize(),this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,e.x,e.y),this._ctx.clip()),this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,s,a=t._parts,r=a.length,h=this._ctx;if(r){for(h.beginPath(),i=0;i<r;i++){for(n=0,o=a[i].length;n<o;n++)s=a[i][n],h[n?"lineTo":"moveTo"](s.x,s.y);e&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){var e,i,n,o;this._drawing&&!t._empty()&&(e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),1!=(o=(Math.max(Math.round(t._radiusY),1)||n)/n)&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!=o&&i.restore(),this._fillStroke(i,t))},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(n)&&!this._map._draggableMoved(e)&&(i=e);i&&(je(t),this._fireEvent([i],t))},_onMouseMove:function(t){var e;!this._map||this._map.dragging.moving()||this._map._animatingZoom||(e=this._map.mouseEventToLayerPoint(t),this._handleMouseHover(t,e))},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(M(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(t,e){for(var i,n,o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n)&&(z(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)}
vendor: 5,445 bytes, line 3
3,_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e,i,n=t._order;n&&(e=n.next,i=n.prev,e)&&((e.prev=i)?i.next=e:e&&(this._drawFirst=e),n.prev=this._drawLast,(this._drawLast.next=n).next=null,this._drawLast=n,this._requestRedraw(t))},_bringToBack:function(t){var e,i,n=t._order;n&&(e=n.next,i=n.prev)&&((i.next=e)?e.prev=i:i&&(this._drawLast=i),n.prev=null,n.next=this._drawFirst,this._drawFirst.prev=n,this._drawFirst=n,this._requestRedraw(t))}});function Fi(t){return Rt?new Hi(t):null}var Ui=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),kt={_initContainer:function(){this._container=b("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Wi.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Ui("shape");z(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Ui("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[p(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;T(e),t.removeInteractiveTarget(e),delete this._layers[p(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e=e||(t._stroke=Ui("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=u(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i=i||(t._fill=Ui("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){me(t._container)},_bringToBack:function(t){fe(t._container)}},Vi=Dt?Ui:_t,qi=Wi.extend({getEvents:function(){var t=Wi.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=Vi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Vi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){T(this._container),k(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){var t,e,i;this._map._animatingZoom&&this._bounds||(Wi.prototype._update.call(this),e=(t=this._bounds).getSize(),i=this._container,this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),S(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update"))},_initPath:function(t){var e=t._path=Vi("path");t.options.className&&z(e,t.options.className),t.options.interactive&&z(e,"leaflet-interactive"),this._updateStyle(t),this._layers[p(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){T(t._path),t.removeInteractiveTarget(t._path),delete this._layers[p(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,t=t.options;e&&(t.stroke?(e.setAttribute("stroke",t.color),e.setAttribute("stroke-opacity",t.opacity),e.setAttribute("stroke-width",t.weight),e.setAttribute("stroke-linecap",t.lineCap),e.setAttribute("stroke-linejoin",t.lineJoin),t.dashArray?e.setAttribute("stroke-dasharray",t.dashArray):e.removeAttribute("stroke-dasharray"),t.dashOffset?e.setAttribute("stroke-dashoffset",t.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),t.fill?(e.setAttribute("fill",t.fillColor||t.color),e.setAttribute("fill-opacity",t.fillOpacity),e.setAttribute("fill-rule",t.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,dt(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",e=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,e)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){me(t._path)},_bringToBack:function(t){fe(t._path)}});function Gi(t){return Nt||Dt?new qi(t):null}Dt&&qi.include(kt),A.include({getRenderer:function(t){t=(t=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this._createRenderer());return this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(t){var e;return"overlayPane"!==t&&void 0!==t&&(void 0===(e=this._paneRenderers[t])&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e)},_createRenderer:function(t){return this.options.preferCanvas&&Fi(t)||Gi(t)}});var Ki=xi.extend({initialize:function(t,e){xi.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))}
vendor: 6,048 bytes, line 3
3,_boundsToLatLngs:function(t){return[(t=g(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}}),o=(qi.create=Vi,qi.pointsToPath=dt,wi.geometryToLayer=Pi,wi.coordsToLatLng=Li,wi.coordsToLatLngs=bi,wi.latLngToCoords=Ti,wi.latLngsToCoords=zi,wi.getFeature=Mi,wi.asFeature=Ci,A.mergeOptions({boxZoom:!0}),n.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Z(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){k(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){T(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(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),re(),Le(),this._startPoint=this._map.mouseEventToContainerPoint(t),Z(document,{contextmenu:Ae,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=b("div","leaflet-zoom-box",this._container),z(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var t=new f(this._point,this._startPoint),e=t.getSize();S(this._box,t.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(T(this._box),M(this._container,"leaflet-crosshair")),he(),be(),k(document,{contextmenu:Ae,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){1!==t.which&&1!==t.button||(this._finish(),!this._moved)||(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(_(this._resetState,this),0),t=new d(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t}))},_onKeyDown:function(t){27===t.keyCode&&this._finish()}})),Et=(A.addInitHook("addHandler","boxZoom",o),A.mergeOptions({doubleClickZoom:!0}),n.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,i=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}})),Mt=(A.addInitHook("addHandler","doubleClickZoom",Et),A.mergeOptions({dragging:!0,inertia:!xt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),n.extend({addHooks:function(){var t;this._draggable||(t=this._map,this._draggable=new Qe(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))),z(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){M(this._map._container,"leaflet-grab"),M(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 t,e=this._map;e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(t=g(this._map.options.maxBounds),this._offsetLimit=c(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))):this._offsetLimit=null,e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){var e,i;this._map.options.inertia&&(e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(i),this._times.push(e),this._prunePositions(e)),this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){var t,e;this._viscosity&&this._offsetLimit&&(t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit,t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t))},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,n=(n+e+i)%t-e-i,t=Math.abs(o+i)<Math.abs(n+i)?o:n;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=t},_onDragEnd:function(t){var e,i,n,o,s=this._map,a=s.options,r=!a.inertia||this._times.length<2;s.fire("dragend",t),!r&&(this._prunePositions(+new Date),t=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,e=a.easeLinearity,r=(t=t.multiplyBy(e/r)).distanceTo([0,0]),i=Math.min(a.inertiaMaxSpeed,r),t=t.multiplyBy(i/r),n=i/(a.inertiaDeceleration*e),(o=t.multiplyBy(-n/2).round()).x||o.y)?(o=s._limitOffset(o,s.options.maxBounds),y(function(){s.panBy(o,{duration:n,easeLinearity:e,noMoveStart:!0,animate:!0})}
3)):s.fire("moveend")}})),lt=(A.addInitHook("addHandler","dragging",Mt),A.mergeOptions({keyboard:!0,keyboardPanDelta:80}),n.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),Z(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),k(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(){var t,e,i;this._focused||(i=document.body,t=document.documentElement,e=i.scrollTop||t.scrollTop,i=i.scrollLeft||t.scrollLeft,this._map._container.focus(),window.scrollTo(i,e))},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){for(var e=this._panKeys={},i=this.keyCodes,n=0,o=i.left.length;n<o;n++)e[i.left[n]]=[-1*t,0];for(n=0,o=i.right.length;n<o;n++)e[i.right[n]]=[t,0];for(n=0,o=i.down.length;n<o;n++)e[i.down[n]]=[0,t];for(n=0,o=i.up.length;n<o;n++)e[i.up[n]]=[0,-1*t]},_setZoomDelta:function(t){for(var e=this._zoomKeys={},i=this.keyCodes,n=0,o=i.zoomIn.length;n<o;n++)e[i.zoomIn[n]]=t;for(n=0,o=i.zoomOut.length;n<o;n++)e[i.zoomOut[n]]=-t},_addHooks:function(){Z(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){k(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,n=this._map;if(i in this._panKeys)n._panAnim&&n._panAnim._inProgress||(e=this._panKeys[i],t.shiftKey&&(e=l(e).multiplyBy(3)),n.panBy(e),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Ae(t)}}})),ct=(A.addInitHook("addHandler","keyboard",lt),A.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),n.extend({addHooks:function(){Z(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){k(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=Re(t),i=this._map.options.wheelDebounceTime,e=(this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date),Math.max(i-(+new Date-this._startTime),0));clearTimeout(this._timer),this._timer=setTimeout(_(this._performZoom,this),e),Ae(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0,n=(t._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel)),n=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,i=i?Math.ceil(n/i)*i:n,n=t._limitZoom(e+(0<this._delta?i:-i))-e;this._delta=0,this._startTime=null,n&&("center"===t.options.scrollWheelZoom?t.setZoom(e+n):t.setZoomAround(this._lastMousePos,e+n))}})),bt=(A.addInitHook("addHandler","scrollWheelZoom",ct),A.mergeOptions({tap:!0,tapTolerance:15}),n.extend({addHooks:function(){Z(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){k(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){var e;t.touches&&(B(t),this._fireClick=!0,1<t.touches.length?(this._fireClick=!1,clearTimeout(this._holdTimeout)):(t=(e=t.touches[0]).target,this._startPos=this._newPos=new m(e.clientX,e.clientY),t.tagName&&"a"===t.tagName.toLowerCase()&&z(t,"leaflet-active"),this._holdTimeout=setTimeout(_(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))},this),1e3),this._simulateEvent("mousedown",e),Z(document,{touchmove:this._onMove,touchend:this._onUp},this)))},_onUp:function(t){var e;clearTimeout(this._holdTimeout),k(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches&&((e=(t=t.changedTouches[0]).target)&&e.tagName&&"a"===e.tagName.toLowerCase()&&M(e,"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(t){t=t.touches[0];this._newPos=new m(t.clientX,t.clientY),this._simulateEvent("mousemove",t)},_simulateEvent:function(t,e){var i=document.createEvent("MouseEvents");i._simulated=!0,e.target._simulatedClick=!0,i.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(i)}})),e=(Bt&&!P&&A.addInitHook("addHandler","tap",bt),A.mergeOptions({touchZoom:Bt&&!xt,bounceAtZoomLimits:!0}),n.extend({addHooks:function(){z(this._map._container,"leaflet-touch-zoom"),Z(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){M(this._map._container,"leaflet-touch-zoom"),k(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e,i,n=this._map;!t.touches||2!==t.touches.length||n._animatingZoom||this._zooming||(e=n.mouseEventToContainerPoint(t.touches[0]),i=n.mou
3seEventToContainerPoint(t.touches[1]),this._centerPoint=n.getSize()._divideBy(2),this._startLatLng=n.containerPointToLatLng(this._centerPoint),"center"!==n.options.touchZoom&&(this._pinchStartLatLng=n.containerPointToLatLng(e.add(i)._divideBy(2))),this._startDist=e.distanceTo(i),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),Z(document,"touchmove",this._onTouchMove,this),Z(document,"touchend",this._onTouchEnd,this),B(t))},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&o<1||this._zoom>e.getMaxZoom()&&1<o)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1==o)return}else{i=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===i.x&&0===i.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(i),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),a(this._animRequest);n=_(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=y(n,this,!0),B(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,a(this._animRequest),k(document,"touchmove",this._onTouchMove),k(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}})),Yi=(A.addInitHook("addHandler","touchZoom",e),A.BoxZoom=o,A.DoubleClickZoom=Et,A.Drag=Mt,A.Keyboard=lt,A.ScrollWheelZoom=ct,A.Tap=bt,A.TouchZoom=e,Object.freeze=R,t.version="1.5.1+HEAD.2e3e0ff",t.Control=I,t.control=Ue,t.Browser=mt,t.Evented=nt,t.Mixin=zt,t.Util=et,t.Class=it,t.Handler=n,t.extend=h,t.bind=_,t.stamp=p,t.setOptions=s,t.DomEvent=wt,t.DomUtil=vt,t.PosAnimation=Fe,t.Draggable=Qe,t.LineUtil=St,t.PolyUtil=pt,t.Point=m,t.point=l,t.Bounds=f,t.bounds=c,t.Transformation=ht,t.transformation=ut,t.Projection=It,t.LatLng=v,t.latLng=x,t.LatLngBounds=d,t.latLngBounds=g,t.CRS=st,t.GeoJSON=wi,t.geoJSON=Si,t.geoJson=rt,t.Layer=O,t.LayerGroup=li,t.layerGroup=function(t,e){return new li(t,e)},t.FeatureGroup=ci,t.featureGroup=function(t){return new ci(t)},t.ImageOverlay=Zi,t.imageOverlay=function(t,e,i){return new Zi(t,e,i)},t.VideoOverlay=Ei,t.videoOverlay=function(t,e,i){return new Ei(t,e,i)},t.SVGOverlay=ki,t.svgOverlay=function(t,e,i){return new ki(t,e,i)},t.DivOverlay=Bi,t.Popup=Ai,t.popup=function(t,e){return new Ai(t,e)},t.Tooltip=Ii,t.tooltip=function(t,e){return new Ii(t,e)},t.Icon=_i,t.icon=function(t){return new _i(t)},t.DivIcon=Oi,t.divIcon=function(t){return new Oi(t)},t.Marker=mi,t.marker=function(t,e){return new mi(t,e)},t.TileLayer=Ni,t.tileLayer=Di,t.GridLayer=Ri,t.gridLayer=function(t){return new Ri(t)},t.SVG=qi,t.svg=Gi,t.Renderer=Wi,t.Canvas=Hi,t.canvas=Fi,t.Path=fi,t.CircleMarker=gi,t.circleMarker=function(t,e){return new gi(t,e)},t.Circle=vi,t.circle=function(t,e,i){return new vi(t,e,i)},t.Polyline=yi,t.polyline=function(t,e){return new yi(t,e)},t.Polygon=xi,t.polygon=function(t,e){return new xi(t,e)},t.Rectangle=Ki,t.rectangle=function(t,e){return new Ki(t,e)},t.Map=A,t.map=function(t,e){return new A(t,e)},window.L);t.noConflict=function(){return window.L=Yi,this},window.L=t});;var $usermenu=$(".menu-user-wrapper"),$searchfilters=($usermenu.responsiveDom({appendTo:".menu-user-mobile",mediaQuery:"(max-width: 1200px)"}),$(".search-results-filters"));function isIE(){var e=window.navigator.userAgent,t=e.indexOf("MSIE "),e=e.indexOf("Trident/");return 0<t||0<e}function getZoomBrowser(){var i,s,c,t,n,d,e=-1<navigator.userAgent.toLowerCase().indexOf("firefox"),o=(i="min--moz-device-pixel-ratio",s="",u=0,o=10,r=20,c=1e-4,d=window.matchMedia||(a=document.getElementsByTagName("head")[0],t=document.createElement("style"),a.appendChild(t),(n=document.createElement("div")).className="mediaQueryBinarySearch",n.style.display="none",document.body.appendChild(n),function(e){t.sheet.insertRule("@media "+e+"{.mediaQueryBinarySearch {text-decoration: underline} }",0);e="underline"==getComputedStyle(n,null).textDecoration;return t.sheet.deleteRule(0),{matches:e}}),u=function e(t,n,o){var r=(t+n)/2;if(o<=0||n-t<c)return r;var a="("+i+":"+r+s+")";return d(a).matches?e(r,n,o-1):e(t,r,o-1)}(u,o,r),n&&(a.removeChild(t),document.body.removeChild(n)),u),r=Math.round(100*o)/100,a=Math.round(document.documentElement.offsetHeight/window.innerHeight*100)/100,u=Math.round(window.outerWidth/window.innerWidth*100)/100;return e?r:isIE()?a:u}$searchfilters.responsiveDom({appendTo:".search-results-filters-mobile",mediaQuery:"(max-width: 992px)"}),jQuery(document).ready(function(e){e(".toggle-menu").jPushMenu({closeOnClickLink:!1,activeClass:"is-active"}),e(".close-user-menu").jPushMenu({closeOnClickLink:!1,activeClass:"is-active"}),e(".menu-mobile-close").click(function(){e(".push-body").removeClass("push-body-search"),e(".push-body").removeClass("push-body-toleft"),e(".push-body").removeClass("push-body-toright"),e(".cbp-spmenu-search").removeClass("menu-open")}),e(document).on("click",function(){e(".push-body").removeClass("push-body-search"),e(".push-body").removeClass("push-body-toleft"),e(".push-body").removeClass("push-body-toright"),e(".cbp-spmenu-search").removeClass("menu-open")})}),$(document).ready(function(e){e(".perfect-scrollbar").perfectScrollbar(),e(".map-aside").perfectScrollbar()}
3),$(document).ready(function(){function e(){var e=$(window).scrollTop(),t=$("#main-wrapper").offset().top;Math.round(100*window.devicePixelRatio)<250?t<e?($("#main-header").addClass("is-sticky"),$("#main-wrapper").addClass("sticked-menu"),$("body").addClass("sticked-menu-body"),$(".nav-list-secondary a").attr("tabindex","-1")):($("#main-header").removeClass("is-sticky"),$("#main-wrapper").removeClass("sticked-menu"),$("body").removeClass("sticked-menu-body"),$(".nav-list-secondary a").removeAttr("tabindex")):($("#main-header").addClass("zoom"),$(".cbp-spmenu-vertical.cbp-spmenu-left").addClass("zoom"))}$(function(){$(window).scroll(e),e()})}),jQuery(window).resize(function(){250<=Math.round(100*window.devicePixelRatio)?($("#main-header").addClass("zoom"),$(".cbp-spmenu-vertical.cbp-spmenu-left").addClass("zoom")):($("#main-header").removeClass("zoom"),$(".cbp-spmenu-vertical.cbp-spmenu-left").removeClass("zoom"))}),$(document).ready(function(){$(".nav-list").length&&($(".nav-list .toggle-dropdown").on("click",function(e){$(this).next(".menu-dropdown").hasClass("active")?($(this).next(".menu-dropdown").slideUp(100),$(this).next(".menu-dropdown").removeClass("active"),$(this).removeClass("active"),$(this).attr("aria-expanded","false")):($(this).parent().parent().find(".toggle-dropdown").removeClass("active"),$(this).parent().parent().find(".toggle-dropdown").attr("aria-expanded","false"),$(this).addClass("active"),$(this).attr("aria-expanded","true"),$(this).parent().parent().find(".menu-dropdown").removeClass("active"),$(this).parent().parent().find(".menu-dropdown").slideUp(100),$(this).next(".menu-dropdown").slideDown(100),$(this).next(".menu-dropdown").addClass("active")),e.stopPropagation(),e.preventDefault()}),$(document).click(function(e){$(".menu-dropdown").slideUp(100),$(".menu-dropdown").removeClass("active"),$(".toggle-dropdown").removeClass("active"),$(".toggle-dropdown").attr("aria-expanded","false")}),$(".menu-dropdown").click(function(e){e.stopPropagation()}))}),$(function(){$(".scroll-anchor-offset").bind("click",function(e){var t=$(this);$("html, body").stop().animate({scrollTop:$(t.attr("href")).offset().top-150},200,"easeInOutExpo"),e.preventDefault()})}),$(document).ready(function(){$(".accordion-wrapper").length&&accordion()}),document.addEventListener("DOMContentLoaded",function(){function e(){var e=document.querySelector(".hamburger.toggle-menu"),t=document.querySelector(".cbp-spmenu.cbp-spmenu-vertical.cbp-spmenu-left").querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])');window.matchMedia("(min-width: 1200px)").matches?(t.forEach(e=>{e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","-1")}),e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","-1")):(t.forEach(e=>{e.removeAttribute("aria-hidden"),e.removeAttribute("tabindex")}),e.removeAttribute("aria-hidden"),e.removeAttribute("tabindex"))}let t;window.addEventListener("resize",()=>{clearTimeout(t),t=setTimeout(e(),500)}),e()}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".history-carousel"),t=document.querySelector(".year-carousel");e&&t&&(e=new Splide(e,{pagination:!1,arrows:!1,perPage:3,perMove:1,gap:"1rem",speed:number=800,slideFocus:!1,breakpoints:{800:{pagination:!1,slideFocus:!1,perPage:2},520:{pagination:!1,slideFocus:!1,perPage:1}}}).mount(),t=new Splide(t,{pagination:!1,perPage:3,perMove:1,speed:number=800,cloneStatus:!1,slideFocus:!1,gap:0,breakpoints:{800:{gap:"0rem",pagination:!1,slideFocus:!1,perPage:2},520:{gap:"0rem",pagination:!1,slideFocus:!1,perPage:1}}}).mount(),e.sync(t))}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".splide-double"),t=document.querySelectorAll(".carousel-cards");e.length&&e.forEach(e=>{new Splide(e,{pagination:!0,arrows:!0,gap:"2rem",perPage:2,perMove:1,speed:number=800,slideFocus:!1,breakpoints:{1300:{arrows:!1,pagination:!0,slideFocus:!1},768:{perPage:1,arrows:!1,pagination:!0,slideFocus:!1}}}).mount()}
3),t.length&&t.forEach(e=>{new Splide(e,{destroy:!0,breakpoints:{992:{destroy:!1,arrows:!1,pagination:!1,perPage:2,perMove:1,speed:number=800,slideFocus:!1,gap:"2rem"},600:{slideFocus:!1,pagination:!1,arrows:!1,perPage:1}}}).mount()})}),document.addEventListener("DOMContentLoaded",function(){const e=document.querySelectorAll(".carousel-classroom"),t=document.querySelectorAll(".simple-two-carousel"),n=document.querySelectorAll(".inside-carousel");e.length&&setTimeout(()=>{e.forEach(e=>{new Splide(e,{gap:"1.5rem",arrows:!0,pagination:!1,slideFocus:!1,perMove:1,perPage:3,padding:{left:"200px",right:"200px"},breakpoints:{1200:{slideFocus:!1,perPage:2,padding:{left:"120px",right:"120px"}},768:{slideFocus:!1,padding:{left:"120px",right:"120px"}},550:{slideFocus:!1,gap:"0.5rem",perPage:1,padding:{left:"80px",right:"80px"}}}}).mount()})},600),t.length&&setTimeout(()=>{t.forEach(e=>{new Splide(e,{gap:"2rem",arrows:!0,perPage:2,perMove:1,pagination:!1,slideFocus:!1,breakpoints:{1300:{arrows:!1,slideFocus:!1},768:{arrows:!1,slideFocus:!1,perPage:1,perMove:1}}}).mount()})},800),n.length&&setTimeout(()=>{n.forEach(e=>{new Splide(e,{gap:"50px",arrows:!0,perPage:2,slideFocus:!1,perMove:1,padding:{left:"50px",right:"50px"},breakpoints:{1300:{slideFocus:!1,arrows:!1,padding:{left:"0",right:"0"}},768:{arrows:!1,slideFocus:!1,padding:{left:"0",right:"0"},perPage:1,perMove:1}}}).mount()})},800)}),$(".responsive-tabs").responsiveTabs({startCollapsed:"accordion"}),$(document).ready(function(){$(".video-container ").fitVids()}),jQuery(document).ready(function(e){function t(){jQuery(".sticky-sidebar").stick_in_parent({parent:".sticky-sidebar-container",offset_top:100}),jQuery(".sticky-sidebar").on("sticky_kit:bottom",function(e){jQuery(this).parent().css("position","static")}).on("sticky_kit:unbottom",function(e){jQuery(this).parent().css("position","relative")})}e(".sticky-sidebar").length&&(jQuery(window).width()<992?jQuery(".sticky-sidebar").trigger("sticky_kit:detach"):t(),jQuery(window).resize(function(){jQuery(window).width()<992?jQuery(".sticky-sidebar").trigger("sticky_kit:detach"):t()}))}),$(document).ready(function(){$(".dropdown-toggle").length&&($(".dropdown-toggle").click(function(e){}),$(document).click(function(e){$(".dropdown-toggle").removeClass("show")}))}),$(document).ready(function(){(document.querySelector(".skiplink")?.querySelector('[href="#menu-principale"]')).addEventListener("click",()=>{var e=document.querySelector(".sticky-main-nav");setTimeout(()=>{e.querySelector("#menu-principale a").focus()},100)})}),$(document).ready(function(){function e(){var e=$(window).scrollTop(),t=$("#main-wrapper").offset().top,n=document.querySelector(".sticky-main-nav"),o=document.querySelector("#sub-nav .nav-container"),r=document.querySelector("#sub-nav .nav-container .main-nav"),a=document.querySelector(".header-bottom .dl-menu.nav-list-primary"),i=document.querySelector(".header-top .sticky-main-nav .main-nav"),s=document.querySelectorAll(".sticky-main-nav a");window.matchMedia("(min-width: 1200px)").matches&&(s.forEach(e=>{e.removeAttribute("tabindex")}),t<e?($(".header-utils-wrapper").addClass("utils-moved"),i||n.insertAdjacentElement("afterbegin",r)):($(".header-utils-wrapper").removeClass("utils-moved"),a||o?.insertAdjacentElement("afterbegin",i)))}var t,o,n;$(function(){$(window).scroll(e),e()}),t=document.querySelector(".cbp-spmenu-vertical.cbp-spmenu-left"),o=document.querySelectorAll(".cbp-spmenu-vertical.cbp-spmenu-left a"),new MutationObserver(function(e,t){for(const n of e)"attributes"===n.type&&(n.target.classList.contains("menu-open")?(o.forEach(e=>{e.removeAttribute("tabindex")}),function(a){document.addEventListener("keydown",e=>{var t=document.querySelector(".toggle-user-menu-mobile"),n=document.querySelector('[data-target="#access-modal"]'),o=document.querySelector(".hamburger.is-active"),r=document.querySelector(".logo-header a");9!=e.which||e.shiftKey||document.activeElement!=a[a.length-1]||(t||n).focus(),9==e.which&&e.shiftKey&&document.activeElement===o&&r.focus()})}(o)):o.forEach(e=>{e.setAttribute("tabindex","-1")}))}).observe(t,{attributes:!0}),window.addEventListener("resize",function(){clearTimeout(n),n=setTimeout(e,200)})}),$(document).ready(function(){$(".match-height").length&&$(function(){$(".match-height").matchHeight()})});const searchModal=document.querySelector("#search-modal");function initCleanInput(){if(searchModal){const e=searchModal.querySelector(".search-form #search-input"),t=searchModal.querySelector(".search-form .clean-input");e?.addEventListener("input",()=>{0<e.value.length?t.classList.add("show"):t.classList.remove("show")}),t.addEventListener("click",()=>{e.value="",t.classList.remove("show")})}}
3function closeUserMenu(){var e=document.querySelector(".close-user-menu"),t=document.querySelector("body"),n=document.querySelector(".cbp-spmenu-right");e?.addEventListener("click",()=>{t.classList.remove("push-body-toleft"),n.classList.remove("menu-open")})}function tabIndexUser(){var e=document.querySelector(".cbp-spmenu-vertical.cbp-spmenu-right"),o=document.querySelectorAll(".cbp-spmenu-vertical.cbp-spmenu-right a"),r=document.querySelectorAll(".cbp-spmenu-vertical.cbp-spmenu-right button");new MutationObserver(function(e,t){for(const n of e)"attributes"===n.type&&(n.target.classList.contains("menu-open")?(o.forEach(e=>{e.removeAttribute("tabindex")}),r.forEach(e=>{e.removeAttribute("tabindex")}),catchFocusUser(o,r)):(o.forEach(e=>{e.setAttribute("tabindex","-1")}),r.forEach(e=>{e.setAttribute("tabindex","-1")})))}).observe(e,{attributes:!0})}function catchFocusUser(o,r){document.addEventListener("keydown",e=>{var t=document.querySelector(".toggle-user-menu-mobile"),n=document.querySelector(".hamburger");9!=e.which||e.shiftKey||document.activeElement!=o[o.length-1]||t.focus(),9==e.which&&e.shiftKey&&document.activeElement==r[0]&&n.focus()})}initCleanInput(),closeUserMenu(),tabIndexUser(),$(".dsi_more").on("click",function(){"Visualizza altro"==$(this).text()?$(this).text("Visualizza meno"):$(this).text("Visualizza altro")});;(()=>{"use strict";var t={6691(t,r,e){var n=e(884);e(6401),e(1202),e(3275),e(465),t.exports=n},7661(t,r,e){var n=e(6848);t.exports=n},9281(t,r,e){e(8706),e(6099),e(2675),e(4113),e(6412),e(9463),e(7324),e(193),e(2168),e(2259),e(6964),e(3142),e(3237),e(1833),e(7947),e(1073),e(5700),e(8125),e(326),e(4731),e(479),e(5472);var n=e(9167);t.exports=n.Symbol},2151(t,r,e){e(3792),e(6099),e(7764),e(2259);var n=e(1951);t.exports=n.f("iterator")},2440(t,r,e){e(7414)},6004(t,r,e){e(1750)},7414(t,r,e){var n=e(6691);e(3070),e(3032),e(9604),e(2793),e(7153),e(3803),e(3976),e(8999),e(7208),e(3440),t.exports=n},1750(t,r,e){var n=e(7661);t.exports=n},9306(t,r,e){var n=e(4901),o=e(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},3506(t,r,e){var n=e(3925),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},6469(t,r,e){var n=e(8227),o=e(2360),i=e(4913).f,a=n("unscopables"),u=Array.prototype;void 0===u[a]&&i(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},8551(t,r,e){var n=e(34),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},9617(t,r,e){var n=e(5397),o=e(5610),i=e(6198),a=function(t){return function(r,e,a){var u=n(r),c=i(u);if(0===c)return!t&&-1;var s,f=o(a,c);if(t&&e!=e){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9213(t,r,e){var n=e(6080),o=e(7055),i=e(8981),a=e(6198),u=e(1469),c=e(4659),s=function(t){var r=1===t,e=2===t,s=3===t,f=4===t,l=6===t,p=7===t,v=5===t||l;return function(y,b,g){for(var h,d,m=i(y),S=o(m),x=a(S),w=n(b,g),O=0,j=0,A=r?u(y,x):e||p?u(y,0):void 0;x>O;O++)if((v||O in S)&&(d=w(h=S[O],O,m),t))if(r)c(A,O,d);else if(d)switch(t){case 3:return!0;case 5:return h;case 6:return O;case 2:c(A,j++,h)}else switch(t){case 4:return!1;case 7:c(A,j++,h)}return l?-1:s||f?f:A}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597(t,r,e){var n=e(9039),o=e(8227),i=e(9519),a=o("species");t.exports=function(t){return i>=51||!n(function(){var r=[];return(r.constructor={})[a]=function(){return{foo:1}},1!==r[t](Boolean).foo})}},4527(t,r,e){var n=e(3724),o=e(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,r){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r}},7680(t,r,e){var n=e(9504);t.exports=n([].slice)},7433(t,r,e){var n=e(4376),o=e(3517),i=e(34),a=e(8227)("species"),u=Array;t.exports=function(t){var r;return n(t)&&(r=t.constructor,(o(r)&&(r===u||n(r.prototype))||i(r)&&null===(r=r[a]))&&(r=void 0)),void 0===r?u:r}},1469(t,r,e){var n=e(7433);t.exports=function(t,r){return new(n(t))(0===r?0:r)}},2195(t,r,e){var n=e(9504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}}
vendor: 13,199 bytes, line 3
3,6955(t,r,e){var n=e(2140),o=e(4901),i=e(2195),a=e(8227)("toStringTag"),u=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=u(t),a))?e:c?i(r):"Object"===(n=i(r))&&o(r.callee)?"Arguments":n}},7740(t,r,e){var n=e(9297),o=e(5031),i=e(7347),a=e(4913);t.exports=function(t,r,e){for(var u=o(r),c=a.f,s=i.f,f=0;f<u.length;f++){var l=u[f];n(t,l)||e&&n(e,l)||c(t,l,s(r,l))}}},2211(t,r,e){var n=e(9039);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2529(t){t.exports=function(t,r){return{value:t,done:r}}},6699(t,r,e){var n=e(3724),o=e(4913),i=e(6980);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},6980(t){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},4659(t,r,e){var n=e(3724),o=e(4913),i=e(6980);t.exports=function(t,r,e){n?o.f(t,r,i(0,e)):t[r]=e}},2106(t,r,e){var n=e(283),o=e(4913);t.exports=function(t,r,e){return e.get&&n(e.get,r,{getter:!0}),e.set&&n(e.set,r,{setter:!0}),o.f(t,r,e)}},6840(t,r,e){var n=e(4901),o=e(4913),i=e(283),a=e(9433);t.exports=function(t,r,e,u){u||(u={});var c=u.enumerable,s=void 0!==u.name?u.name:r;if(n(e)&&i(e,s,u),u.global)c?t[r]=e:a(r,e);else{try{u.unsafe?t[r]&&(c=!0):delete t[r]}catch(t){}c?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},9433(t,r,e){var n=e(4576),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},3724(t,r,e){var n=e(9039);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055(t,r,e){var n=e(4576),o=e(34),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},6837(t){var r=TypeError;t.exports=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}},7400(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296(t,r,e){var n=e(4055)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},8727(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839(t,r,e){var n=e(4576).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},9519(t,r,e){var n,o,i=e(4576),a=e(2839),u=i.process,c=i.Deno,s=u&&u.versions||c&&c.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},6518(t,r,e){var n=e(4576),o=e(7347).f,i=e(6699),a=e(6840),u=e(9433),c=e(7740),s=e(2796);t.exports=function(t,r){var e,f,l,p,v,y=t.target,b=t.global,g=t.stat;if(e=b?n:g?n[y]||u(y,{}):n[y]&&n[y].prototype)for(f in r){if(p=r[f],l=t.dontCallGetSet?(v=o(e,f))&&v.value:e[f],!s(b?f:y+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(e,f,p,t)}}},9039(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},8745(t,r,e){var n=e(616),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},6080(t,r,e){var n=e(7476),o=e(9306),i=e(616),a=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?a(t,r):function(){return t.apply(r,arguments)}}},616(t,r,e){var n=e(9039);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},9565(t,r,e){var n=e(616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},350(t,r,e){var n=e(3724),o=e(9297),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},6706(t,r,e){var n=e(9504),o=e(9306);t.exports=function(t,r,e){try{return n(o(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}},7476(t,r,e){var n=e(2195),o=e(9504);t.exports=function(t){if("Function"===n(t))return o(t)}},9504(t,r,e){var n=e(616),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},7751(t,r,e){var n=e(4576),o=e(4901);t.exports=function(t,r){return arguments.length<2?(e=n[t],o(e)?e:void 0):n[t]&&n[t][r];var e}},5966(t,r,e){var n=e(9306),o=e(4117);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},4576(t,r,e){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297(t,r,e){var n=e(9504),o=e(8981),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},421(t){t.exports={}},397(t,r,e){var n=e(7751);t.exports=n("document","documentElement")},5917(t,r,e){var n=e(3724),o=e(9039),i=e(4055);t.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},7055(t,r,e){var n=e(9504),o=e(9039),i=e(2195),a=Object,u=n("".split);t.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?u(t,""):a(t)}:a},3706(t,r,e){var n=e(9504),o=e(4901),i=e(7629),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},1181(t,r,e){var n,o,i,a=e(8622),u=e(4576),c=e(34),s=e(6699),f=e(9297),l=e(7629),p=e(6119),v=e(421),y="Object already initialized",b=u.TypeError,g=u.WeakMap;if(a||l.state){var h=l.state||(l.state=new g);h.get=h.get,h.has=h.has,h.set=h.set,n=function(t,r){if(h.has(t))throw new b(y);return r.facade=t,h.set(t,r),r},o=function(t){return h.get(t)||{}},i=function(t){return h.has(t)}}else{var d=p("state");v[d]=!0,n=function(t,r){if(f(t,d))throw new b(y);return r.facade=t,s(t,d,r),r},o=function(t){return f(t,d)?t[d]:{}},i=function(t){return f(t,d)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!c(r)||(e=o(r)).type!==t)throw new b("Incompatible receiver, "+t+" required");return e}}}},4376(t,r,e){var n=e(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4901(t){var r="object"==typeof document&&document.all;t.exports=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},3517(t,r,e){var n=e(9504),o=e(9039),i=e(4901),a=e(6955),u=e(7751),c=e(3706),s=function(){},f=u("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),v=!l.test(s),y=function(t){if(!i(t))return!1;try{return f(s,[],t),!0}catch(t){return!1}},b=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!p(l,c(t))}catch(t){return!0}};b.sham=!0,t.exports=!f||o(function(){var t;return y(y.call)||!y(Object)||!y(function(){t=!0})||t})?b:y},2796(t,r,e){var n=e(9039),o=e(4901),i=/#|\.prototype\./,a=function(t,r){var e=c[u(t)];return e===f||e!==s&&(o(r)?n(r):!!r)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},4117(t){t.exports=function(t){return null==t}},34(t,r,e){var n=e(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},3925(t,r,e){var n=e(34);t.exports=function(t){return n(t)||null===t}},6395(t){t.exports=!1},5810(t,r,e){var n=e(34),o=e(1181).get;t.exports=function(t){if(!n(t))return!1;var r=o(t);return!!r&&"RawJSON"===r.type}},757(t,r,e){var n=e(7751),o=e(4901),i=e(1625),a=e(7040),u=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return o(r)&&i(r.prototype,u(t))}},3994(t,r,e){var n=e(7657).IteratorPrototype,o=e(2360),i=e(6980),a=e(687),u=e(6269),c=function(){return this};t.exports=function(t,r,e,s){var f=r+" Iterator";return t.prototype=o(n,{next:i(+!s,e)}),a(t,f,!1,!0),u[f]=c,t}},1088(t,r,e){var n=e(6518),o=e(9565),i=e(6395),a=e(350),u=e(4901),c=e(3994),s=e(2787),f=e(2967),l=e(687),p=e(6699),v=e(6840),y=e(8227),b=e(6269),g=e(7657),h=a.PROPER,d=a.CONFIGURABLE,m=g.IteratorPrototype,S=g.BUGGY_SAFARI_ITERATORS,x=y("iterator"),w="keys",O="values",j="entries",A=function(){return this};t.exports=function(t,r,e,a,y,g,P){c(e,r,a);var T,E,L,F=function(t){if(t===y&&k)return k;if(!S&&t&&t in I)return I[t];switch(t){case w:case O:case j:return function(){return new e(this,t)}}return function(){return new e(this)}},C=r+" Iterator",R=!1,I=t.prototype,M=I[x]||I["@@iterator"]||y&&I[y],k=!S&&M||F(y),N="Array"===r&&I.entries||M;if(N&&(T=s(N.call(new t)))!==Object.prototype&&T.next&&(i||s(T)===m||(f?f(T,m):u(T[x])||v(T,x,A)),l(T,C,!0,!0),i&&(b[C]=A)),h&&y===O&&M&&M.name!==O&&(!i&&d?p(I,"name",O):(R=!0,k=function(){return o(M,this)})),y)if(E={values:F(O),keys:g?k:F(w),entries:F(j)},P)for(L in E)(S||R||!(L in I))&&v(I,L,E[L]);else n({target:r,proto:!0,forced:S||R},E);return i&&!P||I[x]===k||v(I,x,k,{name:y}),b[r]=k,E}},7657(t,r,e){var n,o,i,a=e(9039),u=e(4901),c=e(34),s=e(2360),f=e(2787),l=e(6840),p=e(8227),v=e(6395),y=p("iterator"),b=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):b=!0),!c(n)||a(function(){var t={};return n[y].call(t)!==t})?n={}:v&&(n=s(n)),u(n[y])||l(n,y,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:b}},6269(t){t.exports={}},6198(t,r,e){var n=e(8014);t.exports=function(t){return n(t.length)}},283(t,r,e){var n=e(9504),o=e(9039),i=e(4901),a=e(9297),u=e(3724),c=e(350).CONFIGURABLE,s=e(3706),f=e(1181),l=f.enforce,p=f.get,v=String,y=Object.defineProperty,b=n("".slice),g=n("".replace),h=n([].join),d=u&&!o(function(){return 8!==y(function(){},"length",{value:8}).length}),m=String(String).split("String"),S=t.exports=function(t,r,e){"Symbol("===b(v(r),0,7)&&(r="["+g(v(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!a(t,"name")||c&&t.name!==r)&&(u?y(t,"name",{value:r,configurable:!0}):t.name=r),d&&e&&a(e,"arity")&&t.length!==e.arity&&y(t,"length",{value:e.arity});try{e&&a(e,"constructor")&&e.constructor?u&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return a(n,"source")||(n.source=h(m,"string"==typeof r?r:"")),t};Function.prototype.toString=S(function(){return i(this)&&p(this).source||s(this)},"toString")},741(t){var r=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?e:r)(n)}},7819(t,r,e){var n=e(9039);t.exports=!n(function(){var t="9007199254740993",r=JSON.rawJSON(t);return!JSON.isRawJSON(r)||JSON.stringify(r)!==t})},2360(t,r,e){var n,o=e(8551),i=e(6801),a=e(8727),u=e(421),c=e(397),s=e(4055),f=e(6119),l="prototype",p="script",v=f("IE_PROTO"),y=function(){},b=function(t){return"<"+p+">"+t+"</"+p+">"},g=function(t){t.write(b("")),t.close();var r=t.parentWindow.Object;return t=null,r},h=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;h="undefined"!=typeof document?document.domain&&n?g(n):(r=s("iframe"),e="java"+p+":",r.style.display="none",c.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(b("document.F=Object")),t.close(),t.F):g(n);for(var o=a.length;o--;)delete h[l][a[o]];return h()};u[v]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(y[l]=o(t),e=new y,y[l]=null,e[v]=t):e=h(),void 0===r?e:i.f(e,r)}},6801(t,r,e){var n=e(3724),o=e(8686),i=e(4913),a=e(8551),u=e(5397),c=e(1072);r.f=n&&!o?Object.defineProperties:function(t,r){a(t);for(var e,n=u(r),o=c(r),s=o.length,f=0;s>f;)i.f(t,e=o[f++],n[e]);return t}},4913(t,r,e){var n=e(3724),o=e(5917),i=e(8686),a=e(8551),u=e(6969),c=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",v="writable";r.f=n?i?function(t,r,e){if(a(t),r=u(r),a(e),"function"==typeof t&&"prototype"===r&&"value"in e&&v in e&&!e[v]){var n=f(t,r);n&&n[v]&&(t[r]=e.value,e={configurable:p in e?e[p]:n[p],enumerable:l in e?e[l]:n[l],writable:!1})}return s(t,r,e)}:s:function(t,r,e){if(a(t),r=u(r),a(e),o)try{return s(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new c("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},7347(t,r,e){var n=e(3724),o=e(9565),i=e(8773),a=e(6980),u=e(5397),c=e(6969),s=e(9297),f=e(5917),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,r){if(t=u(t),r=c(r),f)try{return l(t,r)}catch(t){}if(s(t,r))return a(!o(i.f,t,r),t[r])}},298(t,r,e){var n=e(2195),o=e(5397),i=e(8480).f,a=e(7680),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];
3t.exports.f=function(t){return u&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return a(u)}}(t):i(o(t))}},8480(t,r,e){var n=e(1828),o=e(8727).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},3717(t,r){r.f=Object.getOwnPropertySymbols},2787(t,r,e){var n=e(9297),o=e(4901),i=e(8981),a=e(6119),u=e(2211),c=a("IE_PROTO"),s=Object,f=s.prototype;t.exports=u?s.getPrototypeOf:function(t){var r=i(t);if(n(r,c))return r[c];var e=r.constructor;return o(e)&&r instanceof e?e.prototype:r instanceof s?f:null}},1625(t,r,e){var n=e(9504);t.exports=n({}.isPrototypeOf)},1828(t,r,e){var n=e(9504),o=e(9297),i=e(5397),a=e(9617).indexOf,u=e(421),c=n([].push);t.exports=function(t,r){var e,n=i(t),s=0,f=[];for(e in n)!o(u,e)&&o(n,e)&&c(f,e);for(;r.length>s;)o(n,e=r[s++])&&(~a(f,e)||c(f,e));return f}},1072(t,r,e){var n=e(1828),o=e(8727);t.exports=Object.keys||function(t){return n(t,o)}},8773(t,r){var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},2967(t,r,e){var n=e(6706),o=e(34),i=e(7750),a=e(3506);
vendor: 10,330 bytes, line 3
3t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=n(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return i(e),a(n),o(e)?(r?t(e,n):e.__proto__=n,e):e}}():void 0)},3179(t,r,e){var n=e(2140),o=e(6955);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},4270(t,r,e){var n=e(9565),o=e(4901),i=e(34),a=TypeError;t.exports=function(t,r){var e,u;if("string"===r&&o(e=t.toString)&&!i(u=n(e,t)))return u;if(o(e=t.valueOf)&&!i(u=n(e,t)))return u;if("string"!==r&&o(e=t.toString)&&!i(u=n(e,t)))return u;throw new a("Can't convert object to primitive value")}},5031(t,r,e){var n=e(7751),o=e(9504),i=e(8480),a=e(3717),u=e(8551),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(u(t)),e=a.f;return e?c(r,e(t)):r}},8235(t,r,e){var n=e(9504),o=e(9297),i=SyntaxError,a=parseInt,u=String.fromCharCode,c=n("".charAt),s=n("".slice),f=n(/./.exec),l={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},p=/^[\da-f]{4}$/i,v=/^[\u0000-\u001F]$/;t.exports=function(t,r){for(var e=!0,n="";r<t.length;){var y=c(t,r);if("\\"===y){var b=s(t,r,r+2);if(o(l,b))n+=l[b],r+=2;else{if("\\u"!==b)throw new i('Unknown escape sequence: "'+b+'"');var g=s(t,r+=2,r+4);if(!f(p,g))throw new i("Bad Unicode escape at: "+r);n+=u(a(g,16)),r+=4}}else{if('"'===y){e=!1,r++;break}if(f(v,y))throw new i("Bad control character in string literal at: "+r);n+=y,r++}}if(e)throw new i("Unterminated string at: "+r);return{value:n,end:r}}},9167(t,r,e){var n=e(4576);t.exports=n},7750(t,r,e){var n=e(4117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},687(t,r,e){var n=e(4913).f,o=e(9297),i=e(8227)("toStringTag");t.exports=function(t,r,e){t&&!e&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:r})}},6119(t,r,e){var n=e(5745),o=e(3392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629(t,r,e){var n=e(6395),o=e(4576),i=e(9433),a="__core-js_shared__",u=t.exports=o[a]||i(a,{});(u.versions||(u.versions=[])).push({version:"3.48.0",mode:n?"pure":"global",copyright:"© 2013â2025 Denis Pushkarev (zloirock.ru), 2025â2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745(t,r,e){var n=e(7629);t.exports=function(t,r){return n[t]||(n[t]=r||{})}},8183(t,r,e){var n=e(9504),o=e(1291),i=e(655),a=e(7750),u=n("".charAt),c=n("".charCodeAt),s=n("".slice),f=function(t){return function(r,e){var n,f,l=i(a(r)),p=o(e),v=l.length;return p<0||p>=v?t?"":void 0:(n=c(l,p))<55296||n>56319||p+1===v||(f=c(l,p+1))<56320||f>57343?t?u(l,p):n:t?s(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},4495(t,r,e){var n=e(9519),o=e(9039),i=e(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},8242(t,r,e){var n=e(9565),o=e(7751),i=e(8227),a=e(6840);t.exports=function(){var t=o("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,u=i("toPrimitive");r&&!r[u]&&a(r,u,function(t){return n(e,this)},{arity:1})}},2586(t,r,e){var n=e(7751),o=e(9504),i=n("Symbol"),a=i.keyFor,u=o(i.prototype.valueOf);t.exports=i.isRegisteredSymbol||function(t){try{return void 0!==a(u(t))}catch(t){return!1}}},2104(t,r,e){for(var n=e(5745),o=e(7751),i=e(9504),a=e(757),u=e(8227),c=o("Symbol"),s=c.isWellKnownSymbol,f=o("Object","getOwnPropertyNames"),l=i(c.prototype.valueOf),p=n("wks"),v=0,y=f(c),b=y.length;v<b;v++)try{var g=y[v];a(c[g])&&u(g)}catch(t){}t.exports=function(t){if(s&&s(t))return!0;try{for(var r=l(t),e=0,n=f(p),o=n.length;e<o;e++)if(p[n[e]]==r)return!0}catch(t){}return!1}},1296(t,r,e){var n=e(4495);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},5610(t,r,e){var n=e(1291),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},5397(t,r,e){var n=e(7055),o=e(7750);t.exports=function(t){return n(o(t))}},1291(t,r,e){var n=e(741);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},8014(t,r,e){var n=e(1291),o=Math.min;t.exports=function(t){var r=n(t);return r>0?o(r,9007199254740991):0}},8981(t,r,e){var n=e(7750),o=Object;t.exports=function(t){return o(n(t))}},2777(t,r,e){var n=e(9565),o=e(34),i=e(757),a=e(5966),u=e(4270),c=e(8227),s=TypeError,f=c("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var e,c=a(t,f);if(c){if(void 0===r&&(r="default"),e=n(c,t,r),!o(e)||i(e))return e;throw new s("Can't convert object to primitive value")}return void 0===r&&(r="number"),u(t,r)}},6969(t,r,e){var n=e(2777),o=e(757);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},2140(t,r,e){var n={};n[e(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},655(t,r,e){var n=e(6955),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},6823(t){var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},3392(t,r,e){var n=e(9504),o=0,i=Math.random(),a=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},7040(t,r,e){var n=e(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686(t,r,e){var n=e(3724),o=e(9039);t.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8622(t,r,e){var n=e(4576),o=e(4901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},511(t,r,e){var n=e(9167),o=e(9297),i=e(1951),a=e(4913).f;t.exports=function(t){var r=n.Symbol||(n.Symbol={});o(r,t)||a(r,t,{value:i.f(t)})}},1951(t,r,e){var n=e(8227);r.f=n},8227(t,r,e){var n=e(4576),o=e(5745),i=e(9297),a=e(3392),u=e(4495),c=e(7040),s=n.Symbol,f=o("wks"),l=c?s.for||s:s&&s.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=u&&i(s,t)?s[t]:l("Symbol."+t)),f[t]}},8706(t,r,e){var n=e(6518),o=e(9039),i=e(4376),a=e(34),u=e(8981),c=e(6198),s=e(6837),f=e(4659),l=e(4527),p=e(1469),v=e(597),y=e(8227),b=e(9519),g=y("isConcatSpreadable"),h=b>=51||!o(function(){var t=[];return t[g]=!1,t.concat()[0]!==t}),d=function(t){if(!a(t))return!1;var r=t[g];return void 0!==r?!!r:i(t)};n({target:"Array",proto:!0,arity:1,forced:!h||!v("concat")},{concat:function(t){var r,e,n,o,i,a=u(this),v=p(a,0),y=0;for(r=-1,n=arguments.length;r<n;r++)if(d(i=-1===r?a:arguments[r]))for(o=c(i),s(y+o),e=0;e<o;e++,y++)e in i&&f(v,y,i[e]);else s(y+1),f(v,y++,i);return l(v,y),v}})},3792(t,r,e){var n=e(5397),o=e(6469),i=e(6269),a=e(1181),u=e(4913).f,c=e(1088),s=e(2529),f=e(6395),l=e(3724),p="Array Iterator",v=a.set,y=a.getterFor(p);t.exports=c(Array,"Array",function(t,r){v(this,{type:p,target:n(t),index:0,kind:r})},function(){var t=y(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,s(void 0,!0);switch(t.kind){case"keys":return s(e,!1);case"values":return s(r[e],!1)}return s([e,r[e]],!1)},"values");var b=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==b.name)try{u(b,"name",{value:"values"})}catch(t){}},3110(t,r,e){var n=e(6518),o=e(7751),i=e(8745),a=e(9565),u=e(9504),c=e(9039),s=e(4376),f=e(4901),l=e(5810),p=e(757),v=e(2195),y=e(655),b=e(7680),g=e(8235),h=e(3392),d=e(4495),m=e(7819),S=String,x=o("JSON","stringify"),w=u(/./.exec),O=u("".charAt),j=u("".charCodeAt),A=u("".replace),P=u("".slice),T=u([].push),E=u(1.1.toString),L=/[\uD800-\uDFFF]/g,F=/^[\uD800-\uDBFF]$/,C=/^[\uDC00-\uDFFF]$/,R=h(),I=R.length,M=!d||c(function(){var t=o("Symbol")("stringify detection");return"[null]"!==x([t])||"{}"!==x({a:t})||"{}"!==x(Object(t))}),k=c(function(){return'"\\udf06\\ud834"'!==x("\udf06\ud834")||'"\\udead"'!==x("\udead")}),N=M?function(t,r){var e=b(arguments),n=_(r);if(f(n)||void 0!==t&&!p(t))return e[1]=function(t,r){if(f(n)&&(r=a(n,this,S(t),r)),!p(r))return r},i(x,null,e)}:x,D=function(t,r,e){var n=O(e,r-1),o=O(e,r+1);return w(F,t)&&!w(C,o)||w(C,t)&&!w(F,n)?"\\u"+E(j(t,0),16):t},_=function(t){if(f(t))return t;if(s(t)){for(var r=t.length,e=[],n=0;n<r;n++){var o=t[n];"string"==typeof o?T(e,o):"number"!=typeof o&&"Number"!==v(o)&&"String"!==v(o)||T(e,y(o))}var i=e.length,a=!0;return function(t,r){if(a)return a=!1,r;if(s(this))return r;for(var n=0;n<i;n++)if(e[n]===t)return r}}};x&&n({target:"JSON",stat:!0,arity:3,forced:M||k||!m},{stringify:function(t,r,e){var n=_(r),o=[],i=N(t,function(t,r){var e=f(n)?a(n,this,S(t),r):r;return!m&&l(e)?R+(T(o,e.rawJSON)-1):e},e);if("string"!=typeof i)return i;if(k&&(i=A(i,L,D)),m)return i;for(var u="",c=i.length,s=0;s<c;s++){var p=O(i,s);if('"'===p){var v=g(i,++s).end-1,y=P(i,s,v);u+=P(y,0,I)===R?o[P(y,I)]:'"'+y+'"',s=v}else u+=p}return u}})},4731(t,r,e){var n=e(4576);e(687)(n.JSON,"JSON",!0)},479(t,r,e){e(687)(Math,"Math",!0)},9773(t,r,e){var n=e(6518),o=e(4495),i=e(9039),a=e(3717),u=e(8981);n({target:"Object",stat:!0,forced:!o||i(function(){a.f(1)})},{getOwnPropertySymbols:function(t){var r=a.f;return r?r(u(t)):[]}})},6099(t,r,e){var n=e(2140),o=e(6840),i=e(3179);n||o(Object.prototype,"toString",i,{unsafe:!0})},5472(t,r,e){var n=e(6518),o=e(4576),i=e(687);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},7764(t,r,e){var n=e(8183).charAt,o=e(655),i=e(1181),a=e(1088),u=e(2529),c="String Iterator",s=i.set,f=i.getterFor(c);a(String,"String",function(t){s(this,{type:c,string:o(t),index:0})},function(){var t,r=f(this),e=r.string,o=r.index;return o>=e.length?u(void 0,!0):(t=n(e,o),r.index+=t.length,u(t,!1))})},4113(t,r,e){var n=e(4576),o=e(511),i=e(4913).f,a=e(7347).f,u=n.Symbol;if(o("asyncDispose"),u){var c=a(u,"asyncDispose");c.enumerable&&c.configurable&&c.writable&&i(u,"asyncDispose",{value:c.value,enumerable:!1,configurable:!1,writable:!1})}},6412(t,r,e){e(511)("asyncIterator")},6761(t,r,e){var n=e(6518),o=e(4576),i=e(9565),a=e(9504),u=e(6395),c=e(3724),s=e(4495),f=e(9039),l=e(9297),p=e(1625),v=e(8551),y=e(5397),b=e(6969),g=e(655),h=e(6980),d=e(2360),m=e(1072),S=e(8480),x=e(298),w=e(3717),O=e(7347),j=e(4913),A=e(6801),P=e(8773),T=e(6840),E=e(2106),L=e(5745),F=e(6119),C=e(421),R=e(3392),I=e(8227),M=e(1951),k=e(511),N=e(8242),D=e(687),_=e(1181),G=e(9213).forEach,B=F("hidden"),J="Symbol",U="prototype",W=_.set,z=_.getterFor(J),$=Object[U],V=o.Symbol,K=V&&V[U],q=o.RangeError,H=o.TypeError,Y=o.QObject,X=O.f,Q=j.f,Z=x.f,tt=P.f,rt=a([].push),et=L("symbols"),nt=L("op-symbol
3s"),ot=L("wks"),it=!Y||!Y[U]||!Y[U].findChild,at=function(t,r,e){var n=X($,r);n&&delete $[r],Q(t,r,e),n&&t!==$&&Q($,r,n)},ut=c&&f(function(){return 7!==d(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a})?at:Q,ct=function(t,r){var e=et[t]=d(K);return W(e,{type:J,tag:t,description:r}),c||(e.description=r),e},st=function(t,r,e){t===$&&st(nt,r,e),v(t);var n=b(r);return v(e),l(et,n)?(e.enumerable?(l(t,B)&&t[B][n]&&(t[B][n]=!1),e=d(e,{enumerable:h(0,!1)})):(l(t,B)||Q(t,B,h(1,d(null))),t[B][n]=!0),ut(t,n,e)):Q(t,n,e)},ft=function(t,r){v(t);var e=y(r),n=m(e).concat(yt(e));return G(n,function(r){c&&!i(lt,e,r)||st(t,r,e[r])}),t},lt=function(t){var r=b(t),e=i(tt,this,r);return!(this===$&&l(et,r)&&!l(nt,r))&&(!(e||!l(this,r)||!l(et,r)||l(this,B)&&this[B][r])||e)},pt=function(t,r){var e=y(t),n=b(r);if(e!==$||!l(et,n)||l(nt,n)){var o=X(e,n);return!o||!l(et,n)||l(e,B)&&e[B][n]||(o.enumerable=!0),o}},vt=function(t){var r=Z(y(t)),e=[];return G(r,function(t){l(et,t)||l(C,t)||rt(e,t)}),e},yt=function(t){var r=t===$,e=Z(r?nt:y(t)),n=[];return G(e,function(t){!l(et,t)||r&&!l($,t)||rt(n,et[t])}),n};s||(V=function(){if(p(K,this))throw new H("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,r=R(t),e=function(t){var n=void 0===this?o:this;n===$&&i(e,nt,t),l(n,B)&&l(n[B],r)&&(n[B][r]=!1);var a=h(1,t);try{ut(n,r,a)}catch(t){if(!(t instanceof q))throw t;at(n,r,a)}};return c&&it&&ut($,r,{configurable:!0,set:e}),ct(r,t)},T(K=V[U],"toString",function(){return z(this).tag}),T(V,"withoutSetter",function(t){return ct(R(t),t)}),P.f=lt,j.f=st,A.f=ft,O.f=pt,S.f=x.f=vt,w.f=yt,M.f=function(t){return ct(I(t),t)},c&&(E(K,"description",{configurable:!0,get:function(){return z(this).description}}),u||T($,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:V}),G(m(ot),function(t){k(t)}),n({target:J,stat:!0,forced:!s},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!c},{create:function(t,r){return void 0===r?d(t):ft(d(t),r)},defineProperty:st,defineProperties:ft,getOwnPropertyDescriptor:pt}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:vt}),N(),D(V,J),C[B]=!0},9463(t,r,e){var n=e(6518),o=e(3724),i=e(4576),a=e(9504),u=e(9297),c=e(4901),s=e(1625),f=e(655),l=e(2106),p=e(7740),v=i.Symbol,y=v&&v.prototype;if(o&&c(v)&&(!("description"in y)||void 0!==v().description)){var b={},g=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),r=s(y,this)?new v(t):void 0===t?v():v(t);return""===t&&(b[r]=!0),r};p(g,v),g.prototype=y,y.constructor=g;var h="Symbol(description detection)"===String(v("description detection")),d=a(y.valueOf),m=a(y.toString),S=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),w=a("".slice);l(y,"description",{configurable:!0,get:function(){var t=d(this);if(u(b,t))return"";var r=m(t),e=h?w(r,7,-1):x(r,S,"$1");return""===e?void 0:e}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g})}},7324(t,r,e){var n=e(4576),o=e(511),i=e(4913).f,a=e(7347).f,u=n.Symbol;if(o("dispose"),u){var c=a(u,"dispose");c.enumerable&&c.configurable&&c.writable&&i(u,"dispose",{value:c.value,enumerable:!1,configurable:!1,writable:!1})}},1510(t,r,e){var n=e(6518),o=e(7751),i=e(9297),a=e(655),u=e(5745),c=e(1296),s=u("string-to-symbol-registry"),f=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var r=a(t);if(i(s,r))return s[r];var e=o("Symbol")(r);return s[r]=e,f[e]=r,e}})},193(t,r,e){e(511)("hasInstance")},2168(t,r,e){e(511)("isConcatSpreadable")},2259(t,r,e){e(511)("iterator")},2675(t,r,e){e(6761),e(1510),e(7812),e(3110),e(9773)},7812(t,r,e){var n=e(6518),o=e(9297),i=e(757),a=e(6823),u=e(5745),c=e(1296),s=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!i(t))throw new TypeError(a(t)+" is not a symbol");if(o(s,t))return s[t]}})},3142(t,r,e){e(511)("matchAll")},6964(t,r,e){e(511)("match")},3237(t,r,e){e(511)("replace")},1833(t,r,e){e(511)("search")},7947(t,r,e){e(511)("species")},1073(t,r,e){e(511)("split")},5700(t,r,e){var n=e(511),o=e(8242);n("toPrimitive"),o()},8125(t,r,e){var n=e(7751),o=e(511),i=e(687);o("toStringTag"),i(n("Symbol"),"Symbol")},326(t,r,e){e(511)("unscopables")}
3,6401(t,r,e){var n=e(8227),o=e(4913).f,i=n("metadata"),a=Function.prototype;void 0===a[i]&&o(a,i,{value:null})},1202(t,r,e){e(4113)},9604(t,r,e){e(511)("customMatcher")},3275(t,r,e){e(7324)},3070(t,r,e){e(6518)({target:"Symbol",stat:!0},{isRegisteredSymbol:e(2586)})},7153(t,r,e){e(6518)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:e(2586)})},3032(t,r,e){e(6518)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:e(2104)})},3803(t,r,e){e(6518)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:e(2104)})},3976(t,r,e){e(511)("matcher")},8999(t,r,e){e(511)("metadataKey")},465(t,r,e){e(511)("metadata")},2793(t,r,e){e(511)("observable")},7208(t,r,e){e(511)("patternMatch")},3440(t,r,e){e(511)("replaceAll")},2953(t,r,e){var n=e(4576),o=e(7400),i=e(9296),a=e(3792),u=e(6699),c=e(687),s=e(8227)("iterator"),f=a.values,l=function(t,r){if(t){if(t[s]!==f)try{u(t,s,f)}catch(r){t[s]=f}if(c(t,r,!0),o[r])for(var e in a)if(t[e]!==a[e])try{u(t,e,a[e])}catch(r){t[e]=a[e]}}};for(var p in o)l(n[p]&&n[p].prototype,p);l(i,"DOMTokenList")},884(t,r,e){var n=e(9281);e(2953),t.exports=n},6848(t,r,e){var n=e(2151);e(2953),t.exports=n}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n].call(i.exports,i,i.exports,e),i.exports}function n(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e(2440),e(6004);var o=function(t){var r,e=/#new_tab/;if("A"===(null==t||null===(r=t.tagName)||void 0===r?void 0:r.toUpperCase())&&e.test(null==t?void 0:t.getAttribute("href"))){var n=t.getAttribute("rel");(!n||n.indexOf("noopener")<0)&&t.setAttribute("rel","".concat(n?n+" ":"","noopener")),t.setAttribute("target","_blank"),t.setAttribute("aria-label","".concat(t.innerText," (opens in a new tab)")),t.setAttribute("href",t.getAttribute("href").replace(e,""))}};(function(t){var r=t.Element.prototype;"function"!=typeof r.matches&&(r.matches=r.msMatchesSelector||r.mozMatchesSelector||r.webkitMatchesSelector||function(t){for(var r=this,e=(r.document||r.ownerDocument).querySelectorAll(t),n=0;e[n]&&e[n]!==r;)++n;return Boolean(e[n])}),"function"!=typeof r.closest&&(r.closest=function(t){for(var r=this;r&&1===r.nodeType;){if(r.matches(t))return r;r=r.parentNode}return null})})(window),document.addEventListener("click",function(t){return o(t.target.closest("a"))}),document.addEventListener("DOMContentLoaded",function(){var t,r=function(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(t){if("string"==typeof t)return n(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?n(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==e.return||e.return()}finally{if(c)throw a}}}}(document.getElementsByTagName("A"));try{for(r.s();!(t=r.n()).done;){var e=t.value;o(e)}}catch(t){r.e(t)}finally{r.f()}})})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.