vendor: 6,481 bytes, line 1
1!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";var n=[],i=Object.getPrototypeOf,o=n.slice,r=n.flat?function(t){return n.flat.call(t)}:function(t){return n.concat.apply([],t)},s=n.push,a=n.indexOf,l={},c=l.toString,h=l.hasOwnProperty,u=h.toString,d=u.call(Object),p={},f=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},m=function(t){return null!=t&&t===t.window},_=t.document,g={type:!0,src:!0,nonce:!0,noModule:!0};function y(t,e,n){var i,o,r=(n=n||_).createElement("script");if(r.text=t,e)for(i in g)(o=e[i]||e.getAttribute&&e.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function v(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[c.call(t)]||"object":typeof t}var b=/HTML$/i,w=function(t,e){return new w.fn.init(t,e)};function x(t){var e=!!t&&"length"in t&&t.length,n=v(t);return!f(t)&&!m(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function C(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}w.fn=w.prototype={jquery:"3.7.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(t){return null==t?o.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=w.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return w.each(this,t)},map:function(t){return this.pushStack(w.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(w.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var t,e,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||f(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&s!==i&&(c&&i&&(w.isPlainObject(i)||(o=Array.isArray(i)))?(n=s[e],r=o&&!Array.isArray(n)?[]:o||w.isPlainObject(n)?n:{},o=!1,s[e]=w.extend(c,r,i)):void 0!==i&&(s[e]=i));return s},w.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==c.call(t))&&(!(e=i(t))||"function"==typeof(n=h.call(e,"constructor")&&e.constructor)&&u.call(n)===d)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){y(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(x(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},text:function(t){var e,n="",i=0,o=t.nodeType;if(!o)for(;e=t[i++];)n+=w.text(e);return 1===o||11===o?t.textContent:9===o?t.documentElement.textContent:3===o||4===o?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(x(Object(t))?w.merge(n,"string"==typeof t?[t]:t):s.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:a.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!b.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,r=t.length,s=!n;o<r;o++)!e(t[o],o)!==s&&i.push(t[o]);return i},map:function(t,e,n){var i,o,s=0,a=[];if(x(t))for(i=t.length;s<i;s++)null!=(o=e(t[s],s,n))&&a.push(o);else for(s in t)null!=(o=e(t[s],s,n))&&a.push(o);return r(a)},guid:1,support:p}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){l["[object "+e+"]"]=e.toLowerCase()});var T=n.pop,L=n.sort,E=n.splice,S="[\\x20\\t\\r\\n\\f]",P=new RegExp("^"+S+"+|((?:^|[^\\\\])(?:\\\\.)*)"+S+"+$","g");w.contains=function(t,e){var n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))};var M=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function k(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}w.escapeSelector=function(t){return(t+"").replace(M,k)};var N=_,O=s;!function(){var e,i,r,s,l,c,u,d,f,m,_=O,g=w.expando,y=0,v=0,b=tt(),x=tt(),M=tt(),k=tt(),A=function(t,e){return t===e&&(l=!0),0},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="(?:\\\\[\\da-fA-F]{1,6}"+S+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",j="\\["+S+"*("+I+")(?:"+S+"*([*^$|!~]?=)"+S+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+S+"*\\]",z=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+j+")*)|.*)\\)|)",B=new RegExp(S+"+","g"),R=new RegExp("^"+S+"*,"+S+"*"),$=new RegExp("^"+S+"*([>+~]|"+S+")"+S+"*"),F=new RegExp(S+"|>"),H=new RegExp(z),Z=new RegExp("^"+I+"$"),U={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),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("^(?:"+D+")$","i"),needsContext:new RegExp("^"+S+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+S+"*((?:-\\d)?\\d*)"+S+"*\\)|)(?=[^-]|$)","i")},q=/^(?:input|select|textarea|button)$/i,W=/^h\d$/i,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,V=/[+~]/,X=new RegExp("\\\\[\\da-fA-F]{1,6}"+S+"?|\\\\([^\\r\\n\\f])","g"),Y=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},K=function(){lt()},J=dt(function(t){return!0===t.disabled&&C(t,"fieldset")},{dir:"parentNode",next:"legend"});try{_.apply(n=o.call(N.childNodes),N.childNodes),n[N.childNodes.length].nodeType}catch(t){_={apply:function(t,e){O.apply(t,o.call(e))}
vendor: 6,619 bytes, line 1
1,call:function(t){O.apply(t,o.call(arguments,1))}}}function Q(t,e,n,i){var o,r,s,a,l,h,u,m=e&&e.ownerDocument,y=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==y&&9!==y&&11!==y)return n;if(!i&&(lt(e),e=e||c,d)){if(11!==y&&(l=G.exec(t)))if(o=l[1]){if(9===y){if(!(s=e.getElementById(o)))return n;if(s.id===o)return _.call(n,s),n}else if(m&&(s=m.getElementById(o))&&Q.contains(e,s)&&s.id===o)return _.call(n,s),n}else{if(l[2])return _.apply(n,e.getElementsByTagName(t)),n;if((o=l[3])&&e.getElementsByClassName)return _.apply(n,e.getElementsByClassName(o)),n}if(!(k[t+" "]||f&&f.test(t))){if(u=t,m=e,1===y&&(F.test(t)||$.test(t))){for((m=V.test(t)&&at(e.parentNode)||e)==e&&p.scope||((a=e.getAttribute("id"))?a=w.escapeSelector(a):e.setAttribute("id",a=g)),r=(h=ht(t)).length;r--;)h[r]=(a?"#"+a:":scope")+" "+ut(h[r]);u=h.join(",")}try{return _.apply(n,m.querySelectorAll(u)),n}catch(e){k(t,!0)}finally{a===g&&e.removeAttribute("id")}}}return yt(t.replace(P,"$1"),e,n,i)}function tt(){var t=[];return function e(n,o){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function et(t){return t[g]=!0,t}function nt(t){var e=c.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function it(t){return function(e){return C(e,"input")&&e.type===t}}function ot(t){return function(e){return(C(e,"input")||C(e,"button"))&&e.type===t}}function rt(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&&J(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function st(t){return et(function(e){return e=+e,et(function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function at(t){return t&&void 0!==t.getElementsByTagName&&t}function lt(t){var e,n=t?t.ownerDocument||t:N;return n!=c&&9===n.nodeType&&n.documentElement?(u=(c=n).documentElement,d=!w.isXMLDoc(c),m=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&N!=c&&(e=c.defaultView)&&e.top!==e&&e.addEventListener("unload",K),p.getById=nt(function(t){return u.appendChild(t).id=w.expando,!c.getElementsByName||!c.getElementsByName(w.expando).length}),p.disconnectedMatch=nt(function(t){return m.call(t,"*")}),p.scope=nt(function(){return c.querySelectorAll(":scope")}),p.cssHas=nt(function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}}),p.getById?(i.filter.ID=function(t){var e=t.replace(X,Y);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(X,Y);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var n,i,o,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(o=e.getElementsByName(t),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),i.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},i.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&d)return e.getElementsByClassName(t)},f=[],nt(function(t){var e;u.appendChild(t).innerHTML="<a id='"+g+"' href='' disabled='disabled'></a><select id='"+g+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||f.push("\\["+S+"*(?:value|"+D+")"),t.querySelectorAll("[id~="+g+"-]").length||f.push("~="),t.querySelectorAll("a#"+g+"+*").length||f.push(".#.+[+~]"),t.querySelectorAll(":checked").length||f.push(":checked"),(e=c.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),u.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(e=c.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||f.push("\\["+S+"*name"+S+"*="+S+"*(?:''|\"\")")}),p.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),A=function(t,e){if(t===e)return l=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===n?t===c||t.ownerDocument==N&&Q.contains(N,t)?-1:e===c||e.ownerDocument==N&&Q.contains(N,e)?1:s?a.call(s,t)-a.call(s,e):0:4&n?-1:1)},c):c}for(e in Q.matches=function(t,e){return Q(t,null,null,e)},Q.matchesSelector=function(t,e){if(lt(t),d&&!k[e+" "]&&(!f||!f.test(e)))try{var n=m.call(t,e);if(n||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){k(e,!0)}return Q(e,c,null,[t]).length>0},Q.contains=function(t,e){return(t.ownerDocument||t)!=c&<(t),w.contains(t,e)},Q.attr=function(t,e){(t.ownerDocument||t)!=c&<(t);var n=i.attrHandle[e.toLowerCase()],o=n&&h.call(i.attrHandle,e.toLowerCase())?n(t,e,!d):void 0;return void 0!==o?o:t.getAttribute(e)},Q.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},w.uniqueSort=function(t){var e,n=[],i=0,r=0;if(l=!p.sortStable,s=!p.sortStable&&o.call(t,0),L.call(t,A),l){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)E.call(t,n[i],1)}return s=null,t},w.fn.uniqueSort=function(){return this.pushStack(w.uniqueSort(o.apply(this)))},(i=w.expr={cacheLength:50,createPseudo:et,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(X,Y),t[3]=(t[3]||t[4]||t[5]||"").replace(X,Y),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||Q.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&Q.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return U.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&H.test(n)&&(e=ht(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(X,Y).toLowerCase();return"*"===t?function(){return!0}:function(t){return C(t,e)}},CLASS:function(t){var e=b[t+" "];return e||(e=new RegExp("(^|"+S+")"+t+"("+S+"|$)"))&&b(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var o=Q.attr(i,t);
vendor: 5,776 bytes, line 1
1return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o.replace(B," ")+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var c,h,u,d,p,f=r!==s?"nextSibling":"previousSibling",m=e.parentNode,_=a&&e.nodeName.toLowerCase(),v=!l&&!a,b=!1;if(m){if(r){for(;f;){for(u=e;u=u[f];)if(a?C(u,_):1===u.nodeType)return!1;p=f="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&v){for(b=(d=(c=(h=m[g]||(m[g]={}))[t]||[])[0]===y&&c[1])&&c[2],u=d&&m.childNodes[d];u=++d&&u&&u[f]||(b=d=0)||p.pop();)if(1===u.nodeType&&++b&&u===e){h[t]=[y,d,b];break}}else if(v&&(b=d=(c=(h=e[g]||(e[g]={}))[t]||[])[0]===y&&c[1]),!1===b)for(;(u=++d&&u&&u[f]||(b=d=0)||p.pop())&&((a?!C(u,_):1!==u.nodeType)||!++b||(v&&((h=u[g]||(u[g]={}))[t]=[y,b]),u!==e)););return(b-=o)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,e){var n,o=i.pseudos[t]||i.setFilters[t.toLowerCase()]||Q.error("unsupported pseudo: "+t);return o[g]?o(e):o.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?et(function(t,n){for(var i,r=o(t,e),s=r.length;s--;)t[i=a.call(t,r[s])]=!(n[i]=r[s])}):function(t){return o(t,0,n)}):o}},pseudos:{not:et(function(t){var e=[],n=[],i=gt(t.replace(P,"$1"));return i[g]?et(function(t,e,n,o){for(var r,s=i(t,null,o,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))}):function(t,o,r){return e[0]=t,i(e,null,r,n),e[0]=null,!n.pop()}}),has:et(function(t){return function(e){return Q(t,e).length>0}}),contains:et(function(t){return t=t.replace(X,Y),function(e){return(e.textContent||w.text(e)).indexOf(t)>-1}}),lang:et(function(t){return Z.test(t||"")||Q.error("unsupported lang: "+t),t=t.replace(X,Y).toLowerCase(),function(e){var n;do{if(n=d?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===u},focus:function(t){return t===function(){try{return c.activeElement}catch(t){}}()&&c.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:rt(!1),disabled:rt(!0),checked:function(t){return C(t,"input")&&!!t.checked||C(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return W.test(t.nodeName)},input:function(t){return q.test(t.nodeName)},button:function(t){return C(t,"input")&&"button"===t.type||C(t,"button")},text:function(t){var e;return C(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:st(function(){return[0]}),last:st(function(t,e){return[e-1]}),eq:st(function(t,e,n){return[n<0?n+e:n]}),even:st(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:st(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:st(function(t,e,n){var i;for(i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t}),gt:st(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=it(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=ot(e);function ct(){}function ht(t,e){var n,o,r,s,a,l,c,h=x[t+" "];if(h)return e?0:h.slice(0);for(a=t,l=[],c=i.preFilter;a;){for(s in n&&!(o=R.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),n=!1,(o=$.exec(a))&&(n=o.shift(),r.push({value:n,type:o[0].replace(P," ")}),a=a.slice(n.length)),i.filter)!(o=U[s].exec(a))||c[s]&&!(o=c[s](o))||(n=o.shift(),r.push({value:n,type:s,matches:o}),a=a.slice(n.length));if(!n)break}return e?a.length:a?Q.error(t):x(t,l).slice(0)}function ut(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function dt(t,e,n){var i=e.dir,o=e.next,r=o||i,s=n&&"parentNode"===r,a=v++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||s)return t(e,n,o);return!1}:function(e,n,l){var c,h,u=[y,a];if(l){for(;e=e[i];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||s)if(h=e[g]||(e[g]={}),o&&C(e,o))e=e[i]||e;else{if((c=h[r])&&c[0]===y&&c[1]===a)return u[2]=c[2];if(h[r]=u,u[2]=t(e,n,l))return!0}return!1}}function pt(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function ft(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,c=null!=e;a<l;a++)(r=t[a])&&(n&&!n(r,i,o)||(s.push(r),c&&e.push(a)));return s}function mt(t,e,n,i,o,r){return i&&!i[g]&&(i=mt(i)),o&&!o[g]&&(o=mt(o,r)),et(function(r,s,l,c){var h,u,d,p,f=[],m=[],g=s.length,y=r||function(t,e,n){for(var i=0,o=e.length;i<o;i++)Q(t,e[i],n);return n}(e||"*",l.nodeType?[l]:l,[]),v=!t||!r&&e?y:ft(y,f,t,l,c);if(n?n(v,p=o||(r?t:g||i)?[]:s,l,c):p=v,i)for(h=ft(p,m),i(h,[],l,c),u=h.length;u--;)(d=h[u])&&(p[m[u]]=!(v[m[u]]=d));if(r){if(o||t){if(o){for(h=[],u=p.length;u--;)(d=p[u])&&h.push(v[u]=d);o(null,p=[],h,c)}for(u=p.length;u--;)(d=p[u])&&(h=o?a.call(r,d):f[u])>-1&&(r[h]=!(s[h]=d))}}else p=ft(p===s?p.splice(g,p.length):p),o?o(null,s,p,c):_.apply(s,p)})}function _t(t){for(var e,n,o,s=t.length,l=i.relative[t[0].type],c=l||i.relative[" "],h=l?1:0,u=dt(function(t){return t===e},c,!0),d=dt(function(t){return a.call(e,t)>-1},c,!0),p=[function(t,n,i){var o=!l&&(i||n!=r)||((e=n).nodeType?u(t,n,i):d(t,n,i));return e=null,o}];h<s;h++)if(n=i.relative[t[h].type])p=[dt(pt(p),n)];else{if((n=i.filter[t[h].type].apply(null,t[h].matches))[g]){for(o=++h;o<s&&!i.relative[t[o].type];o++);return mt(h>1&&pt(p),h>
vendor: 7,333 bytes, line 1
11&&ut(t.slice(0,h-1).concat({value:" "===t[h-2].type?"*":""})).replace(P,"$1"),n,h<o&&_t(t.slice(h,o)),o<s&&_t(t=t.slice(o)),o<s&&ut(t))}p.push(n)}return pt(p)}function gt(t,e){var n,o=[],s=[],a=M[t+" "];if(!a){for(e||(e=ht(t)),n=e.length;n--;)(a=_t(e[n]))[g]?o.push(a):s.push(a);(a=M(t,function(t,e){var n=e.length>0,o=t.length>0,s=function(s,a,l,h,u){var p,f,m,g=0,v="0",b=s&&[],x=[],C=r,L=s||o&&i.find.TAG("*",u),E=y+=null==C?1:Math.random()||.1,S=L.length;for(u&&(r=a==c||a||u);v!==S&&null!=(p=L[v]);v++){if(o&&p){for(f=0,a||p.ownerDocument==c||(lt(p),l=!d);m=t[f++];)if(m(p,a||c,l)){_.call(h,p);break}u&&(y=E)}n&&((p=!m&&p)&&g--,s&&b.push(p))}if(g+=v,n&&v!==g){for(f=0;m=e[f++];)m(b,x,a,l);if(s){if(g>0)for(;v--;)b[v]||x[v]||(x[v]=T.call(h));x=ft(x)}_.apply(h,x),u&&!s&&x.length>0&&g+e.length>1&&w.uniqueSort(h)}return u&&(y=E,r=C),b};return n?et(s):s}(s,o))).selector=t}return a}function yt(t,e,n,o){var r,s,a,l,c,h="function"==typeof t&&t,u=!o&&ht(t=h.selector||t);if(n=n||[],1===u.length){if((s=u[0]=u[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===e.nodeType&&d&&i.relative[s[1].type]){if(!(e=(i.find.ID(a.matches[0].replace(X,Y),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(r=U.needsContext.test(t)?0:s.length;r--&&(a=s[r],!i.relative[l=a.type]);)if((c=i.find[l])&&(o=c(a.matches[0].replace(X,Y),V.test(s[0].type)&&at(e.parentNode)||e))){if(s.splice(r,1),!(t=o.length&&ut(s)))return _.apply(n,o),n;break}}return(h||gt(t,u))(o,e,!d,n,!e||V.test(t)&&at(e.parentNode)||e),n}ct.prototype=i.filters=i.pseudos,i.setFilters=new ct,p.sortStable=g.split("").sort(A).join("")===g,lt(),p.sortDetached=nt(function(t){return 1&t.compareDocumentPosition(c.createElement("fieldset"))}),w.find=Q,w.expr[":"]=w.expr.pseudos,w.unique=w.uniqueSort,Q.compile=gt,Q.select=yt,Q.setDocument=lt,Q.tokenize=ht,Q.escape=w.escapeSelector,Q.getText=w.text,Q.isXML=w.isXMLDoc,Q.selectors=w.expr,Q.support=w.support,Q.uniqueSort=w.uniqueSort}();var A=function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&w(t).is(n))break;i.push(t)}return i},D=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},I=w.expr.match.needsContext,j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function z(t,e,n){return f(e)?w.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?w.grep(t,function(t){return t===e!==n}):"string"!=typeof e?w.grep(t,function(t){return a.call(e,t)>-1!==n}):w.filter(e,t,n)}w.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?w.find.matchesSelector(i,t)?[i]:[]:w.find.matches(t,w.grep(e,function(t){return 1===t.nodeType}))},w.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(w(t).filter(function(){for(e=0;e<i;e++)if(w.contains(o[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)w.find(t,o[e],n);return i>1?w.uniqueSort(n):n},filter:function(t){return this.pushStack(z(this,t||[],!1))},not:function(t){return this.pushStack(z(this,t||[],!0))},is:function(t){return!!z(this,"string"==typeof t&&I.test(t)?w(t):t||[],!1).length}});var B,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||B,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:R.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof w?e[0]:e,w.merge(this,w.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:_,!0)),j.test(i[1])&&w.isPlainObject(e))for(i in e)f(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(o=_.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):f(t)?void 0!==n.ready?n.ready(t):t(w):w.makeArray(t,this)}).prototype=w.fn,B=w(_);var $=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};function H(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}w.fn.extend({has:function(t){var e=w(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(w.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,o=this.length,r=[],s="string"!=typeof t&&w(t);if(!I.test(t))for(;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?w.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?a.call(w(t),this[0]):a.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),w.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return A(t,"parentNode")},parentsUntil:function(t,e,n){return A(t,"parentNode",n)},next:function(t){return H(t,"nextSibling")},prev:function(t){return H(t,"previousSibling")},nextAll:function(t){return A(t,"nextSibling")},prevAll:function(t){return A(t,"previousSibling")},nextUntil:function(t,e,n){return A(t,"nextSibling",n)},prevUntil:function(t,e,n){return A(t,"previousSibling",n)},siblings:function(t){return D((t.parentNode||{}).firstChild,t)},children:function(t){return D(t.firstChild)},contents:function(t){return null!=t.contentDocument&&i(t.contentDocument)?t.contentDocument:(C(t,"template")&&(t=t.content||t),w.merge([],t.childNodes))}},function(t,e){w.fn[t]=function(n,i){var o=w.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=w.filter(i,o)),this.length>1&&(F[t]||w.uniqueSort(o),$.test(t)&&o.reverse()),this.pushStack(o)}});var Z=/[^\x20\t\r\n\f]+/g;function U(t){return t}function q(t){throw t}function W(t,e,n,i){var o;try{t&&f(o=t.promise)?o.call(t).done(e).fail(n):t&&f(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}w.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return w.each(t.match(Z)||[],function(t,n){e[n]=!0}),e}(t):w.extend({},t);var e,n,i,o,r=[],s=[],a=-1,l=function(){for(o=o||t.once,i=e=!0;s.length;a=-1)for(n=s.shift();++a<r.length;)!1===r[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=r.length,n=!1);t.memory||(n=!1),e=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!e&&(a=r.length-1,s.push(n)),function e(n){w.each(n,function(n,i){f(i)?t.unique&&c.has(i)||r.push(i):i&&i.length&&"string"!==v(i)&&e(i)})}(arguments),n&&!e&&l()),this},remove:function(){return w.each(arguments,function(t,e){for(var n;(n=w.inArray(e,r,n))>-1;)r.splice(n,1),n<=a&&a--}),this},has:function(t){return t?w.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=s=[],n||e||(r=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},w.extend({Deferred:function(e){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],i="pe
1nding",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return w.Deferred(function(e){w.each(n,function(n,i){var o=f(t[i[4]])&&t[i[4]];r[i[1]](function(){var t=o&&o.apply(this,arguments);t&&f(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[i[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(e,i,o){var r=0;function s(e,n,i,o){return function(){var a=this,l=arguments,c=function(){var t,c;if(!(e<r)){if((t=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");c=t&&("object"==typeof t||"function"==typeof t)&&t.then,f(c)?o?c.call(t,s(r,n,U,o),s(r,n,q,o)):(r++,c.call(t,s(r,n,U,o),s(r,n,q,o),s(r,n,U,n.notifyWith))):(i!==U&&(a=void 0,l=[t]),(o||n.resolveWith)(a,l))}},h=o?c:function(){try{c()}catch(t){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(t,h.error),e+1>=r&&(i!==q&&(a=void 0,l=[t]),n.rejectWith(a,l))}};e?h():(w.Deferred.getErrorHook?h.error=w.Deferred.getErrorHook():w.Deferred.getStackHook&&(h.error=w.Deferred.getStackHook()),t.setTimeout(h)
vendor: 2,945 bytes, line 1
1)}}return w.Deferred(function(t){n[0][3].add(s(0,t,f(o)?o:U,t.notifyWith)),n[1][3].add(s(0,t,f(e)?e:U)),n[2][3].add(s(0,t,f(i)?i:q))}).promise()},promise:function(t){return null!=t?w.extend(t,o):o}},r={};return w.each(n,function(t,e){var s=e[2],a=e[5];o[e[1]]=s.add,a&&s.add(function(){i=a},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),s.add(e[3].fire),r[e[0]]=function(){return r[e[0]+"With"](this===r?void 0:this,arguments),this},r[e[0]+"With"]=s.fireWith}),o.promise(r),e&&e.call(r,r),r},when:function(t){var e=arguments.length,n=e,i=Array(n),r=o.call(arguments),s=w.Deferred(),a=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?o.call(arguments):n,--e||s.resolveWith(i,r)}};if(e<=1&&(W(t,s.done(a(n)).resolve,s.reject,!e),"pending"===s.state()||f(r[n]&&r[n].then)))return s.then();for(;n--;)W(r[n],a(n),s.reject);return s.promise()}});var G=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&G.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},w.readyException=function(e){t.setTimeout(function(){throw e})};var V=w.Deferred();function X(){_.removeEventListener("DOMContentLoaded",X),t.removeEventListener("load",X),w.ready()}w.fn.ready=function(t){return V.then(t).catch(function(t){w.readyException(t)}),this},w.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==t&&--w.readyWait>0||V.resolveWith(_,[w]))}}),w.ready.then=V.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?t.setTimeout(w.ready):(_.addEventListener("DOMContentLoaded",X),t.addEventListener("load",X));var Y=function(t,e,n,i,o,r,s){var a=0,l=t.length,c=null==n;if("object"===v(n))for(a in o=!0,n)Y(t,e,a,n[a],!0,r,s);else if(void 0!==i&&(o=!0,f(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(w(t),n)})),e))for(;a<l;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return o?t:c?e.call(t):l?e(t[0],n):r},K=/^-ms-/,J=/-([a-z])/g;function Q(t,e){return e.toUpperCase()}function tt(t){return t.replace(K,"ms-").replace(J,Q)}var et=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function nt(){this.expando=w.expando+nt.uid++}nt.uid=1,nt.prototype={cache:function(t){var e=t[this.expando];return e||(e={},et(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,o=this.cache(t);if("string"==typeof e)o[tt(e)]=n;else for(i in e)o[tt(i)]=e[i];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][tt(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(tt):(e=tt(e))in i?[e]:e.match(Z)||[]).length;for(;n--;)delete i[e[n]]}
vendor: 11,199 bytes, line 1
1(void 0===e||w.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!w.isEmptyObject(e)}};var it=new nt,ot=new nt,rt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,st=/[A-Z]/g;function at(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(st,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:rt.test(t)?JSON.parse(t):t)}(n)}catch(t){}ot.set(t,e,n)}else n=void 0;return n}w.extend({hasData:function(t){return ot.hasData(t)||it.hasData(t)},data:function(t,e,n){return ot.access(t,e,n)},removeData:function(t,e){ot.remove(t,e)},_data:function(t,e,n){return it.access(t,e,n)},_removeData:function(t,e){it.remove(t,e)}}),w.fn.extend({data:function(t,e){var n,i,o,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(o=ot.get(r),1===r.nodeType&&!it.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=tt(i.slice(5)),at(r,i,o[i]));it.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){ot.set(this,t)}):Y(this,function(e){var n;if(r&&void 0===e)return void 0!==(n=ot.get(r,t))?n:void 0!==(n=at(r,t))?n:void 0;this.each(function(){ot.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){ot.remove(this,t)})}}),w.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=it.get(t,e),n&&(!i||Array.isArray(n)?i=it.access(t,e,w.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=w.queue(t,e),i=n.length,o=n.shift(),r=w._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,function(){w.dequeue(t,e)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return it.get(t,n)||it.access(t,n,{empty:w.Callbacks("once memory").add(function(){it.remove(t,[e+"queue",n])})})}}),w.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?w.queue(this[0],t):void 0===e?this:this.each(function(){var n=w.queue(this,t,e);w._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&w.dequeue(this,t)})},dequeue:function(t){return this.each(function(){w.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=w.Deferred(),r=this,s=this.length,a=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=it.get(r[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(e)}});var lt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ct=new RegExp("^(?:([+-])=|)("+lt+")([a-z%]*)$","i"),ht=["Top","Right","Bottom","Left"],ut=_.documentElement,dt=function(t){return w.contains(t.ownerDocument,t)},pt={composed:!0};ut.getRootNode&&(dt=function(t){return w.contains(t.ownerDocument,t)||t.getRootNode(pt)===t.ownerDocument});var ft=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&dt(t)&&"none"===w.css(t,"display")};function mt(t,e,n,i){var o,r,s=20,a=i?function(){return i.cur()}:function(){return w.css(t,e,"")},l=a(),c=n&&n[3]||(w.cssNumber[e]?"":"px"),h=t.nodeType&&(w.cssNumber[e]||"px"!==c&&+l)&&ct.exec(w.css(t,e));if(h&&h[3]!==c){for(l/=2,c=c||h[3],h=+l||1;s--;)w.style(t,e,h+c),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),h/=r;h*=2,w.style(t,e,h+c),n=n||[]}return n&&(h=+h||+l||0,o=n[1]?h+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=h,i.end=o)),o}var _t={};function gt(t){var e,n=t.ownerDocument,i=t.nodeName,o=_t[i];return o||(e=n.body.appendChild(n.createElement(i)),o=w.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),_t[i]=o,o)}function yt(t,e){for(var n,i,o=[],r=0,s=t.length;r<s;r++)(i=t[r]).style&&(n=i.style.display,e?("none"===n&&(o[r]=it.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&ft(i)&&(o[r]=gt(i))):"none"!==n&&(o[r]="none",it.set(i,"display",n)));for(r=0;r<s;r++)null!=o[r]&&(t[r].style.display=o[r]);return t}w.fn.extend({show:function(){return yt(this,!0)},hide:function(){return yt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ft(this)?w(this).show():w(this).hide()})}});var vt,bt,wt=/^(?:checkbox|radio)$/i,xt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ct=/^$|^module$|\/(?:java|ecma)script/i;vt=_.createDocumentFragment().appendChild(_.createElement("div")),(bt=_.createElement("input")).setAttribute("type","radio"),bt.setAttribute("checked","checked"),bt.setAttribute("name","t"),vt.appendChild(bt),p.checkClone=vt.cloneNode(!0).cloneNode(!0).lastChild.checked,vt.innerHTML="<textarea>x</textarea>",p.noCloneChecked=!!vt.cloneNode(!0).lastChild.defaultValue,vt.innerHTML="<option></option>",p.option=!!vt.lastChild;var Tt={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 Lt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&C(t,e)?w.merge([t],n):n}function Et(t,e){for(var n=0,i=t.length;n<i;n++)it.set(t[n],"globalEval",!e||it.get(e[n],"globalEval"))}Tt.tbody=Tt.tfoot=Tt.colgroup=Tt.caption=Tt.thead,Tt.th=Tt.td,p.option||(Tt.optgroup=Tt.option=[1,"<select multiple='multiple'>","</select>"]);var St=/<|&#?\w+;/;function Pt(t,e,n,i,o){for(var r,s,a,l,c,h,u=e.createDocumentFragment(),d=[],p=0,f=t.length;p<f;p++)if((r=t[p])||0===r)if("object"===v(r))w.merge(d,r.nodeType?[r]:r);else if(St.test(r)){for(s=s||u.appendChild(e.createElement("div")),a=(xt.exec(r)||["",""])[1].toLowerCase(),l=Tt[a]||Tt._default,s.innerHTML=l[1]+w.htmlPrefilter(r)+l[2],h=l[0];h--;)s=s.lastChild;w.merge(d,s.childNodes),(s=u.firstChild).textContent=""}else d.push(e.createTextNode(r));for(u.textContent="",p=0;r=d[p++];)if(i&&w.inArray(r,i)>-1)o&&o.push(r);else if(c=dt(r),s=Lt(u.appendChild(r),"script"),c&&Et(s),n)for(h=0;r=s[h++];)Ct.test(r.type||"")&&n.push(r);return u}var Mt=/^([^.]*)(?:\.(.+)|)/;function kt(){return!0}function Nt(){return!1}function Ot(t,e,n,i,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)Ot(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Nt;else if(!o)return t;return 1===r&&(s=o,(o=function(t){return w().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=w.guid++)),t.each(function(){w.event.add(this,e,o,i,n)})}function At(t,e,n){n?(it.set(t,e,!1),w.event.add(t,e,{namespace:!1,handler:function(t){var n,i=it.get(this,e);if(1&t.isTrigger&&this[e]){if(i)(w.event.special[e]||{}).delegateType&&t.stopPropagation();else if(i=o.call(arguments),it.set(this,e,i),this[e](),n=it.get(this,e),it.set(this,e,!1),i!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else i&&(it.set(this,e,w.event.trigger(i[0],i.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=kt)}})):void 0===it.get(t,e)&&w.event.add(t,e,kt)}w.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,c,h,u,d,p,f,m,_=it.get(t);if(et(t))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&w.find.matchesSelector(ut,o),n.guid||(n.guid=w.guid++),(l=_.events)||(l=_.events=Object.create(null)),(s=_.handle)||(s=_.handle=function(e){return void 0!==w&&w.event.triggered!==e.type?w.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Z)||[""]).length;c--;)p=m=(a=Mt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(u=w.event.special[p]||{},p=(o?u.delegateType:u.bindType)||p,u=w.event.special[p]||{},h=w.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:f.join(".")},r),(d=l[p])||((d=l[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,i,f,s)||t.addEventListener&&t.addEventListener(p,s)),u.add&&(u.add.call(t,h),h.handler.guid||(h.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,h):d.push(h),w.event.global[p]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,c,h,u,d,p,f,m,_=it.hasData(t)&&it.get(t);if(_&&(l=_.events)){for(c=(e=(e||"").match(Z)||[""]).length;c--;)if(p=m=(a=Mt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(u=w.event.special[p]||{},d=l[p=(i?u.delegateType:u.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=d.length;r--;)h=d[r],!o&&m!==h.origType||n&&n.guid!==h.guid||a&&!a.test(h.namespace)||i&&i!==h.selector&&("**"!==i||!h.selector)||(d.splice(r,1),h.selector&&d.delegateCount--,u.remove&&u.remove.call(t,h));s&&!d.length&&(u.teardown&&!1!==u.teardown.call(t,f,_.handle)||w.removeEvent(t,p,_.handle),delete l[p])}else for(p in l)w.event.remove(t,p+e[c],n,i,!0);w.isEmptyObject(l)&&it.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,s,a=new Array(arguments.length),l=w.event.fix(t),c=(it.get(this,"events")||Object.create(null))[l.type]||[],h=w.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,l)){for(s=w.event.handlers.call(this,l,c),e=0;(o=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(i=((w.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,o,r,s,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(r=[],s={},n=0;n<l;n++)void 0===s[o=(i=e[n]).selector+" "]&&(s[o]=i.needsContext?w(o,this).index(c)>-1:w.find(o,this,null,[c]).length),s[o]&&r.push(i);r.length&&a.push({elem:c,handlers:r})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(w.Event.prototype,t,{enumerable:!0,configurable:!0,get:f(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(t){return t[w.expando]?t:new w.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return wt.test(e.type)&&e.click&&C(e,"input")&&At(e,"click",!0),!1},trigger:function(t){var e=this||t;return wt.test(e.type)&&e.click&&C(e,"input")&&At(e,"click"),!0},_default:function(t){var e=t.target;return wt.test(e.type)&&e.click&&C(e,"input")&&it.get(e,"click")||C(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},w.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},w.Event=function(t,e){if(!(this instanceof w.Event))return new w.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?
vendor: 2,286 bytes, line 1
1kt:Nt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&w.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:Nt,isPropagationStopped:Nt,isImmediatePropagationStopped:Nt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=kt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=kt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=kt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},function(t,e){function n(t){if(_.documentMode){var n=it.get(this,"handle"),i=w.event.fix(t);i.type="focusin"===t.type?"focus":"blur",i.isSimulated=!0,n(t),i.target===i.currentTarget&&n(i)}else w.event.simulate(e,t.target,w.event.fix(t))}w.event.special[t]={setup:function(){var i;if(At(this,t,!0),!_.documentMode)return!1;(i=it.get(this,e))||this.addEventListener(e,n),it.set(this,e,(i||0)+1)},trigger:function(){return At(this,t),!0},teardown:function(){var t;if(!_.documentMode)return!1;(t=it.get(this,e)-1)?it.set(this,e,t):(this.removeEventListener(e,n),it.remove(this,e))},_default:function(e){return it.get(e.target,t)},delegateType:e},w.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,o=_.documentMode?this:i,r=it.get(o,e);r||(_.documentMode?this.addEventListener(e,n):i.addEventListener(t,n,!0)),it.set(o,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=_.documentMode?this:i,r=it.get(o,e)-1;r?it.set(o,e,r):(_.documentMode?this.removeEventListener(e,n):i.removeEventListener(t,n,!0),it.remove(o,e))}}}
vendor: 7,102 bytes, line 1
1),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){w.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,o=t.handleObj;return i&&(i===this||w.contains(this,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),w.fn.extend({on:function(t,e,n,i){return Ot(this,t,e,n,i)},one:function(t,e,n,i){return Ot(this,t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,w(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Nt),this.each(function(){w.event.remove(this,t,n,e)})}});var Dt=/<script|<style|<link/i,It=/checked\s*(?:[^=]|=\s*.checked.)/i,jt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function zt(t,e){return C(t,"table")&&C(11!==e.nodeType?e:e.firstChild,"tr")&&w(t).children("tbody")[0]||t}function Bt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function $t(t,e){var n,i,o,r,s,a;if(1===e.nodeType){if(it.hasData(t)&&(a=it.get(t).events))for(o in it.remove(e,"handle events"),a)for(n=0,i=a[o].length;n<i;n++)w.event.add(e,o,a[o][n]);ot.hasData(t)&&(r=ot.access(t),s=w.extend({},r),ot.set(e,s))}}function Ft(t,e,n,i){e=r(e);var o,s,a,l,c,h,u=0,d=t.length,m=d-1,_=e[0],g=f(_);if(g||d>1&&"string"==typeof _&&!p.checkClone&&It.test(_))return t.each(function(o){var r=t.eq(o);g&&(e[0]=_.call(this,o,r.html())),Ft(r,e,n,i)});if(d&&(s=(o=Pt(e,t[0].ownerDocument,!1,t,i)).firstChild,1===o.childNodes.length&&(o=s),s||i)){for(l=(a=w.map(Lt(o,"script"),Bt)).length;u<d;u++)c=o,u!==m&&(c=w.clone(c,!0,!0),l&&w.merge(a,Lt(c,"script"))),n.call(t[u],c,u);if(l)for(h=a[a.length-1].ownerDocument,w.map(a,Rt),u=0;u<l;u++)c=a[u],Ct.test(c.type||"")&&!it.access(c,"globalEval")&&w.contains(h,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?w._evalUrl&&!c.noModule&&w._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},h):y(c.textContent.replace(jt,""),c,h))}return t}function Ht(t,e,n){for(var i,o=e?w.filter(e,t):t,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||w.cleanData(Lt(i)),i.parentNode&&(n&&dt(i)&&Et(Lt(i,"script")),i.parentNode.removeChild(i));return t}w.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,o,r,s,a,l,c,h=t.cloneNode(!0),u=dt(t);if(!(p.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||w.isXMLDoc(t)))for(s=Lt(h),i=0,o=(r=Lt(t)).length;i<o;i++)a=r[i],l=s[i],void 0,"input"===(c=l.nodeName.toLowerCase())&&wt.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(e)if(n)for(r=r||Lt(t),s=s||Lt(h),i=0,o=r.length;i<o;i++)$t(r[i],s[i]);else $t(t,h);return(s=Lt(h,"script")).length>0&&Et(s,!u&&Lt(t,"script")),h},cleanData:function(t){for(var e,n,i,o=w.event.special,r=0;void 0!==(n=t[r]);r++)if(et(n)){if(e=n[it.expando]){if(e.events)for(i in e.events)o[i]?w.event.remove(n,i):w.removeEvent(n,i,e.handle);n[it.expando]=void 0}n[ot.expando]&&(n[ot.expando]=void 0)}}}),w.fn.extend({detach:function(t){return Ht(this,t,!0)},remove:function(t){return Ht(this,t)},text:function(t){return Y(this,function(t){return void 0===t?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Ft(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||zt(this,t).appendChild(t)})},prepend:function(){return Ft(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=zt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Ft(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Ft(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(w.cleanData(Lt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return w.clone(this,t,e)})},html:function(t){return Y(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Dt.test(t)&&!Tt[(xt.exec(t)||["",""])[1].toLowerCase()]){t=w.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(w.cleanData(Lt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Ft(this,arguments,function(e){var n=this.parentNode;w.inArray(this,t)<0&&(w.cleanData(Lt(this)),n&&n.replaceChild(e,this))},t)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){w.fn[t]=function(t){for(var n,i=[],o=w(t),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),w(o[a])[e](n),s.apply(i,n.get());return this.pushStack(i)}});var Zt=new RegExp("^("+lt+")(?!px)[a-z%]+$","i"),Ut=/^--/,qt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Wt=function(t,e,n){var i,o,r={};for(o in e)r[o]=t.style[o],t.style[o]=e[o];for(o in i=n.call(t),e)t.style[o]=r[o];return i},Gt=new RegExp(ht.join("|"),"i");function Vt(t,e,n){var i,o,r,s,a=Ut.test(e),l=t.style;return(n=n||qt(t))&&(s=n.getPropertyValue(e)||n[e],a&&s&&(s=s.replace(P,"$1")||void 0),""!==s||dt(t)||(s=w.style(t,e)),!p.pixelBoxStyles()&&Zt.test(s)&&Gt.test(e)&&(i=l.width,o=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=n.width,l.width=i,l.minWidth=o,l.maxWidth=r)),void 0!==s?s+"":s}function Xt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function e(){if(h){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",h.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ut.appendChild(c).appendChild(h);var e=t.getComputedStyle(h);i="1%"!==e.top,l=12===n(e.marginLeft),h.style.right="60%",s=36===n(e.right),o=36===n(e.width),h.style.position="absolute",r=12===n(h.offsetWidth/3),ut.removeChild(c),h=null}}function n(t){return Math.round(parseFloat(t))}var i,o,r,s,a,l,c=_.createElement("div"),h=_.createElement("div");h.style&&(h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",p.clearCloneStyle="content-box"===h.style.backgroundClip,w.extend(p,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,n,i,o;return null==a&&(e=_.createElement("table"),n=_.createElement("tr"),i=_.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;
1border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",ut.appendChild(e).appendChild(n).appendChild(i),o=t.getComputedStyle(n),a=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===n.offsetHeight,ut.removeChild(e)),a}}))}();var Yt=["Webkit","Moz","ms"],Kt=_.createElement("div").style,Jt={};function Qt(t){var e=w.cssProps[t]||Jt[t];return e||(t in Kt?t:Jt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Yt.length;n--;)if((t=Yt[n]+e)in Kt)return t}(t)||t)}var te=/^(none|table(?!-c[ea]).+)/,ee={position:"absolute",visibility:"hidden",display:"block"},ne={letterSpacing:"0",fontWeight:"400"};function ie(t,e,n){var i=ct.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function oe(t,e,n,i,o,r){var s="width"===e?1:0,a=0,l=0,c=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(c+=w.css(t,n+ht[s],!0,o)),i?("content"===n&&(l-=w.css(t,"padding"+ht[s],!0,o)),"margin"!==n&&(l-=w.css(t,"border"+ht[s]+"Width",!0,o))):(l+=w.css(t,"padding"+ht[s],!0,o),"padding"!==n?l+=w.css(t,"border"+ht[s]+"Width",!0,o):a+=w.css(t,"border"+ht[s]+"Width",!0,o));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l+c}function re(t,e,n){var i=qt(t),o=(!p.boxSizingReliable()||n)&&"border-box"===w.css(t,"boxSizing",!1,i),r=o,s=Vt(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(Zt.test(s)){if(!n)return s;s="auto"}return(!p.boxSizingReliable()&&o||!p.reliableTrDimensions()&&C(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===w.css(t,"display",!1,i))&&t.getClientRects().length&&(o="border-box"===w.css(t,"boxSizing",!1,i),(r=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+oe(t,e,n||(o?"border":"content"),r,i,s)+"px"}function se(t,e,n,i,o){return new se.prototype.init(t,e,n,i,o)}w.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Vt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=tt(e),l=Ut.test(e),c=t.style;if(l||(e=Qt(a)),s=w.cssHooks[e]||w.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:c[e];"string"===(r=typeof n)&&(o=ct.exec(n))&&o[1]&&(n=mt(t,e,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(w.cssNumber[a]?"":"px")),p.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var o,r,s,a=tt(e);return Ut.test(e)||(e=Qt(a)),(s=w.cssHooks[e]||w.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=Vt(t,e,i)),"normal"===o&&e in ne&&(o=ne[e]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),w.each(["height","width"],function(t,e){w.cssHooks[e]={get:function(t,n,i){if(n)return!te.test(w.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?re(t,e,i):Wt(t,ee,function(){return re(t,e,i)})},set:function(t,n,i){var o,r=qt(t),s=!p.scrollboxSize()&&"absolute"===r.position,a=(s||i)&&"border-box"===w.css(t,"boxSizing",!1,r),l=i?oe(t,e,i,a,r):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-oe(t,e,"border",!1,r)-.5)),l&&(o=ct.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=w.css(t,e)),ie(0,n,l)}}}),w.cssHooks.marginLeft=Xt(p.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Vt(t,"marginLeft"))||t.getBoundingClientRect().left-Wt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(t,e){w.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[t+ht[i]+e]=r[i]||r[i-2]||r[0];return o}},"margin"!==t&&(w.cssHooks[t+e].set=ie)}),w.fn.extend({css:function(t,e){return Y(this,function(t,e,n){var i,o,r={},s=0;if(Array.isArray(e)){for(i=qt(t),o=e.length;s<o;s++)r[e[s]]=w.css(t,e[s],!1,i);return r}return void 0!==n?w.style(t,e,n):w.css(t,e)},t,e,arguments.length>1)}}),w.Tween=se,se.prototype={constructor:se,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||w.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(w.cssNumber[n]?"":"px")},cur:function(){var t=se.propHooks[this.prop];return t&&t.get?t.get(this):se.propHooks._default.get(this)},run:function(t){var e,n=se.propHooks[this.prop];return this.options.duration?this.pos=e=w.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):se.propHooks._default.set(this),this}},se.prototype.init.prototype=se.prototype,se.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=w.css(t.elem,t.prop,""))&&"auto"!==e?e:0}
vendor: 3,212 bytes, line 1
1,set:function(t){w.fx.step[t.prop]?w.fx.step[t.prop](t):1!==t.elem.nodeType||!w.cssHooks[t.prop]&&null==t.elem.style[Qt(t.prop)]?t.elem[t.prop]=t.now:w.style(t.elem,t.prop,t.now+t.unit)}}},se.propHooks.scrollTop=se.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},w.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},w.fx=se.prototype.init,w.fx.step={};var ae,le,ce=/^(?:toggle|show|hide)$/,he=/queueHooks$/;function ue(){le&&(!1===_.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(ue):t.setTimeout(ue,w.fx.interval),w.fx.tick())}function de(){return t.setTimeout(function(){ae=void 0}),ae=Date.now()}function pe(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)o["margin"+(n=ht[i])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function fe(t,e,n){for(var i,o=(me.tweeners[e]||[]).concat(me.tweeners["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,e,t))return i}function me(t,e,n){var i,o,r=0,s=me.prefilters.length,a=w.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=ae||de(),n=Math.max(0,c.startTime+c.duration-e),i=1-(n/c.duration||0),r=0,s=c.tweens.length;r<s;r++)c.tweens[r].run(i);return a.notifyWith(t,[c,i,n]),i<1&&s?n:(s||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:w.extend({},e),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:e,originalOptions:n,startTime:ae||de(),duration:n.duration,tweens:[],createTween:function(e,n){var i=w.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)c.tweens[n].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),h=c.props;for(!function(t,e){var n,i,o,r,s;for(n in t)if(o=e[i=tt(n)],r=t[n],Array.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),(s=w.cssHooks[i])&&"expand"in s)for(n in r=s.expand(r),delete t[i],r)n in t||(t[n]=r[n],e[n]=o);else e[i]=o}(h,c.opts.specialEasing);r<s;r++)if(i=me.prefilters[r].call(c,t,h,c.opts))return f(i.stop)&&(w._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return w.map(h,fe,c),f(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),w.fx.timer(w.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}w.Animation=w.extend(me,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return mt(n.elem,t,ct.exec(e),n),n}]},tweener:function(t,e){f(t)?(e=t,t=["*"]):t=t.match(Z);for(var n,i=0,o=t.length;i<o;i++)n=t[i],me.tweeners[n]=me.tweeners[n]||[],me.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,o,r,s,a,l,c,h,u="width"in e||"height"in e,d=this,p={},f=t.style,m=t.nodeType&&ft(t),_=it.get(t,"fxshow");for(i in n.queue||(null==(s=w._queueHooks(t,"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--,w.queue(t,"fx").length||s.empty.fire()})})),e)if(o=e[i],ce.test(o)){if(delete e[i],r=r||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||
vendor: 4,746 bytes, line 1
1!_||void 0===_[i])continue;m=!0}p[i]=_&&_[i]||w.style(t,i)}if((l=!w.isEmptyObject(e))||!w.isEmptyObject(p))for(i in u&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=_&&_.display)&&(c=it.get(t,"display")),"none"===(h=w.css(t,"display"))&&(c?h=c:(yt([t],!0),c=t.style.display||c,h=w.css(t,"display"),yt([t]))),("inline"===h||"inline-block"===h&&null!=c)&&"none"===w.css(t,"float")&&(l||(d.done(function(){f.display=c}),null==c&&(h=f.display,c="none"===h?"":h)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,p)l||(_?"hidden"in _&&(m=_.hidden):_=it.access(t,"fxshow",{display:c}),r&&(_.hidden=!m),m&&yt([t],!0),d.done(function(){for(i in m||yt([t]),it.remove(t,"fxshow"),p)w.style(t,i,p[i])})),l=fe(m?_[i]:0,i,d),i in _||(_[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?me.prefilters.unshift(t):me.prefilters.push(t)}}),w.speed=function(t,e,n){var i=t&&"object"==typeof t?w.extend({},t):{complete:n||!n&&e||f(t)&&t,duration:t,easing:n&&e||e&&!f(e)&&e};return w.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in w.fx.speeds?i.duration=w.fx.speeds[i.duration]:i.duration=w.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){f(i.old)&&i.old.call(this),i.queue&&w.dequeue(this,i.queue)},i},w.fn.extend({fadeTo:function(t,e,n,i){return this.filter(ft).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var o=w.isEmptyObject(t),r=w.speed(e,n,i),s=function(){var e=me(this,w.extend({},t),r);(o||it.get(this,"finish"))&&e.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",r=w.timers,s=it.get(this);if(o)s[o]&&s[o].stop&&i(s[o]);else for(o in s)s[o]&&s[o].stop&&he.test(o)&&i(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(n),e=!1,r.splice(o,1));!e&&n||w.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=it.get(this),i=n[t+"queue"],o=n[t+"queueHooks"],r=w.timers,s=i?i.length:0;for(n.finish=!0,w.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(t,e){var n=w.fn[e];w.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(pe(e,!0),t,i,o)}}),w.each({slideDown:pe("show"),slideUp:pe("hide"),slideToggle:pe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){w.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),w.timers=[],w.fx.tick=function(){var t,e=0,n=w.timers;for(ae=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||w.fx.stop(),ae=void 0},w.fx.timer=function(t){w.timers.push(t),w.fx.start()},w.fx.interval=13,w.fx.start=function(){le||(le=!0,ue())},w.fx.stop=function(){le=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(e,n){return e=w.fx&&w.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(n,i){var o=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(o)}})},function(){var t=_.createElement("input"),e=_.createElement("select").appendChild(_.createElement("option"));t.type="checkbox",p.checkOn=""!==t.value,p.optSelected=e.selected,(t=_.createElement("input")).value="t",t.type="radio",p.radioValue="t"===t.value}();var _e,ge=w.expr.attrHandle;w.fn.extend({attr:function(t,e){return Y(this,w.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){w.removeAttr(this,t)})}}),w.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?w.prop(t,e,n):(1===r&&w.isXMLDoc(t)||(o=w.attrHooks[e.toLowerCase()]||(w.expr.match.bool.test(e)?_e:void 0)),void 0!==n?null===n?void w.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:null==(i=w.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!p.radioValue&&"radio"===e&&C(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,o=e&&e.match(Z);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),_e={set:function(t,e,n){return!1===e?w.removeAttr(t,n):t.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(t,e){var n=ge[e]||w.find.attr;
vendor: 7,858 bytes, line 1
1ge[e]=function(t,e,i){var o,r,s=e.toLowerCase();return i||(r=ge[s],ge[s]=o,o=null!=n(t,e,i)?s:null,ge[s]=r),o}});var ye=/^(?:input|select|textarea|button)$/i,ve=/^(?:a|area)$/i;function be(t){return(t.match(Z)||[]).join(" ")}function we(t){return t.getAttribute&&t.getAttribute("class")||""}function xe(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Z)||[]}w.fn.extend({prop:function(t,e){return Y(this,w.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[w.propFix[t]||t]})}}),w.extend({prop:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&w.isXMLDoc(t)||(e=w.propFix[e]||e,o=w.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=w.find.attr(t,"tabindex");return e?parseInt(e,10):ye.test(t.nodeName)||ve.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),p.optSelected||(w.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.fn.extend({addClass:function(t){var e,n,i,o,r,s;return f(t)?this.each(function(e){w(this).addClass(t.call(this,e,we(this)))}):(e=xe(t)).length?this.each(function(){if(i=we(this),n=1===this.nodeType&&" "+be(i)+" "){for(r=0;r<e.length;r++)o=e[r],n.indexOf(" "+o+" ")<0&&(n+=o+" ");s=be(n),i!==s&&this.setAttribute("class",s)}}):this},removeClass:function(t){var e,n,i,o,r,s;return f(t)?this.each(function(e){w(this).removeClass(t.call(this,e,we(this)))}):arguments.length?(e=xe(t)).length?this.each(function(){if(i=we(this),n=1===this.nodeType&&" "+be(i)+" "){for(r=0;r<e.length;r++)for(o=e[r];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");s=be(n),i!==s&&this.setAttribute("class",s)}}):this:this.attr("class","")},toggleClass:function(t,e){var n,i,o,r,s=typeof t,a="string"===s||Array.isArray(t);return f(t)?this.each(function(n){w(this).toggleClass(t.call(this,n,we(this),e),e)}):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=xe(t),this.each(function(){if(a)for(r=w(this),o=0;o<n.length;o++)i=n[o],r.hasClass(i)?r.removeClass(i):r.addClass(i);else void 0!==t&&"boolean"!==s||((i=we(this))&&it.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":it.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+be(we(n))+" ").indexOf(e)>-1)return!0;return!1}});var Ce=/\r/g;w.fn.extend({val:function(t){var e,n,i,o=this[0];return arguments.length?(i=f(t),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?t.call(this,n,w(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=w.map(o,function(t){return null==t?"":t+""})),(e=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=w.valHooks[o.type]||w.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Ce,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(t){var e=w.find.attr(t,"value");return null!=e?e:be(w.text(t))}},select:{get:function(t){var e,n,i,o=t.options,r=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?r+1:o.length;for(i=r<0?l:s?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(e=w(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,i,o=t.options,r=w.makeArray(e),s=o.length;s--;)((i=o[s]).selected=w.inArray(w.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=w.inArray(w(t).val(),e)>-1}},p.checkOn||(w.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Te=t.location,Le={guid:Date.now()},Ee=/\?/;w.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||w.error("Invalid XML: "+(i?w.map(i.childNodes,function(t){return t.textContent}).join("\n"):e)),n};var Se=/^(?:focusinfocus|focusoutblur)$/,Pe=function(t){t.stopPropagation()};w.extend(w.event,{trigger:function(e,n,i,o){var r,s,a,l,c,u,d,p,g=[i||_],y=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(s=p=a=i=i||_,3!==i.nodeType&&8!==i.nodeType&&!Se.test(y+w.event.triggered)&&(y.indexOf(".")>-1&&(y=(v=y.split(".")).shift(),v.sort()),c=y.indexOf(":")<0&&"on"+y,(e=e[w.expando]?e:new w.Event(y,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:w.makeArray(n,[e]),d=w.event.special[y]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!m(i)){for(l=d.delegateType||y,Se.test(l+y)||(s=s.parentNode);s;s=s.parentNode)g.push(s),a=s;a===(i.ownerDocument||_)&&g.push(a.defaultView||a.parentWindow||t)}for(r=0;(s=g[r++])&&!e.isPropagationStopped();)p=s,e.type=r>1?l:d.bindType||y,(u=(it.get(s,"events")||Object.create(null))[e.type]&&it.get(s,"handle"))&&u.apply(s,n),(u=c&&s[c])&&u.apply&&et(s)&&(e.result=u.apply(s,n),!1===e.result&&e.preventDefault());return e.type=y,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(g.pop(),n)||!et(i)||c&&f(i[y])&&!m(i)&&((a=i[c])&&(i[c]=null),w.event.triggered=y,e.isPropagationStopped()&&p.addEventListener(y,Pe),i[y](),e.isPropagationStopped()&&p.removeEventListener(y,Pe),w.event.triggered=void 0,a&&(i[c]=a)),e.result}},simulate:function(t,e,n){var i=w.extend(new w.Event,n,{type:t,isSimulated:!0});w.event.trigger(i,null,e)}}),w.fn.extend({trigger:function(t,e){return this.each(function(){w.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return w.event.trigger(t,e,n,!0)}});var Me=/\[\]$/,ke=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Oe=/^(?:input|select|textarea|keygen)/i;function Ae(t,e,n,i){var o;if(Array.isArray(e))w.each(e,function(e,o){n||Me.test(t)?i(t,o):Ae(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,i)});else if(n||"object"!==v(e))i(t,e);else for(o in e)Ae(t+"["+o+"]",e[o],n,i)}w.param=function(t,e){var n,i=[],o=function(t,e){var n=f(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!w.isPlainObject(t))w.each(t,function(){o(this.name,this.value)});else for(n in t)Ae(n,t[n],e,o);return i.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=w.prop(this,"elements");return t?w.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!w(this).is(":disabled")&&Oe.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!wt.test(t))}).map(function(t,e){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(t){return{name:e.name,value:t.replace(ke,"\r\n")}}):{name:e.name,value:n.replace(ke,"\r\n")}}).get()}});var De=/%20/g,Ie=/#.*$/,je=/([?&])_=[^&]*/,ze=/^(.*?):[ \t]*([^\r\n]*)$/gm,Be=/^(?:GET|HEAD)$/,Re=/^\/\//,$e={},Fe={},He="*/".concat("*"),Ze=_.createElement("a");function Ue(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match(Z)||[];if(f(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function qe(t,e,n,i){var o={},r=t===Fe;function s(a){var l;
vendor: 3,082 bytes, line 1
1return o[a]=!0,w.each(t[a]||[],function(t,a){var c=a(e,n,i);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(e.dataTypes.unshift(c),s(c),!1)}),l}return s(e.dataTypes[0])||!o["*"]&&s("*")}function We(t,e){var n,i,o=w.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&w.extend(!0,t,i),t}Ze.href=Te.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Te.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Te.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?We(We(t,w.ajaxSettings),e):We(w.ajaxSettings,t)},ajaxPrefilter:Ue($e),ajaxTransport:Ue(Fe),ajax:function(e,n){"object"==typeof e&&(n=e,e=void 0),n=n||{};var i,o,r,s,a,l,c,h,u,d,p=w.ajaxSetup({},n),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?w(f):w.event,g=w.Deferred(),y=w.Callbacks("once memory"),v=p.statusCode||{},b={},x={},C="canceled",T={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=ze.exec(r);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)T.always(t[T.status]);else for(e in t)v[e]=[v[e],t[e]];return this},abort:function(t){var e=t||C;return i&&i.abort(e),L(0,e),this}};if(g.promise(T),p.url=((e||p.url||Te.href)+"").replace(Re,Te.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Z)||[""],null==p.crossDomain){l=_.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ze.protocol+"//"+Ze.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=w.param(p.data,p.traditional)),qe($e,p,n,T),c)return T;for(u in(h=w.event&&p.global)&&0==w.active++&&w.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Be.test(p.type),o=p.url.replace(Ie,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(De,"+")):(d=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Ee.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(je,"$1"),d=(Ee.test(o)?"&":"?")+"_="+Le.guid+++d),p.url=o+d),p.ifModified&&(w.lastModified[o]&&T.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&T.setRequestHeader("If-None-Match",w.etag[o
vendor: 12,651 bytes, line 1
1])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+He+"; q=0.01":""):p.accepts["*"]),p.headers)T.setRequestHeader(u,p.headers[u]);if(p.beforeSend&&(!1===p.beforeSend.call(f,T,p)||c))return T.abort();if(C="abort",y.add(p.complete),T.done(p.success),T.fail(p.error),i=qe(Fe,p,n,T)){if(T.readyState=1,h&&m.trigger("ajaxSend",[T,p]),c)return T;p.async&&p.timeout>0&&(a=t.setTimeout(function(){T.abort("timeout")},p.timeout));try{c=!1,i.send(b,L)}catch(t){if(c)throw t;L(-1,t)}}else L(-1,"No Transport");function L(e,n,s,l){var u,d,_,b,x,C=n;c||(c=!0,a&&t.clearTimeout(a),i=void 0,r=l||"",T.readyState=e>0?4:0,u=e>=200&&e<300||304===e,s&&(b=function(t,e,n){for(var i,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}(p,T,s)),!u&&w.inArray("script",p.dataTypes)>-1&&w.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=function(t,e,n,i){var o,r,s,a,l,c={},h=t.dataTypes.slice();if(h[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(r=h.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=h.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=c[l+" "+r]||c["* "+r]))for(o in c)if((a=o.split(" "))[1]===r&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[o]:!0!==c[o]&&(r=a[0],h.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(p,b,T,u),u?(p.ifModified&&((x=T.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=x),(x=T.getResponseHeader("etag"))&&(w.etag[o]=x)),204===e||"HEAD"===p.type?C="nocontent":304===e?C="notmodified":(C=b.state,d=b.data,u=!(_=b.error))):(_=C,!e&&C||(C="error",e<0&&(e=0))),T.status=e,T.statusText=(n||C)+"",u?g.resolveWith(f,[d,C,T]):g.rejectWith(f,[T,C,_]),T.statusCode(v),v=void 0,h&&m.trigger(u?"ajaxSuccess":"ajaxError",[T,p,u?d:_]),y.fireWith(f,[T,C]),h&&(m.trigger("ajaxComplete",[T,p]),--w.active||w.event.trigger("ajaxStop")))}return T},getJSON:function(t,e,n){return w.get(t,e,n,"json")},getScript:function(t,e){return w.get(t,void 0,e,"script")}}),w.each(["get","post"],function(t,e){w[e]=function(t,n,i,o){return f(n)&&(o=o||i,i=n,n=void 0),w.ajax(w.extend({url:t,type:e,dataType:o,data:n,success:i},w.isPlainObject(t)&&t))}}),w.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),w._evalUrl=function(t,e,n){return w.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){w.globalEval(t,e,n)}})},w.fn.extend({wrapAll:function(t){var e;return this[0]&&(f(t)&&(t=t.call(this[0])),e=w(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return f(t)?this.each(function(e){w(this).wrapInner(t.call(this,e))}):this.each(function(){var e=w(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=f(t);return this.each(function(n){w(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(t){return!w.expr.pseudos.visible(t)},w.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var Ge={0:200,1223:204},Ve=w.ajaxSettings.xhr();p.cors=!!Ve&&"withCredentials"in Ve,p.ajax=Ve=!!Ve,w.ajaxTransport(function(e){var n,i;if(p.cors||Ve&&!e.crossDomain)return{send:function(o,r){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(s,o[s]);n=function(t){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Ge[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&t.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(e.hasContent&&e.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return w.globalEval(t),t}}}),w.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),w.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,o){e=w("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),_.head.appendChild(e[0])},abort:function(){n&&n()}}});var Xe,Ye=[],Ke=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ye.pop()||w.expando+"_"+Le.guid++;return this[t]=!0,t}}),w.ajaxPrefilter("json jsonp",function(e,n,i){var o,r,s,a=!1!==e.jsonp&&(Ke.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ke.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=f(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ke,"$1"+o):!1!==e.jsonp&&(e.url+=(Ee.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return s||w.error(o+" was not called"),s[0]},e.dataTypes[0]="json",r=t[o],t[o]=function(){s=arguments},i.always(function(){void 0===r?w(t).removeProp(o):t[o]=r,e[o]&&(e.jsonpCallback=n.jsonpCallback,Ye.push(o)),s&&f(r)&&r(s[0]),s=r=void 0}),"script"}),p.createHTMLDocument=((Xe=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xe.childNodes.length),w.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(p.createHTMLDocument?((i=(e=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,e.head.appendChild(i)):e=_),o=j.exec(t),r=!n&&[],o?[e.createElement(o[1])]:(o=Pt([t],e,r),r&&r.length&&w(r).remove(),w.merge([],o.childNodes)));var i,o,r},w.fn.load=function(t,e,n){var i,o,r,s=this,a=t.indexOf(" ");return a>-1&&(i=be(t.slice(a)),t=t.slice(0,a)),f(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&w.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){r=arguments,s.html(i?w("<div>").append(w.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},w.expr.pseudos.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},w.offset={setOffset:function(t,e,n){var i,o,r,s,a,l,c=w.css(t,"position"),h=w(t),u={};"static"===c&&(t.style.position="relative"),a=h.offset(),r=w.css(t,"top"),l=w.css(t,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(s=(i=h.position()).top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),f(e)&&(e=e.call(t,n,w.extend({},a))),null!=e.top&&(u.top=e.top-a.top+s),null!=e.left&&(u.left=e.left-a.left+o),"using"in e?e.using.call(t,u):h.css(u)}},w.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],o={top:0,left:0};if("fixed"===w.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===w.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((o=w(t).offset()).top+=w.css(t,"borderTopWidth",!0),o.left+=w.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-w.css(i,"marginTop",!0),left:e.left-o.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===w.css(t,"position");)t=t.offsetParent;return t||ut})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;w.fn[t]=function(i){return Y(this,function(t,i,o){var r;if(m(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===o)return r?r[e]:t[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):t[i]=o},t,i,arguments.length)}}),w.each(["top","left"],function(t,e){w.cssHooks[e]=Xt(p.pixelPosition,function(t,n){if(n)return n=Vt(t,e),Zt.test(n)?w(t).position()[e]+"px":n})}),w.each({Height:"height",Width:"width"},function(t,e){w.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){w.fn[i]=function(o,r){var s=arguments.length&&(n||"boolean"!=typeof o),a=n||(!0===o||!0===r?"margin":"border");return Y(this,function(e,n,o){var r;return m(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===o?w.css(e,n,a):w.style(e,n,o,a)},e,s?o:void 0,s)}})}),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){w.fn[e]=function(t){return this.on(e,t)}}),w.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){w.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var Je=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;w.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),f(t))return i=o.call(arguments,2),(r=function(){return t.apply(e||this,i.concat(o.call(arguments)))}).guid=t.guid=t.guid||w.guid++,r},w.holdReady=function(t){t?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=C,w.isFunction=f,w.isWindow=m,w.camelCase=tt,w.type=v,w.now=Date.now,w.isNumeric=function(t){var e=w.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},w.trim=function(t){return null==t?"":(t+"").replace(Je,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Qe=t.jQuery,tn=t.$;return w.noConflict=function(e){return t.$===w&&(t.$=tn),e&&t.jQuery===w&&(t.jQuery=Qe),w},void 0===e&&(t.jQuery=t.$=w),w}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):t.jquery_dotdotdot_js=e(t.jQuery)}(this,function(t){return function(t){"use strict";var e,n,i,o,r="dotdotdot",s="3.2.3";function a(){o=t(window),e={},n={},i={},t.each([e,n,i],function(t,e){e.add=function(t){for(var n=0,i=(t=t.split(" ")).length;n<i;n++)e[t[n]]=e.ddd(t[n])}}),e.ddd=function(t){return"ddd-"+t},e.add("truncated keep"),n.ddd=function(t){return"ddd-"+t},i.ddd=function(t){return t+".ddd"},i.add("resize"),a=function(){}}t[r]&&t[r].version>s||(t[r]=function(t,e){this.$dot=t,this.api=["getInstance","truncate","restore","destroy","watch","unwatch"],this.opts=e;var n=this.$dot.data(r);return n&&n.destroy(),this.init(),this.truncate(),this.opts.watch&&this.watch(),this},t[r].version=s,t[r].uniqueId=0,t[r].defaults={ellipsis:"⦠",callback:function(t){}
1,truncate:"word",tolerance:0,keep:null,watch:"window",height:null},t[r].prototype={init:function(){this.watchTimeout=null,this.watchInterval=null,this.uniqueId=t[r].uniqueId++,this.originalStyle=this.$dot.attr("style")||"",this.originalContent=this._getOriginalContent(),"break-word"!==this.$dot.css("word-wrap")&&this.$dot.css("word-wrap","break-word"),"nowrap"===this.$dot.css("white-space")&&this.$dot.css("white-space","normal"),null===this.opts.height&&(this.opts.height=this._getMaxHeight()),"string"==typeof this.opts.ellipsis&&(this.opts.ellipsis=document.createTextNode(this.opts.ellipsis))},getInstance:function(){return this},truncate:function(){this.$inner=this.$dot.wrapInner("<div />").children().css({display:"block",height:"auto",width:"auto",border:"none",padding:0,margin:0}),this.$inner.empty().append(this.originalContent.clone(!0)),this.maxHeight=this._getMaxHeight();var t=!1;return this._fits()||(t=!0,this._truncateToNode(this.$inner[0])),this.$dot[t?"addClass":"removeClass"](e.truncated),this.$inner.replaceWith(this.$inner.contents()),this.$inner=null,this.opts.callback.call(this.$dot[0],t),t},restore:function(){this.unwatch(),this.$dot.empty().append(this.originalContent).attr("style",this.originalStyle).removeClass(e.truncated)},destroy:function(){this.restore(),this.$dot.data(r,null)},watch:function(){var t=this;this.unwatch();var e={};"window"==this.opts.watch?o.on(i.resize+t.uniqueId,function(n){t.watchTimeout&&clearTimeout(t.watchTimeout),t.watchTimeout=setTimeout(function(){e=t._watchSizes(e,o,"width","height")},100)}):this.watchInterval=setInterval(function(){e=t._watchSizes(e,t.$dot,"innerWidth","innerHeight")},500)},unwatch:function(){o.off(i.resize+this.uniqueId),this.watchInterval&&clearInterval(this.watchInterval),this.watchTimeout&&clearTimeout(this.watchTimeout)},_api:function(){var e=this,n={};return t.each(this.api,function(t){var i=this;n[i]=function(){var t=e[i].apply(e,arguments);return void 0===t?n:t}}),n},_truncateToNode:function(n){var i=[],o=[];if(t(n).contents().each(function(){var n=t(this);if(!n.hasClass(e.keep)){var r=document.createComment("");n.replaceWith(r),o.push(this),i.push(r)}}),o.length){for(var r=0;r<o.length;r++){t(i[r]).replaceWith(o[r]),t(o[r]).append(this.opts.ellipsis);var s=this._fits();if(t(this.opts.ellipsis,o[r]).remove(),!s){if("node"==this.opts.truncate&&1<r)return void t(o[r-2]).remove();break}}for(var a=r;a<i.length;a++)t(i[a]).remove();var l=o[Math.max(0,Math.min(r,o.length-1))];if(1==l.nodeType){var c=t("<"+l.nodeName+" />");c.append(this.opts.ellipsis),t(l).replaceWith(c),this._fits()?c.replaceWith(l):(c.remove(),l=o[Math.max(0,r-1)])}1==l.nodeType?this._truncateToNode(l):this._truncateToWord(l)}},_truncateToWord:function(t){for(var e=t,n=this,i=this.__getTextContent(e),o=-1!==i.indexOf(" ")?" ":"ã",r=i.split(o),s="",a=r.length;0<=a;a--)if(s=r.slice(0,a).join(o),n.__setTextContent(e,n._addEllipsis(s)),n._fits()){"letter"==n.opts.truncate&&(n.__setTextContent(e,r.slice(0,a+1).join(o)),n._truncateToLetter(e));break}},_truncateToLetter:function(t){for(var e=this,n=this.__getTextContent(t).split(""),i="",o=n.length;0<=o&&(!(i=n.slice(0,o).join("")).length||(e.__setTextContent(t,e._addEllipsis(i)),!e._fits()));o--);},_fits:function(){return this.$inner.innerHeight()<=this.maxHeight+this.opts.tolerance},_addEllipsis:function(e){for(var n=[" ","ã",",",";",".","!","?"];-1<t.inArray(e.slice(-1),n);)e=e.slice(0,-1);return e+this.__getTextContent(this.opts.ellipsis)},_getOriginalContent:function(){var n=this;return this.$dot.find("script, style").addClass(e.keep),this.opts.keep&&this.$dot.find(this.opts.keep).addClass(e.keep),this.$dot.find("*").not("."+e.keep).add(this.$dot).contents().each(function(){var e=this,i=t(this);if(3==e.nodeType){if(""==t.trim(n.__getTextContent(e))){if(i.parent().is("table, thead, tbody, tfoot, tr, dl, ul, ol, video"))return void i.remove();if(i.prev().is("div, p, table, td, td, dt, dd, li"))return void i.remove();if(i.next().is("div, p, table, td, td, dt, dd, li"))return void i.remove();if(!i.prev().length)return void i.remove();if(!i.next().length)return void i.remove()}}else 8==e.nodeType&&i.remove()}),this.$dot.contents()},_getMaxHeight:function(){if("number"==typeof this.opts.height)return this.opts.height;for(var t=["maxHeight","height"],e=0,n=0;n<t.length;n++)if("px"==(e=window.getComputedStyle(this.$dot[0])[t[n]]).slice(-2)){e=parseFloat(e);break}switch(t=[],this.$dot.css("boxSizing")){case"border-box":t.push("borderTopWidth"),t.push("borderBottomWidth");case"padding-box":t.push("paddingTop"),t.push("paddingBottom")}for(n=0;n<t.length;n++){var i=window.getComputedStyle(this.$dot[0])[t[n]];"px"==i.slice(-2)&&(e-=parseFloat(i))}return Math.max(e,0)},_watchSizes:function(t,e,n,i){if(this.$dot.is(":visible")){var o={width:e[n](),height:e[i]()};return t.width==o.width&&t.height==o.height||this.truncate(),o}return t},__getTextContent:function(t){for(var e=["nodeValue","textContent","innerText"],n=0;n<e.length;n++)if("string"==typeof t[e[n]])return t[e[n]];return""},__setTextContent:function(t,e){for(var n=["nodeValue","textContent","innerText"],i=0;i<n.length;i++)t[n[i]]=e}},t.fn[r]=function(e){return a(),e=t.extend(!0,{},t[r].defaults,e),this.each(function(){t(this).data(r,new t[r](t(this),e)._api())})})}(t),!0}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).leaflet={})}(this,function(t){"use strict";function e(t){for(var e,n,i=1,o=arguments.length;i<o;i++)for(e in n=arguments[i])t[e]=n[e];return t}var n=Object.create||function(t){return i.prototype=t,new i};function i(){}function o(t,e){var n,i=Array.prototype.slice;
vendor: 27,134 bytes, line 1
1return t.bind?t.bind.apply(t,i.call(arguments,1)):(n=i.call(arguments,2),function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)})}var r=0;function s(t){return"_leaflet_id"in t||(t._leaflet_id=++r),t._leaflet_id}function a(t,e,n){var i,o,r=function(){i=!1,o&&(s.apply(n,o),o=!1)},s=function(){i?o=arguments:(t.apply(n,arguments),setTimeout(r,e),i=!0)};return s}function l(t,e,n){var i=e[1],o=i-(e=e[0]);return t===i&&n?t:((t-e)%o+o)%o+e}function c(){return!1}function h(t,e){return!1===e?t:(e=Math.pow(10,void 0===e?6:e),Math.round(t*e)/e)}function u(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function d(t){return u(t).split(/\s+/)}function p(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?n(t.options):{}),e)t.options[i]=e[i];return t.options}function f(t,e,n){var i,o=[];for(i in t)o.push(encodeURIComponent(n?i.toUpperCase():i)+"="+encodeURIComponent(t[i]));return(e&&-1!==e.indexOf("?")?"&":"?")+o.join("&")}var m=/\{ *([\w_ -]+) *\}/g;function _(t,e){return t.replace(m,function(t,n){if(void 0===(n=e[n]))throw new Error("No value provided for variable "+t);return"function"==typeof n?n(e):n})}var g=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function y(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1}var v="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function b(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var w=0;function x(t){var e=+new Date,n=Math.max(0,16-(e-w));return w=e+n,window.setTimeout(t,n)}var C=window.requestAnimationFrame||b("RequestAnimationFrame")||x,T=window.cancelAnimationFrame||b("CancelAnimationFrame")||b("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function E(t,e,n){if(!n||C!==x)return C.call(window,o(t,e));t.call(e)}function S(t){t&&T.call(window,t)}var P={__proto__:null,extend:e,create:n,bind:o,get lastId(){return r},stamp:s,throttle:a,wrapNum:l,falseFn:c,formatNum:h,trim:u,splitWords:d,setOptions:p,getParamString:f,template:_,isArray:g,indexOf:y,emptyImageUrl:v,requestFn:C,cancelFn:T,requestAnimFrame:E,cancelAnimFrame:S};function M(){}M.extend=function(t){function i(){p(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var o,r=i.__super__=this.prototype,s=n(r);for(o in(s.constructor=i).prototype=s,this)Object.prototype.hasOwnProperty.call(this,o)&&"prototype"!==o&&"__super__"!==o&&(i[o]=this[o]);if(t.statics&&e(i,t.statics),t.includes){var a=t.includes;if("undefined"!=typeof L&&L&&L.Mixin){a=g(a)?a:[a];for(var l=0;l<a.length;l++)a[l]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}e.apply(null,[s].concat(t.includes))}return e(s,t),delete s.statics,delete s.includes,s.options&&(s.options=r.options?n(r.options):{},e(s.options,t.options)),s._initHooks=[],s.callInitHooks=function(){if(!this._initHooksCalled){r.callInitHooks&&r.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=s._initHooks.length;t<e;t++)s._initHooks[t].call(this)}},i},M.include=function(t){var n=this.prototype.options;return e(this.prototype,t),t.options&&(this.prototype.options=n,this.mergeOptions(t.options)),this},M.mergeOptions=function(t){return e(this.prototype.options,t),this},M.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),n="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var k={on:function(t,e,n){if("object"==typeof t)for(var i in t)this._on(i,t[i],e);else for(var o=0,r=(t=d(t)).length;o<r;o++)this._on(t[o],e,n);return this},off:function(t,e,n){if(arguments.length)if("object"==typeof t)for(var i in t)this._off(i,t[i],e);else{t=d(t);for(var o=1===arguments.length,r=0,s=t.length;r<s;r++)o?this._off(t[r]):this._off(t[r],e,n)}else delete this._events;return this},_on:function(t,e,n,i){"function"!=typeof e?console.warn("wrong listener type: "+typeof e):!1===this._listens(t,e,n)&&(e={fn:e,ctx:n=n===this?void 0:n},i&&(e.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(e))},_off:function(t,e,n){var i,o,r;if(this._events&&(i=this._events[t]))if(1===arguments.length){if(this._firingCount)for(o=0,r=i.length;o<r;o++)i[o].fn=c;delete this._events[t]}else"function"!=typeof e?console.warn("wrong listener type: "+typeof e):!1!==(e=this._listens(t,e,n))&&(n=i[e],this._firingCount&&(n.fn=c,this._events[t]=i=i.slice()),i.splice(e,1))},fire:function(t,n,i){if(this.listens(t,i)){var o=e({},n,{type:t,target:this,sourceTarget:n&&n.sourceTarget||this});if(this._events){var r=this._events[t];if(r){this._firingCount=this._firingCount+1||1;for(var s=0,a=r.length;s<a;s++){var l=r[s],c=l.fn;l.once&&this.off(t,c,l.ctx),c.call(l.ctx||this,o)}this._firingCount--}}i&&this._propagateEvent(o)}return this},listens:function(t,e,n,i){"string"!=typeof t&&console.warn('"string" type argument expected');var o=e,r=("function"!=typeof e&&(i=!!e,n=o=void 0),this._events&&this._events[t]);if(r&&r.length&&!1!==this._listens(t,o,n))return!0;if(i)for(var s in this._eventParents)if(this._eventParents[s].listens(t,e,n,i))return!0;return!1},_listens:function(t,e,n){if(this._events){var i=this._events[t]||[];if(!e)return!!i.length;n===this&&(n=void 0);for(var o=0,r=i.length;o<r;o++)if(i[o].fn===e&&i[o].ctx===n)return o}return!1},once:function(t,e,n){if("object"==typeof t)for(var i in t)this._on(i,t[i],e,!0);else for(var o=0,r=(t=d(t)).length;o<r;o++)this._on(t[o],e,n,!0);return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[s(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[s(t)],this},_propagateEvent:function(t){for(var n in this._eventParents)this._eventParents[n].fire(t.type,e({layer:t.target,propagatedFrom:t.target},t),!0)}},N=(k.addEventListener=k.on,k.removeEventListener=k.clearAllEventListeners=k.off,k.addOneTimeEventListener=k.once,k.fireEvent=k.fire,k.hasEventListeners=k.listens,M.extend(k));function O(t,e,n){this.x=n?Math.round(t):t,this.y=n?Math.round(e):e}var A=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};function D(t,e,n){return t instanceof O?t:g(t)?new O(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new O(t.x,t.y):new O(t,e,n)}function I(t,e){if(t)for(var n=e?[t,e]:t,i=0,o=n.length;i<o;i++)this.extend(n[i])}function j(t,e){return!t||t instanceof I?t:new I(t,e)}function z(t,e){if(t)for(var n=e?[t,e]:t,i=0,o=n.length;i<o;i++)this.extend(n[i])}function B(t,e){return t instanceof z?t:new z(t,e)}function R(t,e,n){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==n&&(this.alt=+n)}function $(t,e,n){return t instanceof R?t:g(t)&&"object"!=typeof t[0]?3===t.length?new R(t[0],t[1],t[2]):2===t.length?new R(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new R(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new R(t,e,n)}O.prototype={clone:function(){return new O(this.x,this.y)},add:function(t){return this.clone()._add(D(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(D(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 O(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new O(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=A(this.x),this.y=A(this.y),this},distanceTo:function(t){var e=(t=D(t)).x-this.x;t=t.y-this.y;return Math.sqrt(e*e+t*t)},equals:function(t){return(t=D(t)).x===this.x&&t.y===this.y},contains:function(t){return t=D(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+h(this.x)+", "+h(this.y)+")"}},I.prototype={extend:function(t){var e,n;if(t){if(t instanceof O||"number"==typeof t[0]||"x"in t)e=n=D(t);else if(e=(t=j(t)).min,n=t.max,!e||!n)return this;this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)):(this.min=e.clone(),this.max=n.clone())}return this},getCenter:function(t){return D((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return D(this.min.x,this.max.y)},getTopRight:function(){return D(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,n;return(t=("number"==typeof t[0]||t instanceof O?D:j)(t))instanceof I?(e=t.min,n=t.max):e=n=t,e.x>=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=j(t);var e=this.min,n=this.max,i=t.min,o=(t=t.max).x>=e.x&&i.x<=n.x;t=t.y>=e.y&&i.y<=n.y;return o&&t},overlaps:function(t){t=j(t);var e=this.min,n=this.max,i=t.min,o=(t=t.max).x>e.x&&i.x<n.x;t=t.y>e.y&&i.y<n.y;return o&&t},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var e=this.min,n=this.max,i=Math.abs(e.x-n.x)*t;t=Math.abs(e.y-n.y)*t;return j(D(e.x-i,e.y-t),D(n.x+i,n.y+t))},equals:function(t){return!!t&&(t=j(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},z.prototype={extend:function(t){var e,n,i=this._southWest,o=this._northEast;if(t instanceof R)n=e=t;else{if(!(t instanceof z))return t?this.extend($(t)||B(t)):this;if(e=t._southWest,n=t._northEast,!e||!n)return this}return i||o?(i.lat=Math.min(e.lat,i.lat),i.lng=Math.min(e.lng,i.lng),o.lat=Math.max(n.lat,o.lat),o.lng=Math.max(n.lng,o.lng)):(this._southWest=new R(e.lat,e.lng),this._northEast=new R(n.lat,n.lng)),this},pad:function(t){var e=this._southWest,n=this._northEast,i=Math.abs(e.lat-n.lat)*t;t=Math.abs(e.lng-n.lng)*t;return new z(new R(e.lat-i,e.lng-t),new R(n.lat+i,n.lng+t))},getCenter:function(){return new R((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 R(this.getNorth(),this.getWest())},getSouthEast:function(){return new R(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=("number"==typeof t[0]||t instanceof R||"lat"in t?$:B)(t);var e,n,i=this._southWest,o=this._northEast;return t instanceof z?(e=t.getSouthWest(),n=t.getNorthEast()):e=n=t,e.lat>=i.lat&&n.lat<=o.lat&&e.lng>=i.lng&&n.lng<=o.lng},intersects:function(t){t=B(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),o=(t=t.getNorthEast()).lat>=e.lat&&i.lat<=n.lat;t=t.lng>=e.lng&&i.lng<=n.lng;return o&&t},overlaps:function(t){t=B(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),o=(t=t.getNorthEast()).lat>e.lat&&i.lat<n.lat;t=t.lng>e.lng&&i.lng<n.lng;return o&&t},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=B(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}};var F={latLngToPoint:function(t,e){return t=this.projection.project(t),e=this.scale(e),this.transformation._transform(t,e)},pointToLatLng:function(t,e){return e=this.scale(e),t=this.transformation.untransform(t,e),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 I(this.transformation.transform(e.min,t),this.transformation.transform(e.max,t)))},infinite:!(R.prototype={equals:function(t,e){return!!t&&(t=$(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("+h(this.lat,t)+", "+h(this.lng,t)+")"},distanceTo:function(t){return H.distance(this,$(t))},wrap:function(){return H.wrapLatLng(this)},toBounds:function(t){var e=(t=180*t/40075017)/Math.cos(Math.PI/180*this.lat);return B([this.lat-t,this.lng-e],[this.lat+t,this.lng+e])},clone:function(){return new R(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var e=this.wrapLng?l(t.lng,this.wrapLng,!0):t.lng;return new R(this.wrapLat?l(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),n=this.wrapLatLng(e),i=e.lat-n.lat;e=e.lng-n.lng;return 0==i&&0==e?t:(n=t.getSouthWest(),t=t.getNorthEast(),new z(new R(n.lat-i,n.lng-e),new R(t.lat-i,t.lng-e)))}},H=e({},F,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var n=Math.PI/180,i=t.lat*n,o=e.lat*n,r=Math.sin((e.lat-t.lat)*n/2);e=Math.sin((e.lng-t.lng)*n/2),t=r*r+Math.cos(i)*Math.cos(o)*e*e,n=2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t));return this.R*n}}),Z={R:Z=6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,n=this.MAX_LATITUDE;n=Math.max(Math.min(n,t.lat),-n),n=Math.sin(n*e);return new O(this.R*t.lng*e,this.R*Math.log((1+n)/(1-n))/2)},unproject:function(t){var e=180/Math.PI;return new R((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:new I([-(Z*=Math.PI),-Z],[Z,Z])};function U(t,e,n,i){g(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=n,this._d=i)}function q(t,e,n,i){return new U(t,e,n,i)}U.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 O((t.x/(e=e||1)-this._b)/this._a,(t.y/e-this._d)/this._c)}};var W=e({},H,{code:"EPSG:3857",projection:Z,transformation:q(W=.5/(Math.PI*Z.R),.5,-W,.5)}),G=e({},W,{code:"EPSG:900913"});function V(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function X(t,e){for(var n,i,o,r,s="",a=0,l=t.length;a<l;a++){for(n=0,i=(o=t[a]).length;n<i;n++)s+=(n?"L":"M")+(r=o[n]).x+" "+r.y;s+=e?Pt.svg?"z":"x":""}return s||"M0 0"}var Y=document.documentElement.style,K="ActiveXObject"in window,J=K&&!document.addEventListener,Q="msLaunchUri"in navigator&&!("documentMode"in document),tt=St("webkit"),et=St("android"),nt=St("android 2")||St("android 3"),it=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),ot=(it=et&&St("Google")&&it<537&&!("AudioNode"in window),!!window.opera),rt=!Q&&St("chrome"),st=St("gecko")&&!tt&&!ot&&!K,at=!rt&&St("safari"),lt=St("phantom"),ct="OTransition"in Y,ht=0===navigator.platform.indexOf("Win"),ut=K&&"transition"in Y,dt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!nt,pt=(Y="MozPerspective"in Y,!window.L_DISABLE_3D&&(ut||dt||Y)&&!ct&&!lt),ft=(Vn="undefined"!=typeof orientation||St("mobile"))&&tt,mt=Vn&&dt,_t=!window.PointerEvent&&window.MSPointerEvent,gt=!(!window.PointerEvent&&!_t),yt="ontouchstart"in window||!!window.TouchEvent,vt=!window.L_NO_TOUCH&&(yt||gt),bt=Vn&&ot,wt=Vn&&st,xt=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Ct=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",c,e),window.removeEventListener("testPassiveEventSupport",c,e)}catch(t){}return t}(),Tt=!!document.createElement("canvas").getContext,Lt=!(!document.createElementNS||!V("svg").createSVGRect),Et=!!Lt&&((Et=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(Et.firstChild&&Et.firstChild.namespaceURI));function St(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}var Pt={ie:K,ielt9:J,edge:Q,webkit:tt,android:et,android23:nt,androidStock:it,opera:ot,chrome:rt,gecko:st,safari:at,phantom:lt,opera12:ct,win:ht,ie3d:ut,webkit3d:dt,gecko3d:Y,any3d:pt,mobile:Vn,mobileWebkit:ft,mobileWebkit3d:mt,msPointer:_t,pointer:gt,touch:vt,touchNative:yt,mobileOpera:bt,mobileGecko:wt,retina:xt,passiveEvents:Ct,canvas:Tt,svg:Lt,vml:!Lt&&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}}(),inlineSvg:Et,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},Mt=Pt.msPointer?"MSPointerDown":"pointerdown",kt=Pt.msPointer?"MSPointerMove":"pointermove",Nt=Pt.msPointer?"MSPointerUp":"pointerup",Ot=Pt.msPointer?"MSPointerCancel":"pointercancel",At={touchstart:Mt,touchmove:kt,touchend:Nt,touchcancel:Ot},Dt={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&ke(e),$t(t,e)},touchmove:$t,touchend:$t,touchcancel:$t},It={},jt=!1;function zt(t){It[t.pointerId]=t}function Bt(t){It[t.pointerId]&&(It[t.pointerId]=t)}function Rt(t){delete It[t.pointerId]}function $t(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in e.touches=[],It)e.touches.push(It[n]);e.changedTouches=[e],t(e)}}var Ft=200;var Ht,Zt,Ut,qt,Wt,Gt,Vt=he(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Xt=he(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Yt="webkitTransition"===Xt||"OTransition"===Xt?Xt+"End":"transitionend";function Kt(t){return"string"==typeof t?document.getElementById(t):t}function Jt(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];return"auto"===(n=n&&"auto"!==n||!document.defaultView?n:(t=document.defaultView.getComputedStyle(t,null))?t[e]:null)?null:n}function Qt(t,e,n){return(t=document.createElement(t)).className=e||"",n&&n.appendChild(t),t}function te(t){var e=t.parentNode;e&&e.removeChild(t)}function ee(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ne(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ie(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function oe(t,e){return void 0!==t.classList?t.classList.contains(e):0<(t=le(t)).length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t)}function re(t,e){var n;if(void 0!==t.classList)for(var i=d(e),o=0,r=i.length;o<r;o++)t.classList.add(i[o]);else oe(t,e)||ae(t,((n=le(t))?n+" ":"")+e)}function se(t,e){void 0!==t.classList?t.classList.remove(e):ae(t,u((" "+le(t)+" ").replace(" "+e+" "," ")))}function ae(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function le(t){return void 0===(t=t.correspondingElement?t.correspondingElement:t).className.baseVal?t.className:t.className.baseVal}function ce(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(i)}catch(t){if(1===e)return}e=Math.round(100*e),n?(n.Enabled=100!==e,n.Opacity=e):t.style.filter+=" progid:"+i+"(opacity="+e+")"}}function he(t){for(var e=document.documentElement.style,n=0;n<t.length;n++)if(t[n]in e)return t[n];return!1}function ue(t,e,n){e=e||new O(0,0),t.style[Vt]=(Pt.ie3d?"translate("+e.x+"px,"+e.y+"px)":"translate3d("+e.x+"px,"+e.y+"px,0)")+(n?" scale("+n+")":"")}function de(t,e){t._leaflet_pos=e,Pt.any3d?ue(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function pe(t){return t._leaflet_pos||new O(0,0)}function fe(){be(window,"dragstart",ke)}function me(){xe(window,"dragstart",ke)}function _e(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(ge(),Gt=(Wt=t).style.outlineStyle,t.style.outlineStyle="none",be(window,"keydown",ge))}function ge(){Wt&&(Wt.style.outlineStyle=Gt,Gt=Wt=void 0,xe(window,"keydown",ge))}function ye(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function ve(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}function be(t,e,n,i){if(e&&"object"==typeof e)for(var o in e)Le(t,o,e[o],n);else for(var r=0,s=(e=d(e)).length;r<s;r++)Le(t,e[r],n,i);return this}qt="onselectstart"in document?(Ut=function(){be(window,"selectstart",ke)},function(){xe(window,"selectstart",ke)}):(Zt=he(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),Ut=function(){var t;Zt&&(t=document.documentElement.style,Ht=t[Zt],t[Zt]="none")},function(){Zt&&(document.documentElement.style[Zt]=Ht,Ht=void 0)}),K={__proto__:null,TRANSFORM:Vt,TRANSITION:Xt,TRANSITION_END:Yt,get:Kt,getStyle:Jt,create:Qt,remove:te,empty:ee,toFront:ne,toBack:ie,hasClass:oe,addClass:re,removeClass:se,setClass:ae,getClass:le,setOpacity:ce,testProp:he,setTransform:ue,setPosition:de,getPosition:pe,get disableTextSelection(){return Ut},get enableTextSelection(){return qt},disableImageDrag:fe,enableImageDrag:me,preventOutline:_e,restoreOutline:ge,getSizedParentNode:ye,getScale:ve};var we="_leaflet_events";function xe(t,e,n,i){if(1===arguments.length)Ce(t),delete t[we];else if(e&&"object"==typeof e)for(var o in e)Ee(t,o,e[o],n);else if(e=d(e),2===arguments.length)Ce(t,function(t){return-1!==y(e,t)});else for(var r=0,s=e.length;r<s;r++)Ee(t,e[r],n,i);return this}function Ce(t,e){for(var n in t[we]){var i=n.split(/\d/)[0];e&&!e(i)||Ee(t,i,null,null,n)}}var Te={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Le(t,e,n,i){var o,r,a=e+s(n)+(i?"_"+s(i):"");t[we]&&t[we][a]||(r=o=function(e){return n.call(i||t,e||window.event)},!Pt.touchNative&&Pt.pointer&&0===e.indexOf("touch")?o=function(t,e,n){return"touchstart"!==e||jt||(document.addEventListener(Mt,zt,!0),document.addEventListener(kt,Bt,!0),document.addEventListener(Nt,Rt,!0),document.addEventListener(Ot,Rt,!0),jt=!0),Dt[e]?(n=Dt[e].bind(this,n),t.addEventListener(At[e],n,!1),n):(console.warn("wrong event specified:",e),c)}(t,e,o):Pt.touch&&"dblclick"===e?o=function(t,e){t.addEventListener("dblclick",e);var n,i=0;function o(t){var o;1!==t.detail?n=t.detail:"mouse"===t.pointerType||t.sourceCapabilities&&!t.sourceCapabilities.firesTouchEvents||(o=Oe(t)).some(function(t){return t instanceof HTMLLabelElement&&t.attributes.for})&&!o.some(function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement})||((o=Date.now())-i<=Ft?2==++n&&e(function(t){var e,n,i={};for(n in t)e=t[n],i[n]=e&&e.bind?e.bind(t):e;return(t=i).type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}(t)):n=1,i=o)}return t.addEventListener("click",o),{dblclick:e,simDblclick:o}}(t,o):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Te[e]||e,o,!!Pt.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?t.addEventListener(Te[e],o=function(e){e=e||window.event,je(t,e)&&r(e)},!1):t.addEventListener(e,r,!1):t.attachEvent("on"+e,o),t[we]=t[we]||{},t[we][a]=o)}function Ee(t,e,n,i,o){var r,a;o=o||e+s(n)+(i?"_"+s(i):""),(n=t[we]&&t[we][o])&&(!Pt.touchNative&&Pt.pointer&&0===e.indexOf("touch")?(i=t,a=n,At[r=e]?i.removeEventListener(At[r],a,!1):console.warn("wrong event specified:",r)):Pt.touch&&"dblclick"===e?(i=n,(a=t).removeEventListener("dblclick",i.dblclick),a.removeEventListener("click",i.simDblclick)):"removeEventListener"in t?t.removeEventListener(Te[e]||e,n,!1):t.detachEvent("on"+e,n),t[we][o]=null)}function Se(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function Pe(t){return Le(t,"wheel",Se),this}function Me(t){return be(t,"mousedown touchstart dblclick contextmenu",Se),t._leaflet_disable_click=!0,this}function ke(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ne(t){return ke(t),Se(t),this}function Oe(t){if(t.composedPath)return t.composedPath();for(var e=[],n=t.target;n;)e.push(n),n=n.parentNode;return e}function Ae(t,e){var n,i;return e?(i=(n=ve(e)).boundingClientRect,new O((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)):new O(t.clientX,t.clientY)}var De=Pt.linux&&Pt.chrome?window.devicePixelRatio:Pt.mac?3*window.devicePixelRatio:0<window.devicePixelRatio?2*window.devicePixelRatio:1;function Ie(t){return Pt.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/De: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}function je(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(t){return!1}return n!==t}J={__proto__:null,on:be,off:xe,stopPropagation:Se,disableScrollPropagation:Pe,disableClickPropagation:Me,preventDefault:ke,stop:Ne,getPropagationPath:Oe,getMousePosition:Ae,getWheelDelta:Ie,isExternalTarget:je,addListener:be,removeListener:xe};var ze=N.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.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=E(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;e<n?this._runFrame(this._easeOut(e/n),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){t=this._startPos.add(this._offset.multiplyBy(t)),e&&t._round(),de(this._el,t),this.fire("step")},_complete:function(){S(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Be=N.extend({options:{crs:W,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=p(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=o(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($(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Xt&&Pt.any3d&&!Pt.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),be(this._proxy,Yt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 1,331 bytes, line 1
1,setView:function(t,n,i){return n=void 0===n?this._zoom:this._limitZoom(n),t=this._limitCenter($(t),n,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=e({animate:i.animate},i.zoom),i.pan=e({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==n?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,n,i.zoom):this._tryAnimatedPan(t,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,n,i.pan&&i.pan.noMoveStart),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||(Pt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(Pt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,n){var i=this.getZoomScale(e),o=this.getSize().divideBy(2);t=(t instanceof O?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/i),i=this.containerPointToLatLng(o.add(t));return this.setView(i,e,{zoom:n})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():B(t);var n=D(e.paddingTopLeft||e.padding||[0,0]),i=D(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,n.add(i));return(o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0?{center:t.getCenter(),zoom:o}
vendor: 115,783 bytes, line 1
1:(e=i.subtract(n).divideBy(2),i=this.project(t.getSouthWest(),o),n=this.project(t.getNorthEast(),o),{center:this.unproject(i.add(n).divideBy(2).add(e),o),zoom:o})},fitBounds:function(t,e){if((t=B(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 n;return e=e||{},(t=D(t).round()).x||t.y?(!0===e.animate||this.getSize().contains(t)?(this._panAnim||(this._panAnim=new ze,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate?(re(this._mapPane,"leaflet-pan-anim"),n=this._getMapPanePos().subtract(t).round(),this._panAnim.run(this._mapPane,n,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(t,e,n){if(!1===(n=n||{}).animate||!Pt.any3d)return this.setView(t,e,n);this._stop();var i=this.project(this.getCenter()),o=this.project(t),r=this.getSize(),s=this._zoom,a=(t=$(t),e=void 0===e?s:e,Math.max(r.x,r.y)),l=a*this.getZoomScale(s,e),c=o.distanceTo(i)||1,h=1.42,u=h*h;function d(t){return t=(l*l-a*a+(t?-1:1)*u*u*c*c)/(2*(t?l:a)*u*c),(t=Math.sqrt(t*t+1)-t)<1e-9?-18:Math.log(t)}function p(t){return(Math.exp(t)-Math.exp(-t))/2}function f(t){return(Math.exp(t)+Math.exp(-t))/2}var m=d(0);var _=Date.now(),g=(d(1)-m)/h,y=n.duration?1e3*n.duration:1e3*g*.8;return this._moveStart(!0,n.noMoveStart),function n(){var r=(Date.now()-_)/y,l=(1-Math.pow(1-r,1.5))*g;r<=1?(this._flyToFrame=E(n,this),this._move(this.unproject(i.add(o.subtract(i).multiplyBy(function(t){return a*(f(m)*(p(t=m+h*t)/f(t))-p(m))/u}(l)/c)),s),this.getScaleZoom(a/(r=l,a*(f(m)/f(m+h*r))),s),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){return t=this._getBoundsCenterZoom(t,e),this.flyTo(t.center,t.zoom,e)},setMaxBounds:function(t){return t=B(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},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 n=this.getCenter();t=this._limitCenter(n,this._zoom,B(t));return n.equals(t)||this.panTo(t,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=D((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=D(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),r=(t=this.project(t),(n=j([(r=this.getPixelBounds()).min.add(n),r.max.subtract(i)])).getSize());return n.contains(t)||(this._enforcingBounds=!0,i=t.subtract(n.getCenter()),n=n.extend(t).getSize().subtract(r),o.x+=i.x<0?-n.x:n.x,o.y+=i.y<0?-n.y:n.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1),this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize(),i=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),r=n.divideBy(2).round(),s=i.divideBy(2).round();return(r=r.subtract(s)).x||r.y?(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){var n,i;return t=this._locateOptions=e({timeout:1e4,watch:!1},t),"geolocation"in navigator?(n=o(this._handleGeolocationResponse,this),i=o(this._handleGeolocationError,this),t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,i,t):navigator.geolocation.getCurrentPosition(n,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;this._container._leaflet_id&&(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){if(this._container._leaflet_id){var e,n,i=new R(t.coords.latitude,t.coords.longitude),o=i.toBounds(2*t.coords.accuracy),r=this._locateOptions,s=(r.setView&&(e=this.getBoundsZoom(o),this.setView(i,r.maxZoom?Math.min(e,r.maxZoom):e)),{latlng:i,bounds:o,timestamp:t.timestamp});for(n in t.coords)"number"==typeof t.coords[n]&&(s[n]=t.coords[n]);this.fire("locationfound",s)}},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.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(var t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),te(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(S(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)te(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){return e=Qt("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane),t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new z(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._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=B(t),n=D(n||[0,0]);var i=this.getZoom()||0,o=this.getMinZoom(),r=this.getMaxZoom(),s=t.getNorthWest(),a=(t=t.getSouthEast(),n=this.getSize().subtract(n),t=j(this.project(t,i),this.project(s,i)).getSize(),s=Pt.any3d?this.options.zoomSnap:1,n.x/t.x);n=n.y/t.y,t=e?Math.max(a,n):Math.min(a,n),i=this.getScaleZoom(t,i);return s&&(i=Math.round(i/(s/100))*(s/100),i=e?Math.ceil(i/s)*s:Math.floor(i/s)*s),Math.max(o,Math.min(r,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new O(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){return new I(t=this._getTopLeftPoint(t,e),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 n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e,t=n.zoom(t*n.scale(e));return isNaN(t)?1/0:t},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint($(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(D(t),e)},layerPointToLatLng:function(t){return t=D(t).add(this.getPixelOrigin()),this.unproject(t)},latLngToLayerPoint:function(t){return this.project($(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng($(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(B(t))},distance:function(t,e){return this.options.crs.distance($(t),$(e))},containerPointToLayerPoint:function(t){return D(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return D(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){return t=this.containerPointToLayerPoint(D(t)),this.layerPointToLatLng(t)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint($(t)))},mouseEventToContainerPoint:function(t){return Ae(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){if(!(t=this._container=Kt(t)))throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");be(t,"scroll",this._onScroll,this),this._containerId=s(t)},_initLayout:function(){var t=this._container,e=(this._fadeAnimated=this.options.fadeAnimation&&Pt.any3d,re(t,"leaflet-container"+(Pt.touch?" leaflet-touch":"")+(Pt.retina?" leaflet-retina":"")+(Pt.ielt9?" leaflet-oldie":"")+(Pt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),Jt(t,"position"));"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==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),de(this._mapPane,new O(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(re(t.markerPane,"leaflet-zoom-hide"),re(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,n){de(this._mapPane,new O(0,0));var i=!this._loaded,o=(this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset"),this._zoom!==e);this._moveStart(o,n)._move(t,e)._moveEnd(o),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,n,i){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),i?n&&n.pinch&&this.fire("zoom",n):((o||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return S(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){de(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?xe:be;e((this._targets[s(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),Pt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){S(this._resizeRequest),this._resizeRequest=E(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 n,i=[],o="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,a=!1;r;){if((n=this._targets[s(r)])&&("click"===e||"preclick"===e)&&this._draggableMoved(n)){a=!0;break}if(n&&n.listens(e,!0)){if(o&&!je(r,t))break;if(i.push(n),o)break}if(r===this._container)break;r=r.parentNode}return i.length||a||o||!this.listens(e,!0)?i:[this]},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e,n=t.target||t.srcElement;!this._loaded||n._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(n)||("mousedown"===(e=t.type)&&_e(n),this._fireDOMEvent(t,e))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,i){"click"===t.type&&((l=e({},t)).type="preclick",this._fireDOMEvent(l,l.type,i));var o=this._findEventTargets(t,n);if(i){for(var r=[],s=0;s<i.length;s++)i[s].listens(n,!0)&&r.push(i[s]);o=r.concat(o)}if(o.length){"contextmenu"===n&&ke(t);var a,l=o[0],c={originalEvent:t};for("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type&&(a=l.getLatLng&&(!l._radius||l._radius<=10),c.containerPoint=a?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(t),c.layerPoint=this.containerPointToLayerPoint(c.containerPoint),c.latlng=a?l.getLatLng():this.layerPointToLatLng(c.layerPoint)),s=0;s<o.length;s++)if(o[s].fire(n,c,!0),c.originalEvent._stopped||!1===o[s].options.bubblingMouseEvents&&-1!==y(this._mouseEvents,n))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 O(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 n=this.getSize()._divideBy(2);return this.project(t,e)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,n){return n=this._getNewPixelOrigin(n,e),this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,n){return n=this._getNewPixelOrigin(n,e),j([this.project(t.getSouthWest(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,n){var i,o;return!n||(i=this.project(t,e),o=this.getSize().divideBy(2),o=new I(i.subtract(o),i.add(o)),o=this._getBoundsOffset(o,n,e),Math.abs(o.x)<=1&&Math.abs(o.y)<=1)?t:this.unproject(i.add(o),e)},_limitOffset:function(t,e){var n;return e?(n=new I((n=this.getPixelBounds()).min.add(t),n.max.add(t)),t.add(this._getBoundsOffset(n,e))):t},_getBoundsOffset:function(t,e,n){return n=(e=j(this.project(e.getNorthEast(),n),this.project(e.getSouthWest(),n))).min.subtract(t.min),e=e.max.subtract(t.max),new O(this._rebound(n.x,-e.x),this._rebound(n.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(),n=this.getMaxZoom(),i=Pt.any3d?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){se(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){return t=this._getCenterOffset(t)._trunc(),!(!0!==(e&&e.animate)&&!this.getSize().contains(t)||(this.panBy(t,e),0))},_createAnimProxy:function(){var t=this._proxy=Qt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=Vt,n=this._proxy.style[e];ue(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){te(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();ue(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_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,n){if(!this._animatingZoom){if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e);i=this._getCenterOffset(t)._divideBy(1-1/i);if(!0!==n.animate&&!this.getSize().contains(i))return!1;E(function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(t,e,!0)},this)}return!0},_animateZoom:function(t,e,n,i){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,re(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:i}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(o(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&se(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Re(t){return new $e(t)}var $e=M.extend({options:{position:"topright"},initialize:function(t){p(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),n=this.getPosition();t=t._controlCorners[n];return re(e,"leaflet-control"),-1!==n.indexOf("bottom")?t.insertBefore(e,t.firstChild):t.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(te(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()}}),Fe=(Be.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=Qt("div",e+"control-container",this._container);function i(i,o){t[i+o]=Qt("div",e+i+" "+e+o,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)te(this._controlCorners[t]);te(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}),$e.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n<i?-1:i<n?1:0}},initialize:function(t,e,n){for(var i in p(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[i],i);for(i in e)this._addLayer(e[i],i,!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 $e.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){return t.off("add remove",this._onLayerChange,this),(t=this._getLayer(s(t)))&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){re(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?(re(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):se(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return se(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=Qt("div",t),n=this.options.collapsed,i=(e.setAttribute("aria-haspopup",!0),Me(e),Pe(e),this._section=Qt("section",t+"-list")),o=(n&&(this._map.on("click",this.collapse,this),be(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this)),this._layersLink=Qt("a",t+"-toggle",e));o.href="#",o.title="Layers",o.setAttribute("role","button"),be(o,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){ke(t),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=Qt("div",t+"-base",i),this._separator=Qt("div",t+"-separator",i),this._overlaysList=Qt("div",t+"-overlays",i),e.appendChild(i)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&s(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:n}),this.options.sortLayers&&this._layers.sort(o(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){ee(this._baseLayersList),ee(this._overlaysList),this._layerControlInputs=[];for(var t,e,n,i=0,o=0;o<this._layers.length;o++)n=this._layers[o],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,i+=n.overlay?0:1;this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&1<i)?"":"none"),this._separator.style.display=e&&t?"":"none"}return this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(s(t.target));(t=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null)&&this._map.fire(t,e)},_createRadioElement:function(t,e){return t='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",(e=document.createElement("div")).innerHTML=t,e.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer),o=((i=(t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+s(this),i),this._layerControlInputs.push(e),e.layerId=s(t.layer),be(e,"click",this._onInputClick,this),document.createElement("span"))).innerHTML=" "+t.name,document.createElement("span"));return n.appendChild(o),o.appendChild(e),o.appendChild(i),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var t,e,n=this._layerControlInputs,i=[],o=[];this._handlingClick=!0;for(var r=n.length-1;0<=r;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||o.push(e);for(r=0;r<o.length;r++)this._map.hasLayer(o[r])&&this._map.removeLayer(o[r]);for(r=0;r<i.length;r++)this._map.hasLayer(i[r])||this._map.addLayer(i[r]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,e,n=this._layerControlInputs,i=this._map.getZoom(),o=n.length-1;0<=o;o--)t=n[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&i<e.options.minZoom||void 0!==e.options.maxZoom&&i>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section,e=(this._preventClick=!0,be(t,"click",ke),this.expand(),this);setTimeout(function(){xe(t,"click",ke),e._preventClick=!1})}})),He=$e.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=Qt("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},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))},_createButton:function(t,e,n,i,o){return(n=Qt("a",n,i)).innerHTML=t,n.href="#",n.title=e,n.setAttribute("role","button"),n.setAttribute("aria-label",e),Me(n),be(n,"click",Ne),be(n,"click",o,this),be(n,"click",this._refocusOnMap,this),n},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";se(this._zoomInButton,e),se(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),!this._disabled&&t._zoom!==t.getMinZoom()||(re(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),!this._disabled&&t._zoom!==t.getMaxZoom()||(re(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}}),Ze=(Be.mergeOptions({zoomControl:!0}),Be.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new He,this.addControl(this.zoomControl))}),$e.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=Qt("div",e),i=this.options;return this._addScales(i,e+"-line",n),t.on(i.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=Qt("div",e,n)),t.imperial&&(this._iScale=Qt("div",e,n))},_update:function(){var t=(e=this._map).getSize().y/2,e=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(e)},_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,n;5280<(t=3.2808399*t)?(n=this._getRoundNum(e=t/5280),this._updateScale(this._iScale,n+" mi",n/e)):(n=this._getRoundNum(t),this._updateScale(this._iScale,n+" ft",n/t))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1);return e*(10<=(t=t/e)?10:5<=t?5:3<=t?3:2<=t?2:1)}})),Ue=$e.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Pt.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(t){p(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=Qt("div","leaflet-control-attribution"),Me(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},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 n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(' <span aria-hidden="true">|</span> ')}}}),qe=(tt=((Q=(Be.mergeOptions({attributionControl:!0}),Be.addInitHook(function(){this.options.attributionControl&&(new Ue).addTo(this)}),$e.Layers=Fe,$e.Zoom=He,$e.Scale=Ze,$e.Attribution=Ue,Re.layers=function(t,e,n){return new Fe(t,e,n)},Re.zoom=function(t){return new He(t)},Re.scale=function(t){return new Ze(t)},Re.attribution=function(t){return new Ue(t)},M.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}}))).addTo=function(t,e){return t.addHandler(e,this),this},{Events:k}),Pt.touch?"touchstart mousedown":"mousedown"),We=N.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){p(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(be(this._dragStartTarget,qe,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(We._dragging===this&&this.finishDrag(!0),xe(this._dragStartTarget,qe,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){var e,n;this._enabled&&(this._moved=!1,oe(this._element,"leaflet-zoom-anim")||(t.touches&&1!==t.touches.length?We._dragging===this&&this.finishDrag():We._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((We._dragging=this)._preventOutline&&_e(this._element),fe(),Ut(),this._moving||(this.fire("down"),n=t.touches?t.touches[0]:t,e=ye(this._element),this._startPoint=new O(n.clientX,n.clientY),this._startPos=pe(this._element),this._parentScale=ve(e),n="mousedown"===t.type,be(document,n?"mousemove":"touchmove",this._onMove,this),be(document,n?"mouseup":"touchend touchcancel",this._onUp,this)))))},_onMove:function(t){var e;this._enabled&&(t.touches&&1<t.touches.length?this._moved=!0:!(e=new O((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,ke(t),this._moved||(this.fire("dragstart"),this._moved=!0,re(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),re(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,this._lastEvent=t,this._updatePosition()))},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),de(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){se(document.body,"leaflet-dragging"),this._lastTarget&&(se(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),xe(document,"mousemove touchmove",this._onMove,this),xe(document,"mouseup touchend touchcancel",this._onUp,this),me(),qt();var e=this._moved&&this._moving;this._moving=!1,We._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function Ge(t,e,n){for(var i,o,r,s,a,l,c,h=[1,4,2,8],u=0,d=t.length;u<d;u++)t[u]._code=en(t[u],e);for(r=0;r<4;r++){for(l=h[r],i=[],u=0,o=(d=t.length)-1;u<d;o=u++)s=t[u],a=t[o],s._code&l?a._code&l||((c=tn(a,s,l,e,n))._code=en(c,e),i.push(c)):(a._code&l&&((c=tn(a,s,l,e,n))._code=en(c,e),i.push(c)),i.push(s));t=i}return t}function Ve(t,e){var n,i,o,r,s,a,l;if(!t||0===t.length)throw new Error("latlngs not passed");on(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);for(var c=$([0,0]),h=B(t),u=(h.getNorthWest().distanceTo(h.getSouthWest())*h.getNorthEast().distanceTo(h.getNorthWest())<1700&&(c=Xe(t)),t.length),d=[],p=0;p<u;p++){var f=$(t[p]);d.push(e.project($([f.lat-c.lat,f.lng-c.lng])))}for(p=s=a=l=0,n=u-1;p<u;n=p++)i=d[p],o=d[n],r=i.y*o.x-o.y*i.x,a+=(i.x+o.x)*r,l+=(i.y+o.y)*r,s+=3*r;return h=0===s?d[0]:[a/s,l/s],$([(h=e.unproject(D(h))).lat+c.lat,h.lng+c.lng])}function Xe(t){for(var e=0,n=0,i=0,o=0;o<t.length;o++){var r=$(t[o]);e+=r.lat,n+=r.lng,i++}return $([e/i,n/i])}var Ye;et={__proto__:null,clipPolygon:Ge,polygonCenter:Ve,centroid:Xe};function Ke(t,e){if(e&&t.length){var n=t=function(t,e){for(var n=[t[0]],i=1,o=0,r=t.length;i<r;i++)(function(t,e){var n=e.x-t.x;return n*n+(e=e.y-t.y)*e})(t[i],t[o])>e&&(n.push(t[i]),o=i);return o<r-1&&n.push(t[r-1]),n}(t,e*=e),i=n.length,o=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(i);o[0]=o[i-1]=1,function t(e,n,i,o,r){var s,a,l,c=0;for(a=o+1;a<=r-1;a++)c<(l=nn(e[a],e[o],e[r],!0))&&(s=a,c=l);i<c&&(n[s]=1,t(e,n,i,o,s),t(e,n,i,s,r))}(n,o,e,0,i-1);var r,s=[];for(r=0;r<i;r++)o[r]&&s.push(n[r]);return s}return t.slice()}function Je(t,e,n){return Math.sqrt(nn(t,e,n,!0))}function Qe(t,e,n,i,o){var r,s,a,l=i?Ye:en(t,n),c=en(e,n);for(Ye=c;;){if(!(l|c))return[t,e];if(l&c)return!1;a=en(s=tn(t,e,r=l||c,n,o),n),r===l?(t=s,l=a):(e=s,c=a)}}function tn(t,e,n,i,o){var r,s,a=e.x-t.x,l=(e=e.y-t.y,i.min);i=i.max;return 8&n?(r=t.x+a*(i.y-t.y)/e,s=i.y):4&n?(r=t.x+a*(l.y-t.y)/e,s=l.y):2&n?(r=i.x,s=t.y+e*(i.x-t.x)/a):1&n&&(r=l.x,s=t.y+e*(l.x-t.x)/a),new O(r,s,o)}function en(t,e){var n=0;return t.x<e.min.x?n|=1:t.x>e.max.x&&(n|=2),t.y<e.min.y?n|=4:t.y>e.max.y&&(n|=8),n}function nn(t,e,n,i){var o=e.x,r=(e=e.y,n.x-o),s=n.y-e,a=r*r+s*s;return 0<a&&(1<(a=((t.x-o)*r+(t.y-e)*s)/a)?(o=n.x,e=n.y):0<a&&(o+=r*a,e+=s*a)),r=t.x-o,s=t.y-e,i?r*r+s*s:new O(o,e)}function on(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function rn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),on(t)}function sn(t,e){var n,i,o,r,s,a;if(!t||0===t.length)throw new Error("latlngs not passed");on(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);for(var l=$([0,0]),c=B(t),h=(c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(l=Xe(t)),t.length),u=[],d=0;d<h;d++){var p=$(t[d]);u.push(e.project($([p.lat-l.lat,p.lng-l.lng])))}for(n=d=0;d<h-1;d++)n+=u[d].distanceTo(u[d+1])/2;if(0===n)a=u[0];else for(i=d=0;d<h-1;d++)if(o=u[d],r=u[d+1],n<(i+=s=o.distanceTo(r))){a=[r.x-(s=(i-n)/s)*(r.x-o.x),r.y-s*(r.y-o.y)];break}return $([(c=e.unproject(D(a))).lat+l.lat,c.lng+l.lng])}nt={__proto__:null,simplify:Ke,pointToSegmentDistance:Je,closestPointOnSegment:function(t,e,n){return nn(t,e,n)},clipSegment:Qe,_getEdgeIntersection:tn,_getBitCode:en,_sqClosestPointOnSegment:nn,isFlat:on,_flat:rn,polylineCenter:sn},rt={__proto__:null,LonLat:it={project:function(t){return new O(t.lng,t.lat)},unproject:function(t){return new R(t.y,t.x)},bounds:new I([-180,-90],[180,90])},Mercator:ot={R:6378137,R_MINOR:6356752.314245179,bounds:new I([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,n=this.R,i=t.lat*e,o=this.R_MINOR/n,r=(o=Math.sqrt(1-o*o))*Math.sin(i);r=Math.tan(Math.PI/4-i/2)/Math.pow((1-r)/(1+r),o/2),i=-n*Math.log(Math.max(r,1e-10));return new O(t.lng*e*n,i)},unproject:function(t){for(var e,n=180/Math.PI,i=this.R,o=this.R_MINOR/i,r=Math.sqrt(1-o*o),s=Math.exp(-t.y/i),a=Math.PI/2-2*Math.atan(s),l=0,c=.1;l<15&&1e-7<Math.abs(c);l++)e=r*Math.sin(a),e=Math.pow((1-e)/(1+e),r/2),a+=c=Math.PI/2-2*Math.atan(s*e)-a;return new R(a*n,t.x*n/i)}},SphericalMercator:Z},at=e({},H,{code:"EPSG:3395",projection:ot,transformation:q(st=.5/(Math.PI*ot.R),.5,-st,.5)});var an=e({},H,{code:"EPSG:4326",projection:it,transformation:q(1/180,1,-1/180,.5)}),ln=(lt=e({},F,{projection:it,transformation:q(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 n=e.lng-t.lng;e=e.lat-t.lat;return Math.sqrt(n*n+e*e)},infinite:!0}),ct=(F.Earth=H,F.EPSG3395=at,F.EPSG3857=W,F.EPSG900913=G,F.EPSG4326=an,F.Simple=lt,N.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[s(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[s(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e,n=t.target;n.hasLayer(this)&&(this._map=n,this._zoomAnimated=n._zoomAnimated,this.getEvents&&(e=this.getEvents(),n.on(e,this),this.once("remove",function(){n.off(e,this)},this)),this.onAdd(n),this.fire("add"),n.fire("layeradd",{layer:this}))}})),Be.include({addLayer:function(t){var e;if(t._layerAdd)return e=s(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=s(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return s(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?g(t)?t:[t]:[]).length;e<n;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[s(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){t=s(t),this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var t,e=1/0,n=-1/0,i=this._getZoomSpan();for(t in this._zoomBoundLayers){var o=this._zoomBoundLayers[t].options;e=void 0===o.minZoom?e:Math.min(e,o.minZoom),n=void 0===o.maxZoom?n:Math.max(n,o.maxZoom)}this._layersMaxZoom=n===-1/0?void 0:n,this._layersMinZoom=e===1/0?void 0:e,i!==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)}}),ct.extend({initialize:function(t,e){var n,i;if(p(this,e),this._layers={},t)for(n=0,i=t.length;n<i;n++)this.addLayer(t[n])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){return t=t in this._layers?t:this.getLayerId(t),this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,n,i=Array.prototype.slice.call(arguments,1);for(e in this._layers)(n=this._layers[e])[t]&&n[t].apply(n,i);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);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:s})),cn=ln.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),ln.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),ln.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 z;for(t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),hn=M.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){p(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var n=this._getIconUrl(t);if(n)return n=this._createImg(n,e&&"IMG"===e.tagName?e:null),this._setIconStyles(n,t),!this.options.crossOrigin&&""!==this.options.crossOrigin||(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n;if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null},_setIconStyles:function(t,e){var n=this.options,i=D(i="number"==typeof(i=n[e+"Size"])?[i,i]:i),o=D("shadow"===e&&n.shadowAnchor||n.iconAnchor||i&&i.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(n.className||""),o&&(t.style.marginLeft=-o.x+"px",t.style.marginTop=-o.y+"px"),i&&(t.style.width=i.x+"px",t.style.height=i.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return Pt.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),un=hn.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"string"!=typeof un.imagePath&&(un.imagePath=this._detectIconPath()),(this.options.imagePath||un.imagePath)+hn.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){function e(t,e,n){return(e=e.exec(t))&&e[n]}return(t=e(t,/^url\((['"])?(.+)\1\)$/,2))&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=Qt("div","leaflet-default-icon-path",document.body),e=Jt(t,"background-image")||Jt(t,"backgroundImage");return document.body.removeChild(t),(e=this._stripUrl(e))?e:(t=document.querySelector('link[href$="leaflet.css"]'))?t.href.substring(0,t.href.length-"leaflet.css".length-1):""}}),dn=Q.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new We(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),re(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&&se(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,n=e._map,i=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,r=pe(e._icon),s=n.getPixelBounds(),a=n.getPixelOrigin();(a=j(s.min._subtract(a).add(o),s.max._subtract(a).subtract(o))).contains(r)||(o=D((Math.max(a.max.x,r.x)-a.max.x)/(s.max.x-a.max.x)-(Math.min(a.min.x,r.x)-a.min.x)/(s.min.x-a.min.x),(Math.max(a.max.y,r.y)-a.max.y)/(s.max.y-a.max.y)-(Math.min(a.min.y,r.y)-a.min.y)/(s.min.y-a.min.y)).multiplyBy(i),n.panBy(o,{animate:!1}),this._draggable._newPos._add(o),this._draggable._startPos._add(o),de(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=E(this._adjustPan.bind(this,t)))},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(S(this._panRequest),this._panRequest=E(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,n=e._shadow,i=pe(e._icon),o=e._map.layerPointToLatLng(i);n&&de(n,i),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){S(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),pn=ct.extend({options:{icon:new un,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){p(this,e),this._latlng=$(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=$(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,e=this.options,n="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=!1,o=!1;(t=((t=e.icon.createIcon(this._icon))!==this._icon&&(this._icon&&this._removeIcon(),i=!0,e.title&&(t.title=e.title),"IMG"===t.tagName&&(t.alt=e.alt||"")),re(t,n),e.keyboard&&(t.tabIndex="0",t.setAttribute("role","button")),this._icon=t,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&be(t,"focus",this._panOnFocus,this),e.icon.createShadow(this._shadow)))!==this._shadow&&(this._removeShadow(),o=!0),t&&(re(t,n),t.alt=""),this._shadow=t,e.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),t&&o&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&xe(this._icon,"focus",this._panOnFocus,this),te(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&te(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&de(this._icon,t),this._shadow&&de(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(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&&(re(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),dn&&(t=this.options.draggable,this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new dn(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&&ce(this._icon,t),this._shadow&&ce(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t,e,n=this._map;n&&(t=(e=this.options.icon.options).iconSize?D(e.iconSize):D(0,0),e=e.iconAnchor?D(e.iconAnchor):D(0,0),n.panInside(this._latlng,{paddingTopLeft:e,paddingBottomRight:t.subtract(e)}))},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),fn=ct.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(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 p(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"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||0)}}),mn=fn.extend({options:{fill:!0,radius:10},initialize:function(t,e){p(this,e),this._latlng=$(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=$(t),this.redraw(),this.fire("move",{oldLatLng:e,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},setStyle:function(t){var e=t&&t.radius||this._radius;return fn.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,n=this._clickTolerance();t=[t+n,e+n];this._pxBounds=new I(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()}}),_n=mn.extend({initialize:function(t,n,i){if(p(this,n="number"==typeof n?e({},i,{radius:n}):n),this._latlng=$(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 z(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:fn.prototype.setStyle,_project:function(){var t,e,n,i,o,r=this._latlng.lng,s=this._latlng.lat,a=this._map,l=a.options.crs;l.distance===H.distance?(i=Math.PI/180,o=this._mRadius/H.R/i,t=a.project([s+o,r]),e=a.project([s-o,r]),e=t.add(e).divideBy(2),n=a.unproject(e).lat,i=Math.acos((Math.cos(o*i)-Math.sin(s*i)*Math.sin(n*i))/(Math.cos(s*i)*Math.cos(n*i)))/i,!isNaN(i)&&0!==i||(i=o/Math.cos(Math.PI/180*s)),this._point=e.subtract(a.getPixelOrigin()),this._radius=isNaN(i)?0:e.x-a.project([n,r-i]).x,this._radiusY=e.y-t.y):(o=l.unproject(l.project(this._latlng).subtract([this._mRadius,0])),this._point=a.latLngToLayerPoint(this._latlng),this._radius=this._point.x-a.latLngToLayerPoint(o).x),this._updateBounds()}}),gn=fn.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){p(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=1/0,n=null,i=nn,o=0,r=this._parts.length;o<r;o++)for(var s=this._parts[o],a=1,l=s.length;a<l;a++){var c,h,u=i(t,c=s[a-1],h=s[a],!0);u<e&&(e=u,n=i(t,c,h))}return n&&(n.distance=Math.sqrt(e)),n},getCenter:function(){if(this._map)return sn(this._defaultShape(),this._map.options.crs);throw new Error("Must add layer to map before using getCenter()")},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=$(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new z,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return on(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=on(t),i=0,o=t.length;i<o;i++)n?(e[i]=$(t[i]),this._bounds.extend(e[i])):e[i]=this._convertLatLngs(t[i]);return e},_project:function(){var t=new I;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=new O(t=this._clickTolerance(),t);this._rawPxBounds&&(this._pxBounds=new I([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(t,e,n){var i,o,r=t[0]instanceof R,s=t.length;if(r){for(o=[],i=0;i<s;i++)o[i]=this._map.latLngToLayerPoint(t[i]),n.extend(o[i]);e.push(o)}else for(i=0;i<s;i++)this._projectLatlngs(t[i],e,n)},_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,n,i,o,r=this._parts,s=0,a=0,l=this._rings.length;s<l;s++)for(e=0,n=(o=this._rings[s]).length;e<n-1;e++)(i=Qe(o[e],o[e+1],t,e,!0))&&(r[a]=r[a]||[],r[a].push(i[0]),i[1]===o[e+1]&&e!==n-2||(r[a].push(i[1]),a++))},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,n=0,i=t.length;n<i;n++)t[n]=Ke(t[n],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var n,i,o,r,s,a,l=this._clickTolerance();if(this._pxBounds&&this._pxBounds.contains(t))for(n=0,r=this._parts.length;n<r;n++)for(i=0,o=(s=(a=this._parts[n]).length)-1;i<s;o=i++)if((e||0!==i)&&Je(t,a[o],a[i])<=l)return!0;return!1}});gn._flat=rn;var yn=gn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(this._map)return Ve(this._defaultShape(),this._map.options.crs);throw new Error("Must add layer to map before using getCenter()")},_convertLatLngs:function(t){var e=(t=gn.prototype._convertLatLngs.call(this,t)).length;return 2<=e&&t[0]instanceof R&&t[0].equals(t[e-1])&&t.pop(),t},_setLatLngs:function(t){gn.prototype._setLatLngs.call(this,t),on(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return(on(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints:function(){var t=this._renderer._bounds,e=new O(e=this.options.weight,e);t=new I(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 n,i=0,o=this._rings.length;i<o;i++)(n=Ge(this._rings[i],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,n,i,o,r,s,a,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(r=0,s=(l=(e=this._parts[o]).length)-1;r<l;s=r++)n=e[r],i=e[s],n.y>t.y!=i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(c=!c);return c||gn.prototype._containsPoint.call(this,t,!0)}}),vn=cn.extend({initialize:function(t,e){p(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,o=g(t)?t:t.features;if(o){for(e=0,n=o.length;e<n;e++)((i=o[e]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var r,s=this.options;return s.filter&&!s.filter(t)||!(r=bn(t,s))?this:(r.feature=Sn(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r))},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=e({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function bn(t,e){var n,i,o,r,s="Feature"===t.type?t.geometry:t,a=s?s.coordinates:null,l=[],c=e&&e.pointToLayer,h=e&&e.coordsToLatLng||xn;if(!a&&!s)return null;switch(s.type){case"Point":return wn(c,t,n=h(a),e);case"MultiPoint":for(o=0,r=a.length;o<r;o++)n=h(a[o]),l.push(wn(c,t,n,e));return new cn(l);case"LineString":case"MultiLineString":return i=Cn(a,"LineString"===s.type?0:1,h),new gn(i,e);case"Polygon":case"MultiPolygon":return i=Cn(a,"Polygon"===s.type?1:2,h),new yn(i,e);case"GeometryCollection":for(o=0,r=s.geometries.length;o<r;o++){var u=bn({geometry:s.geometries[o],type:"Feature",properties:t.properties},e);u&&l.push(u)}return new cn(l);case"FeatureCollection":for(o=0,r=s.features.length;o<r;o++){var d=bn(s.features[o],e);d&&l.push(d)}return new cn(l);default:throw new Error("Invalid GeoJSON object.")}}function wn(t,e,n,i){return t?t(e,n):new pn(n,i&&i.markersInheritOptions&&i)}function xn(t){return new R(t[1],t[0],t[2])}function Cn(t,e,n){for(var i,o=[],r=0,s=t.length;r<s;r++)i=e?Cn(t[r],e-1,n):(n||xn)(t[r]),o.push(i);return o}function Tn(t,e){return void 0!==(t=$(t)).alt?[h(t.lng,e),h(t.lat,e),h(t.alt,e)]:[h(t.lng,e),h(t.lat,e)]}function Ln(t,e,n,i){for(var o=[],r=0,s=t.length;r<s;r++)o.push(e?Ln(t[r],on(t[r])?0:e-1,n,i):Tn(t[r],i));return!e&&n&&0<o.length&&o.push(o[0].slice()),o}function En(t,n){return t.feature?e({},t.feature,{geometry:n}):Sn(n)}function Sn(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}function Pn(t,e){return new vn(t,e)}ht={toGeoJSON:function(t){return En(this,{type:"Point",coordinates:Tn(this.getLatLng(),t)})}},pn.include(ht),_n.include(ht),mn.include(ht),gn.include({toGeoJSON:function(t){var e=!on(this._latlngs);return En(this,{type:(e?"Multi":"")+"LineString",coordinates:Ln(this._latlngs,e?1:0,!1,t)})}}),yn.include({toGeoJSON:function(t){var e=!on(this._latlngs),n=e&&!on(this._latlngs[0]);t=Ln(this._latlngs,n?2:e?1:0,!0,t);return En(this,{type:(n?"Multi":"")+"Polygon",coordinates:t=e?t:[t]})}}),ln.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(n){e.push(n.toGeoJSON(t).geometry.coordinates)}),En(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e,n,i=this.feature&&this.feature.geometry&&this.feature.geometry.type;return"MultiPoint"===i?this.toMultiPoint(t):(e="GeometryCollection"===i,n=[],this.eachLayer(function(i){i.toGeoJSON&&(i=i.toGeoJSON(t),e?n.push(i.geometry):"FeatureCollection"===(i=Sn(i)).type?n.push.apply(n,i.features):n.push(i))}),e?En(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n})}});ut=Pn;var Mn=ct.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,n){this._url=t,this._bounds=B(e),p(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(re(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){te(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&&ne(this._image),this},bringToBack:function(){return this._map&&ie(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=B(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:Qt("img");re(e,"leaflet-image-layer"),this._zoomAnimated&&re(e,"leaflet-zoom-animated"),this.options.className&&re(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onload=o(this.fire,this,"load"),e.onerror=o(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;ue(this._image,t,e)},_reset:function(){var t=this._image,e=new I(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=e.getSize();de(t,e.min),t.style.width=n.x+"px",t.style.height=n.y+"px"},_updateOpacity:function(){ce(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)},getCenter:function(){return this._bounds.getCenter()}}),kn=Mn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:Qt("video");if(re(e,"leaflet-image-layer"),this._zoomAnimated&&re(e,"leaflet-zoom-animated"),this.options.className&&re(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onloadeddata=o(this.fire,this,"load"),t){for(var n=e.getElementsByTagName("source"),i=[],r=0;r<n.length;r++)i.push(n[r].src);this._url=0<n.length?i:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var s=0;s<this._url.length;s++){var a=Qt("source");a.src=this._url[s],e.appendChild(a)}}}}),Nn=Mn.extend({_initImage:function(){var t=this._image=this._url;re(t,"leaflet-image-layer"),this._zoomAnimated&&re(t,"leaflet-zoom-animated"),this.options.className&&re(t,this.options.className),t.onselectstart=c,t.onmousemove=c}}),On=ct.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof R||g(t))?(this._latlng=$(t),p(this,e)):(p(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ce(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ce(this._container,1),this.bringToFront(),this.options.interactive&&(re(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(ce(this._container,0),this._removeTimeout=setTimeout(o(te,void 0,this._container),200)):te(this._container),this.options.interactive&&(se(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=$(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&&ne(this._container),this},bringToBack:function(){return this._map&&ie(this._container),this},_prepareOpen:function(t){if(!(n=this._source)._map)return!1;if(n instanceof cn){var e,n=null,i=this._source._layers;for(e in i)if(i[e]._map){n=i[e];break}if(!n)return!1;this._source=n}if(!t)if(n.getCenter)t=n.getCenter();else if(n.getLatLng)t=n.getLatLng();else{if(!n.getBounds)throw new Error("Unable to get source layer LatLng.");t=n.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_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,n;this._map&&(e=this._map.latLngToLayerPoint(this._latlng),t=D(this.options.offset),n=this._getAnchor(),this._zoomAnimated?de(this._container,e.add(n)):t=t.add(e).add(n),e=this._containerBottom=-t.y,n=this._containerLeft=-Math.round(this._containerWidth/2)+t.x,this._container.style.bottom=e+"px",this._container.style.left=n+"px")},_getAnchor:function(){return[0,0]}}),An=(Be.include({_initOverlay:function(t,e,n,i){var o=e;return o instanceof t||(o=new t(i).setContent(e)),n&&o.setLatLng(n),o}}),ct.include({_initOverlay:function(t,e,n,i){var o=n;return o instanceof t?(p(o,i),o._source=this):(o=e&&!i?e:new t(i,this)).setContent(n),o}}),On.extend({options:{pane:"popupPane",offset:[0,7],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=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,On.prototype.openOn.call(this,t)},onAdd:function(t){On.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof fn||this._source.on("preclick",Se))},onRemove:function(t){On.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof fn||this._source.off("preclick",Se))},getEvents:function(){var t=On.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},_initLayout:function(){var t="leaflet-popup",e=this._container=Qt("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=Qt("div",t+"-content-wrapper",e);this._contentNode=Qt("div",t+"-content",n),Me(e),Pe(this._contentNode),be(e,"contextmenu",Se),this._tipContainer=Qt("div",t+"-tip-container",e),this._tip=Qt("div",t+"-tip",this._tipContainer),this.options.closeButton&&((n=this._closeButton=Qt("a",t+"-close-button",e)).setAttribute("role","button"),n.setAttribute("aria-label","Close popup"),n.href="#close",n.innerHTML='<span aria-hidden="true">×</span>',be(n,"click",function(t){ke(t),this.close()},this))},_updateLayout:function(){var t=this._contentNode,e=t.style,n=(e.width="",e.whiteSpace="nowrap",t.offsetWidth),i=(n=Math.min(n,this.options.maxWidth),n=(n=Math.max(n,this.options.minWidth),e.width=n+1+"px",e.whiteSpace="",e.height="",t.offsetHeight),this.options.maxHeight);(i&&i<n?(e.height=i+"px",re):se)(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);var e=this._getAnchor();de(this._container,t.add(e))},_adjustPan:function(){var t,e,n,i,o,r,s,a;this.options.autoPan&&(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning?this._autopanning=!1:(t=this._map,e=parseInt(Jt(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+e,a=this._containerWidth,(n=new O(this._containerLeft,-e-this._containerBottom))._add(pe(this._container)),n=t.layerPointToContainerPoint(n),o=D(this.options.autoPanPadding),i=D(this.options.autoPanPaddingTopLeft||o),o=D(this.options.autoPanPaddingBottomRight||o),r=t.getSize(),s=0,n.x+a+o.x>r.x&&(s=n.x+a-r.x+o.x),n.x-s-i.x<(a=0)&&(s=n.x-i.x),n.y+e+o.y>r.y&&(a=n.y+e-r.y+o.y),n.y-a-i.y<0&&(a=n.y-i.y),(s||a)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([s,a]))))},_getAnchor:function(){return D(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}})),Dn=(Be.mergeOptions({closePopupOnClick:!0}),Be.include({openPopup:function(t,e,n){return this._initOverlay(An,t,e,n).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),ct.include({bindPopup:function(t,e){return this._popup=this._initOverlay(An,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof cn||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e;this._popup&&this._map&&(Ne(t),e=t.layer||t.target,this._popup._source!==e||e instanceof fn?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}}),On.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){On.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){On.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=On.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=Qt("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+s(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n=this._map,i=this._container,o=n.latLngToContainerPoint(n.getCenter()),r=(n=n.layerPointToContainerPoint(t),this.options.direction),s=i.offsetWidth,a=i.offsetHeight,l=D(this.options.offset),c=this._getAnchor();n="top"===r?(e=s/2,a):"bottom"===r?(e=s/2,0):(e="center"===r?s/2:"right"===r?0:"left"===r?s:n.x<o.x?(r="right",0):(r="left",s+2*(l.x+c.x)),a/2);t=t.subtract(D(e,n,!0)).add(l).add(c),se(i,"leaflet-tooltip-right"),se(i,"leaflet-tooltip-left"),se(i,"leaflet-tooltip-top"),se(i,"leaflet-tooltip-bottom"),re(i,"leaflet-tooltip-"+r),de(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ce(this._container,t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),this._setPosition(t)},_getAnchor:function(){return D(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}})),In=(Be.include({openTooltip:function(t,e,n){return this._initOverlay(Dn,t,e,n).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),ct.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Dn,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){var e,n;!t&&this._tooltipHandlersAdded||(e=t?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip},this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,n.click=this._openTooltip,this._map?this._addFocusListeners():n.add=this._addFocusListeners),this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),this[e](n),this._tooltipHandlersAdded=!t)},openTooltip:function(t){return this._tooltip&&(this instanceof cn||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&(be(e,"focus",function(){this._tooltip._source=t,this.openTooltip()},this),be(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){(t="function"==typeof t.getElement&&t.getElement())&&t.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){var e;this._tooltip&&this._map&&(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag?(this._openOnceFlag=!0,(e=this)._map.once("moveend",function(){e._openOnceFlag=!1,e._openTooltip(t)})):(this._tooltip._source=t.layer||t.target,this.openTooltip(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)}}),hn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){t=t&&"DIV"===t.tagName?t:document.createElement("div");var e=this.options;return e.html instanceof Element?(ee(t),t.appendChild(e.html)):t.innerHTML=!1!==e.html?e.html:"",e.bgPos&&(e=D(e.bgPos),t.style.backgroundPosition=-e.x+"px "+-e.y+"px"),this._setIconStyles(t,"icon"),t},createShadow:function(){return null}}));hn.Default=un;var jn=ct.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Pt.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){p(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),te(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ne(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ie(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(){var t;return this._map&&(this._removeAllTiles(),(t=this._clampZoom(this._map.getZoom()))!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),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=a(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 O?t:new O(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,n=this.getPane().children,i=-t(-1/0,1/0),o=0,r=n.length;o<r;o++)e=n[o].style.zIndex,n[o]!==this._container&&e&&(i=t(i,+e));isFinite(i)&&(this.options.zIndex=i+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Pt.ielt9){ce(this._container,this.options.opacity);var t,e=+new Date,n=!1,i=!1;for(t in this._tiles){var o,r=this._tiles[t];r.current&&r.loaded&&(o=Math.min(1,(e-r.loaded)/200),ce(r.el,o),o<1?n=!0:(r.active?i=!0:this._onOpaqueTile(r),r.active=!0))}i&&!this._noPrune&&this._pruneTiles(),n&&(S(this._fadeFrame),this._fadeFrame=E(this._updateOpacity,this))}},_onOpaqueTile:c,_initContainer:function(){this._container||(this._container=Qt("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 n in this._levels)n=Number(n),this._levels[n].el.children.length||n===t?(this._levels[n].el.style.zIndex=e-Math.abs(t-n),this._onUpdateLevel(n)):(te(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var i=this._levels[t],o=this._map;return i||((i=this._levels[t]={}).el=Qt("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=e,i.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),i.zoom=t,this._setZoomTransform(i,o.getCenter(),o.getZoom()),i.el.offsetWidth,this._onCreateLevel(i)),this._level=i}},_onUpdateLevel:c,_onRemoveLevel:c,_onCreateLevel:c,_pruneTiles:function(){if(this._map){var t,e,n,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(n=this._tiles[t]).retain=n.current;for(t in this._tiles)(n=this._tiles[t]).current&&!n.active&&(e=n.coords,this._retainParent(e.x,e.y,e.z,e.z-5)||this._retainChildren(e.x,e.y,e.z,e.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)te(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,n,i){n-=1;var o=((o=new O(+(t=Math.floor(t/2)),+(e=Math.floor(e/2)))).z=n,this._tileCoordsToKey(o));return(o=this._tiles[o])&&o.active?o.retain=!0:(o&&o.loaded&&(o.retain=!0),i<n&&this._retainParent(t,e,n,i))},_retainChildren:function(t,e,n,i){for(var o=2*t;o<2*t+2;o++)for(var r=2*e;r<2*e+2;r++){var s=((s=new O(o,r)).z=n+1,this._tileCoordsToKey(s));(s=this._tiles[s])&&s.active?s.retain=!0:(s&&s.loaded&&(s.retain=!0),n+1<i&&this._retainChildren(o,r,n+1,i))}},_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,n,i){var o=Math.round(e),r=(o=void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom?void 0:this._clampZoom(o),this.options.updateWhenZooming&&o!==this._tileZoom);i&&!r||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var n in this._levels)this._setZoomTransform(this._levels[n],t,e)},_setZoomTransform:function(t,e,n){var i=this._map.getZoomScale(n,t.zoom);e=t.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(e,n)).round();Pt.any3d?ue(t.el,e,i):de(t.el,e)},_resetGrid:function(){var t=this._map,e=t.options.crs,n=this._tileSize=this.getTileSize(),i=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]],i).x/n.x),Math.ceil(t.project([0,e.wrapLng[1]],i).x/n.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],i).y/n.x),Math.ceil(t.project([e.wrapLat[1],0],i).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=(n=this._map)._animatingZoom?Math.max(n._animateToZoom,n.getZoom()):n.getZoom(),n=(e=n.getZoomScale(e,this._tileZoom),t=n.project(t,this._tileZoom).floor(),n.getSize().divideBy(2*e));return new I(t.subtract(n),t.add(n))},_update:function(t){if(i=this._map){var e=this._clampZoom(i.getZoom());if(void 0===t&&(t=i.getCenter()),void 0!==this._tileZoom){var n,i=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(i),r=o.getCenter(),s=[],a=(i=this.options.keepBuffer,new I(o.getBottomLeft().subtract([i,-i]),o.getTopRight().add([i,-i])));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 l=this._tiles[n].coords;l.z===this._tileZoom&&a.contains(new O(l.x,l.y))||(this._tiles[n].current=!1)}if(1<Math.abs(e-this._tileZoom))this._setView(t,e);else{for(var c=o.min.y;c<=o.max.y;c++)for(var h=o.min.x;h<=o.max.x;h++){var u,d=new O(h,c);d.z=this._tileZoom,this._isValidTile(d)&&((u=this._tiles[this._tileCoordsToKey(d)])?u.current=!0:s.push(d))}if(s.sort(function(t,e){return t.distanceTo(r)-e.distanceTo(r)}),0!==s.length){this._loading||(this._loading=!0,this.fire("loading"));var p=document.createDocumentFragment();for(h=0;h<s.length;h++)this._addTile(s[h],p);this._level.el.appendChild(p)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var n=this._globalTileRange;if(!e.wrapLng&&(t.x<n.min.x||t.x>n.max.x)||!e.wrapLat&&(t.y<n.min.y||t.y>n.max.y))return!1}return!this.options.bounds||(e=this._tileCoordsToBounds(t),B(this.options.bounds).overlaps(e))},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n);n=i.add(n);return[e.unproject(i,t.z),e.unproject(n,t.z)]},_tileCoordsToBounds:function(t){return t=new z((t=this._tileCoordsToNwSe(t))[0],t[1]),this.options.noWrap?t:this._map.wrapLatLngBounds(t)},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=new O(+(t=t.split(":"))[0],+t[1]);return e.z=+t[2],e},_removeTile:function(t){var e=this._tiles[t];e&&(te(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){re(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=c,t.onmousemove=c,Pt.ielt9&&this.options.opacity<1&&ce(t,this.options.opacity)},_addTile:function(t,e){var n=this._getTilePos(t),i=this._tileCoordsToKey(t),r=this.createTile(this._wrapCoords(t),o(this._tileReady,this,t));this._initTile(r),this.createTile.length<2&&E(o(this._tileReady,this,t,null,r)),de(r,n),this._tiles[i]={el:r,coords:t,current:!0},e.appendChild(r),this.fire("tileloadstart",{tile:r,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var i=this._tileCoordsToKey(t);(n=this._tiles[i])&&(n.loaded=+new Date,this._map._fadeAnimated?(ce(n.el,0),S(this._fadeFrame),this._fadeFrame=E(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(re(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Pt.ielt9||!this._map._fadeAnimated?E(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new O(this._wrapX?l(t.x,this._wrapX):t.x,this._wrapY?l(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new I(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}}),zn=jn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=p(this,e)).detectRetina&&Pt.retina&&0<e.maxZoom?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),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 n=document.createElement("img");return be(n,"load",o(this._tileOnLoad,this,e,n)),be(n,"error",o(this._tileOnError,this,e,n)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(n.referrerPolicy=this.options.referrerPolicy),n.alt="",n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:Pt.retina?"@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&&(n.y=t),n["-y"]=t),_(this._url,e(n,this.options))},_tileOnLoad:function(t,e){Pt.ielt9?setTimeout(o(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,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){return t=Math.abs(t.x+t.y)%this.options.subdomains.length,this.options.subdomains[t]},_abortLoading:function(){var t,e,n;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((n=this._tiles[t].el).onload=c,n.onerror=c,n.complete||(n.src=v,e=this._tiles[t].coords,te(n),delete this._tiles[t],this.fire("tileabort",{tile:n,coords:e})))},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",v),jn.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==v))return jn.prototype._tileReady.call(this,t,e,n)}});function Bn(t,e){return new zn(t,e)}var Rn=zn.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,n){this._url=t;var i,o=e({},this.defaultWmsParams);for(i in n)i in this.options||(o[i]=n[i]);t=(n=p(this,n)).detectRetina&&Pt.retina?2:1;var r=this.getTileSize();o.width=r.x*t,o.height=r.y*t,this.wmsParams=o},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,zn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=(e=(n=j((n=this._crs).project(e[0]),n.project(e[1]))).min,n.max);e=(1.3<=this._wmsVersion&&this._crs===an?[e.y,e.x,n.y,n.x]:[e.x,e.y,n.x,n.y]).join(",");return(n=zn.prototype.getTileUrl.call(this,t))+f(this.wmsParams,n,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+e},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});zn.WMS=Rn,Bn.wms=function(t,e){return new Rn(t,e)};var $n=ct.extend({options:{padding:.1},initialize:function(t){p(this,t),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),re(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 n=this._map.getZoomScale(e,this._zoom),i=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e);i=i.multiplyBy(-n).add(o).subtract(this._map._getNewPixelOrigin(t,e));Pt.any3d?ue(this._container,i,n):de(this._container,i)},_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(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new I(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Fn=$n.extend({options:{tolerance:0},getEvents:function(){var t=$n.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){$n.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");be(t,"mousemove",this._onMouseMove,this),be(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),be(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){S(this._redrawRequest),delete this._ctx,te(this._container),xe(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,n,i;this._map._animatingZoom&&this._bounds||($n.prototype._update.call(this),t=this._bounds,e=this._container,n=t.getSize(),i=Pt.retina?2:1,de(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Pt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update"))},_reset:function(){$n.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),t=(this._layers[s(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=(n=t._order).next,n=n.prev;e?e.prev=n:this._drawLast=n,n?n.next=e:this._drawFirst=e,delete t._order,delete this._layers[s(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,n=t.options.dashArray.split(/[, ]+/),i=[],o=0;o<n.length;o++){if(e=Number(n[o]),isNaN(e))return;i.push(e)}t.options._dashArray=i}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||E(this._redraw,this))},_extendRedrawBounds:function(t){var e;t._pxBounds&&(e=(t.options.weight||0)+1,this._redrawBounds=this._redrawBounds||new I,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.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore())},_draw:function(){var t,e,n=this._redrawBounds;this._ctx.save(),n&&(e=n.getSize(),this._ctx.beginPath(),this._ctx.rect(n.min.x,n.min.y,e.x,e.y),this._ctx.clip()),this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)t=i.layer,(!n||t._pxBounds&&t._pxBounds.intersects(n))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var n,i,o,r,s=t._parts,a=s.length,l=this._ctx;if(a){for(l.beginPath(),n=0;n<a;n++){for(i=0,o=s[n].length;i<o;i++)r=s[n][i],l[i?"lineTo":"moveTo"](r.x,r.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){var e,n,i,o;this._drawing&&!t._empty()&&(e=t._point,n=this._ctx,i=Math.max(Math.round(t._radius),1),1!=(o=(Math.max(Math.round(t._radiusY),1)||i)/i)&&(n.save(),n.scale(1,o)),n.beginPath(),n.arc(e.x,e.y/o,i,0,2*Math.PI,!1),1!=o&&n.restore(),this._fillStroke(n,t))},_fillStroke:function(t,e){var n=e.options;n.fill&&(t.globalAlpha=n.fillOpacity,t.fillStyle=n.fillColor||n.color,t.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=n.opacity,t.lineWidth=n.weight,t.strokeStyle=n.color,t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.stroke())},_onClick:function(t){for(var e,n,i=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(i)&&(("click"===t.type||"preclick"===t.type)&&this._map._draggableMoved(e)||(n=e));this._fireEvent(!!n&&[n],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&&(se(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var n,i,r=this._drawFirst;r;r=r.next)(n=r.layer).options.interactive&&n._containsPoint(e)&&(i=n);i!==this._hoveredLayer&&(this._handleMouseOut(t),i&&(re(this._container,"leaflet-interactive"),this._fireEvent([i],t,"mouseover"),this._hoveredLayer=i)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(o(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,e,n){this._map._fireDOMEvent(e,n||e.type,t)},_bringToFront:function(t){var e,n,i=t._order;i&&(e=i.next,n=i.prev,e&&((e.prev=n)?n.next=e:e&&(this._drawFirst=e),i.prev=this._drawLast,(this._drawLast.next=i).next=null,this._drawLast=i,this._requestRedraw(t)))},_bringToBack:function(t){var e,n,i=t._order;i&&(e=i.next,(n=i.prev)&&((n.next=e)?e.prev=n:n&&(this._drawLast=n),i.prev=null,i.next=this._drawFirst,this._drawFirst.prev=i,this._drawFirst=i,this._requestRedraw(t)))}});function Hn(t){return Pt.canvas?new Fn(t):null}var Zn=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">')}}(),Un=(dt={_initContainer:function(){this._container=Qt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||($n.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Zn("shape");re(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Zn("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[s(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;te(e),t.removeInteractiveTarget(e),delete this._layers[s(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,o=t._container;o.stroked=!!i.stroke,o.filled=!!i.fill,i.stroke?(e=e||(t._stroke=Zn("stroke")),o.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=g(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(o.removeChild(e),t._stroke=null),i.fill?(n=n||(t._fill=Zn("fill")),o.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(o.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){ne(t._container)},_bringToBack:function(t){ie(t._container)}},Pt.vml?Zn:V),qn=$n.extend({_initContainer:function(){this._container=Un("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Un("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){te(this._container),xe(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){var t,e,n;this._map._animatingZoom&&this._bounds||($n.prototype._update.call(this),e=(t=this._bounds).getSize(),n=this._container,this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),de(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update"))},_initPath:function(t){var e=t._path=Un("path");t.options.className&&re(e,t.options.className),t.options.interactive&&re(e,"leaflet-interactive"),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){te(t._path),t.removeInteractiveTarget(t._path),delete this._layers[s(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,X(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ";e=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,e)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ne(t._path)},_bringToBack:function(t){ie(t._path)}});function Wn(t){return Pt.svg||Pt.vml?new qn(t):null}Pt.vml&&qn.include(dt),Be.include({getRenderer:function(t){return t=(t=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this._createRenderer()),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&&Hn(t)||Wn(t)}});var Gn=yn.extend({initialize:function(t,e){yn.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=B(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});qn.create=Un,qn.pointsToPath=X,vn.geometryToLayer=bn,vn.coordsToLatLng=xn,vn.coordsToLatLngs=Cn,vn.latLngToCoords=Tn,vn.latLngsToCoords=Ln,vn.getFeature=En,vn.asFeature=Sn,Be.mergeOptions({boxZoom:!0});Y=Q.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(){be(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){xe(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){te(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(),Ut(),fe(),this._startPoint=this._map.mouseEventToContainerPoint(t),be(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=Qt("div","leaflet-zoom-box",this._container),re(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=(t=new I(this._point,this._startPoint)).getSize();de(this._box,t.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(te(this._box),se(this._container,"leaflet-crosshair")),qt(),me(),xe(document,{contextmenu:Ne,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(o(this._resetState,this),0),t=new z(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(),this._clearDeferredResetState(),this._resetState())}}),Be.addInitHook("addHandler","boxZoom",Y),Be.mergeOptions({doubleClickZoom:!0}),pt=Q.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,n=e.getZoom(),i=e.options.zoomDelta;n=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(n):e.setZoomAround(t.containerPoint,n)}});var Vn=(Be.addInitHook("addHandler","doubleClickZoom",pt),Be.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),Q.extend({addHooks:function(){var t;this._draggable||(t=this._map,this._draggable=new We(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))),re(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){se(this._map._container,"leaflet-grab"),se(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=B(this._map.options.maxBounds),this._offsetLimit=j(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,n;this._map.options.inertia&&(e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(n),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),n=this._initialWorldOffset,i=((o=this._draggable._newPos.x)-e+n)%t+e-n,o=(o+e+n)%t-e-n;t=Math.abs(i+n)<Math.abs(o+n)?i:o;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=t},_onDragEnd:function(t){var e,n,i,o,r=this._map,s=r.options,a=!s.inertia||t.noInertia||this._times.length<2;r.fire("dragend",t),!a&&(this._prunePositions(+new Date),t=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,e=s.easeLinearity,a=(t=t.multiplyBy(e/a)).distanceTo([0,0]),n=Math.min(s.inertiaMaxSpeed,a),t=t.multiplyBy(n/a),i=n/(s.inertiaDeceleration*e),(o=t.multiplyBy(-i/2).round()).x||o.y)?(o=r._limitOffset(o,r.options.maxBounds),E(function(){r.panBy(o,{duration:i,easeLinearity:e,noMoveStart:!0,animate:!0})})):r.fire("moveend")}})),Xn=(ft=(Be.addInitHook("addHandler","dragging",Vn),Be.mergeOptions({keyboard:!0,keyboardPanDelta:80}),Q.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"),be(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(),xe(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,n;this._focused||(n=document.body,t=document.documentElement,e=n.scrollTop||t.scrollTop,n=n.scrollLeft||t.scrollLeft,this._map._container.focus(),window.scrollTo(n,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={},n=this.keyCodes,i=0,o=n.left.length;i<o;i++)e[n.left[i]]=[-1*t,0];for(i=0,o=n.right.length;i<o;i++)e[n.right[i]]=[t,0];for(i=0,o=n.down.length;i<o;i++)e[n.down[i]]=[0,t];for(i=0,o=n.up.length;i<o;i++)e[n.up[i]]=[0,-1*t]},_setZoomDelta:function(t){for(var e=this._zoomKeys={},n=this.keyCodes,i=0,o=n.zoomIn.length;i<o;i++)e[n.zoomIn[i]]=t;for(i=0,o=n.zoomOut.length;i<o;i++)e[n.zoomOut[i]]=-t},_addHooks:function(){be(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){xe(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,n,i=t.keyCode,o=this._map;if(i in this._panKeys)o._panAnim&&o._panAnim._inProgress||(n=this._panKeys[i],t.shiftKey&&(n=D(n).multiplyBy(3)),o.options.maxBounds&&(n=o._limitOffset(D(n),o.options.maxBounds)),o.options.worldCopyJump?(e=o.wrapLatLng(o.unproject(o.project(o.getCenter()).add(n))),o.panTo(e)):o.panBy(n));else if(i in this._zoomKeys)o.setZoom(o.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!o._popup||!o._popup.options.closeOnEscapeKey)return;o.closePopup()}Ne(t)}}})),mt=(Be.addInitHook("addHandler","keyboard",ft),Be.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),Q.extend({addHooks:function(){be(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){xe(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=Ie(t),n=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date),e=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(o(this._performZoom,this),e),Ne(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),n=this._map.options.zoomSnap||0,i=(t._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel));i=4*Math.log(2/(1+Math.exp(-Math.abs(i))))/Math.LN2,n=n?Math.ceil(i/n)*n:i,i=t._limitZoom(e+(0<this._delta?n:-n))-e;this._delta=0,this._startTime=null,i&&("center"===t.options.scrollWheelZoom?t.setZoom(e+i):t.setZoomAround(this._lastMousePos,e+i))}})),_t=(Be.addInitHook("addHandler","scrollWheelZoom",mt),Be.mergeOptions({tapHold:Pt.touchNative&&Pt.safari&&Pt.mobile,tapTolerance:15}),Q.extend({addHooks:function(){be(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){xe(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){var e;clearTimeout(this._holdTimeout),1===t.touches.length&&(e=t.touches[0],this._startPos=this._newPos=new O(e.clientX,e.clientY),this._holdTimeout=setTimeout(o(function(){this._cancel(),this._isTapValid()&&(be(document,"touchend",ke),be(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),600),be(document,"touchend touchcancel contextmenu",this._cancel,this),be(document,"touchmove",this._onMove,this))},_cancelClickPrevent:function t(){xe(document,"touchend",ke),xe(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),xe(document,"touchend touchcancel contextmenu",this._cancel,this),xe(document,"touchmove",this._onMove,this)},_onMove:function(t){t=t.touches[0],this._newPos=new O(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){(t=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY}))._simulated=!0,e.target.dispatchEvent(t)}})),gt=(Be.addInitHook("addHandler","tapHold",_t),Be.mergeOptions({touchZoom:Pt.touch,bounceAtZoomLimits:!0}),Q.extend({addHooks:function(){re(this._map._container,"leaflet-touch-zoom"),be(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){se(this._map._container,"leaflet-touch-zoom"),xe(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e,n,i=this._map;!t.touches||2!==t.touches.length||i._animatingZoom||this._zooming||(e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]),this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),"center"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(e.add(n)._divideBy(2))),this._startDist=e.distanceTo(n),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),be(document,"touchmove",this._onTouchMove,this),be(document,"touchend touchcancel",this._onTouchEnd,this),ke(t))},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]),r
1=n.distanceTo(i)/this._startDist;if(this._zoom=e.getScaleZoom(r,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&r<1||this._zoom>e.getMaxZoom()&&1<r)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1==r)return}else{if(n=n._add(i)._divideBy(2)._subtract(this._centerPoint),1==r&&0===n.x&&0===n.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(n),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),S(this._animRequest),i=o(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0),this._animRequest=E(i,this,!0),ke(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,S(this._animRequest),xe(document,"touchmove",this._onTouchMove,this),xe(document,"touchend touchcancel",this._onTouchEnd,this),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}})),Be.addInitHook("addHandler","touchZoom",gt),Be.BoxZoom=Y,Be.DoubleClickZoom=pt,Be.Drag=Vn,Be.Keyboard=ft,Be.ScrollWheelZoom=mt,Be.TapHold=_t,Be.TouchZoom=gt,t.Bounds=I,t.Browser=Pt,t.CRS=F,t.Canvas=Fn,t.Circle=_n,t.CircleMarker=mn,t.Class=M,t.Control=$e,t.DivIcon=In,t.DivOverlay=On,t.DomEvent=J,t.DomUtil=K,t.Draggable=We,t.Evented=N,t.FeatureGroup=cn,t.GeoJSON=vn,t.GridLayer=jn,t.Handler=Q,t.Icon=hn,t.ImageOverlay=Mn,t.LatLng=R,t.LatLngBounds=z,t.Layer=ct,t.LayerGroup=ln,t.LineUtil=nt,t.Map=Be,t.Marker=pn,t.Mixin=tt,t.Path=fn,t.Point=O,t.PolyUtil=et,t.Polygon=yn,t.Polyline=gn,t.Popup=An,t.PosAnimation=ze,t.Projection=rt,t.Rectangle=Gn,t.Renderer=$n,t.SVG=qn,t.SVGOverlay=Nn,t.TileLayer=zn,t.Tooltip=Dn,t.Transformation=U,t.Util=P,t.VideoOverlay=kn,t.bind=o,t.bounds=j,t.canvas=Hn,t.circle=function(t,e,n){return new _n(t,e,n)},t.circleMarker=function(t,e){return new mn(t,e)},t.control=Re,t.divIcon=function(t){return new In(t)},t.extend=e,t.featureGroup=function(t,e){return new cn(t,e)},t.geoJSON=Pn,t.geoJson=ut,t.gridLayer=function(t){return new jn(t)},t.icon=function(t){return new hn(t)},t.imageOverlay=function(t,e,n){return new Mn(t,e,n)},t.latLng=$,t.latLngBounds=B,t.layerGroup=function(t,e){return new ln(t,e)},t.map=function(t,e){return new Be(t,e)},t.marker=function(t,e){return new pn(t,e)},t.point=D,t.polygon=function(t,e){return new yn(t,e)},t.polyline=function(t,e){return new gn(t,e)},t.popup=function(t,e){return new An(t,e)},t.rectangle=function(t,e){return new Gn(t,e)},t.setOptions=p,t.stamp=s,t.svg=Wn,t.svgOverlay=function(t,e,n){return new Nn(t,e,n)},t.tileLayer=Bn,t.tooltip=function(t,e){return new Dn(t,e)},t.transformation=q,t.version="1.9.4",t.videoOverlay=function(t,e,n){return new kn(t,e,n)},window.L);t.noConflict=function(){return window.L=Xn,this},window.L=t}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((t=t||self).Leaflet=t.Leaflet||{},t.Leaflet.markercluster={}))}(this,function(t){"use strict";var e=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var e=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,e?this._withAnimation:this._noAnimation),this._markerCluster
vendor: 29,908 bytes, line 1
1=e?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(t){if(t instanceof L.LayerGroup)return this.addLayers([t]);if(!t.getLatLng)return this._nonPointGroup.addLayer(t),this.fire("layeradd",{layer:t}),this;if(!this._map)return this._needsClustering.push(t),this.fire("layeradd",{layer:t}),this;if(this.hasLayer(t))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(t,this._maxZoom),this.fire("layeradd",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var e=t,n=this._zoom;if(t.__parent)for(;e.__parent._zoom>=n;)e=e.__parent;return this._currentShownBounds.contains(e.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(t,e):this._animationAddLayerNonAnimated(t,e)),this},removeLayer:function(t){return t instanceof L.LayerGroup?this.removeLayers([t]):(t.getLatLng?this._map?t.__parent&&(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(t)),this._removeLayer(t,!0),this.fire("layerremove",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),t.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(t)&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow())):(!this._arraySplice(this._needsClustering,t)&&this.hasLayer(t)&&this._needsRemoving.push({layer:t,latlng:t._latlng}),this.fire("layerremove",{layer:t})):(this._nonPointGroup.removeLayer(t),this.fire("layerremove",{layer:t})),this)},addLayers:function(t,e){if(!L.Util.isArray(t))return this.addLayer(t);var n,i=this._featureGroup,o=this._nonPointGroup,r=this.options.chunkedLoading,s=this.options.chunkInterval,a=this.options.chunkProgress,l=t.length,c=0,h=!0;if(this._map){var u=(new Date).getTime(),d=L.bind(function(){var p=(new Date).getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();c<l;c++){if(r&&c%200==0){var f=(new Date).getTime()-p;if(s<f)break}if((n=t[c])instanceof L.LayerGroup)h&&(t=t.slice(),h=!1),this._extractNonGroupLayers(n,t),l=t.length;else if(n.getLatLng){if(!this.hasLayer(n)&&(this._addLayer(n,this._maxZoom),e||this.fire("layeradd",{layer:n}),n.__parent&&2===n.__parent.getChildCount())){var m=n.__parent.getAllChildMarkers(),_=m[0]===n?m[1]:m[0];i.removeLayer(_)}}else o.addLayer(n),e||this.fire("layeradd",{layer:n})}a&&a(c,l,(new Date).getTime()-u),c===l?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(d,this.options.chunkDelay)},this);d()}else for(var p=this._needsClustering;c<l;c++)(n=t[c])instanceof L.LayerGroup?(h&&(t=t.slice(),h=!1),this._extractNonGroupLayers(n,t),l=t.length):n.getLatLng?this.hasLayer(n)||p.push(n):o.addLayer(n);return this},removeLayers:function(t){var e,n,i=t.length,o=this._featureGroup,r=this._nonPointGroup,s=!0;if(!this._map){for(e=0;e<i;e++)(n=t[e])instanceof L.LayerGroup?(s&&(t=t.slice(),s=!1),this._extractNonGroupLayers(n,t),i=t.length):(this._arraySplice(this._needsClustering,n),r.removeLayer(n),this.hasLayer(n)&&this._needsRemoving.push({layer:n,latlng:n._latlng}),this.fire("layerremove",{layer:n}));return this}if(this._unspiderfy){this._unspiderfy();var a=t.slice(),l=i;for(e=0;e<l;e++)(n=a[e])instanceof L.LayerGroup?(this._extractNonGroupLayers(n,a),l=a.length):this._unspiderfyLayer(n)}for(e=0;e<i;e++)(n=t[e])instanceof L.LayerGroup?(s&&(t=t.slice(),s=!1),this._extractNonGroupLayers(n,t),i=t.length):n.__parent?(this._removeLayer(n,!0,!0),this.fire("layerremove",{layer:n}),o.hasLayer(n)&&(o.removeLayer(n),n.clusterShow&&n.clusterShow())):(r.removeLayer(n),this.fire("layerremove",{layer:n}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(t){t.off(this._childMarkerEventHandlers,this),delete t.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var t=new L.LatLngBounds;this._topClusterLevel&&t.extend(this._topClusterLevel._bounds);for(var e=this._needsClustering.length-1;0<=e;e--)t.extend(this._needsClustering[e].getLatLng());return t.extend(this._nonPointGroup.getBounds()),t},eachLayer:function(t,e){var n,i,o,r=this._needsClustering.slice(),s=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(r),i=r.length-1;0<=i;i--){for(n=!0,o=s.length-1;0<=o;o--)if(s[o].layer===r[i]){n=!1;break}n&&t.call(e,r[i])}this._nonPointGroup.eachLayer(t,e)},getLayers:function(){var t=[];return this.eachLayer(function(e){t.push(e)}),t},getLayer:function(t){var e=null;return t=parseInt(t,10),this.eachLayer(function(n){L.stamp(n)===t&&(e=n)}),e},hasLayer:function(t){if(!t)return!1;var e,n=this._needsClustering;for(e=n.length-1;0<=e;e--)if(n[e]===t)return!0;for(e=(n=this._needsRemoving).length-1;0<=e;e--)if(n[e].layer===t)return!1;return!(!t.__parent||t.__parent._group!==this)||this._nonPointGroup.hasLayer(t)},zoomToShowLayer:function(t,e){var n=this._map;"function"!=typeof e&&(e=function(){});var i=function(){!n.hasLayer(t)&&!n.hasLayer(t.__parent)||this._inZoomAnimation||(this._map.off("moveend",i,this),this.off("animationend",i,this),n.hasLayer(t)?e():t.__parent._icon&&(this.once("spiderfied",e,this),t.__parent.spiderfy()))};t._icon&&this._map.getBounds().contains(t.getLatLng())?e():t.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",i,this),this._map.panTo(t.getLatLng())):(this._map.on("moveend",i,this),this.on("animationend",i,this),t.__parent.zoomToBounds())},onAdd:function(t){var e,n,i;if(this._map=t,!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(t),this._nonPointGroup.addTo(t),this._gridClusters||this._generateInitialClusters(),this._maxLat=t.options.crs.projection.MAX_LATITUDE,e=0,n=this._needsRemoving.length;e<n;e++)(i=this._needsRemoving[e]).newlatlng=i.layer._latlng,i.layer._latlng=i.latlng;for(e=0,n=this._needsRemoving.length;e<n;e++)i=this._needsRemoving[e],this._removeLayer(i.layer,!0),i.layer._latlng=i.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),n=this._needsClustering,this._needsClustering=[],this.addLayers(n,!0)},onRemove:function(t){t.off("zoomend",this._zoomEnd,this),t.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(t){for(var e=t;e&&!e._icon;)e=e.__parent;return e||null},_arraySplice:function(t,e){for(var n=t.length-1;0<=n;n--)if(t[n]===e)return t.splice(n,1),!0},_removeFromGridUnclustered:function(t,e){for(var n=this._map,i=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());o<=e&&i[e].removeObject(t,n.project(t.getLatLng(),e));e--);},_childMarkerDragStart:function(t){t.target.__dragStart=t.target._latlng},_childMarkerMoved:function(t){if(!this._ignoreMove&&!t.target.__dragStart){var e=t.target._popup&&t.target._popup.isOpen();this._moveChild(t.target,t.oldLatLng,t.latlng),e&&t.target.openPopup()}},_moveChild:function(t,e,n){t._latlng=e,this.removeLayer(t),t._latlng=n,this.addLayer(t)},_childMarkerDragEnd:function(t){var e=t.target.__dragStart;delete t.target.__dragStart,e&&this._moveChild(t.target,e,t.target._latlng)},_removeLayer:function(t,e,n){var i=this._gridClusters,o=this._gridUnclustered,r=this._featureGroup,s=this._map,a=Math.floor(this._map.getMinZoom());e&&this._removeFromGridUnclustered(t,this._maxZoom);var l,c=t.__parent,h=c._markers;for(this._arraySplice(h,t);c&&(c._childCount--,c._boundsNeedUpdate=!0,!(c._zoom<a));)e&&c._childCount<=1?(l=c._markers[0]===t?c._markers[1]:c._markers[0],i[c._zoom].removeObject(c,s.project(c._cLatLng,c._zoom)),o[c._zoom].addObject(l,s.project(l.getLatLng(),c._zoom)),this._arraySplice(c.__parent._childClusters,c),c.__parent._markers.push(l),l.__parent=c.__parent,c._icon&&(r.removeLayer(c),n||r.addLayer(l))):c._iconNeedsUpdate=!0,c=c.__parent;delete t.__parent},_isOrIsParent:function(t,e){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},fire:function(t,e,n){if(e&&e.layer instanceof L.MarkerCluster){if(e.originalEvent&&this._isOrIsParent(e.layer._icon,e.originalEvent.relatedTarget))return;t="cluster"+t}L.FeatureGroup.prototype.fire.call(this,t,e,n)},listens:function(t,e){return L.FeatureGroup.prototype.listens.call(this,t,e)||L.FeatureGroup.prototype.listens.call(this,"cluster"+t,e)},_defaultIconCreateFunction:function(t){var e=t.getChildCount(),n=" marker-cluster-";return n+=e<10?"small":e<100?"medium":"large",new L.DivIcon({html:"<div><span>"+e+"</span></div>",className:"marker-cluster"+n,iconSize:new L.Point(40,40)})},_bindEvents:function(){var t=this._map,e=this.options.spiderfyOnMaxZoom,n=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick,o=this.options.spiderfyOnEveryZoom;(e||i||o)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),n&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),t.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(t){var e=t.layer,n=e;if("clusterkeypress"!==t.type||!t.originalEvent||13===t.originalEvent.keyCode){for(;1===n._childClusters.length;)n=n._childClusters[0];n._zoom===this._maxZoom&&n._childCount===e._childCount&&this.options.spiderfyOnMaxZoom?e.spiderfy():this.options.zoomToBoundsOnClick&&e.zoomToBounds(),this.options.spiderfyOnEveryZoom&&e.spiderfy(),t.originalEvent&&13===t.originalEvent.keyCode&&this._map._container.focus()}},_showCoverage:function(t){var e=this._map;this._inZoomAnimation||(this._shownPolygon&&e.removeLayer(this._shownPolygon),2<t.layer.getChildCount()&&t.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(t.layer.getConvexHull(),this.options.polygonOptions),e.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var t=this.options.spiderfyOnMaxZoom,e=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick,i=this.options.spiderfyOnEveryZoom,o=this._map;(t||n||i)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),e&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),o.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var t=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),t),this._currentShownBounds=t}},_generateInitialClusters:function(){var t=Math.ceil(this._map.getMaxZoom()),e=Math.floor(this._map.getMinZoom()),n=this.options.maxClusterRadius,i=n;"function"!=typeof n&&(i=function(){return n}),null!==this.options.disableClusteringAtZoom&&(t=this.options.disableClusteringAtZoom-1),this._maxZoom=t,this._gridClusters={},this._gridUnclustered={};for(var o=t;e<=o;o--)this._gridClusters[o]=new L.DistanceGrid(i(o)),this._gridUnclustered[o]=new L.DistanceGrid(i(o));this._topClusterLevel=new this._markerCluster(this,e-1)},_addLayer:function(t,e){var n,i,o=this._gridClusters,r=this._gridUnclustered,s=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(t),t.on(this._childMarkerEventHandlers,this);s<=e;e--){n=this._map.project(t.getLatLng(),e);var a=o[e].getNearObject(n);if(a)return a._addChild(t),void(t.__parent=a);if(a=r[e].getNearObject(n)){var l=a.__parent;l&&this._removeLayer(a,!1);var c=new this._markerCluster(this,e,a,t);o[e].addObject(c,this._map.project(c._cLatLng,e)),a.__parent=c;var h=t.__parent=c;for(i=e-1;i>l._zoom;i--)h=new this._markerCluster(this,i,h),o[i].addObject(h,this._map.project(a.getLatLng(),i));return l._addChild(h),void this._removeFromGridUnclustered(a,e)}r[e].addObject(t,n)}this._topClusterLevel._addChild(t),t.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(t){t instanceof L.MarkerCluster&&t._iconNeedsUpdate&&t._updateIcon()})},_enqueue:function(t){this._queue.push(t),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var t=0;t<this._queue.length;t++)this._queue[t].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var t=Math.round(this._map._zoom);this._processQueue(),this._zoom<t&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,t)):this._zoom>t?(this._animationStart(),this._animationZoomOut(this._zoom,t)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(t){var e=this._maxLat;return void 0!==e&&(t.getNorth()>=e&&(t._northEast.lat=1/0),t.getSouth()<=-e&&(t._southWest.lat=-1/0)),t},_animationAddLayerNonAnimated:function(t,e){if(e===t)this._featureGroup.addLayer(t);else if(2===e._childCount){e._addToMap();var n=e.getAllChildMarkers();this._featureGroup.removeLayer(n[0]),this._featureGroup.removeLayer(n[1])}else e._updateIcon()},_extractNonGroupLayers:function(t,e){var n,i=t.getLayers(),o=0;for(e=e||[];o<i.length;o++)(n=i[o])instanceof L.LayerGroup?this._extractNonGroupLayers(n,e):e.push(n);return e},_overrideMarkerIcon:function(t){return t.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[t]}})}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(t,e){this._animationAddLayerNonAnimated(t,e)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(t,e){var n,i=this._getExpandedVisibleBounds(),o=this._featureGroup,r=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(i,t,r,function(r){var s,a=r._latlng,l=r._markers;for(i.contains(a)||(a=null),r._isSingleParent()&&t+1===e?(o.removeLayer(r),r._recursivelyAddChildrenToMap(null,e,i)):(r.clusterHide(),r._recursivelyAddChildrenToMap(a,e,i)),n=l.length-1;0<=n;n--)s=l[n],i.contains(s._latlng)||o.removeLayer(s)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(i,e),o.eachLayer(function(t){t instanceof L.MarkerCluster||!t._icon||t.clusterShow()}),this._topClusterLevel._recursively(i,t,e,function(t){t._recursivelyRestoreChildPositions(e)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(i,t,r,function(t){o.removeLayer(t),t.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(t,e){this._animationZoomOutSingle(this._topClusterLevel,t-1,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t,this._getExpandedVisibleBounds())},_animationAddLayer:function(t,e){var n=this,i=this._featureGroup;i.addLayer(t),e!==t&&(2<e._childCount?(e._updateIcon(),this._forceLayout(),this._animationStart(),t._setPos(this._map.latLngToLayerPoint(e.getLatLng())),t.clusterHide(),this._enqueue(function(){i.removeLayer(t),t.clusterShow(),n._animationEnd()})):(this._forceLayout(),n._animationStart(),n._animationZoomOutSingle(e,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(t,e,n){var i=this._getExpandedVisibleBounds(),o=Math.floor(this._map.getMinZoom());t._recursivelyAnimateChildrenInAndAddSelfToMap(i,o,e+1,n);var r=this;this._forceLayout(),t._recursivelyBecomeVisible(i,n),this._enqueue(function(){if(1===t._childCount){var s=t._markers[0];this._ignoreMove=!0,s.setLatLng(s.getLatLng()),this._ignoreMove=!1,s.clusterShow&&s.clusterShow()}else t._recursively(i,n,o,function(t){t._recursivelyRemoveChildrenFromMap(i,o,e+1)});r._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(t){return new L.MarkerClusterGroup(t)};var n=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(t,e,n,i){L.Marker.prototype.initialize.call(this,n?n._cLatLng||n.getLatLng():new L.LatLng(0,0),{icon:this,pane:t.options.clusterPane}),this._group=t,this._zoom=e,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,n&&this._addChild(n),i&&this._addChild(i)},getAllChildMarkers:function(t,e){t=t||[];for(var n=this._childClusters.length-1;0<=n;n--)this._childClusters[n].getAllChildMarkers(t,e);for(var i=this._markers.length-1;0<=i;i--)e&&this._markers[i].__dragStart||t.push(this._markers[i]);return t},getChildCount:function(){return this._childCount},zoomToBounds:function(t){for(var e,n=this._childClusters.slice(),i=this._group._map,o=i.getBoundsZoom(this._bounds),r=this._zoom+1,s=i.getZoom();0<n.length&&r<o;){r++;var a=[];for(e=0;e<n.length;e++)a=a.concat(n[e]._childClusters);n=a}r<o?this._group._map.setView(this._latlng,r):o<=s?this._group._map.setView(this._latlng,s+1):this._group._map.fitBounds(this._bounds,t)},getBounds:function(){var t=new L.LatLngBounds;return t.extend(this._bounds),t},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(t,e){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(t),t instanceof L.MarkerCluster?(e||(this._childClusters.push(t),t.__parent=this),this._childCount+=t._childCount):(e||this._markers.push(t),this._childCount++),this.__parent&&this.__parent._addChild(t,!0)},_setClusterCenter:function(t){this._cLatLng||(this._cLatLng=t._cLatLng||t._latlng)},_resetBounds:function(){var t=this._bounds;t._southWest&&(t._southWest.lat=1/0,t._southWest.lng=1/0),t._northEast&&(t._northEast.lat=-1/0,t._northEast.lng=-1/0)},_recalculateBounds:function(){var t,e,n,i,o=this._markers,r=this._childClusters,s=0,a=0,l=this._childCount;if(0!==l){for(this._resetBounds(),t=0;t<o.length;t++)n=o[t]._latlng,this._bounds.extend(n),s+=n.lat,a+=n.lng;for(t=0;t<r.length;t++)(e=r[t])._boundsNeedUpdate&&e._recalculateBounds(),this._bounds.extend(e._bounds),n=e._wLatLng,i=e._childCount,s+=n.lat*i,a+=n.lng*i;this._latlng=this._wLatLng=new L.LatLng(s/l,a/l),this._boundsNeedUpdate=!1}},_addToMap:function(t){t&&(this._backupLatlng=this._latlng,this.setLatLng(t)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(t,e,n){this._recursively(t,this._group._map.getMinZoom(),n-1,function(t){var n,i,o=t._markers;for(n=o.length-1;0<=n;n--)(i=o[n])._icon&&(i._setPos(e),i.clusterHide())},function(t){var n,i,o=t._childClusters;for(n=o.length-1;0<=n;n--)(i=o[n])._icon&&(i._setPos(e),i.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(t,e,n,i){this._recursively(t,i,e,function(o){o._recursivelyAnimateChildrenIn(t,o._group._map.latLngToLayerPoint(o.getLatLng()).round(),n),o._isSingleParent()&&n-1===i?(o.clusterShow(),o._recursivelyRemoveChildrenFromMap(t,e,n)):o.clusterHide(),o._addToMap()})},_recursivelyBecomeVisible:function(t,e){this._recursively(t,this._group._map.getMinZoom(),e,null,function(t){t.clusterShow()})},_recursivelyAddChildrenToMap:function(t,e,n){this._recursively(n,this._group._map.getMinZoom()-1,e,function(i){if(e!==i._zoom)for(var o=i._markers.length-1;0<=o;o--){var r=i._markers[o];n.contains(r._latlng)&&(t&&(r._backupLatlng=r.getLatLng(),r.setLatLng(t),r.clusterHide&&r.clusterHide()),i._group._featureGroup.addLayer(r))}},function(e){e._addToMap(t)})},_recursivelyRestoreChildPositions:function(t){for(var e=this._markers.length-1;0<=e;e--){var n=this._markers[e];n._backupLatlng&&(n.setLatLng(n._backupLatlng),delete n._backupLatlng)}if(t-1===this._zoom)for(var i=this._childClusters.length-1;0<=i;i--)this._childClusters[i]._restorePosition();else for(var o=this._childClusters.length-1;0<=o;o--)this._childClusters[o]._recursivelyRestoreChildPositions(t)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(t,e,n,i){var o,r;this._recursively(t,e-1,n-1,function(t){for(r=t._markers.length-1;0<=r;r--)o=t._markers[r],i&&i.contains(o._latlng)||(t._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())},function(t){for(r=t._childClusters.length-1;0<=r;r--)o=t._childClusters[r],i&&i.contains(o._latlng)||(t._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())})},_recursively:function(t,e,n,i,o){var r,s,a=this._childClusters,l=this._zoom;if(e<=l&&(i&&i(this),o&&l===n&&o(this)),l<e||l<n)for(r=a.length-1;0<=r;r--)(s=a[r])._boundsNeedUpdate&&s._recalculateBounds(),t.intersects(s._bounds)&&s._recursively(t,e,n,i,o)},_isSingleParent:function(){return 0<this._childClusters.length&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var t=this.options.opacity;return this.setOpacity(0),this.options.opacity=t,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(t){this._cellSize=t,this._sqCellSize=t*t,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(t,e){var n=this._getCoord(e.x),i=this._getCoord(e.y),o=this._grid,r=o[i]=o[i]||{},s=r[n]=r[n]||[],a=L.Util.stamp(t);this._objectPoint[a]=e,s.push(t)},updateObject:function(t,e){this.removeObject(t),this.addObject(t,e)},removeObject:function(t,e){var n,i,o=this._getCoord(e.x),r=this._getCoord(e.y),s=this._grid,a=s[r]=s[r]||{},l=a[o]=a[o]||[];for(delete this._objectPoint[L.Util.stamp(t)],n=0,i=l.length;n<i;n++)if(l[n]===t)return l.splice(n,1),1===i&&delete a[o],!0},eachObject:function(t,e){var n,i,o,r,s,a,l=this._grid;for(n in l)for(i in s=l[n])for(o=0,r=(a=s[i]).length;o<r;o++)t.call(e,a[o])&&(o--,r--)},getNearObject:function(t){var e,n,i,o,r,s,a,l,c=this._getCoord(t.x),h=this._getCoord(t.y),u=this._objectPoint,d=this._sqCellSize,p=null;for(e=h-1;e<=h+1;e++)if(o=this._grid[e])for(n=c-1;n<=c+1;n++)if(r=o[n])for(i=0,s=r.length;i<s;i++)a=r[i],((l=this._sqDist(u[L.Util.stamp(a)],t))<d||l<=d&&null===p)&&(d=l,p=a);return p},_getCoord:function(t){var e=Math.floor(t/this._cellSize);return isFinite(e)?e:t},_sqDist:function(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i}},L.QuickHull={getDistant:function(t,e){var n=e[1].lat-e[0].lat;return(e[0].lng-e[1].lng)*(t.lat-e[0].lat)+n*(t.lng-e[0].lng)},findMostDistantPointFromBaseLine:function(t,e){var n,i,o,r=0,s=null,a=[];for(n=e.length-1;0<=n;n--)i=e[n],0<(o=this.getDistant(i,t))&&(a.push(i),r<o&&(r=o,s=i));return{maxPoint:s,newPoints:a}},buildConvexHull:function(t,e){var n=[],i=this.findMostDistantPointFromBaseLine(t,e);return i.maxPoint?n=(n=n.concat(this.buildConvexHull([t[0],i.maxPoint],i.newPoints))).concat(this.buildConvexHull([i.maxPoint,t[1]],i.newPoints)):[t[0]]},getConvexHull:function(t){var e,n,i=!1,o=!1,r=!1,s=!1,a=null,l=null,c=null,h=null,u=null;for(e=t.length-1;0<=e;e--){var d=t[e];(!1===i||d.lat>i)&&(i=(a=d).lat),(!1===o||d.lat<o)&&(o=(l=d).lat),(!1===r||d.lng>r)&&(r=(c=d).lng),(!1===s||d.lng<s)&&(s=(h=d).lng)}return n=o!==i?(u=l,a):(u=h,c),[].concat(this.buildConvexHull([u,n],t),this.buildConvexHull([n,u],t))}},L.MarkerCluster.include({getConvexHull:function(){var t,e,n=this.getAllChildMarkers(),i=[];for(e=n.length-1;0<=e;e--)t=n[e].getLatLng(),i.push(t);return L.QuickHull.getConvexHull(i)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var t,e=this.getAllChildMarkers(null,!0),n=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),t=(this._group._spiderfied=this)._group.options.spiderfyShapePositions?this._group.options.spiderfyShapePositions(e.length,n):e.length>=this._circleSpiralSwitchover?this._generatePointsSpiral(e.length,n):(n.y+=10,this._generatePointsCircle(e.length,n)),this._animationSpiderfy(e,t)}},unspiderfy:function(t){this._group._inZoomAnimation||(this._animationUnspiderfy(t),this._group._spiderfied=null)},_generatePointsCircle:function(t,e){var n,i,o=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+t)/this._2PI,r=this._2PI/t,s=[];for(o=Math.max(o,35),s.length=t,n=0;n<t;n++)i=this._circleStartAngle+n*r,s[n]=new L.Point(e.x+o*Math.cos(i),e.y+o*Math.sin(i))._round();return s},_generatePointsSpiral:function(t,e){var n,i=this._group.options.spiderfyDistanceMultiplier,o=i*this._spiralLengthStart,r=i*this._spiralFootSeparation,s=i*this._spiralLengthFactor*this._2PI,a=0,l=[];for(n=l.length=t;0<=n;n--)n<t&&(l[n]=new L.Point(e.x+o*Math.cos(a),e.y+o*Math.sin(a))._round()),o+=s/(a+=r/o+5e-4*n);return l},_noanimationUnspiderfy:function(){var t,e,n=this._group,i=n._map,o=n._featureGroup,r=this.getAllChildMarkers(null,!0);for(n._ignoreMove=!0,this.setOpacity(1),e=r.length-1;0<=e;e--)t=r[e],o.removeLayer(t),t._preSpiderfyLatlng&&(t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng),t.setZIndexOffset&&t.setZIndexOffset(0),t._spiderLeg&&(i.removeLayer(t._spiderLeg),delete t._spiderLeg);n.fire("unspiderfied",{cluster:this,markers:r}),n._ignoreMove=!1,n._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(t,e){var n,i,o,r,s=this._group,a=s._map,l=s._featureGroup,c=this._group.options.spiderLegPolylineOptions;for(s._ignoreMove=!0,n=0;n<t.length;n++)r=a.layerPointToLatLng(e[n]),i=t[n],o=new L.Polyline([this._latlng,r],c),a.addLayer(o),i._spiderLeg=o,i._preSpiderfyLatlng=i._latlng,i.setLatLng(r),i.setZIndexOffset&&i.setZIndexOffset(1e6),l.addLayer(i);this.setOpacity(.3),s._ignoreMove=!1,s.fire("spiderfied",{cluster:this,markers:t})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(t,e){var n,i,o,r,s,a,l=this,c=this._group,h=c._map,u=c._featureGroup,d=this._latlng,p=h.latLngToLayerPoint(d),f=L.Path.SVG,m=L.extend({},this._group.options.spiderLegPolylineOptions),_=m.opacity;for(void 0===_&&(_=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),f?(m.opacity=0,m.className=(m.className||"")+" leaflet-cluster-spider-leg"):m.opacity=_,c._ignoreMove=!0,n=0;n<t.length;n++)i=t[n],a=h.layerPointToLatLng(e[n]),o=new L.Polyline([d,a],m),h.addLayer(o),i._spiderLeg=o,f&&(s=(r=o._path).getTotalLength()+.1,r.style.strokeDasharray=s,r.style.strokeDashoffset=s),i.setZIndexOffset&&i.setZIndexOffset(1e6),i.clusterHide&&i.clusterHide(),u.addLayer(i),i._setPos&&i._setPos(p);for(c._forceLayout(),c._animationStart(),n=t.length-1;0<=n;n--)a=h.layerPointToLatLng(e[n]),(i=t[n])._preSpiderfyLatlng=i._latlng,i.setLatLng(a),i.clusterShow&&i.clusterShow(),f&&((r=(o=i._spiderLeg)._path).style.strokeDashoffset=0,o.setStyle({opacity:_}));this.setOpacity(.3),c._ignoreMove=!1,setTimeout(function(){c._animationEnd(),c.fire("spiderfied",{cluster:l,markers:t})},200)},_animationUnspiderfy:function(t){var e,n,i,o,r,s,a=this,l=this._group,c=l._map,h=l._featureGroup,u=t?c._latLngToNewLayerPoint(this._latlng,t.zoom,t.center):c.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(null,!0),p=L.Path.SVG;for(l._ignoreMove=!0,l._animationStart(),this.setOpacity(1),n=d.length-1;0<=n;n--)(e=d[n])._preSpiderfyLatlng&&(e.closePopup(),e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng,s=!0,e._setPos&&(e._setPos(u),s=!1),e.clusterHide&&(e.clusterHide(),s=!1),s&&h.removeLayer(e),p&&(r=(o=(i=e._spiderLeg)._path).getTotalLength()+.1,o.style.strokeDashoffset=r,i.setStyle({opacity:0}
1)));l._ignoreMove=!1,setTimeout(function(){var t=0;for(n=d.length-1;0<=n;n--)(e=d[n])._spiderLeg&&t++;for(n=d.length-1;0<=n;n--)(e=d[n])._spiderLeg&&(e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),1<t&&h.removeLayer(e),c.removeLayer(e._spiderLeg),delete e._spiderLeg);l._animationEnd(),l.fire("unspiderfied",{cluster:a,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(t){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(t))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(t){this._spiderfied&&this._spiderfied.unspiderfy(t)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(t){t._spiderLeg&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),this._map.removeLayer(t._spiderLeg),delete t._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(t){return t?t instanceof L.MarkerClusterGroup?t=t._topClusterLevel.getAllChildMarkers():t instanceof L.LayerGroup?t=t._layers:t instanceof L.MarkerCluster?t=t.getAllChildMarkers():t instanceof L.Marker&&(t=[t]):t=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(t),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(t),this},_flagParentsIconsNeedUpdate:function(t){var e,n;for(e in t)for(n=t[e].__parent;n;)n._iconNeedsUpdate=!0,n=n.__parent},_refreshSingleMarkerModeMarkers:function(t){var e,n;for(e in t)n=t[e],this.hasLayer(n)&&n.setIcon(this._overrideMarkerIcon(n))}}),L.Marker.include({refreshIconOptions:function(t,e){var n=this.options.icon;return L.setOptions(n,t),this.setIcon(n),e&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),t.MarkerClusterGroup=e,t.MarkerCluster=n,Object.defineProperty(t,"__esModule",{value:!0})}),function(t){var e={};function n(i){var o;return(e[i]||(o=e[i]={i:i,l:!1,exports:{}},t[i].call(o.exports,o,o.exports,n),o.l=!0,o)).exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=11)}([function(t,e){var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";e.a=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){return e.reject(n)})})}},function(t,e,n){"use strict";e.a=function(t){return new this(function(e,n){if(!t||void 0===t.length)return n(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(t);if(0===i.length)return e([]);for(var o=i.length,r=0;r<i.length;r++)!function t(n,r){if(r&&("object"==typeof r||"function"==typeof r)){var s=r.then;if("function"==typeof s)return void s.call(r,function(e){t(n,e)},function(t){i[n]={status:"rejected",reason:t},0==--o&&e(i)})}i[n]={status:"fulfilled",value:r},0==--o&&e(i)}(r,i[r])})}},function(t,e,n){"use strict";function i(t,e){this.name="AggregateError",this.errors=t,this.message=e||""}i.prototype=Error.prototype,e.a=function(t){var e=this;return new e(function(n,o){if(!t||void 0===t.length)return o(new TypeError("Promise.any accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return o();for(var s=[],a=0;a<r.length;a++)try{e.resolve(r[a]).then(n).catch(function(t){s.push(t),s.length===r.length&&o(new i(s,"All promises were rejected"))})}catch(n){o(n)}})}},function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function r(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;0<=e&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(7),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(t,e,n){"use strict";(function(t){var i=n(1),o=n(2),r=n(3),s=setTimeout;function a(t){return Boolean(t&&void 0!==t.length)}function l(){}function c(t){if(!(this instanceof c))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(t,this)}function h(t,e){for(;3===t._state;)t=t._value;0===t._state?t._deferreds.push(e):(t._handled=!0,c._immediateFn(function(){var n,i=1===t._state?e.onFulfilled:e.onRejected;if(null===i)(1===t._state?u:d)(e.promise,t._value);
vendor: 1,624 bytes, line 1
1else{try{n=i(t._value)}catch(n){return void d(e.promise,n)}u(e.promise,n)}}))}function u(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof c)return t._state=3,t._value=e,void p(t);if("function"==typeof n)return void f((i=n,o=e,function(){i.apply(o,arguments)}),t)}t._state=1,t._value=e,p(t)}catch(e){d(t,e)}var i,o}function d(t,e){t._state=2,t._value=e,p(t)}function p(t){2===t._state&&0===t._deferreds.length&&c._immediateFn(function(){t._handled||c._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)h(t,t._deferreds[e]);t._deferreds=null}function f(t,e){var n=!1;try{t(function(t){n||(n=!0,u(e,t))},function(t){n||(n=!0,d(e,t))})}catch(t){n||(n=!0,d(e,t))}}c.prototype.catch=function(t){return this.then(null,t)},c.prototype.then=function(t,e){var n=new this.constructor(l);return h(this,new function(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}(t,e,n)),n},c.prototype.finally=i.a,c.all=function(t){return new c(function(e,n){if(!a(t))return n(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return e([]);for(var o=i.length,r=0;r<i.length;r++)!function t(r,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,function(e){t(r,e)},n)}i[r]=s,0==--o&&e(i)}catch(s){n(s)}}(r,i[r])})},c.any=r.a,c.allSettled=o.a,c.resolve=function(t){return t&&"object"==typeof t&&t.constructor===c?t:new c(function(e){e(t)})}
1,c.reject=function(t){return new c(function(e,n){n(t)})},c.race=function(t){return new c(function(e,n){if(!a(t))return n(new TypeError("Promise.race accepts an array"));for(var i=0,o=t.length;i<o;i++)c.resolve(t[i]).then(e,n)})},c._immediateFn="function"==typeof t?function(e){t(e)}:function(t){s(t,0)},c._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},e.a=c}).call(this,n(4).setImmediate)},function(t,e,n){"use strict";(function(t){var e=n(5),i=n(1),o=n(2),r=n(3),s=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==t)return t;throw new Error("unable to locate global object")}();"function"!=typeof s.Promise?s.Promise=e.a:(s.Promise.prototype.finally||(s.Promise.prototype.finally=i.a),s.Promise.allSettled||(s.Promise.allSettled=o.a),s.Promise.any||(s.Promise.any=r.a))}).call(this,n(0))},function(t,e,n){(function(t,e){!function(t,n){"use strict";var i,o,r,s,a,l,c,h;function u(t){delete o[t]}function d(t){if(r)setTimeout(d,0,t);else{var e=o[t];if(e){r=!0;try{var i=e,s=i.callback,a=i.args;switch(a.length){case 0:s();break;case 1:s(a[0]);break;case 2:s(a[0],a[1]);break;case 3:s(a[0],a[1],a[2]);break;default:s.apply(n,a)}}finally{u(t),r=!1}}}}t.setImmediate||(i=1,r=!(o={}),s=t.document,h=(h=Object.getPrototypeOf&&Object.getPrototypeOf(t))&&h.setTimeout?h:t,"[object process]"==={}.toString.call(t.process)?a=function(t){e.nextTick(function(){d(t)})}:function(){var e,n;if(t.postMessage&&!t.importScripts)return e=!0,n=t.onmessage,t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}()?function(){function e(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(n)&&d(+e.data.slice(n.length))}var n="setImmediate$"+Math.random()+"$";t.addEventListener?t.addEventListener("message",e,!1):t.attachEvent("onmessage",e),a=function(e){t.postMessage(n+e,"*")}}():a=t.MessageChannel?((c=new MessageChannel).port1.onmessage=function(t){d(t.data)},function(t){c.port2.postMessage(t)}):s&&"onreadystatechange"in s.createElement("script")?(l=s.documentElement,function(t){var e=s.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,l.removeChild(e),e=null},l.appendChild(e)}):function(t){setTimeout(d,0,t)},h.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];return o[i]={callback:t,args:e},a(i),i++},h.clearImmediate=u)}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(0),n(8))},function(t,e){var n,i;t=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:r}catch(t){i=r}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return(n=setTimeout)(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}var a,l=[],c=!1,h=-1;function u(){c&&a&&(c=!1,a.length?l=a.concat(l):h=-1,l.length)&&d()}function d(){if(!c){for(var t=s(u),e=(c=!0,l.length);e;){for(a=l,l=[];++h<e;)a&&a[h].run();h=-1,e=l.length}a=null,c=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===r||!i)&&clearTimeout)return(i=clearTimeout)(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function f(){}t.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new p(t,e)),1!==l.length||c||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=f,t.addListener=f,t.once=f,t.off=f,t.removeListener=f,t.removeAllListeners=f,t.emit=f,t.prependListener=f,t.prependOnceListener=f,t.listeners=function(t){return[]},t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},function(t,e,n){"use strict";(function(t){var e,n,i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==t&&t||{},o="URLSearchParams"in i,r="Symbol"in i&&"iterator"in Symbol,s="FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch(t){return!1}}(),a="FormData"in i,l="ArrayBuffer"in i;function c(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function h(t){return"string"!=typeof t?String(t):t}function u(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return r&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function p(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function f(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function m(t){var e=new FileReader,n=f(e);return e.readAsArrayBuffer(t),n}function _(t){var e;return t.slice?t.slice(0):((e=new Uint8Array(t.byteLength)).set(new Uint8Array(t)),e.buffer)}function g(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:s&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:a&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():l&&s&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=_(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):l&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=_(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var t=p(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return p(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(s)return this.blob().then(m);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t,e,n,i=p(this);if(i)return i;if(this._bodyBlob)return i=this._bodyBlob,e=f(t=new FileReader),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(i.t
1ype))?n[1]:"utf-8",t.readAsText(i,n),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),i=0;i<e.length;i++)n[i]=String.fromCharCode(e[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}l&&(e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&-1<e.indexOf(Object.prototype.toString.call(t))}),d.prototype.append=function(t,e){t=c(t),e=h(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},d.prototype.delete=function(t){delete this.map[c(t)]},d.prototype.get=function(t){return t=c(t),this.has(t)?this.map[t]:null},d.prototype.has=function(t){return this.map.hasOwnProperty(c(t))},d.prototype.set=function(t,e){this.map[c(t)]=h(e)},d.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},d.prototype.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),u(t)},d.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),u(t)},d.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),u(t)},r&&(d.prototype[Symbol.iterator]=d.prototype.entries);var y=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(t,e){if(!(this instanceof v))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,o=(e=e||{}).body;if(t instanceof v){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new d(e.headers)),this.method=(n=(t=e.method||this.method||"GET").toUpperCase(),-1<y.indexOf(n)?n:t),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in i)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function b(t){var e=new FormData;return t.trim().split("&").forEach(function(t){var n;t&&(n=(t=t.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),e.append(decodeURIComponent(n),decodeURIComponent(t)))}),e}function w(t,e){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e=e||{},this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new d(e.headers),this.url=e.url||"",this._initBody(t)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},g.call(v.prototype),g.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},w.error=function(){var t=new w(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var x=[301,302,303,307,308],C=(w.redirect=function(t,e){if(-1===x.indexOf(e))throw new RangeError("Invalid status code");return new w(null,{status:e,headers:{location:t}})},i.DOMException);try{new C}catch(t){(C=function(t,e){this.message=t,this.name=e,e=Error(t),this.stack=e.stack}).prototype=Object.create(Error.prototype),C.prototype.constructor=C}function T(t,e){return new Promise(function(n,o){var r=new v(t,e);if(r.signal&&r.signal.aborted)return o(new C("Aborted","AbortError"));var a,u=new XMLHttpRequest;function p(){u.abort()}u.onload=function(){var t,e,i={statusText:u.statusText,headers:(t=u.getAllResponseHeaders()||"",e=new d,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}
1).forEach(function(t){var n=(t=t.split(":")).shift().trim();if(n){t=t.join(":").trim();try{e.append(n,t)}catch(t){console.warn("Response "+t.message)}}}),e)},o=(0===r.url.indexOf("file://")&&(u.status<200||599<u.status)?i.status=200:i.status=u.status,i.url="responseURL"in u?u.responseURL:i.headers.get("X-Request-URL"),"response"in u?u.response:u.responseText);setTimeout(function(){n(new w(o,i))},0)},u.onerror=function(){setTimeout(function(){o(new TypeError("Network request failed"))},0)},u.ontimeout=function(){setTimeout(function(){o(new TypeError("Network request timed out"))},0)},u.onabort=function(){setTimeout(function(){o(new C("Aborted","AbortError"))},0)},u.open(r.method,function(t){try{return""===t&&i.location.href?i.location.href:t}catch(e){return t}}(r.url),!0),"include"===r.credentials?u.withCredentials=!0:"omit"===r.credentials&&(u.withCredentials=!1),"responseType"in u&&(s?u.responseType="blob":l&&(u.responseType="arraybuffer")),e&&"object"==typeof e.headers&&!(e.headers instanceof d||i.Headers&&e.headers instanceof i.Headers)?(a=[],Object.getOwnPropertyNames(e.headers).forEach(function(t){a.push(c(t)),u.setRequestHeader(t,h(e.headers[t]))}),r.headers.forEach(function(t,e){-1===a.indexOf(e)&&u.setRequestHeader(e,t)})):r.headers.forEach(function(t,e){u.setRequestHeader(e,t)}),r.signal&&(r.signal.addEventListener("abort",p),u.onreadystatechange=function(){4===u.readyState&&r.signal.removeEventListener("abort",p)}),u.send(void 0===r._bodyInit?null:r._bodyInit)})}T.polyfill=!0,i.fetch||(i.fetch=T,i.Headers=d,i.Request=v,i.Response=w)}).call(this,n(0))},function(t,e,n){(function(t,e){(function(){"use strict";function n(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}var i,o="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){return t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value),t},r=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof t&&t];for(var n=0;n<e.length;++n){var i=e[n];if(i&&i.Math==Math)return i}throw Error("Cannot find global object")}(this);function s(t,e){if(e)t:{var n=r;t=t.split(".");for(var i=0;i<t.length-1;i++){var s=t[i];if(!(s in n))break t;n=n[s]}(e=e(i=n[t=t[t.length-1]]))!=i&&null!=e&&o(n,t,{configurable:!0,writable:!0,value:e})}}function a(t){var e="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return e?e.call(t):{next:n(t)}}function l(t){if(!(t instanceof Array)){t=a(t);for(var e,n=[];!(e=t.next()).done;)n.push(e.value);t=n}return t}if(s("Symbol",function(t){function e(t,e){this.g=t,o(this,"description",{configurable:!0,writable:!0,value:e})}if(t)return t;e.prototype.toString=function(){return this.g};var n=0;return function t(i){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new e("jscomp_symbol_"+(i||"")+"_"+n++,i)}}),s("Symbol.iterator",function(t){if(!t){t=Symbol("Symbol.iterator");for(var e="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),i=0;i<e.length;i++){var s=r[e[i]];"function"==typeof s&&"function"!=typeof s.prototype[t]&&o(s.prototype,t,{configurable:!0,writable:!0,value:function(){return(t={next:t=n(this)})[Symbol.iterator]=function(){return this},t;var t}})}}return t}),"function"==typeof Object.setPrototypeOf)B=Object.setPrototypeOf;else{t:{var c={};try{c.__proto__={a:!0},i=c.a;break t}catch(z){}i=!1}B=i?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var h=B;function u(){this.u=!1,this.h=null,this.Oa=void 0,this.g=1,this.ea=0,this.i=null}function d(t){if(t.u)throw new TypeError("Generator is already running");t.u=!0}function p(t,e){t.i={ab:e,fb:!0},t.g=t.ea}function f(t,e){return t.g=3,{value:e}}function m(t,e,n,i){try{var o=e.call(t.g.h,n);if(!(o instanceof Object))throw new TypeError("Iterator result "+o+" is not an object");if(!o.done)return t.g.u=!1,o;var r=o.value}catch(e){return t.g.h=null,p(t.g,e),_(t)}return t.g.h=null,i.call(t.g,r),_(t)}function _(t){for(;t.g.g;)try{var e=t.h(t.g);if(e)return t.g.u=!1,{value:e.value,done:!1}}catch(e){t.g.Oa=void 0,p(t.g,e)}if(t.g.u=!1,t.g.i){if(e=t.g.i,t.g.i=null,e.fb)throw e.ab;return{value:e.return,done:!0}}return{value:void 0,done:!0}}function g(t,e){return e=new function(t){this.next=function(e){return d(t.g),t.g.h?m(t,t.g.h.next,e,t.g.O):(t.g.O(e),_(t))},this.throw=function(e){return d(t.g),t.g.h?m(t,t.g.h.throw,e,t.g.O):(p(t.g,e),_(t))},this.return=function(e){return e=e,d((n=t).g),(i=n.g.h)?m(n,"return"in i?i.return:function(t){return{value:t,done:!0}},e,n.g.return):(n.g.return(e),_(n));var n,i},this[Symbol.iterator]=function(){return this}}(new function(t){this.g=new u,this.h=t}(e)),h&&t.prototype&&h(e,t.prototype),e}u.prototype.O=function(t){this.Oa=t},u.prototype.return=function(t){this.i={return:t},this.g=this.ea},Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t){for(var e,n=[].slice.call(arguments,1
1),i=0;i<n.length;i++)if(e=n[i])for(var o=t,r=Object.keys(e),s=0;s<r.length;s++){var a=r[s];o[a]=e[a]}return t});var y=setTimeout;function v(){}function b(t){if(!(this instanceof b))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.N=0,this.Ha=!1,this.I=void 0,this.ba=[],L(t,this)}function w(t,e){for(;3===t.N;)t=t.I;0===t.N?t.ba.push(e):(t.Ha=!0,j(function(){var n=1===t.N?e.hb:e.ib;if(null===n)(1===t.N?x:C)(e.promise,t.I);else{try{var i=n(t.I)}catch(n){return void C(e.promise,n)}x(e.promise,i)}}))}function x(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof b)return t.N=3,t.I=e,void T(t);if("function"==typeof n)return void L((i=n,o=e,function(){i.apply(o,arguments)}),t)}t.N=1,t.I=e,T(t)}catch(e){C(t,e)}var i,o}function C(t,e){t.N=2,t.I=e,T(t)}function T(t){2===t.N&&0===t.ba.length&&j(function(){t.Ha||"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t.I)});for(var e=0,n=t.ba.length;e<n;e++)w(t,t.ba[e]);t.ba=null}function L(t,e){var n=!1;try{t(function(t){n||(n=!0,x(e,t))},function(t){n||(n=!0,C(e,t))})}catch(t){n||(n=!0,C(e,t))}}function E(t){return t&&"object"==typeof t&&t.constructor===b?t:new b(function(e){e(t)})}b.prototype.catch=function(t){return this.then(null,t)},b.prototype.then=function(t,e){var n=new this.constructor(v);return w(this,new function(t,e,n){this.hb="function"==typeof t?t:null,this.ib="function"==typeof e?e:null,this.promise=n}(t,e,n)),n},b.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){return e.reject(n)})})};var S,P,M,k,N,O,A,D,I,j="function"==typeof e?function(t){e(t)}:function(t){y(t,0)},z=(window.Promise||((window.Promise=b).all=function(t){return new b(function(e,n){if(!t||void 0===t.length)return n(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return e([]);for(var o=i.length,r=0;r<i.length;r++)!function t(r,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,function(e){t(r,e)},n)}i[r]=s,0==--o&&e(i)}catch(s){n(s)}}(r,i[r])})},b.race=function(t){return new b(function(e,n){if(!t||void 0===t.length)return n(new TypeError("Promise.race accepts an array"));for(var i=0,o=t.length;i<o;i++)E(t[i]).then(e,n)})}
1,b.resolve=E,b.reject=function(t){return new b(function(e,n){n(t)})},S=document.createTextNode(""),P=[],new MutationObserver(function(){for(var t=P.length,e=0;e<t;e++)P[e]();P.splice(0,t)}).observe(S,{characterData:!0}),j=function(t){P.push(t),S.textContent=0<S.textContent.length?"":"a"}),Object),B="getOwnPropertySymbols";if(!(B in z)){var R=typeof t==typeof R?window:t,$=0,F=String(Math.random()),H="__�symbol@@"+F,Z=z.getOwnPropertyNames,U=z.getOwnPropertyDescriptor,q=z.create,W=z.keys,G=z.freeze||z,V=z.defineProperty,X=z.defineProperties,Y=U(z,"getOwnPropertyNames"),K=z.prototype,J=K.hasOwnProperty,Q=K.propertyIsEnumerable,tt=K.toString,et=function(t,e,n){J.call(t,H)||V(t,H,{enumerable:!1,configurable:!1,writable:!1,value:{}}),t[H]["@@"+e]=n},nt=function(){},it=function(t){return t!=H&&!J.call(lt,t)},ot=function(t){return t!=H&&J.call(lt,t)},rt=function(t){var e=String(t);return ot(e)?J.call(this,e)&&!!this[H]&&this[H]["@@"+e]:Q.call(this,t)},st=function(t){return V(K,t,{enumerable:!1,configurable:!0,get:nt,set:function(e){pt(this,t,{enumerable:!1,configurable:!0,writable:!0,value:e}),et(this,t,!0)}}),lt[t]=V(z(t),"constructor",ct),G(lt[t])},at=function t(e){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return st("__�symbol:".concat(e||"",F,++$))},lt=q(null),ct={value:at},ht=function(t){return lt[t]},ut=function(t,e,n){var i,o=String(e);return ot(o)?(e=pt,n.enumerable?(i=q(n)).enumerable=!1:i=n,e(t,o,i),et(t,o,!!n.enumerable)):V(t,e,n),t},dt=function(t){return Z(t).filter(ot).map(ht)};Y.value=ut,V(z,"defineProperty",Y),Y.value=dt,V(z,B,Y),Y.value=function(t){return Z(t).filter(it)},V(z,"getOwnPropertyNames",Y),Y.value=function(t,e){var n=dt(e);return n.length?W(e).concat(n).forEach(function(n){rt.call(e,n)&&ut(t,n,e[n])}):X(t,e),t},V(z,"defineProperties",Y),Y.value=rt,V(K,"propertyIsEnumerable",Y),Y.value=at,V(R,"Symbol",Y),Y.value=function(t){return(t="__�symbol:".concat("__�symbol:",t,F))in K?lt[t]:st(t)},V(at,"for",Y),Y.value=function(t){if(it(t))throw new TypeError(t+" is not a symbol");return J.call(lt,t)&&"__�symbol:"===(t=t.slice(10)).slice(0,10)&&(t=t.slice(10))!==F&&0<(t=t.slice(0,t.length-F.length)).length?t:void 0},V(at,"keyFor",Y),Y.value=function(t,e){var n=U(t,e);return n&&ot(e)&&(n.enumerable=rt.call(t,e)),n},V(z,"getOwnPropertyDescriptor",Y),Y.value=function(t,e){return 1===arguments.length||void 0===e?q(t):(n=e,i=q(t),Z(n).forEac
1h(function(t){rt.call(n,t)&&ut(i,t,n[t])}),i);var n,i},V(z,"create",Y),Y.value=function(){var t=tt.call(this);return"[object String]"===t&&ot(this)?"[object Symbol]":t},V(K,"toString",Y);try{if(!0!==q(V({},"__�symbol:",{get:function(){return V(this,"__�symbol:",{value:!0})["__�symbol:"]}}))["__�symbol:"])throw"IE11";var pt=V}catch(z){pt=function(t,e,n){var i=U(K,e);delete K[e],V(t,e,n),V(K,e,i)}}}function ft(){return this}M=Object,k=Symbol,O=M.defineProperty,A=M.prototype,D=A.toString,"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach(function(t){t in k||(O(k,t,{value:k(t)}),"toStringTag"===t&&((N=M.getOwnPropertyDescriptor(A,"toString")).value=function(){var t=D.call(this),e=null==this?this:this[k.toStringTag];return null==e?t:"[object "+e+"]"},O(A,"toString",N)))}),I=Symbol.iterator,R=Array.prototype,at=String.prototype,R[I]||(R[I]=function(){var t=0,e=this,n={next:function(){var n=e.length<=t;return n?{done:n}:{done:n,value:e[t++]}}};return n[I]=ft,n}),at[I]||(at[I]=function(){var t=String.fromCodePoint,e=this,n=0,i=e.length,o={next:function(){var o=i<=n,r=o?"":t(e.codePointAt(n));return n+=r.length,o?{done:o}:{done:o,value:r}}};return o[I]=ft,o});var mt,_t=Object.prototype.toString;(Y=(Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":_t.call(this)},Object.keys=function(t){return Object.getOwnPropertyNames(t).filter(function(e){return(e=Object.getOwnPropertyDescriptor(t,e))&&e.enumerable})},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function t(){var e,n=this;return g(t,function(t){if(1==t.g&&(e=0),3!=t.g)return e<n.length?f(t,n[e]):void(t.g=0);e++,t.g=2})}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function t(){var e,n,i=this;return g(t,function(t){if(1==t.g&&(e=[],i.forEach(function(t){e.push(t)}),n=0),3!=t.g)return n<e.length?f(t,e[n]):void(t.g=0);n++,t.g=2})}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function t(){var e,n,i=this;return g(t,function(t){if(1==t.g&&(e=[],i.forEach(function(t,n){e.push([n,t])}),n=0),3!=t.g)return n<e.length?f(t,e[n]):void(t.g=0);n++,t.g=2})}),document.createEvent("Event"))).initEvent("foo",!0,!0),Y.preventDefault(),Y.defaultPrevented||(mt=Event.prototype.preventDefault,Event.prototype.preventDefault=function(){this.cancelable&&(mt.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}),R=/Trident/.test(navigator.userAgent);if(!window.Event||R&&"function"!=typeof window.Event){var gt=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},gt){for(var yt in gt)window.Event[yt]=gt[yt];window.Event.prototype=gt.prototype}}if((!window.CustomEvent||R&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||R&&"function"!=typeof window.MouseEvent){var vt=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},vt)for(var bt in vt)window.MouseEvent[bt]=vt[bt];window.MouseEvent.prototype=vt.prototype}xt=wt=!1,R={get capture(){return wt=!0},get once(){return xt=!0}},Ct=0,(kt=document.createElement("div")).addEventListener("click",Ot,R),(Nt=wt&&xt)&&(kt.dispatchEvent(new Event("click")),kt.dispatchEvent(new Event("click")),Nt=1==Ct),kt.removeEventListener("click",Ot,R);var wt,xt,Ct,Tt,Lt,Et,St,Pt,Mt,kt=Nt,Nt=null!=(R=window.EventTarget)?R:window.Node;function Ot(){Ct++}!kt&&"addEventListener"in Nt.prototype&&(Tt=function(t){var e;return t=!t||"object"!=typeof t&&"function"!=typeof t?(e=!!t,!1):(e=!!t.capture,!!t.once),{capture:e,once:t}},Lt=Nt.prototype.addEventListener,Et=Nt.prototype.removeEventListener,St=new WeakMap,Pt=new WeakMap,Mt=function(t,e,n){var i=n?St:Pt;return void 0===(n=i.get(t))&&i.set(t,n=new Map),void 0===(t=n.get(e))&&n.set(e,t=new WeakMap),t},Nt.prototype.addEventListener=function(t,e,n){var i,o,r,s=this;null!=e&&(i=(n=Tt(n)).capture,n=n.once,(o=Mt(this,t,i)).has(e)||(r=n?function(n){return o.delete(e),Et.call(s,t,r,i),"function"==typeof e?e.call(s,n):"function"==typeof(null==e?void 0:e.handleEvent)?e.handleEvent(n):void 0}:null,o.set(e,r),Lt.call(this,t,null!=r?r:e,i)))},Nt.prototype.removeEventListener=function(t,e,n){var i,o;null!=e&&(n=Tt(n).capture,void 0!==(o=(i=Mt(this,t,n)).get(e)))&&(i.delete(e),Et.call(this,t,null!=o?o:e,n))}),Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var t=(this.ownerDocument||this).querySelector("base[href]");return t&&t.href||window.location.href},configurable:!0,enumerable:!0});R=Element.prototype,Nt=null!=(kt=Object.getOwnPropertyDescriptor(R,"attributes"))?kt:Object.getOwnPropertyDescriptor(Node.prototype,"attributes");var At=null!=(kt=null==Nt?void 0:Nt.get)?kt:function(){return this.attributes},Dt=Array.prototype.map;R.hasOwnProperty("getAttributeNames")||(R.getAttributeNames=function(){return Dt.call(At.call(this),function(t){return t.name})});var It=((Nt=Element.prototype).hasOwnProperty("matches")||(Nt.matches=null!=(kt=Nt.webkitMatchesSelector)?kt:Nt.msMatchesSelector),Node.prototype.appendChild);function jt(t){(t=t.prototype).hasOwnProperty("append")||Object.defineProperty(t,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(n=(e=a(e)).next();!n.done;n=e.next())n=n.value,It.call(this,"string"==typeof n?document.createTextNode(n):n)}})}jt(Document),jt(DocumentFragment),jt(Element);var zt=Node.prototype.insertBefore,Bt=null!=(kt=null==(R=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))?void 0:R.get)?kt:function(){return this.firstChild};function Rt(t){(t=t.prototype).hasOwnProperty("prepend")||Object.defineProperty(t,"prepe
1nd",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];n=Bt.call(this);for(var i=(e=a(e)).next();!i.done;i=e.next())i=i.value,zt.call(this,"string"==typeof i?document.createTextNode(i):i,n)}})}Rt(Document),Rt(DocumentFragment),Rt(Element);var $t=Node.prototype.appendChild,Ft=Node.prototype.removeChild,Ht=null!=(R=null==(Nt=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))?void 0:Nt.get)?R:function(){return this.firstChild};function Zt(t){(t=t.prototype).hasOwnProperty("replaceChildren")||Object.defineProperty(t,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=Ht.call(this));)Ft.call(this,n);for(n=(e=a(e)).next();!n.done;n=e.next())n=n.value,$t.call(this,"string"==typeof n?document.createTextNode(n):n)}})}Zt(Document),Zt(DocumentFragment),Zt(Element);var Ut=Node.prototype.insertBefore,qt=null!=(Nt=null==(kt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:kt.get)?Nt:function(){return this.parentNode},Wt=null!=(kt=null==(R=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))?void 0:R.get)?kt:function(){return this.nextSibling};function Gt(t){(t=t.prototype).hasOwnProperty("after")||Object.defineProperty(t,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=qt.call(this)))for(var i=Wt.call(this),o=(e=a(e)).next();!o.done;o=e.next())o=o.value,Ut.call(n,"string"==typeof o?document.createTextNode(o):o,i)}})}Gt(CharacterData),Gt(Element);var Vt=Node.prototype.insertBefore,Xt=null!=(R=null==(Nt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:Nt.get)?R:function(){return this.parentNode};function Yt(t){(t=t.prototype).hasOwnProperty("before")||Object.defineProperty(t,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Xt.call(this)))for(var i=(e=a(e)).next();!i.done;i=e.next())i=i.value,Vt.call(n,"string"==typeof i?document.createTextNode(i):i,this)}})}Yt(CharacterData),Yt(Element);var Kt=Node.prototype.removeChild,Jt=null!=(Nt=null==(kt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:kt.get)?Nt:function(){return this.parentNode};function Qt(t){(t=t.prototype).hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=Jt.call(this);t&&Kt.call(t,this)}})}Qt(CharacterData),Qt(Element);var te=Node.prototype.insertBefore,ee=Node.prototype.removeChild,ne=null!=(kt=null==(R=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:R.get)?kt:function(){return this.parentNode};function ie(t){(t=t.prototype).hasOwnProperty("replaceWith")||Object.defineProperty(t,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=ne.call(this))){for(var i=(e=a(e)).next();!i.done;i=e.next())i=i.value,te.call(n,"string"==typeof i?document.createTextNode(i):i,this);ee.call(n,this)}}})}ie(CharacterData),ie(Element);Nt=window.Element.prototype,R=window.HTMLElement.prototype,kt=window.SVGElement.prototype,!R.hasOwnProperty("classList")||Nt.hasOwnProperty("classList")||kt.hasOwnProperty("classList")||Object.defineProperty(Nt,"classList",Object.getOwnPropertyDescriptor(R,"classList")),kt=Element.prototype;var oe,re,se,ae,le,ce,he,ue,de,pe,fe,me,_e,ge,ye,ve,be,we,xe,Ce,Te,Le,Ee,Se,Pe,Me,ke,Ne,Oe,Ae,De,Ie,je,ze,Be,Re,$e=Element.prototype.hasAttribute,Fe=Element.prototype.setAttribute,He=Element.prototype.removeAttribute,Ze=(Nt=(kt.hasOwnProperty("toggleAttribute")||(kt.toggleAttribute=function(t,e){return void 0===e?$e.call(this,t)?(He.call(this,t),!1):(Fe.call(this,t,""),!0):e?($e.call(this,t)||Fe.call(this,t,""),!0):(He.call(this,t),!1)}),document.createElement("style")),(kt=((R=(Nt.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n",document.querySelector("head"))).insertBefore(Nt,R.firstChild),window)).WebComponents=kt.WebComponents||{flags:{}},document.querySelector('script[src*="webcomponents-bundle"]')),Ue=/wc-(.+)/,qe={};if(!qe.noOpts){if(location.search.slice(1).split("&").forEach(function(t){var e;(t=t.split("="))[0]&&(e=t[0].match(Ue))&&(qe[e[1]]=t[1]||!0)}),Ze)for(var We,Ge=0;We=Ze.attributes[Ge];Ge++)"src"!==We.name&&(qe[We.name]=We.value||!0);var Ve={};qe.log&&qe.log.split&&qe.log.split(",").forEach(function(t){Ve[t]=!0}),qe.log=Ve}function Xe(){}function Ye(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return Be.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return Re.call(t,e);default:return ze.call(t,e)}}function Ke(t,e){if(t instanceof DocumentFragment)for(var n;n=t.firstChild;)re.call(this,n,e);else re.call(this,t,e);return t}function Je(){}function Qe(t){return t.__shady||(t.__shady=new Je),t.__shady}function tn(t){return t&&t.__shady}(Nt=((Nt=(kt.WebComponents.flags=qe).shadydom)&&(kt.ShadyDOM=kt.ShadyDOM||{},kt.ShadyDOM.force=Nt,kt.ShadyDOM.noPatch="true"===(R=qe.noPatch)||R),qe.register||qe.ce))&&window.customElements&&(kt.customElements.forcePolyfill=Nt),he="undefined"==typeof HTMLTemplateElement,ue=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),de=!1,/Trident/.test(navigator.userAgent)&&(de=!0,oe=Node.prototype.cloneNode,Node.prototype.cloneNode=function(t){return t=oe.call(this,t),this instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE}
1,configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}}),re=Node.prototype.insertBefore,Node.prototype.insertBefore=Ke,se=Node.prototype.appendChild,Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?Ke.call(this,t,null):se.call(this,t),t},ae=Node.prototype.removeChild,le=Node.prototype.replaceChild,Node.prototype.replaceChild=function(t,e){return t instanceof DocumentFragment?(Ke.call(this,t,e),ae.call(this,e)):le.call(this,t,e),e},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t},ce=Document.prototype.importNode,Document.prototype.importNode=function(t,e){return e=ce.call(this,t,e||!1),t instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e}),Pe=Node.prototype.cloneNode,Me=Document.prototype.createElement,ke=Document.prototype.importNode,Ne=Node.prototype.removeChild,Oe=Node.prototype.appendChild,Ae=Node.prototype.replaceChild,De=DOMParser.prototype.parseFromString,Ie=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},je=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},ze=Element.prototype.querySelectorAll,Be=Document.prototype.querySelectorAll,Re=DocumentFragment.prototype.querySelectorAll,R=function(){var t,e;if(!he)return t=document.createElement("template"),(e=document.createElement("template")).content.appendChild(document.createElement("div")),t.content.appendChild(e),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||ue}(),he&&(pe=document.implementation.createHTMLDocument("template"),fe=!0,(kt=document.createElement("style")).textContent="template{display:none;}",(Nt=document.head).insertBefore(kt,Nt.firstElementChild),Xe.prototype=Object.create(HTMLElement.prototype),me=!document.createElement("div").hasOwnProperty("innerHTML"),Xe.Z=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){t.content=pe.createDocumentFragment();for(var e;e=t.firstChild;)Oe.call(t.content,e);if(me)t.__proto__=Xe.prototype;else if(t.cloneNode=function(t){return Xe.va(this,t)},fe)try{ge(t),ye(t)}catch(t){fe=!1}Xe.bootstrap(t.content)}},_e={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},ye=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(pe.body.innerHTML=t,t=this.ownerDocument.createDocumentFragment();pe.body.firstChild;)Oe.call(t,pe.body.firstChild);Ae.call(this.parentNode,t,this)},configurable:!0})},(ge=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return Te(this)},set:function(t){var e=_e[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()];if(e)for(var n=0;n<e.length;n++)t="<"+e[n]+">"+t+"</"+e[n]+">";for(pe.body.innerHTML=t,Xe.bootstrap(pe);this.content.firstChild;)Ne.call(this.content,this.content.firstChild);if(t=pe.body,e)for(n=0;n<e.length;n++)t=t.lastChild;for(;t.firstChild;)Oe.call(this.content,t.firstChild)},configurable:!0})})(Xe.prototype),ye(Xe.prototype),Xe.bootstrap=function(t){for(var e,n=0,i=(t=Ye(t,"template")).length;n<i&&(e=t[n]);n++)Xe.Z(e)},document.addEventListener("DOMContentLoaded",function(){Xe.bootstrap(document)}),Document.prototype.createElement=function(){var t=Me.apply(this,arguments);return"template"===t.localName&&Xe.Z(t),t},DOMParser.prototype.parseFromString=function(){var t=De.apply(this,arguments);return Xe.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return Te(this)},set:function(t){Ie.set.call(this,t),Xe.bootstrap(this)},configurable:!0,enumerable:!0}),ve=/[&\u00A0"]/g,be=/[&\u00A0<>]/g,we=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";
vendor: 5,578 bytes, line 1
1case'"':return""";case"Â ":return" "}},xe=(kt=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ce=kt("style script xmp iframe noembed noframes plaintext noscript".split(" ")),Te=function(t,e){"template"===t.localName&&(t=t.content);for(var n,i="",o=e?e(t):je.get.call(t),r=0,s=o.length;r<s&&(n=o[r]);r++){t:{var a=n,l=t,c=e;switch(a.nodeType){case Node.ELEMENT_NODE:for(var h=a.localName,u="<"+h,d=a.attributes,p=0;l=d[p];p++)u+=" "+l.name+'="'+l.value.replace(ve,we)+'"';u+=">",a=xe[h]?u:u+Te(a,c)+"</"+h+">";break t;case Node.TEXT_NODE:a=a.data,a=l&&Ce[l.localName]?a:a.replace(be,we);break t;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break t;default:throw window.console.error(a),Error("not implemented")}}i+=a}return i}),(he||R)&&(Xe.va=function(t,e){var n=Pe.call(t,!1);return this.Z&&this.Z(n),e&&(Oe.call(n.content,Pe.call(t.content,!0)),Le(n.content,t.content)),n},Le=function(t,e){if(e.querySelectorAll&&0!==(e=Ye(e,"template")).length)for(var n,i,o=0,r=(t=Ye(t,"template")).length;o<r;o++)i=e[o],n=t[o],Xe.Z&&Xe.Z(i),Ae.call(n.parentNode,Ee.call(i,!0),n)},Ee=Node.prototype.cloneNode=function(t){if(!de&&ue&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();var e=Se.call(this.ownerDocument,this,!0)}else e=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?Xe.va(this,t):Pe.call(this,t);return t&&Le(e,this),e},Se=Document.prototype.importNode=function(t,e){if(e=e||!1,"template"===t.localName)return Xe.va(t,e);var n=ke.call(this,t,e);if(e){Le(n,t),t=Ye(n,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var i,o=0;o<t.length;o++){i=t[o],(e=Me.call(document,"script")).textContent=i.textContent;for(var r,s=i.attributes,a=0;a<s.length;a++)r=s[a],e.setAttribute(r.name,r.value);Ae.call(i.parentNode,e,i)}}return n}),he&&(window.HTMLTemplateElement=Xe),Je.prototype.toJSON=function(){return{}};var en=window.ShadyDOM||{};en.cb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode),Nt=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"),en.D=!!(Nt&&Nt.configurable&&Nt.get),en.Ba=en.force||!en.cb,en.J=en.noPatch||!1,en.ha=en.preferPerformance,en.Da="on-demand"===en.J,kt=en.querySelectorImplementation;function nn(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function on(t){return(t=tn(t))&&void 0!==t.firstChild}function rn(t){return t instanceof ShadowRoot}function sn(t){return(t=(t=tn(t))&&t.root)&&Fo(t)}R=-1<["native","selectorEngine"].indexOf(kt)?kt:void 0,en.wb=R,en.Ra=navigator.userAgent.match("Trident");var an=(Nt=Element.prototype).matches||Nt.matchesSelector||Nt.mozMatchesSelector||Nt.msMatchesSelector||Nt.oMatchesSelector||Nt.webkitMatchesSelector,ln=document.createTextNode(""),cn=0,hn=[];function un(t){hn.push(t),ln.textContent=cn++}new MutationObserver(function(){for(;hn.length;)try{hn.shift()()}catch(t){throw ln.textContent=cn++,t}}).observe(ln,{characterData:!0});var dn=document.contains?function(t,e){return t.__shady_native_contains(e)}:function(t,e){return t===e||t.documentElement&&t.documentElement.__shady_native_contains(e)};function pn(t,e){for(;e;){if(e==t)return!0;e=e.__shady_parentNode}return!1}function fn(t){for(var e=t.length-1;0<=e;e--){var n=t[e],i=n.getAttribute("id")||n.getAttribute("name");i&&"length"!==i&&isNaN(i)&&(t[i]=n)}return t.item=function(e){return t[e]},t.namedItem=function(e){if("length"!==e&&isNaN(e)&&t[e])return t[e];for(var n=a(t),i=n.next();!i.done;i=n.next())if(((i=i.value).getAttribute("id")||i.getAttribute("name"))==e)return i;return null},t}function mn(t){var e=[];for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)e.push(t);return e}function _n(t){var e=[];for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e.push(t);return e}function gn(t,e,n){if(n.configurable=!0,n.value)t[e]=n.value;else try{Object.defineProperty(t,e,n)}catch(t){}}function yn(t,e,n,i){for(var o in n=void 0===n?"":n,e)i&&0<=i.indexOf(o)||gn(t,n+o,e[o])}function vn(t,e){for(var n in e)n in t&&gn(t,n,e[n])}function bn(t){var e={};return Object.getOwnPropertyNames(t).forEach(function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)}),e}function wn(t,e){for(var n,i=Object.getOwnPropertyNames(e),o=0;o<i.length;o++)t[n=i[o]]=e[n]}function xn(t){return t instanceof Node?t:document.createTextNode(""+t)}function Cn(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(1===e.length)return xn(e[0]);n=document.createDocumentFragment();for(var i=(e=a(e)).next();!i.done;i=e.next())n.appendChild(xn(i.value));return n}function Tn(t){for(var e=void 0===e?1:e;0<e;e--)t=t.reduce(function(t,e){return Array.isArray(e)?t.push.apply(t,l(e)):t.push(e),t},[]);return t}var Ln,En=[];function Sn(t){Ln||(Ln=!0,un(Pn)),En.push(t)}function Pn(){Ln=!1;for(var t=!!En.length;En.length;)En.shift()();return t}function Mn(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.qa=new Set}Pn.list=En,Mn.prototype.flush=function(){var t;this.g&&(this.g=!1,(t=this.takeRecords()).length)&&this.qa.forEach(function(e){e(t)})},Mn.prototype.takeRecords=function(){var t;return this.addedNodes.length||this.removedNodes.length?(t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}],this.addedNodes=[],this.removedNodes=[],t):[]};var kn=/[&\u00A0"]/g,Nn=/[&\u00A0<>]/g;function On(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";
vendor: 4,728 bytes, line 1
1case'"':return""";case"Â ":return" "}}function An(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}var Dn=An("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),In=An("style script xmp iframe noembed noframes plaintext noscript".split(" "));function jn(t,e){"template"===t.localName&&(t=t.content);for(var n="",i=e?e(t):t.childNodes,o=0,r=i.length,s=void 0;o<r&&(s=i[o]);o++){t:{var a=s,l=t,c=e;switch(a.nodeType){case Node.ELEMENT_NODE:for(var h,u="<"+(l=a.localName),d=a.attributes,p=0;h=d[p];p++)u+=" "+h.name+'="'+h.value.replace(kn,On)+'"';u+=">",a=Dn[l]?u:u+jn(a,c)+"</"+l+">";break t;case Node.TEXT_NODE:a=a.data,a=l&&In[l.localName]?a:a.replace(Nn,On);break t;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break t;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}kt=en.D;var zn={querySelector:function(t){return this.__shady_native_querySelector(t)},querySelectorAll:function(t){return this.__shady_native_querySelectorAll(t)}},Bn={};function Rn(t){Bn[t]=function(e){return e["__shady_native_"+t]}}function $n(t,e){for(var n in yn(t,e,"__shady_native_"),e)Rn(n)}function Fn(t,e){e=void 0===e?[]:e;for(var n=0;n<e.length;n++){var i=e[n],o=Object.getOwnPropertyDescriptor(t,i);o&&(Object.defineProperty(t,"__shady_native_"+i,o),o.value?zn[i]||(zn[i]=o.value):Rn(i))}}var Hn=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Zn=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Un=document.implementation.createHTMLDocument("inert");function qn(t){for(var e;e=t.__shady_native_firstChild;)t.__shady_native_removeChild(e)}R=["firstElementChild","lastElementChild","children","childElementCount"],Nt=["querySelector","querySelectorAll","append","prepend","replaceChildren"];var Wn=bn({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),Gn=bn({get textContent(){return this.__shady_textContent},set textContent(t){this.__shady_textContent=t},get innerHTML(){return this.__shady_innerHTML},set innerHTML(t){this.__shady_innerHTML=t}}),Vn=bn({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(t){this.__shady_className=t}});function Xn(t){for(var e in t)(e=t[e])&&(e.enumerable=!1)}Xn(Wn),Xn(Gn),Xn(Vn);var Yn,Kn,Jn=(hi=en.D||!0===en.J)?function(){}:function(t){var e=Qe(t);e.Ta||(e.Ta=!0,vn(t,Vn))},Qn=hi?function(){}:function(t){var e=Qe(t);e.Sa||(e.Sa=!0,vn(t,Wn),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!en.J)||vn(t,Gn)},ti="__eventWrappers"+Date.now(),ei=(Kn=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(t){return Kn.get.call(t)}:null,ni=(Yn=!1,hi={get capture(){return!(Yn=!0)}},window.addEventListener("test",ii,hi),window.removeEventListener("test",ii,hi),Yn);function ii(){}function oi(t){var e,n,i;return null===t||"object"!=typeof t&&"function"!=typeof t?(e=!!t,n=!1):(e=!!t.capture,n=!!t.once,i=t.U),{Pa:i,capture:e,once:n,Na:ni?t:e}}var ri={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},si={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function ai(t){return t instanceof Node?t.__shady_getRootNode():t}function li(t,e){var n=[],i=t;for(t=ai(t);i;)n.push(i),i=i.__shady_assignedSlot||(i.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&i.host&&(e||i!==t)?
vendor: 4,741 bytes, line 1
1i.host:i.__shady_parentNode);return n[n.length-1]===document&&n.push(window),n}function ci(t,e){t=li(t,!0);for(var n,i,o=0,r=void 0,s=void 0;o<e.length;o++)if((i=ai(n=e[o]))!==r&&(s=t.indexOf(i),r=i),!rn(i)||-1<s)return n}var hi={get composed(){return void 0===this.__composed&&(ei?this.__composed="focusin"===this.type||"focusout"===this.type||ei(this):!1!==this.isTrusted&&(this.__composed=ri[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=li(this.__target,this.composed)),this.__composedPath},get target(){return ci(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=li(this.__relatedTarget,!0)),ci(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ua=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ua=this.__immediatePropagationStopped=!0}};function ui(t){function e(e,n){return(e=new t(e,n)).__composed=n&&!!n.composed,e}return e.__proto__=t,e.prototype=t.prototype,e}(Ci=en.D&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase"))&&(Object.defineProperty(hi,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(hi,"__shady_native_eventPhase",Ci));var di={focus:!0,blur:!0};function pi(t){return t.__target!==t.target||t.__relatedTarget!==t.relatedTarget}function fi(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var i,o=0;(i=n[o])&&(!pi(t)||t.target!==t.relatedTarget)&&(i.call(e,t),!t.__immediatePropagationStopped);o++);}var mi=new Event("e").hasOwnProperty("currentTarget");function _i(t){var e=(t=mi?Object.create(t):t).composedPath(),n=e.map(function(t){return ci(t,e)}),i=t.bubbles,o=Object.getOwnPropertyDescriptor(t,"currentTarget"),r=(Object.defineProperty(t,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return l}}),Event.CAPTURING_PHASE),s=Object.getOwnPropertyDescriptor(t,"eventPhase");Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return r}});try{for(var a=e.length-1;0<=a;a--){var l=e[a];r=l===n[a]?Event.AT_TARGET:Event.CAPTURING_PHASE;if(fi(t,l,"capture"),t.ua)return}for(a=0;a<e.length;a++){var c=(l=e[a])===n[a];if((c||i)&&(r=c?Event.AT_TARGET:Event.BUBBLING_PHASE,fi(t,l,"bubble"),t.ua))break}}finally{mi||(o?Object.defineProperty(t,"currentTarget",o):delete t.currentTarget,s?Object.defineProperty(t,"eventPhase",s):delete t.eventPhase)}}function gi(t,e,n,i){for(var o=0;o<t.length;o++){var r=t[o],s=r.type,a=r.capture;if(e===r.node&&n===s&&i===a)return o}return-1}function yi(t){return Pn(),!en.ha&&this instanceof Node&&!dn(document,this)?(t.__target||xi(t,this),_i(t)):this.__shady_native_dispatchEvent(t)}function vi(t,e,n){var i=this,o=(a=oi(n)).capture,r=a.once,s=a.Pa,a=a.Na;if(e){var l=typeof e;if(("function"===l||"object"===l)&&("object"!==l||e.handleEvent&&"function"==typeof e.handleEvent)){if(si[t])return this.__shady_native_addEventListener(t,e,a);var c=s||this;if(s=e[ti]){if(-1<gi(s,c,t,o))return}else e[ti]=[];e[ti].push({node:c,type:t,capture:o,ub:s=function(s){var a,h,u;if(r&&i.__shady_removeEventListener(t,e,n),s.__target||xi(s),c!==i&&(a=Object.getOwnPropertyDescriptor(s,"currentTarget"),Object.defineProperty(s,"currentTarget",{get:function(){return c},configurable:!0}),h=Object.getOwnPropertyDescriptor(s,"eventPhase"),Object.defineProperty(s,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})),s.__previousCurrentTarget=s.currentTarget,(!rn(c)&&"slot"!==c.localName||-1!=s.composedPath().indexOf(c))&&(s.composed||-1<s.composedPath().indexOf(c)))if(pi(s)&&s.target===s.relatedTarget)s.eventPhase===Event.BUBBLING_PHASE&&s.stopImmediatePropagation();else if(s.eventPhase===Event.CAPTURING_PHASE||s.bubbles||s.target===c||c instanceof Window)return u="function"===l?e.call(c,s):e.handleEvent&&e.handleEvent(s),c!==i&&(a?(Object.defineProperty(s,"currentTarget",a),a=null):delete s.currentTarget,h?(Object.defineProperty(s,"eventPhase",h),h=null):delete s.eventPhase),u}}),this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][o?"capture":"bubble"].push(s),di[t]||this.__shady_native_addEventListener(t,s,a)}}}function bi(t,e,n){if(e){n=(o=oi(n)).capture;var i=o.Pa,o=o.Na;if(si[t])return this.__shady_native_removeEventListener(t,e,o);var r=i||this,s=(i=void 0,null);try{s=e[ti]}catch(t){}
1s&&-1<(r=gi(s,r,t,n))&&(i=s.splice(r,1)[0].ub,s.length||(e[ti]=void 0)),this.__shady_native_removeEventListener(t,i||e,o),i&&this.__handlers&&this.__handlers[t]&&-1<(e=(t=this.__handlers[t][n?"capture":"bubble"]).indexOf(i))&&t.splice(e,1)}}var wi=bn(hi);function xi(t,e){var n;e=void 0===e?t.target:e,t.__target=e,t.__relatedTarget=t.relatedTarget,en.D?((e=Object.getPrototypeOf(t)).hasOwnProperty("__shady_patchedProto")||((n=Object.create(e)).__shady_sourceProto=e,yn(n,wi),e.__shady_patchedProto=n),t.__proto__=e.__shady_patchedProto):yn(t,wi)}var Ci=ui(Event),Ti=(hi=ui(CustomEvent),ui(MouseEvent)),Li=Object.getOwnPropertyNames(Element.prototype).filter(function(t){return"on"===t.substring(0,2)}),Ei=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(t){return"on"===t.substring(0,2)});function Si(t){return{set:function(e){var n=Qe(this),i=t.substring(2);n.T||(n.T={}),n.T[t]&&this.removeEventListener(i,n.T[t]),this.__shady_addEventListener(i,e),n.T[t]=e},get:function(){var e=tn(this);return e&&e.T&&e.T[t]},configurable:!0}}function Pi(t,e){return{index:t,ia:[],pa:e}}var Mi=bn({dispatchEvent:yi,addEventListener:vi,removeEventListener:bi}),ki=null;function Ni(){return(ki=ki||window.ShadyCSS&&window.ShadyCSS.ScopingShim)||null}function Oi(t,e,n){var i=Ni();return i&&"class"===e&&(i.setElementClass(t,n),1)}function Ai(t,e){var n=Ni();n&&n.unscopeNode(t,e)}function Di(t){var e;return t.nodeType===Node.ELEMENT_NODE&&(e=Ni())?e.currentScopeForNode(t):""}function Ii(t,e){if(t)for(t.nodeType===Node.ELEMENT_NODE&&e(t),t=t.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType===Node.ELEMENT_NODE&&Ii(t,e)}var ji=window.document,zi=en.ha,Bi=(Hi=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"))&&Hi.get;function Ri(t){for(var e;e=t.__shady_firstChild;)t.__shady_removeChild(e)}function $i(t,e,n){if(t=(t=tn(t))&&t.ga){if(e)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var i=0,o=e.childNodes.length;i<o;i++)t.addedNodes.push(e.childNodes[i]);else t.addedNodes.push(e);n&&t.removedNodes.push(n),(r=t).g||(r.g=!0,un(function(){r.flush()}))}var r}var Fi=bn({get parentNode(){var t=tn(this);return void 0!==(t=t&&t.parentNode)?t:this.__shady_native_parentNode},get firstChild(){var t=tn(this);return void 0!==(t=t&&t.firstChild)?t:this.__shady_native_firstChild},get lastChild(){var t=tn(this);return void 0!==(t=t&&t.lastChild)?t:this.__shady_native_lastChild},get nextSibling(){var t=tn(this);return void 0!==(t=t&&t.nextSibling)?t:this.__shady_native_nextSibling},get previousSibling(){var t=tn(this);return void 0!==(t=t&&t.previousSibling)?t:this.__shady_native_previousSibling},get childNodes(){if(on(this)){var t=tn(this);if(!t.childNodes){t.childNodes=[];for(var e=this.__shady_firstChild;e;e=e.__shady_nextSibling)t.childNodes.push(e)}var n=t.childNodes}else n=this.__shady_native_childNodes;return n.item=function(t){return n[t]},n},get parentElement(){var t=tn(this);return void 0!==(t=(t=t&&t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE?null:t)?t:this.__shady_native_parentElement},get isConnected(){if(Bi&&Bi.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var t=this.ownerDocument;if(null===t||dn(t,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.__shady_parentNode||(rn(t)?t.host:void 0);return!!(t&&t instanceof Document)},get textContent(){if(on(this)){for(var t=[],e=this.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.__shady_textContent);return t.join("")}return this.__shady_native_textContent},set textContent(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:var e;!on(this)&&en.D?(((e=this.__shady_firstChild)!=this.__shady_lastChild||e&&e.nodeType!=Node.TEXT_NODE)&&Ri(this),this.__shady_native_textContent=t):(Ri(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(t)));break;default:this.nodeValue=t}},insertBefore:function(t,e){if(this.ownerDocument!==ji&&t.ownerDocument!==ji)this.__shady_native_insertBefore(t,e);else{if(t===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(e){var n=tn(e);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&e.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(e!==t){$i(this,t);var i,o,r=[],s=(n=Ho(this))?n.host.localName:Di(this),a=t.__shady_parentNode,c=(a&&(i=Di(t),o=!!n||!Ho(t)||zi&&void 0!==this.__noInsertionPoint,a.__shady_removeChild(t,o)),a=!0,(!zi||void 0===t.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function t(e,n){var i=Ni();if(!i)return!0;
1if(e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)return e.nodeType!==Node.ELEMENT_NODE||i.currentScopeForNode(e)===n;for(i=!0,e=e.__shady_firstChild;e;e=e.__shady_nextSibling)i=i&&t(e,n);return i}(t,s)),h=n&&!t.__noInsertionPoint&&(!zi||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE);if((h||c)&&(c&&(i=i||Di(t)),Ii(t,function(t){var e;h&&"slot"===t.localName&&r.push(t),c&&(e=i,Ni())&&(e&&Ai(t,e),e=Ni())&&e.scopeNode(t,s)})),r.length&&(zo(n),n.i.push.apply(n.i,l(r)),Do(n)),on(this)){var u=t,d=this,p=e;vo(d,2);var f=Qe(d);if(void 0!==f.firstChild&&(f.childNodes=null),u.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(u=u.__shady_native_firstChild;u;u=u.__shady_native_nextSibling)bo(u,d,f,p);else bo(u,d,f,p);(o=tn(this)).root?(a=!1,sn(this)&&Do(o.root)):n&&"slot"===this.localName&&(a=!1,Do(n))}a?(n=rn(this)?this.host:this,e?(e=function t(e){var n,i=e;return e&&"slot"===e.localName&&(n=(n=tn(e))&&n.aa)?n.length?n[0]:t(e.__shady_nextSibling):i}(e),n.__shady_native_insertBefore(t,e)):n.__shady_native_appendChild(t)):t.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(t)}}return t},appendChild:function(t){if(this!=t||!rn(t))return this.__shady_insertBefore(t)},removeChild:function(t,e){if(e=void 0!==e&&e,this.ownerDocument!==ji)return this.__shady_native_removeChild(t);if(t.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+t);$i(this,null,t);var n,i,o,r,s,a,l=Ho(t),c=l&&function(t,e){if(t.g){Bo(t);var n,i=t.h;for(n in i)for(var o=i[n],r=0;r<o.length;r++){var s=o[r];if(pn(e,s)){o.splice(r,1);var a=t.g.indexOf(s);if(0<=a&&(t.g.splice(a,1),a=tn(s.__shady_parentNode))&&a.ka&&a.ka--,r--,a=(s=tn(s)).aa)for(var l=0;l<a.length;l++){var c=a[l],h=c.__shady_native_parentNode;h&&h.__shady_native_removeChild(c)}s.aa=[],s.assignedNodes=[],a=!0}}return a}}(l,t),h=tn(this);return on(this)&&(o=this,r=Qe(i=t),i===(o=Qe(o)).firstChild&&(o.firstChild=r.nextSibling),i===o.lastChild&&(o.lastChild=r.previousSibling),i=r.previousSibling,s=r.nextSibling,i&&(Qe(i).nextSibling=s),s&&(Qe(s).previousSibling=i),(r.parentNode=r.previousSibling=r.nextSibling=void 0)!==o.childNodes&&(o.childNodes=null),sn(this))&&(Do(h.root),n=!0),Ni()&&!e&&l&&t.nodeType!==Node.TEXT_NODE&&(a=Di(t),Ii(t,function(t){Ai(t,a)})),function t(e){var n=tn(e);if(n&&void 0!==n.ta)for(n=e.__shady_firstChild;n;n=n.__shady_nextSibling)t(n);(e=tn(e))&&(e.ta=void 0)}(t),l&&((e="slot"===this.localName)&&(n=!0),c||e)&&Do(l),!n&&(n=rn(this)?this.host:this,!h.root&&"slot"!==t.localName||n===t.__shady_native_parentNode)&&n.__shady_native_removeChild(t),t},replaceChild:function(t,e){return this.__shady_insertBefore(t,e),this.__shady_removeChild(e),t},cloneNode:function(t){if("template"==this.localName)return this.__shady_native_cloneNode(t);var e,n=this.__shady_native_cloneNode(!1);if(t&&n.nodeType!==Node.ATTRIBUTE_NODE)for(t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e=t.__shady_cloneNode(!0),n.__shady_appendChild(e);return n},getRootNode:function(t){var e,n;if(this&&this.nodeType)return void 0===(n=(e=Qe(this)).ta)&&(rn(this)?e.ta=n=this:(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(t):this,document.documentElement.__shady_native_contains(this)&&(e.ta=n))),n},contains:function(t){return pn(this,t)}}),Hi=bn({get assignedSlot(){var t=this.__shady_parentNode;return(t=t&&t.__shady_shadowRoot)&&Io(t),(t=tn(this))&&t.assignedSlot||null}}),Zi=new Map;function Ui(t,e,n){var i=[];return function t(e,n,i,o){for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling){var r,s,a,l,c;if((r=e.nodeType===Node.ELEMENT_NODE)&&(a=i,l=o,(c=(s=n)(r=e))&&l.push(r),r=a&&a(c)?c:void t(r,s,a,l)),r)break}}(t,e,n,i),i}[["(",{end:")",sa:!0}],["[",{end:"]",sa:!0}],['"',{end:'"',sa:!1}],["'",{end:"'",sa:!1}]].forEach(function(t){var e=a(t);t=e.next().value,e=e.next().value,Zi.set(t,e)});var qi=bn(((Vi={get firstElementChild(){var t=tn(this);if(t&&void 0!==t.firstChild){for(t=this.__shady_firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_firstElementChild},get lastElementChild(){var t=tn(this);if(t&&void 0!==t.lastChild){for(t=this.__shady_lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_lastElementChild},get children(){return on(this)?fn(Array.prototype.filter.call(_n(this),function(t){return t.nodeType===Node.ELEMENT_NODE}
1)):this.__shady_native_children},get childElementCount(){var t=this.__shady_children;return t?t.length:0}}).append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(Cn.apply(null,l(e)),null)},Vi.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(Cn.apply(null,l(e)),this.__shady_firstChild)},Vi.replaceChildren=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(Cn.apply(null,l(e)),null)},Vi));function Wi(t,e){function n(e,n){return(e===t||-1===n.indexOf(":scope"))&&an.call(e,n)}var i=function(t){function e(){if(0<i.length){for(;" "===i[i.length-1];)i.pop();n.push({La:i.filter(function(t,e){return 0==e%2}),Za:i.filter(function(t,e){return 1==e%2})}),i.length=0}}for(var n=[],i=[],o=0;o<t.length;){var r=i[i.length-1],s=function t(e,n,i,o){for(o=void 0===o||o;n<e.length;n++)if("\\"===e[n]&&n<e.length-1&&"\n"!==e[n+1])n++;else{if(-1!==i.indexOf(e[n]))return n;var r;o&&Zi.has(e[n])&&(n=t(e,n+1,[(r=Zi.get(e[n])).end],r.sa))}return e.length}(t,o,[","," ",">","+","~"]),a=s===o?t[o]:t.substring(o,s);","===a?e():-1!==[void 0," ",">","+","~"].indexOf(r)&&" "===a||(" "===r&&-1!==[">","+","~"].indexOf(a)?i[i.length-1]=a:i.push(a)),o=s+(s===o?1:0)}return e(),n}(e);if(i.length<1)return[];for(e=Tn(Ui(t,function(){return!0}).map(function(t){return Tn(i.map(function(e){var i=e.La,o=i.length-1;return n(t,i[o])?{target:t,da:e,fa:t,index:o}:[]}))}));e.some(function(t){return 0<t.index});)e=Tn(e.map(function(t){if(t.index<=0)return t;var e=t.target,i=t.fa,o=t.da,r=(t=t.index-1,o.Za[t]),s=o.La[t];if(" "===r)for(r=[],i=i.__shady_parentElement;i;i=i.__shady_parentElement)n(i,s)&&r.push({target:e,da:o,fa:i,index:t});else{if(">"===r)return n(i=i.__shady_parentElement,s)?{target:e,da:o,fa:i,index:t}:[];if("+"===r)return(i=i.__shady_previousElementSibling)&&n(i,s)?{target:e,da:o,fa:i,index:t}:[];if("~"!==r)throw Error("Unrecognized combinator: '"+r+"'.");for(r=[],i=i.__shady_previousElementSibling;i;i=i.__shady_previousElementSibling)n(i,s)&&r.push({target:e,da:o,fa:i,index:t})}return r}));for(var o=e.map(function(t){return t.target}),r=[],s=new Set,l=(o=a(o)).next();!l.done;l=o.next())l=l.value,s.has(l)||(r.push(l),s.add(l));return r}var Gi=en.querySelectorImplementation,Vi=bn({querySelector:function(t){if("native"===Gi){for(var e=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(t)),n=this.__shady_getRootNode(),i=(e=a(e)).next();!i.done;i=e.next())if((i=i.value).__shady_getRootNode()==n)return i;return null}if("selectorEngine"===Gi)return Wi(this,t)[0]||null;if(void 0===Gi)return Ui(this,function(e){return an.call(e,t)},function(t){return!!t})[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+Gi+"'")},querySelectorAll:function(t,e){var n;if(e||"native"===Gi)return e=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(t)),n=this.__shady_getRootNode(),fn(e.filter(function(t){return t.__shady_getRootNode()==n}));if("selectorEngine"===Gi)return fn(Wi(this,t));if(void 0===Gi)return fn(Ui(this,function(e){return an.call(e,t)}));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+Gi+"'")}}),Xi=en.ha&&!en.J?wn({},qi):qi,Yi=(Vi=(wn(qi,Vi),bn({after:function(t){for(var e,n=[],i=0;i<arguments.length;++i)n[i]=arguments[i];null!==(i=this.__shady_parentNode)&&(e=this.__shady_nextSibling,i.__shady_insertBefore(Cn.apply(null,l(n)),e))},before:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(Cn.apply(null,l(e)),this)},remove:function(){var t=this.__shady_parentNode;null!==t&&t.__shady_removeChild(this)},replaceWith:function(t){for(var e,n=[],i=0;i<arguments.length;++i)n[i]=arguments[i];null!==(i=this.__shady_parentNode)&&(e=this.__shady_nextSibling,i.__shady_removeChild(this),i.__shady_insertBefore(Cn.apply(null,l(n)),e))}})),window.document);function Ki(t,e){var n,i,o;"slot"===e?sn(t=t.__shady_parentNode)&&Do(tn(t).root):"slot"===t.localName&&"name"===e&&(e=Ho(t))&&(e.g&&(Bo(e),i=t.Ua,(n=Ro(t))!==i)&&(0<=(o=(i=e.h[i]).indexOf(t))&&i.splice(o,1),(i=e.h[n]||(e.h[n]=[])).push(t),1<i.length)&&(e.h[n]=$o(i)),Do(e))}var Ji=bn({get previousElementSibling(){var t=tn(this);if(t&&void 0!==t.previousSibling){for(t=this.__shady_previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_previousElementSibling},get nextElementSibling(){var t=tn(this);if(t&&void 0!==t.nextSibling){for(t=this.__shady_nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(t){this.__shady_setAttribute("slot",t)},get className(){return this.getAttribute("class")||""},set className(t){this.__shady_setAttribute("class",t)},setAttribute:function(t,e){this.ownerDocument!==Yi?this.__shady_native_setAttribute(t,e):Oi(this,t,e)||(this.__shady_native_setAttribute(t,e),Ki(this,t))},removeAttribute:function(t){this.ownerDocument!==Yi?this.__shady_native_removeAttribute(t):Oi(this,t,"")?""===this.getAttribute(t)&&this.__shady_native_removeAttribute(t):(this.__shady_native_removeAttribute(t),Ki(this,t))},toggleAttribute:function(t,e){return this.ownerDocument!==Yi?this.__shady_native_toggleAttribute(t,e):Oi(this,t,"")?""!==this.getAttribute(t)||e?void 0:this.__shady_native_toggleAttribute(t,e):(e=this.__shady_native_toggleAttribute(t,e),Ki(this,t),e)}}),Qi=(en.ha||Li.forEach(function(t){Ji[t]=Si(t)}
1),bn({attachShadow:function(t){if(!this)throw Error("Must provide a host.");var e,n;if(t)return t.shadyUpgradeFragment&&!en.Ra?((e=t.shadyUpgradeFragment).__proto__=ShadowRoot.prototype,Ao(e,this,t),wo(e,e),t=e.__noInsertionPoint?null:e.querySelectorAll("slot"),e.__noInsertionPoint=void 0,t&&t.length&&(zo(n=e),n.i.push.apply(n.i,l(t)),Do(e)),e.host.__shady_native_appendChild(e)):e=new Oo(Mo,this,t),this.__CE_shadowRoot=e;throw Error("Not enough arguments.")},get shadowRoot(){var t=tn(this);return t&&t.lb||null}})),to=(wn(Ji,Qi),document.implementation.createHTMLDocument("inert")),eo=bn({get innerHTML(){return on(this)?jn("template"===this.localName?this.content:this,_n):this.__shady_native_innerHTML},set innerHTML(t){if("template"===this.localName)this.__shady_native_innerHTML=t;else{Ri(this);var e=this.localName||"div";e=this.namespaceURI&&this.namespaceURI!==to.namespaceURI?to.createElementNS(this.namespaceURI,e):to.createElement(e);for(en.D?e.__shady_native_innerHTML=t:e.innerHTML=t;t=e.__shady_firstChild;)this.__shady_insertBefore(t)}}}),no=bn({blur:function(){var t=tn(this);(t=(t=t&&t.root)&&t.activeElement)?t.__shady_blur():this.__shady_native_blur()}}),io=(en.ha||Ei.forEach(function(t){no[t]=Si(t)}),bn({assignedNodes:function(t){var e;if("slot"===this.localName)return(e=this.__shady_getRootNode())&&rn(e)&&Io(e),(e=tn(this))&&(t&&t.flatten?e.aa:e.assignedNodes)||[]},addEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)vi.call(this,t,e,n);else{"object"!=typeof n&&(n={capture:!!n});var i=this.__shady_parentNode;if(!i)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.U=this,i.__shady_addEventListener(t,e,n)}},removeEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)bi.call(this,t,e,n);else{"object"!=typeof n&&(n={capture:!!n});var i=this.__shady_parentNode;if(!i)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.U=this,i.__shady_removeEventListener(t,e,n)}}})),oo=bn({getElementById:function(t){return""!==t&&Ui(this,function(e){return e.id==t},function(t){return!!t})[0]||null}}),ro="__shady_native_"+nn(),so=bn({get activeElement(){var t=en.D?document.__shady_native_activeElement:document.activeElement;if(!t||!t.nodeType)return null;var e=!!rn(this);if(!(this===document||e&&this.host!==t&&this.host.__shady_native_contains(t)))return null;for(e=Ho(t);e&&e!==this;)e=Ho(t=e.host);return this===document?e?null:t:e===this?t:null},elementsFromPoint:function(t,e){if(t=document[ro](t,e),this===document&&en.useNativeDocumentEFP)return t;t=[].slice.call(t),e=function(t){var e=new Set;for(e.add(t);rn(t)&&t.host;)t=t.host.__shady_getRootNode(),e.add(t);return e}(this);for(var n=new Set,i=0;i<t.length;i++)n.add(function(t,e){for(var n;e&&!t.has(n=e.__shady_getRootNode());)e=n.host;return e}(e,t[i]));var o=[];return n.forEach(function(t){return o.push(t)}),o},elementFromPoint:function(t,e){return this===document&&en.useNativeDocumentEFP?this.__shady_native_elementFromPoint(t,e):this.__shady_elementsFromPoint(t,e)[0]||null}}),ao=window.document,lo=bn({importNode:function(t,e){if(t.ownerDocument!==ao||"template"===t.localName)return this.__shady_native_importNode(t,e);var n=this.__shady_native_importNode(t,!1);if(e)for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e=this.__shady_importNode(t,!0),n.__shady_appendChild(e);return n}}),co=bn({dispatchEvent:yi,addEventListener:vi.bind(window),removeEventListener:bi.bind(window)}),ho={},uo=(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(ho.parentElement=Fi.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(ho.contains=Fi.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(ho.children=qi.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(ho.innerHTML=eo.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(ho.className=Ji.className),{EventTarget:[Mi],Node:[Fi,window.EventTarget?null:Mi],Text:[Hi],Comment:[Hi],CDATASection:[Hi],ProcessingInstruction:[Hi],Element:[Ji,qi,Vi,Hi,!en.D||"innerHTML"in Element.prototype?eo:null,window.HTMLSlotElement?null:io],HTMLElement:[no,ho],HTMLSlotElement:[io],DocumentFragment:[Xi,oo],Document:[lo,Xi,oo,so],Window:[co],CharacterData:[Vi],XMLHttpRequest:[window.EventTarget?null:Mi]}),po=en.D?null:["innerHTML","textContent"];function fo(t,e,n,i){e.forEach(function(e){return t&&e&&yn(t,e,n,i)})}function mo(t){var e,n=t?null:po;for(e in uo)fo(window[e]&&window[e].prototype,uo[e],t,n)}function _o(t){return t.__shady_protoIsPatched=!0,fo(t,uo.EventTarget),fo(t,uo.Node),fo(t,uo.Element),fo(t,uo.HTMLElement),fo(t,uo.HTMLSlotElement),t}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(t){var e=window[t],n=Object.create(e.prototype);n.__shady_protoIsPatched=!0,fo(n,uo.EventTarget),fo(n,uo.Node),uo[t]&&fo(n,uo[t]),e.prototype.__shady_patchedProto=n});var go=en.Da,yo=en.D;function vo(t,e){var n,i;!go||t.__shady_protoIsPatched||rn(t)||((i=(n=Object.getPrototypeOf(t)).hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto)||(_o(i=Object.create(n)),n.__shady_patchedProto=i),Ob
vendor: 4,751 bytes, line 1
1ject.setPrototypeOf(t,i)),yo||(1===e?Jn(t):2===e&&Qn(t))}function bo(t,e,n,i){vo(t,1),i=i||null;var o=Qe(t),r=i?Qe(i):null;o.previousSibling=i?r.previousSibling:e.__shady_lastChild,(r=tn(o.previousSibling))&&(r.nextSibling=t),(r=tn(o.nextSibling=i))&&(r.previousSibling=t),o.parentNode=e,i?i===n.firstChild&&(n.firstChild=t):(n.lastChild=t,n.firstChild||(n.firstChild=t)),n.childNodes=null}function wo(t,e){var n=Qe(t);if(e||void 0===n.firstChild){n.childNodes=null;var i=n.firstChild=t.__shady_native_firstChild;for(n.lastChild=t.__shady_native_lastChild,vo(t,2),n=i,i=void 0;n;n=n.__shady_native_nextSibling){var o=Qe(n);o.parentNode=e||t,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=i||null,vo(i=n,1)}}}var xo=bn({addEventListener:function(t,e,n){(n="object"!=typeof n?{capture:!!n}:n).U=n.U||this,this.host.__shady_addEventListener(t,e,n)},removeEventListener:function(t,e,n){(n="object"!=typeof n?{capture:!!n}:n).U=n.U||this,this.host.__shady_removeEventListener(t,e,n)}});function Co(t,e){yn(t,xo,e),yn(t,so,e),yn(t,eo,e),yn(t,qi,e),en.J&&!e?(yn(t,Fi,e),yn(t,oo,e)):en.D||(yn(t,Vn),yn(t,Wn),yn(t,Gn))}var To,Lo,Eo,So,Po,Mo={},ko=en.deferConnectionCallbacks&&"loading"===document.readyState;function No(t){for(var e=[];e.unshift(t),t=t.__shady_parentNode;);return e}function Oo(t,e,n){if(t!==Mo)throw new TypeError("Illegal constructor");this.g=null,Ao(this,e,n)}function Ao(t,e,n){if(t.host=e,t.mode=n&&n.mode,wo(t.host),(e=Qe(t.host)).root=t,e.lb="closed"!==t.mode?t:null,(e=Qe(t)).firstChild=e.lastChild=e.parentNode=e.nextSibling=e.previousSibling=null,en.preferPerformance)for(;e=t.host.__shady_native_firstChild;)t.host.__shady_native_removeChild(e);else Do(t)}function Do(t){t.Y||(t.Y=!0,Sn(function(){return Io(t)}))}function Io(t){var e,n;if(e=t.Y){for(;t;)t.Y&&(n=t),rn(t=(e=t).host.__shady_getRootNode())&&(e=tn(e.host))&&0<e.ka||(t=void 0);e=n}(n=e)&&n._renderSelf()}function jo(t,e,n){var i=Qe(e),o=i.xa;i.xa=null,(n=n||(t=t.h[e.__shady_slot||"__catchall"])&&t[0])?(Qe(n).assignedNodes.push(e),i.assignedSlot=n):i.assignedSlot=void 0,o!==i.assignedSlot&&i.assignedSlot&&(Qe(i.assignedSlot).Aa=!0)}function zo(t){t.i=t.i||[],t.g=t.g||[],t.h=t.h||{}}function Bo(t){if(t.i&&t.i.length){for(var e,n=t.i,i=0;i<n.length;i++){var o=n[i],r=(wo(o),o.__shady_parentNode);wo(r),(r=tn(r)).ka=(r.ka||0)+1,r=Ro(o),t.h[r]?((e=e||{})[r]=!0,t.h[r].push(o)):t.h[r]=[o],t.g.push(o)}if(e)for(var s in e)t.h[s]=$o(t.h[s]);t.i=[]}}function Ro(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.Ua=e}function $o(t){return t.sort(function(t,e){t=No(t);for(var n=No(e),i=0;i<t.length;i++){e=t[i];var o=n[i];if(e!==o)return(t=_n(e.__shady_parentNode)).indexOf(e)-t.indexOf(o)}})}function Fo(t){return Bo(t),!(!t.g||!t.g.length)}function Ho(t){if(rn(t=t.__shady_getRootNode()))return t}function Zo(t){this.node=t}function Uo(t){Object.defineProperty(Zo.prototype,t,{get:function(){return this.node["__shady_"+t]},set:function(e){this.node["__shady_"+t]=e},configurable:!0})}Oo.prototype._renderSelf=function(){var t=ko;if(ko=!0,this.Y=!1,this.g){Bo(this);for(var e=0;e<this.g.length;e++){var n,i=tn(n=this.g[e]),o=i.assignedNodes;if(i.assignedNodes=[],i.aa=[],i.Ja=o)for(i=0;i<o.length;i++){(a=tn(o[i])).xa=a.assignedSlot,a.assignedSlot===n&&(a.assignedSlot=null)}}for(e=this.host.__shady_firstChild;e;e=e.__shady_nextSibling)jo(this,e);for(e=0;e<this.g.length;e++){if(!(o=tn(n=this.g[e])).assignedNodes.length)for(i=n.__shady_firstChild;i;i=i.__shady_nextSibling)jo(this,i,n);if((i=(i=tn(n.__shady_parentNode))&&i.root)&&(Fo(i)||i.Y)&&i._renderSelf(),function t(e,n,i){for(var o=0,r=void 0;o<i.length&&(r=i[o]);o++){var s;"slot"==r.localName?(s=tn(r).assignedNodes)&&s.length&&t(e,n,s):n.push(i[o])}}(this,o.aa,o.assignedNodes),i=o.Ja){for(a=0;a<i.length;a++)tn(i[a]).xa=null;o.Ja=null,i.length>o.assignedNodes.length&&(o.Aa=!0)}o.Aa&&(o.Aa=!1,function t(e,n){n.__shady_native_dispatchEvent(new Event("slotchange")),(n=tn(n)).assignedSlot&&t(e,n.assignedSlot)}(this,n))}for(n=this.g,e=[],o=0;o<n.length;o++)(a=tn(i=n[o].__shady_parentNode))&&a.root||!(e.indexOf(i)<0)||e.push(i);for(n=0;n<e.length;n++){for(o=(a=e[n])===this?this.host:a,i=[],a=a.__shady_firstChild;a;a=a.__shady_nextSibling)if("slot"==a.localName)for(var r=tn(a).aa,s=0;s<r.length;s++)i.push(r[s]);else i.push(a);for(var a=mn(o),l=(r=function(t,e,n,i){var o,r,s=0,a=0,l=0,c=0,h=Math.min(e-s,i-a);if(0==s&&0==a)t:{for(l=0;l<h;l++)if(t[l]!==n[l])break t;l=h}if(e==t.length&&i==n.length){c=t.length;for(var u=n.length,d=0;d<h-l&&t[--c]===n[--u];)d++;c=d}if(a+=l,i-=c,0==(e-=c)-(s+=l)&&0==i-a)return[];if(s==e){for(e=Pi(s,0);a<i;)e.ia.push(n[a++]);return[e]}if(a==i)return[Pi(s,e-s)];for(i=i-(l=a)+1,c=e-(h=s)+1,e=Array(i),u=0;u<i;u++)e[u]=Array(c),e[u][0]=u;for(u=0;
1u<c;u++)e[0][u]=u;for(u=1;u<i;u++)for(d=1;d<c;d++)t[h+d-1]===n[l+u-1]?e[u][d]=e[u-1][d-1]:(o=e[u-1][d]+1,r=e[u][d-1]+1,e[u][d]=o<r?o:r);for(h=e.length-1,l=e[0].length-1,i=e[h][l],t=[];0<h||0<l;)0==h?(t.push(2),l--):0==l?(t.push(3),h--):(c=e[h-1][l-1],(o=(u=e[h-1][l])<(d=e[h][l-1])?u<c?u:c:d<c?d:c)==c?(c==i?t.push(0):(t.push(1),i=c),h--,l--):i=o==u?(t.push(3),h--,u):(t.push(2),l--,d));for(t.reverse(),e=void 0,h=[],l=0;l<t.length;l++)switch(t[l]){case 0:e&&(h.push(e),e=void 0),s++,a++;break;case 1:(e=e||Pi(s,0)).pa++,s++,e.ia.push(n[a]),a++;break;case 2:(e=e||Pi(s,0)).pa++,s++;break;case 3:(e=e||Pi(s,0)).ia.push(n[a]),a++}return e&&h.push(e),h}(i,i.length,a,a.length),s=0),c=void 0;s<r.length&&(c=r[s]);s++){for(var h=0,u=void 0;h<c.ia.length&&(u=c.ia[h]);h++)u.__shady_native_parentNode===o&&o.__shady_native_removeChild(u),a.splice(c.index+l,1);l-=c.pa}for(c=void(l=0);l<r.length&&(c=r[l]);l++)for(s=a[c.index],h=c.index;h<c.index+c.pa;h++)u=i[h],o.__shady_native_insertBefore(u,s),a.splice(h,0,u)}}if(!en.preferPerformance&&!this.Ia)for(e=this.host.__shady_firstChild;e;e=e.__shady_nextSibling)n=tn(e),e.__shady_native_parentNode!==this.host||"slot"!==e.localName&&n.assignedSlot||this.host.__shady_native_removeChild(e);this.Ia=!0,ko=t,Eo&&Eo()},(To=Oo.prototype).__proto__=DocumentFragment.prototype,Co(To,"__shady_"),Co(To),Object.defineProperties(To,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach(function(t){Object.defineProperty(To,t,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(function(t){Object.defineProperty(To,t,{get:function(){return this.host[t]},configurable:!0})}),window.customElements&&window.customElements.define&&en.Ba&&!en.preferPerformance&&(Lo=new Map,Eo=function(){var t=[];Lo.forEach(function(e,n){t.push([n,e])}),Lo.clear();for(var e=0;e<t.length;e++){var n=t[e][0];t[e][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},ko&&document.addEventListener("readystatechange",function(){ko=!1,Eo()},{once:!0}),So=function(t,e,n){var i="__isConnected0";return(e||n)&&(t.prototype.connectedCallback=t.prototype.__shadydom_connectedCallback=function(){ko?Lo.set(this,!0):this[i]||(this[i]=!0,e&&e.call(this))},t.prototype.disconnectedCallback=t.prototype.__shadydom_disconnectedCallback=function(){ko?this.isConnected||Lo.set(this,!1):this[i]&&(this[i]=!1,n)&&n.call(this)}),t},Po=window.customElements.define,Hi=function(t,e){var n=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;Po.call(window.customElements,t,So(e,n,i)),e.prototype.connectedCallback=n,e.prototype.disconnectedCallback=i},window.customElements.define=Hi,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:Hi,configurable:!0})),(ho=Zo.prototype).addEventListener=function(t,e,n){return this.node.__shady_addEventListener(t,e,n)},ho.removeEventListener=function(t,e,n){return this.node.__shady_removeEventListener(t,e,n)},ho.appendChild=function(t){return this.node.__shady_appendChild(t)},ho.insertBefore=function(t,e){return this.node.__shady_insertBefore(t,e)},ho.removeChild=function(t){return this.node.__shady_removeChild(t)},ho.replaceChild=function(t,e){return this.node.__shady_replaceChild(t,e)},ho.cloneNode=function(t){return this.node.__shady_cloneNode(t)},ho.getRootNode=function(t){return this.node.__shady_getRootNode(t)},ho.contains=function(t){return this.node.__shady_contains(t)},ho.dispatchEvent=function(t){return this.node.__shady_dispatchEvent(t)},ho.setAttribute=function(t,e){this.node.__shady_setAttribute(t,e)},ho.getAttribute=function(t){return this.node.__shady_native_getAttribute(t)},ho.hasAttribute=function(t){return this.node.__shady_native_hasAttribute(t)},ho.removeAttribute=function(t){this.node.__shady_removeAttribute(t)},ho.toggleAttribute=function(t,e){return this.node.__shady_toggleAttribute(t,e)},ho.attachShadow=function(t){return this.node.__shady_attachShadow(t)},ho.focus=function(){this.node.__shady_native_focus()},ho.blur=function(){this.node.__shady_blur()},ho.importNode=function(t,e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(t,e)},ho.getElementById=function(t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(t)},ho.elementsFromPoint=function(t,e){return this.node.__shady_elementsFromPoint(t,e)},ho.elementFromPoint=function(t,e){return this.node.__shady_elementFromPoint(t,e)},ho.querySelector=function(t){return this.node.__shady_querySelector(t)},ho.querySelectorAll=function(t,e){return this.node.__shady_querySelectorAll(t,e)},ho.assignedNodes=function(t){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(t)},ho.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_append.apply(this.node,l(e))},ho.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,l(e))},ho.after=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_after.apply(this.node,l(e))},ho.before=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_before.apply(this.node,l(e))},ho.remove=function(){return this.node.__shady_remove()},ho.replaceWith=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,l(e))},r.Object.defineProperties(Zo.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(rn(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(rn(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(t){this.node.__shady_innerHTML=t}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(t){this.node.__shady_textContent=t}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(t){this.node.__shady_slot=t}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(t){this.node.__shady_className=t}}}),Li.forEach(Uo),Ei.forEach(Uo);var qo=new WeakMap;function Wo(t){var e;return rn(t)||t instanceof Zo?t:((e=qo.get(t))||(e=new Zo(t),qo.set(t,e)),e)}if(en.Ba){var Go;io=en.D?function(t){return t}:function(t){return Qn(t),Jn(t),t},lo={inUse:en.Ba,patch:io,isShadyRoot:rn,enqueue:Sn,flush:Pn,flushInitial:function(t){!t.Ia&&t.Y&&Io(t)},settings:en,filterMutations:function(t,e){var n=e.getRootNode();return t.map(function(t){var e=n===t.target.getRootNode();
vendor: 11,583 bytes, line 1
1if(e&&t.addedNodes){if((e=[].slice.call(t.addedNodes).filter(function(t){return n===t.getRootNode()})).length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t}).filter(function(t){return t})},observeChildren:function(t,e){var n=Qe(t),i=(n.ga||(n.ga=new Mn),n.ga.qa.add(e),n.ga);return{Va:e,X:i,Wa:t,takeRecords:function(){return i.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.X;e&&(e.qa.delete(t.Va),e.qa.size||(Qe(t.Wa).ga=null))},deferConnectionCallbacks:en.deferConnectionCallbacks,preferPerformance:en.preferPerformance,handlesDynamicScoping:!0,wrap:en.J?Wo:io,wrapIfNeeded:!0===en.J?Wo:function(t){return t},Wrapper:Zo,composedPath:function(t){return t.__composedPath||(t.__composedPath=li(t.target,!0)),t.__composedPath},noPatch:en.J,patchOnDemand:en.Da,nativeMethods:zn,nativeTree:Bn,patchElementProto:_o,querySelectorImplementation:en.querySelectorImplementation};for(Go in window.ShadyDOM=lo,Xi=["dispatchEvent","addEventListener","removeEventListener"],window.EventTarget?(Fn(window.EventTarget.prototype,Xi),void 0===window.__shady_native_addEventListener&&Fn(Window.prototype,Xi)):(Fn(Node.prototype,Xi),Fn(Window.prototype,Xi),Fn(XMLHttpRequest.prototype,Xi)),kt?Fn(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):$n(Node.prototype,{parentNode:{get:function(){return Hn.currentNode=this,Hn.parentNode()}},firstChild:{get:function(){return Hn.currentNode=this,Hn.firstChild()}},lastChild:{get:function(){return Hn.currentNode=this,Hn.lastChild()}},previousSibling:{get:function(){return Hn.currentNode=this,Hn.previousSibling()}},nextSibling:{get:function(){return Hn.currentNode=this,Hn.nextSibling()}},childNodes:{get:function(){var t=[];Hn.currentNode=this;for(var e=Hn.firstChild();e;)t.push(e),e=Hn.nextSibling();return t}},parentElement:{get:function(){return Zn.currentNode=this,Zn.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var t,e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";t=e.nextNode();)n+=t.nodeValue;return n;default:return this.nodeValue}},set:function(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:qn(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(t),void 0);break;default:this.nodeValue=t}}}}),Fn(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Fn(HTMLElement.prototype,["parentElement","contains"]),Xi={firstElementChild:{get:function(){return Zn.currentNode=this,Zn.firstChild()}},lastElementChild:{get:function(){return Zn.currentNode=this,Zn.lastChild()}},children:{get:function(){var t=[];Zn.currentNode=this;for(var e=Zn.firstChild();e;)t.push(e),e=Zn.nextSibling();return fn(t)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},kt?(Fn(Element.prototype,R),Fn(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Fn(HTMLElement.prototype,["children","innerHTML","className"])):($n(Element.prototype,Xi),$n(Element.prototype,{previousElementSibling:{get:function(){return Zn.currentNode=this,Zn.previousSibling()}},nextElementSibling:{get:function(){return Zn.currentNode=this,Zn.nextSibling()}},innerHTML:{get:function(){return jn(this,mn)},set:function(t){var e="template"===this.localName?this.content:this,n=(qn(e),this.localName||"div");for((n=this.namespaceURI&&this.namespaceURI!==Un.namespaceURI?Un.createElementNS(this.namespaceURI,n):Un.createElement(n)).innerHTML=t,t="template"===this.localName?n.content:n;n=t.__shady_native_firstChild;)e.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)}}})),Fn(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),Fn(Element.prototype,Nt),Fn(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Fn(window.HTMLTemplateElement.prototype,["innerHTML"]),kt?Fn(DocumentFragment.prototype,R):$n(DocumentFragment.prototype,Xi),Fn(DocumentFragment.prototype,Nt),kt?(Fn(Document.prototype,R),Fn(Document.prototype,["activeElement"])):$n(Document.prototype,Xi),Fn(Document.prototype,["importNode","getElementById","elementFromPoint",nn()]),Fn(Document.prototype,Nt),mo("__shady_"),Object.defineProperty(document,"_activeElement",so.activeElement),yn(Window.prototype,co,"__shady_"),en.J?en.Da&&yn(Element.prototype,Qi):(mo(),!ei&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")&&(Vi=function(){var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(t)},Element.prototype.click?Element.prototype.click=Vi:HTMLElement.prototype.click&&(HTMLElement.prototype.click=Vi))),di)window.__shady_native_addEventListener(Go,function(t){t.__target||(xi(t),_i(t))},!0);window.Event=Ci,window.CustomEvent=hi,window.MouseEvent=Ti,window.ShadowRoot=Oo}var Vo=window.Document.prototype.createElement,Xo=window.Document.prototype.createElementNS,Yo=window.Document.prototype.importNode,Ko=window.Document.prototype.prepend,Jo=window.Document.prototype.append,Qo=window.DocumentFragment.prototype.prepend,tr=window.DocumentFragment.prototype.append,er=window.Node.prototype.cloneNode,nr=window.Node.prototype.appendChild,ir=window.Node.prototype.insertBefore,or=window.Node.prototype.removeChild,rr=window.Node.prototype.replaceChild,sr=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),ar=window.Element.prototype.attachShadow,lr=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),cr=window.Element.prototype.getAttribute,hr=window.Element.prototype.setAttribute,ur=window.Element.prototype.removeAttribute,dr=window.Element.prototype.toggleAttribute,pr=window.Element.prototype.getAttributeNS,fr=window.Element.prototype.setAttributeNS,mr=window.Element.prototype.removeAttributeNS,_r=window.Element.prototype.insertAdjacentElement,gr=window.Element.prototype.insertAdjacentHTML,yr=window.Element.prototype.prepend,vr=window.Element.prototype.append,br=window.Element.prototype.before,wr=window.Element.prototype.after,xr=window.Element.prototype.replaceWith,Cr=window.Element.prototype.remove,Tr=window.HTMLElement,Lr=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Er=window.HTMLElement.prototype.insertAdjacentElement,Sr=window.HTMLElement.prototype.insertAdjacentHTML,Pr=new Set;function Mr(t){var e=Pr.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(t){return Pr.add(t)});var kr=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function Nr(t){var e=t.isConnected;if(void 0!==e)return e;if(kr(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function Or(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function Ar(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function Dr(){var t=!(null==ts||!ts.noDocumentConstructionObserver),e=!(null==ts||!ts.shadyDomFastWalk);this.ca=[],this.g=[],this.W=!1,this.shadyDomFastWalk=e,this.sb=!t}function Ir(t,e,n,i){var o=window.ShadyDOM;if(t.shadyDomFastWalk&&o&&o.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=o.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,i){for(var o=e;o;){if(o.nodeType===Node.ELEMENT_NODE){var r=o,s=(n(r),r.localName);if("link"===s&&"import"===r.getAttribute("rel")){if(o=r.import,void 0===i&&(i=new Set),o instanceof Node&&!i.has(o))for(i.add(o),o=o.firstChild;o;o=o.nextSibling)t(o,n,i);o=Ar(e,r);continue}if("template"===s){o=Ar(e,r);continue}if(r=r.__CE_shadowRoot)for(r=r.firstChild;r;r=r.nextSibling)t(r,n,i)}o=o.firstChild||Ar(e,o)}}(e,n,i)}function jr(t,e){t.W&&Ir(t,e,function(e){return zr(t,e)})}function zr(t,e){if(t.W&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.ca.length;n++)t.ca[n](e);for(n=0;n<t.g.length;n++)t.g[n](e)}}function Br(t,e){var n=[];for(Ir(t,e,function(t){return n.push(t)}),e=0;e<n.length;e++){var i=n[e];1===i.__CE_state?t.connectedCallback(i):Fr(t,i)}}function Rr(t,e){var n=[];for(Ir(t,e,function(t){return n.push(t)}),e=0;e<n.length;e++){var i=n[e];1===i.__CE_state&&t.disconnectedCallback(i)}}function $r(t,e,n){var i=(n=void 0===n?{}:n).tb,o=n.upgrade||function(e){return Fr(t,e)},r=[];for(Ir(t,e,function(e){var n;t.W&&zr(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")?((n=e.import)instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",function(){var n,r=e.import;r.__CE_documentLoadHandled||(r.__CE_documentLoadHandled=!0,n=new Set,i&&(i.forEach(function(t){return n.add(t)}),n.delete(r)),$r(t,r,{tb:n,upgrade:o}))})):r.push(e)},i),e=0;e<r.length;e++)o(r[e])}function Fr(t,e){try{var n=e.ownerDocument,i=n.__CE_registry;if((r=i&&(n.defaultView||n.__CE_isImportDocument)?Kr(i,e.localName):void 0)&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,(e.__CE_definition=r).attributeChangedCallback&&e.hasAttributes())for(var o=r.observedAttributes,r=0;r<o.length;r++){var s=o[r],a=e.getAttribute(s);null!==a&&t.attributeChangedCallback(e,s,null,a,null)}Nr(e)&&t.connectedCallback(e)}}catch(t){Zr(t)}}function Hr(t,e,n,i){var o=e.__CE_registry;if(o&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(o=Kr(o,n)))try{var r=new o.constructorFunction;if(void 0===r.__CE_state||void 0===r.__CE_definition)throw Error("Failed to construct '"+n+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==r.namespaceURI)throw Error("Failed to construct '"+n+"': The constructed element's namespace must be the HTML namespace.");if(r.hasAttributes())throw Error("Failed to construct '"+n+"': The constructed element must not have any attributes.");if(null!==r.firstChild)throw Error("Failed to construct '"+n+"': The constructed element must not have any children.");if(null!==r.parentNode)throw Error("Failed to construct '"+n+"': The constructed element must not have a parent node.");if(r.ownerDocument!==e)throw Error("Failed to construct '"+n+"': The constructed element's owner document is incorrect.");if(r.localName!==n)throw Error("Failed to construct '"+n+"': The constructed element's local name is incorrect.");return r}catch(o){return Zr(o),e=null===i?Vo.call(e,n):Xo.call(e,i,n),Object.setPrototypeOf(e,HTMLUnknownElement.prototype),e.__CE_state=2,e.__CE_definition=void 0,zr(t,e),e}return zr(t,e=null===i?Vo.call(e,n):Xo.call(e,i,n)),e}function Zr(t){var e="",n="",i=0,o=0,r=void(t instanceof Error?(e=t.message,n=t.sourceURL||t.fileName||"",i=t.line||t.lineNumber||0,o=t.column||t.columnNumber||0):e="Uncaught "+String(t));
vendor: 7,487 bytes, line 1
1void 0===ErrorEvent.prototype.initErrorEvent?r=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:i,colno:o,error:t}):((r=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,i),r.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===r.error&&Object.defineProperty(r,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(r),r.defaultPrevented||console.error(t)}function Ur(){var t=this;this.I=void 0,this.Ka=new Promise(function(e){t.g=e})}function qr(t){var e=document;this.X=void 0,this.S=t,this.g=e,$r(this.S,this.g),"loading"===this.g.readyState&&(this.X=new MutationObserver(this.h.bind(this)),this.X.observe(this.g,{childList:!0,subtree:!0}))}function Wr(t){t.X&&t.X.disconnect()}function Gr(t){this.ma=new Map,this.na=new Map,this.Fa=new Map,this.wa=!1,this.za=new Map,this.la=function(t){return t()},this.V=!1,this.oa=[],this.S=t,this.Ga=t.sb?new qr(t):void 0}function Vr(t,e){if(!Mr(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(Kr(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.wa)throw Error("A custom element is already being defined.")}function Xr(t,e,n){var i;t.wa=!0;try{var o=n.prototype;if(!(o instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var r=function(t){var e=o[t];if(void 0===e||e instanceof Function)return e;throw Error("The '"+t+"' callback must be a function.")},s=r("connectedCallback"),a=r("disconnectedCallback"),l=r("adoptedCallback"),c=(i=r("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.wa=!1}return t.na.set(e,n={localName:e,constructorFunction:n,connectedCallback:s,disconnectedCallback:a,adoptedCallback:l,attributeChangedCallback:i,observedAttributes:c,constructionStack:[]}),t.Fa.set(n.constructorFunction,n),n}function Yr(t){if(!1!==t.V){t.V=!1;for(var e=[],n=t.oa,i=new Map,o=0;o<n.length;o++)i.set(n[o],[]);for($r(t.S,document,{upgrade:function(n){var o,r;void 0===n.__CE_state&&(o=n.localName,(r=i.get(o))?r.push(n):t.na.has(o)&&e.push(n))}}),o=0;o<e.length;o++)Fr(t.S,e[o]);for(o=0;o<n.length;o++){for(var r=n[o],s=i.get(r),a=0;a<s.length;a++)Fr(t.S,s[a]);(r=t.za.get(r))&&r.resolve(void 0)}n.length=0}}function Kr(t,e){var n=t.na.get(e);if(n)return n;if(n=t.ma.get(e)){t.ma.delete(e);try{return Xr(t,e,n())}catch(t){Zr(t)}}}function Jr(t,e,n){function i(e){return function(n){for(var i=[],o=0;o<arguments.length;++o)i[o]=arguments[o];o=[];for(var r=[],s=0;s<i.length;s++){var a=i[s];if(a instanceof Element&&Nr(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(e.apply(this,i),i=0;i<r.length;i++)Rr(t,r[i]);if(Nr(this))for(i=0;i<o.length;i++)(r=o[i])instanceof Element&&Br(t,r)}}void 0!==n.prepend&&(e.prepend=i(n.prepend)),void 0!==n.append&&(e.append=i(n.append))}Dr.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){Zr(t)}},Dr.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){Zr(t)}},Dr.prototype.attributeChangedCallback=function(t,e,n,i,o){var r=t.__CE_definition;if(r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(e))try{r.attributeChangedCallback.call(t,e,n,i,o)}catch(t){Zr(t)}},Ur.prototype.resolve=function(t){if(this.I)throw Error("Already resolved.");this.I=t,this.g(t)},qr.prototype.h=function(t){var e=this.g.readyState;for("interactive"!==e&&"complete"!==e||Wr(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,i=0;i<n.length;i++)$r(this.S,n[i])},(ho=Gr.prototype).jb=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Vr(this,t),this.ma.set(t,e),this.oa.push(t),this.V||(this.V=!0,this.la(function(){return Yr(n)}))},ho.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Vr(this,t),Xr(this,t,e),this.oa.push(t),this.V||(this.V=!0,this.la(function(){return Yr(n)}))},ho.upgrade=function(t){$r(this.S,t)},ho.get=function(t){if(t=Kr(this,t))return t.constructorFunction},ho.whenDefined=function(t){var e,n;return Mr(t)?((e=this.za.get(t))||(e=new Ur,this.za.set(t,e),n=this.na.has(t)||this.ma.has(t),t=-1===this.oa.indexOf(t),n&&t&&e.resolve(void 0)),e.Ka):Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."))},ho.polyfillWrapFlushCallback=function(t){this.Ga&&Wr(this.Ga);var e=this.la;this.la=function(n){return t(function(){return e(n)})}},Gr.prototype.polyfillDefineLazy=Gr.prototype.jb;var Qr={},ts=window.customElements;function es(){var t,e,n,i,o,r=new Dr;function s(){var e=this.constructor,n=document.__CE_registry.Fa.get(e);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var i=n.constructionStack;if(0===i.length)return i=Vo.call(document,n.localName),Object.setPrototypeOf(i,e.prototype),i.__CE_state=1,i.__CE_definition=n,zr(t,i),i;var o=i.length-1,r=i[o];if(r===Qr)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return i[o]=Qr,Object.setPrototypeOf(r,e.prototype),zr(t,r),r}function a(t,e){Object.defineProperty(t,"textContent",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)e.set.call(this,t);else{var i=void 0;if(this.firstChild){var o=this.childNodes,r=o.length;if(0<r&&Nr(this)){i=Array(r);for(var s=0;s<r;s++)i[s]=o[s]}}if(e.set.call(this,t),i)for(t=0;t<i.length;t++)Rr(n,i[t])}}})}t=r,s.prototype=Tr.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:s}),window.HTMLElement=s,e=r,Document.prototype.createElement=function(t){return Hr(e,this,t,null)},Document.prototype.importNode=function(t,n){return t=Yo.call(this,t,!!n),(this.__CE_registry?$r:jr)(e,t),t},Document.prototype.createElementNS=function(t,n){return Hr(e,this,n,t)},Jr(e,Document.prototype,{prepend:Ko,append:Jo}),Jr(r,DocumentFragment.prototype,{prepend:Qo,append:tr}),n=r,Node.prototype.insertBefore=function(t,e){if(t instanceof DocumentFragment){var i=Or(t);if(t=ir.call(this,t,e),Nr(this))for(e=0;e<i.length;e++)Br(n,i[e]);return t}return i=t instanceof Element&&Nr(t),e=ir.call(this,t,e),i&&Rr(n,t),Nr(this)&&Br(n,t),e},Node.prototype.appendChild=function(t){if(t instanceof DocumentFragment){var e=Or(t);if(t=nr.call(this,t),Nr(this))for(var i=0;i<e.length;i++)Br(n,e[i]);return t}return e=t instanceof Element&&Nr(t),i=nr.call(this,t),e&&Rr(n,t),Nr(this)&&Br(n,t),i},Node.prototype.cloneNode=function(t){return t=er.call(this,!!t),(this.ownerDocument.__CE_registry?$r:jr)(n,t),t},Node.prototype.removeChild=function(t){var e=t instanceof Element&&Nr(t),i=or.call(this,t);return e&&Rr(n,t),i},Node.prototype.replaceChild=function(t,e){if(t instanceof DocumentFragment){var i=Or(t);if(t=rr.call(this,t,e),Nr(this))for(Rr(n,e),e=0;e<i.length;e++)Br(n,i[e]);return t}i=t instanceof Element&&Nr(t);var o=rr.call(this,t,e),r=Nr(this);return r&&Rr(n,e),i&&Rr(n,t),r&&Br(n,t),o},sr&&sr.get?a(Node.prototype,sr):(o=function(t){a(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")}
vendor: 5,998 bytes, line 1
1,set:function(t){for(;this.firstChild;)or.call(this,this.firstChild);null!=t&&""!==t&&nr.call(this,document.createTextNode(t))}})},(i=n).W=!0,i.ca.push(o)),function(t){function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var i=this,o=void 0;if(Nr(this)&&(o=[],Ir(t,this,function(t){t!==i&&o.push(t)})),n.set.call(this,e),o)for(var r=0;r<o.length;r++){var s=o[r];1===s.__CE_state&&t.disconnectedCallback(s)}return(this.ownerDocument.__CE_registry?$r:jr)(t,this),e}})}function n(e,n){e.insertAdjacentElement=function(e,i){var o=Nr(i);return e=n.call(this,e,i),o&&Rr(t,i),Nr(e)&&Br(t,i),e}}function i(e,n){function i(e,n){for(var i=[];e!==n;e=e.nextSibling)i.push(e);for(n=0;n<i.length;n++)$r(t,i[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),i(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),i(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),i(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),i(this.nextSibling,o)}}}var o,r,s;function a(t){return function(e){for(var n=[],i=0;i<arguments.length;++i)n[i]=arguments[i];i=[];for(var o=[],s=0;s<n.length;s++){var a=n[s];if(a instanceof Element&&Nr(a)&&o.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)i.push(a);else i.push(a)}for(t.apply(this,n),n=0;n<o.length;n++)Rr(r,o[n]);if(Nr(this))for(n=0;n<i.length;n++)(o=i[n])instanceof Element&&Br(r,o)}}ar&&(Element.prototype.attachShadow=function(e){if(e=ar.call(this,e),t.W&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.ca.length;n++)t.ca[n](e)}return this.__CE_shadowRoot=e}),lr&&lr.get?e(Element.prototype,lr):Lr&&Lr.get?e(HTMLElement.prototype,Lr):(o=function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return er.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,i=Xo.call(document,this.namespaceURI,this.localName);for(i.innerHTML=t;0<n.childNodes.length;)or.call(n,n.childNodes[0]);for(t=e?i.content:i;0<t.childNodes.length;)nr.call(n,t.childNodes[0])}})},(s=t).W=!0,s.g.push(o)),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return hr.call(this,e,n);var i=cr.call(this,e);hr.call(this,e,n),n=cr.call(this,e),t.attributeChangedCallback(this,e,i,n,null)},Element.prototype.setAttributeNS=function(e,n,i){if(1!==this.__CE_state)return fr.call(this,e,n,i);var o=pr.call(this,e,n);fr.call(this,e,n,i),i=pr.call(this,e,n),t.attributeChangedCallback(this,n,o,i,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return ur.call(this,e);var n=cr.call(this,e);ur.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},dr&&(Element.prototype.toggleAttribute=function(e,n){var i;return 1!==this.__CE_state?dr.call(this,e,n):(null!==(i=cr.call(this,e))!==(n=dr.call(this,e,n))&&t.attributeChangedCallback(this,e,i,n?"":null,null),n)}),Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return mr.call(this,e,n);var i=pr.call(this,e,n),o=(mr.call(this,e,n),pr.call(this,e,n));i!==o&&t.attributeChangedCallback(this,n,i,o,e)},Er?n(HTMLElement.prototype,Er):_r&&n(Element.prototype,_r),Sr?i(HTMLElement.prototype,Sr):gr&&i(Element.prototype,gr),Jr(t,Element.prototype,{prepend:yr,append:vr}),r=t,s=Element.prototype,void 0!==br&&(s.before=a(br)),void 0!==wr&&(s.after=a(wr)),void 0!==xr&&(s.replaceWith=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];n=[];for(var i=[],o=0;o<e.length;o++){var s=e[o];if(s instanceof Element&&Nr(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)n.push(s);else n.push(s)}for(o=Nr(this),xr.apply(this,e),e=0;e<i.length;e++)Rr(r,i[e]);if(o)for(Rr(r,this),e=0;e<n.length;e++)(i=n[e])instanceof Element&&Br(r,i)}),void 0!==Cr&&(s.remove=function(){var t=Nr(this);Cr.call(this),t&&Rr(r,this)})}(r),r=new(window.CustomElementRegistry=Gr)(r),document.__CE_registry=r,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:r})}function ns(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function is(t){var e=t=t.replace(hs,"").replace(us,""),n=new ns;n.start=0,n.end=e.length;for(var i,o,r=n,s=0,a=e.length;s<a;s++)"{"===e[s]?(r.rules||(r.rules=[]),o=(i=r).rules[i.rules.length-1]||null,(r=new ns).start=s+1,r.parent=i,r.previous=o,i.rules.push(r)):"}"===e[s]&&(r.end=s+1,r=r.parent||n);return function t(e,n){var i=n.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=i.trim(),e.parent&&(i=(i=(i=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t})}(i=n.substring(e.previous?e.previous.end:e.parent.start,e.start-1))).replace(gs," ")).substring(i.lastIndexOf(";")+1),i=e.parsedSelector=e.selector=i.trim(),e.atRule=0===i.indexOf("@"),e.atRule?0===i.indexOf("@media")?e.type=ls:i.match(_s)&&(e.type=as,e.keyframesName=e.selector.split(gs).pop()):e.type=0===i.indexOf("--")?cs:ss),i=e.rules)for(var o=0,r=i.length,s=void 0;o<r&&(s=i[o]);o++)t(s,n);return e}(n,t)}ts&&!ts.forcePolyfill&&"function"==typeof ts.define&&"function"==typeof ts.get||es(),window.__CE_installPolyfill=es;var os,rs,ss=1,as=7,ls=4,cs=1e3,hs=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,us=/@import[^;]*;/gim,ds=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,ps=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,fs=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,ms=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,_s=/^@[^\s]*keyframes/,gs=/\s+/g,ys=!(window.ShadyDOM&&window.ShadyDOM.inUse);function vs(t){os=(!t||!t.shimcssproperties)&&(ys||!(navigator.userAgent.match(/AppleWeb
1Kit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(rs=window.ShadyCSS.cssBuild);var bs=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime),ws=(window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?os=window.ShadyCSS.nativeCss:window.ShadyCSS?(vs(window.ShadyCSS),window.ShadyCSS=void 0):vs(window.WebComponents&&window.WebComponents.flags),os),xs=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Cs=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Ts=/(--[\w-]+)\s*([:,;)]|$)/gi,Ls=/(animation\s*:)|(animation-name\s*:)/,Es=/@media\s(.*)/,Ss=/\{[^}]*\}/g,Ps=new Set;function Ms(t,e){return t?("string"==typeof t&&(t=is(t)),e&&Os(t,e),function t(e,n,i){i=void 0===i?"":i;var o="";if(e.cssText||e.rules){var r=e.rules;if(s=(s=r)&&!((s=r[0])&&s.selector&&0===s.selector.indexOf("--")))for(var s=0,a=r.length,l=void 0;s<a&&(l=r[s]);s++)o=t(l,n,o);else o=(o=(n=n?e.cssText:(n=(n=e.cssText).replace(ds,"").replace(ps,"")).replace(fs,"").replace(ms,"")).trim())&&" "+o+"\n"}return o&&(e.selector&&(i+=e.selector+" {\n"),i+=o,e.selector)&&(i+="}\n\n"),i}(t,ws)):""}function ks(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=is(t.textContent)),t.__cssRules||null}function Ns(t){return t.parent&&t.parent.type===as}function Os(t,e,n,i){if(t){var o,r=!1,s=t.type;if(i&&s===ls&&(o=t.selector.match(Es))&&!window.matchMedia(o[1]).matches&&(r=!0),s===ss?e(t):n&&s===as?n(t):s===cs&&(r=!0),(t=t.rules)&&!r)for(s=t.length,o=void(r=0);r<s&&(o=t[r]);r++)Os(o,e,n,i)}}function As(t,e,n,i){var o=document.createElement("style");return e&&o.setAttribute("scope",e),o.textContent=t,js(o,n,i),o}var Ds=null;function Is(t){t=document.createComment(" Shady DOM styles for "+t+" ");var e=document.head;return e.insertBefore(t,(Ds?Ds.nextSibling:null)||e.firstChild),Ds=t}function js(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),Ds&&t.compareDocumentPosition(Ds)!==Node.DOCUMENT_POSITION_PRECEDING||(Ds=t)}function zs(t,e){for(var n=0,i=t.length;e<i;e++)if("("===t[e])n++;else if(")"===t[e]&&0==--n)return e;return-1}function Bs(t,e){ys?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}var Rs=window.ShadyDOM&&window.ShadyDOM.wrap||function(t){return t};function $s(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,ja:n}}function Fs(t){for(var e,n=[],i="",o=0;0<=o&&o<t.length;o++)"("===t[o]?(e=zs(t,o),i+=t.slice(o,e+1),o=e):","===t[o]?(n.push(i),i=""):i+=t[o];return i&&n.push(i),n}function Hs(t){var e,n;return void 0!==rs?rs:(void 0===t.__cssBuild&&((n=t.getAttribute("css-build"))||""!==(n=(n=("template"===t.localName?t.content:t).firstChild)instanceof Comment&&"css-build"===(n=n.textContent.trim().split(":"))[0]?n[1]:"")&&(e=("template"===t.localName?t.content:t).firstChild).parentNode.removeChild(e),t.__cssBuild=n),t.__cssBuild||"")}function Zs(t){return!(""===(t=void 0===t?"":t)||!ws)&&(ys?"shadow"===t:"shady"===t)}function Us(){}function qs(t,e,n){var i;if(e.nodeType===Node.ELEMENT_NODE&&n(e),i="template"===e.localName?(e.content||e._content||e).childNodes:e.children||e.childNodes)for(e=0;e<i.length;e++)qs(t,i[e],n)}function Ws(t,e,n){var i;e&&(t.classList?n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e)):t.getAttribute&&(i=t.getAttribute("class"),n?i&&Bs(t,e=i.replace("style-scope","").replace(e,"")):Bs(t,(i?i+" ":"")+"style-scope "+e)))}function Gs(t,e,n,i,o){var r,s,a,l,c=aa;return(o=""===(o=void 0===o?"":o)?ys||"shady"===(void 0===i?"":i)?Ms(e,n):(t=$s(t),r=c,s=t.is,i=t.ja,a=n,l=Vs(s,i),s=s?"."+s:"",Ms(e,function(t){t.i||(t.selector=t.G=Xs(r,t,r.h,s,l),t.i=!0),a&&a(t,s,l)})+"\n\n"):o).trim()}function Vs(t,e){return e?"[is="+t+"]":t}function Xs(t,e,n,i,o){var r=Fs(e.selector);if(!Ns(e))for(var s=r.length,a=void(e=0);e<s&&(a=r[e]);e++)r[e]=n.call(t,a,i,o);return r.filter(function(t){return!!t}).join(",")}function Ys(t){return t.replace(Qs,function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"})}function Ks(t,e){t=t.split(/(\[.+?\])/);for(var n,i=[],o=0;o<t.length;o++)1==o%2?i.push(t[o]):""===(n=t[o])&&o===t.length-1||((n=n.split(":"))[0]+=e,i.push(n.join(":")));return i.join("")}function Js(t){":root"===t.selector&&(t.selector="html")}Us.prototype.h=function(t,e,n){var i,o,r=!1,s=(t=t.trim(),Qs.test(t)),a=(s&&(t=Ys(t=t.replace(Qs,function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"}))),sa.test(t));return a&&(t=(i=function(t){for(var e,n=[];e=t.match(sa);){var i=e.index,o=zs(t,i);if(-1===o)throw Error(e.input+" selector missing ')'");e=t.slice(i,o+1),t=t.replace(e,"î"),n.push(e)}return{Ea:t,matches:n}}(t)).Ea,i=i.matches),t=(t=t.replace(na,":host $1")).replace(ta,function(t,i,o){return r||(t=function(t,e,n,i){var o,r=t.indexOf("::slotted");return 0<=t.indexOf(":host")?t=function(t,e){var n=t.match(ia);return(n=n&&n[2].trim()||"")?n[0].match(ea)?t.replace(ia,function(t,n,i){return e+i}):n.split(ea)[0]===e?n:"should_not_match":t.replace(":host",e)}(t,i):0!==r&&(t=n?Ks(t,n):t),n=!1,(n=0<=r?!(e=""):n)&&(o=!0,n)&&(t=t.replace(oa,function(t,e){return" > "+e})),{value:t,Ya:e,stop:o}}(o,i,e,n),r=r||t.stop,i=t.Ya,o=t.value),i+o}),a&&(a=i,o=t.split("î"),t=a.reduce(function(t,e,n){return t+e+o[n+1]},o[0])),(t=s?Ys(t):t).replace(ra,function(t,e,n,i){return'[dir="'+n+'"] '+e+i+", "+e+'[dir="'+n+'"]'+i})}
1,Us.prototype.i=function(t){return t.match(":host")?"":t.match("::slotted")?this.h(t,":not(.style-scope)"):Ks(t.trim(),":not(.style-scope)")},r.Object.defineProperties(Us.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Qs=/:(nth[-\w]+)\(([^)]+)\)/,ta=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,ea=/[[.:#*]/,na=/^(::slotted)/,ia=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,oa=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ra=/(.*):dir\((?:(ltr|rtl))\)(.*)/,sa=/:(?:matches|any|-(?:webkit|moz)-any)/,aa=new Us;function la(t,e,n,i,o){this.M=t||null,this.h=e||null,this.Ca=n||[],this.K=null,this.cssBuild=o||"",this.ja=i||"",this.g=this.L=this.R=null}function ca(t){return t?t.__styleInfo:null}function ha(t,e){return t.__styleInfo=e}function ua(t){var e=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return e&&e.call(this,t)}la.prototype._getStyleRules=la.prototype.i=function(){return this.M};var da=/:host\s*>\s*/,pa=navigator.userAgent.match("Trident");function fa(){}function ma(t){var e,n;t.F||(e={},_a(t,n={})&&(e.P=n,t.rules=null),e.cssText=t.parsedCssText.replace(Ss,"").replace(xs,""),t.F=e)}function _a(t,e){var n,i=t.F;if(i)return i.P&&(Object.assign(e,i.P),1);for(i=t.parsedCssText;t=xs.exec(i);)"inherit"===(n=(t[2]||t[3]).trim())&&"unset"===n||(e[t[1].trim()]=n),n=!0;return n}function ga(t,e,n){return(e=e&&(0<=e.indexOf(";")?ya(t,e,n):function t(e,n){var i,o,r;return-1===(r=e.indexOf("var("))?n(e,"","",""):(i=zs(e,r+3),o=e.substring(r+4,i),r=e.substring(0,r),e=t(e.substring(i+1),n),-1===(i=o.indexOf(","))?n(r,o.trim(),"",e):n(r,o.substring(0,i).trim(),o.substring(i+1).trim(),e))}(e,function(e,i,o,r){return i?((i=ga(t,n[i],n))&&"initial"!==i?"apply-shim-inherit"===i&&(i="inherit"):i=ga(t,n[o]||o,n)||o,e+(i||"")+r):e+r})))&&e.trim()||""}function ya(t,e,n){e=e.split(";");for(var i,o,r,s=0;s<e.length;s++)(i=e[s])&&(Cs.lastIndex=0,(r=Cs.exec(i))?i=ga(t,n[r[1]],n):-1!==(r=i.indexOf(":"))&&(o=ga(t,o=(o=i.substring(r)).trim(),n)||o,i=i.substring(0,r)+o),e[s]=i&&i.lastIndexOf(";")===i.length-1?i.slice(0,-1):i||"");return e.join(";")}r.Object.defineProperties(fa.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var va,ba=new fa,wa={},xa=window.customElements;function Ca(){this.cache={}}function Ta(){}!xa||ys||bs||(va=xa.define,xa.define=function(t,e,n){wa[t]||(wa[t]=Is(t)),va.call(xa,t,e,n)}),Ca.prototype.store=function(t,e,n,i){var o=this.cache[t]||[];o.push({P:e,styleElement:n,L:i}),100<o.length&&o.shift(),this.cache[t]=o};var La,Ea,Sa,Pa=new RegExp(aa.g+"\\s*([^\\s]*)");function Ma(t){return(t=(t.classList&&t.classList.value?t.classList.value:t.getAttribute("class")||"").match(Pa))?t[1]:""}function ka(t){var e=Rs(t).getRootNode();return e!==t&&e!==t.ownerDocument&&(t=e.host)?$s(t).is:""}function Na(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var i=0;i<n.addedNodes.length;i++){var o=n.addedNodes[i];if(o.nodeType===Node.ELEMENT_NODE){var r=o.getRootNode(),s=Ma(o);if(s&&r===o.ownerDocument&&("style"!==o.localName&&"template"!==o.localName||""===Hs(o)))!function(t,e){qs(aa,o,function(t){Ws(t,e||"",!0)})}(0,s);else if(r instanceof ShadowRoot)for((r=ka(o))!==s&&function(t,e,n){qs(aa,o,function(t){Ws(t,e,!0),Ws(t,n)})}(0,s,r),o=window.ShadyDOM.nativeMethods.querySelectorAll.call(o,":not(."+aa.g+")"),s=0;s<o.length;s++){var a=ka(r=o[s]);a&&Ws(r,a)}}}}}ys||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping||(La=new MutationObserver(Na),Ea=function(t){La.observe(t,{childList:!0,subtree:!0})},window.customElements&&!window.customElements.polyfillWrapFlushCallback?Ea(document):(Sa=function(){Ea(document.body)},window.HTMLImports?window.HTMLImports.whenReady(Sa):requestAnimationFrame(function(){var t;"loading"===document.readyState?(t=function(){Sa(),document.removeEventListener("readystatechange",t)},document.addEventListener("readystatechange",t)):Sa()})),Ta=function(){Na(La.takeRecords())});var Oa={},Aa=Promise.resolve();function Da(t){(t=Oa[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function Ia(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}var ja={},za=new Ca;function Ba(){this.ea={},this.i=document.documentElement;var t=new ns;t.rules=[],this.u=ha(this.i,new la(t)),this.O=!1,this.g=this.h=null}function Ra(t){var e=$s(t),n=e.is,i=(e=e.ja,wa[n]||null);
1if(n=Oa[n])return ha(t,e=new la(n._styleAst,i,n.g,e,Hs(n))),e}function $a(t){var e,n=!(t.h||!window.ShadyCSS||!window.ShadyCSS.ApplyShim||(t.h=window.ShadyCSS.ApplyShim,t.h.invalidCallback=Da,0));return!(e=t).g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.g=window.ShadyCSS.CustomStyleInterface,e.g.transformCallback=function(t){e.Qa(t)},e.g.validateCallback=function(){requestAnimationFrame(function(){(e.g.enqueued||e.O)&&e.flushCustomStyles()})}),n}function Fa(t,e,n){var i,o=$s(e).is;if(n.K){var r,s=n.K;for(r in s)null===r?e.style.removeProperty(r):e.style.setProperty(r,s[r])}!(s=Oa[o])&&e!==t.i||s&&""!==Hs(s)||!s||!s._style||Ia(s)||(!Ia(s)&&s._applyShimValidatingVersion===s._applyShimNextVersion||($a(t),t.h&&t.h.transformRules(s._styleAst,o),s._style.textContent=Gs(e,n.M),(i=s)._applyShimValidatingVersion=i._applyShimNextVersion,i._validating)||(i._validating=!0,Aa.then(function(){i._applyShimCurrentVersion=i._applyShimNextVersion,i._validating=!1})),ys&&(t=(t=e.shadowRoot)&&t.querySelector("style"))&&(t.textContent=Gs(e,n.M)),n.M=s._styleAst)}function Ha(t,e){return(e=Rs(e).getRootNode().host)?ca(e)||Ra(e)?e:Ha(t,e):t.i}function Za(t,e,n){var i,o,r,s=Ha(t,e),a=ca(s),l=a.R;for(r in s===t.i||l||(Za(t,s,a),l=a.R),t=Object.create(l||null),s=function(t,e,n){var i={},o={};return Os(e,function(e){var r,s,a,l,c,h,u,d;r=t,a=n,l=function(n){ua.call(t._element||t,n.Ea)&&(n.gb?_a(e,i):_a(e,o))},(s=e).F||ma(s),s.F.P&&(r=(c=$s(r)).is,c=c.ja,c=r?Vs(r,c):"html",u=!!(h=s.parsedSelector).match(da)||"html"===c&&-1<h.indexOf("html"),d=0===h.indexOf(":host")&&!u,"shady"===a&&(d=!(u=h===c+" > *."+c||-1!==h.indexOf("html"))&&0===h.indexOf(c)),u||d)&&(a=c,d&&(s.G||(s.G=Xs(aa,s,aa.h,r?"."+r:"",c)),a=s.G||c),l({Ea:a=u&&"html"===c?s.G||s.O:a,gb:d,vb:u}))},null,!0),{mb:o,eb:i}}(e,n.M,n.cssBuild),l=a.M,i=e,o={},Os(l,function(t){t.F||ma(t);var e=t.G||t.parsedSelector;i&&t.F.P&&e&&ua.call(i,e)&&(_a(t,o),t=t.index,e=parseInt(t/32,10))},null,!0),e=o,Object.assign(t,s.eb,e,s.mb),e=n.K)!(a=e[r])&&0!==a||(t[r]=a);for(r=ba,e=Object.getOwnPropertyNames(t),a=0;a<e.length;a++)t[s=e[a]]=ga(r,t[s],t);n.R=t}(ho=Ba.prototype).flush=function(){Ta()},ho.bb=ks,ho.qb=function(t){return Ms(t)},ho.prepareTemplate=function(t,e,n){this.prepareTemplateDom(t,e),this.prepareTemplateStyles(t,e,n)},ho.prepareTemplateStyles=function(t,e,n){if(!t._prepared&&!bs){ys||wa[e]||(wa[e]=Is(e)),t._prepared=!0,t.name=e,t.extends=n;var i=Hs(Oa[e]=t),o=Zs(i);n={is:e,extends:n};for(var r=[],s=t.content.querySelectorAll("style"),a=0;a<s.length;a++){var l,c,h=s[a];h.hasAttribute("shady-unscoped")?ys||(l=h.textContent,Ps.has(l)||(Ps.add(l),(c=document.createElement("style")).setAttribute("shady-unscoped",""),c.textContent=l,document.head.appendChild(c)),h.parentNode.removeChild(h)):(r.push(h.textContent),h.parentNode.removeChild(h))}r=r.join("").trim()+(ja[e]||""),$a(this),o||((s=!i)&&(s=Cs.test(r)||xs.test(r),Cs.lastIndex=0,xs.lastIndex=0),a=is(r),s&&ws&&this.h&&this.h.transformRules(a,e),t._styleAst=a),s=[],(s=ws?s:function(t){var e,n={},i=[],o=0;for(e in Os(t,function(t){ma(t),t.index=o++,t=t.F.cssText;for(var e;e=Ts.exec(t);){var i=e[1];":"!==e[2]&&(n[i]=!0)}},function(t){i.push(t)}),t.h=i,t=[],n)t.push(e);return t}(t._styleAst)).length&&!ws||(a=ys?t.content:null,e=wa[e]||null,i=(i=Gs(n,t._styleAst,null,i,o?r:"")).length?As(i,n.is,a,e):null,t._style=i),t.g=s}},ho.kb=function(t,e){ja[e]=t.join(" ")},ho.prepareTemplateDom=function(t,e){var n,i;bs||(n=Hs(t),ys)||"shady"===n||t._domPrepared||(t._domPrepared=!0,n=t.content,i=e,qs(aa,n,function(t){Ws(t,i||"")}))},ho.flushCustomStyles=function(){if(!bs){var t=$a(this);if(this.g){var e=this.g.processStyles();if((t||this.g.enqueued)&&!Zs(this.u.cssBuild)){if(ws){if(!this.u.cssBuild)for(t=0;t<e.length;t++){var n,i=this.g.getStyleForCustomStyle(e[t]);i&&ws&&this.h&&(n=ks(i),$a(this),this.h.transformRules(n),i.textContent=Ms(n))}}else{for(o=this,(r=(r=e).map(function(t){return o.g.getStyleForCustomStyle(t)}).filter(function(t){return!!t})).sort(function(t,e){return(t=e.compareDocumentPosition(t))&Node.DOCUMENT_POSITION_FOLLOWING?1:t&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),o.u.M.rules=r.map(ks),Za(this,this.i,this.u),t=0;t<e.length;t++)(i=this.g.getStyleForCustomStyle(e[t]))&&function(t,e){var n=ba,i=ks(t);t.textContent=Ms(i,function(t){var i=t.cssText=t.parsedCssText;t.F&&t.F.cssText&&(i=i.replace(ds,"").replace(ps,""),t.cssText=ya(n,i,e))})}(i,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}var o,r},ho.styleElement=function(t,e){var n,i;if(bs)e&&(ca(t)||ha(t,new la(null)),(n=ca(t)).K=n.K||{},Object.assign(n.K,e),Fa(this,t,n));else if(n=ca(t)||Ra(t))if(t!==this.i&&(this.O=!0),e&&(n.K=n.K||{},Object.assign(n.K,e)),ws)Fa(this,t,n);else if(this.flush(),Za(this,t,n),n.Ca&&n.Ca.length){e=$s(t).is;t:{if(i=za.cache[e])for(var o=i.length-1;0<=o;o--){var r=i[o];e:{for(var s=n.Ca,a=0;a<s.length;a++){var l=s[a];if(r.P[l]!==n.R[l]){s=!1;break e}}s=!0}
vendor: 5,614 bytes, line 1
1if(s){i=r;break t}}i=void 0}s=i?i.styleElement:null,o=n.L,(r=i&&i.L)||(r=e+"-"+(r=this.ea[e]=(this.ea[e]||0)+1)),n.L=r,r=n.L,a=ba;a=s?s.textContent||"":function(t,e,n,i){var o=Vs((s=$s(e)).is,s.ja),r=new RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+o.slice(0,-1)+"\\]":o)+"($|[.:[\\s>+~])"),s=(a=ca(e)).M,a=a.cssBuild,l=function(t,e){t=t.h;var n={};if(!ys&&t)for(var i=0,o=t[i];i<t.length;o=t[++i]){var r=o,s=e;r.u=new RegExp("\\b"+r.keyframesName+"(?!\\B|-)","g"),r.g=r.keyframesName+"-"+s,r.G=r.G||r.selector,r.selector=r.G.replace(r.keyframesName,r.g),n[o.keyframesName]=function(t){return function(e){return e.replace(t.u,t.g)}}(o)}return n}(s,i);return Gs(e,s,function(e){var s="";if(e.F||ma(e),e.F.cssText&&(s=ya(t,e.F.cssText,n)),e.cssText=s,!ys&&!Ns(e)&&e.cssText){var a=s=e.cssText;if(null==e.Ma&&(e.Ma=Ls.test(s)),e.Ma)if(null==e.ra)for(var c in e.ra=[],l)s!==(a=(a=l[c])(s))&&(s=a,e.ra.push(c));else{for(c=0;c<e.ra.length;++c)s=(a=l[e.ra[c]])(s);a=s}e.cssText=a,e.G=e.G||e.selector,s="."+i,a=0;for(var h=(c=Fs(e.G)).length,u=void 0;a<h&&(u=c[a]);a++)c[a]=u.match(r)?u.replace(o,s):s+" "+u;e.selector=c.join(",")}},a)}(a,t,n.R,r);var c=(l=ca(t)).g;c&&!ys&&c!==s&&(c._useCount--,c._useCount<=0)&&c.parentNode&&c.parentNode.removeChild(c),ys?l.g?(l.g.textContent=a,s=l.g):a&&(s=As(a,r,t.shadowRoot,l.h)):s?s.parentNode||(pa&&-1<a.indexOf("@media")&&(s.textContent=a),js(s,null,l.h)):a&&(s=As(a,r,null,l.h)),s&&(s._useCount=s._useCount||0,l.g!=s&&s._useCount++,l.g=s),r=s,ys||(s=n.L,l=a=t.getAttribute("class")||"",o&&(l=a.replace(new RegExp("\\s*x-scope\\s*"+o+"\\s*","g")," ")),a!==(l+=(l?" ":"")+"x-scope "+s)&&Bs(t,l)),i||za.store(e,n.R,r,n.L)}},ho.styleDocument=function(t){this.styleSubtree(this.i,t)},ho.styleSubtree=function(t,e){var n=Rs(t),i=n.shadowRoot,o=t===this.i;if((i||o)&&this.styleElement(t,e),t=o?n:i)for(t=Array.from(t.querySelectorAll("*")).filter(function(t){return Rs(t).shadowRoot}),e=0;e<t.length;e++)this.styleSubtree(t[e])},ho.Qa=function(t){var e,n=this,i=Hs(t);i!==this.u.cssBuild&&(this.u.cssBuild=i),Zs(i)||(Os(e=ks(t),function(t){var e;ys?Js(t):(e=aa,t.selector=t.parsedSelector,Js(t),t.selector=t.G=Xs(e,t,e.i,void 0,void 0)),ws&&""===i&&($a(n),n.h)&&n.h.transformRule(t)}),ws?t.textContent=Ms(e):this.u.M.rules.push(e))},ho.getComputedStyleValue=function(t,e){var n;return(n=(n=ws?n:(ca(t)||ca(Ha(this,t))).R[e])||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},ho.pb=function(t,e){var n=Rs(t).getRootNode();if(e=e?("string"==typeof e?e:String(e)).split(/\s/):[],!(n=n.host&&n.host.localName)&&(i=t.getAttribute("class")))for(var i=i.split(/\s/),o=0;o<i.length;o++)if(i[o]===aa.g){n=i[o+1];break}n&&e.push(aa.g,n),ws||(n=ca(t))&&n.L&&e.push(ba.g,n.L),Bs(t,e.join(" "))},ho.Xa=ca,ho.ob=function(t,e){Ws(t,e)},ho.rb=function(t,e){Ws(t,e,!0)},ho.nb=ka,ho.$a=Ma,Ba.prototype.setElementClass=Ba.prototype.pb,Ba.prototype._styleInfoForNode=Ba.prototype.Xa,Ba.prototype.transformCustomStyleForDocument=Ba.prototype.Qa,Ba.prototype.getStyleAst=Ba.prototype.bb,Ba.prototype.styleAstToString=Ba.prototype.qb,Ba.prototype.scopeNode=Ba.prototype.ob,Ba.prototype.unscopeNode=Ba.prototype.rb,Ba.prototype.scopeForNode=Ba.prototype.nb,Ba.prototype.currentScopeForNode=Ba.prototype.$a,Ba.prototype.prepareAdoptedCssText=Ba.prototype.kb,Object.defineProperties(Ba.prototype,{nativeShadow:{get:function(){return ys}},nativeCss:{get:function(){return ws}}});var Ua,qa,Wa=new Ba;window.ShadyCSS&&(Ua=window.ShadyCSS.ApplyShim,qa=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Wa,prepareTemplate:function(t,e,n){Wa.flushCustomStyles(),Wa.prepareTemplate(t,e,n)},prepareTemplateDom:function(t,e){Wa.prepareTemplateDom(t,e)},prepareTemplateStyles:function(t,e,n){Wa.flushCustomStyles(),Wa.prepareTemplateStyles(t,e,n)},styleSubtree:function(t,e){Wa.flushCustomStyles(),Wa.styleSubtree(t,e)},styleElement:function(t){Wa.flushCustomStyles(),Wa.styleElement(t)},styleDocument:function(t){Wa.flushCustomStyles(),Wa.styleDocument(t)},flushCustomStyles:function(){Wa.flushCustomStyles()},getComputedStyleValue:function(t,e){return Wa.getComputedStyleValue(t,e)},nativeCss:ws,nativeShadow:ys,cssBuild:rs,disableRuntime:bs},Ua&&(window.ShadyCSS.ApplyShim=Ua),qa&&(window.ShadyCSS.CustomStyleInterface=qa),Mi=window;function Ga(t){return""==t&&(Ya.call(this),this.m=!0),t.toLowerCase()}function Va(t){var e=t.charCodeAt(0);return 32<e&&e<127&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function Xa(t,e,n){function i(t){u.push(t)}var o,r,s=e||"scheme start",a=0,l="",c=!1,h=!1,u=[];t:for(;(null!=t[a-1]||0==a)&&!this.m;){var d=t[a];switch(s){case"scheme start":if(!d||!tl.test(d)){if(e){i("Invalid scheme.");break t}l="",s="no scheme";continue}l+=d.toLowerCase(),s="scheme";break;case"scheme":if(d&&el.test(d))l+=d.toLowerCase();else{if(":"!=d){if(e){null!=d&&i("Code point not allowed in scheme: "+d);break t}l="",a=0,s="no scheme";continue}if(this.l=l,l="",e)break t;void 0!==Ja[this.l]&&(this.H=!0),s="file"==this.l?"relative":this.H&&n&&n.l==this.l?"relative or authority":this.H?"authority first slash":"scheme data"}break;case"scheme data":"?"==d?(this.A="?",s="query"):"#"==d?(this.C="#",s="fragment"):null!=d&&"\t"!=d&&"\n"!=d&&"\r"!=d&&(this.ya+=Va(d));break;case"no scheme":if(n&&void 0!==Ja[n.l]){s="relative";continue}i("Missing scheme."),Ya.call(this),this.m=!0;break;case"relative or authority":if("/"!=d||"/"!=t[a+1]){i("Expected /, got: "+d),s="relative";continue}s="authority ignore slashes";break;case"relative":if(this.H=!0,"file"!=this.l&&(this.l=n.l),null==d){this.o=n.o,this.v=n.v,this.s=n.s.slice(),this.A=n.A,this.B=n.B,this.j=n.j;break t}
1if("/"==d||"\\"==d)"\\"==d&&i("\\ is an invalid code point."),s="relative slash";else if("?"==d)this.o=n.o,this.v=n.v,this.s=n.s.slice(),this.A="?",this.B=n.B,this.j=n.j,s="query";else{if("#"!=d){s=t[a+1];var p=t[a+2];("file"!=this.l||!tl.test(d)||":"!=s&&"|"!=s||null!=p&&"/"!=p&&"\\"!=p&&"?"!=p&&"#"!=p)&&(this.o=n.o,this.v=n.v,this.B=n.B,this.j=n.j,this.s=n.s.slice(),this.s.pop()),s="relative path";continue}this.o=n.o,this.v=n.v,this.s=n.s.slice(),this.A=n.A,this.C="#",this.B=n.B,this.j=n.j,s="fragment"}break;case"relative slash":if("/"!=d&&"\\"!=d){"file"!=this.l&&(this.o=n.o,this.v=n.v,this.B=n.B,this.j=n.j),s="relative path";continue}"\\"==d&&i("\\ is an invalid code point."),s="file"==this.l?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=d){i("Expected '/', got: "+d),s="authority ignore slashes";continue}s="authority second slash";break;case"authority second slash":if(s="authority ignore slashes","/"==d)break;i("Expected '/', got: "+d);continue;case"authority ignore slashes":if("/"!=d&&"\\"!=d){s="authority";continue}i("Expected authority, got: "+d);break;case"authority":if("@"==d){for(c&&(i("@ already seen."),l+="%40"),c=!0,d=0;d<l.length;d++)"\t"==(p=l[d])||"\n"==p||"\r"==p?i("Invalid whitespace in authority."):":"==p&&null===this.j?this.j="":(p=Va(p),null!==this.j?this.j+=p:this.B+=p);l=""}else{if(null==d||"/"==d||"\\"==d||"?"==d||"#"==d){a-=l.length,l="",s="host";continue}l+=d}break;case"file host":if(null==d||"/"==d||"\\"==d||"?"==d||"#"==d){s=2!=l.length||!tl.test(l[0])||":"!=l[1]&&"|"!=l[1]?(0!=l.length&&(this.o=Ga.call(this,l),l=""),"relative path start"):"relative path";continue}"\t"==d||"\n"==d||"\r"==d?i("Invalid whitespace in file host."):l+=d;break;case"host":case"hostname":if(":"!=d||h){if(null==d||"/"==d||"\\"==d||"?"==d||"#"==d){if(this.o=Ga.call(this,l),l="",s="relative path start",e)break t;continue}"\t"!=d&&"\n"!=d&&"\r"!=d?("["==d?h=!0:"]"==d&&(h=!1),l+=d):i("Invalid code point in host/hostname: "+d)}else if(this.o=Ga.call(this,l),l="",s="port","hostname"==e)break t;break;case"port":if(/[0-9]/.test(d))l+=d;else{if(null==d||"/"==d||"\\"==d||"?"==d||"#"==d||e){if(""!=l&&((l=parseInt(l,10))!=Ja[this.l]&&(this.v=l+""),l=""),e)break t;s="relative path start";continue}"\t"==d||"\n"==d||"\r"==d?i("Invalid code point in port: "+d):(Ya.call(this),this.m=!0)}break;case"relative path start":if("\\"==d&&i("'\\' not allowed in path."),s="relative path","/"!=d&&"\\"!=d)continue;break;case"relative path":null!=d&&"/"!=d&&"\\"!=d&&(e||"?"!=d&&"#"!=d)?"\t"!=d&&"\n"!=d&&"\r"!=d&&(l+=Va(d)):("\\"==d&&i("\\ not allowed in relative path."),".."==(l=(p=Qa[l.toLowerCase()])?p:l)?(this.s.pop(),"/"!=d&&"\\"!=d&&this.s.push("")):"."==l&&"/"!=d&&"\\"!=d?this.s.push(""):"."!=l&&("file"==this.l&&0==this.s.length&&2==l.length&&tl.test(l[0])&&"|"==l[1]&&(l=l[0]+":"),this.s.push(l)),l="","?"==d?(this.A="?",s="query"):"#"==d&&(this.C="#",s="fragment"));break;case"query":e||"#"!=d?null!=d&&"\t"!=d&&"\n"!=d&&"\r"!=d&&(this.A+=(r=void 0,32<(r=(o=d).charCodeAt(0))&&r<127&&-1==[34,35,60,62,96].indexOf(r)?o:encodeURIComponent(o))):(this.C="#",s="fragment");break;case"fragment":null!=d&&"\t"!=d&&"\n"!=d&&"\r"!=d&&(this.C+=d)}a++}}function Ya(){this.B=this.ya=this.l="",this.j=null,this.v=this.o="",this.s=[],this.C=this.A="",this.H=this.m=!1}function Ka(t,e){void 0===e||e instanceof Ka||(e=new Ka(String(e))),this.g=t,Ya.call(this),Xa.call(this,this.g.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,e)}var Ja,Qa,tl,el,nl;Hi=!1;try{var il=new URL("b","http://a");il.pathname="c%20d",Hi="http://a/c%20d"===il.href}catch(z){}Hi||((Ja=Object.create(null)).ftp=21,Ja.file=0,Ja.gopher=70,Ja.http=80,Ja.https=443,Ja.ws=80,Ja.wss=443,(Qa=Object.create(null))["%2e"]=".",Qa[".%2e"]="..",Qa["%2e."]="..",Qa["%2e%2e"]="..",tl=/[a-zA-Z]/,el=/[a-zA-Z0-9+\-.]/,Ka.prototype={toString:function(){return this.href},get href(){var t;return this.m?this.g:((t="")==this.B&&null==this.j||(t=this.B+(null!=this.j?":"+this.j:"")+"@"),this.protocol+(this.H?"//"+t+this.host:"")+this.pathname+this.A
1+this.C)},set href(t){Ya.call(this),Xa.call(this,t)},get protocol(){return this.l+":"},set protocol(t){this.m||Xa.call(this,t+":","scheme start")},get host(){return this.m?"":this.v?this.o+":"+this.v:this.o},set host(t){!this.m&&this.H&&Xa.call(this,t,"host")},get hostname(){return this.o},set hostname(t){!this.m&&this.H&&Xa.call(this,t,"hostname")},get port(){return this.v},set port(t){!this.m&&this.H&&Xa.call(this,t,"port")},get pathname(){return this.m?"":this.H?"/"+this.s.join("/"):this.ya},set pathname(t){!this.m&&this.H&&(this.s=[],Xa.call(this,t,"relative path start"))},get search(){return this.m||!this.A||"?"==this.A?"":this.A},set search(t){!this.m&&this.H&&((this.A="?")==t[0]&&(t=t.slice(1)),Xa.call(this,t,"query"))},get hash(){return this.m||!this.C||"#"==this.C?"":this.C},set hash(t){this.m||(t?((this.C="#")==t[0]&&(t=t.slice(1)),Xa.call(this,t,"fragment")):this.C="")},get origin(){var t;if(this.m||!this.l)return"";switch(this.l){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this.l+"://"+t:""}},(nl=Mi.URL)&&(Ka.createObjectURL=function(t){return nl.createObjectURL.apply(nl,arguments)},Ka.revokeObjectURL=function(t){nl.revokeObjectURL(t)}),Mi.URL=Ka);var ol=!1,rl=null;function sl(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),rl&&rl(),ol=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}(Li=window.customElements).polyfillWrapFlushCallback&&Li.polyfillWrapFlushCallback(function(t){rl=t,ol&&t()}),"complete"!==document.readyState?(window.addEventListener("load",sl),window.addEventListener("DOMContentLoaded",function(){window.removeEventListener("load",sl),sl()})):sl()}).call(this)}).call(this,n(0),n(4).setImmediate)},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){var o,r;o=t,r=n[e=e],(e=function(t){return"symbol"==i(t=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return String(t);if("object"!=i(n=n.call(t,e)))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string"))?t:String(t)}(e))in o?Object.defineProperty(o,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function s(t){var e="",n="",i="",o="";if(void 0===t)i="load",e="window";else{o=t.target.textContent,i=t.type,n=t.target.href;var r=t.target.parentNode;if("click"==t.type){for(;void 0===n&&null!=r&&r!=window;)if(n=r.href,void 0===(r=r.parentNode))return null;if(void 0===n)return null}t.target.outerHTML&&(e=t.target.outerHTML)}return{eventType:encodeURIComponent(i),element:encodeURIComponent(e),elementTitle:encodeURIComponent(o),pageName:encodeURIComponent(document.title),pageUrl:encodeURIComponent(document.location.href),targetUrl:encodeURIComponent(n),timeStamp:(new Date).getTime()}}function a(t){return'\n <h2 class="fant-du__heading">\n '.concat(t.title,"\n </h2>\n \n ").concat(t.showYesNo?'\n <div class="fant-du__buttons">\n <button id="'.concat(h.YES,'" class="fant-du__button fant-du__button--yes" type="button">\n Ja\n </button>\n \n <button id="').concat(h.NO,'" class="fant-du__button fant-du__button--no" type="button">\n Nei\n </button>\n </div> \n '):"","\n \n ").concat(t.showFeedback?'<div id="'.concat(h.FEEDBACK,'" class="fant-du__center">\n ').concat(t.preTextareaText?'<label class="fant-du__mb-10" for="'.concat(h.TEXT,'">').concat(t.preTextareaText,"</label>"):"","\n ").concat(t.askForEmail?'<p><input value="" placeholder="Oppgi e-post om du ønsker tilbakemelding" id="fantdu-email" class="fant-du__input"></p>':"",'\n <textarea id="').concat(h.TEXT,'" class="fant-du__textarea" cols="40" rows="5" placeholder="').concat(t.placeholderText,'"></textarea>\n ').concat(t.postTextareaText?'<div class="fant-du__mb-30">'.concat(t.postTextareaText,"</div>"):"",'\n <div>\n <button id="').concat(h.SUBMIT,'" class="fant-du__button fant-du__button--submit" type="button">\n Send inn svar\n </button>\n </div>\n </div>'):"","\n \n ").concat(t.showReceipt?"".concat(t.hideReceiptText?"":"".concat('\n <article class="fant-du__receipt">\n Ditt svar kan være med på å gjøre nettsiden bedre.\n Vi svarer ikke på henvendelser herfra.\n </article>\n ')):"","\n \n ").concat(t.isError?'\n <article class="fant-du__receipt">\n '.concat(t.errorMessage,"\n </article>\n "):"","\n ")}n.r(e),n(6),n(9),n(10);var l=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:function(){},n=t;return{update:function(t,i){n=r(r({},n),t),i||e()},get:function(){return n}}},c={get:function(t){for(var e=document.cookie.split(";"),n=new RegExp(t+"="),i=0;i<e.length;i++)if(n.test(e[i]))return e[i].split(t+"=")[1];return!1},update:function(t,e){var n=JSON.parse(this.get(t));0!=n&&void 0!==e&&""!=e&&null!=e&&(e&&n[n.length-1]&&(e.timeOut=e.timeStamp-n[n.length-1].timeStamp),n.push(e),e=JSON.stringify(n),(n=new Date).setMinutes(n.getMinutes()+30),n=n.toUTCString(),document.cookie=t+"="+e+";path=/;expires="+n)},reset:function(t){document.cookie=t+"=;path=/;expires="+(new Date).toUTCString()},previous:function(t,e){return(t=JSON.parse(this.get(t)))[t.length-1+e]},pageLoad:function(t,e){var n=[];n.push(t),t=JSON.stringify(n);document.cookie=e+"="+t+";path=/;"}},h={ROOT:"root",YES:"ja",NO:"nei",TEXT:"text",FEEDBACK:"feedback",SUBMIT:"submit"};function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,function(t){return"symbol"==u(t=function(t,e){if("object"!=u(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return String(t);if("object"!=u(n=n.call(t,e)))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string"))?t:String(t)}(i.key),i)}}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}function m(t,e){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function g(t,e){return"\n .fant-du__button--".concat(t,"{\n border-color:").concat(e,";\n }\n \n .fant-du__button--").concat(t,":hover,\n .fant-du__button--").concat(t,":focus{\n background-color:").concat(e,";\n }\n")}var y=function(t){var e=document.createElement("template");return e.innerHTML=t,e}("\n <style>\n ".concat(":host{\n display:block;\n min-width:320px;\n}\n\n.fant-du__center{\n text-align:center;\n}\n\n.fant-du__heading{\n font-family: inherit;\n font-size: 24px;\n font-weight: bold;\n font-style: normal;\n font-stretch: normal;\n line-height: 1.5;\n letter-spacing: normal;\n text-align: center;\n color: #1e1e1e;\n margin-bottom:15px;\n}\n\n.fant-du__buttons{\n display:flex;\n justify-content:center;\n margin: 0 auto;\n}\n\n.fant-du__button{\n border: none;\n padding: 12px 0;\n width: 112px;\n\n border-radius:4px;\n border: 3px solid #fff;\n font-family: inherit;\n font-size: 18px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #1e1e1e;\n background:#fff;\n}\n\n.fant-du__textarea{\n border-radius: 4px;\n background-color: rgba(112, 112, 112, 0.05);\n border:1px solid #555555;\n padding:14px 16px;\n font-family: inherit;\n font-size: 16px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: 1.5;\n letter-spacing: normal;\n color: #555555;\n margin: 2px 2px 20px 2px;\n}\n\n.fant-du__input{\n border-radius: 4px;\n background-color: rgba(112, 112, 112, 0.05);\n border:1px solid #555555;\n padding:14px 16px;\n font-family: inherit;\n font-size: 16px;\n font-weight: normal;\n font-style: normal;\n min-width: 340px;\n font-stretch: normal;\n line-height: 1.5;\n letter-spacing: normal;\n color: #555555;\n margin: 2px 2px 20px 2px;\n}\n.fant-du__receipt{\n font-family: inherit;\n font-size: 16px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: 1.5;\n letter-spacing: normal;\n text-align: center;\n color: #1e1e1e;\n}\n\n.fant-du__textarea:focus{\n border: 3px solid #385dff;\n outline:none;\n margin: 0 0 17px 0;\n}\n\n.fant-du__button:hover{\n cursor:pointer;\n}\n\n.fant-du__button--yes{\n border-color:#008800;\n margin-right:25px;\n}\n\n.fant-du__button--yes:hover,\n.fant-du__button--yes:focus{\n background-color:#008800;\n color:#fff;\n}\n\n.fant-du__button--yes:active{\n border-radius: 4px;\n border-color: rgba(0,0,0,0.25);\n outline:0;\n}\n\n.fant-du__button--no{\n border-color:#cc0000;\n}\n\n.fant-du__button--no:hover,\n.fant-du__button--no:focus{\n background-color:#cc0000;\n color:#fff;\n}\n\n.fant-du__button--no:active{\n border-radius: 4px;\n border-color: #950000;\n outline:0;\n}\n\n.fant-du__button--submit{\n border-color:#385dff;\n background:#385dff;\n color:#fff;\n width: 170px;\n display:block;\n margin: 0 auto;\n}\n\n.fant-du__button--submit:hover,\n.fant-du__button--submit:focus{\n background-color:#1b41eb;\n}\n\n.fant-du__button--submit:active{\n border-radius: 4px;\n border-color: #01146c;\n outline:0;\n}\n\n.fant-du__mb-10{\n margin-bottom:10px !important;\n}\n.fant-du__mb-30{\n margin-bottom:30px !important;\n}","\n </style>\n \n <div id=").concat(h.ROOT,">\n </div>\n"));e=function(t){var e,n=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");function i(){var t;if(this instanceof i)return(t=function(t,e,n){e=_(e);var i=t;if((e=f()?Reflect.construct(e,n||[],_(t).constructor):e.apply(t,n))&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return p(i)}(this,i)).attachShadow({mode:"open"}).innerHTML=y.innerHTML,t.root=t.shadowRoot.querySelector("#root"),t.feedback=t.shadowRoot.querySelector("#feedback"),t.postMessage="Takk for tilbakemeldingen!",t.onYesCallback=function(){},t.onNoCallback=function(){},t.onSubmitSuccessCallback=function(){},t.onSubmitFailCallback=function(){},t.clickhandler=t.clickhandler.bind(p(t)),t.keyhandler=t.keyhandler.bind(p(t)),t.submit=t.submit.bind(p(t)),t.globalClickHandler=t.globalClickHandler.bind(p(t)),t.state=l({title:"Fant du det du lette etter?",placeholderText:"Skriv din melding her",secondTitle:"Hva lette du etter?",text:"",isError:!1,errorMessage:"Feil ved innsending, vennligst ta kontakt med din leverandør.",isPositive:!1,showFeedback:!1,showYesNo:!0,showReceipt:!1,hideReceiptText:!1,preTextareaText:"Vi minner om å ikke dele sensitive personopplysninger. Tilbakemeldinger via denne tjenesten brukes for å forbedre innholdet på nettsiden, og vil ikke bli besvart.",postTextareaText:""},function(){this.root.innerHTML="",this.root.insertAdjacentHTML("beforeend",a(this.state.get()))}.bind(p(t))),t.root.innerHTML="",t.root.insertAdjacentHTML("beforeend",a(t.state.get())),window.ShadyCSS&&ShadyCSS.prepareTemplate(y,"fant-du"),t;throw new TypeError("Cannot call a class as a function")}return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&m(n,t),n=i,t=[{key:"observedAttributes",get:function(){return["css","url","traceId","client","title-text","placeholder-text","post-title-tex","second-title-text","post-message","yes-color","no-color","skip-yes-no","error-title","error-message","onyes","onno","onsubmitsuccess","onsubmitfail","hide-receipt-text","ask-for-email","pre-textarea-text","post-textarea-text"]}},{key:"startTrace",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"ssp_fantdu",e=2<arguments.length?arguments[2]:void 0,n=(c.get(t)||(n=s(e),c.pageLoad(n,t)),c.previous(t,0));n&&decodeURIComponent(n.targetUrl)!=location.href&&decodeURIComponent(n.pageUrl)!=location.href&&(n=s(e),c.update(t,n)),document.body.addEventListener("click",function(e){e=s(e),c.update(t,e)})}}],(e=[{key:"attributeUpdate",value:function(){var t=this["yes-color"],e=this["no-color"],n=this["title-text"],i=this["placeholder-text"],o=this["second-title-text"],r=this["post-message"],s=this.css,a=this["ski
1p-yes-no"],l=this.onyes,c=this.onno,h=this.onsubmitsuccess,u=this.onsubmitfail,d=this["hide-receipt-text"],p=this["pre-textarea-text"],f=this["ask-for-email"],m=this["post-textarea-text"];n&&this.state.update({title:n}),i&&this.state.update({placeholderText:i}),o&&this.state.update({secondTitle:o}),r&&(this.postMessage=r),t&&((n=document.createElement("style")).innerHTML=g("yes",t),this.shadowRoot.appendChild(n)),e&&((i=document.createElement("style")).innerHTML=g("no",e),this.shadowRoot.appendChild(i)),s&&((o=document.createElement("style")).innerHTML=s,this.shadowRoot.appendChild(o)),a&&"true"===a&&this.state.update({showYesNo:"false"===a,showFeedback:!0,isPositive:!1}),l&&(this.onYesCallback=window[l]),c&&(this.onNoCallback=window[c]),h&&(this.onSubmitSuccessCallback=window[h]),u&&(this.onSubmitFailCallback=window[u]),d&&this.state.update({hideReceiptText:"true"===d}),p&&this.state.update({preTextareaText:p}),f&&this.state.update({askForEmail:f}),m&&this.state.update({postTextareaText:m})}},{key:"clickhandler",value:function(t){var e=h.YES,n=h.NO,i=h.SUBMIT;switch(t.target.id){case e:return this.state.update({title:this.state.get().secondTitle,showFeedback:!0,showYesNo:!1,isPositive:!0}),this.onYesCallback&&this.onYesCallback();case n:return this.state.update({title:this.state.get().secondTitle,showFeedback:!0,showYesNo:!1,isPositive:!1}),this.onNoCallback&&this.onNoCallback();case i:return this.submit(t),this.state.update({title:this.postMessage,showFeedback:!1,showYesNo:!1,showReceipt:!0})}}},{key:"keyhandler",value:function(t){t.target.id===h.TEXT&&this.state.update({text:t.target.value},!0)}},{key:"globalClickHandler",value:function(t){c.get(this.traceId)||(e=s(t),c.pageLoad(e,this.traceId));var e=c.previous(this.traceId,0);e&&decodeURIComponent(e.targetUrl)!=location.href&&decodeURIComponent(e.pageUrl)!=location.href&&(e=s(t),c.update(this.traceId,e))}},{key:"submit",value:function(t){var e,n,i,o=this,r=this["error-title"],s=this["error-message"];c.update(this.traceId,(n=t.target.textContent,i=t.type,e=t.target.href,{eventType:encodeURIComponent(i),elementTitle:encodeURIComponent(n),pageName:encodeURIComponent(document.title),pageUrl:encodeURIComponent(document.location.href),targetUrl:encodeURIComponent(e),timeStamp:(new Date).getTime()})),t={client:this.client,isPositive:this.state.get().isPositive,score:null,comment:this.state.get().text,trace:JSON.parse(c.get(this.traceId))};fetch(this.url,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}}).then(function(t){if(200!==t.status)throw new Error("Feil ved innsending");return t}).then(function(t){return t.json()}).then(function(t){console.log(t),c.reset(o.traceId),o.onSubmitSuccessCallback&&o.onSubmitSuccessCallback(t)}).catch(function(t){c.reset(o.traceId),o.state.update({title:r||"Feil ved innsending",showReceipt:!1,errorMessage:s||"Feil ved innsending vennligsts ta kontakt med din leverandør.",isError:!0}),o.onSubmitFailCallback&&o.onSubmitFailCallback(t)})}},{key:"addEventListener",value:function(){this.root.addEventListener("click",this.clickhandler),this.root.addEventListener("keyup",this.keyhandler),"loading"==document.readyState?document.addEventListener("DOMContentLoaded",this.globalClickHandler):this.globalClickHandler()}},{key:"removeEventListener",value:function(){this.root.removeEventListener("click",this.clickhandler),this.root.removeEventListener("keyup",this.keyhandler),document.removeEventListener("DOMContentLoaded",this.globalClickHandler)}},{key:"url",get:function(){return this.getAttribute("url")},set:function(t){this.setAttribute("url",t)}},{key:"client",get:function(){return this.getAttribute("client")},set:function(t){this.setAttribute("client",t)}},{key:"traceId",get:function(){return this.getAttribute("traceId")},set:function(t){this.setAttribute("traceId",t)}},{key:"connectedCallback",value:function(){this.traceId||(this.traceId="ssp_fantdu"),this.url||(this.url="//ssp-fantdu.azurewebsites.net/api/feedback"),this.client||(this.client="defaultClient"),this.addEventListener(),this.attributeUpdate(),window.ShadyCSS&&ShadyCSS.styleElement(this)}},{key:"disconnectedCallback",value:function(){this.removeEventListener()}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&(this[t]=n,this.attributeUpdate())}}])&&d(n.prototype,e),t&&d(n,t),Object.defineProperty(n,"prototype",{writable:!1}),i}(function(t){var e="function"==typeof Map?new Map:void 0;return function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){var i;return f()?Reflect.construct.apply(null,arguments):((i=[null]).push.apply(i,e),e=new(t.bind.apply(t,i)),n&&m(e,n.prototype),e)}(t,arguments,_(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),m(n,t)}(t)}(HTMLElement));window.FantDu=e,window.customElements.define("fant-du",e)}]),function(t,e,n){"use strict";L.AwesomeMarkers={},L.AwesomeMarkers.version="1.0",L.AwesomeMarkers.Icon=L.Icon.extend({options:{iconSize:[35,45],iconAnchor:[17,42],popupAnchor:[1,-32],shadowAnchor:[10,12],shadowSize:[36,16],className:"awesome-marker",prefix:"glyphicon",spinClass:"fa-spin",icon:"home",markerColor:"blue",iconColor:"white"},initialize:function(t){t=L.Util.setOptions(this,t)},createIcon:function(){var t=e.createElement("div"),n=this.options;return n.icon&&(t.innerHTML=this._createInner()),n.bgPos&&(t.style.backgroundPosition=-n.bgPos.x+"px "+-n.bgPos.y+"px"),this._setIconStyles(t,"icon-"+n.markerColor),t},_createInner:function(){var t,e="",n="",i="",o=this.options;return t=o.icon.slice(0,o.prefix.length+1)===o.prefix+"-"?o.icon:o.prefix+"-"+o.icon,o.spin&&"string"==typeof o.spinClass&&(e=o.spinClass),o.iconColor&&("white"===o.iconColor||"black"===o.iconColor?n="icon-"+o.iconColor:i="style='color: "+o.iconColor+"' "),"<i "+i+"class='"+o.prefix+" "+t+" "+e+" "+n+"'></i>"},_setIconStyles:function(t,e){var n,i=this.options,o=L.point(i["shadow"===e?"shadowSize":"iconSize"]);!(n="shadow"===e?L.point(i.shadowAnchor||i.iconAnchor):L.point(i.iconAnchor))&&o&&(n=o.divideBy(2,!0)),t.className="awesome-marker-"+e+" "+i.className,n&&(t.style.marginLeft=-n.x+"px",t.style.marginTop=-n.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},createShadow:function(){var t=e.createElement("div");return this._setIconStyles(t,"shadow"),t}}),L.AwesomeMarkers.icon=function(t){return new L.AwesomeMarkers.Icon(t)}}(0,document);var sspModules={init:void 0,run:function(){},cookieWrite:function(t,e,n,i,o){var r="";if(n){var s=new Date;s.setTime(s.getTime()+24*n*60*60*1e3),r="; expires="+s.toUTCString()}void 0===o&&(o=""),document.cookie=t+"="+e+r+"; path=/"+o,"function"==typeof i&&i()},cookieRead:function(t){for(var e=t+"=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var o=n[i];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return null},cookieDelete:function(t,e,n){void 0===n&&(n=""),sspModules.cookieWrite(t,"",-1,e,n)},getUrlParam:function(t){var e=t?t.split("?")[1]:window.location.search.slice(1),n={};if(e)for(var i=(e=e.split("#")[0]).split("&"),o=0;o<i.length;o++){var r=i[o].split("="),s=void 0,a=r[0].replace(/\[\d*\]/,function(t){return s=t.slice(1,-1),""}),l=void 0===r[1]||r[1];a=a.toLowerCase(),l=l.toLowerCase(),n[a]?("string"==typeof n[a]&&(n[a]=[n[a]]),void 0===s?n[a].push(l):n[a][s]=l):n[a]=l}return n},showRunetimeBar:function(){}};!function(t,e,n,i){"use strict";if(n){var o,r={speed:330,loop:!0,opacity:"auto",margin:[44,0],gutter:30,infobar:!0,buttons:!0,slideShow:!0,fullScreen:!0,thumbs:!0,closeBtn:!0,smallBtn:"auto",image:{preload:"auto",protect:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>',preload:!0,scrolling:"no",css:{}},baseClass:"",slideClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-controls"><div class="fancybox-infobar"><button data-fancybox-previous class="fancybox-button fancybox-button--left" title="Previous"></button><div class="fancybox-infobar__body"><span class="js-fancybox-index"></span> / <span class="js-fancybox-count"></span></div><button data-fancybox-next class="fancybox-button fancybox-button--right" title="Next"></button></div><div class="fancybox-buttons"><button data-fancybox-close class="fancybox-button fancybox-button--close" title="Close (Esc)"></button></div></div><div class="fancybox-slider-wrap"><div class="fancybox-slider"></div></div><div class="fancybox-caption-wrap"><div class="fancybox-caption"></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>The requested content cannot be loaded. <br /> Please try again later.<p></div>',closeTpl:'<button data-fancybox-close class="fancybox-close-small"></button>',parentEl:"body",touch:!0,keyboard:!0,focus:!0,closeClickOutside:!0,beforeLoad:n.noop,afterLoad:n.noop,beforeMove:n.noop,afterMove:n.noop,onComplete:n.noop,onInit:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop},s=n(t),a=n(e),l=0,c=function(t){return t&&t.hasOwnProperty&&t instanceof n},h=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(e){t.setTimeout(e,1e3/60)},u=function(t,i,o){this.opts=n.extend(!0,{index:o},r,i||{}),this.id=this.opts.id||++l,this.group=[],this.currIndex=parseInt(this.opts.index,10)||0,this.prevIndex=null,this.prevPos=null,this.currPos=0,this.firstRun=null,this.createGroup(t),this.group.length&&(this.$lastFocus=n(e.activeElement).blur(),this.slides={},this.init(t))};n.extend(u.prototype,{init:function(){var t,e,i=!1;this.scrollTop=a.scrollTop(),this.scrollLeft=a.scrollLeft(),n.fancybox.getInstance()||(t=n("body").width(),n("html").addClass("fancybox-enabled"),n.fancybox.isTouch?(n.each(this.group,function(t,e){if("image"!==e.type&&"iframe"!==e.type)return i=!0,!1}),i&&n("body").css({position:"fixed",width:t,top:-1*this.scrollTop})):(t=n("body").width()-t)>1&&n('<style id="fancybox-noscroll" type="text/css">').html(".compensate-for-scrollbar, .fancybox-enabled body { margin-right: "+t+"px; }").appendTo("head")),e=n(this.opts.baseTpl).attr("id","fancybox-container-"+this.id
1).data("FancyBox",this).addClass(this.opts.baseClass).hide().prependTo(this.opts.parentEl),this.$refs={container:e,bg:e.find(".fancybox-bg"),controls:e.find(".fancybox-controls"),buttons:e.find(".fancybox-buttons"),slider_wrap:e.find(".fancybox-slider-wrap"),slider:e.find(".fancybox-slider"),caption:e.find(".fancybox-caption")},this.trigger("onInit"),this.activate(),this.current||this.jumpTo(this.currIndex)},createGroup:function(t){var e=this,i=n.makeArray(t);n.each(i,function(t,i){var o,r,s,a,l={},c={},h=[];n.isPlainObject(i)?(l=i,c=i.opts||{}):"object"===n.type(i)&&n(i).length?(c="options"in(h=(o=n(i)).data())?h.options:{},c="object"===n.type(c)?c:{},l.type="type"in h?h.type:c.type,l.src="src"in h?h.src:c.src||o.attr("href"),c.width="width"in h?h.width:c.width,c.height="height"in h?h.height:c.height,c.thumb="thumb"in h?h.thumb:c.thumb,c.selector="selector"in h?h.selector:c.selector,"srcset"in h&&(c.image={srcset:h.srcset}),c.$orig=o):l={type:"html",content:i+""},l.opts=n.extend(!0,{},e.opts,c),r=l.type,s=l.src||"",r||(l.content?r="html":s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?r="image":s.match(/\.(pdf)((\?|#).*)?$/i)?r="pdf":"#"===s.charAt(0)&&(r="inline"),l.type=r),l.index=e.group.length,l.opts.$orig&&!l.opts.$orig.length&&delete l.opts.$orig,!l.opts.$thumb&&l.opts.$orig&&(l.opts.$thumb=l.opts.$orig.find("img:first")),l.opts.$thumb&&!l.opts.$thumb.length&&delete l.opts.$thumb,"function"===n.type(l.opts.caption)?l.opts.caption=l.opts.caption.apply(i,[e,l]):"caption"in h?l.opts.caption=h.caption:c.$orig&&(l.opts.caption=o.attr("title")),l.opts.caption=void 0===l.opts.caption?"":l.opts.caption+"","ajax"===r&&(a=s.split(/\s+/,2)).length>1&&(l.src=a.shift(),l.opts.selector=a.shift()),"auto"==l.opts.smallBtn&&(n.inArray(r,["html","inline","ajax"])>-1?(l.opts.buttons=!1,l.opts.smallBtn=!0):l.opts.smallBtn=!1),"pdf"===r&&(l.type="iframe",l.opts.closeBtn=!0,l.opts.smallBtn=!1,l.opts.iframe.preload=!1),l.opts.modal&&n.extend(!0,l.opts,{infobar:0,buttons:0,keyboard:0,slideShow:0,fullScreen:0,closeClickOutside:0}),e.group.push(l)})},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),e.close(t)}).on("click.fb-previous","[data-fancybox-previous]",function(t){t.stopPropagation(),t.preventDefault(),e.previous()}).on("click.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),e.next()}),n(t).on("orientationchange.fb resize.fb",function(t){h(function(){t&&t.originalEvent&&"resize"===t.originalEvent.type?e.update():(e.$refs.slider_wrap.hide(),h(function(){e.$refs.slider_wrap.show(),e.update()}))})}),a.on("focusin.fb",function(t){var i=n.fancybox?n.fancybox.getInstance():null;!i||n(t.target).hasClass("fancybox-container")||n.contains(i.$refs.container[0],t.target)||(t.stopPropagation(),i.focus(),s.scrollTop(e.scrollTop).scrollLeft(e.scrollLeft))}),a.on("keydown.fb",function(t){var i=e.current,o=t.keyCode||t.which;if(i&&i.opts.keyboard&&!n(t.target).is("input")&&!n(t.target).is("textarea")){if(8===o||27===o)return t.preventDefault(),void e.close(t);switch(o){case 37:case 38:t.preventDefault(),e.previous();break;case 39:case 40:t.preventDefault(),e.next();break;case 80:case 32:t.preventDefault(),e.SlideShow&&(t.preventDefault(),e.SlideShow.toggle());break;case 70:e.FullScreen&&(t.preventDefault(),e.FullScreen.toggle());break;case 71:e.Thumbs&&(t.preventDefault(),e.Thumbs.toggle())}}})},removeEvents:function(){s.off("scroll.fb resize.fb orientationchange.fb"),a.off("keydown.fb focusin.fb click.fb-close"),this.$refs.container.off("click.fb-close click.fb-previous click.fb-next")},previous:function(t){this.jumpTo(this.currIndex-1,t)},next:function(t){this.jumpTo(this.currIndex+1,t)},jumpTo:function(t,e){var n,i,o,r,s=this;if(n=s.firstRun=null===s.firstRun,i=o=t=parseInt(t,10),r=!!s.current&&s.current.opts.loop,!s.isAnimating&&(i!=s.currIndex||n)){if(s.group.length>1&&r)i=(i%=s.group.length)<0?s.group.length+i:i,2==s.group.length?o=t-s.currIndex+s.currPos:(o=i-s.currIndex+s.currPos,Math.abs(s.currPos-(o+s.group.length))<Math.abs(s.currPos-o)?o+=s.group.length:Math.abs(s.currPos-(o-s.group.length))<Math.abs(s.currPos-o)&&(o-=s.group.length));else if(!s.group[i])return void s.update(!1,!1,e);s.current&&(s.current.$slide.removeClass("fancybox-slide--current fancybox-slide--complete"),s.updateSlide(s.current,!0)),s.prevIndex=s.currIndex,s.prevPos=s.currPos,s.currIndex=i,s.currPos=o,s.current=s.createSlide(o),s.group.length>1&&((s.opts.loop||o-1>=0)&&s.createSlide(o-1),(s.opts.loop||o+1<s.group.length)&&s.createSlide(o+1)),s.current.isMoved=!1,s.current.isComplete=!1,e=parseInt(void 0===e?1.5*s.current.opts.speed:e,10),s.trigger("beforeMove"),s.updateControls(),n&&(s.current.$slide.addClass("fancybox-slide--current"),s.$refs.container.show(),h(function(){s.$refs.bg.css("transition-duration",s.current.opts.speed+"ms"),s.$refs.container.addClass("fancybox-container--ready")})),s.update(!0,!1,n?0:e,function(){s.afterMove()}),s.loadSlide(s.current),n&&s.current.$ghost||s.preload()}},createSlide:function(t){var e,i,o;if(i=(i=t%this.group.length)<0?this.group.length+i:i,!this.slides[t]&&this.group[i]){if(this.opts.loop&&this.group.length>2)for(var r in this.slides)if(this.slides[r].index===i)return(o=this.slides[r]).pos=t,this.slides[t]=o,delete this.slides[r],this.updateSlide(o),o;e=n('<div class="fancybox-slide"></div>').appendTo(this.$refs.slider),this.slides[t]=n.extend(!0,{},this.group[i],{pos:t,$slide:e,isMoved:!1,isLoaded:!1})}return this.slides[t]},zoomInOut:function(i,o,r){var s,a,l,c,h,u=this,d=u.current,p=d.$placeholder,f=d.opts.opacity,m=d.opts.$thumb,_=m?m.offset():0,g=d.$slide.offset();return!!(p&&d.isMoved&&_&&(c=m,"function"==typeof n&&c instanceof n&&(c=c[0]),(h=c.getBoundingClientRect()).bottom>0&&h.right>0&&h.left<(t.innerWidth||e.documentElement.clientWidth)&&h.top<(t.innerHe
1ight||e.documentElement.clientHeight)))&&(!("In"===i&&!u.firstRun)&&(n.fancybox.stop(p),u.isAnimating=!0,s={top:_.top-g.top+parseFloat(m.css("border-top-width")||0),left:_.left-g.left+parseFloat(m.css("border-left-width")||0),width:m.width(),height:m.height(),scaleX:1,scaleY:1},"auto"==f&&(f=Math.abs(d.width/d.height-s.width/s.height)>.1),"In"===i?(a=s,(l=u.getFitPos(d)).scaleX=l.width/a.width,l.scaleY=l.height/a.height,f&&(a.opacity=.1,l.opacity=1)):(a=n.fancybox.getTranslate(p),l=s,d.$ghost&&(d.$ghost.show(),d.$image&&d.$image.remove()),a.scaleX=a.width/l.width,a.scaleY=a.height/l.height,a.width=l.width,a.height=l.height,f&&(l.opacity=0)),u.updateCursor(l.width,l.height),delete l.width,delete l.height,n.fancybox.setTranslate(p,a),p.show(),u.trigger("beforeZoom"+i),p.css("transition","all "+o+"ms"),n.fancybox.setTranslate(p,l),setTimeout(function(){var t;p.css("transition","none"),(t=n.fancybox.getTranslate(p)).scaleX=1,t.scaleY=1,n.fancybox.setTranslate(p,t),u.trigger("afterZoom"+i),r.apply(u),u.isAnimating=!1},o),!0))},canPan:function(){var t=this.current,e=t.$placeholder,n=!1;return e&&(n=this.getFitPos(t),n=Math.abs(e.width()-n.width)>1||Math.abs(e.height()-n.height)>1),n},isScaledDown:function(){var t=this.current,e=t.$placeholder,i=!1;return e&&(i=(i=n.fancybox.getTranslate(e)).width<t.width||i.height<t.height),i},scaleToActual:function(t,e,i){var o,r,s,a,l,c=this,h=c.current,u=h.$placeholder,d=parseInt(h.$slide.width(),10),p=parseInt(h.$slide.height(),10),f=h.width,m=h.height;u&&(c.isAnimating=!0,t=void 0===t?.5*d:t,e=void 0===e?.5*p:e,a=f/(o=n.fancybox.getTranslate(u)).width,l=m/o.height,r=.5*d-.5*f,s=.5*p-.5*m,f>d&&((r=o.left*a-(t*a-t))>0&&(r=0),r<d-f&&(r=d-f)),m>p&&((s=o.top*l-(e*l-e))>0&&(s=0),s<p-m&&(s=p-m)),c.updateCursor(f,m),n.fancybox.animate(u,null,{top:s,left:r,scaleX:a,scaleY:l},i||h.opts.speed,function(){c.isAnimating=!1}))},scaleToFit:function(t){var e,i=this,o=i.current,r=o.$placeholder;r&&(i.isAnimating=!0,e=i.getFitPos(o),i.updateCursor(e.width,e.height),n.fancybox.animate(r,null,{top:e.top,left:e.left,scaleX:e.width/r.width(),scaleY:e.height/r.height()},t||o.opts.speed,function(){i.isAnimating=!1}))},getFitPos:function(t){var e,i,o,r,a,l=t.$placeholder||t.$content,c=t.width,h=t.height,u=t.opts.margin;return!(!l||!l.length||!c&&!h)&&("number"===n.type(u)&&(u=[u,u]),2==u.length&&(u=[u[0],u[1],u[0],u[1]]),s.width()<800&&(u=[0,0,0,0]),e=parseInt(t.$slide.width(),10)-(u[1]+u[3]),i=parseInt(t.$slide.height(),10)-(u[0]+u[2]),o=Math.min(1,e/c,i/h),r=Math.floor(o*c),a=Math.floor(o*h),{top:Math.floor(.5*(i-a))+u[0],left:Math.floor(.5*(e-r))+u[3],width:r,height:a})},update:function(t,e,i,o){var r,s=this;!0!==s.isAnimating&&s.current&&(r=s.current.pos*Math.floor(s.current.$slide.width())*-1-s.current.pos*s.current.opts.gutter,i=parseInt(i,10)||0,n.fancybox.stop(s.$refs.slider),!1===t?s.updateSlide(s.current,e):n.each(s.slides,function(t,n){s.updateSlide(n,e)}),i?n.fancybox.animate(s.$refs.slider,null,{top:0,left:r},i,function(){s.current.isMoved=!0,"function"===n.type(o)&&o.apply(s)}):(n.fancybox.setTranslate(s.$refs.slider,{top:0,left:r}),s.current.isMoved=!0,"function"===n.type(o)&&o.apply(s)))},updateSlide:function(t,e){var i,o=t.$placeholder;(t=t||this.current)&&!this.isClosing&&((i=t.pos*Math.floor(t.$slide.width())+t.pos*t.opts.gutter)!==t.leftPos&&(n.fancybox.setTranslate(t.$slide,{top:0,left:i}),t.leftPos=i),!1!==e&&o&&(n.fancybox.setTranslate(o,this.getFitPos(t)),t.pos===this.currPos&&this.updateCursor()),t.$slide.trigger("refresh"),this.trigger("onUpdate",t))},updateCursor:function(t,e){var n=this.$refs.container.removeClass("fancybox-controls--canzoomIn fancybox-controls--canzoomOut fancybox-controls--canGrab");!this.isClosing&&this.opts.touch&&((void 0!==t&&void 0!==e?t<this.current.width&&e<this.current.height:this.isScaledDown())?n.addClass("fancybox-controls--canzoomIn"):this.group.length<2?n.addClass("fancybox-controls--canzoomOut"):n.addClass("fancybox-controls--canGrab"))},loadSlide:function(t){var e,i,o,r=this;if(t&&!t.isLoaded&&!t.isLoading){switch(t.isLoading=!0,r.trigger("beforeLoad",t),e=t.type,(i=t.$slide).off("refresh").trigger("onReset").addClass("fancybox-slide--"+(e||"unknown")).addClass(t.o
1pts.slideClass),e){case"image":r.setImage(t);break;case"iframe":r.setIframe(t);break;case"html":r.setContent(t,t.content);break;case"inline":n(t.src).length?r.setContent(t,n(t.src)):r.setError(t);break;case"ajax":r.showLoading(t),o=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&r.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&r.setError(t)}})),i.one("onReset",function(){o.abort()});break;default:r.setError(t)}return!0}},setImage:function(e){var i,o,r,s,a=this,l=e.opts.image.srcset;if(!e.isLoaded||e.hasError){if(l){r=t.devicePixelRatio||1,s=t.innerWidth*r,(o=l.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var i=parseInt(t.substring(0,t.length-1),10);if(0===n)return e.url=t;i&&(e.value=i,e.postfix=t[t.length-1])}),e})).sort(function(t,e){return t.value-e.value});for(var c=0;c<o.length;c++){var h=o[c];if("w"===h.postfix&&h.value>=s||"x"===h.postfix&&h.value>=r){i=h;break}}!i&&o.length&&(i=o[o.length-1]),i&&(e.src=i.url,e.width&&e.height&&"w"==i.postfix&&(e.height=e.width/e.height*i.value,e.width=i.value))}e.$placeholder=n('<div class="fancybox-placeholder"></div>').hide().appendTo(e.$slide),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&(e.opts.thumb||e.opts.$thumb)?(e.width=e.opts.width,e.height=e.opts.height,e.$ghost=n("<img />").one("load error",function(){a.isClosing||(n("<img/>")[0].src=e.src,a.revealImage(e,function(){a.setBigImage(e),a.firstRun&&e.index===a.currIndex&&a.preload()}))}).addClass("fancybox-image").appendTo(e.$placeholder).attr("src",e.opts.thumb||e.opts.$thumb.attr("src"))):a.setBigImage(e)}else a.afterLoad(e)},setBigImage:function(t){var e=this,i=n("<img />");t.$image=i.one("error",function(){e.setError(t)}).one("load",function(){clearTimeout(t.timouts),t.timouts=null,e.isClosing||(t.width=this.naturalWidth,t.height=this.naturalHeight,t.opts.image.srcset&&i.attr("sizes","100vw").attr("srcset",t.opts.image.srcset),e.afterLoad(t),t.$ghost&&(t.timouts=setTimeout(function(){t.$ghost.hide()},350)))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$placeholder),i[0].complete?i.trigger("load"):i[0].error?i.trigger("error"):t.timouts=setTimeout(function(){i[0].complete||t.hasError||e.showLoading(t)},150),t.opts.image.protect&&n('<div class="fancybox-spaceball"></div>').appendTo(t.$placeholder).on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0})},revealImage:function(t,e){e=e||n.noop,"image"!==t.type||t.hasError||!0===t.isRevealed?e.apply(this):(t.isRevealed=!0,t.pos===this.currPos&&this.zoomInOut("In",t.opts.speed,e)||(t.$ghost&&!t.isLoaded&&this.updateSlide(t,!0),t.pos===this.currPos?n.fancybox.animate(t.$placeholder,{opacity:0},{opacity:1},300,e):t.$placeholder.show(),e.apply(this)))},setIframe:function(t){var e,i=this,o=t.opts.iframe,r=t.$slide;t.$content=n('<div class="fancybox-content"></div>').css(o.css).appendTo(r),e=n(o.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",n.fancybox.isTouch?"auto":o.scrolling).appendTo(t.$content),o.preload?(t.$content.addClass("fancybox-tmp"),i.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),i.afterLoad(t)}),r.on("refresh.fb",function(){var n,i,r,s,a=t.$content;if(1===e[0].isReady){try{n=e.contents().find("body")}catch(t){}n&&n.length&&(void 0===o.css.width||void 0===o.css.height)&&(i=e[0].contentWindow.document.documentElement.scrollWidth,r=Math.ceil(n.outerWidth(!0)+(a.width()-i)),s=Math.ceil(n.outerHeight(!0)),a.css({width:void 0===o.css.width?r+(a.outerWidth()-a.innerWidth()):o.css.width,height:void 0===o.css.height?s+(a.outerHeight()-a.innerHeight()):o.css.height})),a.removeClass("fancybox-tmp")}})):this.afterLoad(t),e.attr("src",t.src),t.opts.smallBtn&&t.$content.prepend(t.opts.closeTpl),r.one("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank")}catch(t){}n(this).empty(),t.isLoaded=!1})},setContent:function(t,e){this.isClosing||(this.hideLoading(t),t.$slide.empty(),c(e)&&e.parent().length?(e.data("placeholder")&&e.parents(".fancybox-slide").trigger("onReset"),e.data({placeholder:n("<div></div>").hide().insertAfter(e)}).css("display","inline-block")):("string"===n.type(e)&&3===(e=n("<div>").append(e).contents())[0].nodeType&&(e=n("<div>").html(e)),t.opts.selector&&(e=n("<div>").html(e).find(t.opts.selector))),t.$slide.one("onReset",function(){var i=c(e)?e.data("placeholder"):0;i&&(e.hide().replaceAll(i),e.data("placeholder",null)),t.hasError||(n(this).empty(),t.isLoaded=!1)}),t.$content=n(e).appendTo(t.$slide),!0===t.opts.smallBtn&&t.$content.find(".fancybox-close-small").remove().end().eq(0).append(t.opts.closeTpl),this.afterLoad(t))},setError:function(t){t.hasError=!0,this.setContent(t,t.opts.errorTpl)},showLoading:function(t){(t=t||this.current)&&!t.$spinner&&(t.$spinner=n(this.opts.spinnerTpl).appendTo(t.$slide))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.remove(),delete t.$spinner)},afterMove:function(){var t=this,e=t.current,i={};e&&(e.$slide.siblings().trigger("onReset"),n.each(t.slides,function(e,n){
1n.pos>=t.currPos-1&&n.pos<=t.currPos+1?i[n.pos]=n:n&&n.$slide.remove()}),t.slides=i,t.trigger("afterMove"),e.isLoaded&&t.complete())},afterLoad:function(t){this.isClosing||(t.isLoading=!1,t.isLoaded=!0,this.trigger("afterLoad",t),this.hideLoading(t),t.$ghost||this.updateSlide(t,!0),t.index===this.currIndex&&t.isMoved?this.complete():t.$ghost||this.revealImage(t))},complete:function(){var t=this,e=t.current;t.revealImage(e,function(){e.isComplete=!0,e.$slide.addClass("fancybox-slide--complete"),t.updateCursor(),t.trigger("onComplete"),e.opts.focus&&"image"!==e.type&&"iframe"!==e.type&&t.focus()})},preload:function(){var t,e;this.group.length<2||(t=this.slides[this.currPos+1],e=this.slides[this.currPos-1],t&&"image"===t.type&&this.loadSlide(t),e&&"image"===e.type&&this.loadSlide(e))},focus:function(){var t,e=this.current;(t=e&&e.isComplete?e.$slide.find('button,:input,[tabindex],a:not(".disabled")').filter(":visible:first"):null)&&t.length||(t=this.$refs.container),t.focus(),this.$refs.slider_wrap.scrollLeft(0),e&&e.$slide.scrollTop(0)},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.uid!==t.uid&&!e.isClosing&&e.trigger("onDeactivate")}),t.current&&(t.$refs.container.index()>0&&t.$refs.container.prependTo(e.body),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t){var e=this,i=e.current,o=i.opts.speed,r=n.proxy(function(){e.cleanUp(t)},this);return!e.isAnimating&&!e.isClosing&&(!1===e.trigger("beforeClose",t)?(n.fancybox.stop(e.$refs.slider),void h(function(){e.update(!0,!0,150)})):(e.isClosing=!0,i.timouts&&clearTimeout(i.timouts),!0!==t&&n.fancybox.stop(e.$refs.slider),e.$refs.container.removeClass("fancybox-container--active").addClass("fancybox-container--closing"),i.$slide.removeClass("fancybox-slide--complete").siblings().remove(),i.isMoved||i.$slide.css("overflow","visible"),e.removeEvents(),e.hideLoading(i),e.hideControls(),e.updateCursor(),e.$refs.bg.css("transition-duration",o+"ms"),this.$refs.container.removeClass("fancybox-container--ready"),void(!0===t?setTimeout(r,o):e.zoomInOut("Out",o,r)||n.fancybox.animate(e.$refs.container,null,{opacity:0},o,"easeInSine",r))))},cleanUp:function(t){var e;this.$refs.slider.children().trigger("onReset"),this.$refs.container.empty().remove(),this.trigger("afterClose",t),this.current=null,(e=n.fancybox.getInstance())?e.activate():(n("html").removeClass("fancybox-enabled"),n("body").removeAttr("style"),s.scrollTop(this.scrollTop).scrollLeft(this.scrollLeft),n("#fancybox-noscroll").remove()),this.$lastFocus&&this.$lastFocus.focus()},trigger:function(t,i){var o,r=Array.prototype.slice.call(arguments,1),s=i&&i.opts?i:this.current;if(s?r.unshift(s):s=this,r.unshift(this),n.isFunction(s.opts[t])&&(o=s.opts[t].apply(s,r)),!1===o)return o;"afterClose"===t?n(e).trigger(t+".fb",r):this.$refs.container.trigger(t+".fb",r)},toggleControls:function(t){this.isHiddenControls?this.updateControls(t):this.hideControls()},hideControls:function(){this.isHiddenControls=!0,this.$refs.container.removeClass("fancybox-show-controls"),this.$refs.container.removeClass("fancybox-show-caption")},updateControls:function(t){var e=this.$refs.container,i=this.$refs.caption,o=this.current,r=o.index,s=o.opts,a=s.caption;this.isHiddenControls&&!0!==t||(this.isHiddenControls=!1,e.addClass("fancybox-show-controls").toggleClass("fancybox-show-infobar",!!s.infobar&&this.group.length>1).toggleClass("fancybox-show-buttons",!!s.buttons).toggleClass("fancybox-is-modal",!!s.modal),n(".fancybox-button--left",e).toggleClass("fancybox-button--disabled",!s.loop&&r<=0),n(".fancybox-button--right",e).toggleClass("fancybox-button--disabled",!s.loop&&r>=this.group.length-1),n(".fancybox-button--play",e).toggle(!!(s.slideShow&&this.group.length>1)),n(".fancybox-button--close",e).toggle(!!s.closeBtn),n(".js-fancybox-count",e).html(this.group.length),n(".js-fancybox-index",e).html(r+1),o.$slide.trigger("refresh"),i&&i.empty(),a&&a.length?(i.html(a),this.$refs.container.addClass("fancybox-show-caption "),this.$caption=i):this.$refs.container.removeClass("fancybox-show-caption"))}}),n.fancybox={version:"3.0.47",defaults:r,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-container--closing"):first').data("FancyBox"),i=Array.prototype.slice.call(arguments,1
1);return e instanceof u&&("string"===n.type(t)?e[t].apply(e,i):"function"===n.type(t)&&t.apply(e,i),e)},open:function(t,e,n){return new u(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close())},isTouch:void 0!==e.createTouch&&/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),use3d:(o=e.createElement("div"),t.getComputedStyle(o).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<=11)),getTranslate:function(t){var e,n;return!(!t||!t.length)&&(e=t.get(0).getBoundingClientRect(),{top:(n=(n=(n=t.eq(0).css("transform"))&&-1!==n.indexOf("matrix")?(n=(n=n.split("(")[1]).split(")")[0]).split(","):[]).length?(n=n.length>10?[n[13],n[12],n[0],n[5]]:[n[5],n[4],n[0],n[3]]).map(parseFloat):[0,0,1,1])[0],left:n[1],scaleX:n[2],scaleY:n[3],opacity:parseFloat(t.css("opacity")),width:e.width,height:e.height})},setTranslate:function(t,e){var n="",i={};if(t&&e)return void 0===e.left&&void 0===e.top||(n=(void 0===e.left?t.position().top:e.left)+"px, "+(void 0===e.top?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==e.scaleX&&void 0!==e.scaleY&&(n=(n.length?n+" ":"")+"scale("+e.scaleX+", "+e.scaleY+")"),n.length&&(i.transform=n),void 0!==e.opacity&&(i.opacity=e.opacity),void 0!==e.width&&(i.width=e.width),void 0!==e.height&&(i.height=e.height),t.css(i)},easing:{easeOutCubic:function(t,e,n,i){return n*((t=t/i-1)*t*t+1)+e},easeInCubic:function(t,e,n,i){return n*(t/=i)*t*t+e},easeOutSine:function(t,e,n,i){return n*Math.sin(t/i*(Math.PI/2))+e},easeInSine:function(t,e,n,i){return-n*Math.cos(t/i*(Math.PI/2))+n+e}},stop:function(t){t.removeData("animateID")},animate:function(t,e,i,o,r,s){var a,l,c,u=this,d=null,p=0,f=function(){void 0!==i.scaleX&&void 0!==i.scaleY&&e&&void 0!==e.width&&void 0!==e.height&&(i.width=e.width*i.scaleX,i.height=e.height*i.scaleY,i.scaleX=1,i.scaleY=1),u.setTranslate(t,i),s()},m=function(n){if(a=[],l=0,t.length&&t.data("animateID")===c)if(n=n||Date.now(),d&&(l=n-d),d=n,(p+=l)>=o)f();else{for(var s in i)i.hasOwnProperty(s)&&void 0!==e[s]&&(e[s]==i[s]?a[s]=i[s]:a[s]=u.easing[r](p,e[s],i[s]-e[s],o));u.setTranslate(t,a),h(m)}};u.animateID=c=void 0===u.animateID?1:u.animateID+1,t.data("animateID",c),void 0===s&&"function"==n.type(r)&&(s=r,r=void 0),r||(r="easeOutCubic"),s=s||n.noop,e?this.setTranslate(t,e):e=this.getTranslate(t),o?(t.show(),h(m)):f()}},n.fn.fancybox=function(t){return this.off("click.fb-start").on("click.fb-start",{items:this,options:t||{}},d),this},n(e).on("click.fb-start","[data-fancybox]",d)}function d(t){var e=t.currentTarget,i=t.data?t.data.options:{},o=t.data?t.data.items:[],r="",s=0;t.preventDefault(),t.stopPropagation(),n(e).attr("data-fancybox")&&(r=n(e).data("fancybox")),r?s=(o=o.length?o.filter('[data-fancybox="'+r+'"]'):n("[data-fancybox="+r+"]")).index(e):o=[e],n.fancybox.open(o,i,s)}}(window,document,window.jQuery),function(t){"use strict";var e=function(e,n,i){if(e)return i=i||"","object"===t.type(i)&&(i=t.param(i,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),i.length&&(e+=(e.indexOf("?")>0?"&":"?")+i),e},n={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"//www.youtube.com/embed/$4",thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1,api:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},metacafe:{matcher:/metacafe.com\/watch\/(\d+)\/(.*)?/,type:"iframe",url:"//www.metacafe.com/embed/$1/?ap=1"},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"iframe",url:"//www.dailymotion.com/embed/video/$1"},vine:{matcher:/vine.co\/v\/([a-zA-Z0-9\?\=\-]+)/,type:"iframe",url:"//vine.co/v/$1/embed/simple"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},google_maps:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12])+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}}};t(document).on("onInit.fb",function(i,o){t.each(o.group,function(i,o){var r,s,a,l,c,h,u=o.src||"",d=!1;
1o.type||(t.each(n,function(n,i){if(s=u.match(i.matcher),c={},h=n,s){if(d=i.type,i.paramPlace&&s[i.paramPlace]){"?"==(l=s[i.paramPlace])[0]&&(l=l.substring(1)),l=l.split("&");for(var p=0;p<l.length;++p){var f=l[p].split("=",2);2==f.length&&(c[f[0]]=decodeURIComponent(f[1].replace(/\+/g," ")))}}return a=t.extend(!0,{},i.params,o.opts[n],c),u="function"===t.type(i.url)?i.url.call(this,s,a,o):e(i.url,s,a),r="function"===t.type(i.thumb)?i.thumb.call(this,s,a,o):e(i.thumb,s),"vimeo"===h&&(u=u.replace("&%23","#")),!1}}),d?(o.src=u,o.type=d,o.opts.thumb||o.opts.$thumb&&o.opts.$thumb.length||(o.opts.thumb=r),"iframe"===d&&(t.extend(!0,o.opts,{iframe:{preload:!1,scrolling:"no"},smallBtn:!1,closeBtn:!0,fullScreen:!1,slideShow:!1}),o.opts.slideClass+=" fancybox-slide--video")):o.type="iframe")})})}(window.jQuery),function(t,e,n){"use strict";var i=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(e){t.setTimeout(e,1e3/60)},o=function(e){var n=[];for(var i in e=(e=e.originalEvent||e||t.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e])e[i].pageX?n.push({x:e[i].pageX,y:e[i].pageY}):e[i].clientX&&n.push({x:e[i].clientX,y:e[i].clientY});return n},r=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},s=function(t){return t.is("a")||t.is("button")||t.is("input")||t.is("select")||t.is("textarea")||n.isFunction(t.get(0).onclick)},a=function(t){this.instance=t,this.$wrap=t.$refs.slider_wrap,this.$slider=t.$refs.slider,this.$container=t.$refs.container,this.destroy(),this.$wrap.on("touchstart.fb mousedown.fb",n.proxy(this,"ontouchstart"))};a.prototype.destroy=function(){this.$wrap.off("touchstart.fb mousedown.fb touchmove.fb mousemove.fb touchend.fb touchcancel.fb mouseup.fb mouseleave.fb")},a.prototype.ontouchstart=function(e){var i=n(e.target),a=this.instance.current,l=a.$content||a.$placeholder;return this.startPoints=o(e),this.$target=i,this.$content=l,this.canvasWidth=Math.round(a.$slide[0].clientWidth),this.canvasHeight=Math.round(a.$slide[0].clientHeight),this.startEvent=e,e.originalEvent.clientX>this.canvasWidth+a.$slide.offset().left||(s(i)||s(i.parent())||function(e){for(var n,i,o,r,s,a=!1;n=e.get(0),i=t.getComputedStyle(n)["overflow-y"],o=t.getComputedStyle(n)["overflow-x"],r=("scroll"===i||"auto"===i)&&n.scrollHeight>n.clientHeight,s=("scroll"===o||"auto"===o)&&n.scrollWidth>n.clientWidth,!(a=r||s)&&(e=e.parent()).length&&!e.hasClass("fancybox-slider")&&!e.is("body"););return a}(i)?void 0:a.opts.touch?void(e.originalEvent&&2==e.originalEvent.button||(e.stopPropagation(),e.preventDefault(),!a||this.instance.isAnimating||this.instance.isClosing||!this.startPoints||this.startPoints.length>1&&!a.isMoved||(this.$wrap.off("touchmove.fb mousemove.fb",n.proxy(this,"ontouchmove")),this.$wrap.off("touchend.fb touchcancel.fb mouseup.fb mouseleave.fb",n.proxy(this,"ontouchend")),this.$wrap.on("touchend.fb touchcancel.fb mouseup.fb mouseleave.fb",n.proxy(this,"ontouchend")),this.$wrap.on("touchmove.fb mousemove.fb",n.proxy(this,"ontouchmove")),this.startTime=(new Date).getTime(),this.distanceX=this.distanceY=this.distance=0,this.canTap=!1,this.isPanning=!1,this.isSwiping=!1,this.isZooming=!1,this.sliderStartPos=n.fancybox.getTranslate(this.$slider),this.contentStartPos=n.fancybox.getTranslate(this.$content),this.contentLastPos=null,1!==this.startPoints.length||this.isZooming||(this.canTap=a.isMoved,"image"===a.type&&(this.contentStartPos.width>this.canvasWidth+1||this.contentStartPos.height>this.canvasHeight+1)?(n.fancybox.stop(this.$content),this.isPanning=!0):(n.fancybox.stop(this.$slider),this.isSwiping=!0),this.$container.addClass("fancybox-controls--isGrabbing")),2===this.startPoints.length&&a.isMoved&&!a.hasError&&"image"===a.type&&(a.isLoaded||a.$ghost)&&(this.isZooming=!0,this.isSwiping=!1,this.isPanning=!1,n.fancybox.stop(this.$content),this.centerPointStartX=.5*(this.startPoints[0].x+this.startPoints[1].x)-n(t).scrollLeft(),this.centerPointStartY=.5*(this.startPoints[0].y+this.startPoints[1].y)-n(t).scrollTop(),this.percentageOfImageAtPinchPointX=(this.centerPointStartX-this.contentStartPos.left)/this.contentStartPos.width,this.percentageOfImageAtPinchPointY=(this.centerPointStartY-this.contentStartPos.top)/this.contentStartPos.height,this.startDistanceBetweenFingers=r(this.startPoints[0],this.startPoints[1]))))):(this.endPoints=this.startPoints,this.ontap()))},a.prototype.ontouchmove=function(t){t.preventDefault(),this.newPoints=o(t),this.newPoints&&this.newPoints.length&&(this.distanceX=r(this.newPoints[0],this.startPoints[0],"x"),this.distanceY=r(this.newPoints[0],this.startPoints[0],"y"),this.distance=r(this.newPoints[0],this.startPoints[0]),this.distance>0&&(this.isSwiping?this.onSwipe():this.isPanning?this.onPan():this.isZooming&&this.onZoom()))},a.prototype.onSwipe=function(){var e,o=this,r=o.isSwiping,s=o.sliderStartPos.left;!0===r?Math.abs(o.distance)>10&&(o.instance.group.length<2?o.isSwiping="y":!o.instance.current.isMoved||!1===o.instance.opts.touch.vertical||"auto"===o.instance.opts.touch.vertical&&n(t).width()>
1800?o.isSwiping="x":(e=Math.abs(180*Math.atan2(o.distanceY,o.distanceX)/Math.PI),o.isSwiping=e>45&&e<135?"y":"x"),o.canTap=!1,o.instance.current.isMoved=!1,o.startPoints=o.newPoints):("x"==r&&(!o.instance.current.opts.loop&&0===o.instance.current.index&&o.distanceX>0?s+=Math.pow(o.distanceX,.8):!o.instance.current.opts.loop&&o.instance.current.index===o.instance.group.length-1&&o.distanceX<0?s-=Math.pow(-o.distanceX,.8):s+=o.distanceX),o.sliderLastPos={top:"x"==r?0:o.sliderStartPos.top+o.distanceY,left:s},i(function(){n.fancybox.setTranslate(o.$slider,o.sliderLastPos)}))},a.prototype.onPan=function(){var t,e,o,r=this;r.canTap=!1,t=r.contentStartPos.width>r.canvasWidth?r.contentStartPos.left+r.distanceX:r.contentStartPos.left,e=r.contentStartPos.top+r.distanceY,(o=r.limitMovement(t,e,r.contentStartPos.width,r.contentStartPos.height)).scaleX=r.contentStartPos.scaleX,o.scaleY=r.contentStartPos.scaleY,r.contentLastPos=o,i(function(){n.fancybox.setTranslate(r.$content,r.contentLastPos)})},a.prototype.limitMovement=function(t,e,n,i){var o,r,s,a,l=this.canvasWidth,c=this.canvasHeight,h=this.contentStartPos.left,u=this.contentStartPos.top,d=this.distanceX,p=this.distanceY;return o=Math.max(0,.5*l-.5*n),r=Math.max(0,.5*c-.5*i),s=Math.min(l-n,.5*l-.5*n),a=Math.min(c-i,.5*c-.5*i),n>l&&(d>0&&t>o&&(t=o-1+Math.pow(-o+h+d,.8)||0),d<0&&t<s&&(t=s+1-Math.pow(s-h-d,.8)||0)),i>c&&(p>0&&e>r&&(e=r-1+Math.pow(-r+u+p,.8)||0),p<0&&e<a&&(e=a+1-Math.pow(a-u-p,.8)||0)),{top:e,left:t}},a.prototype.limitPosition=function(t,e,n,i){var o=this.canvasWidth,r=this.canvasHeight;return t=n>o?(t=t>0?0:t)<o-n?o-n:t:Math.max(0,o/2-n/2),{top:e=i>r?(e=e>0?0:e)<r-i?r-i:e:Math.max(0,r/2-i/2),left:t}},a.prototype.onZoom=function(){var e=this,o=e.contentStartPos.width,s=e.contentStartPos.height,a=e.contentStartPos.left,l=e.contentStartPos.top,c=r(e.newPoints[0],e.newPoints[1])/e.startDistanceBetweenFingers,h=Math.floor(o*c),u=Math.floor(s*c),d=(o-h)*e.percentageOfImageAtPinchPointX,p=(s-u)*e.percentageOfImageAtPinchPointY,f=(e.newPoints[0].x+e.newPoints[1].x)/2-n(t).scrollLeft(),m=(e.newPoints[0].y+e.newPoints[1].y)/2-n(t).scrollTop(),_=f-e.centerPointStartX,g={top:l+(p+(m-e.centerPointStartY)),left:a+(d+_),scaleX:e.contentStartPos.scaleX*c,scaleY:e.contentStartPos.scaleY*c};e.canTap=!1,e.newWidth=h,e.newHeight=u,e.contentLastPos=g,i(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})},a.prototype.ontouchend=function(t){var e=this.instance.current,i=Math.max((new Date).getTime()-this.startTime,1),r=this.isSwiping,s=this.isPanning,a=this.isZooming;if(this.endPoints=o(t),this.$container.removeClass("fancybox-controls--isGrabbing"),this.$wrap.off("touchmove.fb mousemove.fb",n.proxy(this,"ontouchmove")),this.$wrap.off("touchend.fb touchcancel.fb mouseup.fb mouseleave.fb",n.proxy(this,"ontouchend")),this.isSwiping=!1,this.isPanning=!1,this.isZooming=!1,this.canTap)return this.ontap();this.velocityX=this.distanceX/i*.5,this.velocityY=this.distanceY/i*.5,this.speed=e.opts.speed||330,this.speedX=Math.max(.75*this.speed,Math.min(1.5*this.speed,1/Math.abs(this.velocityX)*this.speed)),this.speedY=Math.max(.75*this.speed,Math.min(1.5*this.speed,1/Math.abs(this.velocityY)*this.speed)),s?this.endPanning():a?this.endZooming():this.endSwiping(r)},a.prototype.endSwiping=function(t){"y"==t&&Math.abs(this.distanceY)>50?(n.fancybox.animate(this.$slider,null,{top:this.sliderStartPos.top+this.distanceY+150*this.velocityY,left:this.sliderStartPos.left,opacity:0},this.speedY),this.instance.close(!0)):"x"==t&&this.distanceX>50?this.instance.previous(this.speedX):"x"==t&&this.distanceX<-50?this.instance.next(this.speedX):this.instance.update(!1,!0,150)},a.prototype.endPanning=function(){var t,e,i;this.contentLastPos&&(t=this.contentLastPos.left+this.velocityX*this.speed*2,e=this.contentLastPos.top+this.velocityY*this.speed*2,(i=this.limitPosition(t,e,this.contentStartPos.width,this.contentStartPos.height)).width=this.contentStartPos.width,i.height=this.contentStartPos.height,n.fancybox.animate(this.$content,null,i,this.speed,"easeOutSine"))},a.prototype.endZooming=function(){var t,e,i,o,r=this.instance.current,s=this.newWidth,a=this.newHeight;this.contentLastPos&&(t=this.contentLastPos.left,o={top:e=this.contentLastPos.top,left
1:t,width:s,height:a,scaleX:1,scaleY:1},n.fancybox.setTranslate(this.$content,o),s<this.canvasWidth&&a<this.canvasHeight?this.instance.scaleToFit(150):s>r.width||a>r.height?this.instance.scaleToActual(this.centerPointStartX,this.centerPointStartY,150):(i=this.limitPosition(t,e,s,a),n.fancybox.animate(this.$content,null,i,this.speed,"easeOutSine")))},a.prototype.ontap=function(){var t=this,e=t.instance,i=e.current,o=t.endPoints[0].x,r=t.endPoints[0].y;if(o-=t.$wrap.offset().left,r-=t.$wrap.offset().top,e.SlideShow&&e.SlideShow.isActive&&e.SlideShow.stop(),!n.fancybox.isTouch)return i.opts.closeClickOutside&&t.$target.is(".fancybox-slide")?void e.close(t.startEvent):void("image"==i.type&&i.isMoved&&(e.canPan()?e.scaleToFit():e.isScaledDown()?e.scaleToActual(o,r):e.group.length<2&&e.close(t.startEvent)));if(t.tapped){if(clearTimeout(t.tapped),t.tapped=null,Math.abs(o-t.x)>50||Math.abs(r-t.y)>50||!i.isMoved)return this;"image"==i.type&&(i.isLoaded||i.$ghost)&&(e.canPan()?e.scaleToFit():e.isScaledDown()&&e.scaleToActual(o,r))}else t.x=o,t.y=r,t.tapped=setTimeout(function(){t.tapped=null,e.toggleControls(!0)},300);return this},n(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new a(e))}),n(e).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,window.jQuery),function(t,e){"use strict";var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,speed:3e3,init:function(){var t=this;t.$button=e('<button data-fancybox-play class="fancybox-button fancybox-button--play" title="Slideshow (P)"></button>').appendTo(t.instance.$refs.buttons),t.instance.$refs.container.on("click","[data-fancybox-play]",function(){t.toggle()})},set:function(){var t=this;t.instance&&t.instance.current&&(t.instance.current.opts.loop||t.instance.currIndex<t.instance.group.length-1)?t.timer=setTimeout(function(){t.instance.next()},t.instance.current.opts.slideShow.speed||t.speed):t.stop()},clear:function(){clearTimeout(this.timer),this.timer=null},start:function(){this.stop(),this.instance&&this.instance.current&&(this.instance.current.opts.loop||this.instance.currIndex<this.instance.group.length-1)&&(this.instance.$refs.container.on({"beforeLoad.fb.player":e.proxy(this,"clear"),"onComplete.fb.player":e.proxy(this,"set")}),this.isActive=!0,this.instance.current.isComplete&&this.set(),this.instance.$refs.container.trigger("onPlayStart"),this.$button.addClass("fancybox-button--pause"))},stop:function(){this.clear(),this.instance.$refs.container.trigger("onPlayEnd").off(".player"),this.$button.removeClass("fancybox-button--pause"),this.isActive=!1},toggle:function(){this.isActive?this.stop():this.start()}}),e(t).on("onInit.fb",function(t,e){e&&e.group.length>1&&e.opts.slideShow&&!e.SlideShow&&(e.SlideShow=new n(e))}),e(t).on("beforeClose.fb onDeactivate.fb",function(t,e){e&&e.SlideShow&&e.SlideShow.stop()})}(document,window.jQuery),function(t,e){"use strict";var n=function(){var e,n,i,o=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r={};for(n=0;n<o.length;n++)if((e=o[n])&&e[1]in t){for(i=0;i<e.length;i++)r[o[0][i]]=e[i];return r}return!1}();if(n){var i={request:function(e){(e=e||t.documentElement)[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[n.exitFullscreen]()},toggle:function(t){this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(t[n.fullscreenElement])},enabled:function(){return Boolean(t[n.fullscreenEnabled])}};e(t).on({"onInit.fb":function(t,n){var o;n&&n.opts.fullScreen&&!n.FullScreen&&(o=n.$refs.container,n.$refs.button_fs=e('<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="Full screen (F)"></button>').appendTo(n.$refs.buttons),o.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),i.toggle(o[0])}
1),!0===n.opts.fullScreen.requestOnStart&&i.request(o[0]))},"beforeMove.fb":function(t,e){e&&e.$refs.button_fs&&e.$refs.button_fs.toggle(!!e.current.opts.fullScreen)},"beforeClose.fb":function(){i.exit()}}),e(t).on(n.fullscreenchange,function(){var t=e.fancybox.getInstance(),n=t?t.current.$placeholder:null;n&&(n.css("transition","none"),t.isAnimating=!1,t.update(!0,!0,0))})}}(document,window.jQuery),function(t,e){"use strict";var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,init:function(){var t=this;t.$button=e('<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="Thumbnails (G)"></button>').appendTo(this.instance.$refs.buttons).on("touchend click",function(e){e.stopPropagation(),e.preventDefault(),t.toggle()})},create:function(){var t,n,i=this.instance;this.$grid=e('<div class="fancybox-thumbs"></div>').appendTo(i.$refs.container),t="<ul>",e.each(i.group,function(e,i){(n=i.opts.thumb||(i.opts.$thumb?i.opts.$thumb.attr("src"):null))||"image"!==i.type||(n=i.src),n&&n.length&&(t+='<li data-index="'+e+'" tabindex="0" class="fancybox-thumbs-loading"><img data-src="'+n+'" /></li>')}),t+="</ul>",this.$list=e(t).appendTo(this.$grid).on("click touchstart","li",function(){i.jumpTo(e(this).data("index"))}),this.$list.find("img").hide().one("load",function(){var t,n,i,o,r=e(this).parent().removeClass("fancybox-thumbs-loading"),s=r.outerWidth(),a=r.outerHeight();t=this.naturalWidth||this.width,o=(n=this.naturalHeight||this.height)/a,(i=t/s)>=1&&o>=1&&(i>o?(t/=o,n=a):(t=s,n/=i)),e(this).css({width:Math.floor(t),height:Math.floor(n),"margin-top":Math.min(0,Math.floor(.3*a-.3*n)),"margin-left":Math.min(0,Math.floor(.5*s-.5*t))}).show()}).each(function(){this.src=e(this).data("src")})},focus:function(){this.instance.current&&this.$list.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active").focus()},close:function(){this.$grid.hide()},update:function(){this.instance.$refs.container.toggleClass("fancybox-container--thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.$grid.show(),this.focus()):this.$grid&&this.$grid.hide(),this.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible?this.hide():this.show()}}),e(t).on("onInit.fb",function(t,e){var i=e.group[0],o=e.group[1];e.opts.thumbs&&!e.Thumbs&&e.group.length>1&&("image"==i.type||i.opts.thumb||i.opts.$thumb)&&("image"==o.type||o.opts.thumb||o.opts.$thumb)&&(e.Thumbs=new n(e))}),e(t).on("beforeMove.fb",function(t,e,n){var i=e&&e.Thumbs;i&&(n.modal?(i.$button.hide(),i.hide()):(!0===e.opts.thumbs.showOnStart&&e.firstRun&&i.show(),i.$button.show(),i.isVisible&&i.focus()))}),e(t).on("beforeClose.fb",function(t,e){e&&e.Thumbs&&(e.Thumbs.isVisible&&!1!==e.opts.thumbs.hideOnClosing&&e.Thumbs.close(),e.Thumbs=null)})}(document,window.jQuery),function(t,e,n){"use strict";n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})});var i=null;function o(){var t=e.location.hash.substr(1),n=t.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1,o=n.join("-");return i<1&&(i=1),{hash:t,index:i,gallery:o}}function r(t){var e;""!==t.gallery&&((e=n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1)).length?e.trigger("click"):n("#"+n.escapeSelector(t.gallery)).trigger("click"))}function s(t){var e;return!!t&&((e=t.current?t.current.opts:t.opts).$orig?e.$orig.data("fancybox"):e.hash||"")}n(function(){setTimeout(function(){!1!==n.fancybox.defaults.hash&&(n(e).on("hashchange.fb",function(){var t=o();n.fancybox.getInstance()?i&&i!==t.gallery+"-"+t.index&&(i=null,n.fancybox.close()):""!==t.gallery&&r(t)}),n(t).on({"onInit.fb":function(t,e){var n=o(),i=s(e);i&&n.gallery&&i==n.gallery&&(e.currIndex=n.index-1)}
1,"beforeMove.fb":function(n,o,r){var a=s(o);a&&""!==a&&(e.location.hash.indexOf(a)<0&&(o.opts.origHash=e.location.hash),i=a+(o.group.length>1?"-"+(r.index+1):""),"pushState"in history?history.pushState("",t.title,e.location.pathname+e.location.search+"#"+i):e.location.hash=i)},"beforeClose.fb":function(n,o,r){var a=s(o),l=o&&o.opts.origHash?o.opts.origHash:"";a&&""!==a&&("pushState"in history?history.pushState("",t.title,e.location.pathname+e.location.search+l):e.location.hash=l),i=null}}),r(o()))},50)})}(document,window,window.jQuery);var pluginData={name:"imageCompression",version:"0.9",modified:"2016-11",selfrunning:!1,dependencies:["jQuery"]},plugin={imageCompression:function(t){var e;e={images:$("[data-responsiveimage='true']:not(.skipimage)"),skippedImages:$("[data-responsiveimage='true'].skipimage"),log:!1,callback:!1,force_size:!1,addon_settings:!1};var n=$.extend(e,t);!0===n.log&&console.log("running",n),n.images.attr("src",function(){if(void 0!==$(this).data("original")&&$(this).data("original").length>0){var t=$.extend({},n,$(this).data()),e=!1!==t.addon_settings?t.addon_settings:"";if(!1===n.force_size&&void 0===$(this).data("force_size")){n.log&&console.log("normal");var i=$(this).width(),o=Math.round(i);if(void 0!==$(this).attr("width")?(i=$(this).attr("width"),o=Math.round(i)):(i=$(this).parent().width(),o=Math.round(i)),o>$(this).parent().width()){var r=$(this).parent().width(),s=Math.round(r);0===s?(i=$(this).parent().parent().width(),o=Math.round(i)):o=s}$(this).attr({width:"",height:""}),!0===n.log&&console.log("width",o);var a="w_auto,c_limit"+e;$(this).css("height"),$(this).css("width");$(".print-mode").is(":hidden"),a="w_"+o+",c_fill"+e,$(this).attr("width",o),$(this).height(""),o>=$(this).parent().outerWidth()&&(o=$(this).parent().outerWidth())}else a="w_"+$(this).attr("width")+",h_"+$(this).attr("height")+",c_fill"+e,n.log&&console.log("extra");var l=$(this).data("original");!$("body").hasClass("ineditmode")&&$(this).data("original").match(",,")&&(l=(l=$(this).data("original").split(",,")[0]).split("/EPiServer/CMS/Content")[1]);var c="//res.cloudinary.com/ssp/image/fetch/"+a+"/";if(n.log&&console.log(c),c=l.match(/https|http/)?l:c+window.location.protocol+"//"+window.location.hostname+"/"+l,l.length>0)return c}}),n.skippedImages.attr("src",function(){return $(this).data("original")}),"function"==typeof n.callback&&n.callback()}};$.extend(sspModules,plugin);plugin={pluginData:{name:"ssp-map",version:"0.9.1 Beta",modified:"2017-01",selfrunning:!1,dependencies:["jQuery",'<script type="text/javascript" src="//maps.google.com/maps/api/js?v=3.2&sensor=false"><\/script>',"//cdnjs.cloudflare.com/ajax/libs/leafvar /0.6.4/leafvar .css","//cdnjs.cloudflare.com/ajax/libs/leafvar /0.6.4/leafvar .js","//prokomresources.prokomcdn.no/plugins/ssp-leafvar /leafvar -google.js","//prokomresources.prokomcdn.no/plugins/ssp-leafvar /font-aw-markers.js"]},map:function(t){var e;if(e={map_url:"/modules/ssp.propono.core/PoiApi/PoiListSearch/?blockid=",start_location:[59.914306,10.738013],map_type:"topo",first_optiontext:"Vis alle markører",map_container:$("[data-mapinit]"),data_name:"mapinit",wheel_zoom:!1,tap:!1,dragging:!0,scrollWheelZoom:!1,link_name:"Gå til side",marker_cluster:!1,hide_levels:!1,create_contact:{run:!0,poi_address:".poiblock-address",pre_class:".editorial",post_function:!1,address_text_plural:"Adresser",address_text:"Adresse",method:"append"},zoom_attrname:"zoom"},"object"==typeof t||void 0===t){var n=$.extend(e,t),i=[],o={},r=[],s={},a=[],l={},c={},h=function(t,e){e=e||{};var n=document.createElement(t);return Object.keys(e).forEach(function(t){switch(t){case"innerHTML":n.innerHTML=e[t];break;case"class":n.className=e[t];break;default:n.setAttribute(t,e[t])}}),n},u={objKeyAlphabetically:function(t,e,n){return t[n]>e[n]?1:t[n]<e[n]?-1:0}},d={init:function(){n.log&&console.log("Map: Init is running"),$("[data-mapinit]").each(function(t,e){var i="map_"+t,o=360;$(this).attr("id",i),$(this).data("height")>0&&(o=$(this).data("height")),$(this).css("height",o);var r=13;$(this).data(n.zoom_attrname)?r=$(this).data(n.zoom_attrname):0===$(this).data(n.zoom_attrname)&&(r=0);d.startmap({id:i,zoom:r});var a=$(this).data("mapinit");d.get_markers(a,function(){var t={type:"FeatureCollection",features:s[a]};
1d.insert_map({marker_collection:t,id:i,zoom:r}),c[a].length>1&&d.create_category_selector({precoise:!1,mapid:i,mapInitId:a,marker_collection:t})})})},create_category_selector:function(t){t.marker_collection;var e=h,o=u.objKeyAlphabetically;$("<div class='map-functions'>").insertAfter("#"+t.mapid);var r=e("select"),s=e("option",{value:"*",innerHTML:"Vis alle markører"});r.appendChild(s),l[t.mapInitId].sort(function(t,e){return o(t,e,"name")}),l[t.mapInitId].forEach(function(t){var i=e("option",{value:t.name+"|category",innerHTML:t.name});r.appendChild(i),n.hide_levels||t.geoList.forEach(function(t){var n=e("option",{value:t.Name+"|level",innerHTML:" "+t.Name});r.appendChild(n)})}),r.addEventListener("change",function(e){i[t.mapid].remove(),d.startmap({id:t.mapid,zoom:0}),d.insert_map({limit_filter:e.target.value,marker_collection:t.marker_collection,id:t.mapid})}),$("#"+t.mapid).next(".map-functions").append(r)},get_markers:function(t,e){s[t]||(s[t]=[]),$.getJSON(n.map_url+t).done(function(i){var o=0,h=u.objKeyAlphabetically;$.each(i.GeoList,function(e,i){var u=i.Description;a.push(i.Description),c[t]||(c[t]=[]),l[t]||(l[t]=[]),c[t].push(i.Description),i.GeoList.sort(function(t,e){return h(t,e,"Name")}),l[t].push({id:i.ID,name:i.Name,geoList:i.GeoList}),$.each(i.GeoList,function(e,i){o++;var a="";i.Url&&(a="<a href='"+i.Url+"' class='buble-link'>"+(i.Url.match("http")?i.Url:n.link_name)+"</a>"),r.push({type:"Feature",properties:{popupContent:"<h3 style='margin:0; padding:0; margin-bottom:10px;'>"+i.Name+"</h3><p>"+i.Gatenavn+"</p>"+i.MainBody+a,id:o,typeunit:u,fulldata:i},geometry:{type:"Point",coordinates:[i.Longitude,i.Latitude]}}),s[t].push({type:"Feature",properties:{popupContent:"<h3 style='margin:0; padding:0; margin-bottom:10px;'>"+i.Name+"</h3><p>"+i.Gatenavn+"</p>"+i.MainBody+a,id:o,typeunit:u,fulldata:i},geometry:{type:"Point",coordinates:[i.Longitude,i.Latitude]}})})}),"function"==typeof e&&e(r)})},insert_map:function(t){if(n.marker_cluster){var e=L.markerClusterGroup(),r=t.id,s=t.limit_filter,a=(t.blockId,t.marker_collection),l=L.geoJSON(a,{pointToLayer:function(t,e){return L.marker(e,{icon:L.divIcon({className:"local-mapicon "+t.properties.typeunit,shadowUrl:"//prokomresources.prokomcdn.no/client-grunt/02-standard-plugins/ssp-map/marker-shadow.png",iconSize:[25,25],shadowSize:[41,41],iconAnchor:[12,41],shadowAnchor:[41,41],popupAnchor:[0,-50]})})},onEachFeature:function(t,e){if(t.properties){var n=t.properties.popupContent;e.bindPopup(n,{closeButton:!0}),t.properties.id&&(o[t.properties.id]=e)}},filter:function(t){return void 0===s||(t.properties.typeunit===s||void 0)}});e.addLayer(l),i[r].addLayer(e),i[r].fitBounds(e.getBounds())}else{r=t.id,s=t.limit_filter;var c=null;a=t.marker_collection;t.limit_filter&&(c=s.split("|").reduce(function(t,e,n){return t[0===n?"filter":"type"]=e,t},{}));l=L.geoJSON(a,{pointToLayer:function(t,e){return L.marker(e,{icon:L.divIcon({className:"local-mapicon "+t.properties.typeunit,shadowUrl:"//prokomresources.prokomcdn.no/client-grunt/02-standard-plugins/ssp-map/marker-shadow.png",iconSize:[25,25],shadowSize:[41,41],iconAnchor:[12,41],shadowAnchor:[41,41],popupAnchor:[0,-50]})})},onEachFeature:function(t,e){if(t.properties){var n=t.properties.popupContent;e.bindPopup(n,{closeButton:!0}),t.properties.id&&(o[t.properties.id]=e)}},filter:function(e){if(void 0===s||"*"===s)return!0;var n=e.properties.typeunit.trim(),i=e.properties.fulldata.Name.trim(),o=e.properties.fulldata.MapZoom;switch(c.type){case"category":return n===c.filter;case"level":return t.singlePoiZoom=o,i===c.filter}}}).addTo(i[r]);i[r].fitBounds(l.getBounds()),t.zoom&&i[r].setZoom(t.zoom),t.singlePoiZoom&&i[r].setZoom(t.singlePoiZoom)}1==a.features.length&&o[1].openPopup(),$(".able-show").removeClass("hidden")},get_address:function(t){return $.get("//ws.geonorge.no/AdresseWS/adresse/sok?sokestreng="+t+"&antPerSide=1").done(function(t){})},startmap:function(t){i[t.id]=L.map(t.id,{zoomControl:!0,tap:n.tap,dragging:n.dragging,scrollWheelZoom:n.scrollWheelZoom}).setView(n.start_location,t.zoom),L.tileLayer("https://cache.kartverket.no/v1/wmts/1.0.0/topo/default/webmercator/{z}/{y}/{x}.png",{format:"image/png",minZoom:5,maxZoom:18,detectRetina:!0,attribution:'<a href="https://www.kartverket.no/">Kartverket</a>',subdomains:["","2","3","4"]}).addTo(i[t.id])},create_contact:function(){if(!0===n.create_contact.run){var t=$(n.create_contact.pre_class+" "+n.create_contact.poi_address),e=t.length;e>0&&("prepend"===n.create_contact.method?$(".article-content").prepend("<h2>"+(e>1?n.create_contact.address_text_plural:n.create_contact.address_text)+"</h2><div id='mappush'></div></div>"):$(".article-content").append("<h2>"+(e>1?n.create_contact.address_text_plural:n.create_contact.address_text)+"</h2><div id='mappush'></div></div>"),$("#mappush").append(t),$("#mappush "+n.create_contact.poi_address).addClass("placed")),"function"==typeof n.create_contact.post_function&&n.create_contact.post_function()}}},p=n.map_container;void 0!==p&&p.length>0&&d.init()}else console.log("Error ("+this.pluginData.name+"): The module input must be an object. ")}};
1$.extend(sspModules,plugin);pluginData={name:"createCollapse",version:"0.9",modified:"2016-11",selfrunning:!1,dependencies:["jQuery"]},plugin={createCollapse:function(t,e){if("object"==typeof t||void 0===t){var n={openAccordian:function(t){t.slideDown(o.transitionTimer,function(){}),t.addClass(o.openClass),$(this).addClass(o.openClass),"A"===t.prevObject.prop("tagName")&&t.prevObject.addClass(o.linkOpenClass)},closeAccordian:function(t){t.slideUp(o.transitionTimer),t.removeClass(o.openClass),$(this).removeClass(o.openClass),"A"===t.prevObject.prop("tagName")&&$(t.prevObject).removeClass(o.linkOpenClass)}},i={accord:$("article h5"),nextuntil:"h1,h2,h3,h4,h5,h6,div,.stopaccor",addonNextUntil:!1,linkClass:"faq",openClass:"open",linkOpenClass:"collapse-open",contentClass:"collapse",transitionTimer:85,imageReload:!1,rem_open:!1},o=$.extend(i,t);return $(o.accord).each(function(){var t="";void 0!==$(this).classList?this.classList.length>0&&(t=$(this).attr("class")):t=$(this).attr("class"),$(this).nextUntil(o.nextuntil+(!1!==o.addonNextUntil?","+o.addonNextUntil:"")).wrapAll("<div class='"+o.contentClass+" accor'></div>"),$(this).replaceWith("<a href='#"+encodeURIComponent($(this).text())+"' class='"+o.linkClass+" "+t+"'>"+$(this).text()+"</a>"),!0===o.rem_open&&localStorage.getItem("accor:#"+encodeURIComponent($(this).text()))&&$("a[href='#"+encodeURIComponent($(this).text())+"']").click()}),$("body").on("click","."+o.linkClass,function(t){t.preventDefault();var e=$(this).next("."+o.contentClass);!!e.hasClass(o.openClass)?n.closeAccordian(e):n.openAccordian(e),!0===o.rem_open&&($(this).hasClass(o.openClass)?localStorage.setItem("accor:"+$(this).attr("href"),!0):localStorage.setItem("accor:"+$(this).attr("href"),!1))}),$(o.accord).each(function(){!0===o.rem_open&&"true"==localStorage.getItem("accor:#"+encodeURIComponent($(this).text()))&&$("a[href='#"+encodeURIComponent($(this).text())+"']").click()}),!1!==o.rem_open&&localStorage.setItem($(this).attr("href"),!0),"function"==typeof e?e():n}console.log("Dette er ikke et objekt")}};$.extend(sspModules,plugin);
1pluginData={name:"createGallery",version:"0.9",modified:"2016-11",selfrunning:!1,dependencies:["jQuery","fancybox"]},plugin={createGallery:function(t){var e;if(e={eachContainer:$("article .articleBody"),minImageCount:1,findImg:"img",fancyboxAttr:{caption:{type:"float"},openEffect:"drop",closeEffect:"drop",nextEffect:"elastic",prevEffect:"elastic",type:"image"},title:"title",alt:"alt",log:!1},"object"==typeof t||void 0===t){var n=$.extend(e,t);n.log&&console.log("settings, defaults:",n,e);var i=0;n.log&&console.log("length each",n.eachContainer.length),$.each(n.eachContainer,function(t,e){n.log&&console.error("test",t);var o=$(this).find(n.findImg);n.log&&console.log("each image:",o,o.length),o.length>n.minImageCount&&(n.log&&console.log("apply imageclass"),o.addClass("gallery-image").wrap(function(){return $(this).parent("a").length<1?"<a class='gallery-image-link'>":""}),$(".gallery-image-link").each(function(){let t,e=$(this).children("img");t=$(e).attr("alt")?$(e).attr("alt"):$(e).attr("data-original"),$(this).attr("aria-label","Bildegalleri lenke "+t)}),o.parent("a").attr({"data-fancybox":"group",rel:"gallery_"+i,href:function(){return void 0!==$(this).children(n.findImg).attr("data-original")?$(this).children(n.findImg).attr("data-original").match(",")?$(this).children(n.findImg).attr("data-original").split(",")[0]:$(this).children(n.findImg).attr("data-original"):$(this).children(n.findImg).attr("src")},title:function(){var t=$(this).children(n.findImg).attr("title");return void 0===t&&(t=$(this).children(n.findImg).attr("alt")),t}}).fancybox(n.fancyboxAttr),i++)})}else console.log("Create gallery: Har ikke definert Objt.")}};$.extend(sspModules,plugin);plugin={pluginData:{name:"myPlugin",version:"0.0.1 Beta",modified:"2016-11",selfrunning:!1,dependencies:["jQuery"]},articleNav:function(t){var e={articleHeader:$("article h2"),articleheaderClass:"",convertHeader:!1,untilObj:"h2",wrapClass:"articleBody",resetNav:!0,include_after:$(".scrollspy .include-after"),navElements:$("article h2, article h3.submenu"),aClass:"",liClass:"",affixTopDistance:"article",affixMapId:"#map",affixFooter:"footer",affixMapAndFooter:420,directlink:!1,affixNoMapFooter:30,no_menu:".nomenu",log:!1,only_part:!1,manual_bottom_offset:!1,autoGotoSection:!1};if("object"==typeof t||void 0===t){var n=$.extend(e,t);if(n.log&&console.log("defaults",e),n.log&&console.log("articleNav: is running",n),"object"==typeof obj||"undefined"==typeof obj){var i={headerToNav:function(t){if(n.resetNav&&$("#nav").html(""),$("#nav").length<1)n.log&&console.error("Error: Har ikke #nav");else{var e=0;n.navElements.each(function(){if(!$(this).hasClass("nomenu")){e++;var t=$(this).prop("nodeName").toLowerCase(),i="heading-"+t+"-"+e;$(this).attr("id",i),""!=n.articleheaderClass&&$(this).addClass(n.articleheaderClass),$("#nav").append("<li class='"+n.liClass+"'"+t+"'><a href='#"+i+"' class='"+n.aClass+"'>"+$(this).text()+"</a></li>")}})}},urlify:function(t){return t.replace(/[^A-Za-z0-9_]/g,"-").replace(/-{2,}/g,"-").replace(/^-/g,"").replace(/-$/g,"").toLowerCase()},createParts:function(){var t=this;if(n.articleHeader.length>0){var e=0;$.each(n.articleHeader,function(){var i=t.urlify($(this).text());e++;var o="heading-"+$(this).prop("nodeName").toLowerCase()+"-"+e;"string"==typeof n.convertHeader&&(!0===n.log&&console.log("header converted",i),$(this).replaceWith($("<"+n.convertHeader+' id="'+o+'">'+this.innerHTML+"</"+n.convertHeader+">"))),$(this).nextUntil(n.untilObj).addBack().wrapAll("<div class='"+n.wrapClass+"' data-name='"+i+"'></div>")})}},add_link:function(){$("."+n.wrapClass).each(function(){$(this).children("p").length<=1&&$(this).children("p").each(function(){if($(this).children(":first").is("a")){var t=$(this).prev("h2,h3").attr("id");$("a[href='#"+t+"']").attr("href",$(this).children(":first").attr("href"))}if($(this).children(":first").is("span")){t=$(this).prev("h2,h3").attr("id");$("a[href='#"+t+"']").attr("href",$(this).children(":first").children("a").attr("href"))}})})}};if(i.createParts(),!1===n.only_part)if(i.headerToNav(),$("#nav").length>0&&$(window).width()>767)"number"==typeof n.affixTopDistance?n.affixTopDistance:$(n.affixTopDistance).offset().top,!0===n.log&&console.log("Type of affixTopDistance",typeof n.affixTopDistance),console.warn("Aff
1ix disabled in bootstrap 4");if(!0===n.directlink&&i.add_link(),n.include_after.length>0){var o=$("<li>");o.append(n.include_after),$("#nav").append(o)}}else console.log("Nope! Her må du ha objekt.")}else console.log("Error ("+this.pluginData.name+"): The module input must be an object. ")}};$.extend(sspModules,plugin); 2//# sourceMappingURL=sspMap.js.map
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.